nuxt-site-config 2.2.7 → 2.2.8
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 +4 -4
- package/dist/client/404.html +4 -4
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/b5cfcba9-5e77-4ecb-bdf2-6e442702e47d.json +1 -0
- package/dist/client/_nuxt/{entry.AdAcrHq7.js → entry.BHXkV9gD.js} +6 -6
- package/dist/client/_nuxt/{error-404.NatzP8uQ.js → error-404.xKgdbBIT.js} +1 -1
- package/dist/client/_nuxt/{error-500.Vh5HwIeW.js → error-500.z3xWQIo_.js} +1 -1
- package/dist/client/index.html +4 -4
- package/dist/module.json +1 -1
- package/dist/runtime/nuxt/component/SiteLink.vue +1 -4
- package/package.json +4 -4
- package/dist/client/_nuxt/builds/meta/87749a2d-3ca4-4a5f-9e4d-72705e109397.json +0 -1
|
@@ -14,9 +14,10 @@ var Sf=Object.defineProperty;var Af=(e,t,n)=>t in e?Sf(e,t,{enumerable:!0,config
|
|
|
14
14
|
* @vue/runtime-dom v3.4.15
|
|
15
15
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
16
|
* @license MIT
|
|
17
|
-
**/const Rp="http://www.w3.org/2000/svg",Sp="http://www.w3.org/1998/Math/MathML",Ot=typeof document<"u"?document:null,ll=Ot&&Ot.createElement("template"),Ap={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ot.createElementNS(Rp,e):t==="mathml"?Ot.createElementNS(Sp,e):Ot.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ot.createTextNode(e),createComment:e=>Ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ll.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=ll.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xp=Symbol("_vtc");function Lp(e,t,n){const r=e[xp];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Op=Symbol("_vod"),kp=Symbol("");function Ip(e,t,n){const r=e.style,o=r.display,i=ge(n);if(n&&!i){if(t&&!ge(t))for(const s in t)n[s]==null&&wi(r,s,"");for(const s in n)wi(r,s,n[s])}else if(i){if(t!==n){const s=r[kp];s&&(n+=";"+s),r.cssText=n}}else t&&e.removeAttribute("style");Op in e&&(r.display=o)}const al=/\s*!important$/;function wi(e,t,n){if(K(n))n.forEach(r=>wi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Np(e,t);al.test(n)?e.setProperty(rn(r),n.replace(al,""),"important"):e[r]=n}}const cl=["Webkit","Moz","ms"],zo={};function Np(e,t){const n=zo[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return zo[t]=r;r=_o(r);for(let o=0;o<cl.length;o++){const i=cl[o]+r;if(i in e)return zo[t]=i}return t}const ul="http://www.w3.org/1999/xlink";function $p(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ul,t.slice(6,t.length)):e.setAttributeNS(ul,t,n);else{const i=jf(t);n==null||i&&!Ta(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Dp(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const c=l==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Ta(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Oc(e,t,n,r){e.addEventListener(t,n,r)}function Mp(e,t,n,r){e.removeEventListener(t,n,r)}const fl=Symbol("_vei");function Hp(e,t,n,r,o=null){const i=e[fl]||(e[fl]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=Bp(t);if(r){const c=i[t]=Fp(r,o);Oc(e,l,c,a)}else s&&(Mp(e,l,s,a),i[t]=void 0)}}const dl=/(?:Once|Passive|Capture)$/;function Bp(e){let t;if(dl.test(e)){t={};let r;for(;r=e.match(dl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rn(e.slice(2)),t]}let qo=0;const Vp=Promise.resolve(),jp=()=>qo||(Vp.then(()=>qo=0),qo=Date.now());function Fp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Qe(Up(r,n.value),t,5,[r])};return n.value=e,n.attached=jp(),n}function Up(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const pl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gp=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?Lp(e,r,c):t==="style"?Ip(e,n,r):cr(t)?zi(t)||Hp(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wp(e,t,r,c))?Dp(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),$p(e,t,r,c))};function Wp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pl(t)&&X(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 pl(t)&&ge(n)?!1:t in e}const hl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Nr(t,n):t},Ko=Symbol("_assign"),zp={created(e,{value:t},n){e.checked=Ur(t,n.props.value),e[Ko]=hl(n),Oc(e,"change",()=>{e[Ko](qp(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ko]=hl(r),t!==n&&(e.checked=Ur(t,r.props.value))}};function qp(e){return"_value"in e?e._value:e.value}const Kp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Jp=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=rn(o.key);if(t.some(s=>s===i||Kp[s]===i))return e(o)})},kc=xe({patchProp:Gp},Ap);let jn,ml=!1;function Yp(){return jn||(jn=fp(kc))}function Xp(){return jn=ml?jn:dp(kc),ml=!0,jn}const Ic=(...e)=>{const t=Yp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=$c(r);if(!o)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,Nc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qp=(...e)=>{const t=Xp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=$c(r);if(o)return n(o,!0,Nc(o))},t};function Nc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $c(e){return ge(e)?document.querySelector(e):e}const Zp=/#/g,eh=/&/g,th=/=/g,hs=/\+/g,nh=/%5e/gi,rh=/%60/gi,oh=/%7c/gi,ih=/%20/gi;function sh(e){return encodeURI(""+e).replace(oh,"|")}function Ei(e){return sh(typeof e=="string"?e:JSON.stringify(e)).replace(hs,"%2B").replace(ih,"+").replace(Zp,"%23").replace(eh,"%26").replace(rh,"`").replace(nh,"^")}function Jo(e){return Ei(e).replace(th,"%3D")}function Qr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function lh(e){return Qr(e.replace(hs," "))}function ah(e){return Qr(e.replace(hs," "))}function ms(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=lh(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=ah(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function ch(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Jo(e)}=${Ei(n)}`).join("&"):`${Jo(e)}=${Ei(t)}`:Jo(e)}function Dc(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ch(t,e[t])).filter(Boolean).join("&")}const uh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,dh=/^([/\\]\s*){2,}[^/\\]/;function Ln(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?uh.test(e):fh.test(e)||(t.acceptRelative?dh.test(e):!1)}const ph=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function hh(e){return!!e&&ph.test(e)}const mh=/\/$|\/\?|\/#/;function Ci(e="",t){return t?mh.test(e):e.endsWith("/")}function So(e="",t){if(!t)return(Ci(e)?e.slice(0,-1):e)||"/";if(!Ci(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return(i.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function Zr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ci(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function gh(e=""){return e.startsWith("/")}function gl(e=""){return gh(e)?e:"/"+e}function _h(e,t){if(Hc(t)||Ln(e))return e;const n=So(t);return e.startsWith(n)?e:ln(n,e)}function yh(e,t){if(Hc(t))return e;const n=So(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Mc(e,t){const n=On(e),r={...ms(n.search),...t};return n.search=Dc(r),Bc(n)}function Hc(e){return!e||e==="/"}function vh(e){return e&&e!=="/"}const bh=/^\.?\//;function ln(e,...t){let n=e||"";for(const r of t.filter(o=>vh(o)))if(n){const o=r.replace(bh,"");n=Zr(n)+o}else n=r;return n}function wh(e,t,n={}){return n.trailingSlash||(e=Zr(e),t=Zr(t)),n.leadingSlash||(e=gl(e),t=gl(t)),n.encoding||(e=Qr(e),t=Qr(t)),e===t}function On(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Ln(e,{acceptRelative:!0}))return t?On(t+e):_l(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=_l(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:c,hash:u}}function _l(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Bc(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol?e.protocol+"//":"")+o+i+t+n+r}const Eh=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},eo=Eh().app,Ch=()=>eo.baseURL,Th=()=>eo.buildAssetsDir,gs=(...e)=>ln(Vc(),Th(),...e),Vc=(...e)=>{const t=eo.cdnURL||eo.baseURL;return e.length?ln(t,...e):t};globalThis.__buildAssetsURL=gs,globalThis.__publicAssetsURL=Vc;const Ph=/"(?:_|\\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*:/,Rh=/"(?: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*:/,Sh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ah(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){xh(e);return}return t}function xh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function to(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 r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Sh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ph.test(e)||Rh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ah)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class Lh extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Oh(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new Lh(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[m]}});return l}const kh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function yl(e="GET"){return kh.has(e.toUpperCase())}function Ih(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 Nh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),$h=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Dh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return $h.test(t)?"json":Nh.has(t)||t.startsWith("text/")?"text":"blob"}function Mh(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,i)}return r}const Hh=new Set([408,409,425,429,500,502,503,504]),Bh=new Set([101,204,205,304]);function jc(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=yl(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Hh.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(l.request,{...l.options,retry:u-1,timeout:l.options.timeout})}}const c=Oh(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var d;const u={request:a,options:Mh(c,e.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=_h(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Mc(u.request,{...u.options.params,...u.options.query}))),u.options.body&&yl(u.options.method)&&(Ih(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const p=new r;setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!Bh.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||Dh(u.response.headers.get("content-type")||"");switch(p){case"json":{const m=await u.response.text(),b=u.options.parseResponse||to;u.response._data=b(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},s=async function(a,c){return(await i(a,c))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={})=>jc({...e,defaults:{...e.defaults,...l}}),s}const _s=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")}(),Vh=_s.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),jh=_s.Headers,Fh=_s.AbortController,Uh=jc({fetch:Vh,Headers:jh,AbortController:Fh}),Gh=Uh;globalThis.$fetch||(globalThis.$fetch=Gh.create({baseURL:Ch()}));function Ti(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Ti(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Wh={run:e=>e()},zh=()=>Wh,Fc=typeof console.createTask<"u"?console.createTask:zh;function qh(e,t){const n=t.shift(),r=Fc(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Kh(e,t){const n=t.shift(),r=Fc(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Yo(e,t){for(const n of[...e])n(t)}class Jh{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,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}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 r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)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=Ti(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Ti(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(qh,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Kh,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Yo(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Yo(this._after,o)}):(this._after&&o&&Yo(this._after,o),i)}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 Uc(){return new Jh}function Yh(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const a=()=>{t=s},c=()=>t===s?a:void 0;Pi.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{Pi.delete(c)}}}}function Xh(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Yh({...e,...r})),t[n],t[n]}}}const no=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},vl="__unctx__",Qh=no[vl]||(no[vl]=Xh()),Zh=(e,t={})=>Qh.get(e,t),bl="__unctx_async_handlers__",Pi=no[bl]||(no[bl]=new Set);function Gc(e){const t=[];for(const o of Pi){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const Wc=Zh("nuxt-app",{asyncContext:!1}),em="__nuxt_plugin";function tm(e){let t=0;const n={_scope:Uf(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.9.3"},get vue(){return n.vueApp.version}},payload:ft({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>om(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=Uc(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Rr(n,s,i),Rr(n.vueApp.config.globalProperties,s,i)},Rr(n.vueApp,"$nuxt",n),Rr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||ye;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=ft(n.payload.config);return n.provide("config",r),n}async function nm(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 r in n)e.provide(r,n[r])}}async function rm(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){if(a.dependsOn&&!a.dependsOn.every(c=>n.includes(c)))r.push([new Set(a.dependsOn),a]);else{const c=nm(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([u,f])=>{u.has(a._name)&&(u.delete(a._name),u.size===0&&(s++,await l(f)))})))});a.parallel?o.push(c.catch(u=>i.push(u))):await c}}for(const a of t)await l(a);if(await Promise.all(o),s)for(let a=0;a<s;a++)await Promise.all(o);if(i.length)throw i[0]}function pt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[em]:!0,_name:t})}function om(e,t,n){const r=()=>n?t(...n):t();return Wc.set(e),e.vueApp.runWithContext(r)}function ye(){var t;let e;if(mc()&&(e=(t=Po())==null?void 0:t.appContext.app.$nuxt),e=e||Wc.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function Zn(){return ye().$config}function Rr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const im="modulepreload",sm=function(e,t){return e[0]==="."?new URL(e,t).href:e},wl={},lm=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");o=Promise.all(n.map(s=>{if(s=sm(s,r),s in wl)return;wl[s]=!0;const l=s.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===s&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":im,l||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),l)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},_=(...e)=>lm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),am=-1,cm=-2,um=-3,fm=-4,dm=-5,pm=-6;function hm(e,t){return mm(JSON.parse(e),t)}function mm(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,r=Array(n.length);function o(i,s=!1){if(i===am)return;if(i===um)return NaN;if(i===fm)return 1/0;if(i===dm)return-1/0;if(i===pm)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==cm&&(a[c]=o(u))}}else{const a={};r[i]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[i]}return o(0)}function gm(e){return Array.isArray(e)?e:[e]}const _m=["title","titleTemplate","script","style","noscript"],Mr=["base","meta","link","style","script","noscript"],ym=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],vm=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],zc=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],bm=typeof window<"u";function ys(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 El(e){return e._h||ys(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function qc(e,t){const{props:n,tag:r}=e;if(vm.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const s=String(n[i]);return t&&!t(s)?!1:`${r}:${i}:${s}`}return!1}function Cl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function wm(e,t,n){const r={tag:e,props:await Kc(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return zc.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||_m.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Em(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 Kc(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=Em(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!zc.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Cm=10;async function Tm(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&ym.includes(n)).forEach(([n,r])=>{const o=gm(r);t.push(...o.map(i=>wm(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Cm)+r,n))}const Tl={base:-10,title:10},Pl={critical:-80,high:-10,low:20};function ro(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 Tl&&(t=Tl[e.tag]),typeof n=="string"&&n in Pl?t+Pl[n]:t)}const Pm=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Jc=["onload","onerror","onabort","onprogress","onloadstart"],Rt="%separator";function Hr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(s){let l;return["s","pageTitle"].includes(s)?l=t.pageTitle:s.includes(".")?l=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[s],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const l=r(s.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(Rt)&&(e.endsWith(Rt)&&(e=e.slice(0,-Rt.length).trim()),e.startsWith(Rt)&&(e=e.slice(Rt.length).trim()),e=e.replace(new RegExp(`\\${Rt}\\s*\\${Rt}`,"g"),Rt),e=Hr(e,{separator:n},n)),e}async function Rm(e){const t={tag:e.tagName.toLowerCase(),props:await Kc(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=qc(t),t}async function Yc(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Mr.includes(f.tag)?El(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const p of[...d].filter(m=>Mr.includes(m.tagName.toLowerCase())))i.elMap[p.getAttribute("data-hid")||El(await Rm(p))]=p}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,p){const m=`${f}:${d}`;i.sideEffects[m]=p,delete i.pendingSideEffects[m]}function l({id:f,$el:d,tag:p}){const m=p.tag.endsWith("Attrs");i.elMap[f]=d,m||(["textContent","innerHTML"].forEach(b=>{p[b]&&p[b]!==d[b]&&(d[b]=p[b])}),s(f,"el",()=>{i.elMap[f].remove(),delete i.elMap[f]})),Object.entries(p.props).forEach(([b,E])=>{const P=`attr:${b}`;if(b==="class")for(const C of(E||"").split(" ").filter(Boolean))m&&s(f,`${P}:${C}`,()=>d.classList.remove(C)),!d.classList.contains(C)&&d.classList.add(C);else d.getAttribute(b)!==E&&d.setAttribute(b,E===!0?"":String(E)),m&&s(f,P,()=>d.removeAttribute(b))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:m}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[m],f.$el?l(f):Mr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Sm(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Yc(e,t),delete e._domUpdatePromise,r()}))}function Am(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.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(i){Sm(i,e)}}}}}const xm=["templateParams","htmlAttrs","bodyAttrs"],Lm={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=qc(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[o];if(i){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&xm.includes(r.tag)&&(l="merge"),l==="merge"){const a=i.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(ro(r)>ro(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Mr.includes(r.tag)&&s===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Om={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"}})}}},km=["script","link","bodyAttrs"];function Im(e){const t={},n={};return Object.entries(e.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?(Jc.includes(r)&&(t[r]=`this.dataset.${r} = true`),n[r]=o):t[r]=o}),{props:t,eventHandlers:n}}const Nm=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(km.includes(n.tag)){const{props:r,eventHandlers:o}=Im(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||ys(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(t,n,r){if(!t.tag._eventHandlers)return;const o=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([i,s])=>{const l=`${t.tag._d||t.tag._p}:${i}`,a=i.slice(2).toLowerCase(),c=`data-h-${a}`;if(r(t.id,l,()=>{}),t.$el.hasAttribute(c))return;t.$el.setAttribute(c,"");let u;const f=d=>{s(d),u==null||u.disconnect()};i in t.$el.dataset?f(new Event(i.replace("on",""))):Jc.includes(i)&&typeof MutationObserver<"u"?(u=new MutationObserver(d=>{d.some(m=>m.attributeName===`data-${i}`)&&(f(new Event(i.replace("on",""))),u==null||u.disconnect())}),u.observe(t.$el,{attributes:!0})):o.addEventListener(a,f),r(t.id,l,()=>{u==null||u.disconnect(),o.removeEventListener(a,f),t.$el.removeAttribute(c)})})}}}),$m=["link","style","script","noscript"],Dm={hooks:{"tag:normalise":({tag:e})=>{e.key&&$m.includes(e.tag)&&(e.props["data-hid"]=e._h=ys(e.key))}}},Mm={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Pm)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>ro(n)-ro(r))}}},Hm={meta:"content",link:"href",htmlAttrs:"lang"},Bm=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Hr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Hm[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=Hr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=Hr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),Vm={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=Cl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Cl(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)}}},jm={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 Xc;function Fm(e={}){const t=Um(e);return t.use(Am()),Xc=t}function Rl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Um(e={}){const t=Uc();t.addHooks(e.hooks||{}),e.document=e.document||(bm?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,i=[];const s=[],l={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),Rl(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Rl(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Tm(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[Lm,Om,Nm,Dm,Mm,Bm,Vm,jm,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function Gm(){return Xc}const Wm=Lc.startsWith("3");function zm(e){return typeof e=="function"?e():fe(e)}function oo(e,t=""){if(e instanceof Promise)return e;const n=zm(e);return!e||!n?n:Array.isArray(n)?n.map(r=>oo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,fe(o)]:[r,oo(o,r)])):n}const qm={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=oo(t.input)}}},Qc="usehead";function Km(e){return{install(n){Wm&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Qc,e))}}.install}function Jm(e={}){e.domDelayFn=e.domDelayFn||(n=>fr(()=>setTimeout(()=>n(),0)));const t=Fm(e);return t.use(qm),t.install=Km(t),t}const Ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Si="__unhead_injection_handler__";function Ym(e){Ri[Si]=e}function Xm(){if(Si in Ri)return Ri[Si]();const e=bn(Qc);return e||Gm()}function Qm(e,t={}){const n=t.head||Xm();if(n)return n.ssr?n.push(e,t):Zm(n,e,t)}function Zm(e,t,n={}){const r=_e(!1),o=_e({});rc(()=>{o.value=r.value?{}:oo(t)});const i=e.push(o.value,n);return $t(o,l=>{i.patch(l)}),Po()&&(cs(()=>{i.dispose()}),sc(()=>{r.value=!0}),ic(()=>{r.value=!1})),i}function eg(e){return{ctx:{table:e},matchAll:t=>eu(t,e)}}function Zc(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Zc(o)])):new Map(Object.entries(e[n]));return t}function tg(e){return eg(Zc(e))}function eu(e,t){const n=[];for(const[o,i]of Sl(t.wildcard))e.startsWith(o)&&n.push(i);for(const[o,i]of Sl(t.dynamic))if(e.startsWith(o+"/")){const s="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...eu(s,i))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function Sl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Xo(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ai(e,t,n=".",r){if(!Xo(t))return Ai(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Xo(s)&&Xo(o[i])?o[i]=Ai(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function tu(e){return(...t)=>t.reduce((n,r)=>Ai(n,r,"",e),{})}const ng=tu(),rg=tu((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function og(e,t){try{return t in e}catch{return!1}}var ig=Object.defineProperty,sg=(e,t,n)=>t in e?ig(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gt=(e,t,n)=>(sg(e,typeof t!="symbol"?t+"":t,n),n);class xi extends Error{constructor(t,n={}){super(t,n),Gt(this,"statusCode",500),Gt(this,"fatal",!1),Gt(this,"unhandled",!1),Gt(this,"statusMessage"),Gt(this,"data"),Gt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Li(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=nu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Gt(xi,"__h3_error__",!0);function lg(e){if(typeof e=="string")return new xi(e);if(ag(e))return e;const t=new xi(e.message??e.statusMessage??"",{cause:e.cause||e});if(og(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=Li(e.statusCode,t.statusCode):e.status&&(t.statusCode=Li(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;nu(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 ag(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const cg=/[^\u0009\u0020-\u007E]/g;function nu(e=""){return e.replace(cg,"")}function Li(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ru=Symbol("route"),ou="__nuxt_error",vs=()=>qa(ye().payload,"error"),ug=e=>{const t=iu(e);try{const n=ye(),r=vs();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},fg=async(e={})=>{const t=ye(),n=vs();t.callHook("app:error:cleared",e),e.redirect&&await an().replace(e.redirect),n.value=null},dg=e=>!!e&&typeof e=="object"&&ou in e,iu=e=>{const t=lg(e);return Object.defineProperty(t,ou,{value:!0,configurable:!1,writable:!1}),t},an=()=>{var e;return(e=ye())==null?void 0:e.$router},su=()=>mc()?bn(ru,ye()._route):ye()._route;const pg=()=>{try{if(ye()._processingMiddleware)return!0}catch{return!0}return!1},lu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Mc(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:l="_blank",windowFeatures:a={}}=t.open,c=Object.entries(a).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,l,c)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Ln(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=On(n).protocol;if(l&&hh(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=pg();if(!r&&o)return e;const i=an(),s=ye();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},hg={nuxt:{buildId:"87749a2d-3ca4-4a5f-9e4d-72705e109397"}},mg=rg(hg);function gg(){const e=ye();return e._appConfig||(e._appConfig=ft(mg)),e._appConfig}const _g={componentName:"NuxtLink"},yg="#__nuxt";let Br,au;function vg(){var t;const e=(t=gg().nuxt)==null?void 0:t.buildId;return Br=$fetch(gs(`builds/meta/${e}.json`)),Br.then(n=>{au=tg(n.matcher)}),Br}function Ao(){return Br||vg()}async function cu(e){return await Ao(),ng({},...au.matchAll(e).reverse())}function Al(e,t={}){const n=bg(e,t),r=ye(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=wg(e).then(i=>i?uu(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const xl="json";function bg(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"||Ln(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return ln(Zn().app.baseURL,n.pathname,r?`_payload.${r}.${xl}`:`_payload.${xl}`)}async function uu(e){const t=fetch(e).then(n=>n.text().then(fu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function wg(e=su().path){if(e=So(e),(await Ao()).prerendered.includes(e))return!0;const n=await cu(e);return!!n.prerender&&!n.redirect}let Sr=null;async function Eg(){if(Sr)return Sr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await fu(e.textContent||""),n=e.dataset.src?await uu(e.dataset.src):void 0;return Sr={...t,...n,...window.__NUXT__},Sr}async function fu(e){return await hm(e,ye()._payloadRevivers)}function Cg(e,t){ye()._payloadRevivers[e]=t}const Ll={NuxtError:e=>iu(e),EmptyShallowRef:e=>Ws(e==="_"?void 0:e==="0n"?BigInt(0):to(e)),EmptyRef:e=>_e(e==="_"?void 0:e==="0n"?BigInt(0):to(e)),ShallowRef:e=>Ws(e),ShallowReactive:e=>Ba(e),Ref:e=>_e(e),Reactive:e=>ft(e)},Tg=pt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Ll)Cg(r,Ll[r]);Object.assign(e.payload,([t,n]=Gc(()=>e.runWithContext(Eg)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Pg=[],Rg=pt({name:"nuxt:head",enforce:"pre",setup(e){const t=Jm({plugins:Pg});Ym(()=>ye().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Yc(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),Sg=async e=>{let t,n;const r=([t,n]=Gc(()=>cu(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},Ag=[Sg];function Qo(e){typeof e=="object"&&(e=Bc({pathname:e.path||"",search:Dc(e.query||{}),hash:e.hash||""}));const t=On(e.toString());return{path:t.pathname,fullPath:e,query:ms(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const xg=pt({name:"nuxt:router",enforce:"pre",setup(e){const t=yh(window.location.pathname,Zn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=Zn().app.baseURL,s=ft(Qo(t));async function l(f,d){try{const p=Qo(f);for(const m of r["navigate:before"]){const b=await m(p,s);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return l(b,!0)}for(const m of r["resolve:before"])await m(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",ln(i,p.fullPath)),e.isHydrating||await e.runWithContext(fg);for(const m of r["navigate:after"])await m(p,s)}catch(p){for(const m of r.error)await m(p)}}const a=Ze(()=>s);for(const f in s)Object.defineProperty(a,f,{get(){return s[f]}});const c={currentRoute:a,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:Qo,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Fe({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var b;const m=c.resolve(f.to);return f.custom?(b=d.default)==null?void 0:b.call(d,{href:f.to,navigate:p,route:m}):Xr("a",{href:f.to,onClick:E=>(E.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=ft(f.meta||{}),e.isHydrating&&u&&!Zt(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...Ag,...e._middleware.global]);for(const m of p){const b=await e.runWithContext(()=>m(f,d));if(b!==!0&&(b||b===!1))return b}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),wh(s.fullPath,t)||await e.runWithContext(()=>lu(s.fullPath))}),{provide:{route:s,router:c}}}}),Oi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Lg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),bs=e=>{const t=ye();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Oi(e)}):Oi(e)},Og=pt({name:"nuxt:payload",setup(e){an().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Al(t.path);r&&Object.assign(e.static.data,r.data)}),bs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{On(n).protocol||await Al(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Ao,1e3)})}}),kg=pt(e=>{let t;async function n(){const r=await Ao();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(gs("builds/latest.json"));o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}bs(()=>{t=setTimeout(n,1e3*60*60)})}),Ig=pt({name:"nuxt:global-components"}),Ng="$s";function $g(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Ng+n,i=ye(),s=qa(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Le(l))return i.payload.state[o]=l,l;s.value=l}return s}const Dg="__NUXT_COLOR_MODE__",Mg="nuxt-color-mode",gt=window[Dg]||{},Hg=pt(e=>{const t=$g("color-mode",()=>ft({preference:gt.preference,value:gt.value,unknown:!1,forced:!1})).value;an().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?gt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=gt.getColorScheme())}))}$t(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=gt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Mg,o))},{immediate:!0}),$t(()=>t.value,(o,i)=>{gt.removeColorScheme(i),gt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=gt.preference,t.value=gt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Bg=pt(()=>{});function Vg(e={}){const t=e.path||window.location.pathname;let n={};try{n=to(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:ye().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jg=pt({name:"nuxt:chunk-reload",setup(e){const t=an(),n=Zn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const l="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:ln(n.app.baseURL,i.fullPath);Vg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Fg=["top","right","bottom","left"],Ol=["start","end"],kl=Fg.reduce((e,t)=>e.concat(t,t+"-"+Ol[0],t+"-"+Ol[1]),[]),er=Math.min,Wt=Math.max,Ug={left:"right",right:"left",bottom:"top",top:"bottom"},Gg={start:"end",end:"start"};function ki(e,t,n){return Wt(e,er(t,n))}function cn(e,t){return typeof e=="function"?e(t):e}function dt(e){return e.split("-")[0]}function et(e){return e.split("-")[1]}function du(e){return e==="x"?"y":"x"}function ws(e){return e==="y"?"height":"width"}function pr(e){return["top","bottom"].includes(dt(e))?"y":"x"}function Es(e){return du(pr(e))}function pu(e,t,n){n===void 0&&(n=!1);const r=et(e),o=Es(e),i=ws(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=so(s)),[s,so(s)]}function Wg(e){const t=so(e);return[io(e),t,io(t)]}function io(e){return e.replace(/start|end/g,t=>Gg[t])}function zg(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function qg(e,t,n,r){const o=et(e);let i=zg(dt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(io)))),i}function so(e){return e.replace(/left|right|bottom|top/g,t=>Ug[t])}function Kg(e){return{top:0,right:0,bottom:0,left:0,...e}}function hu(e){return typeof e!="number"?Kg(e):{top:e,right:e,bottom:e,left:e}}function Fn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Il(e,t,n){let{reference:r,floating:o}=e;const i=pr(t),s=Es(t),l=ws(s),a=dt(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(et(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const Jg=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Il(c,r,a),d=r,p={},m=0;for(let b=0;b<l.length;b++){const{name:E,fn:P}=l[b],{x:C,y:h,data:w,reset:T}=await P({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});if(u=C??u,f=h??f,p={...p,[E]:{...p[E],...w}},T&&m<=50){m++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:u,y:f}=Il(c,d,a)),b=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function xo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=cn(t,e),m=hu(p),E=l[d?f==="floating"?"reference":"floating":f],P=Fn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),C=f==="floating"?{...s.floating,x:r,y:o}:s.reference,h=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(h))?await(i.getScale==null?void 0:i.getScale(h))||{x:1,y:1}:{x:1,y:1},T=Fn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:h,strategy:a}):C);return{top:(P.top-T.top+m.top)/w.y,bottom:(T.bottom-P.bottom+m.bottom)/w.y,left:(P.left-T.left+m.left)/w.x,right:(T.right-P.right+m.right)/w.x}}const Yg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=cn(e,t)||{};if(c==null)return{};const f=hu(u),d={x:n,y:r},p=Es(o),m=ws(p),b=await s.getDimensions(c),E=p==="y",P=E?"top":"left",C=E?"bottom":"right",h=E?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-d[p]-i.floating[m],T=d[p]-i.reference[p],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let $=R?R[h]:0;(!$||!await(s.isElement==null?void 0:s.isElement(R)))&&($=l.floating[h]||i.floating[m]);const F=w/2-T/2,V=$/2-b[m]/2-1,M=er(f[P],V),Q=er(f[C],V),z=M,ne=$-b[m]-Q,ae=$/2-b[m]/2+F,se=ki(z,ae,ne),H=!a.arrow&&et(o)!=null&&ae!=se&&i.reference[m]/2-(ae<z?M:Q)-b[m]/2<0,q=H?ae<z?ae-z:ae-ne:0;return{[p]:d[p]+q,data:{[p]:se,centerOffset:ae-se-q,...H&&{alignmentOffset:q}},reset:H}}});function Xg(e,t,n){return(e?[...n.filter(o=>et(o)===e),...n.filter(o=>et(o)!==e)]:n.filter(o=>dt(o)===o)).filter(o=>e?et(o)===e||(t?io(o)!==o:!1):!0)}const Qg=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=kl,autoAlignment:p=!0,...m}=cn(e,t),b=f!==void 0||d===kl?Xg(f||null,p,d):d,E=await xo(t,m),P=((n=s.autoPlacement)==null?void 0:n.index)||0,C=b[P];if(C==null)return{};const h=pu(C,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==C)return{reset:{placement:b[0]}};const w=[E[dt(C)],E[h[0]],E[h[1]]],T=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:C,overflows:w}],R=b[P+1];if(R)return{data:{index:P+1,overflows:T},reset:{placement:R}};const $=T.map(M=>{const Q=et(M.placement);return[M.placement,Q&&u?M.overflows.slice(0,2).reduce((z,ne)=>z+ne,0):M.overflows[0],M.overflows]}).sort((M,Q)=>M[1]-Q[1]),V=((o=$.filter(M=>M[2].slice(0,et(M[0])?2:3).every(Q=>Q<=0))[0])==null?void 0:o[0])||$[0][0];return V!==l?{data:{index:P+1,overflows:T},reset:{placement:V}}:{}}}},Zg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...E}=cn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const P=dt(o),C=dt(l)===l,h=await(a.isRTL==null?void 0:a.isRTL(c.floating)),w=d||(C||!b?[so(l)]:Wg(l));!d&&m!=="none"&&w.push(...qg(l,b,m,h));const T=[l,...w],R=await xo(t,E),$=[];let F=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&$.push(R[P]),f){const z=pu(o,s,h);$.push(R[z[0]],R[z[1]])}if(F=[...F,{placement:o,overflows:$}],!$.every(z=>z<=0)){var V,M;const z=(((V=i.flip)==null?void 0:V.index)||0)+1,ne=T[z];if(ne)return{data:{index:z,overflows:F},reset:{placement:ne}};let ae=(M=F.filter(se=>se.overflows[0]<=0).sort((se,H)=>se.overflows[1]-H.overflows[1])[0])==null?void 0:M.placement;if(!ae)switch(p){case"bestFit":{var Q;const se=(Q=F.map(H=>[H.placement,H.overflows.filter(q=>q>0).reduce((q,j)=>q+j,0)]).sort((H,q)=>H[1]-q[1])[0])==null?void 0:Q[0];se&&(ae=se);break}case"initialPlacement":ae=l;break}if(o!==ae)return{reset:{placement:ae}}}return{}}}};async function e_(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=dt(n),l=et(n),a=pr(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=cn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),a?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const t_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await e_(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},n_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:E=>{let{x:P,y:C}=E;return{x:P,y:C}}},...a}=cn(e,t),c={x:n,y:r},u=await xo(t,a),f=pr(dt(o)),d=du(f);let p=c[d],m=c[f];if(i){const E=d==="y"?"top":"left",P=d==="y"?"bottom":"right",C=p+u[E],h=p-u[P];p=ki(C,p,h)}if(s){const E=f==="y"?"top":"left",P=f==="y"?"bottom":"right",C=m+u[E],h=m-u[P];m=ki(C,m,h)}const b=l.fn({...t,[d]:p,[f]:m});return{...b,data:{x:b.x-n,y:b.y-r}}}}},r_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=cn(e,t),a=await xo(t,l),c=dt(n),u=et(n),f=pr(n)==="y",{width:d,height:p}=r.floating;let m,b;c==="top"||c==="bottom"?(m=c,b=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(b=c,m=u==="end"?"top":"bottom");const E=p-a[m],P=d-a[b],C=!t.middlewareData.shift;let h=E,w=P;if(f){const R=d-a.left-a.right;w=u||C?er(P,R):R}else{const R=p-a.top-a.bottom;h=u||C?er(E,R):R}if(C&&!u){const R=Wt(a.left,0),$=Wt(a.right,0),F=Wt(a.top,0),V=Wt(a.bottom,0);f?w=d-2*(R!==0||$!==0?R+$:Wt(a.left,a.right)):h=p-2*(F!==0||V!==0?F+V:Wt(a.top,a.bottom))}await s({...t,availableWidth:w,availableHeight:h});const T=await o.getDimensions(i.floating);return d!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function qe(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function at(e){return qe(e).getComputedStyle(e)}const Nl=Math.min,Un=Math.max,lo=Math.round;function mu(e){const t=at(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=lo(n)!==o||lo(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function Vt(e){return _u(e)?(e.nodeName||"").toLowerCase():""}let Ar;function gu(){if(Ar)return Ar;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ar=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Ar):navigator.userAgent}function ct(e){return e instanceof qe(e).HTMLElement}function Dt(e){return e instanceof qe(e).Element}function _u(e){return e instanceof qe(e).Node}function $l(e){return typeof ShadowRoot>"u"?!1:e instanceof qe(e).ShadowRoot||e instanceof ShadowRoot}function Lo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=at(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function o_(e){return["table","td","th"].includes(Vt(e))}function Ii(e){const t=/firefox/i.test(gu()),n=at(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function yu(){return!/^((?!chrome|android).)*safari/i.test(gu())}function Cs(e){return["html","body","#document"].includes(Vt(e))}function vu(e){return Dt(e)?e:e.contextElement}const bu={x:1,y:1};function wn(e){const t=vu(e);if(!ct(t))return bu;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=mu(t);let s=(i?lo(n.width):n.width)/r,l=(i?lo(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function tr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),l=vu(e);let a=bu;t&&(r?Dt(r)&&(a=wn(r)):a=wn(e));const c=l?qe(l):window,u=!yu()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/a.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=s.width/a.x,m=s.height/a.y;if(l){const b=qe(l),E=r&&Dt(r)?qe(r):r;let P=b.frameElement;for(;P&&r&&E!==b;){const C=wn(P),h=P.getBoundingClientRect(),w=getComputedStyle(P);h.x+=(P.clientLeft+parseFloat(w.paddingLeft))*C.x,h.y+=(P.clientTop+parseFloat(w.paddingTop))*C.y,f*=C.x,d*=C.y,p*=C.x,m*=C.y,f+=h.x,d+=h.y,P=qe(P).frameElement}}return{width:p,height:m,top:d,right:f+p,bottom:d+m,left:f,x:f,y:d}}function Mt(e){return((_u(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oo(e){return Dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wu(e){return tr(Mt(e)).left+Oo(e).scrollLeft}function nr(e){if(Vt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||$l(e)&&e.host||Mt(e);return $l(t)?t.host:t}function Eu(e){const t=nr(e);return Cs(t)?t.ownerDocument.body:ct(t)&&Lo(t)?t:Eu(t)}function ao(e,t){var n;t===void 0&&(t=[]);const r=Eu(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=qe(r);return o?t.concat(i,i.visualViewport||[],Lo(r)?r:[]):t.concat(r,ao(r))}function Dl(e,t,n){return t==="viewport"?Fn(function(r,o){const i=qe(r),s=Mt(r),l=i.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const d=yu();(d||!d&&o==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}}(e,n)):Dt(t)?Fn(function(r,o){const i=tr(r,!0,o==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,a=ct(r)?wn(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:l*a.x,y:s*a.y}}(t,n)):Fn(function(r){const o=Mt(r),i=Oo(r),s=r.ownerDocument.body,l=Un(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),a=Un(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+wu(r);const u=-i.scrollTop;return at(s).direction==="rtl"&&(c+=Un(o.clientWidth,s.clientWidth)-l),{width:l,height:a,x:c,y:u}}(Mt(e)))}function Ml(e){return ct(e)&&at(e).position!=="fixed"?e.offsetParent:null}function Hl(e){const t=qe(e);let n=Ml(e);for(;n&&o_(n)&&at(n).position==="static";)n=Ml(n);return n&&(Vt(n)==="html"||Vt(n)==="body"&&at(n).position==="static"&&!Ii(n))?t:n||function(r){let o=nr(r);for(;ct(o)&&!Cs(o);){if(Ii(o))return o;o=nr(o)}return null}(e)||t}function i_(e,t,n){const r=ct(t),o=Mt(t),i=tr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((Vt(t)!=="body"||Lo(o))&&(s=Oo(t)),ct(t)){const a=tr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else o&&(l.x=wu(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const s_={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=ao(c).filter(E=>Dt(E)&&Vt(E)!=="body"),p=null;const m=at(c).position==="fixed";let b=m?nr(c):c;for(;Dt(b)&&!Cs(b);){const E=at(b),P=Ii(b);(m?P||p:P||E.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=E:d=d.filter(C=>C!==b),b=nr(b)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],l=s[0],a=s.reduce((c,u)=>{const f=Dl(t,u,o);return c.top=Un(f.top,c.top),c.right=Nl(f.right,c.right),c.bottom=Nl(f.bottom,c.bottom),c.left=Un(f.left,c.left),c},Dl(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ct(n),i=Mt(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((o||!o&&r!=="fixed")&&((Vt(n)!=="body"||Lo(i))&&(s=Oo(n)),ct(n))){const c=tr(n);l=wn(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}},isElement:Dt,getDimensions:function(e){return ct(e)?mu(e):e.getBoundingClientRect()},getOffsetParent:Hl,getDocumentElement:Mt,getScale:wn,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Hl,i=this.getDimensions;return{reference:i_(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>at(e).direction==="rtl"},l_=(e,t,n)=>{const r=new Map,o={platform:s_,...n},i={...o.platform,_c:r};return Jg(e,t,{...o,platform:i})};function Cu(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Cu(e[n],t[n]):e[n]=t[n])}const Et={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function rr(e,t){let n=Et.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Et.themes[n.$extend]||{}:(n=null,r=Et[t]):n=null;while(n);return r}function a_(e){const t=[e];let n=Et.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Et.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Bl(e){const t=[e];let n=Et.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Et.themes[n.$extend]||{}):n=null;while(n);return t}let Sn=!1;if(typeof window<"u"){Sn=!1;try{const e=Object.defineProperty({},"passive",{get(){Sn=!0}});window.addEventListener("test",null,e)}catch{}}let Tu=!1;typeof window<"u"&&typeof navigator<"u"&&(Tu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Pu=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Vl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},jl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Fl(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Zo(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const bt=[];let Ut=null;const Ul={};function Gl(e){let t=Ul[e];return t||(t=Ul[e]=[]),t}let Ni=function(){};typeof window<"u"&&(Ni=window.Element);function re(e){return function(t){return rr(t.theme,e)}}const ei="__floating-vue__popper",Ru=()=>Fe({name:"VPopper",provide(){return{[ei]:{parentPopper:this}}},inject:{[ei]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:re("disabled")},positioningDisabled:{type:Boolean,default:re("positioningDisabled")},placement:{type:String,default:re("placement"),validator:e=>Pu.includes(e)},delay:{type:[String,Number,Object],default:re("delay")},distance:{type:[Number,String],default:re("distance")},skidding:{type:[Number,String],default:re("skidding")},triggers:{type:Array,default:re("triggers")},showTriggers:{type:[Array,Function],default:re("showTriggers")},hideTriggers:{type:[Array,Function],default:re("hideTriggers")},popperTriggers:{type:Array,default:re("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:re("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:re("popperHideTriggers")},container:{type:[String,Object,Ni,Boolean],default:re("container")},boundary:{type:[String,Ni],default:re("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:re("strategy")},autoHide:{type:[Boolean,Function],default:re("autoHide")},handleResize:{type:Boolean,default:re("handleResize")},instantMove:{type:Boolean,default:re("instantMove")},eagerMount:{type:Boolean,default:re("eagerMount")},popperClass:{type:[String,Array,Object],default:re("popperClass")},computeTransformOrigin:{type:Boolean,default:re("computeTransformOrigin")},autoMinSize:{type:Boolean,default:re("autoMinSize")},autoSize:{type:[Boolean,String],default:re("autoSize")},autoMaxSize:{type:Boolean,default:re("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:re("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:re("preventOverflow")},overflowPadding:{type:[Number,String],default:re("overflowPadding")},arrowPadding:{type:[Number,String],default:re("arrowPadding")},arrowOverflow:{type:Boolean,default:re("arrowOverflow")},flip:{type:Boolean,default:re("flip")},shift:{type:Boolean,default:re("shift")},shiftCrossAxis:{type:Boolean,default:re("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:re("noAutoFocus")},disposeTimeout:{type:Number,default:re("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ei])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(t_({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Qg({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(n_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Zg({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Yg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>o.reference.width/2:s=Math.abs(l)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(r_({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await l_(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ut&&this.instantMove&&Ut.instantMove&&Ut!==this.parentPopper){Ut.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ut=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Zo(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ao(this.$_referenceNode),...ao(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<bt.length;n++)t=bt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}bt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Bl(this.theme))Gl(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Zo(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Fl(bt,this),bt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Bl(this.theme)){const r=Gl(n);Fl(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ut===this&&(Ut=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Zo(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Vl,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Vl,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,jl,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],jl,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Sn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=t[s];l&&this.$_registerEventListeners(e,l,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Gn>=e.left&&Gn<=e.right&&Wn>=e.top&&Wn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Gn-St,r=Wn-At,o=t.left+t.width/2-St+(t.top+t.height/2)-At+t.width+t.height,i=St+n*o,s=At+r*o;return xr(St,At,i,s,t.left,t.top,t.left,t.bottom)||xr(St,At,i,s,t.left,t.top,t.right,t.top)||xr(St,At,i,s,t.right,t.top,t.right,t.bottom)||xr(St,At,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Tu?document.addEventListener("touchstart",Wl,Sn?{passive:!0,capture:!0}:!0):window.addEventListener("mousedown",Wl,!0),window.addEventListener("resize",u_));function Wl(e,t=!1){const n={};for(let r=bt.length-1;r>=0;r--){const o=bt[r];try{const i=o.containsGlobalTarget=o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&zl(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=o.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let s=o.parentPopper;for(;s&&zl(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function zl(e,t,n){return n.closeAllPopover||n.closePopover&&t||c_(e,n)&&!t}function c_(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function u_(){for(let e=0;e<bt.length;e++)bt[e].$_computePosition()}let St=0,At=0,Gn=0,Wn=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{St=Gn,At=Wn,Gn=e.clientX,Wn=e.clientY},Sn?{passive:!0}:void 0);function xr(e,t,n,r,o,i,s,l){const a=((s-o)*(t-i)-(l-i)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t));return a>=0&&a<=1&&c>=0&&c<=1}const f_={extends:Ru()},ko=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function d_(e,t,n,r,o,i){return Y(),le("div",{ref:"reference",class:Ee(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[He(e.$slots,"default",Ca(ds(e.slotData)))],2)}const p_=ko(f_,[["render",d_]]);function h_(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Vr;function $i(){$i.init||($i.init=!0,Vr=h_()!==-1)}var Io={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$i(),fr(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Vr&&this.$el.appendChild(e),e.data="about:blank",Vr||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Vr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const m_=Cd();Qa("data-v-b329ee4c");const g_={class:"resize-observer",tabindex:"-1"};Za();const __=m_((e,t,n,r,o,i)=>(Y(),Ie("div",g_)));Io.render=__;Io.__scopeId="data-v-b329ee4c";Io.__file="src/components/ResizeObserver.vue";const Su=(e="theme")=>({computed:{themeClass(){return a_(this[e])}}}),y_=Fe({name:"VPopperContent",components:{ResizeObserver:Io},mixins:[Su()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),v_=["id","aria-hidden","tabindex","data-popper-placement"],b_={ref:"inner",class:"v-popper__inner"},w_=G("div",{class:"v-popper__arrow-outer"},null,-1),E_=G("div",{class:"v-popper__arrow-inner"},null,-1),C_=[w_,E_];function T_(e,t,n,r,o,i){const s=en("ResizeObserver");return Y(),le("div",{id:e.popperId,ref:"popover",class:Ee(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Jt(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Jp(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[G("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),G("div",{class:"v-popper__wrapper",style:Jt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[G("div",b_,[e.mounted?(Y(),le(we,{key:0},[G("div",null,[He(e.$slots,"default")]),e.handleResize?(Y(),Ie(s,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):lt("",!0)],64)):lt("",!0)],512),G("div",{ref:"arrow",class:"v-popper__arrow-container",style:Jt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},C_,4)],4)],46,v_)}const Au=ko(y_,[["render",T_]]),xu={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Di=function(){};typeof window<"u"&&(Di=window.Element);const P_=Fe({name:"VPopperWrapper",components:{Popper:p_,PopperContent:Au},mixins:[xu,Su("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Di,Boolean],default:void 0},boundary:{type:[String,Di],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function R_(e,t,n,r,o,i){const s=en("PopperContent"),l=en("Popper");return Y(),Ie(l,To({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ue(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:m,handleResize:b,onResize:E,classes:P,result:C})=>[He(e.$slots,"default",{shown:c,show:p,hide:m}),J(s,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":b,classes:P,result:C,onHide:m,onResize:E},{default:ue(()=>[He(e.$slots,"popper",{shown:c,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Ts=ko(P_,[["render",R_]]),S_={...Ts,name:"VDropdown",vPopperTheme:"dropdown"},A_={...Ts,name:"VMenu",vPopperTheme:"menu"},x_={...Ts,name:"VTooltip",vPopperTheme:"tooltip"},L_=Fe({name:"VTooltipDirective",components:{Popper:Ru(),PopperContent:Au},mixins:[xu],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>rr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>rr(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),O_=["innerHTML"],k_=["textContent"];function I_(e,t,n,r,o,i){const s=en("PopperContent"),l=en("Popper");return Y(),Ie(l,To({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ue(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:m,onResize:b,classes:E,result:P})=>[J(s,{ref:"popperContent",class:Ee({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:E,result:P,onHide:p,onResize:b},{default:ue(()=>[e.html?(Y(),le("div",{key:0,innerHTML:e.finalContent},null,8,O_)):(Y(),le("div",{key:1,textContent:it(e.finalContent)},null,8,k_))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const N_=ko(L_,[["render",I_]]),Lu="v-popper--has-tooltip";function $_(e,t){let n=e.placement;if(!n&&t)for(const r of Pu)t[r]&&(n=r);return n||(n=rr(e.theme||"tooltip","placement")),n}function Ou(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=$_(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ti,or,D_=0;function M_(){if(ti)return;or=_e([]),ti=Ic({name:"VTooltipDirectiveApp",setup(){return{directives:or}},render(){return this.directives.map(t=>Xr(N_,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ti.mount(e)}function H_(e,t,n){M_();const r=_e(Ou(e,t,n)),o=_e(!1),i={id:D_++,options:r,shown:o};return or.value.push(i),e.classList&&e.classList.add(Lu),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function ku(e){if(e.$_popper){const t=or.value.indexOf(e.$_popper.item);t!==-1&&or.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Lu)}function ql(e,{value:t,modifiers:n}){const r=Ou(e,t,n);if(!r.content||rr(r.theme||"tooltip","disabled"))ku(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=H_(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const B_={beforeMount:ql,updated:ql,beforeUnmount(e){ku(e)}};function Kl(e){e.addEventListener("mousedown",Iu),e.addEventListener("touchstart",Nu,Sn?{passive:!0}:!1)}function Jl(e){e.removeEventListener("mousedown",Iu),e.removeEventListener("touchstart",Nu),e.removeEventListener("touchend",$u),e.removeEventListener("touchcancel",Du)}function Iu(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Nu(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",$u),t.addEventListener("touchcancel",Du)}}function $u(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Du(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const V_={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Kl(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Kl(e):Jl(e))},beforeUnmount(e){Jl(e)}};function j_(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Cu(Et,t),e.directive("tooltip",B_),e.directive("close-popper",V_),e.component("VTooltip",x_),e.component("VDropdown",S_),e.component("VMenu",A_))}const F_={version:"5.2.0",install:j_,options:Et},U_=pt(e=>{e.vueApp.use(F_)}),G_=[Tg,Rg,xg,Og,kg,Ig,Hg,Bg,jg,U_],Mu=Fe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Y(),le("div",{class:Ee(["n-icon",t.icon])},null,2))}}),No=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},W_={},z_={class:"n-badge"};function q_(e,t){return Y(),le("span",z_,[He(e.$slots,"default")])}const K_=No(W_,[["render",q_]]);async function Hu(e,t=an()){const{path:n,matched:r}=t.resolve(e);if(!r.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(()=>Hu(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var l;return(l=s.components)==null?void 0:l.default}).filter(s=>typeof s=="function");for(const s of i){const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const J_=(...e)=>e.find(t=>t!==void 0),Y_="noopener noreferrer";function X_(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Yl(r,e.trailingSlash);const i="path"in r?r.path:o(r).path;return{...r,name:void 0,path:Yl(i,e.trailingSlash)}};return Fe({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(r,{slots:o}){const i=an(),s=Zn(),l=Ze(()=>{const p=r.to||r.href||"";return n(p,i.resolve)}),a=Ze(()=>typeof l.value=="string"&&Ln(l.value,{acceptRelative:!0})),c=Ze(()=>r.external||r.target&&r.target!=="_self"?!0:typeof l.value=="object"?!1:l.value===""||a.value),u=_e(!1),f=_e(null),d=p=>{var m;f.value=r.custom?(m=p==null?void 0:p.$el)==null?void 0:m.nextElementSibling:p==null?void 0:p.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!e0()){const m=ye();let b,E=null;ac(()=>{const P=Z_();bs(()=>{b=Oi(()=>{var C;(C=f==null?void 0:f.value)!=null&&C.tagName&&(E=P.observe(f.value,async()=>{E==null||E(),E=null;const h=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([m.hooks.callHook("link:prefetch",h).catch(()=>{}),!c.value&&Hu(l.value,i).catch(()=>{})]),u.value=!0}))})})}),cs(()=>{b&&Lg(b),E==null||E(),E=null})}return()=>{var P,C;if(!c.value){const h={ref:d,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(h.class=r.prefetchedClass||e.prefetchedClass),h.rel=r.rel),Xr(en("RouterLink"),h,o.default)}const p=typeof l.value=="object"?((P=i.resolve(l.value))==null?void 0:P.href)??null:l.value&&!r.external&&!a.value?n(ln(s.app.baseURL,l.value),i.resolve):l.value||null,m=r.target||null,b=r.noRel?null:J_(r.rel,e.externalRelAttribute,p?Y_:"")||null,E=()=>lu(p,{replace:r.replace});return r.custom?o.default?o.default({href:p,navigate:E,get route(){if(!p)return;const h=On(p);return{path:h.pathname,fullPath:h.pathname,get query(){return ms(h.search)},hash:h.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:b,target:m,isExternal:c.value,isActive:!1,isExactActive:!1}):null:Xr("a",{ref:f,href:p,rel:b,target:m},(C=o.default)==null?void 0:C.call(o))}}})}const Q_=X_(_g);function Yl(e,t){const n=t==="append"?Zr:So;return Ln(e)&&!e.startsWith("http")?e:n(e,!0)}function Z_(){const e=ye();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function e0(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const t0={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},n0=Fe({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ze(()=>t.href||t.to);return(r,o)=>{const i=Q_;return Y(),Ie(i,To(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:ue(()=>[He(r.$slots,"default"),n.value&&r.target==="_blank"?(Y(),le("div",t0)):lt("",!0)]),_:3},16,["class"])}}}),r0={},o0={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i0=gp('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),s0=[i0];function l0(e,t){return Y(),le("svg",o0,s0)}const a0=No(r0,[["render",l0]]),c0={},u0={class:"n-loading n-panel-grids-center"},f0={class:"flex flex-col animate-pulse items-center text-lg"},d0=G("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function p0(e,t){return Y(),le("div",u0,[G("div",f0,[d0,He(e.$slots,"default",{},()=>[Oe(" Loading... ")])])])}const h0=No(c0,[["render",p0]]),m0=async e=>{const t=await _(()=>import("./onig.mBJmD8D5.js"),__vite__mapDeps([]),import.meta.url).then(n=>n.default);return WebAssembly.instantiate(t,e).then(n=>n.instance.exports)},Bu=[{id:"abap",name:"ABAP",import:()=>_(()=>import("./abap.bJqzlTLD.js"),__vite__mapDeps([]),import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>_(()=>import("./actionscript-3.NUzLYz6e.js"),__vite__mapDeps([]),import.meta.url)},{id:"ada",name:"Ada",import:()=>_(()=>import("./ada.HSb8VHJ5.js"),__vite__mapDeps([]),import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>_(()=>import("./angular-html.ngCY688K.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(function(e){return e.e})},{id:"angular-ts",name:"Angular TypeScript",import:()=>_(()=>import("./angular-ts.JfRveWw0.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>_(()=>import("./apache.TpqIaH_y.js"),__vite__mapDeps([]),import.meta.url)},{id:"apex",name:"Apex",import:()=>_(()=>import("./apex.rLr5RF8N.js"),__vite__mapDeps([]),import.meta.url)},{id:"apl",name:"APL",import:()=>_(()=>import("./apl.ojEktQcO.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>_(()=>import("./applescript.uEUaUzem.js"),__vite__mapDeps([]),import.meta.url)},{id:"ara",name:"Ara",import:()=>_(()=>import("./ara.yxVemEif.js"),__vite__mapDeps([]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>_(()=>import("./asm.N3zWSyW8.js"),__vite__mapDeps([]),import.meta.url)},{id:"astro",name:"Astro",import:()=>_(()=>import("./astro.bVipJGkW.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>_(()=>import("./awk.tQAliBPt.js"),__vite__mapDeps([]),import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>_(()=>import("./ballerina.j08zL6tL.js"),__vite__mapDeps([]),import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>_(()=>import("./bat.4hprCtpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"beancount",name:"Beancount",import:()=>_(()=>import("./beancount.B4bgLeBI.js"),__vite__mapDeps([]),import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>_(()=>import("./berry.99Qqo7Pl.js"),__vite__mapDeps([]),import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>_(()=>import("./bibtex.PUS4KD1G.js"),__vite__mapDeps([]),import.meta.url)},{id:"bicep",name:"Bicep",import:()=>_(()=>import("./bicep.U1vZFTkg.js"),__vite__mapDeps([]),import.meta.url)},{id:"blade",name:"Blade",import:()=>_(()=>import("./blade.HvKjdph-.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>_(()=>import("./c.1HqcaTLZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>_(()=>import("./cadence.wPBjDAPG.js"),__vite__mapDeps([]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>_(()=>import("./clarity.9V3ikNUm.js"),__vite__mapDeps([]),import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>_(()=>import("./clojure.m464_LIc.js"),__vite__mapDeps([]),import.meta.url)},{id:"cmake",name:"CMake",import:()=>_(()=>import("./cmake.YiKLaZ9A.js"),__vite__mapDeps([]),import.meta.url)},{id:"cobol",name:"COBOL",import:()=>_(()=>import("./cobol.DIpfQcy2.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>_(()=>import("./codeql.i7fhVOvX.js"),__vite__mapDeps([]),import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>_(()=>import("./coffee.09Ode5TL.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>_(()=>import("./cpp.UIU91NPT.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>_(()=>import("./crystal.KqWgScGa.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>_(()=>import("./csharp.SlsguwGx.js"),__vite__mapDeps([]),import.meta.url)},{id:"css",name:"CSS",import:()=>_(()=>import("./css.tuEqSfZX.js"),__vite__mapDeps([]),import.meta.url)},{id:"csv",name:"csv syntax",import:()=>_(()=>import("./csv.REIP-dDb.js"),__vite__mapDeps([]),import.meta.url)},{id:"cue",name:"CUE",import:()=>_(()=>import("./cue.ts9p4IYJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>_(()=>import("./cypher.y2dXjvht.js"),__vite__mapDeps([]),import.meta.url)},{id:"d",name:"D",import:()=>_(()=>import("./d.91KOtcJM.js"),__vite__mapDeps([]),import.meta.url)},{id:"dart",name:"Dart",import:()=>_(()=>import("./dart.ATU8nP6d.js"),__vite__mapDeps([]),import.meta.url)},{id:"dax",name:"DAX",import:()=>_(()=>import("./dax.M4oDHFBw.js"),__vite__mapDeps([]),import.meta.url)},{id:"diff",name:"Diff",import:()=>_(()=>import("./diff.-l9-nN5b.js"),__vite__mapDeps([]),import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>_(()=>import("./docker.FKXxym4E.js"),__vite__mapDeps([]),import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>_(()=>import("./dream-maker.5lPMrnJr.js"),__vite__mapDeps([]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>_(()=>import("./elixir.Q1fiwhg2.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>_(()=>import("./elm.AR6G1sGv.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>_(()=>import("./erb.K_ppY6Ln.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>_(()=>import("./erlang._Br9gip-.js"),__vite__mapDeps([]),import.meta.url)},{id:"fish",name:"Fish",import:()=>_(()=>import("./fish.k6NZEVUm.js"),__vite__mapDeps([]),import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>_(()=>import("./fsharp.37PDbGQ_.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>_(()=>import("./gdresource.7GKJFf55.js"),__vite__mapDeps([33,34,35]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>_(()=>import("./gdscript.E1_SGClP.js"),__vite__mapDeps([]),import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>_(()=>import("./gdshader.6pjKCTQy.js"),__vite__mapDeps([]),import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>_(()=>import("./gherkin.hgsyILVZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>_(()=>import("./git-commit.RtAxFnK2.js"),__vite__mapDeps([36,37]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>_(()=>import("./git-rebase.-_3Z3F37.js"),__vite__mapDeps([38,25]),import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>_(()=>import("./glimmer-js.OxCy_kio.js"),__vite__mapDeps([39,2,40,1,3,41]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>_(()=>import("./glimmer-ts.ZLbawe8H.js"),__vite__mapDeps([42,11,40,1,2,3,41]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>_(()=>import("./glsl.yLv_V-GM.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>_(()=>import("./gnuplot.fIlAWhXw.js"),__vite__mapDeps([]),import.meta.url)},{id:"go",name:"Go",import:()=>_(()=>import("./go.2bJKq9hO.js"),__vite__mapDeps([]),import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>_(()=>import("./graphql.Mw2TwDQV.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>_(()=>import("./groovy.Z1Lrhk2B.js"),__vite__mapDeps([]),import.meta.url)},{id:"hack",name:"Hack",import:()=>_(()=>import("./hack.8bxbrxw3.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>_(()=>import("./haml.9njXWWYk.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,32]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>_(()=>import("./handlebars.e6aZXt-Z.js"),__vite__mapDeps([40,1,2,3,41]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>_(()=>import("./haskell.HW0BBkRd.js"),__vite__mapDeps([]),import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>_(()=>import("./hcl.M9siRbiv.js"),__vite__mapDeps([]),import.meta.url)},{id:"hjson",name:"Hjson",import:()=>_(()=>import("./hjson.fLk7JbZa.js"),__vite__mapDeps([]),import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>_(()=>import("./hlsl.Do_j-o-7.js"),__vite__mapDeps([]),import.meta.url)},{id:"html",name:"HTML",import:()=>_(()=>import("./html.q2IluNCo.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>_(()=>import("./http.suDZEQUg.js"),__vite__mapDeps([47,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>_(()=>import("./imba.Shm_xfQD.js"),__vite__mapDeps([48,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>_(()=>import("./ini.T6bxBy5-.js"),__vite__mapDeps([]),import.meta.url)},{id:"java",name:"Java",import:()=>_(()=>import("./java.tY-NU26U.js"),__vite__mapDeps([]),import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>_(()=>import("./javascript.4rbEI_qn.js"),__vite__mapDeps([]),import.meta.url)},{id:"jinja",name:"Jinja",import:()=>_(()=>import("./jinja.E4nwqofd.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>_(()=>import("./jison.gkHJeffy.js"),__vite__mapDeps([50,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>_(()=>import("./json.xL80yL3n.js"),__vite__mapDeps([]),import.meta.url)},{id:"json5",name:"JSON5",import:()=>_(()=>import("./json5.NRuQoh_0.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>_(()=>import("./jsonc.Bb1R3obU.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>_(()=>import("./jsonl.Yjg0VwMG.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>_(()=>import("./jsonnet.WK26vH-O.js"),__vite__mapDeps([]),import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>_(()=>import("./jssm.eioTUq4-.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsx",name:"JSX",import:()=>_(()=>import("./jsx.O5ZRGASz.js"),__vite__mapDeps([]),import.meta.url)},{id:"julia",name:"Julia",import:()=>_(()=>import("./julia.ku4F-e-8.js"),__vite__mapDeps([51,21,22,23,18,52,2,53]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>_(()=>import("./kotlin.1iwCeGA4.js"),__vite__mapDeps([]),import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>_(()=>import("./kusto.UpRCclYC.js"),__vite__mapDeps([]),import.meta.url)},{id:"latex",name:"LaTeX",import:()=>_(()=>import("./latex.6xV8tHRw.js"),__vite__mapDeps([54,55,53,3,56,1,2,7,8,30,23,51,21,22,18,52,29,25,11,41,57,58,59]),import.meta.url)},{id:"less",name:"Less",import:()=>_(()=>import("./less.Mq8TrjER.js"),__vite__mapDeps([]),import.meta.url)},{id:"liquid",name:"Liquid",import:()=>_(()=>import("./liquid.O0W9gNJ1.js"),__vite__mapDeps([60,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>_(()=>import("./lisp.iIZdsWzX.js"),__vite__mapDeps([]),import.meta.url)},{id:"logo",name:"Logo",import:()=>_(()=>import("./logo.WuHqTpFy.js"),__vite__mapDeps([]),import.meta.url)},{id:"lua",name:"Lua",import:()=>_(()=>import("./lua.OGbZEs3U.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>_(()=>import("./make.8zIAVqFD.js"),__vite__mapDeps([]),import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>_(()=>import("./markdown.Y8p9X7h3.js"),__vite__mapDeps([]),import.meta.url)},{id:"marko",name:"Marko",import:()=>_(()=>import("./marko.sELZHXF6.js"),__vite__mapDeps([61,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>_(()=>import("./matlab.LaB98_jd.js"),__vite__mapDeps([]),import.meta.url)},{id:"mdc",name:"MDC",import:()=>_(()=>import("./mdc.NowVT77H.js"),__vite__mapDeps([62,32,41]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>_(()=>import("./mdx.VhCSg2DJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>_(()=>import("./mermaid.WuNnVULj.js"),__vite__mapDeps([]),import.meta.url)},{id:"mojo",name:"Mojo",import:()=>_(()=>import("./mojo.zLNDSfD9.js"),__vite__mapDeps([]),import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>_(()=>import("./narrat.KYi2rZr0.js"),__vite__mapDeps([]),import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>_(()=>import("./nextflow.lYJjOZ_l.js"),__vite__mapDeps([]),import.meta.url)},{id:"nginx",name:"Nginx",import:()=>_(()=>import("./nginx.CrBM8z2W.js"),__vite__mapDeps([63,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>_(()=>import("./nim.OZ1TiK9r.js"),__vite__mapDeps([64,23,1,2,3,7,8,22,32]),import.meta.url)},{id:"nix",name:"Nix",import:()=>_(()=>import("./nix.z3u_V08Q.js"),__vite__mapDeps([]),import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>_(()=>import("./nushell.GDk9yul-.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>_(()=>import("./objective-c.Eci2Q5FN.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>_(()=>import("./objective-cpp.nGsV46Zk.js"),__vite__mapDeps([]),import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>_(()=>import("./ocaml.oQRvlYTD.js"),__vite__mapDeps([]),import.meta.url)},{id:"pascal",name:"Pascal",import:()=>_(()=>import("./pascal.aIRIFbih.js"),__vite__mapDeps([]),import.meta.url)},{id:"perl",name:"Perl",import:()=>_(()=>import("./perl.CaKiGeyl.js"),__vite__mapDeps([65,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>_(()=>import("./php.Q2jqa0n_.js"),__vite__mapDeps([66,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>_(()=>import("./plsql.vhhXsReo.js"),__vite__mapDeps([]),import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>_(()=>import("./postcss.57yKeRpx.js"),__vite__mapDeps([]),import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>_(()=>import("./powerquery.wBQvr9E-.js"),__vite__mapDeps([]),import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>_(()=>import("./powershell.6Y_bsqLY.js"),__vite__mapDeps([]),import.meta.url)},{id:"prisma",name:"Prisma",import:()=>_(()=>import("./prisma.fG9Ut-9i.js"),__vite__mapDeps([]),import.meta.url)},{id:"prolog",name:"Prolog",import:()=>_(()=>import("./prolog.vggnm0Hd.js"),__vite__mapDeps([]),import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>_(()=>import("./proto.yigfBmiL.js"),__vite__mapDeps([]),import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>_(()=>import("./pug.dmyiUMO7.js"),__vite__mapDeps([67,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>_(()=>import("./puppet.NqXa_cO1.js"),__vite__mapDeps([]),import.meta.url)},{id:"purescript",name:"PureScript",import:()=>_(()=>import("./purescript.NA5qsvV2.js"),__vite__mapDeps([]),import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>_(()=>import("./python.V9Nu427R.js"),__vite__mapDeps([]),import.meta.url)},{id:"r",name:"R",import:()=>_(()=>import("./r.xMXDrvl2.js"),__vite__mapDeps([]),import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>_(()=>import("./raku.NSWyGF40.js"),__vite__mapDeps([]),import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>_(()=>import("./razor.X4IfBpol.js"),__vite__mapDeps([68,1,2,3,69]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>_(()=>import("./reg.Dr-lXfN9.js"),__vite__mapDeps([]),import.meta.url)},{id:"rel",name:"Rel",import:()=>_(()=>import("./rel.vATIbX_E.js"),__vite__mapDeps([]),import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>_(()=>import("./riscv.L73dAZEB.js"),__vite__mapDeps([]),import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>_(()=>import("./rst.GKtlS3h3.js"),__vite__mapDeps([70,21,22,23,18,52,2,25,41,71,29,1,3,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>_(()=>import("./ruby.P9eGVNW4.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>_(()=>import("./rust.FLHuhIzG.js"),__vite__mapDeps([]),import.meta.url)},{id:"sas",name:"SAS",import:()=>_(()=>import("./sas.fTu4QUYF.js"),__vite__mapDeps([72,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>_(()=>import("./sass.URKSWxt9.js"),__vite__mapDeps([]),import.meta.url)},{id:"scala",name:"Scala",import:()=>_(()=>import("./scala.7DKpDMtV.js"),__vite__mapDeps([]),import.meta.url)},{id:"scheme",name:"Scheme",import:()=>_(()=>import("./scheme.S0VUhbaV.js"),__vite__mapDeps([]),import.meta.url)},{id:"scss",name:"SCSS",import:()=>_(()=>import("./scss.9u5wOjnF.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>_(()=>import("./shaderlab.MYTNW71C.js"),__vite__mapDeps([73,74]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>_(()=>import("./shellscript.82BvnTib.js"),__vite__mapDeps([]),import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>_(()=>import("./shellsession.e2TODbDv.js"),__vite__mapDeps([75,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>_(()=>import("./smalltalk.ymyryZ3T.js"),__vite__mapDeps([]),import.meta.url)},{id:"solidity",name:"Solidity",import:()=>_(()=>import("./solidity.rGqtk2dD.js"),__vite__mapDeps([]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>_(()=>import("./sparql.b6B4dWwT.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>_(()=>import("./splunk.OYnOZZCZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"sql",name:"SQL",import:()=>_(()=>import("./sql.KWFjTZGI.js"),__vite__mapDeps([]),import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>_(()=>import("./ssh-config.jdYjUr9x.js"),__vite__mapDeps([]),import.meta.url)},{id:"stata",name:"Stata",import:()=>_(()=>import("./stata.cF_ucIcM.js"),__vite__mapDeps([78,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>_(()=>import("./stylus.sPHLw37c.js"),__vite__mapDeps([]),import.meta.url)},{id:"svelte",name:"Svelte",import:()=>_(()=>import("./svelte.6zdtIlwM.js"),__vite__mapDeps([79,2,11,20,12,13,3,5,14,15,67,1,32]),import.meta.url)},{id:"swift",name:"Swift",import:()=>_(()=>import("./swift.YwiPyWKn.js"),__vite__mapDeps([]),import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>_(()=>import("./system-verilog.gwJe9XJI.js"),__vite__mapDeps([]),import.meta.url)},{id:"tasl",name:"Tasl",import:()=>_(()=>import("./tasl.IM3fg-4x.js"),__vite__mapDeps([]),import.meta.url)},{id:"tcl",name:"Tcl",import:()=>_(()=>import("./tcl.h_zrCUh3.js"),__vite__mapDeps([]),import.meta.url)},{id:"tex",name:"TeX",import:()=>_(()=>import("./tex.uNByjuDB.js"),__vite__mapDeps([55,53]),import.meta.url)},{id:"toml",name:"TOML",import:()=>_(()=>import("./toml.p_xIKQcU.js"),__vite__mapDeps([]),import.meta.url)},{id:"tsx",name:"TSX",import:()=>_(()=>import("./tsx.vbVEYvAd.js"),__vite__mapDeps([]),import.meta.url)},{id:"turtle",name:"Turtle",import:()=>_(()=>import("./turtle.qvOLXpiq.js"),__vite__mapDeps([]),import.meta.url)},{id:"twig",name:"Twig",import:()=>_(()=>import("./twig.h5iAhXmS.js"),__vite__mapDeps([80,3,2,5,66,1,7,8,18,9,52,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>_(()=>import("./typescript.IWNmnGsa.js"),__vite__mapDeps([]),import.meta.url)},{id:"v",name:"V",import:()=>_(()=>import("./v.BcVLQyAr.js"),__vite__mapDeps([]),import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>_(()=>import("./vb.nfm3ZogP.js"),__vite__mapDeps([]),import.meta.url)},{id:"verilog",name:"Verilog",import:()=>_(()=>import("./verilog.32GaFvLA.js"),__vite__mapDeps([]),import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>_(()=>import("./vhdl.BgfvI7C9.js"),__vite__mapDeps([]),import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>_(()=>import("./viml.Ob-szSvk.js"),__vite__mapDeps([]),import.meta.url)},{id:"vue",name:"Vue",import:()=>_(()=>import("./vue.CmUal76M.js"),__vite__mapDeps([81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>_(()=>import("./vue-html.B2XvVFLk.js"),__vite__mapDeps([85,81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>_(()=>import("./vyper.0ItMHLZu.js"),__vite__mapDeps([]),import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>_(()=>import("./wasm.5qeU6UJI.js"),__vite__mapDeps([]),import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>_(()=>import("./wenyan.gl1zQYA8.js"),__vite__mapDeps([]),import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>_(()=>import("./wgsl.KpVp-DWl.js"),__vite__mapDeps([]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>_(()=>import("./wolfram.K_QzNdW-.js"),__vite__mapDeps([]),import.meta.url)},{id:"xml",name:"XML",import:()=>_(()=>import("./xml.GygmfNh9.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>_(()=>import("./xsl.TptR0G-3.js"),__vite__mapDeps([86,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>_(()=>import("./yaml.zytfnWoA.js"),__vite__mapDeps([]),import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>_(()=>import("./zenscript.htRIWiQY.js"),__vite__mapDeps([]),import.meta.url)},{id:"zig",name:"zig",import:()=>_(()=>import("./zig.VzlkOal1.js"),__vite__mapDeps([]),import.meta.url)}],g0=Object.fromEntries(Bu.map(e=>[e.id,e.import])),_0=Object.fromEntries(Bu.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),y0={...g0,..._0},v0=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>_(()=>import("./andromeeda.TE0Toi4a.js"),__vite__mapDeps([]),import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>_(()=>import("./aurora-x.23vffHpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>_(()=>import("./ayu-dark.09-XTo9D.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>_(()=>import("./catppuccin-frappe.3zzElYQH.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>_(()=>import("./catppuccin-latte.7_seQpm6.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>_(()=>import("./catppuccin-macchiato.xyLZ1Mzm.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>_(()=>import("./catppuccin-mocha.sKQhYBeR.js"),__vite__mapDeps([]),import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>_(()=>import("./dark-plus.kgh98KCl.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>_(()=>import("./dracula.mNVTF5-9.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>_(()=>import("./dracula-soft.E92bUq8i.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>_(()=>import("./github-dark.WrpzPehD.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>_(()=>import("./github-dark-dimmed.yDYFqRVv.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>_(()=>import("./github-light.QjB713Ax.js"),__vite__mapDeps([]),import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>_(()=>import("./light-plus.TzXGjDsL.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>_(()=>import("./material-theme.49YjOoAR.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>_(()=>import("./material-theme-darker.e1lAwchJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>_(()=>import("./material-theme-lighter.y77yPuAI.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>_(()=>import("./material-theme-ocean.oIMAIpse.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>_(()=>import("./material-theme-palenight.Z44VU5rQ.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>_(()=>import("./min-dark._Ja8ZF5C.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>_(()=>import("./min-light.N1m_6E3S.js"),__vite__mapDeps([]),import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>_(()=>import("./monokai.WLw4Glvg.js"),__vite__mapDeps([]),import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>_(()=>import("./night-owl.GWZK5Ce7.js"),__vite__mapDeps([]),import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>_(()=>import("./nord.1NrVtx79.js"),__vite__mapDeps([]),import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>_(()=>import("./one-dark-pro.qlkgvdEn.js"),__vite__mapDeps([]),import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>_(()=>import("./poimandres.oZrO-I17.js"),__vite__mapDeps([]),import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>_(()=>import("./red.sV5NnIRC.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>_(()=>import("./rose-pine._tQyNI4L.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>_(()=>import("./rose-pine-dawn.qPi4euik.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>_(()=>import("./rose-pine-moon.Im6VgKOx.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>_(()=>import("./slack-dark.1ZggNzwg.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>_(()=>import("./slack-ochin.IcMt0x71.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>_(()=>import("./solarized-dark.3DcwRX9o.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>_(()=>import("./solarized-light.iUVMuJ2F.js"),__vite__mapDeps([]),import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>_(()=>import("./synthwave-84.QD7ZGwpp.js"),__vite__mapDeps([]),import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>_(()=>import("./tokyo-night.3j08uV2M.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>_(()=>import("./vitesse-black.uLlG6AUB.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>_(()=>import("./vitesse-dark.5VceXvs6.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>_(()=>import("./vitesse-light.HOMMxGxw.js"),__vite__mapDeps([]),import.meta.url)}],b0=Object.fromEntries(v0.map(e=>[e.id,e.import]));var Xe;(function(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"})(Xe||(Xe={}));var An;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),m=e.getForeground(u),b=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:m,background:b})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,m,b,E){let P=e.getLanguageId(u),C=e.getTokenType(u),h=e.containsBalancedBrackets(u)?1:0,w=e.getFontStyle(u),T=e.getForeground(u),R=e.getBackground(u);return f!==0&&(P=f),d!==8&&(C=d),p!==null&&(h=p?1:0),m!==-1&&(w=m),b!==0&&(T=b),E!==0&&(R=E),(P<<0|C<<8|h<<10|w<<11|T<<15|R<<24)>>>0}e.set=c})(An||(An={}));function co(e,t){const n=[],r=w0(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=s();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const a=i();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(Xl(o)){const a=[];do a.push(o),o=r.next();while(Xl(o));return c=>t(a,c)}return null}function s(){const a=[];let c=i();for(;c;)a.push(c),c=i();return u=>a.every(f=>f(u))}function l(){const a=[];let c=s();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>a.some(f=>f(u))}}function Xl(e){return!!e&&!!e.match(/[\w\.:]+/)}function w0(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Vu(e){typeof e.dispose=="function"&&e.dispose()}function E0(e){return Ps(e)}function Ps(e){return Array.isArray(e)?C0(e):typeof e=="object"?T0(e):e}function C0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ps(e[n]);return t}function T0(e){let t={};for(let n in e)t[n]=Ps(e[n]);return t}function ju(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Fu(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Fu(e.substring(0,e.length-1)):e.substr(~t+1)}let ni=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Lr{static hasCaptures(t){return t===null?!1:(ni.lastIndex=0,ni.test(t))}static replaceCaptures(t,n,r){return t.replace(ni,(o,i,s,l)=>{let a=r[parseInt(i||s,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Uu(e,t){return e<t?-1:e>t?1:0}function Gu(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Uu(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Ql(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Wu(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class zu{constructor(t){v(this,"fn");v(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class ir{constructor(t){v(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class P0{constructor(t,n){v(this,"scopeName");v(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class R0{constructor(){v(this,"_references",[]);v(this,"_seenReferenceKeys",new Set);v(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class S0{constructor(t,n){v(this,"repo");v(this,"initialScopeName");v(this,"seenFullScopeRequests",new Set);v(this,"seenPartialScopeRequests",new Set);v(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ir(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new R0;for(const r of t)A0(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof ir){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function A0(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof ir?jr({baseGrammar:i,selfGrammar:o},r):Mi(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const l of s)r.add(new ir(l))}function Mi(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];uo([r],t,n)}}function jr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&uo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&uo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function uo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?ju({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&uo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=qu(i);switch(s.kind){case 0:jr({...t,selfGrammar:t.baseGrammar},n);break;case 1:jr(t,n);break;case 2:Mi(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};s.kind===4?Mi(s.ruleName,a,n):jr(a,n)}else s.kind===4?n.add(new P0(s.scopeName,s.ruleName)):n.add(new ir(s.scopeName));break}}}class x0{constructor(){v(this,"kind",0)}}class L0{constructor(){v(this,"kind",1)}}class O0{constructor(t){v(this,"ruleName");v(this,"kind",2);this.ruleName=t}}class k0{constructor(t){v(this,"scopeName");v(this,"kind",3);this.scopeName=t}}class I0{constructor(t,n){v(this,"scopeName");v(this,"ruleName");v(this,"kind",4);this.scopeName=t,this.ruleName=n}}function qu(e){if(e==="$base")return new x0;if(e==="$self")return new L0;const t=e.indexOf("#");if(t===-1)return new k0(e);if(t===0)return new O0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new I0(n,r)}}const N0=/\\(\d+)/,Zl=/\\(\d+)/g,$0=-1,Ku=-2;class hr{constructor(t,n,r,o){v(this,"$location");v(this,"id");v(this,"_nameIsCapturing");v(this,"_name");v(this,"_contentNameIsCapturing");v(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Lr.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Lr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Fu(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Lr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Lr.replaceCaptures(this._contentName,t,n)}}class D0 extends hr{constructor(n,r,o,i,s){super(n,r,o,i);v(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,i){throw new Error("Not supported!")}}class M0 extends hr{constructor(n,r,o,i,s){super(n,r,o,null);v(this,"_match");v(this,"captures");v(this,"_cachedCompiledPatterns");this._match=new nn(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new sr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class ea extends hr{constructor(n,r,o,i,s){super(n,r,o,i);v(this,"hasMissingPatterns");v(this,"patterns");v(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new sr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Hi extends hr{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);v(this,"_begin");v(this,"beginCaptures");v(this,"_end");v(this,"endHasBackReferences");v(this,"endCaptures");v(this,"applyEndPatternLast");v(this,"hasMissingPatterns");v(this,"patterns");v(this,"_cachedCompiledPatterns");this._begin=new nn(s,this.id),this.beginCaptures=l,this._end=new nn(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,i)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new sr;for(const o of this.patterns)n.getRule(o).collectPatterns(n,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,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class fo extends hr{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);v(this,"_begin");v(this,"beginCaptures");v(this,"whileCaptures");v(this,"_while");v(this,"whileHasBackReferences");v(this,"hasMissingPatterns");v(this,"patterns");v(this,"_cachedCompiledPatterns");v(this,"_cachedCompiledWhilePatterns");this._begin=new nn(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new nn(a,Ku),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new sr;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,i){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,i)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new sr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class Re{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new D0(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new M0(t.$vscodeTextmateLocation,t.id,t.name,t.match,Re._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=ju({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new ea(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Re._compilePatterns(i,n,r))}return t.while?new fo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Re._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Re._compileCaptures(t.whileCaptures||t.captures,n,r),Re._compilePatterns(t.patterns,n,r)):new Hi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Re._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Re._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Re._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>i&&(i=l)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;t[s].patterns&&(a=Re.getCompiledRuleId(t[s],n,r)),o[l]=Re.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const l=t[i];let a=-1;if(l.include){const c=qu(l.include);switch(c.kind){case 0:case 1:a=Re.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=Re.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let m=p.repository[d];m&&(a=Re.getCompiledRuleId(m,n,p.repository))}else a=Re.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=Re.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof ea||c instanceof Hi||c instanceof fo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class nn{constructor(t,n){v(this,"source");v(this,"ruleId");v(this,"hasAnchor");v(this,"hasBackReferences");v(this,"_anchorCache");if(t){const r=t.length;let o=0,i=[],s=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(i.push(t.substring(o,l)),i.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=N0.test(this.source)}clone(){return new nn(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return Zl.lastIndex=0,this.source.replace(Zl,(o,i)=>Wu(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,l,a;for(i=0,s=this.source.length;i<s;i++)l=this.source.charAt(i),t[i]=l,n[i]=l,r[i]=l,o[i]=l,l==="\\"&&i+1<s&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="",n[i+1]="",r[i+1]="A",o[i+1]="A"):a==="G"?(t[i+1]="",n[i+1]="G",r[i+1]="",o[i+1]="G"):(t[i+1]=a,n[i+1]=a,r[i+1]=a,o[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class sr{constructor(){v(this,"_items");v(this,"_hasAnchors");v(this,"_cached");v(this,"_anchorCache");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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new ta(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(i=>i.resolveAnchors(n,r));return new ta(t,o,this._items.map(i=>i.ruleId))}}class ta{constructor(t,n,r){v(this,"regExps");v(this,"rules");v(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
17
|
+
**/const Rp="http://www.w3.org/2000/svg",Sp="http://www.w3.org/1998/Math/MathML",Ot=typeof document<"u"?document:null,ll=Ot&&Ot.createElement("template"),Ap={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ot.createElementNS(Rp,e):t==="mathml"?Ot.createElementNS(Sp,e):Ot.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ot.createTextNode(e),createComment:e=>Ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ll.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=ll.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},xp=Symbol("_vtc");function Lp(e,t,n){const r=e[xp];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Op=Symbol("_vod"),kp=Symbol("");function Ip(e,t,n){const r=e.style,o=r.display,i=ge(n);if(n&&!i){if(t&&!ge(t))for(const s in t)n[s]==null&&wi(r,s,"");for(const s in n)wi(r,s,n[s])}else if(i){if(t!==n){const s=r[kp];s&&(n+=";"+s),r.cssText=n}}else t&&e.removeAttribute("style");Op in e&&(r.display=o)}const al=/\s*!important$/;function wi(e,t,n){if(K(n))n.forEach(r=>wi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Np(e,t);al.test(n)?e.setProperty(rn(r),n.replace(al,""),"important"):e[r]=n}}const cl=["Webkit","Moz","ms"],zo={};function Np(e,t){const n=zo[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return zo[t]=r;r=_o(r);for(let o=0;o<cl.length;o++){const i=cl[o]+r;if(i in e)return zo[t]=i}return t}const ul="http://www.w3.org/1999/xlink";function $p(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ul,t.slice(6,t.length)):e.setAttributeNS(ul,t,n);else{const i=jf(t);n==null||i&&!Ta(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Dp(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const c=l==="OPTION"?e.getAttribute("value"):e.value,u=n??"";c!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Ta(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Oc(e,t,n,r){e.addEventListener(t,n,r)}function Mp(e,t,n,r){e.removeEventListener(t,n,r)}const fl=Symbol("_vei");function Hp(e,t,n,r,o=null){const i=e[fl]||(e[fl]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=Bp(t);if(r){const c=i[t]=Fp(r,o);Oc(e,l,c,a)}else s&&(Mp(e,l,s,a),i[t]=void 0)}}const dl=/(?:Once|Passive|Capture)$/;function Bp(e){let t;if(dl.test(e)){t={};let r;for(;r=e.match(dl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rn(e.slice(2)),t]}let qo=0;const Vp=Promise.resolve(),jp=()=>qo||(Vp.then(()=>qo=0),qo=Date.now());function Fp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Qe(Up(r,n.value),t,5,[r])};return n.value=e,n.attached=jp(),n}function Up(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const pl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Gp=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?Lp(e,r,c):t==="style"?Ip(e,n,r):cr(t)?zi(t)||Hp(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wp(e,t,r,c))?Dp(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),$p(e,t,r,c))};function Wp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pl(t)&&X(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 pl(t)&&ge(n)?!1:t in e}const hl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Nr(t,n):t},Ko=Symbol("_assign"),zp={created(e,{value:t},n){e.checked=Ur(t,n.props.value),e[Ko]=hl(n),Oc(e,"change",()=>{e[Ko](qp(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ko]=hl(r),t!==n&&(e.checked=Ur(t,r.props.value))}};function qp(e){return"_value"in e?e._value:e.value}const Kp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Jp=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=rn(o.key);if(t.some(s=>s===i||Kp[s]===i))return e(o)})},kc=xe({patchProp:Gp},Ap);let jn,ml=!1;function Yp(){return jn||(jn=fp(kc))}function Xp(){return jn=ml?jn:dp(kc),ml=!0,jn}const Ic=(...e)=>{const t=Yp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=$c(r);if(!o)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,Nc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qp=(...e)=>{const t=Xp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=$c(r);if(o)return n(o,!0,Nc(o))},t};function Nc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $c(e){return ge(e)?document.querySelector(e):e}const Zp=/#/g,eh=/&/g,th=/=/g,hs=/\+/g,nh=/%5e/gi,rh=/%60/gi,oh=/%7c/gi,ih=/%20/gi;function sh(e){return encodeURI(""+e).replace(oh,"|")}function Ei(e){return sh(typeof e=="string"?e:JSON.stringify(e)).replace(hs,"%2B").replace(ih,"+").replace(Zp,"%23").replace(eh,"%26").replace(rh,"`").replace(nh,"^")}function Jo(e){return Ei(e).replace(th,"%3D")}function Qr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function lh(e){return Qr(e.replace(hs," "))}function ah(e){return Qr(e.replace(hs," "))}function ms(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=lh(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=ah(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function ch(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Jo(e)}=${Ei(n)}`).join("&"):`${Jo(e)}=${Ei(t)}`:Jo(e)}function Dc(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ch(t,e[t])).filter(Boolean).join("&")}const uh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,fh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,dh=/^([/\\]\s*){2,}[^/\\]/;function Ln(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?uh.test(e):fh.test(e)||(t.acceptRelative?dh.test(e):!1)}const ph=/^[\s\0]*(blob|data|javascript|vbscript):$/i;function hh(e){return!!e&&ph.test(e)}const mh=/\/$|\/\?|\/#/;function Ci(e="",t){return t?mh.test(e):e.endsWith("/")}function So(e="",t){if(!t)return(Ci(e)?e.slice(0,-1):e)||"/";if(!Ci(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return(i.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function Zr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ci(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function gh(e=""){return e.startsWith("/")}function gl(e=""){return gh(e)?e:"/"+e}function _h(e,t){if(Hc(t)||Ln(e))return e;const n=So(t);return e.startsWith(n)?e:ln(n,e)}function yh(e,t){if(Hc(t))return e;const n=So(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Mc(e,t){const n=On(e),r={...ms(n.search),...t};return n.search=Dc(r),Bc(n)}function Hc(e){return!e||e==="/"}function vh(e){return e&&e!=="/"}const bh=/^\.?\//;function ln(e,...t){let n=e||"";for(const r of t.filter(o=>vh(o)))if(n){const o=r.replace(bh,"");n=Zr(n)+o}else n=r;return n}function wh(e,t,n={}){return n.trailingSlash||(e=Zr(e),t=Zr(t)),n.leadingSlash||(e=gl(e),t=gl(t)),n.encoding||(e=Qr(e),t=Qr(t)),e===t}function On(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!Ln(e,{acceptRelative:!0}))return t?On(t+e):_l(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=_l(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:a,search:c,hash:u}}function _l(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Bc(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol?e.protocol+"//":"")+o+i+t+n+r}const Eh=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},eo=Eh().app,Ch=()=>eo.baseURL,Th=()=>eo.buildAssetsDir,gs=(...e)=>ln(Vc(),Th(),...e),Vc=(...e)=>{const t=eo.cdnURL||eo.baseURL;return e.length?ln(t,...e):t};globalThis.__buildAssetsURL=gs,globalThis.__publicAssetsURL=Vc;const Ph=/"(?:_|\\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*:/,Rh=/"(?: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*:/,Sh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ah(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){xh(e);return}return t}function xh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function to(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 r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Sh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ph.test(e)||Rh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ah)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class Lh extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Oh(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,l=new Lh(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,m]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[m]}});return l}const kh=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function yl(e="GET"){return kh.has(e.toUpperCase())}function Ih(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 Nh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),$h=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Dh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return $h.test(t)?"json":Nh.has(t)||t.startsWith("text/")?"text":"blob"}function Mh(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,i]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,i)}return r}const Hh=new Set([408,409,425,429,500,502,503,504]),Bh=new Set([101,204,205,304]);function jc(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=yl(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Hh.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(l.request,{...l.options,retry:u-1,timeout:l.options.timeout})}}const c=Oh(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var d;const u={request:a,options:Mh(c,e.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=_h(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Mc(u.request,{...u.options.params,...u.options.query}))),u.options.body&&yl(u.options.method)&&(Ih(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half"))),!u.options.signal&&u.options.timeout){const p=new r;setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!Bh.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||Dh(u.response.headers.get("content-type")||"");switch(p){case"json":{const m=await u.response.text(),b=u.options.parseResponse||to;u.response._data=b(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},s=async function(a,c){return(await i(a,c))._data};return s.raw=i,s.native=(...l)=>t(...l),s.create=(l={})=>jc({...e,defaults:{...e.defaults,...l}}),s}const _s=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")}(),Vh=_s.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),jh=_s.Headers,Fh=_s.AbortController,Uh=jc({fetch:Vh,Headers:jh,AbortController:Fh}),Gh=Uh;globalThis.$fetch||(globalThis.$fetch=Gh.create({baseURL:Ch()}));function Ti(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Ti(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Wh={run:e=>e()},zh=()=>Wh,Fc=typeof console.createTask<"u"?console.createTask:zh;function qh(e,t){const n=t.shift(),r=Fc(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Kh(e,t){const n=t.shift(),r=Fc(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Yo(e,t){for(const n of[...e])n(t)}class Jh{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,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}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 r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)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=Ti(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Ti(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(qh,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Kh,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Yo(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Yo(this._after,o)}):(this._after&&o&&Yo(this._after,o),i)}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 Uc(){return new Jh}function Yh(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,l)=>{l||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,l)=>{r(s),t=s;try{return o?o.run(s,l):l()}finally{n||(t=void 0)}},async callAsync(s,l){t=s;const a=()=>{t=s},c=()=>t===s?a:void 0;Pi.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{Pi.delete(c)}}}}function Xh(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Yh({...e,...r})),t[n],t[n]}}}const no=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},vl="__unctx__",Qh=no[vl]||(no[vl]=Xh()),Zh=(e,t={})=>Qh.get(e,t),bl="__unctx_async_handlers__",Pi=no[bl]||(no[bl]=new Set);function Gc(e){const t=[];for(const o of Pi){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const Wc=Zh("nuxt-app",{asyncContext:!1}),em="__nuxt_plugin";function tm(e){let t=0;const n={_scope:Uf(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.9.3"},get vue(){return n.vueApp.version}},payload:ft({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>om(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=Uc(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Rr(n,s,i),Rr(n.vueApp.config.globalProperties,s,i)},Rr(n.vueApp,"$nuxt",n),Rr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||ye;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=ft(n.payload.config);return n.provide("config",r),n}async function nm(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 r in n)e.provide(r,n[r])}}async function rm(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){if(a.dependsOn&&!a.dependsOn.every(c=>n.includes(c)))r.push([new Set(a.dependsOn),a]);else{const c=nm(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([u,f])=>{u.has(a._name)&&(u.delete(a._name),u.size===0&&(s++,await l(f)))})))});a.parallel?o.push(c.catch(u=>i.push(u))):await c}}for(const a of t)await l(a);if(await Promise.all(o),s)for(let a=0;a<s;a++)await Promise.all(o);if(i.length)throw i[0]}function pt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[em]:!0,_name:t})}function om(e,t,n){const r=()=>n?t(...n):t();return Wc.set(e),e.vueApp.runWithContext(r)}function ye(){var t;let e;if(mc()&&(e=(t=Po())==null?void 0:t.appContext.app.$nuxt),e=e||Wc.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}function Zn(){return ye().$config}function Rr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const im="modulepreload",sm=function(e,t){return e[0]==="."?new URL(e,t).href:e},wl={},lm=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link");o=Promise.all(n.map(s=>{if(s=sm(s,r),s in wl)return;wl[s]=!0;const l=s.endsWith(".css"),a=l?'[rel="stylesheet"]':"";if(!!r)for(let f=i.length-1;f>=0;f--){const d=i[f];if(d.href===s&&(!l||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":im,l||(u.as="script",u.crossOrigin=""),u.href=s,document.head.appendChild(u),l)return new Promise((f,d)=>{u.addEventListener("load",f),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${s}`)))})}))}return o.then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},_=(...e)=>lm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),am=-1,cm=-2,um=-3,fm=-4,dm=-5,pm=-6;function hm(e,t){return mm(JSON.parse(e),t)}function mm(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,r=Array(n.length);function o(i,s=!1){if(i===am)return;if(i===um)return NaN;if(i===fm)return 1/0;if(i===dm)return-1/0;if(i===pm)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==cm&&(a[c]=o(u))}}else{const a={};r[i]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[i]}return o(0)}function gm(e){return Array.isArray(e)?e:[e]}const _m=["title","titleTemplate","script","style","noscript"],Mr=["base","meta","link","style","script","noscript"],ym=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],vm=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],zc=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],bm=typeof window<"u";function ys(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 El(e){return e._h||ys(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function qc(e,t){const{props:n,tag:r}=e;if(vm.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const i of o)if(typeof n[i]<"u"){const s=String(n[i]);return t&&!t(s)?!1:`${r}:${i}:${s}`}return!1}function Cl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function wm(e,t,n){const r={tag:e,props:await Kc(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return zc.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||_m.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=i),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Em(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 Kc(e,t){for(const n of Object.keys(e)){if(n==="class"){e[n]=Em(e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!zc.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Cm=10;async function Tm(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&ym.includes(n)).forEach(([n,r])=>{const o=gm(r);t.push(...o.map(i=>wm(n,i,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Cm)+r,n))}const Tl={base:-10,title:10},Pl={critical:-80,high:-10,low:20};function ro(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 Tl&&(t=Tl[e.tag]),typeof n=="string"&&n in Pl?t+Pl[n]:t)}const Pm=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Jc=["onload","onerror","onabort","onprogress","onloadstart"],Rt="%separator";function Hr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(s){let l;return["s","pageTitle"].includes(s)?l=t.pageTitle:s.includes(".")?l=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[s],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const l=r(s.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(Rt)&&(e.endsWith(Rt)&&(e=e.slice(0,-Rt.length).trim()),e.startsWith(Rt)&&(e=e.slice(Rt.length).trim()),e=e.replace(new RegExp(`\\${Rt}\\s*\\${Rt}`,"g"),Rt),e=Hr(e,{separator:n},n)),e}async function Rm(e){const t={tag:e.tagName.toLowerCase(),props:await Kc(e.getAttributeNames().reduce((n,r)=>({...n,[r]:e.getAttribute(r)}),{})),innerHTML:e.innerHTML};return t._d=qc(t),t}async function Yc(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n)return;const r={shouldRender:e.dirty,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:Mr.includes(f.tag)?El(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n==null?void 0:n[f])==null?void 0:u.children;for(const p of[...d].filter(m=>Mr.includes(m.tagName.toLowerCase())))i.elMap[p.getAttribute("data-hid")||El(await Rm(p))]=p}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,p){const m=`${f}:${d}`;i.sideEffects[m]=p,delete i.pendingSideEffects[m]}function l({id:f,$el:d,tag:p}){const m=p.tag.endsWith("Attrs");i.elMap[f]=d,m||(["textContent","innerHTML"].forEach(b=>{p[b]&&p[b]!==d[b]&&(d[b]=p[b])}),s(f,"el",()=>{i.elMap[f].remove(),delete i.elMap[f]})),Object.entries(p.props).forEach(([b,E])=>{const P=`attr:${b}`;if(b==="class")for(const C of(E||"").split(" ").filter(Boolean))m&&s(f,`${P}:${C}`,()=>d.classList.remove(C)),!d.classList.contains(C)&&d.classList.add(C);else d.getAttribute(b)!==E&&d.setAttribute(b,E===!0?"":String(E)),m&&s(f,P,()=>d.removeAttribute(b))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:m}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[m],f.$el?l(f):Mr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(i.pendingSideEffects).forEach(f=>f()),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Sm(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Yc(e,t),delete e._domUpdatePromise,r()}))}function Am(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.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(i){Sm(i,e)}}}}}const xm=["templateParams","htmlAttrs","bodyAttrs"],Lm={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=qc(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,i=t[o];if(i){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&xm.includes(r.tag)&&(l="merge"),l==="merge"){const a=i.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);return}else if(ro(r)>ro(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Mr.includes(r.tag)&&s===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Om={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"}})}}},km=["script","link","bodyAttrs"];function Im(e){const t={},n={};return Object.entries(e.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"?(Jc.includes(r)&&(t[r]=`this.dataset.${r} = true`),n[r]=o):t[r]=o}),{props:t,eventHandlers:n}}const Nm=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags)if(km.includes(n.tag)){const{props:r,eventHandlers:o}=Im(n);n.props=r,Object.keys(o).length&&((n.props.src||n.props.href)&&(n.key=n.key||ys(n.props.src||n.props.href)),n._eventHandlers=o)}},"dom:renderTag":function(t,n,r){if(!t.tag._eventHandlers)return;const o=t.tag.tag==="bodyAttrs"?n.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([i,s])=>{const l=`${t.tag._d||t.tag._p}:${i}`,a=i.slice(2).toLowerCase(),c=`data-h-${a}`;if(r(t.id,l,()=>{}),t.$el.hasAttribute(c))return;t.$el.setAttribute(c,"");let u;const f=d=>{s(d),u==null||u.disconnect()};i in t.$el.dataset?f(new Event(i.replace("on",""))):Jc.includes(i)&&typeof MutationObserver<"u"?(u=new MutationObserver(d=>{d.some(m=>m.attributeName===`data-${i}`)&&(f(new Event(i.replace("on",""))),u==null||u.disconnect())}),u.observe(t.$el,{attributes:!0})):o.addEventListener(a,f),r(t.id,l,()=>{u==null||u.disconnect(),o.removeEventListener(a,f),t.$el.removeAttribute(c)})})}}}),$m=["link","style","script","noscript"],Dm={hooks:{"tag:normalise":({tag:e})=>{e.key&&$m.includes(e.tag)&&(e.props["data-hid"]=e._h=ys(e.key))}}},Mm={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Pm)for(const o of e.tags.filter(i=>typeof i.tagPriority=="string"&&i.tagPriority.startsWith(n))){const i=t(o.tagPriority.replace(n,""));typeof i<"u"&&(o._p=i+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>ro(n)-ro(r))}}},Hm={meta:"content",link:"href",htmlAttrs:"lang"},Bm=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),i=o!==-1?n[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=Hr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Hm[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=Hr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=Hr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),Vm={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=Cl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Cl(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)}}},jm={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 Xc;function Fm(e={}){const t=Um(e);return t.use(Am()),Xc=t}function Rl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Um(e={}){const t=Uc();t.addHooks(e.hooks||{}),e.document=e.document||(bm?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,i=[];const s=[],l={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),Rl(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Rl(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){i=i.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...i]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Tm(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[Lm,Om,Nm,Dm,Mm,Bm,Vm,jm,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function Gm(){return Xc}const Wm=Lc.startsWith("3");function zm(e){return typeof e=="function"?e():fe(e)}function oo(e,t=""){if(e instanceof Promise)return e;const n=zm(e);return!e||!n?n:Array.isArray(n)?n.map(r=>oo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,fe(o)]:[r,oo(o,r)])):n}const qm={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=oo(t.input)}}},Qc="usehead";function Km(e){return{install(n){Wm&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Qc,e))}}.install}function Jm(e={}){e.domDelayFn=e.domDelayFn||(n=>fr(()=>setTimeout(()=>n(),0)));const t=Fm(e);return t.use(qm),t.install=Km(t),t}const Ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Si="__unhead_injection_handler__";function Ym(e){Ri[Si]=e}function Xm(){if(Si in Ri)return Ri[Si]();const e=bn(Qc);return e||Gm()}function Qm(e,t={}){const n=t.head||Xm();if(n)return n.ssr?n.push(e,t):Zm(n,e,t)}function Zm(e,t,n={}){const r=_e(!1),o=_e({});rc(()=>{o.value=r.value?{}:oo(t)});const i=e.push(o.value,n);return $t(o,l=>{i.patch(l)}),Po()&&(cs(()=>{i.dispose()}),sc(()=>{r.value=!0}),ic(()=>{r.value=!1})),i}function eg(e){return{ctx:{table:e},matchAll:t=>eu(t,e)}}function Zc(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Zc(o)])):new Map(Object.entries(e[n]));return t}function tg(e){return eg(Zc(e))}function eu(e,t){const n=[];for(const[o,i]of Sl(t.wildcard))e.startsWith(o)&&n.push(i);for(const[o,i]of Sl(t.dynamic))if(e.startsWith(o+"/")){const s="/"+e.slice(o.length).split("/").splice(2).join("/");n.push(...eu(s,i))}const r=t.static.get(e);return r&&n.push(r),n.filter(Boolean)}function Sl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Xo(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Ai(e,t,n=".",r){if(!Xo(t))return Ai(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Xo(s)&&Xo(o[i])?o[i]=Ai(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function tu(e){return(...t)=>t.reduce((n,r)=>Ai(n,r,"",e),{})}const ng=tu(),rg=tu((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function og(e,t){try{return t in e}catch{return!1}}var ig=Object.defineProperty,sg=(e,t,n)=>t in e?ig(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gt=(e,t,n)=>(sg(e,typeof t!="symbol"?t+"":t,n),n);class xi extends Error{constructor(t,n={}){super(t,n),Gt(this,"statusCode",500),Gt(this,"fatal",!1),Gt(this,"unhandled",!1),Gt(this,"statusMessage"),Gt(this,"data"),Gt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Li(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=nu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Gt(xi,"__h3_error__",!0);function lg(e){if(typeof e=="string")return new xi(e);if(ag(e))return e;const t=new xi(e.message??e.statusMessage??"",{cause:e.cause||e});if(og(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=Li(e.statusCode,t.statusCode):e.status&&(t.statusCode=Li(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;nu(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 ag(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const cg=/[^\u0009\u0020-\u007E]/g;function nu(e=""){return e.replace(cg,"")}function Li(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const ru=Symbol("route"),ou="__nuxt_error",vs=()=>qa(ye().payload,"error"),ug=e=>{const t=iu(e);try{const n=ye(),r=vs();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},fg=async(e={})=>{const t=ye(),n=vs();t.callHook("app:error:cleared",e),e.redirect&&await an().replace(e.redirect),n.value=null},dg=e=>!!e&&typeof e=="object"&&ou in e,iu=e=>{const t=lg(e);return Object.defineProperty(t,ou,{value:!0,configurable:!1,writable:!1}),t},an=()=>{var e;return(e=ye())==null?void 0:e.$router},su=()=>mc()?bn(ru,ye()._route):ye()._route;const pg=()=>{try{if(ye()._processingMiddleware)return!0}catch{return!0}return!1},lu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Mc(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:l="_blank",windowFeatures:a={}}=t.open,c=Object.entries(a).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");open(n,l,c)}return Promise.resolve()}const r=(t==null?void 0:t.external)||Ln(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=On(n).protocol;if(l&&hh(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=pg();if(!r&&o)return e;const i=an(),s=ye();return r?(s._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},hg={nuxt:{buildId:"b5cfcba9-5e77-4ecb-bdf2-6e442702e47d"}},mg=rg(hg);function gg(){const e=ye();return e._appConfig||(e._appConfig=ft(mg)),e._appConfig}const _g={componentName:"NuxtLink"},yg="#__nuxt";let Br,au;function vg(){var t;const e=(t=gg().nuxt)==null?void 0:t.buildId;return Br=$fetch(gs(`builds/meta/${e}.json`)),Br.then(n=>{au=tg(n.matcher)}),Br}function Ao(){return Br||vg()}async function cu(e){return await Ao(),ng({},...au.matchAll(e).reverse())}function Al(e,t={}){const n=bg(e,t),r=ye(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=wg(e).then(i=>i?uu(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const xl="json";function bg(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"||Ln(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return ln(Zn().app.baseURL,n.pathname,r?`_payload.${r}.${xl}`:`_payload.${xl}`)}async function uu(e){const t=fetch(e).then(n=>n.text().then(fu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function wg(e=su().path){if(e=So(e),(await Ao()).prerendered.includes(e))return!0;const n=await cu(e);return!!n.prerender&&!n.redirect}let Sr=null;async function Eg(){if(Sr)return Sr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await fu(e.textContent||""),n=e.dataset.src?await uu(e.dataset.src):void 0;return Sr={...t,...n,...window.__NUXT__},Sr}async function fu(e){return await hm(e,ye()._payloadRevivers)}function Cg(e,t){ye()._payloadRevivers[e]=t}const Ll={NuxtError:e=>iu(e),EmptyShallowRef:e=>Ws(e==="_"?void 0:e==="0n"?BigInt(0):to(e)),EmptyRef:e=>_e(e==="_"?void 0:e==="0n"?BigInt(0):to(e)),ShallowRef:e=>Ws(e),ShallowReactive:e=>Ba(e),Ref:e=>_e(e),Reactive:e=>ft(e)},Tg=pt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Ll)Cg(r,Ll[r]);Object.assign(e.payload,([t,n]=Gc(()=>e.runWithContext(Eg)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Pg=[],Rg=pt({name:"nuxt:head",enforce:"pre",setup(e){const t=Jm({plugins:Pg});Ym(()=>ye().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Yc(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),Sg=async e=>{let t,n;const r=([t,n]=Gc(()=>cu(e.path)),t=await t,n(),t);if(r.redirect)return r.redirect},Ag=[Sg];function Qo(e){typeof e=="object"&&(e=Bc({pathname:e.path||"",search:Dc(e.query||{}),hash:e.hash||""}));const t=On(e.toString());return{path:t.pathname,fullPath:e,query:ms(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const xg=pt({name:"nuxt:router",enforce:"pre",setup(e){const t=yh(window.location.pathname,Zn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=Zn().app.baseURL,s=ft(Qo(t));async function l(f,d){try{const p=Qo(f);for(const m of r["navigate:before"]){const b=await m(p,s);if(b===!1||b instanceof Error)return;if(typeof b=="string"&&b.length)return l(b,!0)}for(const m of r["resolve:before"])await m(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",ln(i,p.fullPath)),e.isHydrating||await e.runWithContext(fg);for(const m of r["navigate:after"])await m(p,s)}catch(p){for(const m of r.error)await m(p)}}const a=Ze(()=>s);for(const f in s)Object.defineProperty(a,f,{get(){return s[f]}});const c={currentRoute:a,isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:Qo,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Fe({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var b;const m=c.resolve(f.to);return f.custom?(b=d.default)==null?void 0:b.call(d,{href:f.to,navigate:p,route:m}):Xr("a",{href:f.to,onClick:E=>(E.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=ft(f.meta||{}),e.isHydrating&&u&&!Zt(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...Ag,...e._middleware.global]);for(const m of p){const b=await e.runWithContext(()=>m(f,d));if(b!==!0&&(b||b===!1))return b}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),wh(s.fullPath,t)||await e.runWithContext(()=>lu(s.fullPath))}),{provide:{route:s,router:c}}}}),Oi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Lg=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),bs=e=>{const t=ye();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Oi(e)}):Oi(e)},Og=pt({name:"nuxt:payload",setup(e){an().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Al(t.path);r&&Object.assign(e.static.data,r.data)}),bs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{On(n).protocol||await Al(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Ao,1e3)})}}),kg=pt(e=>{let t;async function n(){const r=await Ao();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(gs("builds/latest.json"));o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}bs(()=>{t=setTimeout(n,1e3*60*60)})}),Ig=pt({name:"nuxt:global-components"}),Ng="$s";function $g(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Ng+n,i=ye(),s=qa(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Le(l))return i.payload.state[o]=l,l;s.value=l}return s}const Dg="__NUXT_COLOR_MODE__",Mg="nuxt-color-mode",gt=window[Dg]||{},Hg=pt(e=>{const t=$g("color-mode",()=>ft({preference:gt.preference,value:gt.value,unknown:!1,forced:!1})).value;an().afterEach(o=>{const i=o.meta.colorMode;i&&i!=="system"?(t.value=i,t.forced=!0):(i==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?gt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=gt.getColorScheme())}))}$t(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=gt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Mg,o))},{immediate:!0}),$t(()=>t.value,(o,i)=>{gt.removeColorScheme(i),gt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=gt.preference,t.value=gt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Bg=pt(()=>{});function Vg(e={}){const t=e.path||window.location.pathname;let n={};try{n=to(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:ye().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jg=pt({name:"nuxt:chunk-reload",setup(e){const t=an(),n=Zn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const l="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:ln(n.app.baseURL,i.fullPath);Vg({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Fg=["top","right","bottom","left"],Ol=["start","end"],kl=Fg.reduce((e,t)=>e.concat(t,t+"-"+Ol[0],t+"-"+Ol[1]),[]),er=Math.min,Wt=Math.max,Ug={left:"right",right:"left",bottom:"top",top:"bottom"},Gg={start:"end",end:"start"};function ki(e,t,n){return Wt(e,er(t,n))}function cn(e,t){return typeof e=="function"?e(t):e}function dt(e){return e.split("-")[0]}function et(e){return e.split("-")[1]}function du(e){return e==="x"?"y":"x"}function ws(e){return e==="y"?"height":"width"}function pr(e){return["top","bottom"].includes(dt(e))?"y":"x"}function Es(e){return du(pr(e))}function pu(e,t,n){n===void 0&&(n=!1);const r=et(e),o=Es(e),i=ws(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=so(s)),[s,so(s)]}function Wg(e){const t=so(e);return[io(e),t,io(t)]}function io(e){return e.replace(/start|end/g,t=>Gg[t])}function zg(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function qg(e,t,n,r){const o=et(e);let i=zg(dt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(io)))),i}function so(e){return e.replace(/left|right|bottom|top/g,t=>Ug[t])}function Kg(e){return{top:0,right:0,bottom:0,left:0,...e}}function hu(e){return typeof e!="number"?Kg(e):{top:e,right:e,bottom:e,left:e}}function Fn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Il(e,t,n){let{reference:r,floating:o}=e;const i=pr(t),s=Es(t),l=ws(s),a=dt(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(et(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const Jg=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Il(c,r,a),d=r,p={},m=0;for(let b=0;b<l.length;b++){const{name:E,fn:P}=l[b],{x:C,y:h,data:w,reset:T}=await P({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});if(u=C??u,f=h??f,p={...p,[E]:{...p[E],...w}},T&&m<=50){m++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:u,y:f}=Il(c,d,a)),b=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function xo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=cn(t,e),m=hu(p),E=l[d?f==="floating"?"reference":"floating":f],P=Fn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(E)))==null||n?E:E.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),C=f==="floating"?{...s.floating,x:r,y:o}:s.reference,h=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(h))?await(i.getScale==null?void 0:i.getScale(h))||{x:1,y:1}:{x:1,y:1},T=Fn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:h,strategy:a}):C);return{top:(P.top-T.top+m.top)/w.y,bottom:(T.bottom-P.bottom+m.bottom)/w.y,left:(P.left-T.left+m.left)/w.x,right:(T.right-P.right+m.right)/w.x}}const Yg=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=cn(e,t)||{};if(c==null)return{};const f=hu(u),d={x:n,y:r},p=Es(o),m=ws(p),b=await s.getDimensions(c),E=p==="y",P=E?"top":"left",C=E?"bottom":"right",h=E?"clientHeight":"clientWidth",w=i.reference[m]+i.reference[p]-d[p]-i.floating[m],T=d[p]-i.reference[p],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let $=R?R[h]:0;(!$||!await(s.isElement==null?void 0:s.isElement(R)))&&($=l.floating[h]||i.floating[m]);const F=w/2-T/2,V=$/2-b[m]/2-1,M=er(f[P],V),Q=er(f[C],V),z=M,ne=$-b[m]-Q,ae=$/2-b[m]/2+F,se=ki(z,ae,ne),H=!a.arrow&&et(o)!=null&&ae!=se&&i.reference[m]/2-(ae<z?M:Q)-b[m]/2<0,q=H?ae<z?ae-z:ae-ne:0;return{[p]:d[p]+q,data:{[p]:se,centerOffset:ae-se-q,...H&&{alignmentOffset:q}},reset:H}}});function Xg(e,t,n){return(e?[...n.filter(o=>et(o)===e),...n.filter(o=>et(o)!==e)]:n.filter(o=>dt(o)===o)).filter(o=>e?et(o)===e||(t?io(o)!==o:!1):!0)}const Qg=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=kl,autoAlignment:p=!0,...m}=cn(e,t),b=f!==void 0||d===kl?Xg(f||null,p,d):d,E=await xo(t,m),P=((n=s.autoPlacement)==null?void 0:n.index)||0,C=b[P];if(C==null)return{};const h=pu(C,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==C)return{reset:{placement:b[0]}};const w=[E[dt(C)],E[h[0]],E[h[1]]],T=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:C,overflows:w}],R=b[P+1];if(R)return{data:{index:P+1,overflows:T},reset:{placement:R}};const $=T.map(M=>{const Q=et(M.placement);return[M.placement,Q&&u?M.overflows.slice(0,2).reduce((z,ne)=>z+ne,0):M.overflows[0],M.overflows]}).sort((M,Q)=>M[1]-Q[1]),V=((o=$.filter(M=>M[2].slice(0,et(M[0])?2:3).every(Q=>Q<=0))[0])==null?void 0:o[0])||$[0][0];return V!==l?{data:{index:P+1,overflows:T},reset:{placement:V}}:{}}}},Zg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...E}=cn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const P=dt(o),C=dt(l)===l,h=await(a.isRTL==null?void 0:a.isRTL(c.floating)),w=d||(C||!b?[so(l)]:Wg(l));!d&&m!=="none"&&w.push(...qg(l,b,m,h));const T=[l,...w],R=await xo(t,E),$=[];let F=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&$.push(R[P]),f){const z=pu(o,s,h);$.push(R[z[0]],R[z[1]])}if(F=[...F,{placement:o,overflows:$}],!$.every(z=>z<=0)){var V,M;const z=(((V=i.flip)==null?void 0:V.index)||0)+1,ne=T[z];if(ne)return{data:{index:z,overflows:F},reset:{placement:ne}};let ae=(M=F.filter(se=>se.overflows[0]<=0).sort((se,H)=>se.overflows[1]-H.overflows[1])[0])==null?void 0:M.placement;if(!ae)switch(p){case"bestFit":{var Q;const se=(Q=F.map(H=>[H.placement,H.overflows.filter(q=>q>0).reduce((q,j)=>q+j,0)]).sort((H,q)=>H[1]-q[1])[0])==null?void 0:Q[0];se&&(ae=se);break}case"initialPlacement":ae=l;break}if(o!==ae)return{reset:{placement:ae}}}return{}}}};async function e_(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=dt(n),l=et(n),a=pr(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=cn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),a?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const t_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await e_(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},n_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:E=>{let{x:P,y:C}=E;return{x:P,y:C}}},...a}=cn(e,t),c={x:n,y:r},u=await xo(t,a),f=pr(dt(o)),d=du(f);let p=c[d],m=c[f];if(i){const E=d==="y"?"top":"left",P=d==="y"?"bottom":"right",C=p+u[E],h=p-u[P];p=ki(C,p,h)}if(s){const E=f==="y"?"top":"left",P=f==="y"?"bottom":"right",C=m+u[E],h=m-u[P];m=ki(C,m,h)}const b=l.fn({...t,[d]:p,[f]:m});return{...b,data:{x:b.x-n,y:b.y-r}}}}},r_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=cn(e,t),a=await xo(t,l),c=dt(n),u=et(n),f=pr(n)==="y",{width:d,height:p}=r.floating;let m,b;c==="top"||c==="bottom"?(m=c,b=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(b=c,m=u==="end"?"top":"bottom");const E=p-a[m],P=d-a[b],C=!t.middlewareData.shift;let h=E,w=P;if(f){const R=d-a.left-a.right;w=u||C?er(P,R):R}else{const R=p-a.top-a.bottom;h=u||C?er(E,R):R}if(C&&!u){const R=Wt(a.left,0),$=Wt(a.right,0),F=Wt(a.top,0),V=Wt(a.bottom,0);f?w=d-2*(R!==0||$!==0?R+$:Wt(a.left,a.right)):h=p-2*(F!==0||V!==0?F+V:Wt(a.top,a.bottom))}await s({...t,availableWidth:w,availableHeight:h});const T=await o.getDimensions(i.floating);return d!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function qe(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function at(e){return qe(e).getComputedStyle(e)}const Nl=Math.min,Un=Math.max,lo=Math.round;function mu(e){const t=at(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=lo(n)!==o||lo(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function Vt(e){return _u(e)?(e.nodeName||"").toLowerCase():""}let Ar;function gu(){if(Ar)return Ar;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ar=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Ar):navigator.userAgent}function ct(e){return e instanceof qe(e).HTMLElement}function Dt(e){return e instanceof qe(e).Element}function _u(e){return e instanceof qe(e).Node}function $l(e){return typeof ShadowRoot>"u"?!1:e instanceof qe(e).ShadowRoot||e instanceof ShadowRoot}function Lo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=at(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function o_(e){return["table","td","th"].includes(Vt(e))}function Ii(e){const t=/firefox/i.test(gu()),n=at(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function yu(){return!/^((?!chrome|android).)*safari/i.test(gu())}function Cs(e){return["html","body","#document"].includes(Vt(e))}function vu(e){return Dt(e)?e:e.contextElement}const bu={x:1,y:1};function wn(e){const t=vu(e);if(!ct(t))return bu;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=mu(t);let s=(i?lo(n.width):n.width)/r,l=(i?lo(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function tr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),l=vu(e);let a=bu;t&&(r?Dt(r)&&(a=wn(r)):a=wn(e));const c=l?qe(l):window,u=!yu()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/a.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=s.width/a.x,m=s.height/a.y;if(l){const b=qe(l),E=r&&Dt(r)?qe(r):r;let P=b.frameElement;for(;P&&r&&E!==b;){const C=wn(P),h=P.getBoundingClientRect(),w=getComputedStyle(P);h.x+=(P.clientLeft+parseFloat(w.paddingLeft))*C.x,h.y+=(P.clientTop+parseFloat(w.paddingTop))*C.y,f*=C.x,d*=C.y,p*=C.x,m*=C.y,f+=h.x,d+=h.y,P=qe(P).frameElement}}return{width:p,height:m,top:d,right:f+p,bottom:d+m,left:f,x:f,y:d}}function Mt(e){return((_u(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oo(e){return Dt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wu(e){return tr(Mt(e)).left+Oo(e).scrollLeft}function nr(e){if(Vt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||$l(e)&&e.host||Mt(e);return $l(t)?t.host:t}function Eu(e){const t=nr(e);return Cs(t)?t.ownerDocument.body:ct(t)&&Lo(t)?t:Eu(t)}function ao(e,t){var n;t===void 0&&(t=[]);const r=Eu(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=qe(r);return o?t.concat(i,i.visualViewport||[],Lo(r)?r:[]):t.concat(r,ao(r))}function Dl(e,t,n){return t==="viewport"?Fn(function(r,o){const i=qe(r),s=Mt(r),l=i.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const d=yu();(d||!d&&o==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}}(e,n)):Dt(t)?Fn(function(r,o){const i=tr(r,!0,o==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,a=ct(r)?wn(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:l*a.x,y:s*a.y}}(t,n)):Fn(function(r){const o=Mt(r),i=Oo(r),s=r.ownerDocument.body,l=Un(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),a=Un(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+wu(r);const u=-i.scrollTop;return at(s).direction==="rtl"&&(c+=Un(o.clientWidth,s.clientWidth)-l),{width:l,height:a,x:c,y:u}}(Mt(e)))}function Ml(e){return ct(e)&&at(e).position!=="fixed"?e.offsetParent:null}function Hl(e){const t=qe(e);let n=Ml(e);for(;n&&o_(n)&&at(n).position==="static";)n=Ml(n);return n&&(Vt(n)==="html"||Vt(n)==="body"&&at(n).position==="static"&&!Ii(n))?t:n||function(r){let o=nr(r);for(;ct(o)&&!Cs(o);){if(Ii(o))return o;o=nr(o)}return null}(e)||t}function i_(e,t,n){const r=ct(t),o=Mt(t),i=tr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((Vt(t)!=="body"||Lo(o))&&(s=Oo(t)),ct(t)){const a=tr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else o&&(l.x=wu(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const s_={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=ao(c).filter(E=>Dt(E)&&Vt(E)!=="body"),p=null;const m=at(c).position==="fixed";let b=m?nr(c):c;for(;Dt(b)&&!Cs(b);){const E=at(b),P=Ii(b);(m?P||p:P||E.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=E:d=d.filter(C=>C!==b),b=nr(b)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],l=s[0],a=s.reduce((c,u)=>{const f=Dl(t,u,o);return c.top=Un(f.top,c.top),c.right=Nl(f.right,c.right),c.bottom=Nl(f.bottom,c.bottom),c.left=Un(f.left,c.left),c},Dl(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ct(n),i=Mt(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((o||!o&&r!=="fixed")&&((Vt(n)!=="body"||Lo(i))&&(s=Oo(n)),ct(n))){const c=tr(n);l=wn(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}},isElement:Dt,getDimensions:function(e){return ct(e)?mu(e):e.getBoundingClientRect()},getOffsetParent:Hl,getDocumentElement:Mt,getScale:wn,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Hl,i=this.getDimensions;return{reference:i_(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>at(e).direction==="rtl"},l_=(e,t,n)=>{const r=new Map,o={platform:s_,...n},i={...o.platform,_c:r};return Jg(e,t,{...o,platform:i})};function Cu(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Cu(e[n],t[n]):e[n]=t[n])}const Et={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function rr(e,t){let n=Et.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Et.themes[n.$extend]||{}:(n=null,r=Et[t]):n=null;while(n);return r}function a_(e){const t=[e];let n=Et.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Et.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Bl(e){const t=[e];let n=Et.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Et.themes[n.$extend]||{}):n=null;while(n);return t}let Sn=!1;if(typeof window<"u"){Sn=!1;try{const e=Object.defineProperty({},"passive",{get(){Sn=!0}});window.addEventListener("test",null,e)}catch{}}let Tu=!1;typeof window<"u"&&typeof navigator<"u"&&(Tu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Pu=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Vl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},jl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Fl(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Zo(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const bt=[];let Ut=null;const Ul={};function Gl(e){let t=Ul[e];return t||(t=Ul[e]=[]),t}let Ni=function(){};typeof window<"u"&&(Ni=window.Element);function re(e){return function(t){return rr(t.theme,e)}}const ei="__floating-vue__popper",Ru=()=>Fe({name:"VPopper",provide(){return{[ei]:{parentPopper:this}}},inject:{[ei]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:re("disabled")},positioningDisabled:{type:Boolean,default:re("positioningDisabled")},placement:{type:String,default:re("placement"),validator:e=>Pu.includes(e)},delay:{type:[String,Number,Object],default:re("delay")},distance:{type:[Number,String],default:re("distance")},skidding:{type:[Number,String],default:re("skidding")},triggers:{type:Array,default:re("triggers")},showTriggers:{type:[Array,Function],default:re("showTriggers")},hideTriggers:{type:[Array,Function],default:re("hideTriggers")},popperTriggers:{type:Array,default:re("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:re("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:re("popperHideTriggers")},container:{type:[String,Object,Ni,Boolean],default:re("container")},boundary:{type:[String,Ni],default:re("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:re("strategy")},autoHide:{type:[Boolean,Function],default:re("autoHide")},handleResize:{type:Boolean,default:re("handleResize")},instantMove:{type:Boolean,default:re("instantMove")},eagerMount:{type:Boolean,default:re("eagerMount")},popperClass:{type:[String,Array,Object],default:re("popperClass")},computeTransformOrigin:{type:Boolean,default:re("computeTransformOrigin")},autoMinSize:{type:Boolean,default:re("autoMinSize")},autoSize:{type:[Boolean,String],default:re("autoSize")},autoMaxSize:{type:Boolean,default:re("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:re("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:re("preventOverflow")},overflowPadding:{type:[Number,String],default:re("overflowPadding")},arrowPadding:{type:[Number,String],default:re("arrowPadding")},arrowOverflow:{type:Boolean,default:re("arrowOverflow")},flip:{type:Boolean,default:re("flip")},shift:{type:Boolean,default:re("shift")},shiftCrossAxis:{type:Boolean,default:re("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:re("noAutoFocus")},disposeTimeout:{type:Number,default:re("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ei])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(t_({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Qg({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(n_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Zg({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Yg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>o.reference.width/2:s=Math.abs(l)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(r_({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await l_(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ut&&this.instantMove&&Ut.instantMove&&Ut!==this.parentPopper){Ut.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ut=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Zo(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ao(this.$_referenceNode),...ao(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<bt.length;n++)t=bt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}bt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Bl(this.theme))Gl(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Zo(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Fl(bt,this),bt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Bl(this.theme)){const r=Gl(n);Fl(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ut===this&&(Ut=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Zo(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Vl,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Vl,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,jl,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],jl,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Sn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=t[s];l&&this.$_registerEventListeners(e,l,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Gn>=e.left&&Gn<=e.right&&Wn>=e.top&&Wn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Gn-St,r=Wn-At,o=t.left+t.width/2-St+(t.top+t.height/2)-At+t.width+t.height,i=St+n*o,s=At+r*o;return xr(St,At,i,s,t.left,t.top,t.left,t.bottom)||xr(St,At,i,s,t.left,t.top,t.right,t.top)||xr(St,At,i,s,t.right,t.top,t.right,t.bottom)||xr(St,At,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(Tu?document.addEventListener("touchstart",Wl,Sn?{passive:!0,capture:!0}:!0):window.addEventListener("mousedown",Wl,!0),window.addEventListener("resize",u_));function Wl(e,t=!1){const n={};for(let r=bt.length-1;r>=0;r--){const o=bt[r];try{const i=o.containsGlobalTarget=o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&zl(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=o.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let s=o.parentPopper;for(;s&&zl(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function zl(e,t,n){return n.closeAllPopover||n.closePopover&&t||c_(e,n)&&!t}function c_(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function u_(){for(let e=0;e<bt.length;e++)bt[e].$_computePosition()}let St=0,At=0,Gn=0,Wn=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{St=Gn,At=Wn,Gn=e.clientX,Wn=e.clientY},Sn?{passive:!0}:void 0);function xr(e,t,n,r,o,i,s,l){const a=((s-o)*(t-i)-(l-i)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t));return a>=0&&a<=1&&c>=0&&c<=1}const f_={extends:Ru()},ko=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function d_(e,t,n,r,o,i){return Y(),le("div",{ref:"reference",class:Ee(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[He(e.$slots,"default",Ca(ds(e.slotData)))],2)}const p_=ko(f_,[["render",d_]]);function h_(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Vr;function $i(){$i.init||($i.init=!0,Vr=h_()!==-1)}var Io={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$i(),fr(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Vr&&this.$el.appendChild(e),e.data="about:blank",Vr||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Vr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const m_=Cd();Qa("data-v-b329ee4c");const g_={class:"resize-observer",tabindex:"-1"};Za();const __=m_((e,t,n,r,o,i)=>(Y(),Ie("div",g_)));Io.render=__;Io.__scopeId="data-v-b329ee4c";Io.__file="src/components/ResizeObserver.vue";const Su=(e="theme")=>({computed:{themeClass(){return a_(this[e])}}}),y_=Fe({name:"VPopperContent",components:{ResizeObserver:Io},mixins:[Su()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),v_=["id","aria-hidden","tabindex","data-popper-placement"],b_={ref:"inner",class:"v-popper__inner"},w_=G("div",{class:"v-popper__arrow-outer"},null,-1),E_=G("div",{class:"v-popper__arrow-inner"},null,-1),C_=[w_,E_];function T_(e,t,n,r,o,i){const s=en("ResizeObserver");return Y(),le("div",{id:e.popperId,ref:"popover",class:Ee(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Jt(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Jp(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[G("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),G("div",{class:"v-popper__wrapper",style:Jt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[G("div",b_,[e.mounted?(Y(),le(we,{key:0},[G("div",null,[He(e.$slots,"default")]),e.handleResize?(Y(),Ie(s,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):lt("",!0)],64)):lt("",!0)],512),G("div",{ref:"arrow",class:"v-popper__arrow-container",style:Jt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},C_,4)],4)],46,v_)}const Au=ko(y_,[["render",T_]]),xu={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Di=function(){};typeof window<"u"&&(Di=window.Element);const P_=Fe({name:"VPopperWrapper",components:{Popper:p_,PopperContent:Au},mixins:[xu,Su("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Di,Boolean],default:void 0},boundary:{type:[String,Di],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function R_(e,t,n,r,o,i){const s=en("PopperContent"),l=en("Popper");return Y(),Ie(l,To({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ue(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:m,handleResize:b,onResize:E,classes:P,result:C})=>[He(e.$slots,"default",{shown:c,show:p,hide:m}),J(s,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":b,classes:P,result:C,onHide:m,onResize:E},{default:ue(()=>[He(e.$slots,"popper",{shown:c,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Ts=ko(P_,[["render",R_]]),S_={...Ts,name:"VDropdown",vPopperTheme:"dropdown"},A_={...Ts,name:"VMenu",vPopperTheme:"menu"},x_={...Ts,name:"VTooltip",vPopperTheme:"tooltip"},L_=Fe({name:"VTooltipDirective",components:{Popper:Ru(),PopperContent:Au},mixins:[xu],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>rr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>rr(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),O_=["innerHTML"],k_=["textContent"];function I_(e,t,n,r,o,i){const s=en("PopperContent"),l=en("Popper");return Y(),Ie(l,To({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ue(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:m,onResize:b,classes:E,result:P})=>[J(s,{ref:"popperContent",class:Ee({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:E,result:P,onHide:p,onResize:b},{default:ue(()=>[e.html?(Y(),le("div",{key:0,innerHTML:e.finalContent},null,8,O_)):(Y(),le("div",{key:1,textContent:it(e.finalContent)},null,8,k_))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const N_=ko(L_,[["render",I_]]),Lu="v-popper--has-tooltip";function $_(e,t){let n=e.placement;if(!n&&t)for(const r of Pu)t[r]&&(n=r);return n||(n=rr(e.theme||"tooltip","placement")),n}function Ou(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=$_(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ti,or,D_=0;function M_(){if(ti)return;or=_e([]),ti=Ic({name:"VTooltipDirectiveApp",setup(){return{directives:or}},render(){return this.directives.map(t=>Xr(N_,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ti.mount(e)}function H_(e,t,n){M_();const r=_e(Ou(e,t,n)),o=_e(!1),i={id:D_++,options:r,shown:o};return or.value.push(i),e.classList&&e.classList.add(Lu),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function ku(e){if(e.$_popper){const t=or.value.indexOf(e.$_popper.item);t!==-1&&or.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Lu)}function ql(e,{value:t,modifiers:n}){const r=Ou(e,t,n);if(!r.content||rr(r.theme||"tooltip","disabled"))ku(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=H_(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const B_={beforeMount:ql,updated:ql,beforeUnmount(e){ku(e)}};function Kl(e){e.addEventListener("mousedown",Iu),e.addEventListener("touchstart",Nu,Sn?{passive:!0}:!1)}function Jl(e){e.removeEventListener("mousedown",Iu),e.removeEventListener("touchstart",Nu),e.removeEventListener("touchend",$u),e.removeEventListener("touchcancel",Du)}function Iu(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Nu(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",$u),t.addEventListener("touchcancel",Du)}}function $u(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Du(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const V_={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Kl(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Kl(e):Jl(e))},beforeUnmount(e){Jl(e)}};function j_(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Cu(Et,t),e.directive("tooltip",B_),e.directive("close-popper",V_),e.component("VTooltip",x_),e.component("VDropdown",S_),e.component("VMenu",A_))}const F_={version:"5.2.0",install:j_,options:Et},U_=pt(e=>{e.vueApp.use(F_)}),G_=[Tg,Rg,xg,Og,kg,Ig,Hg,Bg,jg,U_],Mu=Fe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Y(),le("div",{class:Ee(["n-icon",t.icon])},null,2))}}),No=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},W_={},z_={class:"n-badge"};function q_(e,t){return Y(),le("span",z_,[He(e.$slots,"default")])}const K_=No(W_,[["render",q_]]);async function Hu(e,t=an()){const{path:n,matched:r}=t.resolve(e);if(!r.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(()=>Hu(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var l;return(l=s.components)==null?void 0:l.default}).filter(s=>typeof s=="function");for(const s of i){const l=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const J_=(...e)=>e.find(t=>t!==void 0),Y_="noopener noreferrer";function X_(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Yl(r,e.trailingSlash);const i="path"in r?r.path:o(r).path;return{...r,name:void 0,path:Yl(i,e.trailingSlash)}};return Fe({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(r,{slots:o}){const i=an(),s=Zn(),l=Ze(()=>{const p=r.to||r.href||"";return n(p,i.resolve)}),a=Ze(()=>typeof l.value=="string"&&Ln(l.value,{acceptRelative:!0})),c=Ze(()=>r.external||r.target&&r.target!=="_self"?!0:typeof l.value=="object"?!1:l.value===""||a.value),u=_e(!1),f=_e(null),d=p=>{var m;f.value=r.custom?(m=p==null?void 0:p.$el)==null?void 0:m.nextElementSibling:p==null?void 0:p.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!e0()){const m=ye();let b,E=null;ac(()=>{const P=Z_();bs(()=>{b=Oi(()=>{var C;(C=f==null?void 0:f.value)!=null&&C.tagName&&(E=P.observe(f.value,async()=>{E==null||E(),E=null;const h=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([m.hooks.callHook("link:prefetch",h).catch(()=>{}),!c.value&&Hu(l.value,i).catch(()=>{})]),u.value=!0}))})})}),cs(()=>{b&&Lg(b),E==null||E(),E=null})}return()=>{var P,C;if(!c.value){const h={ref:d,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(u.value&&(h.class=r.prefetchedClass||e.prefetchedClass),h.rel=r.rel),Xr(en("RouterLink"),h,o.default)}const p=typeof l.value=="object"?((P=i.resolve(l.value))==null?void 0:P.href)??null:l.value&&!r.external&&!a.value?n(ln(s.app.baseURL,l.value),i.resolve):l.value||null,m=r.target||null,b=r.noRel?null:J_(r.rel,e.externalRelAttribute,p?Y_:"")||null,E=()=>lu(p,{replace:r.replace});return r.custom?o.default?o.default({href:p,navigate:E,get route(){if(!p)return;const h=On(p);return{path:h.pathname,fullPath:h.pathname,get query(){return ms(h.search)},hash:h.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:b,target:m,isExternal:c.value,isActive:!1,isExactActive:!1}):null:Xr("a",{ref:f,href:p,rel:b,target:m},(C=o.default)==null?void 0:C.call(o))}}})}const Q_=X_(_g);function Yl(e,t){const n=t==="append"?Zr:So;return Ln(e)&&!e.startsWith("http")?e:n(e,!0)}function Z_(){const e=ye();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function e0(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const t0={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},n0=Fe({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ze(()=>t.href||t.to);return(r,o)=>{const i=Q_;return Y(),Ie(i,To(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:ue(()=>[He(r.$slots,"default"),n.value&&r.target==="_blank"?(Y(),le("div",t0)):lt("",!0)]),_:3},16,["class"])}}}),r0={},o0={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i0=gp('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),s0=[i0];function l0(e,t){return Y(),le("svg",o0,s0)}const a0=No(r0,[["render",l0]]),c0={},u0={class:"n-loading n-panel-grids-center"},f0={class:"flex flex-col animate-pulse items-center text-lg"},d0=G("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function p0(e,t){return Y(),le("div",u0,[G("div",f0,[d0,He(e.$slots,"default",{},()=>[Oe(" Loading... ")])])])}const h0=No(c0,[["render",p0]]),m0=async e=>{const t=await _(()=>import("./onig.mBJmD8D5.js"),__vite__mapDeps([]),import.meta.url).then(n=>n.default);return WebAssembly.instantiate(t,e).then(n=>n.instance.exports)},Bu=[{id:"abap",name:"ABAP",import:()=>_(()=>import("./abap.bJqzlTLD.js"),__vite__mapDeps([]),import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>_(()=>import("./actionscript-3.NUzLYz6e.js"),__vite__mapDeps([]),import.meta.url)},{id:"ada",name:"Ada",import:()=>_(()=>import("./ada.HSb8VHJ5.js"),__vite__mapDeps([]),import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>_(()=>import("./angular-html.ngCY688K.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(function(e){return e.e})},{id:"angular-ts",name:"Angular TypeScript",import:()=>_(()=>import("./angular-ts.JfRveWw0.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>_(()=>import("./apache.TpqIaH_y.js"),__vite__mapDeps([]),import.meta.url)},{id:"apex",name:"Apex",import:()=>_(()=>import("./apex.rLr5RF8N.js"),__vite__mapDeps([]),import.meta.url)},{id:"apl",name:"APL",import:()=>_(()=>import("./apl.ojEktQcO.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>_(()=>import("./applescript.uEUaUzem.js"),__vite__mapDeps([]),import.meta.url)},{id:"ara",name:"Ara",import:()=>_(()=>import("./ara.yxVemEif.js"),__vite__mapDeps([]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>_(()=>import("./asm.N3zWSyW8.js"),__vite__mapDeps([]),import.meta.url)},{id:"astro",name:"Astro",import:()=>_(()=>import("./astro.bVipJGkW.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>_(()=>import("./awk.tQAliBPt.js"),__vite__mapDeps([]),import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>_(()=>import("./ballerina.j08zL6tL.js"),__vite__mapDeps([]),import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>_(()=>import("./bat.4hprCtpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"beancount",name:"Beancount",import:()=>_(()=>import("./beancount.B4bgLeBI.js"),__vite__mapDeps([]),import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>_(()=>import("./berry.99Qqo7Pl.js"),__vite__mapDeps([]),import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>_(()=>import("./bibtex.PUS4KD1G.js"),__vite__mapDeps([]),import.meta.url)},{id:"bicep",name:"Bicep",import:()=>_(()=>import("./bicep.U1vZFTkg.js"),__vite__mapDeps([]),import.meta.url)},{id:"blade",name:"Blade",import:()=>_(()=>import("./blade.HvKjdph-.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>_(()=>import("./c.1HqcaTLZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>_(()=>import("./cadence.wPBjDAPG.js"),__vite__mapDeps([]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>_(()=>import("./clarity.9V3ikNUm.js"),__vite__mapDeps([]),import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>_(()=>import("./clojure.m464_LIc.js"),__vite__mapDeps([]),import.meta.url)},{id:"cmake",name:"CMake",import:()=>_(()=>import("./cmake.YiKLaZ9A.js"),__vite__mapDeps([]),import.meta.url)},{id:"cobol",name:"COBOL",import:()=>_(()=>import("./cobol.DIpfQcy2.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>_(()=>import("./codeql.i7fhVOvX.js"),__vite__mapDeps([]),import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>_(()=>import("./coffee.09Ode5TL.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>_(()=>import("./cpp.UIU91NPT.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>_(()=>import("./crystal.KqWgScGa.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>_(()=>import("./csharp.SlsguwGx.js"),__vite__mapDeps([]),import.meta.url)},{id:"css",name:"CSS",import:()=>_(()=>import("./css.tuEqSfZX.js"),__vite__mapDeps([]),import.meta.url)},{id:"csv",name:"csv syntax",import:()=>_(()=>import("./csv.REIP-dDb.js"),__vite__mapDeps([]),import.meta.url)},{id:"cue",name:"CUE",import:()=>_(()=>import("./cue.ts9p4IYJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>_(()=>import("./cypher.y2dXjvht.js"),__vite__mapDeps([]),import.meta.url)},{id:"d",name:"D",import:()=>_(()=>import("./d.91KOtcJM.js"),__vite__mapDeps([]),import.meta.url)},{id:"dart",name:"Dart",import:()=>_(()=>import("./dart.ATU8nP6d.js"),__vite__mapDeps([]),import.meta.url)},{id:"dax",name:"DAX",import:()=>_(()=>import("./dax.M4oDHFBw.js"),__vite__mapDeps([]),import.meta.url)},{id:"diff",name:"Diff",import:()=>_(()=>import("./diff.-l9-nN5b.js"),__vite__mapDeps([]),import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>_(()=>import("./docker.FKXxym4E.js"),__vite__mapDeps([]),import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>_(()=>import("./dream-maker.5lPMrnJr.js"),__vite__mapDeps([]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>_(()=>import("./elixir.Q1fiwhg2.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>_(()=>import("./elm.AR6G1sGv.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>_(()=>import("./erb.K_ppY6Ln.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>_(()=>import("./erlang._Br9gip-.js"),__vite__mapDeps([]),import.meta.url)},{id:"fish",name:"Fish",import:()=>_(()=>import("./fish.k6NZEVUm.js"),__vite__mapDeps([]),import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>_(()=>import("./fsharp.37PDbGQ_.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>_(()=>import("./gdresource.7GKJFf55.js"),__vite__mapDeps([33,34,35]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>_(()=>import("./gdscript.E1_SGClP.js"),__vite__mapDeps([]),import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>_(()=>import("./gdshader.6pjKCTQy.js"),__vite__mapDeps([]),import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>_(()=>import("./gherkin.hgsyILVZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>_(()=>import("./git-commit.RtAxFnK2.js"),__vite__mapDeps([36,37]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>_(()=>import("./git-rebase.-_3Z3F37.js"),__vite__mapDeps([38,25]),import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>_(()=>import("./glimmer-js.OxCy_kio.js"),__vite__mapDeps([39,2,40,1,3,41]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>_(()=>import("./glimmer-ts.ZLbawe8H.js"),__vite__mapDeps([42,11,40,1,2,3,41]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>_(()=>import("./glsl.yLv_V-GM.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>_(()=>import("./gnuplot.fIlAWhXw.js"),__vite__mapDeps([]),import.meta.url)},{id:"go",name:"Go",import:()=>_(()=>import("./go.2bJKq9hO.js"),__vite__mapDeps([]),import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>_(()=>import("./graphql.Mw2TwDQV.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>_(()=>import("./groovy.Z1Lrhk2B.js"),__vite__mapDeps([]),import.meta.url)},{id:"hack",name:"Hack",import:()=>_(()=>import("./hack.8bxbrxw3.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>_(()=>import("./haml.9njXWWYk.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,32]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>_(()=>import("./handlebars.e6aZXt-Z.js"),__vite__mapDeps([40,1,2,3,41]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>_(()=>import("./haskell.HW0BBkRd.js"),__vite__mapDeps([]),import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>_(()=>import("./hcl.M9siRbiv.js"),__vite__mapDeps([]),import.meta.url)},{id:"hjson",name:"Hjson",import:()=>_(()=>import("./hjson.fLk7JbZa.js"),__vite__mapDeps([]),import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>_(()=>import("./hlsl.Do_j-o-7.js"),__vite__mapDeps([]),import.meta.url)},{id:"html",name:"HTML",import:()=>_(()=>import("./html.q2IluNCo.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>_(()=>import("./http.suDZEQUg.js"),__vite__mapDeps([47,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>_(()=>import("./imba.Shm_xfQD.js"),__vite__mapDeps([48,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>_(()=>import("./ini.T6bxBy5-.js"),__vite__mapDeps([]),import.meta.url)},{id:"java",name:"Java",import:()=>_(()=>import("./java.tY-NU26U.js"),__vite__mapDeps([]),import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>_(()=>import("./javascript.4rbEI_qn.js"),__vite__mapDeps([]),import.meta.url)},{id:"jinja",name:"Jinja",import:()=>_(()=>import("./jinja.E4nwqofd.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>_(()=>import("./jison.gkHJeffy.js"),__vite__mapDeps([50,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>_(()=>import("./json.xL80yL3n.js"),__vite__mapDeps([]),import.meta.url)},{id:"json5",name:"JSON5",import:()=>_(()=>import("./json5.NRuQoh_0.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>_(()=>import("./jsonc.Bb1R3obU.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>_(()=>import("./jsonl.Yjg0VwMG.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>_(()=>import("./jsonnet.WK26vH-O.js"),__vite__mapDeps([]),import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>_(()=>import("./jssm.eioTUq4-.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsx",name:"JSX",import:()=>_(()=>import("./jsx.O5ZRGASz.js"),__vite__mapDeps([]),import.meta.url)},{id:"julia",name:"Julia",import:()=>_(()=>import("./julia.ku4F-e-8.js"),__vite__mapDeps([51,21,22,23,18,52,2,53]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>_(()=>import("./kotlin.1iwCeGA4.js"),__vite__mapDeps([]),import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>_(()=>import("./kusto.UpRCclYC.js"),__vite__mapDeps([]),import.meta.url)},{id:"latex",name:"LaTeX",import:()=>_(()=>import("./latex.6xV8tHRw.js"),__vite__mapDeps([54,55,53,3,56,1,2,7,8,30,23,51,21,22,18,52,29,25,11,41,57,58,59]),import.meta.url)},{id:"less",name:"Less",import:()=>_(()=>import("./less.Mq8TrjER.js"),__vite__mapDeps([]),import.meta.url)},{id:"liquid",name:"Liquid",import:()=>_(()=>import("./liquid.O0W9gNJ1.js"),__vite__mapDeps([60,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>_(()=>import("./lisp.iIZdsWzX.js"),__vite__mapDeps([]),import.meta.url)},{id:"logo",name:"Logo",import:()=>_(()=>import("./logo.WuHqTpFy.js"),__vite__mapDeps([]),import.meta.url)},{id:"lua",name:"Lua",import:()=>_(()=>import("./lua.OGbZEs3U.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>_(()=>import("./make.8zIAVqFD.js"),__vite__mapDeps([]),import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>_(()=>import("./markdown.Y8p9X7h3.js"),__vite__mapDeps([]),import.meta.url)},{id:"marko",name:"Marko",import:()=>_(()=>import("./marko.sELZHXF6.js"),__vite__mapDeps([61,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>_(()=>import("./matlab.LaB98_jd.js"),__vite__mapDeps([]),import.meta.url)},{id:"mdc",name:"MDC",import:()=>_(()=>import("./mdc.NowVT77H.js"),__vite__mapDeps([62,32,41]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>_(()=>import("./mdx.VhCSg2DJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>_(()=>import("./mermaid.WuNnVULj.js"),__vite__mapDeps([]),import.meta.url)},{id:"mojo",name:"Mojo",import:()=>_(()=>import("./mojo.zLNDSfD9.js"),__vite__mapDeps([]),import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>_(()=>import("./narrat.KYi2rZr0.js"),__vite__mapDeps([]),import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>_(()=>import("./nextflow.lYJjOZ_l.js"),__vite__mapDeps([]),import.meta.url)},{id:"nginx",name:"Nginx",import:()=>_(()=>import("./nginx.CrBM8z2W.js"),__vite__mapDeps([63,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>_(()=>import("./nim.OZ1TiK9r.js"),__vite__mapDeps([64,23,1,2,3,7,8,22,32]),import.meta.url)},{id:"nix",name:"Nix",import:()=>_(()=>import("./nix.z3u_V08Q.js"),__vite__mapDeps([]),import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>_(()=>import("./nushell.GDk9yul-.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>_(()=>import("./objective-c.Eci2Q5FN.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>_(()=>import("./objective-cpp.nGsV46Zk.js"),__vite__mapDeps([]),import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>_(()=>import("./ocaml.oQRvlYTD.js"),__vite__mapDeps([]),import.meta.url)},{id:"pascal",name:"Pascal",import:()=>_(()=>import("./pascal.aIRIFbih.js"),__vite__mapDeps([]),import.meta.url)},{id:"perl",name:"Perl",import:()=>_(()=>import("./perl.CaKiGeyl.js"),__vite__mapDeps([65,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>_(()=>import("./php.Q2jqa0n_.js"),__vite__mapDeps([66,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>_(()=>import("./plsql.vhhXsReo.js"),__vite__mapDeps([]),import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>_(()=>import("./postcss.57yKeRpx.js"),__vite__mapDeps([]),import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>_(()=>import("./powerquery.wBQvr9E-.js"),__vite__mapDeps([]),import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>_(()=>import("./powershell.6Y_bsqLY.js"),__vite__mapDeps([]),import.meta.url)},{id:"prisma",name:"Prisma",import:()=>_(()=>import("./prisma.fG9Ut-9i.js"),__vite__mapDeps([]),import.meta.url)},{id:"prolog",name:"Prolog",import:()=>_(()=>import("./prolog.vggnm0Hd.js"),__vite__mapDeps([]),import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>_(()=>import("./proto.yigfBmiL.js"),__vite__mapDeps([]),import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>_(()=>import("./pug.dmyiUMO7.js"),__vite__mapDeps([67,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>_(()=>import("./puppet.NqXa_cO1.js"),__vite__mapDeps([]),import.meta.url)},{id:"purescript",name:"PureScript",import:()=>_(()=>import("./purescript.NA5qsvV2.js"),__vite__mapDeps([]),import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>_(()=>import("./python.V9Nu427R.js"),__vite__mapDeps([]),import.meta.url)},{id:"r",name:"R",import:()=>_(()=>import("./r.xMXDrvl2.js"),__vite__mapDeps([]),import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>_(()=>import("./raku.NSWyGF40.js"),__vite__mapDeps([]),import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>_(()=>import("./razor.X4IfBpol.js"),__vite__mapDeps([68,1,2,3,69]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>_(()=>import("./reg.Dr-lXfN9.js"),__vite__mapDeps([]),import.meta.url)},{id:"rel",name:"Rel",import:()=>_(()=>import("./rel.vATIbX_E.js"),__vite__mapDeps([]),import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>_(()=>import("./riscv.L73dAZEB.js"),__vite__mapDeps([]),import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>_(()=>import("./rst.GKtlS3h3.js"),__vite__mapDeps([70,21,22,23,18,52,2,25,41,71,29,1,3,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>_(()=>import("./ruby.P9eGVNW4.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>_(()=>import("./rust.FLHuhIzG.js"),__vite__mapDeps([]),import.meta.url)},{id:"sas",name:"SAS",import:()=>_(()=>import("./sas.fTu4QUYF.js"),__vite__mapDeps([72,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>_(()=>import("./sass.URKSWxt9.js"),__vite__mapDeps([]),import.meta.url)},{id:"scala",name:"Scala",import:()=>_(()=>import("./scala.7DKpDMtV.js"),__vite__mapDeps([]),import.meta.url)},{id:"scheme",name:"Scheme",import:()=>_(()=>import("./scheme.S0VUhbaV.js"),__vite__mapDeps([]),import.meta.url)},{id:"scss",name:"SCSS",import:()=>_(()=>import("./scss.9u5wOjnF.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>_(()=>import("./shaderlab.MYTNW71C.js"),__vite__mapDeps([73,74]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>_(()=>import("./shellscript.82BvnTib.js"),__vite__mapDeps([]),import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>_(()=>import("./shellsession.e2TODbDv.js"),__vite__mapDeps([75,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>_(()=>import("./smalltalk.ymyryZ3T.js"),__vite__mapDeps([]),import.meta.url)},{id:"solidity",name:"Solidity",import:()=>_(()=>import("./solidity.rGqtk2dD.js"),__vite__mapDeps([]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>_(()=>import("./sparql.b6B4dWwT.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>_(()=>import("./splunk.OYnOZZCZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"sql",name:"SQL",import:()=>_(()=>import("./sql.KWFjTZGI.js"),__vite__mapDeps([]),import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>_(()=>import("./ssh-config.jdYjUr9x.js"),__vite__mapDeps([]),import.meta.url)},{id:"stata",name:"Stata",import:()=>_(()=>import("./stata.cF_ucIcM.js"),__vite__mapDeps([78,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>_(()=>import("./stylus.sPHLw37c.js"),__vite__mapDeps([]),import.meta.url)},{id:"svelte",name:"Svelte",import:()=>_(()=>import("./svelte.6zdtIlwM.js"),__vite__mapDeps([79,2,11,20,12,13,3,5,14,15,67,1,32]),import.meta.url)},{id:"swift",name:"Swift",import:()=>_(()=>import("./swift.YwiPyWKn.js"),__vite__mapDeps([]),import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>_(()=>import("./system-verilog.gwJe9XJI.js"),__vite__mapDeps([]),import.meta.url)},{id:"tasl",name:"Tasl",import:()=>_(()=>import("./tasl.IM3fg-4x.js"),__vite__mapDeps([]),import.meta.url)},{id:"tcl",name:"Tcl",import:()=>_(()=>import("./tcl.h_zrCUh3.js"),__vite__mapDeps([]),import.meta.url)},{id:"tex",name:"TeX",import:()=>_(()=>import("./tex.uNByjuDB.js"),__vite__mapDeps([55,53]),import.meta.url)},{id:"toml",name:"TOML",import:()=>_(()=>import("./toml.p_xIKQcU.js"),__vite__mapDeps([]),import.meta.url)},{id:"tsx",name:"TSX",import:()=>_(()=>import("./tsx.vbVEYvAd.js"),__vite__mapDeps([]),import.meta.url)},{id:"turtle",name:"Turtle",import:()=>_(()=>import("./turtle.qvOLXpiq.js"),__vite__mapDeps([]),import.meta.url)},{id:"twig",name:"Twig",import:()=>_(()=>import("./twig.h5iAhXmS.js"),__vite__mapDeps([80,3,2,5,66,1,7,8,18,9,52,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>_(()=>import("./typescript.IWNmnGsa.js"),__vite__mapDeps([]),import.meta.url)},{id:"v",name:"V",import:()=>_(()=>import("./v.BcVLQyAr.js"),__vite__mapDeps([]),import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>_(()=>import("./vb.nfm3ZogP.js"),__vite__mapDeps([]),import.meta.url)},{id:"verilog",name:"Verilog",import:()=>_(()=>import("./verilog.32GaFvLA.js"),__vite__mapDeps([]),import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>_(()=>import("./vhdl.BgfvI7C9.js"),__vite__mapDeps([]),import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>_(()=>import("./viml.Ob-szSvk.js"),__vite__mapDeps([]),import.meta.url)},{id:"vue",name:"Vue",import:()=>_(()=>import("./vue.CmUal76M.js"),__vite__mapDeps([81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>_(()=>import("./vue-html.B2XvVFLk.js"),__vite__mapDeps([85,81,1,2,3,32,67,13,5,12,20,14,11,44,16,9,82,83,41,84,43]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>_(()=>import("./vyper.0ItMHLZu.js"),__vite__mapDeps([]),import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>_(()=>import("./wasm.5qeU6UJI.js"),__vite__mapDeps([]),import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>_(()=>import("./wenyan.gl1zQYA8.js"),__vite__mapDeps([]),import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>_(()=>import("./wgsl.KpVp-DWl.js"),__vite__mapDeps([]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>_(()=>import("./wolfram.K_QzNdW-.js"),__vite__mapDeps([]),import.meta.url)},{id:"xml",name:"XML",import:()=>_(()=>import("./xml.GygmfNh9.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>_(()=>import("./xsl.TptR0G-3.js"),__vite__mapDeps([86,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>_(()=>import("./yaml.zytfnWoA.js"),__vite__mapDeps([]),import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>_(()=>import("./zenscript.htRIWiQY.js"),__vite__mapDeps([]),import.meta.url)},{id:"zig",name:"zig",import:()=>_(()=>import("./zig.VzlkOal1.js"),__vite__mapDeps([]),import.meta.url)}],g0=Object.fromEntries(Bu.map(e=>[e.id,e.import])),_0=Object.fromEntries(Bu.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),y0={...g0,..._0},v0=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>_(()=>import("./andromeeda.TE0Toi4a.js"),__vite__mapDeps([]),import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>_(()=>import("./aurora-x.23vffHpO.js"),__vite__mapDeps([]),import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>_(()=>import("./ayu-dark.09-XTo9D.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>_(()=>import("./catppuccin-frappe.3zzElYQH.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>_(()=>import("./catppuccin-latte.7_seQpm6.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>_(()=>import("./catppuccin-macchiato.xyLZ1Mzm.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>_(()=>import("./catppuccin-mocha.sKQhYBeR.js"),__vite__mapDeps([]),import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>_(()=>import("./dark-plus.kgh98KCl.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>_(()=>import("./dracula.mNVTF5-9.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>_(()=>import("./dracula-soft.E92bUq8i.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>_(()=>import("./github-dark.WrpzPehD.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>_(()=>import("./github-dark-dimmed.yDYFqRVv.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>_(()=>import("./github-light.QjB713Ax.js"),__vite__mapDeps([]),import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>_(()=>import("./light-plus.TzXGjDsL.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>_(()=>import("./material-theme.49YjOoAR.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>_(()=>import("./material-theme-darker.e1lAwchJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>_(()=>import("./material-theme-lighter.y77yPuAI.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>_(()=>import("./material-theme-ocean.oIMAIpse.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>_(()=>import("./material-theme-palenight.Z44VU5rQ.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>_(()=>import("./min-dark._Ja8ZF5C.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>_(()=>import("./min-light.N1m_6E3S.js"),__vite__mapDeps([]),import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>_(()=>import("./monokai.WLw4Glvg.js"),__vite__mapDeps([]),import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>_(()=>import("./night-owl.GWZK5Ce7.js"),__vite__mapDeps([]),import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>_(()=>import("./nord.1NrVtx79.js"),__vite__mapDeps([]),import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>_(()=>import("./one-dark-pro.qlkgvdEn.js"),__vite__mapDeps([]),import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>_(()=>import("./poimandres.oZrO-I17.js"),__vite__mapDeps([]),import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>_(()=>import("./red.sV5NnIRC.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>_(()=>import("./rose-pine._tQyNI4L.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>_(()=>import("./rose-pine-dawn.qPi4euik.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>_(()=>import("./rose-pine-moon.Im6VgKOx.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>_(()=>import("./slack-dark.1ZggNzwg.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>_(()=>import("./slack-ochin.IcMt0x71.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>_(()=>import("./solarized-dark.3DcwRX9o.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>_(()=>import("./solarized-light.iUVMuJ2F.js"),__vite__mapDeps([]),import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>_(()=>import("./synthwave-84.QD7ZGwpp.js"),__vite__mapDeps([]),import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>_(()=>import("./tokyo-night.3j08uV2M.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>_(()=>import("./vitesse-black.uLlG6AUB.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>_(()=>import("./vitesse-dark.5VceXvs6.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>_(()=>import("./vitesse-light.HOMMxGxw.js"),__vite__mapDeps([]),import.meta.url)}],b0=Object.fromEntries(v0.map(e=>[e.id,e.import]));var Xe;(function(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"})(Xe||(Xe={}));var An;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),m=e.getForeground(u),b=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:m,background:b})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,m,b,E){let P=e.getLanguageId(u),C=e.getTokenType(u),h=e.containsBalancedBrackets(u)?1:0,w=e.getFontStyle(u),T=e.getForeground(u),R=e.getBackground(u);return f!==0&&(P=f),d!==8&&(C=d),p!==null&&(h=p?1:0),m!==-1&&(w=m),b!==0&&(T=b),E!==0&&(R=E),(P<<0|C<<8|h<<10|w<<11|T<<15|R<<24)>>>0}e.set=c})(An||(An={}));function co(e,t){const n=[],r=w0(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=s();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const a=i();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(Xl(o)){const a=[];do a.push(o),o=r.next();while(Xl(o));return c=>t(a,c)}return null}function s(){const a=[];let c=i();for(;c;)a.push(c),c=i();return u=>a.every(f=>f(u))}function l(){const a=[];let c=s();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>a.some(f=>f(u))}}function Xl(e){return!!e&&!!e.match(/[\w\.:]+/)}function w0(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Vu(e){typeof e.dispose=="function"&&e.dispose()}function E0(e){return Ps(e)}function Ps(e){return Array.isArray(e)?C0(e):typeof e=="object"?T0(e):e}function C0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ps(e[n]);return t}function T0(e){let t={};for(let n in e)t[n]=Ps(e[n]);return t}function ju(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Fu(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Fu(e.substring(0,e.length-1)):e.substr(~t+1)}let ni=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Lr{static hasCaptures(t){return t===null?!1:(ni.lastIndex=0,ni.test(t))}static replaceCaptures(t,n,r){return t.replace(ni,(o,i,s,l)=>{let a=r[parseInt(i||s,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Uu(e,t){return e<t?-1:e>t?1:0}function Gu(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Uu(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Ql(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Wu(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class zu{constructor(t){v(this,"fn");v(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class ir{constructor(t){v(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class P0{constructor(t,n){v(this,"scopeName");v(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class R0{constructor(){v(this,"_references",[]);v(this,"_seenReferenceKeys",new Set);v(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class S0{constructor(t,n){v(this,"repo");v(this,"initialScopeName");v(this,"seenFullScopeRequests",new Set);v(this,"seenPartialScopeRequests",new Set);v(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ir(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new R0;for(const r of t)A0(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof ir){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function A0(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof ir?jr({baseGrammar:i,selfGrammar:o},r):Mi(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const l of s)r.add(new ir(l))}function Mi(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];uo([r],t,n)}}function jr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&uo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&uo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function uo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?ju({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&uo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=qu(i);switch(s.kind){case 0:jr({...t,selfGrammar:t.baseGrammar},n);break;case 1:jr(t,n);break;case 2:Mi(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};s.kind===4?Mi(s.ruleName,a,n):jr(a,n)}else s.kind===4?n.add(new P0(s.scopeName,s.ruleName)):n.add(new ir(s.scopeName));break}}}class x0{constructor(){v(this,"kind",0)}}class L0{constructor(){v(this,"kind",1)}}class O0{constructor(t){v(this,"ruleName");v(this,"kind",2);this.ruleName=t}}class k0{constructor(t){v(this,"scopeName");v(this,"kind",3);this.scopeName=t}}class I0{constructor(t,n){v(this,"scopeName");v(this,"ruleName");v(this,"kind",4);this.scopeName=t,this.ruleName=n}}function qu(e){if(e==="$base")return new x0;if(e==="$self")return new L0;const t=e.indexOf("#");if(t===-1)return new k0(e);if(t===0)return new O0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new I0(n,r)}}const N0=/\\(\d+)/,Zl=/\\(\d+)/g,$0=-1,Ku=-2;class hr{constructor(t,n,r,o){v(this,"$location");v(this,"id");v(this,"_nameIsCapturing");v(this,"_name");v(this,"_contentNameIsCapturing");v(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Lr.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Lr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Fu(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Lr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Lr.replaceCaptures(this._contentName,t,n)}}class D0 extends hr{constructor(n,r,o,i,s){super(n,r,o,i);v(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,i){throw new Error("Not supported!")}}class M0 extends hr{constructor(n,r,o,i,s){super(n,r,o,null);v(this,"_match");v(this,"captures");v(this,"_cachedCompiledPatterns");this._match=new nn(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new sr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class ea extends hr{constructor(n,r,o,i,s){super(n,r,o,i);v(this,"hasMissingPatterns");v(this,"patterns");v(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new sr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Hi extends hr{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);v(this,"_begin");v(this,"beginCaptures");v(this,"_end");v(this,"endHasBackReferences");v(this,"endCaptures");v(this,"applyEndPatternLast");v(this,"hasMissingPatterns");v(this,"patterns");v(this,"_cachedCompiledPatterns");this._begin=new nn(s,this.id),this.beginCaptures=l,this._end=new nn(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,i)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new sr;for(const o of this.patterns)n.getRule(o).collectPatterns(n,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,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class fo extends hr{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);v(this,"_begin");v(this,"beginCaptures");v(this,"whileCaptures");v(this,"_while");v(this,"whileHasBackReferences");v(this,"hasMissingPatterns");v(this,"patterns");v(this,"_cachedCompiledPatterns");v(this,"_cachedCompiledWhilePatterns");this._begin=new nn(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new nn(a,Ku),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,i){return this._getCachedCompiledPatterns(n).compileAG(n,o,i)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new sr;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,i){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,i)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new sr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class Re{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new D0(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new M0(t.$vscodeTextmateLocation,t.id,t.name,t.match,Re._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=ju({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new ea(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Re._compilePatterns(i,n,r))}return t.while?new fo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Re._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Re._compileCaptures(t.whileCaptures||t.captures,n,r),Re._compilePatterns(t.patterns,n,r)):new Hi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Re._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Re._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Re._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);l>i&&(i=l)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const l=parseInt(s,10);let a=0;t[s].patterns&&(a=Re.getCompiledRuleId(t[s],n,r)),o[l]=Re.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const l=t[i];let a=-1;if(l.include){const c=qu(l.include);switch(c.kind){case 0:case 1:a=Re.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=Re.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let m=p.repository[d];m&&(a=Re.getCompiledRuleId(m,n,p.repository))}else a=Re.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=Re.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof ea||c instanceof Hi||c instanceof fo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class nn{constructor(t,n){v(this,"source");v(this,"ruleId");v(this,"hasAnchor");v(this,"hasBackReferences");v(this,"_anchorCache");if(t){const r=t.length;let o=0,i=[],s=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(i.push(t.substring(o,l)),i.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(s=!0),l++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=N0.test(this.source)}clone(){return new nn(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return Zl.lastIndex=0,this.source.replace(Zl,(o,i)=>Wu(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,l,a;for(i=0,s=this.source.length;i<s;i++)l=this.source.charAt(i),t[i]=l,n[i]=l,r[i]=l,o[i]=l,l==="\\"&&i+1<s&&(a=this.source.charAt(i+1),a==="A"?(t[i+1]="",n[i+1]="",r[i+1]="A",o[i+1]="A"):a==="G"?(t[i+1]="",n[i+1]="G",r[i+1]="",o[i+1]="G"):(t[i+1]=a,n[i+1]=a,r[i+1]=a,o[i+1]=a),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class sr{constructor(){v(this,"_items");v(this,"_hasAnchors");v(this,"_cached");v(this,"_anchorCache");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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new ta(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(i=>i.resolveAnchors(n,r));return new ta(t,o,this._items.map(i=>i.ruleId))}}class ta{constructor(t,n,r){v(this,"regExps");v(this,"rules");v(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
18
18
|
`)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Bi{constructor(t,n,r){v(this,"_colorMap");v(this,"_defaults");v(this,"_root");v(this,"_cachedMatchRoot",new zu(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(V0(t),n)}static createFromParsedTheme(t,n){return F0(t,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(i=>H0(t.parent,i.parentScopes));return o?new Ju(o.fontStyle,o.foreground,o.background):null}}class Qt{constructor(t,n){v(this,"parent");v(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Qt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Qt(n,t[r]);return n}push(t){return new Qt(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function H0(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(B0(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function B0(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class Ju{constructor(t,n,r){v(this,"fontStyle");v(this,"foregroundId");v(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function V0(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&Ql(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Ql(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let m=l[f].trim().split(" "),b=m[m.length-1],E=null;m.length>1&&(E=m.slice(0,m.length-1),E.reverse()),n[r++]=new j0(b,E,o,a,c,u)}}return n}class j0{constructor(t,n,r,o,i,s){v(this,"scope");v(this,"parentScopes");v(this,"index");v(this,"fontStyle");v(this,"foreground");v(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function F0(e,t){e.sort((a,c)=>{let u=Uu(a.scope,c.scope);return u!==0||(u=Gu(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let i=new U0(t),s=new Ju(n,i.getId(r),i.getId(o)),l=new zn(new lr(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new Bi(i,s,l)}class U0{constructor(t){v(this,"_isFrozen");v(this,"_lastColorId");v(this,"_id2color");v(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class lr{constructor(t,n,r,o,i){v(this,"scopeDepth");v(this,"parentScopes");v(this,"fontStyle");v(this,"foreground");v(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new lr(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}}class zn{constructor(t,n=[],r={}){v(this,"_mainRule");v(this,"_children");v(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let i=r===null?0:r.length,s=o===null?0:o.length;if(i===s)for(let l=0;l<i;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return s-i}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return zn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):zn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new zn(this._mainRule.clone(),lr.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,l=this._rulesWithParentScopes.length;s<l;s++){let a=this._rulesWithParentScopes[s];if(Gu(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new lr(t,n,r,o,i))}}class ri{constructor(t,n){v(this,"languageId");v(this,"tokenType");this.languageId=t,this.tokenType=n}}const pn=class pn{constructor(t,n){v(this,"_defaultAttributes");v(this,"_embeddedLanguagesMatcher");v(this,"_getBasicScopeAttributes",new zu(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new ri(n,r)}));this._defaultAttributes=new ri(t,8),this._embeddedLanguagesMatcher=new G0(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?pn._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(pn.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[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!")}};v(pn,"_NULL_SCOPE_METADATA",new ri(0,0)),v(pn,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let Vi=pn;class G0{constructor(t){v(this,"values");v(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>Wu(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class na{constructor(t,n){v(this,"stack");v(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function Yu(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const p=W0(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new na(o,!0);d()}return new na(o,!1);function d(){const p=z0(e,t,n,r,o,u);if(!p){i.produce(o,a),c=!0;return}const m=p.captureIndices,b=p.matchedRuleId,E=m&&m.length>0?m[0].end>r:!1;if(b===$0){const P=o.getRule(e);i.produce(o,m[0].start),o=o.withContentNameScopesList(o.nameScopesList),Dn(e,t,n,o,i,P.endCaptures,m),i.produce(o,m[0].end);const C=o;if(o=o.parent,u=C.getAnchorPos(),!E&&C.getEnterPos()===r){o=C,i.produce(o,a),c=!0;return}}else{const P=e.getRule(b);i.produce(o,m[0].start);const C=o,h=P.getName(t.content,m),w=o.contentNameScopesList.pushAttributed(h,e);if(o=o.push(b,r,u,m[0].end===a,null,w,w),P instanceof Hi){const T=P;Dn(e,t,n,o,i,T.beginCaptures,m),i.produce(o,m[0].end),u=m[0].end;const R=T.getContentName(t.content,m),$=w.pushAttributed(R,e);if(o=o.withContentNameScopesList($),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,m))),!E&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(P instanceof fo){const T=P;Dn(e,t,n,o,i,T.beginCaptures,m),i.produce(o,m[0].end),u=m[0].end;const R=T.getContentName(t.content,m),$=w.pushAttributed(R,e);if(o=o.withContentNameScopesList($),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,m))),!E&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(Dn(e,t,n,o,i,P.captures,m),i.produce(o,m[0].end),o=o.pop(),!E){o=o.safePop(),i.produce(o,a),c=!0;return}}m[0].end>r&&(r=m[0].end,n=!1)}}function W0(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof fo&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=J0(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Ku){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),Dn(e,t,n,a.stack,i,a.rule.whileCaptures,f.captureIndices),i.produce(a.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=a.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function z0(e,t,n,r,o,i){const s=q0(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=K0(l,e,t,n,r,o,i);if(!a)return s;if(!s)return a;const c=s.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:s}function q0(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=Xu(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function K0(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const m=e[d];if(!m.matcher(f))continue;const b=t.getRule(m.ruleId),{ruleScanner:E,findOptions:P}=Xu(b,t,null,r,o===s),C=E.findNextMatchSync(n,o,P);if(!C)continue;const h=C.captureIndices[0].start;if(!(h>=l)&&(l=h,a=C.captureIndices,c=C.ruleId,u=m.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function Xu(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function J0(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Dn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const b=d.getName(l,s),E=r.contentNameScopesList.pushAttributed(b,e),P=d.getContentName(l,s),C=E.pushAttributed(P,e),h=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,E,C),w=e.createOnigString(l.substring(0,p.end));Yu(e,w,n&&p.start===0,p.start,h,o,!1,0),Vu(w);continue}const m=d.getName(l,s);if(m!==null){const E=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(m,e);c.push(new Y0(E,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Y0{constructor(t,n){v(this,"scopes");v(this,"endPos");this.scopes=t,this.endPos=n}}function X0(e,t,n,r,o,i,s,l){return new Z0(e,t,n,r,o,i,s,l)}function ra(e,t,n,r,o){const i=co(t,po),s=Re.getCompiledRuleId(n,r,o.repository);for(const l of i)e.push({debugSelector:t,matcher:l.matcher,ruleId:s,grammar:o,priority:l.priority})}function po(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(Q0(t[o],r))return n=o+1,!0;return!1})}function Q0(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}class Z0{constructor(t,n,r,o,i,s,l,a){v(this,"_rootScopeName");v(this,"balancedBracketSelectors");v(this,"_onigLib");v(this,"_rootId");v(this,"_lastRuleId");v(this,"_ruleId2desc");v(this,"_includedGrammars");v(this,"_grammarRepository");v(this,"_grammar");v(this,"_injections");v(this,"_basicScopeAttributesProvider");v(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new Vi(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=oa(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=co(c,po);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:i[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:i=>i===this._rootScopeName?this._grammar:this.getExternalGrammar(i),injections:i=>this._grammarRepository.injections(i)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const i=o.injections;if(i)for(let l in i)ra(n,l,i[l],this,o);const s=this._grammarRepository.injections(r);s&&s.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&ra(n,c,a,this,a)}})}return n.sort((i,s)=>i.priority-s.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=oa(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=Re.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===ar.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=An.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let m;p?m=$e.createRootAndLookUpScopeName(p,d,this):m=$e.createRoot("unknown",d),n=new ar(null,this._rootId,-1,-1,!1,null,m,m)}else i=!1,n.reset();t=t+`
|
|
19
|
-
`;const s=this.createOnigString(t),l=s.content.length,a=new ty(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Yu(this,s,i,0,n,a,!0,o);return Vu(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function oa(e,t){return e=E0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class $e{constructor(t,n,r){v(this,"parent");v(this,"scopePath");v(this,"tokenAttributes");this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=Qt.push(o,i.scopeNames),r=new $e(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new $e(null,new Qt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Qt(null,t),s=r.themeProvider.themeMatch(i),l=$e.mergeAttributes(n,o,s);return new $e(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return $e.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),An.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return $e._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=$e._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),l=$e.mergeAttributes(t.tokenAttributes,o,s);return new $e(t,i,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}}const yt=class yt{constructor(t,n,r,o,i,s,l,a){v(this,"parent");v(this,"ruleId");v(this,"beginRuleCapturedEOL");v(this,"endRule");v(this,"nameScopesList");v(this,"contentNameScopesList");v(this,"_stackElementBrand");v(this,"_enterPos");v(this,"_anchorPos");v(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:yt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?$e.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){yt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new yt(this,t,n,r,o,i,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new yt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=$e.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new yt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,$e.fromExtension(r,n.contentNameScopesList))}};v(yt,"NULL",new yt(null,0,0,0,!1,null,null,null));let ar=yt;class ey{constructor(t,n){v(this,"balancedBracketScopes");v(this,"unbalancedBracketScopes");v(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):co(r,po).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>co(r,po).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class ty{constructor(t,n,r,o){v(this,"balancedBracketSelectors");v(this,"_emitBinaryTokens");v(this,"_lineText");v(this,"_tokens");v(this,"_binaryTokens");v(this,"_lastTokenEndIndex");v(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(i=An.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=An.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,i=this._binaryTokens.length;o<i;o++)r[o]=this._binaryTokens[o];return r}}class ny{constructor(t,n){v(this,"_onigLibPromise");v(this,"_grammars",new Map);v(this,"_rawGrammars",new Map);v(this,"_injectionGrammars",new Map);v(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,i){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,X0(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let ry=class{constructor(t){v(this,"_options");v(this,"_syncRegistry");v(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new ny(Bi.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Bi.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new ey(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new S0(this._syncRegistry,t);for(;s.Q.length>0;)await Promise.all(s.Q.map(l=>this._loadSingleGrammar(l.scopeName))),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}};const oy=ar.NULL,Ae={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class vt{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Ae.LANGUAGEID_MASK)>>>Ae.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Ae.TOKEN_TYPE_MASK)>>>Ae.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Ae.FONT_STYLE_MASK)>>>Ae.FONT_STYLE_OFFSET}static getForeground(t){return(t&Ae.FOREGROUND_MASK)>>>Ae.FOREGROUND_OFFSET}static getBackground(t){return(t&Ae.BACKGROUND_MASK)>>>Ae.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Ae.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=vt.getLanguageId(t),a=vt.getTokenType(t),c=vt.getFontStyle(t),u=vt.getForeground(t),f=vt.getBackground(t);const d=vt.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Xe.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<Ae.LANGUAGEID_OFFSET|a<<Ae.TOKEN_TYPE_OFFSET|c<<Ae.FONT_STYLE_OFFSET|d<<Ae.BALANCED_BRACKETS_OFFSET|u<<Ae.FOREGROUND_OFFSET|f<<Ae.BACKGROUND_OFFSET)>>>0}}const iy=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class mr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}mr.prototype.property={};mr.prototype.normal={};mr.prototype.space=null;function Qu(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new mr(n,r,t)}function ji(e){return e.toLowerCase()}class Ke{constructor(t,n){this.property=t,this.attribute=n}}Ke.prototype.space=null;Ke.prototype.boolean=!1;Ke.prototype.booleanish=!1;Ke.prototype.overloadedBoolean=!1;Ke.prototype.number=!1;Ke.prototype.commaSeparated=!1;Ke.prototype.spaceSeparated=!1;Ke.prototype.commaOrSpaceSeparated=!1;Ke.prototype.mustUseProperty=!1;Ke.prototype.defined=!1;let sy=0;const ee=un(),ve=un(),Zu=un(),O=un(),pe=un(),En=un(),je=un();function un(){return 2**++sy}var Fi=Object.freeze({__proto__:null,boolean:ee,booleanish:ve,commaOrSpaceSeparated:je,commaSeparated:En,number:O,overloadedBoolean:Zu,spaceSeparated:pe});const oi=Object.keys(Fi);class Rs extends Ke{constructor(t,n,r,o){let i=-1;if(super(t,n),ia(this,"space",o),typeof r=="number")for(;++i<oi.length;){const s=oi[i];ia(this,oi[i],(r&Fi[s])===Fi[s])}}}Rs.prototype.defined=!0;function ia(e,t,n){n&&(e[t]=n)}const ly={}.hasOwnProperty;function kn(e){const t={},n={};let r;for(r in e.properties)if(ly.call(e.properties,r)){const o=e.properties[r],i=new Rs(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ji(r)]=r,n[ji(i.attribute)]=r}return new mr(t,n,e.space)}const ef=kn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),tf=kn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function nf(e,t){return t in e?e[t]:t}function rf(e,t){return nf(e,t.toLowerCase())}const of=kn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:rf,properties:{xmlns:null,xmlnsXLink:null}}),sf=kn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ve,ariaAutoComplete:null,ariaBusy:ve,ariaChecked:ve,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:ve,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:ve,ariaFlowTo:pe,ariaGrabbed:ve,ariaHasPopup:null,ariaHidden:ve,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:O,ariaLive:null,ariaModal:ve,ariaMultiLine:ve,ariaMultiSelectable:ve,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:ve,ariaReadOnly:ve,ariaRelevant:null,ariaRequired:ve,ariaRoleDescription:pe,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:ve,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null}}),ay=kn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:rf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:En,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:ee,allowPaymentRequest:ee,allowUserMedia:ee,alt:null,as:null,async:ee,autoCapitalize:null,autoComplete:pe,autoFocus:ee,autoPlay:ee,capture:ee,charSet:null,checked:ee,cite:null,className:pe,cols:O,colSpan:null,content:null,contentEditable:ve,controls:ee,controlsList:pe,coords:O|En,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ee,defer:ee,dir:null,dirName:null,disabled:ee,download:Zu,draggable:ve,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ee,formTarget:null,headers:pe,height:O,hidden:ee,high:O,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ee,itemId:null,itemProp:pe,itemRef:pe,itemScope:ee,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ee,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:ee,muted:ee,name:null,nonce:null,noModule:ee,noValidate:ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ee,optimum:O,pattern:null,ping:pe,placeholder:null,playsInline:ee,poster:null,preload:null,readOnly:ee,referrerPolicy:null,rel:pe,required:ee,reversed:ee,rows:O,rowSpan:O,sandbox:pe,scope:null,scoped:ee,seamless:ee,selected:ee,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:ve,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:ee,useMap:null,value:ve,width:O,wrap:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ee,declare:ee,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:ee,noHref:ee,noShade:ee,noWrap:ee,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:ve,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ee,disableRemotePlayback:ee,prefix:null,property:null,results:O,security:null,unselectable:null}}),cy=kn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:nf,properties:{about:je,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:pe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:En,g2:En,glyphName:En,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:je,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:je,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:je,rev:je,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:je,requiredFeatures:je,requiredFonts:je,requiredFormats:je,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:je,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:je,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:je,to:null,transform:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),uy=/^data[-\w.:]+$/i,sa=/-[a-z]/g,fy=/[A-Z]/g;function dy(e,t){const n=ji(t);let r=t,o=Ke;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&uy.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(sa,hy);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!sa.test(i)){let s=i.replace(fy,py);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=Rs}return new o(r,t)}function py(e){return"-"+e.toLowerCase()}function hy(e){return e.charAt(1).toUpperCase()}const my=Qu([tf,ef,of,sf,ay],"html"),lf=Qu([tf,ef,of,sf,cy],"svg"),la={}.hasOwnProperty;function gy(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&la.call(o,e)){const a=String(o[e]);s=la.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function _y(e,t){if(e=e.replace(t.subset?yy(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function yy(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function vy(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function by(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const wy=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],ii={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Ey=["cent","copy","divide","gt","lt","not","para","times"],af={}.hasOwnProperty,Ui={};let Or;for(Or in ii)af.call(ii,Or)&&(Ui[ii[Or]]=Or);function Cy(e,t,n,r){const o=String.fromCharCode(e);if(af.call(Ui,o)){const i=Ui[o],s="&"+i;return n&&wy.includes(i)&&!Ey.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function Ty(e,t,n){let r=vy(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=Cy(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=by(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Cn(e,t){return _y(e,Object.assign({format:Ty},t))}function Py(e,t,n,r){return r.settings.bogusComments?"<?"+Cn(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(i){return Cn(i,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function Ry(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function aa(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function Sy(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Ay(e){return e.join(" ").trim()}const xy=/[ \t\n\f\r]/g;function Ss(e){return typeof e=="object"?e.type==="text"?ca(e.value):!1:ca(e)}function ca(e){return e.replace(xy,"")===""}const Te=uf(1),cf=uf(-1),Ly=[];function uf(e){return t;function t(n,r,o){const i=n?n.children:Ly;let s=(r||0)+e,l=i[s];if(!o)for(;l&&Ss(l);)s+=e,l=i[s];return l}}const Oy={}.hasOwnProperty;function ff(e){return t;function t(n,r,o){return Oy.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const As=ff({body:Iy,caption:si,colgroup:si,dd:My,dt:Dy,head:si,html:ky,li:$y,optgroup:Hy,option:By,p:Ny,rp:ua,rt:ua,tbody:jy,td:fa,tfoot:Fy,th:fa,thead:Vy,tr:Uy});function si(e,t,n){const r=Te(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ss(r.value.charAt(0)))}function ky(e,t,n){const r=Te(n,t);return!r||r.type!=="comment"}function Iy(e,t,n){const r=Te(n,t);return!r||r.type!=="comment"}function Ny(e,t,n){const r=Te(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function $y(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Dy(e,t,n){const r=Te(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function My(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function ua(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Hy(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function By(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Vy(e,t,n){const r=Te(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function jy(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Fy(e,t,n){return!Te(n,t)}function Uy(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function fa(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Gy=ff({body:qy,colgroup:Ky,head:zy,html:Wy,tbody:Jy});function Wy(e){const t=Te(e,-1);return!t||t.type!=="comment"}function zy(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function qy(e){const t=Te(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ss(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Ky(e,t,n){const r=cf(n,t),o=Te(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&As(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function Jy(e,t,n){const r=cf(n,t),o=Te(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&As(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const kr={name:[[`
|
|
19
|
+
`;const s=this.createOnigString(t),l=s.content.length,a=new ty(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Yu(this,s,i,0,n,a,!0,o);return Vu(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function oa(e,t){return e=E0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class $e{constructor(t,n,r){v(this,"parent");v(this,"scopePath");v(this,"tokenAttributes");this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=Qt.push(o,i.scopeNames),r=new $e(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new $e(null,new Qt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Qt(null,t),s=r.themeProvider.themeMatch(i),l=$e.mergeAttributes(n,o,s);return new $e(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return $e.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),An.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return $e._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=$e._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),l=$e.mergeAttributes(t.tokenAttributes,o,s);return new $e(t,i,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}}const yt=class yt{constructor(t,n,r,o,i,s,l,a){v(this,"parent");v(this,"ruleId");v(this,"beginRuleCapturedEOL");v(this,"endRule");v(this,"nameScopesList");v(this,"contentNameScopesList");v(this,"_stackElementBrand");v(this,"_enterPos");v(this,"_anchorPos");v(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:yt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?$e.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){yt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new yt(this,t,n,r,o,i,s,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new yt(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=$e.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new yt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,$e.fromExtension(r,n.contentNameScopesList))}};v(yt,"NULL",new yt(null,0,0,0,!1,null,null,null));let ar=yt;class ey{constructor(t,n){v(this,"balancedBracketScopes");v(this,"unbalancedBracketScopes");v(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):co(r,po).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>co(r,po).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class ty{constructor(t,n,r,o){v(this,"balancedBracketSelectors");v(this,"_emitBinaryTokens");v(this,"_lineText");v(this,"_tokens");v(this,"_binaryTokens");v(this,"_lastTokenEndIndex");v(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=(t==null?void 0:t.tokenAttributes)??0,s=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(i=An.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=An.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,i=this._binaryTokens.length;o<i;o++)r[o]=this._binaryTokens[o];return r}}class ny{constructor(t,n){v(this,"_onigLibPromise");v(this,"_grammars",new Map);v(this,"_rawGrammars",new Map);v(this,"_injectionGrammars",new Map);v(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,i){if(!this._grammars.has(t)){let s=this._rawGrammars.get(t);if(!s)return null;this._grammars.set(t,X0(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let ry=class{constructor(t){v(this,"_options");v(this,"_syncRegistry");v(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new ny(Bi.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Bi.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new ey(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new S0(this._syncRegistry,t);for(;s.Q.length>0;)await Promise.all(s.Q.map(l=>this._loadSingleGrammar(l.scopeName))),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}};const oy=ar.NULL,Ae={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class vt{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Ae.LANGUAGEID_MASK)>>>Ae.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Ae.TOKEN_TYPE_MASK)>>>Ae.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Ae.FONT_STYLE_MASK)>>>Ae.FONT_STYLE_OFFSET}static getForeground(t){return(t&Ae.FOREGROUND_MASK)>>>Ae.FOREGROUND_OFFSET}static getBackground(t){return(t&Ae.BACKGROUND_MASK)>>>Ae.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Ae.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=vt.getLanguageId(t),a=vt.getTokenType(t),c=vt.getFontStyle(t),u=vt.getForeground(t),f=vt.getBackground(t);const d=vt.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Xe.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<Ae.LANGUAGEID_OFFSET|a<<Ae.TOKEN_TYPE_OFFSET|c<<Ae.FONT_STYLE_OFFSET|d<<Ae.BALANCED_BRACKETS_OFFSET|u<<Ae.FOREGROUND_OFFSET|f<<Ae.BACKGROUND_OFFSET)>>>0}}function Rs(e){return Array.from(e.matchAll(/^.*$/mg)).map(t=>[t[0],t.index])}function Qu(e){return!e||["plaintext","txt","text","plain"].includes(e)}function iy(e){return e==="ansi"||Qu(e)}function Zu(e,t){return(t==null?void 0:t[e.toLowerCase()])||e}var Kt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],oi={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function sy(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function ia(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function ly(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)oi[o]&&t.push({type:"setDecoration",value:oi[o]});else if(o<=29){const i=oi[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Kt[o-30]}});else if(o===38){const[i,s]=ia(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Kt[o-40]}});else if(o===48){const[i,s]=ia(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Kt[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Kt[o-100+8]}})}return t}function ay(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=sy(r,i),l=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const a=ly(s.sequence);for(const c of a)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=s.position}while(i<r.length);return o}}}var cy={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 uy(e=cy){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Kt.length;c++)r.push(t(Kt[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function i(l){return o()[l]}function s(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return i(l.index)}}return{value:s}}function fy(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=Rs(t),i=uy(Object.fromEntries(Kt.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=ay();return o.map(l=>s.parse(l[0]).map(a=>{let c;a.decorations.has("reverse")?c=a.background?i.value(a.background):e.bg:c=a.foreground?i.value(a.foreground):e.fg,c=Zu(c,r),a.decorations.has("dim")&&(c=dy(c));let u=Xe.None;return a.decorations.has("bold")&&(u|=Xe.Bold),a.decorations.has("italic")&&(u|=Xe.Italic),a.decorations.has("underline")&&(u|=Xe.Underline),{content:a.value,offset:l[1],color:c,fontStyle:u}}))}function dy(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Ss(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(Qu(r))return Rs(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return fy(i,t,n);const l=e.getLangGrammar(r);return py(t,l,i,s,n)}function py(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},s=Rs(e);let l=oy,a=[];const c=[];for(let u=0,f=s.length;u<f;u++){const[d,p]=s[u];if(d===""){a=[],c.push([]);continue}let m,b,E;o.includeExplanation&&(m=t.tokenizeLine(d,l),b=m.tokens,E=0);const P=t.tokenizeLine2(d,l),C=P.tokens.length/2;for(let h=0;h<C;h++){const w=P.tokens[2*h],T=h+1<C?P.tokens[2*h+2]:d.length;if(w===T)continue;const R=P.tokens[2*h+1],$=vt.getForeground(R),F=Zu(r[$],i),V=vt.getFontStyle(R),M={content:d.substring(w,T),offset:p+w,color:F,fontStyle:V};if(o.includeExplanation){M.explanation=[];let Q=0;for(;w+Q<T;){const z=b[E],ne=d.substring(z.startIndex,z.endIndex);Q+=ne.length,M.explanation.push({content:ne,scopes:hy(n,z.scopes)}),E+=1}}a.push(M)}c.push(a),a=[],l=P.ruleStack}return c}function hy(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t.slice(0,r),s=t[r];n[r]={scopeName:s,themeMatches:gy(e,s,i)}}return n}function sa(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function my(e,t,n,r){if(!sa(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)sa(t[o],r[i])&&(o-=1),i-=1;return o===-1}function gy(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],m=d.slice(0,d.length-1);my(p,m,t,n)&&(r[o++]=l,c=u)}}return r}function ef(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=_y(...r.map(s=>Ss(e,t,{...n,theme:s.theme,includeExplanation:!1})));return o[0].map((s,l)=>s.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:p,explanation:m,offset:b,...E}=f[l][c];u.variants[r[d].color]=E}),u}))}function _y(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),i=t.map(()=>[]);t.forEach((a,c)=>a.push(i[c]));const s=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(i[c].push(u),s[c]+=1,l[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return t}function ho(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>ho(e,o,i)}){var f,d;let o=t;for(const p of n.transformers||[])o=((f=p.preprocess)==null?void 0:f.call(r,o,n))||o;let i,s,l,a,c;if("themes"in n){const{defaultColor:p="light",cssVariablePrefix:m="--shiki-"}=n,b=Object.entries(n.themes).filter(h=>h[1]).map(h=>({color:h[0],theme:h[1]})).sort((h,w)=>h.color===p?-1:w.color===p?1:0);if(b.length===0)throw new Error("[shikiji] `themes` option must not be empty");const E=ef(e,o,n);if(p&&!b.find(h=>h.color===p))throw new Error(`[shikiji] \`themes\` option must contain the defaultColor key \`${p}\``);const P=b.map(h=>e.getTheme(h.theme)),C=b.map(h=>h.color);l=E.map(h=>h.map(w=>yy(w,C,m,p))),s=b.map((h,w)=>(w===0&&p?"":`${m+h.color}:`)+P[w].fg).join(";"),i=b.map((h,w)=>(w===0&&p?"":`${m+h.color}-bg:`)+P[w].bg).join(";"),a=`shiki-themes ${P.map(h=>h.name).join(" ")}`,c=p?void 0:[s,i].join(";")}else if("theme"in n){l=Ss(e,o,{...n,includeExplanation:!1});const p=e.getTheme(n.theme);i=p.bg,s=p.fg,a=p.name}else throw new Error("[shikiji] Invalid options, either `theme` or `themes` must be provided");const{mergeWhitespaces:u=!0}=n;u===!0?l=by(l):u==="never"&&(l=wy(l));for(const p of n.transformers||[])l=((d=p.tokens)==null?void 0:d.call(r,l))||l;return vy(l,{...n,fg:s,bg:i,themeName:a,rootStyle:c},r)}function yy(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>tf(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=n+t[u]+(f==="color"?"":`-${f}`);a[f]?a[f]+=`;${p}:${d}`:a[f]=`${p}:${d}`}}return a},{});return o.htmlStyle=r?nf(l):Object.values(l).join(";"),o}function vy(e,t,n){var f,d,p;const{transformers:r=[]}=t,o=[],i={type:"root",children:[]};let s={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([m])=>!m.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const a=[],c={...n,get tokens(){return e},get options(){return t},get root(){return i},get pre(){return s},get code(){return l},get lines(){return a}};e.forEach((m,b)=>{var C,h;b&&o.push({type:"text",value:`
|
|
20
|
+
`});let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},P=0;for(const w of m){let T={type:"element",tagName:"span",properties:{},children:[{type:"text",value:w.content}]};const R=w.htmlStyle||nf(tf(w));R&&(T.properties.style=R);for(const $ of r)T=((C=($==null?void 0:$.span)||($==null?void 0:$.token))==null?void 0:C.call(c,T,b+1,P,E))||T;E.children.push(T),P+=w.content.length}for(const w of r)E=((h=w==null?void 0:w.line)==null?void 0:h.call(c,E,b+1))||E;a.push(E),o.push(E)});for(const m of r)l=((f=m==null?void 0:m.code)==null?void 0:f.call(c,l))||l;s.children.push(l);for(const m of r)s=((d=m==null?void 0:m.pre)==null?void 0:d.call(c,s))||s;i.children.push(s);let u=i;for(const m of r)u=((p=m==null?void 0:m.root)==null?void 0:p.call(c,u))||u;return u}function tf(e){const t={};return e.color&&(t.color=e.color),e.fontStyle&&(e.fontStyle&Xe.Italic&&(t["font-style"]="italic"),e.fontStyle&Xe.Bold&&(t["font-weight"]="bold"),e.fontStyle&Xe.Underline&&(t["text-decoration"]="underline")),t}function nf(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function by(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&Xe.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,content:r+i.content}):n.push({content:r,offset:o},i),r=""):n.push(i)}),n})}function wy(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const l=[{...n,offset:n.offset+o.length,content:i}];return o&&l.unshift({content:o,offset:n.offset}),s&&l.push({content:s,offset:n.offset+o.length+i.length}),l}))}const Ey=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class mr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}mr.prototype.property={};mr.prototype.normal={};mr.prototype.space=null;function rf(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new mr(n,r,t)}function ji(e){return e.toLowerCase()}class Ke{constructor(t,n){this.property=t,this.attribute=n}}Ke.prototype.space=null;Ke.prototype.boolean=!1;Ke.prototype.booleanish=!1;Ke.prototype.overloadedBoolean=!1;Ke.prototype.number=!1;Ke.prototype.commaSeparated=!1;Ke.prototype.spaceSeparated=!1;Ke.prototype.commaOrSpaceSeparated=!1;Ke.prototype.mustUseProperty=!1;Ke.prototype.defined=!1;let Cy=0;const ee=un(),ve=un(),of=un(),O=un(),pe=un(),En=un(),je=un();function un(){return 2**++Cy}var Fi=Object.freeze({__proto__:null,boolean:ee,booleanish:ve,commaOrSpaceSeparated:je,commaSeparated:En,number:O,overloadedBoolean:of,spaceSeparated:pe});const ii=Object.keys(Fi);class As extends Ke{constructor(t,n,r,o){let i=-1;if(super(t,n),la(this,"space",o),typeof r=="number")for(;++i<ii.length;){const s=ii[i];la(this,ii[i],(r&Fi[s])===Fi[s])}}}As.prototype.defined=!0;function la(e,t,n){n&&(e[t]=n)}const Ty={}.hasOwnProperty;function kn(e){const t={},n={};let r;for(r in e.properties)if(Ty.call(e.properties,r)){const o=e.properties[r],i=new As(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ji(r)]=r,n[ji(i.attribute)]=r}return new mr(t,n,e.space)}const sf=kn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),lf=kn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function af(e,t){return t in e?e[t]:t}function cf(e,t){return af(e,t.toLowerCase())}const uf=kn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:cf,properties:{xmlns:null,xmlnsXLink:null}}),ff=kn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ve,ariaAutoComplete:null,ariaBusy:ve,ariaChecked:ve,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:ve,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:ve,ariaFlowTo:pe,ariaGrabbed:ve,ariaHasPopup:null,ariaHidden:ve,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:O,ariaLive:null,ariaModal:ve,ariaMultiLine:ve,ariaMultiSelectable:ve,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:ve,ariaReadOnly:ve,ariaRelevant:null,ariaRequired:ve,ariaRoleDescription:pe,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:ve,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null}}),Py=kn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:cf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:En,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:ee,allowPaymentRequest:ee,allowUserMedia:ee,alt:null,as:null,async:ee,autoCapitalize:null,autoComplete:pe,autoFocus:ee,autoPlay:ee,capture:ee,charSet:null,checked:ee,cite:null,className:pe,cols:O,colSpan:null,content:null,contentEditable:ve,controls:ee,controlsList:pe,coords:O|En,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ee,defer:ee,dir:null,dirName:null,disabled:ee,download:of,draggable:ve,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ee,formTarget:null,headers:pe,height:O,hidden:ee,high:O,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ee,itemId:null,itemProp:pe,itemRef:pe,itemScope:ee,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ee,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:ee,muted:ee,name:null,nonce:null,noModule:ee,noValidate:ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ee,optimum:O,pattern:null,ping:pe,placeholder:null,playsInline:ee,poster:null,preload:null,readOnly:ee,referrerPolicy:null,rel:pe,required:ee,reversed:ee,rows:O,rowSpan:O,sandbox:pe,scope:null,scoped:ee,seamless:ee,selected:ee,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:ve,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:ee,useMap:null,value:ve,width:O,wrap:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ee,declare:ee,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:ee,noHref:ee,noShade:ee,noWrap:ee,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:ve,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ee,disableRemotePlayback:ee,prefix:null,property:null,results:O,security:null,unselectable:null}}),Ry=kn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:af,properties:{about:je,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:pe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:En,g2:En,glyphName:En,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:je,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:je,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:je,rev:je,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:je,requiredFeatures:je,requiredFonts:je,requiredFormats:je,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:je,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:je,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:je,to:null,transform:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Sy=/^data[-\w.:]+$/i,aa=/-[a-z]/g,Ay=/[A-Z]/g;function xy(e,t){const n=ji(t);let r=t,o=Ke;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Sy.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(aa,Oy);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!aa.test(i)){let s=i.replace(Ay,Ly);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=As}return new o(r,t)}function Ly(e){return"-"+e.toLowerCase()}function Oy(e){return e.charAt(1).toUpperCase()}const ky=rf([lf,sf,uf,ff,Py],"html"),df=rf([lf,sf,uf,ff,Ry],"svg"),ca={}.hasOwnProperty;function Iy(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&ca.call(o,e)){const a=String(o[e]);s=ca.call(l,a)?l[a]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function Ny(e,t){if(e=e.replace(t.subset?$y(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function $y(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function Dy(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function My(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const Hy=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],si={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},By=["cent","copy","divide","gt","lt","not","para","times"],pf={}.hasOwnProperty,Ui={};let Or;for(Or in si)pf.call(si,Or)&&(Ui[si[Or]]=Or);function Vy(e,t,n,r){const o=String.fromCharCode(e);if(pf.call(Ui,o)){const i=Ui[o],s="&"+i;return n&&Hy.includes(i)&&!By.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function jy(e,t,n){let r=Dy(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=Vy(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=My(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Cn(e,t){return Ny(e,Object.assign({format:jy},t))}function Fy(e,t,n,r){return r.settings.bogusComments?"<?"+Cn(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(i){return Cn(i,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function Uy(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function ua(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function Gy(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Wy(e){return e.join(" ").trim()}const zy=/[ \t\n\f\r]/g;function xs(e){return typeof e=="object"?e.type==="text"?fa(e.value):!1:fa(e)}function fa(e){return e.replace(zy,"")===""}const Te=mf(1),hf=mf(-1),qy=[];function mf(e){return t;function t(n,r,o){const i=n?n.children:qy;let s=(r||0)+e,l=i[s];if(!o)for(;l&&xs(l);)s+=e,l=i[s];return l}}const Ky={}.hasOwnProperty;function gf(e){return t;function t(n,r,o){return Ky.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ls=gf({body:Yy,caption:li,colgroup:li,dd:ev,dt:Zy,head:li,html:Jy,li:Qy,optgroup:tv,option:nv,p:Xy,rp:da,rt:da,tbody:ov,td:pa,tfoot:iv,th:pa,thead:rv,tr:sv});function li(e,t,n){const r=Te(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&xs(r.value.charAt(0)))}function Jy(e,t,n){const r=Te(n,t);return!r||r.type!=="comment"}function Yy(e,t,n){const r=Te(n,t);return!r||r.type!=="comment"}function Xy(e,t,n){const r=Te(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Qy(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Zy(e,t,n){const r=Te(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function ev(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function da(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function tv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function nv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function rv(e,t,n){const r=Te(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function ov(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function iv(e,t,n){return!Te(n,t)}function sv(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function pa(e,t,n){const r=Te(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const lv=gf({body:uv,colgroup:fv,head:cv,html:av,tbody:dv});function av(e){const t=Te(e,-1);return!t||t.type!=="comment"}function cv(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function uv(e){const t=Te(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&xs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function fv(e,t,n){const r=hf(n,t),o=Te(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ls(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function dv(e,t,n){const r=hf(n,t),o=Te(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ls(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const kr={name:[[`
|
|
20
21
|
\f\r &/=>`.split(""),`
|
|
21
22
|
\f\r "&'/=>\``.split("")],[`\0
|
|
22
23
|
\f\r "&'/<=>`.split(""),`\0
|
|
@@ -24,13 +25,12 @@ var Sf=Object.defineProperty;var Af=(e,t,n)=>t in e?Sf(e,t,{enumerable:!0,config
|
|
|
24
25
|
\f\r &>`.split(""),`\0
|
|
25
26
|
\f\r "&'<=>\``.split("")],[`\0
|
|
26
27
|
\f\r "&'<=>\``.split(""),`\0
|
|
27
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Yy(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=lf);const c=Xy(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!Gy(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!i||!As(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function Xy(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Qy(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function Qy(e,t,n){const r=dy(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const a=Cn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:kr.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Sy:Ay)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Cn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:kr.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&aa(n,s)>aa(n,e.alternative)&&(s=e.alternative),l=s+Cn(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?kr.single:kr.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function df(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Cn(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Zy(e,t,n,r){return r.settings.allowDangerousHtml?e.value:df(e,t,n,r)}function ev(e,t,n,r){return r.all(e)}const tv=gy("type",{invalid:nv,unknown:rv,handlers:{comment:Py,doctype:Ry,element:Yy,raw:Zy,root:ev,text:df}});function nv(e){throw new Error("Expected node, not `"+e+"`")}function rv(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const ov={},iv={},sv=[];function lv(e,t){const n=t||ov,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:av,all:cv,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||iy,characterReferences:n.characterReferences||iv,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?lf:my,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function av(e,t,n){return tv(e,t,n,this)}function cv(e){const t=[],n=e&&e.children||sv;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function xs(e){return Array.from(e.matchAll(/^.*$/mg)).map(t=>[t[0],t.index])}function pf(e){return!e||["plaintext","txt","text","plain"].includes(e)}function uv(e){return e==="ansi"||pf(e)}function hf(e,t){return(t==null?void 0:t[e.toLowerCase()])||e}var Kt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],li={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function fv(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function da(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function dv(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)li[o]&&t.push({type:"setDecoration",value:li[o]});else if(o<=29){const i=li[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Kt[o-30]}});else if(o===38){const[i,s]=da(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Kt[o-40]}});else if(o===48){const[i,s]=da(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Kt[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Kt[o-100+8]}})}return t}function pv(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=fv(r,i),l=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const a=dv(s.sequence);for(const c of a)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=s.position}while(i<r.length);return o}}}var hv={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 mv(e=hv){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Kt.length;c++)r.push(t(Kt[c]));let l=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function i(l){return o()[l]}function s(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return i(l.index)}}return{value:s}}function gv(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=xs(t),i=mv(Object.fromEntries(Kt.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=pv();return o.map(l=>s.parse(l[0]).map(a=>{let c;a.decorations.has("reverse")?c=a.background?i.value(a.background):e.bg:c=a.foreground?i.value(a.foreground):e.fg,c=hf(c,r),a.decorations.has("dim")&&(c=_v(c));let u=Xe.None;return a.decorations.has("bold")&&(u|=Xe.Bold),a.decorations.has("italic")&&(u|=Xe.Italic),a.decorations.has("underline")&&(u|=Xe.Underline),{content:a.value,offset:l[1],color:c,fontStyle:u}}))}function _v(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Ls(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(pf(r))return xs(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return gv(i,t,n);const l=e.getLangGrammar(r);return yv(t,l,i,s,n)}function yv(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},s=xs(e);let l=oy,a=[];const c=[];for(let u=0,f=s.length;u<f;u++){const[d,p]=s[u];if(d===""){a=[],c.push([]);continue}let m,b,E;o.includeExplanation&&(m=t.tokenizeLine(d,l),b=m.tokens,E=0);const P=t.tokenizeLine2(d,l),C=P.tokens.length/2;for(let h=0;h<C;h++){const w=P.tokens[2*h],T=h+1<C?P.tokens[2*h+2]:d.length;if(w===T)continue;const R=P.tokens[2*h+1],$=vt.getForeground(R),F=hf(r[$],i),V=vt.getFontStyle(R),M={content:d.substring(w,T),offset:p+w,color:F,fontStyle:V};if(o.includeExplanation){M.explanation=[];let Q=0;for(;w+Q<T;){const z=b[E],ne=d.substring(z.startIndex,z.endIndex);Q+=ne.length,M.explanation.push({content:ne,scopes:vv(n,z.scopes)}),E+=1}}a.push(M)}c.push(a),a=[],l=P.ruleStack}return c}function vv(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t.slice(0,r),s=t[r];n[r]={scopeName:s,themeMatches:wv(e,s,i)}}return n}function pa(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function bv(e,t,n,r){if(!pa(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)pa(t[o],r[i])&&(o-=1),i-=1;return o===-1}function wv(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],m=d.slice(0,d.length-1);bv(p,m,t,n)&&(r[o++]=l,c=u)}}return r}function mf(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=Ev(...r.map(s=>Ls(e,t,{...n,theme:s.theme,includeExplanation:!1})));return o[0].map((s,l)=>s.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:p,explanation:m,offset:b,...E}=f[l][c];u.variants[r[d].color]=E}),u}))}function Ev(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),i=t.map(()=>[]);t.forEach((a,c)=>a.push(i[c]));const s=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(i[c].push(u),s[c]+=1,l[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a)})}}}return t}function ho(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>ho(e,o,i)}){var f,d;let o=t;for(const p of n.transformers||[])o=((f=p.preprocess)==null?void 0:f.call(r,o,n))||o;let i,s,l,a,c;if("themes"in n){const{defaultColor:p="light",cssVariablePrefix:m="--shiki-"}=n,b=Object.entries(n.themes).filter(h=>h[1]).map(h=>({color:h[0],theme:h[1]})).sort((h,w)=>h.color===p?-1:w.color===p?1:0);if(b.length===0)throw new Error("[shikiji] `themes` option must not be empty");const E=mf(e,o,n);if(p&&!b.find(h=>h.color===p))throw new Error(`[shikiji] \`themes\` option must contain the defaultColor key \`${p}\``);const P=b.map(h=>e.getTheme(h.theme)),C=b.map(h=>h.color);l=E.map(h=>h.map(w=>Cv(w,C,m,p))),s=b.map((h,w)=>(w===0&&p?"":`${m+h.color}:`)+P[w].fg).join(";"),i=b.map((h,w)=>(w===0&&p?"":`${m+h.color}-bg:`)+P[w].bg).join(";"),a=`shiki-themes ${P.map(h=>h.name).join(" ")}`,c=p?void 0:[s,i].join(";")}else if("theme"in n){l=Ls(e,o,{...n,includeExplanation:!1});const p=e.getTheme(n.theme);i=p.bg,s=p.fg,a=p.name}else throw new Error("[shikiji] Invalid options, either `theme` or `themes` must be provided");const{mergeWhitespaces:u=!0}=n;u===!0?l=Pv(l):u==="never"&&(l=Rv(l));for(const p of n.transformers||[])l=((d=p.tokens)==null?void 0:d.call(r,l))||l;return Tv(l,{...n,fg:s,bg:i,themeName:a,rootStyle:c},r)}function Cv(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>gf(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=n+t[u]+(f==="color"?"":`-${f}`);a[f]?a[f]+=`;${p}:${d}`:a[f]=`${p}:${d}`}}return a},{});return o.htmlStyle=r?_f(l):Object.values(l).join(";"),o}function Tv(e,t,n){var f,d,p;const{transformers:r=[]}=t,o=[],i={type:"root",children:[]};let s={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([m])=>!m.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const a=[],c={...n,get tokens(){return e},get options(){return t},get root(){return i},get pre(){return s},get code(){return l},get lines(){return a}};e.forEach((m,b)=>{var C,h;b&&o.push({type:"text",value:`
|
|
28
|
-
`});let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},P=0;for(const w of m){let T={type:"element",tagName:"span",properties:{},children:[{type:"text",value:w.content}]};const R=w.htmlStyle||_f(gf(w));R&&(T.properties.style=R);for(const $ of r)T=((C=($==null?void 0:$.span)||($==null?void 0:$.token))==null?void 0:C.call(c,T,b+1,P,E))||T;E.children.push(T),P+=w.content.length}for(const w of r)E=((h=w==null?void 0:w.line)==null?void 0:h.call(c,E,b+1))||E;a.push(E),o.push(E)});for(const m of r)l=((f=m==null?void 0:m.code)==null?void 0:f.call(c,l))||l;s.children.push(l);for(const m of r)s=((d=m==null?void 0:m.pre)==null?void 0:d.call(c,s))||s;i.children.push(s);let u=i;for(const m of r)u=((p=m==null?void 0:m.root)==null?void 0:p.call(c,u))||u;return u}function gf(e){const t={};return e.color&&(t.color=e.color),e.fontStyle&&(e.fontStyle&Xe.Italic&&(t["font-style"]="italic"),e.fontStyle&Xe.Bold&&(t["font-weight"]="bold"),e.fontStyle&Xe.Underline&&(t["text-decoration"]="underline")),t}function _f(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Pv(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&Xe.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,content:r+i.content}):n.push({content:r,offset:o},i),r=""):n.push(i)}),n})}function Rv(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const l=[{...n,offset:n.offset+o.length,content:i}];return o&&l.unshift({content:o,offset:n.offset}),s&&l.push({content:s,offset:n.offset+o.length+i.length}),l}))}function Sv(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>ho(e,s,l)};let o=lv(ho(e,t,n,r));for(const s of n.transformers||[])o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function Av(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,p,m){r.HEAPU8.copyWithin(d,p,p+m)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const m=l();if(d>m)return!1;const b=(E,P)=>E+(P-E%P)%P;for(let E=1;E<=4;E*=2){let P=p*(1+.2/E);P=Math.min(P,d+100663296);const C=Math.min(m,b(Math.max(d,P),65536));if(a(C))return!0}return!1}const u={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let Se=null,xv=!1;function Lv(e){throw new Error(e.UTF8ToString(e.getLastOnigError()))}class $o{constructor(t){v(this,"utf16Length");v(this,"utf8Length");v(this,"utf16Value");v(this,"utf8Value");v(this,"utf16OffsetToUtf8");v(this,"utf8OffsetToUtf16");const n=t.length,r=$o._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const De=class De{constructor(t){v(this,"id",++De.LAST_ID);v(this,"_onigBinding");v(this,"content");v(this,"utf16Length");v(this,"utf8Length");v(this,"utf16OffsetToUtf8");v(this,"utf8OffsetToUtf16");v(this,"ptr");if(!Se)throw new Error("Must invoke loadWasm first.");this._onigBinding=Se,this.content=t;const n=new $o(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!De._sharedPtrInUse?(De._sharedPtr||(De._sharedPtr=Se.omalloc(1e4)),De._sharedPtrInUse=!0,Se.HEAPU8.set(n.utf8Value,De._sharedPtr),this.ptr=De._sharedPtr):this.ptr=n.createString(Se)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===De._sharedPtr?De._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};v(De,"LAST_ID",0),v(De,"_sharedPtr",0),v(De,"_sharedPtrInUse",!1);let mo=De;class Ov{constructor(t){v(this,"_onigBinding");v(this,"_ptr");if(!Se)throw new Error("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new $o(t[l]);n[l]=c.createString(Se),r[l]=c.utf8Length}const o=Se.omalloc(4*t.length);Se.HEAPU32.set(n,o/4);const i=Se.omalloc(4*t.length);Se.HEAPU32.set(r,i/4);const s=Se.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)Se.ofree(n[l]);Se.ofree(i),Se.ofree(o),s===0&&Lv(Se),this._onigBinding=Se,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=xv,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new mo(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),m=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:m,length:m-p}}return{index:c,captureIndices:f}}}function kv(e){return typeof e.instantiator=="function"}function Iv(e){return typeof e.default=="function"}function Nv(e){return typeof e.data<"u"}function $v(e){return typeof Response<"u"&&e instanceof Response}function Dv(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Ir;function Mv(e){if(Ir)return Ir;async function t(){Se=await Av(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),kv(r)?r=await r.instantiator(n):Iv(r)?r=await r.default(n):(Nv(r)&&(r=r.data),$v(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Bv(r)(n):r=await Vv(r)(n):Dv(r)&&(r=await Hv(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Ir=t(),Ir}function Hv(e){return t=>WebAssembly.instantiate(e,t)}function Bv(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Vv(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function jv(e){return new mo(e)}function Fv(e){return new Ov(e)}const ha={light:"#333333",dark:"#bbbbbb"},ma={light:"#fffffe",dark:"#1e1e1e"},ga="__shiki_resolved";function yf(e){var l,a,c,u,f;if(e!=null&&e[ga])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?ha.light:ha.dark),n||(n=t.type==="light"?ma.light:ma.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(d){var m;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(m=t.colorReplacements)!=null&&m[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var E,P;const p=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),m=((P=d.settings)==null?void 0:P.background)&&!d.settings.background.startsWith("#");if(!p&&!m)return d;const b={...d,settings:{...d.settings}};if(p){const C=s(d.settings.foreground);t.colorReplacements[C]=d.settings.foreground,b.settings.foreground=C}if(m){const C=s(d.settings.background);t.colorReplacements[C]=d.settings.background,b.settings.background=C}return b});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,ga,{enumerable:!1,writable:!1,value:!0}),t}class Uv extends ry{constructor(n,r,o){super(n);v(this,"_resolver");v(this,"_themes");v(this,"_langs");v(this,"_resolvedThemes",{});v(this,"_resolvedGrammars",{});v(this,"_langMap",{});v(this,"_langGraph",new Map);v(this,"alias",{});this._resolver=n,this._themes=r,this._langs=o,r.forEach(i=>this.loadTheme(i)),o.forEach(i=>this.loadLanguage(i))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=yf(n);return r.name&&(this._resolvedThemes[r.name]=r),r}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(n){if(this.alias[n]){const r=new Set([n]);for(;this.alias[n];){if(n=this.alias[n],r.has(n))throw new Error(`[shikiji] Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars[n]}async loadLanguage(n){var s,l,a,c;if(this.getGrammar(n.name))return;const r=new Set(Object.values(this._langMap).filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const i=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(this._resolvedGrammars[n.name]=i,n.aliases&&n.aliases.forEach(u=>{this.alias[u]=n.name}),r.size)for(const u of r)delete this._resolvedGrammars[u.name],(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}async loadLanguages(n){for(const i of n)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),o=r.filter(([i,s])=>!s);if(o.length){const i=r.filter(([s,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(s=>!o.includes(s));throw new Error(`[shikiji] Missing languages ${o.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of r)this._resolver.addLanguage(s);for(const[i,s]of r)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys({...this._resolvedGrammars,...this.alias})}resolveEmbeddedLanguages(n){if(this._langMap[n.name]=n,this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap[r])}}class Gv{constructor(t,n){v(this,"_langs",new Map);v(this,"_scopeToLang",new Map);v(this,"_injections",new Map);v(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let Wv;async function zv(e={}){async function t(C){return Promise.resolve(typeof C=="function"?C():C).then(h=>h.default||h)}async function n(C){return Array.from(new Set((await Promise.all(C.map(async h=>await t(h).then(w=>Array.isArray(w)?w:[w])))).flat()))}const r=e.loadWasm||Wv,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(C=>C.map(yf)),n(e.langs||[]),r?Mv(r):void 0]),s=new Gv(Promise.resolve({createOnigScanner(C){return Fv(C)},createOnigString(C){return jv(C)}}),i),l=new Uv(s,o,i);Object.assign(l.alias,e.langAlias),await l.init();let a;function c(C){const h=l.getGrammar(C);if(!h)throw new Error(`[shikiji] Language \`${C}\` not found, you may need to load it first`);return h}function u(C){const h=l.getTheme(C);if(!h)throw new Error(`[shikiji] Theme \`${C}\` not found, you may need to load it first`);return h}function f(C){const h=u(C);a!==C&&(l.setTheme(h),a=C);const w=l.getColorMap();return{theme:h,colorMap:w}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function m(...C){await l.loadLanguages(await n(C))}async function b(...C){await Promise.all(C.map(async h=>l.loadTheme(await t(h))))}function E(C){Object.assign(l.alias,C)}function P(){return l.alias}return{setTheme:f,getTheme:u,getLangGrammar:c,getLoadedThemes:d,getLoadedLanguages:p,getAlias:P,updateAlias:E,loadLanguage:m,loadTheme:b}}async function qv(e={}){const t=await zv(e);return{codeToThemedTokens:(n,r)=>Ls(t,n,r),codeToTokensWithThemes:(n,r)=>mf(t,n,r),codeToHast:(n,r)=>ho(t,n,r),codeToHtml:(n,r)=>Sv(t,n,r),loadLanguage:t.loadLanguage,loadTheme:t.loadTheme,getTheme:t.getTheme,getLangGrammar:t.getLangGrammar,setTheme:t.setTheme,getLoadedThemes:t.getLoadedThemes,getLoadedLanguages:t.getLoadedLanguages,getInternalContext:()=>t}}function Kv(e,t,n){async function r(o={}){function i(u){if(typeof u=="string"){if(uv(u))return[];const f=e[u];if(!f)throw new Error(`[shikiji] Language \`${u}\` is not built-in.`);return f}return u}function s(u){if(typeof u=="string"){const f=t[u];if(!f)throw new Error(`[shikiji] Theme \`${u}\` is not built-in.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await qv({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(i))},loadTheme(...u){return c.loadTheme(...u.map(s))}}}return r}const Jv=Kv(y0,b0,m0);let Yv;const Nn=[];function Xv(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 Yv.value},configurable:!0}),()=>{Nn.splice(Nn.indexOf(e),1)}}const _t=_e(null);async function vf(){Gi.value&&(_t.value=await Gi.value("/__site-config__/debug.json"))}const Gi=_e(),bf=_e(),wf=_e();Xv(async e=>{Gi.value=e.host.app.$fetch,rc(()=>{wf.value=e.host.app.colorMode.value}),bf.value=e.devtools,vf()});const Ef=_e();function Qv(){return Jv({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Ef.value=e})}function Cf(e,t){return Ze(()=>{var r;const n=((r=bf.value)==null?void 0:r.colorMode)||"light";return Ef.value.codeToHtml(fe(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Zv=["innerHTML"],eb=Fe({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=Ze(()=>{const r=Cf(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(Y(),le("pre",{class:Ee(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Zv))}}),tb={flex:"~ gap-3","items-center":""},nb=Fe({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(Y(),le("div",tb,[t.icon?(Y(),le("div",{key:0,class:Ee(t.icon)},null,2)):lt("",!0),He(t.$slots,"default",{},()=>[G("div",null,it(t.text),1)])]))}});typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rb=e=>typeof e<"u";function ob(e){return JSON.parse(JSON.stringify(e))}function ib(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=Po(),m=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let b=c;t||(t="modelValue"),b=b||`update:${t.toString()}`;const E=h=>l?typeof l=="function"?l(h):ob(h):h,P=()=>rb(e[t])?E(e[t]):f,C=h=>{d?d(h)&&m(b,h):m(b,h)};if(a){const h=P(),w=_e(h);let T=!1;return $t(()=>e[t],R=>{T||(T=!0,w.value=E(R),fr(()=>T=!1))}),$t(w,R=>{!T&&(R!==e[t]||u)&&C(R)},{deep:u}),w}else return Ze({get(){return P()},set(h){C(h)}})}const Tf=e=>(Qa("data-v-348c1d92"),e=e(),Za(),e),sb=["open"],lb={"text-base":""},ab={key:0,"text-sm":"",op50:""},cb=Tf(()=>G("div",{class:"flex-auto"},null,-1)),ub=Tf(()=>G("div",{class:"x-divider"},null,-1)),fb=Fe({__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=ib(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Mu,l=nb;return Y(),le(we,null,[G("details",{open:fe(n),onToggle:r},[G("summary",{class:Ee(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[J(l,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ee([fe(n)?"op100":"op60",o.headerClass])},{default:ue(()=>[G("div",null,[G("div",lb,[He(o.$slots,"text",{},()=>[Oe(it(o.text),1)],!0)]),o.description||o.$slots.description?(Y(),le("div",ab,[He(o.$slots,"description",{},()=>[Oe(it(o.description),1)],!0)])):lt("",!0)]),cb,He(o.$slots,"actions",{},void 0,!0),o.collapse?(Y(),Ie(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):lt("",!0)]),_:3},8,["icon","text","class"])],2),G("div",{class:Ee(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[He(o.$slots,"details",{},void 0,!0),G("div",{class:Ee([o.containerClass,"mt1"])},[He(o.$slots,"default",{},void 0,!0)],2),He(o.$slots,"footer",{},void 0,!0)],2)],40,sb),ub],64)}}}),db=No(fb,[["__scopeId","data-v-348c1d92"]]),pb={class:"relative n-bg-base flex flex-col"},hb={class:"sticky top-0 z-2 px-4 pt-4"},mb={class:"flex justify-between items-start",mb2:""},gb={class:"flex space-x-5"},_b={"text-xl":"",flex:"","items-center":"","gap-2":""},yb={class:"flex items-center space-x-3 text-xl"},vb={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},bb={class:"px-5 py-2"},wb={"text-lg":"",flex:"","items-center":""},Eb={class:"px-5 py-2"},Cb={"text-lg":"",flex:"","items-center":""},Tb={class:"px-5 py-2"},Pb={"text-lg":"",flex:"","items-center":""},Rb={class:"px-5 py-2"},Sb={"text-lg":"",flex:"","items-center":""},Ab=["value","title"],xb={class:"items-center space-x-3 hidden lg:flex"},Lb={class:"opacity-80 text-sm"},Ob={class:"opacity-80 text-sm"},kb={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Ib={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},Nb={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},$b={key:0},Db={class:"space-y-3"},Mb={class:"col-span-2 opacity-80"},Hb={class:"col-span-7"},Bb={key:0,class:"opacity-40"},Vb={key:1,class:"space-y-5"},jb={class:"opacity-80 text-base mb-1"},Fb={class:"opacity-60 text-xs"},Ub={class:"px-3 py-2 space-y-5"},Gb={key:2,class:"h-full max-h-full overflow-hidden"},Wb={class:"opacity-80 text-base mb-1"},zb={class:"px-3 py-2 space-y-5"},qb=["innerHTML"],Kb={key:3,class:"h-full max-h-full overflow-hidden"},Jb=G("iframe",{src:"https://nuxtseo.com/site-config",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),Yb=[Jb],Xb=Fe({__name:"app",async setup(e){let t,n;[t,n]=Jd(()=>Qv()),await t,n();const r=_e(!1);async function o(){r.value=!0,_t.value=null,await vf(),setTimeout(()=>{r.value=!1},300)}const i=_e("config");Qm({htmlAttrs:{class:()=>wf.value||""}});const s=Ze(()=>{var c;return(((c=_t.value)==null?void 0:c.stack)||[]).reverse()}),l=Ze(()=>{var u;const c={...((u=_t.value)==null?void 0:u.config)||{}};return delete c._context,Object.entries(c)});function a(c){const u={...c};return delete u._priority,delete u._context,u}return(c,u)=>{const f=Mu,d=K_,p=en("VTooltip"),m=n0,b=a0,E=h0,P=eb,C=db;return Y(),le("div",pb,[G("header",hb,[G("div",mb,[G("div",gb,[G("h1",_b,[J(f,{icon:"carbon:settings-check",class:"text-blue-300"}),Oe(" Site Config "),J(d,{class:"text-sm"},{default:ue(()=>{var h;return[Oe(it((h=fe(_t))==null?void 0:h.version),1)]}),_:1})])]),G("div",yb,[G("fieldset",vb,[(Y(),le(we,null,Uo(["config","stack","debug","docs"],(h,w)=>G("label",{key:w,class:Ee(["relative n-border-base hover:n-bg-active cursor-pointer",[w?"border-l n-border-base ml--1px":"",h===i.value?"n-bg-active":""]])},[h==="config"?(Y(),le("div",{key:0,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Site Config ")]),default:ue(()=>[G("div",bb,[G("h2",wb,[J(f,{icon:"carbon:settings opacity-50"})])])]),_:1})],2)):h==="stack"?(Y(),le("div",{key:1,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Stack ")]),default:ue(()=>[G("div",Eb,[G("h2",Cb,[J(f,{icon:"carbon:stacked-scrolling-1 opacity-50"}),J(d,{class:"text-sm"},{default:ue(()=>[Oe(it(s.value.length),1)]),_:1})])])]),_:1})],2)):h==="debug"?(Y(),le("div",{key:2,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Debug ")]),default:ue(()=>[G("div",Tb,[G("h2",Pb,[J(f,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):h==="docs"?(Y(),le("div",{key:3,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Documentation ")]),default:ue(()=>[G("div",Rb,[G("h2",Sb,[J(f,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):lt("",!0),Vd(G("input",{"onUpdate:modelValue":u[0]||(u[0]=T=>i.value=T),type:"radio",value:h,title:h,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,Ab),[[zp,i.value]])],2)),64))]),J(p,null,{popper:ue(()=>[Oe(" Refresh ")]),default:ue(()=>[G("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:o},[J(f,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),G("div",xb,[G("div",Lb,[J(m,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:ue(()=>[J(f,{icon:"carbon:favorite",class:"mr-[2px]"}),Oe(" Sponsor ")]),_:1})]),G("div",Ob,[J(m,{href:"https://github.com/harla-zw/nuxt-site-config",target:"_blank"},{default:ue(()=>[J(f,{icon:"logos:github-icon",class:"mr-[2px]"}),Oe(" Submit an issue ")]),_:1})]),G("a",kb,[J(b)])])])]),G("div",Ib,[G("main",Nb,[!s.value||r.value?(Y(),Ie(E,{key:0})):(Y(),le(we,{key:1},[i.value==="config"?(Y(),le("div",$b,[G("div",Db,[(Y(!0),le(we,null,Uo(l.value,([h,w])=>(Y(),le("div",{key:h,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"},[G("div",Mb,it(h),1),G("div",Hb,[J(P,{lines:!1,class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(w,null,2),lang:"json"},null,8,["code"])]),fe(_t).config._context&&h in fe(_t).config._context?(Y(),le("div",Bb,it(fe(_t).config._context[h]),1)):lt("",!0)]))),128))])])):lt("",!0),i.value==="stack"?(Y(),le("div",Vb,[(Y(!0),le(we,null,Uo(s.value,(h,w)=>(Y(),Ie(C,{key:w},{text:ue(()=>[G("h3",jb,it(h._context),1)]),description:ue(()=>[G("div",Fb," Priority: "+it(h._priority||0),1)]),default:ue(()=>[G("div",Ub,[J(P,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(a(h),null,2),lang:"json"},null,8,["code"])])]),_:2},1024))),128))])):i.value==="debug"?(Y(),le("div",Gb,[J(C,null,{text:ue(()=>[G("h3",Wb,[J(f,{icon:"carbon:settings",class:"mr-1"}),Oe(" Runtime Config ")])]),default:ue(()=>[G("div",zb,[G("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:("renderCodeHighlight"in c?c.renderCodeHighlight:fe(Cf))(JSON.stringify(fe(_t),null,2),"json").value},null,8,qb)])]),_:1})])):i.value==="docs"?(Y(),le("div",Kb,Yb)):lt("",!0)],64))])])])}}}),Qb={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
28
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function pv(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=df);const c=hv(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!lv(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!i||!Ls(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function hv(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=mv(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function mv(e,t,n){const r=xy(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,l;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const a=Cn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:kr.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Gy:Wy)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Cn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:kr.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&ua(n,s)>ua(n,e.alternative)&&(s=e.alternative),l=s+Cn(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?kr.single:kr.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function _f(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Cn(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function gv(e,t,n,r){return r.settings.allowDangerousHtml?e.value:_f(e,t,n,r)}function _v(e,t,n,r){return r.all(e)}const yv=Iy("type",{invalid:vv,unknown:bv,handlers:{comment:Fy,doctype:Uy,element:pv,raw:gv,root:_v,text:_f}});function vv(e){throw new Error("Expected node, not `"+e+"`")}function bv(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const wv={},Ev={},Cv=[];function Tv(e,t){const n=t||wv,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Pv,all:Rv,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Ey,characterReferences:n.characterReferences||Ev,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?df:ky,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Pv(e,t,n){return yv(e,t,n,this)}function Rv(e){const t=[],n=e&&e.children||Cv;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Sv(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>ho(e,s,l)};let o=Tv(ho(e,t,n,r));for(const s of n.transformers||[])o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function Av(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,p,m){r.HEAPU8.copyWithin(d,p,p+m)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const m=l();if(d>m)return!1;const b=(E,P)=>E+(P-E%P)%P;for(let E=1;E<=4;E*=2){let P=p*(1+.2/E);P=Math.min(P,d+100663296);const C=Math.min(m,b(Math.max(d,P),65536));if(a(C))return!0}return!1}const u={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let Se=null,xv=!1;function Lv(e){throw new Error(e.UTF8ToString(e.getLastOnigError()))}class $o{constructor(t){v(this,"utf16Length");v(this,"utf8Length");v(this,"utf16Value");v(this,"utf8Value");v(this,"utf16OffsetToUtf8");v(this,"utf8OffsetToUtf16");const n=t.length,r=$o._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const De=class De{constructor(t){v(this,"id",++De.LAST_ID);v(this,"_onigBinding");v(this,"content");v(this,"utf16Length");v(this,"utf8Length");v(this,"utf16OffsetToUtf8");v(this,"utf8OffsetToUtf16");v(this,"ptr");if(!Se)throw new Error("Must invoke loadWasm first.");this._onigBinding=Se,this.content=t;const n=new $o(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!De._sharedPtrInUse?(De._sharedPtr||(De._sharedPtr=Se.omalloc(1e4)),De._sharedPtrInUse=!0,Se.HEAPU8.set(n.utf8Value,De._sharedPtr),this.ptr=De._sharedPtr):this.ptr=n.createString(Se)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===De._sharedPtr?De._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};v(De,"LAST_ID",0),v(De,"_sharedPtr",0),v(De,"_sharedPtrInUse",!1);let mo=De;class Ov{constructor(t){v(this,"_onigBinding");v(this,"_ptr");if(!Se)throw new Error("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new $o(t[l]);n[l]=c.createString(Se),r[l]=c.utf8Length}const o=Se.omalloc(4*t.length);Se.HEAPU32.set(n,o/4);const i=Se.omalloc(4*t.length);Se.HEAPU32.set(r,i/4);const s=Se.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)Se.ofree(n[l]);Se.ofree(i),Se.ofree(o),s===0&&Lv(Se),this._onigBinding=Se,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=xv,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new mo(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),m=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:m,length:m-p}}return{index:c,captureIndices:f}}}function kv(e){return typeof e.instantiator=="function"}function Iv(e){return typeof e.default=="function"}function Nv(e){return typeof e.data<"u"}function $v(e){return typeof Response<"u"&&e instanceof Response}function Dv(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Ir;function Mv(e){if(Ir)return Ir;async function t(){Se=await Av(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),kv(r)?r=await r.instantiator(n):Iv(r)?r=await r.default(n):(Nv(r)&&(r=r.data),$v(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Bv(r)(n):r=await Vv(r)(n):Dv(r)&&(r=await Hv(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Ir=t(),Ir}function Hv(e){return t=>WebAssembly.instantiate(e,t)}function Bv(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Vv(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function jv(e){return new mo(e)}function Fv(e){return new Ov(e)}const ha={light:"#333333",dark:"#bbbbbb"},ma={light:"#fffffe",dark:"#1e1e1e"},ga="__shiki_resolved";function yf(e){var l,a,c,u,f;if(e!=null&&e[ga])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?ha.light:ha.dark),n||(n=t.type==="light"?ma.light:ma.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(d){var m;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(m=t.colorReplacements)!=null&&m[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var E,P;const p=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),m=((P=d.settings)==null?void 0:P.background)&&!d.settings.background.startsWith("#");if(!p&&!m)return d;const b={...d,settings:{...d.settings}};if(p){const C=s(d.settings.foreground);t.colorReplacements[C]=d.settings.foreground,b.settings.foreground=C}if(m){const C=s(d.settings.background);t.colorReplacements[C]=d.settings.background,b.settings.background=C}return b});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,ga,{enumerable:!1,writable:!1,value:!0}),t}class Uv extends ry{constructor(n,r,o){super(n);v(this,"_resolver");v(this,"_themes");v(this,"_langs");v(this,"_resolvedThemes",{});v(this,"_resolvedGrammars",{});v(this,"_langMap",{});v(this,"_langGraph",new Map);v(this,"alias",{});this._resolver=n,this._themes=r,this._langs=o,r.forEach(i=>this.loadTheme(i)),o.forEach(i=>this.loadLanguage(i))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=yf(n);return r.name&&(this._resolvedThemes[r.name]=r),r}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(n){if(this.alias[n]){const r=new Set([n]);for(;this.alias[n];){if(n=this.alias[n],r.has(n))throw new Error(`[shikiji] Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars[n]}async loadLanguage(n){var s,l,a,c;if(this.getGrammar(n.name))return;const r=new Set(Object.values(this._langMap).filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const i=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(this._resolvedGrammars[n.name]=i,n.aliases&&n.aliases.forEach(u=>{this.alias[u]=n.name}),r.size)for(const u of r)delete this._resolvedGrammars[u.name],(l=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}async loadLanguages(n){for(const i of n)this.resolveEmbeddedLanguages(i);const r=Array.from(this._langGraph.entries()),o=r.filter(([i,s])=>!s);if(o.length){const i=r.filter(([s,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(s=>!o.includes(s));throw new Error(`[shikiji] Missing languages ${o.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of r)this._resolver.addLanguage(s);for(const[i,s]of r)await this.loadLanguage(s)}getLoadedLanguages(){return Object.keys({...this._resolvedGrammars,...this.alias})}resolveEmbeddedLanguages(n){if(this._langMap[n.name]=n,this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap[r])}}class Gv{constructor(t,n){v(this,"_langs",new Map);v(this,"_scopeToLang",new Map);v(this,"_injections",new Map);v(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let Wv;async function zv(e={}){async function t(C){return Promise.resolve(typeof C=="function"?C():C).then(h=>h.default||h)}async function n(C){return Array.from(new Set((await Promise.all(C.map(async h=>await t(h).then(w=>Array.isArray(w)?w:[w])))).flat()))}const r=e.loadWasm||Wv,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(C=>C.map(yf)),n(e.langs||[]),r?Mv(r):void 0]),s=new Gv(Promise.resolve({createOnigScanner(C){return Fv(C)},createOnigString(C){return jv(C)}}),i),l=new Uv(s,o,i);Object.assign(l.alias,e.langAlias),await l.init();let a;function c(C){const h=l.getGrammar(C);if(!h)throw new Error(`[shikiji] Language \`${C}\` not found, you may need to load it first`);return h}function u(C){const h=l.getTheme(C);if(!h)throw new Error(`[shikiji] Theme \`${C}\` not found, you may need to load it first`);return h}function f(C){const h=u(C);a!==C&&(l.setTheme(h),a=C);const w=l.getColorMap();return{theme:h,colorMap:w}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function m(...C){await l.loadLanguages(await n(C))}async function b(...C){await Promise.all(C.map(async h=>l.loadTheme(await t(h))))}function E(C){Object.assign(l.alias,C)}function P(){return l.alias}return{setTheme:f,getTheme:u,getLangGrammar:c,getLoadedThemes:d,getLoadedLanguages:p,getAlias:P,updateAlias:E,loadLanguage:m,loadTheme:b}}async function qv(e={}){const t=await zv(e);return{codeToThemedTokens:(n,r)=>Ss(t,n,r),codeToTokensWithThemes:(n,r)=>ef(t,n,r),codeToHast:(n,r)=>ho(t,n,r),codeToHtml:(n,r)=>Sv(t,n,r),loadLanguage:t.loadLanguage,loadTheme:t.loadTheme,getTheme:t.getTheme,getLangGrammar:t.getLangGrammar,setTheme:t.setTheme,getLoadedThemes:t.getLoadedThemes,getLoadedLanguages:t.getLoadedLanguages,getInternalContext:()=>t}}function Kv(e,t,n){async function r(o={}){function i(u){if(typeof u=="string"){if(iy(u))return[];const f=e[u];if(!f)throw new Error(`[shikiji] Language \`${u}\` is not built-in.`);return f}return u}function s(u){if(typeof u=="string"){const f=t[u];if(!f)throw new Error(`[shikiji] Theme \`${u}\` is not built-in.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await qv({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(i))},loadTheme(...u){return c.loadTheme(...u.map(s))}}}return r}const Jv=Kv(y0,b0,m0);let Yv;const Nn=[];function Xv(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 Yv.value},configurable:!0}),()=>{Nn.splice(Nn.indexOf(e),1)}}const _t=_e(null);async function vf(){Gi.value&&(_t.value=await Gi.value("/__site-config__/debug.json"))}const Gi=_e(),bf=_e(),wf=_e();Xv(async e=>{Gi.value=e.host.app.$fetch,rc(()=>{wf.value=e.host.app.colorMode.value}),bf.value=e.devtools,vf()});const Ef=_e();function Qv(){return Jv({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Ef.value=e})}function Cf(e,t){return Ze(()=>{var r;const n=((r=bf.value)==null?void 0:r.colorMode)||"light";return Ef.value.codeToHtml(fe(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Zv=["innerHTML"],eb=Fe({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=Ze(()=>{const r=Cf(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(Y(),le("pre",{class:Ee(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Zv))}}),tb={flex:"~ gap-3","items-center":""},nb=Fe({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(Y(),le("div",tb,[t.icon?(Y(),le("div",{key:0,class:Ee(t.icon)},null,2)):lt("",!0),He(t.$slots,"default",{},()=>[G("div",null,it(t.text),1)])]))}});typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rb=e=>typeof e<"u";function ob(e){return JSON.parse(JSON.stringify(e))}function ib(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=Po(),m=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let b=c;t||(t="modelValue"),b=b||`update:${t.toString()}`;const E=h=>l?typeof l=="function"?l(h):ob(h):h,P=()=>rb(e[t])?E(e[t]):f,C=h=>{d?d(h)&&m(b,h):m(b,h)};if(a){const h=P(),w=_e(h);let T=!1;return $t(()=>e[t],R=>{T||(T=!0,w.value=E(R),fr(()=>T=!1))}),$t(w,R=>{!T&&(R!==e[t]||u)&&C(R)},{deep:u}),w}else return Ze({get(){return P()},set(h){C(h)}})}const Tf=e=>(Qa("data-v-348c1d92"),e=e(),Za(),e),sb=["open"],lb={"text-base":""},ab={key:0,"text-sm":"",op50:""},cb=Tf(()=>G("div",{class:"flex-auto"},null,-1)),ub=Tf(()=>G("div",{class:"x-divider"},null,-1)),fb=Fe({__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=ib(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Mu,l=nb;return Y(),le(we,null,[G("details",{open:fe(n),onToggle:r},[G("summary",{class:Ee(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[J(l,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ee([fe(n)?"op100":"op60",o.headerClass])},{default:ue(()=>[G("div",null,[G("div",lb,[He(o.$slots,"text",{},()=>[Oe(it(o.text),1)],!0)]),o.description||o.$slots.description?(Y(),le("div",ab,[He(o.$slots,"description",{},()=>[Oe(it(o.description),1)],!0)])):lt("",!0)]),cb,He(o.$slots,"actions",{},void 0,!0),o.collapse?(Y(),Ie(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):lt("",!0)]),_:3},8,["icon","text","class"])],2),G("div",{class:Ee(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[He(o.$slots,"details",{},void 0,!0),G("div",{class:Ee([o.containerClass,"mt1"])},[He(o.$slots,"default",{},void 0,!0)],2),He(o.$slots,"footer",{},void 0,!0)],2)],40,sb),ub],64)}}}),db=No(fb,[["__scopeId","data-v-348c1d92"]]),pb={class:"relative n-bg-base flex flex-col"},hb={class:"sticky top-0 z-2 px-4 pt-4"},mb={class:"flex justify-between items-start",mb2:""},gb={class:"flex space-x-5"},_b={"text-xl":"",flex:"","items-center":"","gap-2":""},yb={class:"flex items-center space-x-3 text-xl"},vb={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},bb={class:"px-5 py-2"},wb={"text-lg":"",flex:"","items-center":""},Eb={class:"px-5 py-2"},Cb={"text-lg":"",flex:"","items-center":""},Tb={class:"px-5 py-2"},Pb={"text-lg":"",flex:"","items-center":""},Rb={class:"px-5 py-2"},Sb={"text-lg":"",flex:"","items-center":""},Ab=["value","title"],xb={class:"items-center space-x-3 hidden lg:flex"},Lb={class:"opacity-80 text-sm"},Ob={class:"opacity-80 text-sm"},kb={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},Ib={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},Nb={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},$b={key:0},Db={class:"space-y-3"},Mb={class:"col-span-2 opacity-80"},Hb={class:"col-span-7"},Bb={key:0,class:"opacity-40"},Vb={key:1,class:"space-y-5"},jb={class:"opacity-80 text-base mb-1"},Fb={class:"opacity-60 text-xs"},Ub={class:"px-3 py-2 space-y-5"},Gb={key:2,class:"h-full max-h-full overflow-hidden"},Wb={class:"opacity-80 text-base mb-1"},zb={class:"px-3 py-2 space-y-5"},qb=["innerHTML"],Kb={key:3,class:"h-full max-h-full overflow-hidden"},Jb=G("iframe",{src:"https://nuxtseo.com/site-config",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),Yb=[Jb],Xb=Fe({__name:"app",async setup(e){let t,n;[t,n]=Jd(()=>Qv()),await t,n();const r=_e(!1);async function o(){r.value=!0,_t.value=null,await vf(),setTimeout(()=>{r.value=!1},300)}const i=_e("config");Qm({htmlAttrs:{class:()=>wf.value||""}});const s=Ze(()=>{var c;return(((c=_t.value)==null?void 0:c.stack)||[]).reverse()}),l=Ze(()=>{var u;const c={...((u=_t.value)==null?void 0:u.config)||{}};return delete c._context,Object.entries(c)});function a(c){const u={...c};return delete u._priority,delete u._context,u}return(c,u)=>{const f=Mu,d=K_,p=en("VTooltip"),m=n0,b=a0,E=h0,P=eb,C=db;return Y(),le("div",pb,[G("header",hb,[G("div",mb,[G("div",gb,[G("h1",_b,[J(f,{icon:"carbon:settings-check",class:"text-blue-300"}),Oe(" Site Config "),J(d,{class:"text-sm"},{default:ue(()=>{var h;return[Oe(it((h=fe(_t))==null?void 0:h.version),1)]}),_:1})])]),G("div",yb,[G("fieldset",vb,[(Y(),le(we,null,Uo(["config","stack","debug","docs"],(h,w)=>G("label",{key:w,class:Ee(["relative n-border-base hover:n-bg-active cursor-pointer",[w?"border-l n-border-base ml--1px":"",h===i.value?"n-bg-active":""]])},[h==="config"?(Y(),le("div",{key:0,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Site Config ")]),default:ue(()=>[G("div",bb,[G("h2",wb,[J(f,{icon:"carbon:settings opacity-50"})])])]),_:1})],2)):h==="stack"?(Y(),le("div",{key:1,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Stack ")]),default:ue(()=>[G("div",Eb,[G("h2",Cb,[J(f,{icon:"carbon:stacked-scrolling-1 opacity-50"}),J(d,{class:"text-sm"},{default:ue(()=>[Oe(it(s.value.length),1)]),_:1})])])]),_:1})],2)):h==="debug"?(Y(),le("div",{key:2,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Debug ")]),default:ue(()=>[G("div",Tb,[G("h2",Pb,[J(f,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):h==="docs"?(Y(),le("div",{key:3,class:Ee([h===i.value?"":"op35"])},[J(p,null,{popper:ue(()=>[Oe(" Documentation ")]),default:ue(()=>[G("div",Rb,[G("h2",Sb,[J(f,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):lt("",!0),Vd(G("input",{"onUpdate:modelValue":u[0]||(u[0]=T=>i.value=T),type:"radio",value:h,title:h,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,Ab),[[zp,i.value]])],2)),64))]),J(p,null,{popper:ue(()=>[Oe(" Refresh ")]),default:ue(()=>[G("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:o},[J(f,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),G("div",xb,[G("div",Lb,[J(m,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:ue(()=>[J(f,{icon:"carbon:favorite",class:"mr-[2px]"}),Oe(" Sponsor ")]),_:1})]),G("div",Ob,[J(m,{href:"https://github.com/harla-zw/nuxt-site-config",target:"_blank"},{default:ue(()=>[J(f,{icon:"logos:github-icon",class:"mr-[2px]"}),Oe(" Submit an issue ")]),_:1})]),G("a",kb,[J(b)])])])]),G("div",Ib,[G("main",Nb,[!s.value||r.value?(Y(),Ie(E,{key:0})):(Y(),le(we,{key:1},[i.value==="config"?(Y(),le("div",$b,[G("div",Db,[(Y(!0),le(we,null,Uo(l.value,([h,w])=>(Y(),le("div",{key:h,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"},[G("div",Mb,it(h),1),G("div",Hb,[J(P,{lines:!1,class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(w,null,2),lang:"json"},null,8,["code"])]),fe(_t).config._context&&h in fe(_t).config._context?(Y(),le("div",Bb,it(fe(_t).config._context[h]),1)):lt("",!0)]))),128))])])):lt("",!0),i.value==="stack"?(Y(),le("div",Vb,[(Y(!0),le(we,null,Uo(s.value,(h,w)=>(Y(),Ie(C,{key:w},{text:ue(()=>[G("h3",jb,it(h._context),1)]),description:ue(()=>[G("div",Fb," Priority: "+it(h._priority||0),1)]),default:ue(()=>[G("div",Ub,[J(P,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(a(h),null,2),lang:"json"},null,8,["code"])])]),_:2},1024))),128))])):i.value==="debug"?(Y(),le("div",Gb,[J(C,null,{text:ue(()=>[G("h3",Wb,[J(f,{icon:"carbon:settings",class:"mr-1"}),Oe(" Runtime Config ")])]),default:ue(()=>[G("div",zb,[G("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:("renderCodeHighlight"in c?c.renderCodeHighlight:fe(Cf))(JSON.stringify(fe(_t),null,2),"json").value},null,8,qb)])]),_:1})])):i.value==="docs"?(Y(),le("div",Kb,Yb)):lt("",!0)],64))])])])}}}),Qb={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
29
29
|
`).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(`
|
|
30
|
-
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),l=void 0,u=o?Ys(()=>_(()=>import("./error-404.
|
|
30
|
+
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),l=void 0,u=o?Ys(()=>_(()=>import("./error-404.xKgdbBIT.js"),__vite__mapDeps([87,88]),import.meta.url).then(f=>f.default||f)):Ys(()=>_(()=>import("./error-500.z3xWQIo_.js"),__vite__mapDeps([89,90]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Y(),Ie(fe(u),Ca(ds({statusCode:fe(r),statusMessage:fe(i),description:fe(s),stack:fe(l)})),null,16))}},_a={__name:"nuxt-root",setup(e){const t=()=>null,n=ye(),r=n.deferHydration(),o=!1;hc(ru,su()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=vs();uc((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),dg(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>ug(l)),!1});const s=!1;return(l,a)=>(Y(),Ie(Od,{onResolve:fe(r)},{default:ue(()=>[fe(i)?(Y(),Ie(fe(Qb),{key:0,error:fe(i)},null,8,["error"])):fe(s)?(Y(),Ie(fe(t),{key:1,context:fe(s)},null,8,["context"])):fe(o)?(Y(),Ie(Ad(fe(o)),{key:2})):(Y(),Ie(fe(Xb),{key:3}))]),_:1},8,["onResolve"]))}};let ya;{let e;ya=async function(){var s,l;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?Qp(_a):Ic(_a),o=tm({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}r.config.errorHandler=i;try{await rm(o,G_)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(yg),await o.hooks.callHook("app:mounted",r),await fr()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=ya().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{No as _,G as a,J as b,le as c,Oe as d,Q_ as e,Za as f,Y as o,Qa as p,it as t,Qm as u,ue as w};
|
|
31
31
|
function __vite__mapDeps(indexes) {
|
|
32
32
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
33
|
-
__vite__mapDeps.viteFileDeps = ["./angular-html.ngCY688K.js","./html.q2IluNCo.js","./javascript.4rbEI_qn.js","./css.tuEqSfZX.js","./angular-ts.JfRveWw0.js","./scss.9u5wOjnF.js","./apl.ojEktQcO.js","./xml.GygmfNh9.js","./java.tY-NU26U.js","./json.xL80yL3n.js","./astro.bVipJGkW.js","./typescript.IWNmnGsa.js","./stylus.sPHLw37c.js","./sass.URKSWxt9.js","./less.Mq8TrjER.js","./postcss.57yKeRpx.js","./tsx.vbVEYvAd.js","./blade.HvKjdph-.js","./sql.KWFjTZGI.js","./cobol.DIpfQcy2.js","./coffee.09Ode5TL.js","./cpp.UIU91NPT.js","./glsl.yLv_V-GM.js","./c.1HqcaTLZ.js","./crystal.KqWgScGa.js","./shellscript.82BvnTib.js","./elixir.Q1fiwhg2.js","./elm.AR6G1sGv.js","./erb.K_ppY6Ln.js","./ruby.P9eGVNW4.js","./lua.OGbZEs3U.js","./fsharp.37PDbGQ_.js","./markdown.Y8p9X7h3.js","./gdresource.7GKJFf55.js","./gdshader.6pjKCTQy.js","./gdscript.E1_SGClP.js","./git-commit.RtAxFnK2.js","./diff.-l9-nN5b.js","./git-rebase.-_3Z3F37.js","./glimmer-js.OxCy_kio.js","./handlebars.e6aZXt-Z.js","./yaml.zytfnWoA.js","./glimmer-ts.ZLbawe8H.js","./graphql.Mw2TwDQV.js","./jsx.O5ZRGASz.js","./hack.8bxbrxw3.js","./haml.9njXWWYk.js","./http.suDZEQUg.js","./imba.Shm_xfQD.js","./jinja.E4nwqofd.js","./jison.gkHJeffy.js","./julia.ku4F-e-8.js","./python.V9Nu427R.js","./r.xMXDrvl2.js","./latex.6xV8tHRw.js","./tex.uNByjuDB.js","./haskell.HW0BBkRd.js","./rust.FLHuhIzG.js","./scala.7DKpDMtV.js","./gnuplot.fIlAWhXw.js","./liquid.O0W9gNJ1.js","./marko.sELZHXF6.js","./mdc.NowVT77H.js","./nginx.CrBM8z2W.js","./nim.OZ1TiK9r.js","./perl.CaKiGeyl.js","./php.Q2jqa0n_.js","./pug.dmyiUMO7.js","./razor.X4IfBpol.js","./csharp.SlsguwGx.js","./rst.GKtlS3h3.js","./cmake.YiKLaZ9A.js","./sas.fTu4QUYF.js","./shaderlab.MYTNW71C.js","./hlsl.Do_j-o-7.js","./shellsession.e2TODbDv.js","./sparql.b6B4dWwT.js","./turtle.qvOLXpiq.js","./stata.cF_ucIcM.js","./svelte.6zdtIlwM.js","./twig.h5iAhXmS.js","./vue.CmUal76M.js","./jsonc.Bb1R3obU.js","./json5.NRuQoh_0.js","./toml.p_xIKQcU.js","./vue-html.B2XvVFLk.js","./xsl.TptR0G-3.js","./error-404.
|
|
33
|
+
__vite__mapDeps.viteFileDeps = ["./angular-html.ngCY688K.js","./html.q2IluNCo.js","./javascript.4rbEI_qn.js","./css.tuEqSfZX.js","./angular-ts.JfRveWw0.js","./scss.9u5wOjnF.js","./apl.ojEktQcO.js","./xml.GygmfNh9.js","./java.tY-NU26U.js","./json.xL80yL3n.js","./astro.bVipJGkW.js","./typescript.IWNmnGsa.js","./stylus.sPHLw37c.js","./sass.URKSWxt9.js","./less.Mq8TrjER.js","./postcss.57yKeRpx.js","./tsx.vbVEYvAd.js","./blade.HvKjdph-.js","./sql.KWFjTZGI.js","./cobol.DIpfQcy2.js","./coffee.09Ode5TL.js","./cpp.UIU91NPT.js","./glsl.yLv_V-GM.js","./c.1HqcaTLZ.js","./crystal.KqWgScGa.js","./shellscript.82BvnTib.js","./elixir.Q1fiwhg2.js","./elm.AR6G1sGv.js","./erb.K_ppY6Ln.js","./ruby.P9eGVNW4.js","./lua.OGbZEs3U.js","./fsharp.37PDbGQ_.js","./markdown.Y8p9X7h3.js","./gdresource.7GKJFf55.js","./gdshader.6pjKCTQy.js","./gdscript.E1_SGClP.js","./git-commit.RtAxFnK2.js","./diff.-l9-nN5b.js","./git-rebase.-_3Z3F37.js","./glimmer-js.OxCy_kio.js","./handlebars.e6aZXt-Z.js","./yaml.zytfnWoA.js","./glimmer-ts.ZLbawe8H.js","./graphql.Mw2TwDQV.js","./jsx.O5ZRGASz.js","./hack.8bxbrxw3.js","./haml.9njXWWYk.js","./http.suDZEQUg.js","./imba.Shm_xfQD.js","./jinja.E4nwqofd.js","./jison.gkHJeffy.js","./julia.ku4F-e-8.js","./python.V9Nu427R.js","./r.xMXDrvl2.js","./latex.6xV8tHRw.js","./tex.uNByjuDB.js","./haskell.HW0BBkRd.js","./rust.FLHuhIzG.js","./scala.7DKpDMtV.js","./gnuplot.fIlAWhXw.js","./liquid.O0W9gNJ1.js","./marko.sELZHXF6.js","./mdc.NowVT77H.js","./nginx.CrBM8z2W.js","./nim.OZ1TiK9r.js","./perl.CaKiGeyl.js","./php.Q2jqa0n_.js","./pug.dmyiUMO7.js","./razor.X4IfBpol.js","./csharp.SlsguwGx.js","./rst.GKtlS3h3.js","./cmake.YiKLaZ9A.js","./sas.fTu4QUYF.js","./shaderlab.MYTNW71C.js","./hlsl.Do_j-o-7.js","./shellsession.e2TODbDv.js","./sparql.b6B4dWwT.js","./turtle.qvOLXpiq.js","./stata.cF_ucIcM.js","./svelte.6zdtIlwM.js","./twig.h5iAhXmS.js","./vue.CmUal76M.js","./jsonc.Bb1R3obU.js","./json5.NRuQoh_0.js","./toml.p_xIKQcU.js","./vue-html.B2XvVFLk.js","./xsl.TptR0G-3.js","./error-404.xKgdbBIT.js","./error-404.DkXpI38i.css","./error-500.z3xWQIo_.js","./error-500.SLhS9LVu.css"]
|
|
34
34
|
}
|
|
35
35
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
36
36
|
}
|