@nuxt/scripts 0.1.4 → 0.1.6

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.
Files changed (37) hide show
  1. package/README.md +24 -22
  2. package/dist/client/200.html +5 -5
  3. package/dist/client/404.html +5 -5
  4. package/dist/client/_nuxt/{C2uur0MR.js → 7b-muJBz.js} +1 -1
  5. package/dist/client/_nuxt/{B3yRAOXz.js → CFDTW01f.js} +1 -1
  6. package/dist/client/_nuxt/{CO8u40Ut.js → LZrVsJnT.js} +1 -1
  7. package/dist/client/_nuxt/{BqAhYH0E.js → ZXwHJetA.js} +4 -4
  8. package/dist/client/_nuxt/builds/latest.json +1 -1
  9. package/dist/client/_nuxt/builds/meta/f0a0fb88-29eb-404a-b0c9-7ad64c942608.json +1 -0
  10. package/dist/client/index.html +5 -5
  11. package/dist/module.d.mts +13 -25
  12. package/dist/module.d.ts +13 -25
  13. package/dist/module.json +1 -1
  14. package/dist/module.mjs +114 -17
  15. package/dist/runtime/composables/useScript.d.ts +4 -2
  16. package/dist/runtime/composables/useScript.mjs +13 -4
  17. package/dist/runtime/composables/validateScriptInputSchema.d.ts +7 -0
  18. package/dist/runtime/composables/validateScriptInputSchema.mjs +12 -0
  19. package/dist/runtime/registry/cloudflare-web-analytics.d.ts +1 -2
  20. package/dist/runtime/registry/cloudflare-web-analytics.mjs +4 -6
  21. package/dist/runtime/registry/confetti.d.ts +9 -1
  22. package/dist/runtime/registry/confetti.mjs +8 -5
  23. package/dist/runtime/registry/facebook-pixel.d.ts +1 -1
  24. package/dist/runtime/registry/facebook-pixel.mjs +5 -8
  25. package/dist/runtime/registry/fathom-analytics.d.ts +1 -2
  26. package/dist/runtime/registry/fathom-analytics.mjs +4 -5
  27. package/dist/runtime/registry/hotjar.d.ts +2 -3
  28. package/dist/runtime/registry/hotjar.mjs +5 -8
  29. package/dist/runtime/registry/intercom.d.ts +1 -2
  30. package/dist/runtime/registry/intercom.mjs +4 -7
  31. package/dist/runtime/registry/npm.d.ts +12 -0
  32. package/dist/runtime/registry/npm.mjs +22 -0
  33. package/dist/runtime/registry/segment.d.ts +1 -2
  34. package/dist/runtime/registry/segment.mjs +6 -9
  35. package/dist/runtime/types.d.ts +31 -1
  36. package/package.json +7 -3
  37. package/dist/client/_nuxt/builds/meta/4e9eefe2-f4a5-46ff-889b-aa701f38d2cd.json +0 -1
@@ -1,6 +1,6 @@
1
1
  function __vite__mapDeps(indexes) {
2
2
  if (!__vite__mapDeps.viteFileDeps) {
3
- __vite__mapDeps.viteFileDeps = ["./DsudziMp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./B9E_xdxs.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./wORFcijT.js","./DC8MraHL.js","./DSrLtGYv.js","./CMDmr8et.js","./DywwDckn.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./DbK06e1c.js","./TQ9oWRfF.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./RCJZWN-0.js","./B6nY7VDA.js","./D4k753MY.js","./BaNxgKSR.js","./RE3ujT-k.js","./RgJsN3zu.js","./DCAtC51B.js","./DnhXxWz-.js","./sQpxpyUs.js","./D6pmzCqS.js","./DXpYegZJ.js","./DCk2z-Tu.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./DvyTQcux.js","./CPHkTjfH.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./CsyrCbsw.js","./BmCW-tYz.js","./IHMnEr_d.js","./DUdlC5k_.js","./C5gCGmDW.js","./BR6CMsBL.js","./DfUNg_8t.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./ZQC2c-5V.js","./DwuVtWc2.js","./BXfENWL6.js","./BIMuYTWL.js","./CGQbO34C.js","./DAGYewaG.js","./j8KhMG0x.js","./vMsNTMhM.js","./nclm9rTJ.js","./Dg0DGYq4.js","./Bd7iooY8.js","./BgBwMnrY.js","./CUVblut_.js","./BILqrcpa.js","./Dwo2i-71.js","./Cthz8VOO.js","./DhFF74a2.js","./wPLeKH6q.js","./DISxKEhY.js","./CQTpvb7m.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./Bdb36Id5.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./doGI2cFk.js","./DCdPDLy4.js","./BBv1LFm6.js","./DYI1rfmx.js","./Bh8mriwU.js","./BT9ZzGyQ.js","./CRWwmX0L.js","./CJQrLysU.js","./CO8u40Ut.js","./B3yRAOXz.js","./error-404.ORekjfyJ.css","./C2uur0MR.js","./error-500.BIuFL0tW.css"]
3
+ __vite__mapDeps.viteFileDeps = ["./DsudziMp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./B9E_xdxs.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./wORFcijT.js","./DC8MraHL.js","./DSrLtGYv.js","./CMDmr8et.js","./DywwDckn.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./DbK06e1c.js","./TQ9oWRfF.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./RCJZWN-0.js","./B6nY7VDA.js","./D4k753MY.js","./BaNxgKSR.js","./RE3ujT-k.js","./RgJsN3zu.js","./DCAtC51B.js","./DnhXxWz-.js","./sQpxpyUs.js","./D6pmzCqS.js","./DXpYegZJ.js","./DCk2z-Tu.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./DvyTQcux.js","./CPHkTjfH.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./CsyrCbsw.js","./BmCW-tYz.js","./IHMnEr_d.js","./DUdlC5k_.js","./C5gCGmDW.js","./BR6CMsBL.js","./DfUNg_8t.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./ZQC2c-5V.js","./DwuVtWc2.js","./BXfENWL6.js","./BIMuYTWL.js","./CGQbO34C.js","./DAGYewaG.js","./j8KhMG0x.js","./vMsNTMhM.js","./nclm9rTJ.js","./Dg0DGYq4.js","./Bd7iooY8.js","./BgBwMnrY.js","./CUVblut_.js","./BILqrcpa.js","./Dwo2i-71.js","./Cthz8VOO.js","./DhFF74a2.js","./wPLeKH6q.js","./DISxKEhY.js","./CQTpvb7m.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./Bdb36Id5.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./doGI2cFk.js","./DCdPDLy4.js","./BBv1LFm6.js","./DYI1rfmx.js","./Bh8mriwU.js","./BT9ZzGyQ.js","./CRWwmX0L.js","./CJQrLysU.js","./LZrVsJnT.js","./CFDTW01f.js","./error-404.ORekjfyJ.css","./7b-muJBz.js","./error-500.BIuFL0tW.css"]
4
4
  }
5
5
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
6
6
  }
@@ -20,7 +20,7 @@ var Cc=Object.defineProperty;var Sc=(e,t,n)=>t in e?Cc(e,t,{enumerable:!0,config
20
20
  * @vue/runtime-dom v3.4.21
21
21
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
22
22
  * @license MIT
23
- **/const Cf="http://www.w3.org/2000/svg",Sf="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,rs=ht&&ht.createElement("template"),Lf={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"?ht.createElementNS(Cf,e):t==="mathml"?ht.createElementNS(Sf,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.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{rs.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=rs.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]}},Of=Symbol("_vtc");function If(e,t,n){const r=e[Of];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const os=Symbol("_vod"),xf=Symbol("_vsh"),kf=Symbol(""),Nf=/(^|;)\s*display\s*:/;function Df(e,t,n){const r=e.style,o=ue(n);let i=!1;if(n&&!o){if(t)if(ue(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&er(r,l,"")}else for(const s in t)n[s]==null&&er(r,s,"");for(const s in n)s==="display"&&(i=!0),er(r,s,n[s])}else if(o){if(t!==n){const s=r[kf];s&&(n+=";"+s),r.cssText=n,i=Nf.test(n)}}else t&&e.removeAttribute("style");os in e&&(e[os]=i?r.display:"",e[xf]&&(r.display="none"))}const is=/\s*!important$/;function er(e,t,n){if(W(n))n.forEach(r=>er(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Mf(e,t);is.test(n)?e.setProperty(sn(r),n.replace(is,""),"important"):e[r]=n}}const ss=["Webkit","Moz","ms"],Qr={};function Mf(e,t){const n=Qr[t];if(n)return n;let r=Ze(t);if(r!=="filter"&&r in e)return Qr[t]=r;r=Or(r);for(let o=0;o<ss.length;o++){const i=ss[o]+r;if(i in e)return Qr[t]=i}return t}const ls="http://www.w3.org/1999/xlink";function Vf(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ls,t.slice(6,t.length)):e.setAttributeNS(ls,t,n);else{const i=$c(t);n==null||i&&!el(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Bf(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("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=el(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function jf(e,t,n,r){e.addEventListener(t,n,r)}function Ff(e,t,n,r){e.removeEventListener(t,n,r)}const as=Symbol("_vei");function Hf(e,t,n,r,o=null){const i=e[as]||(e[as]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=$f(t);if(r){const c=i[t]=Wf(r,o);jf(e,l,c,a)}else s&&(Ff(e,l,s,a),i[t]=void 0)}}const cs=/(?:Once|Passive|Capture)$/;function $f(e){let t;if(cs.test(e)){t={};let r;for(;r=e.match(cs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):sn(e.slice(2)),t]}let Zr=0;const Uf=Promise.resolve(),Gf=()=>Zr||(Uf.then(()=>Zr=0),Zr=Date.now());function Wf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(qf(r,n.value),t,5,[r])};return n.value=e,n.attached=Gf(),n}function qf(e,t){if(W(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 us=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kf=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?If(e,r,c):t==="style"?Df(e,n,r):On(t)?Go(t)||Hf(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zf(e,t,r,c))?Bf(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vf(e,t,r,c))};function zf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&us(t)&&U(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 us(t)&&ue(n)?!1:t in e}const sa=Re({patchProp:Kf},Lf);let gn,fs=!1;function Jf(){return gn||(gn=pf(sa))}function Yf(){return gn=fs?gn:hf(sa),fs=!0,gn}const Xf=(...e)=>{const t=Jf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=aa(r);if(!o)return;const i=t._component;!U(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,la(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qf=(...e)=>{const t=Yf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=aa(r);if(o)return n(o,!0,la(o))},t};function la(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aa(e){return ue(e)?document.querySelector(e):e}const Zf=/#/g,ed=/&/g,td=/\//g,nd=/=/g,di=/\+/g,rd=/%5e/gi,od=/%60/gi,id=/%7c/gi,sd=/%20/gi;function ld(e){return encodeURI(""+e).replace(id,"|")}function Po(e){return ld(typeof e=="string"?e:JSON.stringify(e)).replace(di,"%2B").replace(sd,"+").replace(Zf,"%23").replace(ed,"%26").replace(od,"`").replace(rd,"^").replace(td,"%2F")}function eo(e){return Po(e).replace(nd,"%3D")}function hr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ad(e){return hr(e.replace(di," "))}function cd(e){return hr(e.replace(di," "))}function pi(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=ad(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=cd(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 ud(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${eo(e)}=${Po(n)}`).join("&"):`${eo(e)}=${Po(t)}`:eo(e)}function ca(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ud(t,e[t])).filter(Boolean).join("&")}const fd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,dd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,pd=/^([/\\]\s*){2,}[^/\\]/,hd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,md=/\/$|\/\?|\/#/,_d=/^\.?\//;function gd(e){return["./","../"].some(t=>e.startsWith(t))}function vt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?fd.test(e):dd.test(e)||(t.acceptRelative?pd.test(e):!1)}function yd(e){return!!e&&hd.test(e)}function Ao(e="",t){return t?md.test(e):e.endsWith("/")}function Br(e="",t){if(!t)return(Ao(e)?e.slice(0,-1):e)||"/";if(!Ao(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.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function mr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ao(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 bd(e=""){return e.startsWith("/")}function ds(e=""){return bd(e)?e:"/"+e}function vd(e,t){if(fa(t)||vt(e))return e;const n=Br(t);return e.startsWith(n)?e:xn(n,e)}function Ed(e,t){if(fa(t))return e;const n=Br(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ua(e,t){const n=an(e),r={...pi(n.search),...t};return n.search=ca(r),ha(n)}function fa(e){return!e||e==="/"}function wd(e){return e&&e!=="/"}function xn(e,...t){let n=e||"";for(const r of t.filter(o=>wd(o)))if(n){const o=r.replace(_d,"");n=mr(n)+o}else n=r;return n}function da(...e){var s,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&vt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!i.startsWith("/")?i="/"+i:(a=n[0])!=null&&a.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function Rd(e,t,n={}){return n.trailingSlash||(e=mr(e),t=mr(t)),n.leadingSlash||(e=ds(e),t=ds(t)),n.encoding||(e=hr(e),t=hr(t)),e===t}const pa=Symbol.for("ufo:protocolRelative");function an(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(!vt(e,{acceptRelative:!0}))return t?an(t+e):ps(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=ps(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,[pa]:!r}}function ps(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ha(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[pa]?(e.protocol||"")+"//":"")+o+i+t+n+r}const Td=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},_r=Td().app,Pd=()=>_r.baseURL,Ad=()=>_r.buildAssetsDir,hi=(...e)=>da(ma(),Ad(),...e),ma=(...e)=>{const t=_r.cdnURL||_r.baseURL;return e.length?da(t,...e):t};globalThis.__buildAssetsURL=hi,globalThis.__publicAssetsURL=ma;const Cd=/"(?:_|\\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*:/,Sd=/"(?: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*:/,Ld=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Od(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Id(e);return}return t}function Id(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function gr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!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(!Ld.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Cd.test(e)||Sd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Od)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class xd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function kd(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 xd(s,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(l,h,{get(){return e[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,h,{get(){return e.response&&e.response[p]}});return l}const Nd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function hs(e="GET"){return Nd.has(e.toUpperCase())}function Dd(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 Md=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Bd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vd.test(t)?"json":Md.has(t)||t.startsWith("text/")?"text":"blob"}function jd(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 Fd=new Set([408,409,425,429,500,502,503,504]),Hd=new Set([101,204,205,304]);function _a(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=hs(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):Fd.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(l.request,{...l.options,retry:u-1})}}const c=kd(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var h;const u={request:a,options:jd(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=vd(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=ua(u.request,{...u.options.params,...u.options.query}))),u.options.body&&hs(u.options.method)&&(Dd(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")));let f;if(!u.options.signal&&u.options.timeout){const p=new r;f=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)}finally{f&&clearTimeout(f)}if(u.response.body&&!Hd.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||Bd(u.response.headers.get("content-type")||"");switch(p){case"json":{const v=await u.response.text(),E=u.options.parseResponse||gr;u.response._data=E(v);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={})=>_a({...e,defaults:{...e.defaults,...l}}),s}const mi=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")}(),$d=mi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ud=mi.Headers,Gd=mi.AbortController,Wd=_a({fetch:$d,Headers:Ud,AbortController:Gd}),qd=Wd;globalThis.$fetch||(globalThis.$fetch=qd.create({baseURL:Pd()}));function Co(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Co(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Kd={run:e=>e()},zd=()=>Kd,ga=typeof console.createTask<"u"?console.createTask:zd;function Jd(e,t){const n=t.shift(),r=ga(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Yd(e,t){const n=t.shift(),r=ga(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function to(e,t){for(const n of[...e])n(t)}class Xd{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=Co(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=Co(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(Jd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Yd,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&to(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&to(this._after,o)}):(this._after&&o&&to(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 ya(){return new Xd}function Qd(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;So.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{So.delete(c)}}}}function Zd(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Qd({...e,...r})),t[n],t[n]}}}const yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ms="__unctx__",ep=yr[ms]||(yr[ms]=Zd()),tp=(e,t={})=>ep.get(e,t),_s="__unctx_async_handlers__",So=yr[_s]||(yr[_s]=new Set);function ba(e){const t=[];for(const o of So){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 va=tp("nuxt-app",{asyncContext:!1}),np="__nuxt_plugin";function rp(e){let t=0;const n={_scope:Uc(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.1"},get vue(){return n.vueApp.version}},payload:Ke({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>sp(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=ya(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Wn(n,s,i),Wn(n.vueApp.config.globalProperties,s,i)},Wn(n.vueApp,"$nuxt",n),Wn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||de;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=Ke(n.payload.config);return n.provide("config",r),n}async function op(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 ip(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=op(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,h])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(h)))})))});a.parallel?o.push(f.catch(d=>i.push(d))):await f}}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 lt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[np]:!0,_name:t})}function sp(e,t,n){const r=()=>n?t(...n):t();return va.set(e),e.vueApp.runWithContext(r)}function lp(){var t;let e;return Hl()&&(e=(t=na())==null?void 0:t.appContext.app.$nuxt),e=e||va.tryUse(),e||null}function de(){const e=lp();if(!e)throw new Error("[nuxt] instance unavailable");return e}function Pn(e){return de().$config}function Wn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ap(e,t){return{ctx:{table:e},matchAll:n=>wa(n,e,t)}}function Ea(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Ea(o)])):new Map(Object.entries(e[n]));return t}function cp(e){return ap(Ea(e))}function wa(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of gs(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of gs(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...wa(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function gs(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function no(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 Lo(e,t,n=".",r){if(!no(t))return Lo(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]]:no(s)&&no(o[i])?o[i]=Lo(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Ra(e){return(...t)=>t.reduce((n,r)=>Lo(n,r,"",e),{})}const up=Ra(),fp=Ra((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function dp(e,t){try{return t in e}catch{return!1}}var pp=Object.defineProperty,hp=(e,t,n)=>t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tt=(e,t,n)=>(hp(e,typeof t!="symbol"?t+"":t,n),n);class Oo extends Error{constructor(t,n={}){super(t,n),Tt(this,"statusCode",500),Tt(this,"fatal",!1),Tt(this,"unhandled",!1),Tt(this,"statusMessage"),Tt(this,"data"),Tt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Io(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ta(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Tt(Oo,"__h3_error__",!0);function mp(e){if(typeof e=="string")return new Oo(e);if(_p(e))return e;const t=new Oo(e.message??e.statusMessage??"",{cause:e.cause||e});if(dp(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=Io(e.statusCode,t.statusCode):e.status&&(t.statusCode=Io(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Ta(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 _p(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const gp=/[^\u0009\u0020-\u007E]/g;function Ta(e=""){return e.replace(gp,"")}function Io(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Pa=Symbol("route"),Et=()=>{var e;return(e=de())==null?void 0:e.$router},Aa=()=>Hl()?Xt(Pa,de()._route):de()._route;const yp=()=>{try{if(de()._processingMiddleware)return!0}catch{return!0}return!1},Ca=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ua(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)||vt(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=an(n).protocol;if(l&&yd(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=yp();if(!r&&o)return e;const i=Et(),s=de();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)},Sa="__nuxt_error",_i=()=>wl(de().payload,"error"),bp=e=>{const t=gi(e);try{const n=de(),r=_i();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},vp=async(e={})=>{const t=de(),n=_i();t.callHook("app:error:cleared",e),e.redirect&&await Et().replace(e.redirect),n.value=null},Ep=e=>!!e&&typeof e=="object"&&Sa in e,gi=e=>{const t=mp(e);return Object.defineProperty(t,Sa,{value:!0,configurable:!1,writable:!1}),t},wp="modulepreload",Rp=function(e,t){return e[0]==="."?new URL(e,t).href:e},ys={},Tp=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Rp(a,r),a in ys)return;ys[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=i.length-1;h>=0;h--){const p=i[h];if(p.href===a&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":wp,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}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})},m=(...e)=>Tp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Pp=-1,Ap=-2,Cp=-3,Sp=-4,Lp=-5,Op=-6;function Ip(e,t){return xp(JSON.parse(e),t)}function xp(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===Pp)return;if(i===Cp)return NaN;if(i===Sp)return 1/0;if(i===Lp)return-1/0;if(i===Op)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 h=1;h<l.length;h+=1)u.add(o(l[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<l.length;h+=2)f.set(o(l[h]),o(l[h+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 h=1;h<l.length;h+=2)d[l[h]]=o(l[h+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!==Ap&&(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 kp(e){return Array.isArray(e)?e:[e]}const Np=["title","titleTemplate","script","style","noscript"],tr=["base","meta","link","style","script","noscript"],Dp=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Mp=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],La=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Vp=typeof window<"u";function yi(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 bs(e){return e._h||yi(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Oa(e,t){const{props:n,tag:r}=e;if(Mp.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 vs(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Bp(e,t,n){const r={tag:e,props:await Ia(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return La.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Np.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 jp(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function Ia(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=jp(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!La.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 Fp=10;async function Hp(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Dp.includes(n)).forEach(([n,r])=>{const o=kp(r);t.push(...o.map(i=>Bp(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<<Fp)+r,n))}const Es={base:-10,title:10},ws={critical:-80,high:-10,low:20};function br(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 Es&&(t=Es[e.tag]),typeof n=="string"&&n in ws?t+ws[n]:t)}const $p=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Rs=["onload","onerror","onabort","onprogress","onloadstart"],ft="%separator";function nr(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(ft)&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length).trim()),e.startsWith(ft)&&(e=e.slice(ft.length).trim()),e=e.replace(new RegExp(`\\${ft}\\s*\\${ft}`,"g"),ft),e=nr(e,{separator:n},n)),e}async function xa(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:tr.includes(f.tag)?bs(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[f])==null?void 0:u.children,h=[];for(const p of[...d].filter(v=>tr.includes(v.tagName.toLowerCase()))){const v={tag:p.tagName.toLowerCase(),props:await Ia(p.getAttributeNames().reduce((S,b)=>({...S,[b]:p.getAttribute(b)}),{})),innerHTML:p.innerHTML};let E=1,P=Oa(v);for(;P&&h.find(S=>S._d===P);)P=`${P}:${E++}`;v._d=P||void 0,h.push(v),i.elMap[p.getAttribute("data-hid")||bs(v)]=p}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,h){const p=`${f}:${d}`;i.sideEffects[p]=h,delete i.pendingSideEffects[p]}function l({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");i.elMap[f]=d,p||(["textContent","innerHTML"].forEach(v=>{h[v]&&h[v]!==d[v]&&(d[v]=h[v])}),s(f,"el",()=>{var v;(v=i.elMap[f])==null||v.remove(),delete i.elMap[f]}));for(const[v,E]of Object.entries(h._eventHandlers||{}))d.getAttribute(`data-${v}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.replace("on",""),E.bind(d)),d.setAttribute(`data-${v}`,""));Object.entries(h.props).forEach(([v,E])=>{const P=`attr:${v}`;if(v==="class")for(const S of(E||"").split(" ").filter(Boolean))p&&s(f,`${P}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(v==="style")for(const S of(E||"").split(";").filter(Boolean)){const[b,...R]=S.split(":").map(T=>T.trim());s(f,`${P}:${S}:${b}`,()=>{d.style.removeProperty(b)}),d.style.setProperty(b,R.join(":"))}else d.getAttribute(v)!==E&&d.setAttribute(v,E===!0?"":String(E)),p&&s(f,P,()=>d.removeAttribute(v))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:p}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[p],f.$el?l(f):tr.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 Up(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await xa(e,t),delete e._domUpdatePromise,r()}))}function Gp(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){Up(i,e)}}}}}const Wp=["templateParams","htmlAttrs","bodyAttrs"],qp={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=Oa(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&&Wp.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(br(r)>br(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(tr.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))}}},Kp={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"}})}}},zp=["script","link","bodyAttrs"],Jp=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>zp.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Rs.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||yi(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Rs.some(l=>`${l}fired`===s))){const s=i.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[s])==null||o.call(t,new Event(s.replace("on","")))}}}}),Yp=["link","style","script","noscript"],Xp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Yp.includes(e.tag)&&(e.props["data-hid"]=e._h=yi(e.key))}}},Qp={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 $p)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)=>br(n)-br(r))}}},Zp={meta:"content",link:"href",htmlAttrs:"lang"},eh=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=nr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Zp[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=nr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=nr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),th={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=vs(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=vs(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)}}},nh={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 ka;function rh(e={}){const t=oh(e);return t.use(Gp()),ka=t}function Ts(e,t){return!e||e==="server"&&t||e==="client"&&!t}function oh(e={}){const t=ya();t.addHooks(e.hooks||{}),e.document=e.document||(Vp?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),Ts(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Ts(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 Hp(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[qp,Kp,Jp,Xp,Qp,eh,th,nh,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function ih(){return ka}const sh=ia.startsWith("3");function lh(e){return typeof e=="function"?e():ie(e)}function xo(e,t=""){if(e instanceof Promise)return e;const n=lh(e);return!e||!n?n:Array.isArray(n)?n.map(r=>xo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ie(o)]:[r,xo(o,r)])):n}const ah={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=xo(t.input)}}},Na="usehead";function ch(e){return{install(n){sh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Na,e))}}.install}function uh(e={}){e.domDelayFn=e.domDelayFn||(n=>ni(()=>setTimeout(()=>n(),0)));const t=rh(e);return t.use(ah),t.install=ch(t),t}const ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},No="__unhead_injection_handler__";function fh(e){ko[No]=e}function my(){if(No in ko)return ko[No]();const e=Xt(Na);return e||ih()}const dh={nuxt:{buildId:"4e9eefe2-f4a5-46ff-889b-aa701f38d2cd"}},ph=fp(dh);function Da(){const e=de();return e._appConfig||(e._appConfig=Ke(ph)),e._appConfig}const hh={componentName:"NuxtLink"},mh="#__nuxt";let rr,Ma;function _h(){var t;const e=(t=Da().nuxt)==null?void 0:t.buildId;return rr=$fetch(hi(`builds/meta/${e}.json`)),rr.then(n=>{Ma=cp(n.matcher)}),rr}function jr(){return rr||_h()}async function bi(e){return await jr(),up({},...Ma.matchAll(e).reverse())}function Ps(e,t={}){const n=yh(e,t),r=de(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=bh(e).then(i=>i?Va(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const gh="_payload.json";function yh(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||vt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Da().nuxt)==null?void 0:o.buildId);return xn(Pn().app.baseURL,n.pathname,gh+(r?`?${r}`:""))}async function Va(e){const t=fetch(e).then(n=>n.text().then(Ba));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function bh(e=Aa().path){if(e=Br(e),(await jr()).prerendered.includes(e))return!0;const n=await bi(e);return!!n.prerender&&!n.redirect}let qn=null;async function vh(){if(qn)return qn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ba(e.textContent||""),n=e.dataset.src?await Va(e.dataset.src):void 0;return qn={...t,...n,...window.__NUXT__},qn}async function Ba(e){return await Ip(e,de()._payloadRevivers)}function Eh(e,t){de()._payloadRevivers[e]=t}const As={NuxtError:e=>gi(e),EmptyShallowRef:e=>ji(e==="_"?void 0:e==="0n"?BigInt(0):gr(e)),EmptyRef:e=>We(e==="_"?void 0:e==="0n"?BigInt(0):gr(e)),ShallowRef:e=>ji(e),ShallowReactive:e=>hl(e),Ref:e=>We(e),Reactive:e=>Ke(e)},wh=lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in As)Eh(r,As[r]);Object.assign(e.payload,([t,n]=ba(()=>e.runWithContext(vh)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Rh=[],Th=lt({name:"nuxt:head",enforce:"pre",setup(e){const t=uh({plugins:Rh});fh(()=>de().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await xa(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)}}}),Ph=async e=>{let t,n;const r=([t,n]=ba(()=>bi(e.path)),t=await t,n(),t);if(r.redirect)return vt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Ah=[Ph];function ro(e){typeof e=="object"&&(e=ha({pathname:e.path||"",search:ca(e.query||{}),hash:e.hash||""}));const t=an(e.toString());return{path:t.pathname,fullPath:e,query:pi(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Ch=lt({name:"nuxt:router",enforce:"pre",setup(e){const t=Ed(window.location.pathname,Pn().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=Pn().app.baseURL,s=Ke(ro(t));async function l(f,d){try{const h=ro(f);for(const p of r["navigate:before"]){const v=await p(h,s);if(v===!1||v instanceof Error)return;if(typeof v=="string"&&v.length)return l(v,!0)}for(const p of r["resolve:before"])await p(h,s);Object.assign(s,h),window.history[d?"replaceState":"pushState"]({},"",xn(i,h.fullPath)),e.isHydrating||await e.runWithContext(vp);for(const p of r["navigate:after"])await p(h,s)}catch(h){for(const p of r.error)await p(h)}}const c={currentRoute:_t(()=>s),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:ro,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Mt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>l(f.to,f.replace);return()=>{var v;const p=c.resolve(f.to);return f.custom?(v=d.default)==null?void 0:v.call(d,{href:f.to,navigate:h,route:p}):To("a",{href:f.to,onClick:E=>(E.preventDefault(),h())},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=Ke(f.meta||{}),e.isHydrating&&u&&!Ot(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const h=new Set([...Ah,...e._middleware.global]);{const p=await e.runWithContext(()=>bi(f.path));if(p.appMiddleware)for(const v in p.appMiddleware){const E=e._middleware.named[v];if(!E)return;p.appMiddleware[v]?h.add(E):h.delete(E)}}for(const p of h){const v=await e.runWithContext(()=>p(f,d));if(v!==!0&&(v||v===!1))return v}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Rd(s.fullPath,t)||await e.runWithContext(()=>Ca(s.fullPath))}),{provide:{route:s,router:c}}}}),Do=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Sh=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),vi=e=>{const t=de();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Do(e)}):Do(e)},Lh=lt({name:"nuxt:payload",setup(e){Et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ps(t.path);r&&Object.assign(e.static.data,r.data)}),vi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{an(n).protocol||await Ps(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(jr,1e3)})}}),Oh=lt(e=>{let t;async function n(){const r=await jr();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(hi("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}vi(()=>{t=setTimeout(n,1e3*60*60)})}),Ih=lt({name:"nuxt:global-components"}),xh="$s";function kh(...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=xh+n,i=de(),s=wl(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Te(l))return i.payload.state[o]=l,l;s.value=l}return s}const Nh="__NUXT_COLOR_MODE__",Dh="nuxt-color-mode",nt=window[Nh]||{},Mh=lt(e=>{const t=kh("color-mode",()=>Ke({preference:nt.preference,value:nt.value,unknown:!1,forced:!1})).value;Et().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"?nt.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=nt.getColorScheme())}))}hn(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=nt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Dh,o))},{immediate:!0}),hn(()=>t.value,(o,i)=>{nt.removeColorScheme(i),nt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nt.preference,t.value=nt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Vh=lt(()=>{});function Bh(e={}){const t=e.path||window.location.pathname;let n={};try{n=gr(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:de().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jh=lt({name:"nuxt:chunk-reload",setup(e){const t=Et(),n=Pn(),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:xn(n.app.baseURL,i.fullPath);Bh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Fh=[wh,Th,Ch,Lh,Oh,Ih,Mh,Vh,jh],Hh=Mt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ne(),Oe("div",{class:kt(["n-icon",t.icon])},null,2))}});async function ja(e,t=Et()){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(()=>ja(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 $h=(...e)=>e.find(t=>t!==void 0);function Uh(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Cs(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Cs(i,e.trailingSlash)}}return Mt({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=Et(),s=Pn(),l=_t(()=>{const p=r.to||r.href||"";return n(p,i.resolve)}),a=_t(()=>typeof l.value=="string"&&vt(l.value,{acceptRelative:!0})),c=_t(()=>r.target&&r.target!=="_self"),u=_t(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=We(!1),d=We(null),h=p=>{var v;d.value=r.custom?(v=p==null?void 0:p.$el)==null?void 0:v.nextElementSibling:p==null?void 0:p.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!qh()){const v=de();let E,P=null;kl(()=>{const S=Wh();vi(()=>{E=Do(()=>{var b;(b=d==null?void 0:d.value)!=null&&b.tagName&&(P=S.observe(d.value,async()=>{P==null||P(),P=null;const R=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([v.hooks.callHook("link:prefetch",R).catch(()=>{}),!u.value&&ja(l.value,i).catch(()=>{})]),f.value=!0}))})})}),Nl(()=>{E&&Sh(E),P==null||P(),P=null})}return()=>{var P,S;if(!u.value){const b={ref:h,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||(f.value&&(b.class=r.prefetchedClass||e.prefetchedClass),b.rel=r.rel||void 0),To(Su("RouterLink"),b,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(xn(s.app.baseURL,l.value),i.resolve):l.value||null,v=r.target||null,E=$h(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const b=()=>Ca(p,{replace:r.replace,external:r.external});return o.default({href:p,navigate:b,get route(){if(!p)return;const R=an(p);return{path:R.pathname,fullPath:R.pathname,get query(){return pi(R.search)},hash:R.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:E,target:v,isExternal:u.value,isActive:!1,isExactActive:!1})}return To("a",{ref:d,href:p,rel:E,target:v},(S=o.default)==null?void 0:S.call(o))}}})}const Gh=Uh(hh);function Cs(e,t){const n=t==="append"?mr:Br;return vt(e)&&!e.startsWith("http")?e:n(e,!0)}function Wh(){const e=de();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 qh(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Kh=Mt({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Hh;return ne(),Me(Sl(t.to?ie(Gh):"button"),ta({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:wn(()=>[qi(t.$slots,"icon",{},()=>[t.icon?(ne(),Me(r,{key:0,icon:t.icon,class:kt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ft("",!0)]),qi(t.$slots,"default")]),_:3},16,["to","class"])}}}),Fa=[{id:"abap",name:"ABAP",import:()=>m(()=>import("./DXFkqnOI.js"),__vite__mapDeps([]),import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>m(()=>import("./D6NljDpC.js"),__vite__mapDeps([]),import.meta.url)},{id:"ada",name:"Ada",import:()=>m(()=>import("./CowR2XfX.js"),__vite__mapDeps([]),import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>m(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>m(()=>import("./rS0jd3Ly.js"),__vite__mapDeps([]),import.meta.url)},{id:"apex",name:"Apex",import:()=>m(()=>import("./Sfo2eW0G.js"),__vite__mapDeps([]),import.meta.url)},{id:"apl",name:"APL",import:()=>m(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>m(()=>import("./B4yE-MfL.js"),__vite__mapDeps([]),import.meta.url)},{id:"ara",name:"Ara",import:()=>m(()=>import("./CG4fK2Nq.js"),__vite__mapDeps([]),import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),__vite__mapDeps([]),import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./wORFcijT.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>m(()=>import("./i0IPvypD.js"),__vite__mapDeps([]),import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>m(()=>import("./T9ysyp6P.js"),__vite__mapDeps([]),import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>m(()=>import("./BPiaQZfK.js"),__vite__mapDeps([]),import.meta.url)},{id:"beancount",name:"Beancount",import:()=>m(()=>import("./Urb1RsFe.js"),__vite__mapDeps([]),import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>m(()=>import("./CxrokwfH.js"),__vite__mapDeps([]),import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>m(()=>import("./BaedD2tq.js"),__vite__mapDeps([]),import.meta.url)},{id:"bicep",name:"Bicep",import:()=>m(()=>import("./3ghuYFLd.js"),__vite__mapDeps([]),import.meta.url)},{id:"blade",name:"Blade",import:()=>m(()=>import("./C1DVX8_8.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>m(()=>import("./RCJZWN-0.js"),__vite__mapDeps([]),import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>m(()=>import("./Bgpqy2XC.js"),__vite__mapDeps([]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>m(()=>import("./CIekO_uJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>m(()=>import("./BF6G6X0H.js"),__vite__mapDeps([]),import.meta.url)},{id:"cmake",name:"CMake",import:()=>m(()=>import("./DXZpi2gR.js"),__vite__mapDeps([]),import.meta.url)},{id:"cobol",name:"COBOL",import:()=>m(()=>import("./TQ9oWRfF.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>m(()=>import("./BOpLLL-w.js"),__vite__mapDeps([]),import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>m(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6nY7VDA.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>m(()=>import("./DISxKEhY.js"),__vite__mapDeps([]),import.meta.url)},{id:"css",name:"CSS",import:()=>m(()=>import("./CbYhyuC0.js"),__vite__mapDeps([]),import.meta.url)},{id:"csv",name:"CSV",import:()=>m(()=>import("./B2DkETJQ.js"),__vite__mapDeps([]),import.meta.url)},{id:"cue",name:"CUE",import:()=>m(()=>import("./C6Aznpr-.js"),__vite__mapDeps([]),import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>m(()=>import("./ByMv4Xf1.js"),__vite__mapDeps([]),import.meta.url)},{id:"d",name:"D",import:()=>m(()=>import("./PifQWv0n.js"),__vite__mapDeps([]),import.meta.url)},{id:"dart",name:"Dart",import:()=>m(()=>import("./BswfO-CF.js"),__vite__mapDeps([]),import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),__vite__mapDeps([]),import.meta.url)},{id:"diff",name:"Diff",import:()=>m(()=>import("./DvyTQcux.js"),__vite__mapDeps([]),import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>m(()=>import("./DNR26wTC.js"),__vite__mapDeps([]),import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>m(()=>import("./Eh5U-gDp.js"),__vite__mapDeps([]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>m(()=>import("./BaNxgKSR.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./RgJsN3zu.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./C3YqBJkQ.js"),__vite__mapDeps([]),import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),__vite__mapDeps([]),import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>m(()=>import("./D6pmzCqS.js"),__vite__mapDeps([]),import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>m(()=>import("./DXpYegZJ.js"),__vite__mapDeps([33,34]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([35,36,37]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>m(()=>import("./CoEqzGFw.js"),__vite__mapDeps([]),import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>m(()=>import("./B_SUYfiV.js"),__vite__mapDeps([]),import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>m(()=>import("./DjTlIhuc.js"),__vite__mapDeps([]),import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>m(()=>import("./DAVo6uMX.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./CPHkTjfH.js"),__vite__mapDeps([40,25]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>m(()=>import("./Dz2Ca8U2.js"),__vite__mapDeps([]),import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>m(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([41,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([42,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),__vite__mapDeps([]),import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./WoBtJUue.js"),__vite__mapDeps([]),import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>m(()=>import("./wChcbJ1V.js"),__vite__mapDeps([]),import.meta.url)},{id:"hack",name:"Hack",import:()=>m(()=>import("./BmCW-tYz.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./IHMnEr_d.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,34]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),__vite__mapDeps([]),import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./CkMwVfOK.js"),__vite__mapDeps([]),import.meta.url)},{id:"hjson",name:"Hjson",import:()=>m(()=>import("./DZqG9GXz.js"),__vite__mapDeps([]),import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>m(()=>import("./DmDrTTlz.js"),__vite__mapDeps([]),import.meta.url)},{id:"html",name:"HTML",import:()=>m(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./DfUNg_8t.js"),__vite__mapDeps([50,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([51,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>m(()=>import("./DeVv6D4_.js"),__vite__mapDeps([]),import.meta.url)},{id:"java",name:"Java",import:()=>m(()=>import("./ClXEvkw9.js"),__vite__mapDeps([]),import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>m(()=>import("./Dch3xQiY.js"),__vite__mapDeps([]),import.meta.url)},{id:"jinja",name:"Jinja",import:()=>m(()=>import("./D4LaosRr.js"),__vite__mapDeps([52,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([53,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>m(()=>import("./CupVZNk8.js"),__vite__mapDeps([]),import.meta.url)},{id:"json5",name:"JSON5",import:()=>m(()=>import("./Bh8mriwU.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>m(()=>import("./DYI1rfmx.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>m(()=>import("./BUpeXbsf.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>m(()=>import("./C9d3aiqh.js"),__vite__mapDeps([]),import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>m(()=>import("./Dble9ECP.js"),__vite__mapDeps([]),import.meta.url)},{id:"jsx",name:"JSX",import:()=>m(()=>import("./CsyrCbsw.js"),__vite__mapDeps([]),import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>m(()=>import("./ZQC2c-5V.js"),__vite__mapDeps([54,21,22,23,18,55,2,56]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>m(()=>import("./BIxS-Weu.js"),__vite__mapDeps([]),import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>m(()=>import("./DIr-ordK.js"),__vite__mapDeps([]),import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./BIMuYTWL.js"),__vite__mapDeps([57,58,56,3,59,1,2,7,8,30,23,54,21,22,18,55,29,25,11,48,60,61,62]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./DywwDckn.js"),__vite__mapDeps([]),import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>m(()=>import("./D4LhxNOI.js"),__vite__mapDeps([]),import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),__vite__mapDeps([]),import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./DnhXxWz-.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>m(()=>import("./B9S9BZZh.js"),__vite__mapDeps([]),import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>m(()=>import("./DCk2z-Tu.js"),__vite__mapDeps([]),import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./Bd7iooY8.js"),__vite__mapDeps([64,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),__vite__mapDeps([]),import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./BgBwMnrY.js"),__vite__mapDeps([65,34,48,49,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),__vite__mapDeps([]),import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./BSyl5yf0.js"),__vite__mapDeps([]),import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),__vite__mapDeps([]),import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./bmJ2objS.js"),__vite__mapDeps([]),import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>m(()=>import("./B9CT-1u6.js"),__vite__mapDeps([]),import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>m(()=>import("./DBxHOdLe.js"),__vite__mapDeps([]),import.meta.url)},{id:"nginx",name:"Nginx",import:()=>m(()=>import("./CUVblut_.js"),__vite__mapDeps([66,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./BILqrcpa.js"),__vite__mapDeps([67,23,1,2,3,7,8,22,34]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./Dszwcx0o.js"),__vite__mapDeps([]),import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CL7Ixq1B.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>m(()=>import("./DHmGyzbM.js"),__vite__mapDeps([]),import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>m(()=>import("./BWKJ1FCf.js"),__vite__mapDeps([]),import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>m(()=>import("./RqY_Nz63.js"),__vite__mapDeps([]),import.meta.url)},{id:"pascal",name:"Pascal",import:()=>m(()=>import("./Bz4xi2rU.js"),__vite__mapDeps([]),import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([68,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([69,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),__vite__mapDeps([]),import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>m(()=>import("./DXT9h7v2.js"),__vite__mapDeps([]),import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>m(()=>import("./CApMHEaB.js"),__vite__mapDeps([]),import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>m(()=>import("./9ZOzOPqN.js"),__vite__mapDeps([]),import.meta.url)},{id:"prisma",name:"Prisma",import:()=>m(()=>import("./BBJYjQ0k.js"),__vite__mapDeps([]),import.meta.url)},{id:"prolog",name:"Prolog",import:()=>m(()=>import("./BH_RS3WO.js"),__vite__mapDeps([]),import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>m(()=>import("./DOtRmeXT.js"),__vite__mapDeps([]),import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>m(()=>import("./DhFF74a2.js"),__vite__mapDeps([70,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>m(()=>import("./37ic6j3l.js"),__vite__mapDeps([]),import.meta.url)},{id:"purescript",name:"PureScript",import:()=>m(()=>import("./CfPQhs6g.js"),__vite__mapDeps([]),import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>m(()=>import("./DwuVtWc2.js"),__vite__mapDeps([]),import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),__vite__mapDeps([]),import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>m(()=>import("./D384ylkT.js"),__vite__mapDeps([]),import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>m(()=>import("./wPLeKH6q.js"),__vite__mapDeps([71,1,2,3,72]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),__vite__mapDeps([]),import.meta.url)},{id:"rel",name:"Rel",import:()=>m(()=>import("./6Kuza3Wr.js"),__vite__mapDeps([]),import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>m(()=>import("./AgnqFTPX.js"),__vite__mapDeps([]),import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>m(()=>import("./CQTpvb7m.js"),__vite__mapDeps([73,49,1,2,3,21,22,23,18,55,25,48,74,29,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./DCAtC51B.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./j8KhMG0x.js"),__vite__mapDeps([]),import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([75,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>m(()=>import("./CMDmr8et.js"),__vite__mapDeps([]),import.meta.url)},{id:"scala",name:"Scala",import:()=>m(()=>import("./vMsNTMhM.js"),__vite__mapDeps([]),import.meta.url)},{id:"scheme",name:"Scheme",import:()=>m(()=>import("./1Je9_Reo.js"),__vite__mapDeps([]),import.meta.url)},{id:"scss",name:"SCSS",import:()=>m(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./D4k753MY.js"),__vite__mapDeps([]),import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./Bdb36Id5.js"),__vite__mapDeps([78,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>m(()=>import("./DSsji4Hu.js"),__vite__mapDeps([]),import.meta.url)},{id:"solidity",name:"Solidity",import:()=>m(()=>import("./CThH5sBG.js"),__vite__mapDeps([]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>m(()=>import("./6XBPEST2.js"),__vite__mapDeps([]),import.meta.url)},{id:"sql",name:"SQL",import:()=>m(()=>import("./DbK06e1c.js"),__vite__mapDeps([]),import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>m(()=>import("./BH1M7C1g.js"),__vite__mapDeps([]),import.meta.url)},{id:"stata",name:"Stata",import:()=>m(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([81,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),__vite__mapDeps([]),import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./doGI2cFk.js"),__vite__mapDeps([82,2,11,20,12,13,3,5,14,15,70,1,34]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),__vite__mapDeps([]),import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./DzPyIVdT.js"),__vite__mapDeps([]),import.meta.url)},{id:"tasl",name:"Tasl",import:()=>m(()=>import("./BxwAa5i0.js"),__vite__mapDeps([]),import.meta.url)},{id:"tcl",name:"Tcl",import:()=>m(()=>import("./C_8Fx7bH.js"),__vite__mapDeps([]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>m(()=>import("./7fd6vGzb.js"),__vite__mapDeps([]),import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./CGQbO34C.js"),__vite__mapDeps([58,56]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),__vite__mapDeps([]),import.meta.url)},{id:"tsx",name:"TSX",import:()=>m(()=>import("./BlxWTfDV.js"),__vite__mapDeps([]),import.meta.url)},{id:"turtle",name:"Turtle",import:()=>m(()=>import("./C15OxdQ5.js"),__vite__mapDeps([]),import.meta.url)},{id:"twig",name:"Twig",import:()=>m(()=>import("./DCdPDLy4.js"),__vite__mapDeps([83,3,2,5,69,1,7,8,18,9,55,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),__vite__mapDeps([]),import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>m(()=>import("./I4qd5QHW.js"),__vite__mapDeps([]),import.meta.url)},{id:"v",name:"V",import:()=>m(()=>import("./C2TBxDwV.js"),__vite__mapDeps([]),import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>m(()=>import("./beD-FUib.js"),__vite__mapDeps([]),import.meta.url)},{id:"verilog",name:"Verilog",import:()=>m(()=>import("./DVfdqzEq.js"),__vite__mapDeps([]),import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>m(()=>import("./QZ3jNtnE.js"),__vite__mapDeps([]),import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>m(()=>import("./BLluXI4E.js"),__vite__mapDeps([]),import.meta.url)},{id:"vue",name:"Vue",import:()=>m(()=>import("./BBv1LFm6.js"),__vite__mapDeps([84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./CRWwmX0L.js"),__vite__mapDeps([88,84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>m(()=>import("./o-cPXEvd.js"),__vite__mapDeps([]),import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>m(()=>import("./Cicx_DS6.js"),__vite__mapDeps([]),import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>m(()=>import("./D3VXSfF0.js"),__vite__mapDeps([]),import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>m(()=>import("./BZz1Hhek.js"),__vite__mapDeps([]),import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>m(()=>import("./BICIrM8O.js"),__vite__mapDeps([]),import.meta.url)},{id:"xml",name:"XML",import:()=>m(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>m(()=>import("./C5gCGmDW.js"),__vite__mapDeps([]),import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>m(()=>import("./B1nm99XP.js"),__vite__mapDeps([]),import.meta.url)},{id:"zig",name:"Zig",import:()=>m(()=>import("./Bsp1M94H.js"),__vite__mapDeps([]),import.meta.url)}],zh=Object.fromEntries(Fa.map(e=>[e.id,e.import])),Jh=Object.fromEntries(Fa.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Yh={...zh,...Jh},Xh=async e=>m(()=>import("./CsTmP73Z.js"),__vite__mapDeps([]),import.meta.url).then(t=>t.default(e)),Qh=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>m(()=>import("./YxQm0tCS.js"),__vite__mapDeps([]),import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>m(()=>import("./BaWyeHV_.js"),__vite__mapDeps([]),import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>m(()=>import("./Bn5gmY5k.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>m(()=>import("./DZ3fVoEH.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./DCj4DH6i.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./D-pQtGOP.js"),__vite__mapDeps([]),import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./BsfQk1vf.js"),__vite__mapDeps([]),import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>m(()=>import("./KEYLhlmT.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>m(()=>import("./DGO8GyiP.js"),__vite__mapDeps([]),import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>m(()=>import("./9B1nZgL-.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>m(()=>import("./CzPA46E-.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>m(()=>import("./BXF7Vm5l.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>m(()=>import("./CRDKj6ck.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>m(()=>import("./CRlnGVMD.js"),__vite__mapDeps([]),import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>m(()=>import("./UREJT2Bw.js"),__vite__mapDeps([]),import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>m(()=>import("./CZZ6oYdA.js"),__vite__mapDeps([]),import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>m(()=>import("./BsvsQ1iS.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>m(()=>import("./B2BuIiKK.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>m(()=>import("./BrGg7AAd.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>m(()=>import("./DDRuGeQH.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>m(()=>import("./CBL0qBdF.js"),__vite__mapDeps([]),import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>m(()=>import("./D7gg1Usp.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>m(()=>import("./iSbrOpM4.js"),__vite__mapDeps([]),import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>m(()=>import("./BITGhEdf.js"),__vite__mapDeps([]),import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>m(()=>import("./sMI-pExk.js"),__vite__mapDeps([]),import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>m(()=>import("./BeocmOPF.js"),__vite__mapDeps([]),import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>m(()=>import("./CsyjKwr8.js"),__vite__mapDeps([]),import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>m(()=>import("./BTtaZsq5.js"),__vite__mapDeps([]),import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>m(()=>import("./Cda-MJFk.js"),__vite__mapDeps([]),import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>m(()=>import("./jaXbsbtS.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>m(()=>import("./CX_FIdg1.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>m(()=>import("./Bj5xdiaE.js"),__vite__mapDeps([]),import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>m(()=>import("./CdedUr_-.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>m(()=>import("./C7oZ9nno.js"),__vite__mapDeps([]),import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>m(()=>import("./hXH8Gyq8.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>m(()=>import("./C86elO-m.js"),__vite__mapDeps([]),import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>m(()=>import("./xPNGhBYe.js"),__vite__mapDeps([]),import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>m(()=>import("./BBDuFDsq.js"),__vite__mapDeps([]),import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>m(()=>import("./eJfcURhx.js"),__vite__mapDeps([]),import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>m(()=>import("./BSB_bK09.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>m(()=>import("./CrjQeCwm.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./DggdVF2v.js"),__vite__mapDeps([]),import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./A1WiD9SJ.js"),__vite__mapDeps([]),import.meta.url)}],Zh=Object.fromEntries(Qh.map(e=>[e.id,e.import]));var Ge;(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"})(Ge||(Ge={}));var rn;(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),h=e.getFontStyle(u),p=e.getForeground(u),v=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:v})}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,h,p,v,E){let P=e.getLanguageId(u),S=e.getTokenType(u),b=e.containsBalancedBrackets(u)?1:0,R=e.getFontStyle(u),T=e.getForeground(u),A=e.getBackground(u);return f!==0&&(P=f),d!==8&&(S=d),h!==null&&(b=h?1:0),p!==-1&&(R=p),v!==0&&(T=v),E!==0&&(A=E),(P<<0|S<<8|b<<10|R<<11|T<<15|A<<24)>>>0}e.set=c})(rn||(rn={}));function vr(e,t){const n=[],r=em(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(Ss(o)){const a=[];do a.push(o),o=r.next();while(Ss(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 Ss(e){return!!e&&!!e.match(/[\w\.:]+/)}function em(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 Ha(e){typeof e.dispose=="function"&&e.dispose()}function tm(e){return Ei(e)}function Ei(e){return Array.isArray(e)?nm(e):typeof e=="object"?rm(e):e}function nm(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ei(e[n]);return t}function rm(e){let t={};for(let n in e)t[n]=Ei(e[n]);return t}function $a(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Ua(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ua(e.substring(0,e.length-1)):e.substr(~t+1)}let oo=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Kn{static hasCaptures(t){return t===null?!1:(oo.lastIndex=0,oo.test(t))}static replaceCaptures(t,n,r){return t.replace(oo,(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 Ga(e,t){return e<t?-1:e>t?1:0}function Wa(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=Ga(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Ls(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 qa(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class Ka{constructor(t){y(this,"fn");y(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 An{constructor(t){y(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class om{constructor(t,n){y(this,"scopeName");y(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class im{constructor(){y(this,"_references",[]);y(this,"_seenReferenceKeys",new Set);y(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 sm{constructor(t,n){y(this,"repo");y(this,"initialScopeName");y(this,"seenFullScopeRequests",new Set);y(this,"seenPartialScopeRequests",new Set);y(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new An(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new im;for(const r of t)lm(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof An){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 lm(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 An?or({baseGrammar:i,selfGrammar:o},r):Mo(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 An(l))}function Mo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Er([r],t,n)}}function or(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Er(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Er(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Er(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?$a({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Er(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=za(i);switch(s.kind){case 0:or({...t,selfGrammar:t.baseGrammar},n);break;case 1:or(t,n);break;case 2:Mo(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?Mo(s.ruleName,a,n):or(a,n)}else s.kind===4?n.add(new om(s.scopeName,s.ruleName)):n.add(new An(s.scopeName));break}}}class am{constructor(){y(this,"kind",0)}}class cm{constructor(){y(this,"kind",1)}}class um{constructor(t){y(this,"ruleName");y(this,"kind",2);this.ruleName=t}}class fm{constructor(t){y(this,"scopeName");y(this,"kind",3);this.scopeName=t}}class dm{constructor(t,n){y(this,"scopeName");y(this,"ruleName");y(this,"kind",4);this.scopeName=t,this.ruleName=n}}function za(e){if(e==="$base")return new am;if(e==="$self")return new cm;const t=e.indexOf("#");if(t===-1)return new fm(e);if(t===0)return new um(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new dm(n,r)}}const pm=/\\(\d+)/,Os=/\\(\d+)/g,hm=-1,Ja=-2;class kn{constructor(t,n,r,o){y(this,"$location");y(this,"id");y(this,"_nameIsCapturing");y(this,"_name");y(this,"_contentNameIsCapturing");y(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Kn.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Kn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Ua(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:Kn.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Kn.replaceCaptures(this._contentName,t,n)}}class mm extends kn{constructor(n,r,o,i,s){super(n,r,o,i);y(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 _m extends kn{constructor(n,r,o,i,s){super(n,r,o,null);y(this,"_match");y(this,"captures");y(this,"_cachedCompiledPatterns");this._match=new xt(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 Cn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Is extends kn{constructor(n,r,o,i,s){super(n,r,o,i);y(this,"hasMissingPatterns");y(this,"patterns");y(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 Cn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Vo extends kn{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"_end");y(this,"endHasBackReferences");y(this,"endCaptures");y(this,"applyEndPatternLast");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this._begin=new xt(s,this.id),this.beginCaptures=l,this._end=new xt(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 Cn;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 wr extends kn{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"whileCaptures");y(this,"_while");y(this,"whileHasBackReferences");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");y(this,"_cachedCompiledWhilePatterns");this._begin=new xt(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new xt(a,Ja),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 Cn;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 Cn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class ye{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new mm(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new _m(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=$a({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Is(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(i,n,r))}return t.while?new wr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new Vo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._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=ye.getCompiledRuleId(t[s],n,r)),o[l]=ye.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=za(l.include);switch(c.kind){case 0:case 1:a=ye.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=ye.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(a=ye.getCompiledRuleId(p,n,h.repository))}else a=ye.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else a=ye.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof Is||c instanceof Vo||c instanceof wr)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class xt{constructor(t,n){y(this,"source");y(this,"ruleId");y(this,"hasAnchor");y(this,"hasBackReferences");y(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=pm.test(this.source)}clone(){return new xt(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 Os.lastIndex=0,this.source.replace(Os,(o,i)=>qa(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 Cn{constructor(){y(this,"_items");y(this,"_hasAnchors");y(this,"_cached");y(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 xs(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 xs(t,o,this._items.map(i=>i.ruleId))}}class xs{constructor(t,n,r){y(this,"regExps");y(this,"rules");y(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(`
23
+ **/const Cf="http://www.w3.org/2000/svg",Sf="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,rs=ht&&ht.createElement("template"),Lf={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"?ht.createElementNS(Cf,e):t==="mathml"?ht.createElementNS(Sf,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.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{rs.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=rs.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]}},Of=Symbol("_vtc");function If(e,t,n){const r=e[Of];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const os=Symbol("_vod"),xf=Symbol("_vsh"),kf=Symbol(""),Nf=/(^|;)\s*display\s*:/;function Df(e,t,n){const r=e.style,o=ue(n);let i=!1;if(n&&!o){if(t)if(ue(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&er(r,l,"")}else for(const s in t)n[s]==null&&er(r,s,"");for(const s in n)s==="display"&&(i=!0),er(r,s,n[s])}else if(o){if(t!==n){const s=r[kf];s&&(n+=";"+s),r.cssText=n,i=Nf.test(n)}}else t&&e.removeAttribute("style");os in e&&(e[os]=i?r.display:"",e[xf]&&(r.display="none"))}const is=/\s*!important$/;function er(e,t,n){if(W(n))n.forEach(r=>er(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Mf(e,t);is.test(n)?e.setProperty(sn(r),n.replace(is,""),"important"):e[r]=n}}const ss=["Webkit","Moz","ms"],Qr={};function Mf(e,t){const n=Qr[t];if(n)return n;let r=Ze(t);if(r!=="filter"&&r in e)return Qr[t]=r;r=Or(r);for(let o=0;o<ss.length;o++){const i=ss[o]+r;if(i in e)return Qr[t]=i}return t}const ls="http://www.w3.org/1999/xlink";function Vf(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ls,t.slice(6,t.length)):e.setAttributeNS(ls,t,n);else{const i=$c(t);n==null||i&&!el(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Bf(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("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=el(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function jf(e,t,n,r){e.addEventListener(t,n,r)}function Ff(e,t,n,r){e.removeEventListener(t,n,r)}const as=Symbol("_vei");function Hf(e,t,n,r,o=null){const i=e[as]||(e[as]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=$f(t);if(r){const c=i[t]=Wf(r,o);jf(e,l,c,a)}else s&&(Ff(e,l,s,a),i[t]=void 0)}}const cs=/(?:Once|Passive|Capture)$/;function $f(e){let t;if(cs.test(e)){t={};let r;for(;r=e.match(cs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):sn(e.slice(2)),t]}let Zr=0;const Uf=Promise.resolve(),Gf=()=>Zr||(Uf.then(()=>Zr=0),Zr=Date.now());function Wf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(qf(r,n.value),t,5,[r])};return n.value=e,n.attached=Gf(),n}function qf(e,t){if(W(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 us=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kf=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?If(e,r,c):t==="style"?Df(e,n,r):On(t)?Go(t)||Hf(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zf(e,t,r,c))?Bf(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vf(e,t,r,c))};function zf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&us(t)&&U(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 us(t)&&ue(n)?!1:t in e}const sa=Re({patchProp:Kf},Lf);let gn,fs=!1;function Jf(){return gn||(gn=pf(sa))}function Yf(){return gn=fs?gn:hf(sa),fs=!0,gn}const Xf=(...e)=>{const t=Jf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=aa(r);if(!o)return;const i=t._component;!U(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,la(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Qf=(...e)=>{const t=Yf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=aa(r);if(o)return n(o,!0,la(o))},t};function la(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aa(e){return ue(e)?document.querySelector(e):e}const Zf=/#/g,ed=/&/g,td=/\//g,nd=/=/g,di=/\+/g,rd=/%5e/gi,od=/%60/gi,id=/%7c/gi,sd=/%20/gi;function ld(e){return encodeURI(""+e).replace(id,"|")}function Po(e){return ld(typeof e=="string"?e:JSON.stringify(e)).replace(di,"%2B").replace(sd,"+").replace(Zf,"%23").replace(ed,"%26").replace(od,"`").replace(rd,"^").replace(td,"%2F")}function eo(e){return Po(e).replace(nd,"%3D")}function hr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ad(e){return hr(e.replace(di," "))}function cd(e){return hr(e.replace(di," "))}function pi(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=ad(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=cd(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 ud(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${eo(e)}=${Po(n)}`).join("&"):`${eo(e)}=${Po(t)}`:eo(e)}function ca(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ud(t,e[t])).filter(Boolean).join("&")}const fd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,dd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,pd=/^([/\\]\s*){2,}[^/\\]/,hd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,md=/\/$|\/\?|\/#/,_d=/^\.?\//;function gd(e){return["./","../"].some(t=>e.startsWith(t))}function vt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?fd.test(e):dd.test(e)||(t.acceptRelative?pd.test(e):!1)}function yd(e){return!!e&&hd.test(e)}function Ao(e="",t){return t?md.test(e):e.endsWith("/")}function Br(e="",t){if(!t)return(Ao(e)?e.slice(0,-1):e)||"/";if(!Ao(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.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function mr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ao(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 bd(e=""){return e.startsWith("/")}function ds(e=""){return bd(e)?e:"/"+e}function vd(e,t){if(fa(t)||vt(e))return e;const n=Br(t);return e.startsWith(n)?e:xn(n,e)}function Ed(e,t){if(fa(t))return e;const n=Br(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ua(e,t){const n=an(e),r={...pi(n.search),...t};return n.search=ca(r),ha(n)}function fa(e){return!e||e==="/"}function wd(e){return e&&e!=="/"}function xn(e,...t){let n=e||"";for(const r of t.filter(o=>wd(o)))if(n){const o=r.replace(_d,"");n=mr(n)+o}else n=r;return n}function da(...e){var s,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&vt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!i.startsWith("/")?i="/"+i:(a=n[0])!=null&&a.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function Rd(e,t,n={}){return n.trailingSlash||(e=mr(e),t=mr(t)),n.leadingSlash||(e=ds(e),t=ds(t)),n.encoding||(e=hr(e),t=hr(t)),e===t}const pa=Symbol.for("ufo:protocolRelative");function an(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(!vt(e,{acceptRelative:!0}))return t?an(t+e):ps(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=ps(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,[pa]:!r}}function ps(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ha(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[pa]?(e.protocol||"")+"//":"")+o+i+t+n+r}const Td=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},_r=Td().app,Pd=()=>_r.baseURL,Ad=()=>_r.buildAssetsDir,hi=(...e)=>da(ma(),Ad(),...e),ma=(...e)=>{const t=_r.cdnURL||_r.baseURL;return e.length?da(t,...e):t};globalThis.__buildAssetsURL=hi,globalThis.__publicAssetsURL=ma;const Cd=/"(?:_|\\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*:/,Sd=/"(?: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*:/,Ld=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Od(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Id(e);return}return t}function Id(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function gr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!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(!Ld.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Cd.test(e)||Sd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Od)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class xd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function kd(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 xd(s,e.error?{cause:e.error}:void 0);for(const h of["request","options","response"])Object.defineProperty(l,h,{get(){return e[h]}});for(const[h,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,h,{get(){return e.response&&e.response[p]}});return l}const Nd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function hs(e="GET"){return Nd.has(e.toUpperCase())}function Dd(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 Md=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Bd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vd.test(t)?"json":Md.has(t)||t.startsWith("text/")?"text":"blob"}function jd(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 Fd=new Set([408,409,425,429,500,502,503,504]),Hd=new Set([101,204,205,304]);function _a(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=hs(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):Fd.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),i(l.request,{...l.options,retry:u-1})}}const c=kd(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var h;const u={request:a,options:jd(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(h=u.options.method)==null?void 0:h.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=vd(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=ua(u.request,{...u.options.params,...u.options.query}))),u.options.body&&hs(u.options.method)&&(Dd(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")));let f;if(!u.options.signal&&u.options.timeout){const p=new r;f=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)}finally{f&&clearTimeout(f)}if(u.response.body&&!Hd.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||Bd(u.response.headers.get("content-type")||"");switch(p){case"json":{const v=await u.response.text(),E=u.options.parseResponse||gr;u.response._data=E(v);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={})=>_a({...e,defaults:{...e.defaults,...l}}),s}const mi=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")}(),$d=mi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ud=mi.Headers,Gd=mi.AbortController,Wd=_a({fetch:$d,Headers:Ud,AbortController:Gd}),qd=Wd;globalThis.$fetch||(globalThis.$fetch=qd.create({baseURL:Pd()}));function Co(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Co(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Kd={run:e=>e()},zd=()=>Kd,ga=typeof console.createTask<"u"?console.createTask:zd;function Jd(e,t){const n=t.shift(),r=ga(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Yd(e,t){const n=t.shift(),r=ga(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function to(e,t){for(const n of[...e])n(t)}class Xd{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=Co(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=Co(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(Jd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Yd,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&to(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&to(this._after,o)}):(this._after&&o&&to(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 ya(){return new Xd}function Qd(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;So.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{So.delete(c)}}}}function Zd(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Qd({...e,...r})),t[n],t[n]}}}const yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ms="__unctx__",ep=yr[ms]||(yr[ms]=Zd()),tp=(e,t={})=>ep.get(e,t),_s="__unctx_async_handlers__",So=yr[_s]||(yr[_s]=new Set);function ba(e){const t=[];for(const o of So){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 va=tp("nuxt-app",{asyncContext:!1}),np="__nuxt_plugin";function rp(e){let t=0;const n={_scope:Uc(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.1"},get vue(){return n.vueApp.version}},payload:Ke({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>sp(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=ya(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Wn(n,s,i),Wn(n.vueApp.config.globalProperties,s,i)},Wn(n.vueApp,"$nuxt",n),Wn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||de;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=Ke(n.payload.config);return n.provide("config",r),n}async function op(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 ip(e,t){const n=[],r=[],o=[],i=[];let s=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=op(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,h])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(h)))})))});a.parallel?o.push(f.catch(d=>i.push(d))):await f}}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 lt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[np]:!0,_name:t})}function sp(e,t,n){const r=()=>n?t(...n):t();return va.set(e),e.vueApp.runWithContext(r)}function lp(){var t;let e;return Hl()&&(e=(t=na())==null?void 0:t.appContext.app.$nuxt),e=e||va.tryUse(),e||null}function de(){const e=lp();if(!e)throw new Error("[nuxt] instance unavailable");return e}function Pn(e){return de().$config}function Wn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ap(e,t){return{ctx:{table:e},matchAll:n=>wa(n,e,t)}}function Ea(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Ea(o)])):new Map(Object.entries(e[n]));return t}function cp(e){return ap(Ea(e))}function wa(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of gs(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of gs(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...wa(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function gs(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function no(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 Lo(e,t,n=".",r){if(!no(t))return Lo(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]]:no(s)&&no(o[i])?o[i]=Lo(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function Ra(e){return(...t)=>t.reduce((n,r)=>Lo(n,r,"",e),{})}const up=Ra(),fp=Ra((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function dp(e,t){try{return t in e}catch{return!1}}var pp=Object.defineProperty,hp=(e,t,n)=>t in e?pp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tt=(e,t,n)=>(hp(e,typeof t!="symbol"?t+"":t,n),n);class Oo extends Error{constructor(t,n={}){super(t,n),Tt(this,"statusCode",500),Tt(this,"fatal",!1),Tt(this,"unhandled",!1),Tt(this,"statusMessage"),Tt(this,"data"),Tt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Io(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ta(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Tt(Oo,"__h3_error__",!0);function mp(e){if(typeof e=="string")return new Oo(e);if(_p(e))return e;const t=new Oo(e.message??e.statusMessage??"",{cause:e.cause||e});if(dp(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=Io(e.statusCode,t.statusCode):e.status&&(t.statusCode=Io(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Ta(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 _p(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const gp=/[^\u0009\u0020-\u007E]/g;function Ta(e=""){return e.replace(gp,"")}function Io(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Pa=Symbol("route"),Et=()=>{var e;return(e=de())==null?void 0:e.$router},Aa=()=>Hl()?Xt(Pa,de()._route):de()._route;const yp=()=>{try{if(de()._processingMiddleware)return!0}catch{return!0}return!1},Ca=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ua(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)||vt(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=an(n).protocol;if(l&&yd(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=yp();if(!r&&o)return e;const i=Et(),s=de();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)},Sa="__nuxt_error",_i=()=>wl(de().payload,"error"),bp=e=>{const t=gi(e);try{const n=de(),r=_i();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},vp=async(e={})=>{const t=de(),n=_i();t.callHook("app:error:cleared",e),e.redirect&&await Et().replace(e.redirect),n.value=null},Ep=e=>!!e&&typeof e=="object"&&Sa in e,gi=e=>{const t=mp(e);return Object.defineProperty(t,Sa,{value:!0,configurable:!1,writable:!1}),t},wp="modulepreload",Rp=function(e,t){return e[0]==="."?new URL(e,t).href:e},ys={},Tp=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Rp(a,r),a in ys)return;ys[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=i.length-1;h>=0;h--){const p=i[h];if(p.href===a&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":wp,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${a}`)))})}))}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})},m=(...e)=>Tp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Pp=-1,Ap=-2,Cp=-3,Sp=-4,Lp=-5,Op=-6;function Ip(e,t){return xp(JSON.parse(e),t)}function xp(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===Pp)return;if(i===Cp)return NaN;if(i===Sp)return 1/0;if(i===Lp)return-1/0;if(i===Op)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 h=1;h<l.length;h+=1)u.add(o(l[h]));break;case"Map":const f=new Map;r[i]=f;for(let h=1;h<l.length;h+=2)f.set(o(l[h]),o(l[h+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 h=1;h<l.length;h+=2)d[l[h]]=o(l[h+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!==Ap&&(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 kp(e){return Array.isArray(e)?e:[e]}const Np=["title","titleTemplate","script","style","noscript"],tr=["base","meta","link","style","script","noscript"],Dp=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Mp=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],La=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Vp=typeof window<"u";function yi(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 bs(e){return e._h||yi(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Oa(e,t){const{props:n,tag:r}=e;if(Mp.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 vs(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Bp(e,t,n){const r={tag:e,props:await Ia(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return La.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||Np.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 jp(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function Ia(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=jp(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!La.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 Fp=10;async function Hp(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Dp.includes(n)).forEach(([n,r])=>{const o=kp(r);t.push(...o.map(i=>Bp(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<<Fp)+r,n))}const Es={base:-10,title:10},ws={critical:-80,high:-10,low:20};function br(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 Es&&(t=Es[e.tag]),typeof n=="string"&&n in ws?t+ws[n]:t)}const $p=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Rs=["onload","onerror","onabort","onprogress","onloadstart"],ft="%separator";function nr(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(ft)&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length).trim()),e.startsWith(ft)&&(e=e.slice(ft.length).trim()),e=e.replace(new RegExp(`\\${ft}\\s*\\${ft}`,"g"),ft),e=nr(e,{separator:n},n)),e}async function xa(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:tr.includes(f.tag)?bs(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[f])==null?void 0:u.children,h=[];for(const p of[...d].filter(v=>tr.includes(v.tagName.toLowerCase()))){const v={tag:p.tagName.toLowerCase(),props:await Ia(p.getAttributeNames().reduce((S,b)=>({...S,[b]:p.getAttribute(b)}),{})),innerHTML:p.innerHTML};let E=1,P=Oa(v);for(;P&&h.find(S=>S._d===P);)P=`${P}:${E++}`;v._d=P||void 0,h.push(v),i.elMap[p.getAttribute("data-hid")||bs(v)]=p}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,h){const p=`${f}:${d}`;i.sideEffects[p]=h,delete i.pendingSideEffects[p]}function l({id:f,$el:d,tag:h}){const p=h.tag.endsWith("Attrs");i.elMap[f]=d,p||(["textContent","innerHTML"].forEach(v=>{h[v]&&h[v]!==d[v]&&(d[v]=h[v])}),s(f,"el",()=>{var v;(v=i.elMap[f])==null||v.remove(),delete i.elMap[f]}));for(const[v,E]of Object.entries(h._eventHandlers||{}))d.getAttribute(`data-${v}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.replace("on",""),E.bind(d)),d.setAttribute(`data-${v}`,""));Object.entries(h.props).forEach(([v,E])=>{const P=`attr:${v}`;if(v==="class")for(const S of(E||"").split(" ").filter(Boolean))p&&s(f,`${P}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(v==="style")for(const S of(E||"").split(";").filter(Boolean)){const[b,...R]=S.split(":").map(T=>T.trim());s(f,`${P}:${S}:${b}`,()=>{d.style.removeProperty(b)}),d.style.setProperty(b,R.join(":"))}else d.getAttribute(v)!==E&&d.setAttribute(v,E===!0?"":String(E)),p&&s(f,P,()=>d.removeAttribute(v))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:h,id:p}=f;if(h){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[p],f.$el?l(f):tr.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 Up(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await xa(e,t),delete e._domUpdatePromise,r()}))}function Gp(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){Up(i,e)}}}}}const Wp=["templateParams","htmlAttrs","bodyAttrs"],qp={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=Oa(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&&Wp.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(br(r)>br(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(tr.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))}}},Kp={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"}})}}},zp=["script","link","bodyAttrs"],Jp=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>zp.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Rs.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||yi(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const i of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Rs.some(l=>`${l}fired`===s))){const s=i.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[s])==null||o.call(t,new Event(s.replace("on","")))}}}}),Yp=["link","style","script","noscript"],Xp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Yp.includes(e.tag)&&(e.props["data-hid"]=e._h=yi(e.key))}}},Qp={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 $p)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)=>br(n)-br(r))}}},Zp={meta:"content",link:"href",htmlAttrs:"lang"},eh=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=nr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Zp[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=nr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=nr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),th={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=vs(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=vs(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)}}},nh={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 ka;function rh(e={}){const t=oh(e);return t.use(Gp()),ka=t}function Ts(e,t){return!e||e==="server"&&t||e==="client"&&!t}function oh(e={}){const t=ya();t.addHooks(e.hooks||{}),e.document=e.document||(Vp?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),Ts(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Ts(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 Hp(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[qp,Kp,Jp,Xp,Qp,eh,th,nh,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function ih(){return ka}const sh=ia.startsWith("3");function lh(e){return typeof e=="function"?e():ie(e)}function xo(e,t=""){if(e instanceof Promise)return e;const n=lh(e);return!e||!n?n:Array.isArray(n)?n.map(r=>xo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ie(o)]:[r,xo(o,r)])):n}const ah={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=xo(t.input)}}},Na="usehead";function ch(e){return{install(n){sh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Na,e))}}.install}function uh(e={}){e.domDelayFn=e.domDelayFn||(n=>ni(()=>setTimeout(()=>n(),0)));const t=rh(e);return t.use(ah),t.install=ch(t),t}const ko=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},No="__unhead_injection_handler__";function fh(e){ko[No]=e}function my(){if(No in ko)return ko[No]();const e=Xt(Na);return e||ih()}const dh={nuxt:{buildId:"f0a0fb88-29eb-404a-b0c9-7ad64c942608"}},ph=fp(dh);function Da(){const e=de();return e._appConfig||(e._appConfig=Ke(ph)),e._appConfig}const hh={componentName:"NuxtLink"},mh="#__nuxt";let rr,Ma;function _h(){var t;const e=(t=Da().nuxt)==null?void 0:t.buildId;return rr=$fetch(hi(`builds/meta/${e}.json`)),rr.then(n=>{Ma=cp(n.matcher)}),rr}function jr(){return rr||_h()}async function bi(e){return await jr(),up({},...Ma.matchAll(e).reverse())}function Ps(e,t={}){const n=yh(e,t),r=de(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=bh(e).then(i=>i?Va(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const gh="_payload.json";function yh(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||vt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Da().nuxt)==null?void 0:o.buildId);return xn(Pn().app.baseURL,n.pathname,gh+(r?`?${r}`:""))}async function Va(e){const t=fetch(e).then(n=>n.text().then(Ba));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function bh(e=Aa().path){if(e=Br(e),(await jr()).prerendered.includes(e))return!0;const n=await bi(e);return!!n.prerender&&!n.redirect}let qn=null;async function vh(){if(qn)return qn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ba(e.textContent||""),n=e.dataset.src?await Va(e.dataset.src):void 0;return qn={...t,...n,...window.__NUXT__},qn}async function Ba(e){return await Ip(e,de()._payloadRevivers)}function Eh(e,t){de()._payloadRevivers[e]=t}const As={NuxtError:e=>gi(e),EmptyShallowRef:e=>ji(e==="_"?void 0:e==="0n"?BigInt(0):gr(e)),EmptyRef:e=>We(e==="_"?void 0:e==="0n"?BigInt(0):gr(e)),ShallowRef:e=>ji(e),ShallowReactive:e=>hl(e),Ref:e=>We(e),Reactive:e=>Ke(e)},wh=lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in As)Eh(r,As[r]);Object.assign(e.payload,([t,n]=ba(()=>e.runWithContext(vh)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Rh=[],Th=lt({name:"nuxt:head",enforce:"pre",setup(e){const t=uh({plugins:Rh});fh(()=>de().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await xa(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)}}}),Ph=async e=>{let t,n;const r=([t,n]=ba(()=>bi(e.path)),t=await t,n(),t);if(r.redirect)return vt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Ah=[Ph];function ro(e){typeof e=="object"&&(e=ha({pathname:e.path||"",search:ca(e.query||{}),hash:e.hash||""}));const t=an(e.toString());return{path:t.pathname,fullPath:e,query:pi(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Ch=lt({name:"nuxt:router",enforce:"pre",setup(e){const t=Ed(window.location.pathname,Pn().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=Pn().app.baseURL,s=Ke(ro(t));async function l(f,d){try{const h=ro(f);for(const p of r["navigate:before"]){const v=await p(h,s);if(v===!1||v instanceof Error)return;if(typeof v=="string"&&v.length)return l(v,!0)}for(const p of r["resolve:before"])await p(h,s);Object.assign(s,h),window.history[d?"replaceState":"pushState"]({},"",xn(i,h.fullPath)),e.isHydrating||await e.runWithContext(vp);for(const p of r["navigate:after"])await p(h,s)}catch(h){for(const p of r.error)await p(h)}}const c={currentRoute:_t(()=>s),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:ro,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(h=>h.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Mt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const h=()=>l(f.to,f.replace);return()=>{var v;const p=c.resolve(f.to);return f.custom?(v=d.default)==null?void 0:v.call(d,{href:f.to,navigate:h,route:p}):To("a",{href:f.to,onClick:E=>(E.preventDefault(),h())},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=Ke(f.meta||{}),e.isHydrating&&u&&!Ot(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const h=new Set([...Ah,...e._middleware.global]);{const p=await e.runWithContext(()=>bi(f.path));if(p.appMiddleware)for(const v in p.appMiddleware){const E=e._middleware.named[v];if(!E)return;p.appMiddleware[v]?h.add(E):h.delete(E)}}for(const p of h){const v=await e.runWithContext(()=>p(f,d));if(v!==!0&&(v||v===!1))return v}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Rd(s.fullPath,t)||await e.runWithContext(()=>Ca(s.fullPath))}),{provide:{route:s,router:c}}}}),Do=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Sh=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),vi=e=>{const t=de();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Do(e)}):Do(e)},Lh=lt({name:"nuxt:payload",setup(e){Et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ps(t.path);r&&Object.assign(e.static.data,r.data)}),vi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{an(n).protocol||await Ps(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(jr,1e3)})}}),Oh=lt(e=>{let t;async function n(){const r=await jr();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(hi("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}vi(()=>{t=setTimeout(n,1e3*60*60)})}),Ih=lt({name:"nuxt:global-components"}),xh="$s";function kh(...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=xh+n,i=de(),s=wl(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Te(l))return i.payload.state[o]=l,l;s.value=l}return s}const Nh="__NUXT_COLOR_MODE__",Dh="nuxt-color-mode",nt=window[Nh]||{},Mh=lt(e=>{const t=kh("color-mode",()=>Ke({preference:nt.preference,value:nt.value,unknown:!1,forced:!1})).value;Et().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"?nt.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=nt.getColorScheme())}))}hn(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=nt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(Dh,o))},{immediate:!0}),hn(()=>t.value,(o,i)=>{nt.removeColorScheme(i),nt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nt.preference,t.value=nt.value,t.unknown=!1)}),e.provide("colorMode",t)}),Vh=lt(()=>{});function Bh(e={}){const t=e.path||window.location.pathname;let n={};try{n=gr(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:de().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const jh=lt({name:"nuxt:chunk-reload",setup(e){const t=Et(),n=Pn(),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:xn(n.app.baseURL,i.fullPath);Bh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Fh=[wh,Th,Ch,Lh,Oh,Ih,Mh,Vh,jh],Hh=Mt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ne(),Oe("div",{class:kt(["n-icon",t.icon])},null,2))}});async function ja(e,t=Et()){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(()=>ja(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 $h=(...e)=>e.find(t=>t!==void 0);function Uh(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Cs(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Cs(i,e.trailingSlash)}}return Mt({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=Et(),s=Pn(),l=_t(()=>{const p=r.to||r.href||"";return n(p,i.resolve)}),a=_t(()=>typeof l.value=="string"&&vt(l.value,{acceptRelative:!0})),c=_t(()=>r.target&&r.target!=="_self"),u=_t(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=We(!1),d=We(null),h=p=>{var v;d.value=r.custom?(v=p==null?void 0:p.$el)==null?void 0:v.nextElementSibling:p==null?void 0:p.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!qh()){const v=de();let E,P=null;kl(()=>{const S=Wh();vi(()=>{E=Do(()=>{var b;(b=d==null?void 0:d.value)!=null&&b.tagName&&(P=S.observe(d.value,async()=>{P==null||P(),P=null;const R=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([v.hooks.callHook("link:prefetch",R).catch(()=>{}),!u.value&&ja(l.value,i).catch(()=>{})]),f.value=!0}))})})}),Nl(()=>{E&&Sh(E),P==null||P(),P=null})}return()=>{var P,S;if(!u.value){const b={ref:h,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||(f.value&&(b.class=r.prefetchedClass||e.prefetchedClass),b.rel=r.rel||void 0),To(Su("RouterLink"),b,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(xn(s.app.baseURL,l.value),i.resolve):l.value||null,v=r.target||null,E=$h(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const b=()=>Ca(p,{replace:r.replace,external:r.external});return o.default({href:p,navigate:b,get route(){if(!p)return;const R=an(p);return{path:R.pathname,fullPath:R.pathname,get query(){return pi(R.search)},hash:R.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:E,target:v,isExternal:u.value,isActive:!1,isExactActive:!1})}return To("a",{ref:d,href:p,rel:E,target:v},(S=o.default)==null?void 0:S.call(o))}}})}const Gh=Uh(hh);function Cs(e,t){const n=t==="append"?mr:Br;return vt(e)&&!e.startsWith("http")?e:n(e,!0)}function Wh(){const e=de();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 qh(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Kh=Mt({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Hh;return ne(),Me(Sl(t.to?ie(Gh):"button"),ta({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:wn(()=>[qi(t.$slots,"icon",{},()=>[t.icon?(ne(),Me(r,{key:0,icon:t.icon,class:kt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ft("",!0)]),qi(t.$slots,"default")]),_:3},16,["to","class"])}}}),Fa=[{id:"abap",name:"ABAP",import:()=>m(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>m(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>m(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>m(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>m(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>m(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>m(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>m(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>m(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./wORFcijT.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>m(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>m(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>m(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>m(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>m(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>m(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>m(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>m(()=>import("./C1DVX8_8.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>m(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>m(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>m(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>m(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>m(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>m(()=>import("./TQ9oWRfF.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>m(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>m(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6nY7VDA.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>m(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>m(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>m(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>m(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>m(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>m(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>m(()=>import("./BswfO-CF.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>m(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>m(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>m(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>m(()=>import("./BaNxgKSR.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./RgJsN3zu.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./C3YqBJkQ.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>m(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>m(()=>import("./DXpYegZJ.js"),__vite__mapDeps([33,34]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([35,36,37]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>m(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>m(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>m(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>m(()=>import("./DAVo6uMX.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./CPHkTjfH.js"),__vite__mapDeps([40,25]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>m(()=>import("./Dz2Ca8U2.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>m(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([41,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([42,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./WoBtJUue.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>m(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>m(()=>import("./BmCW-tYz.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./IHMnEr_d.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,34]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./CkMwVfOK.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>m(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>m(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>m(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./DfUNg_8t.js"),__vite__mapDeps([50,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([51,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>m(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>m(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>m(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>m(()=>import("./D4LaosRr.js"),__vite__mapDeps([52,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([53,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>m(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>m(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>m(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>m(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>m(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>m(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>m(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>m(()=>import("./ZQC2c-5V.js"),__vite__mapDeps([54,21,22,23,18,55,2,56]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>m(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>m(()=>import("./DIr-ordK.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./BIMuYTWL.js"),__vite__mapDeps([57,58,56,3,59,1,2,7,8,30,23,54,21,22,18,55,29,25,11,48,60,61,62]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./DywwDckn.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>m(()=>import("./D4LhxNOI.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./DnhXxWz-.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>m(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>m(()=>import("./DCk2z-Tu.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./Bd7iooY8.js"),__vite__mapDeps([64,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./BgBwMnrY.js"),__vite__mapDeps([65,34,48,49,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./BSyl5yf0.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./bmJ2objS.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>m(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>m(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>m(()=>import("./CUVblut_.js"),__vite__mapDeps([66,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./BILqrcpa.js"),__vite__mapDeps([67,23,1,2,3,7,8,22,34]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./Dszwcx0o.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CL7Ixq1B.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>m(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>m(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>m(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>m(()=>import("./Bz4xi2rU.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([68,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([69,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>m(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>m(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>m(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>m(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>m(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>m(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>m(()=>import("./DhFF74a2.js"),__vite__mapDeps([70,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>m(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>m(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>m(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>m(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>m(()=>import("./wPLeKH6q.js"),__vite__mapDeps([71,1,2,3,72]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>m(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>m(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>m(()=>import("./CQTpvb7m.js"),__vite__mapDeps([73,49,1,2,3,21,22,23,18,55,25,48,74,29,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./DCAtC51B.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./j8KhMG0x.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([75,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>m(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>m(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>m(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>m(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./D4k753MY.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./Bdb36Id5.js"),__vite__mapDeps([78,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>m(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>m(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>m(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>m(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>m(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>m(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([81,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./doGI2cFk.js"),__vite__mapDeps([82,2,11,20,12,13,3,5,14,15,70,1,34]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./DzPyIVdT.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>m(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>m(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>m(()=>import("./7fd6vGzb.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./CGQbO34C.js"),__vite__mapDeps([58,56]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>m(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>m(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>m(()=>import("./DCdPDLy4.js"),__vite__mapDeps([83,3,2,5,69,1,7,8,18,9,55,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>m(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>m(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>m(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>m(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>m(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>m(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>m(()=>import("./BBv1LFm6.js"),__vite__mapDeps([84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./CRWwmX0L.js"),__vite__mapDeps([88,84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>m(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>m(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>m(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>m(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>m(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>m(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>m(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>m(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>m(()=>import("./Bsp1M94H.js"),[],import.meta.url)}],zh=Object.fromEntries(Fa.map(e=>[e.id,e.import])),Jh=Object.fromEntries(Fa.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Yh={...zh,...Jh},Xh=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),Qh=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>m(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>m(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>m(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>m(()=>import("./DZ3fVoEH.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./DCj4DH6i.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./D-pQtGOP.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./BsfQk1vf.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>m(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>m(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>m(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>m(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>m(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>m(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>m(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>m(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>m(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>m(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>m(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>m(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>m(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>m(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>m(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>m(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>m(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>m(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>m(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>m(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>m(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>m(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>m(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>m(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>m(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>m(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>m(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>m(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>m(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>m(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>m(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>m(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>m(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>m(()=>import("./CrjQeCwm.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./DggdVF2v.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./A1WiD9SJ.js"),[],import.meta.url)}],Zh=Object.fromEntries(Qh.map(e=>[e.id,e.import]));var Ge;(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"})(Ge||(Ge={}));var rn;(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),h=e.getFontStyle(u),p=e.getForeground(u),v=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:v})}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,h,p,v,E){let P=e.getLanguageId(u),S=e.getTokenType(u),b=e.containsBalancedBrackets(u)?1:0,R=e.getFontStyle(u),T=e.getForeground(u),A=e.getBackground(u);return f!==0&&(P=f),d!==8&&(S=d),h!==null&&(b=h?1:0),p!==-1&&(R=p),v!==0&&(T=v),E!==0&&(A=E),(P<<0|S<<8|b<<10|R<<11|T<<15|A<<24)>>>0}e.set=c})(rn||(rn={}));function vr(e,t){const n=[],r=em(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(Ss(o)){const a=[];do a.push(o),o=r.next();while(Ss(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 Ss(e){return!!e&&!!e.match(/[\w\.:]+/)}function em(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 Ha(e){typeof e.dispose=="function"&&e.dispose()}function tm(e){return Ei(e)}function Ei(e){return Array.isArray(e)?nm(e):typeof e=="object"?rm(e):e}function nm(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Ei(e[n]);return t}function rm(e){let t={};for(let n in e)t[n]=Ei(e[n]);return t}function $a(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Ua(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ua(e.substring(0,e.length-1)):e.substr(~t+1)}let oo=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Kn{static hasCaptures(t){return t===null?!1:(oo.lastIndex=0,oo.test(t))}static replaceCaptures(t,n,r){return t.replace(oo,(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 Ga(e,t){return e<t?-1:e>t?1:0}function Wa(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=Ga(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Ls(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 qa(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class Ka{constructor(t){y(this,"fn");y(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 An{constructor(t){y(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class om{constructor(t,n){y(this,"scopeName");y(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class im{constructor(){y(this,"_references",[]);y(this,"_seenReferenceKeys",new Set);y(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 sm{constructor(t,n){y(this,"repo");y(this,"initialScopeName");y(this,"seenFullScopeRequests",new Set);y(this,"seenPartialScopeRequests",new Set);y(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new An(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new im;for(const r of t)lm(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof An){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 lm(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 An?or({baseGrammar:i,selfGrammar:o},r):Mo(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 An(l))}function Mo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Er([r],t,n)}}function or(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Er(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Er(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Er(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?$a({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Er(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=za(i);switch(s.kind){case 0:or({...t,selfGrammar:t.baseGrammar},n);break;case 1:or(t,n);break;case 2:Mo(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?Mo(s.ruleName,a,n):or(a,n)}else s.kind===4?n.add(new om(s.scopeName,s.ruleName)):n.add(new An(s.scopeName));break}}}class am{constructor(){y(this,"kind",0)}}class cm{constructor(){y(this,"kind",1)}}class um{constructor(t){y(this,"ruleName");y(this,"kind",2);this.ruleName=t}}class fm{constructor(t){y(this,"scopeName");y(this,"kind",3);this.scopeName=t}}class dm{constructor(t,n){y(this,"scopeName");y(this,"ruleName");y(this,"kind",4);this.scopeName=t,this.ruleName=n}}function za(e){if(e==="$base")return new am;if(e==="$self")return new cm;const t=e.indexOf("#");if(t===-1)return new fm(e);if(t===0)return new um(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new dm(n,r)}}const pm=/\\(\d+)/,Os=/\\(\d+)/g,hm=-1,Ja=-2;class kn{constructor(t,n,r,o){y(this,"$location");y(this,"id");y(this,"_nameIsCapturing");y(this,"_name");y(this,"_contentNameIsCapturing");y(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Kn.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Kn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Ua(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:Kn.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Kn.replaceCaptures(this._contentName,t,n)}}class mm extends kn{constructor(n,r,o,i,s){super(n,r,o,i);y(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 _m extends kn{constructor(n,r,o,i,s){super(n,r,o,null);y(this,"_match");y(this,"captures");y(this,"_cachedCompiledPatterns");this._match=new xt(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 Cn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Is extends kn{constructor(n,r,o,i,s){super(n,r,o,i);y(this,"hasMissingPatterns");y(this,"patterns");y(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 Cn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Vo extends kn{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"_end");y(this,"endHasBackReferences");y(this,"endCaptures");y(this,"applyEndPatternLast");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this._begin=new xt(s,this.id),this.beginCaptures=l,this._end=new xt(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 Cn;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 wr extends kn{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);y(this,"_begin");y(this,"beginCaptures");y(this,"whileCaptures");y(this,"_while");y(this,"whileHasBackReferences");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");y(this,"_cachedCompiledWhilePatterns");this._begin=new xt(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new xt(a,Ja),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 Cn;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 Cn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}}class ye{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new mm(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new _m(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=$a({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Is(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(i,n,r))}return t.while?new wr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new Vo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._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=ye.getCompiledRuleId(t[s],n,r)),o[l]=ye.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=za(l.include);switch(c.kind){case 0:case 1:a=ye.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=ye.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(a=ye.getCompiledRuleId(p,n,h.repository))}else a=ye.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else a=ye.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof Is||c instanceof Vo||c instanceof wr)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class xt{constructor(t,n){y(this,"source");y(this,"ruleId");y(this,"hasAnchor");y(this,"hasBackReferences");y(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=pm.test(this.source)}clone(){return new xt(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 Os.lastIndex=0,this.source.replace(Os,(o,i)=>qa(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 Cn{constructor(){y(this,"_items");y(this,"_hasAnchors");y(this,"_cached");y(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 xs(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 xs(t,o,this._items.map(i=>i.ruleId))}}class xs{constructor(t,n,r){y(this,"regExps");y(this,"rules");y(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(`
24
24
  `)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Bo{constructor(t,n,r){y(this,"_colorMap");y(this,"_defaults");y(this,"_root");y(this,"_cachedMatchRoot",new Ka(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(bm(t),n)}static createFromParsedTheme(t,n){return Em(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=>gm(t.parent,i.parentScopes));return o?new Ya(o.fontStyle,o.foreground,o.background):null}}class Lt{constructor(t,n){y(this,"parent");y(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Lt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Lt(n,t[r]);return n}push(t){return new Lt(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 gm(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(ym(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function ym(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class Ya{constructor(t,n,r){y(this,"fontStyle");y(this,"foregroundId");y(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function bm(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,h=f.length;d<h;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"&&Ls(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Ls(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let p=l[f].trim().split(" "),v=p[p.length-1],E=null;p.length>1&&(E=p.slice(0,p.length-1),E.reverse()),n[r++]=new vm(v,E,o,a,c,u)}}return n}class vm{constructor(t,n,r,o,i,s){y(this,"scope");y(this,"parentScopes");y(this,"index");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function Em(e,t){e.sort((a,c)=>{let u=Ga(a.scope,c.scope);return u!==0||(u=Wa(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 wm(t),s=new Ya(n,i.getId(r),i.getId(o)),l=new yn(new Sn(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 Bo(i,s,l)}class wm{constructor(t){y(this,"_isFrozen");y(this,"_lastColorId");y(this,"_id2color");y(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 Sn{constructor(t,n,r,o,i){y(this,"scopeDepth");y(this,"parentScopes");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new Sn(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 yn{constructor(t,n=[],r={}){y(this,"_mainRule");y(this,"_children");y(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 yn._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):yn._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 yn(this._mainRule.clone(),Sn.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(Wa(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 Sn(t,n,r,o,i))}}class io{constructor(t,n){y(this,"languageId");y(this,"tokenType");this.languageId=t,this.tokenType=n}}const $t=class $t{constructor(t,n){y(this,"_defaultAttributes");y(this,"_embeddedLanguagesMatcher");y(this,"_getBasicScopeAttributes",new Ka(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new io(n,r)}));this._defaultAttributes=new io(t,8),this._embeddedLanguagesMatcher=new Rm(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?$t._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match($t.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!")}};y($t,"_NULL_SCOPE_METADATA",new io(0,0)),y($t,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let jo=$t;class Rm{constructor(t){y(this,"values");y(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>qa(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 ks{constructor(t,n){y(this,"stack");y(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function Xa(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const h=Tm(e,t,n,r,o,i);o=h.stack,r=h.linePos,n=h.isFirstLine,u=h.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new ks(o,!0);d()}return new ks(o,!1);function d(){const h=Pm(e,t,n,r,o,u);if(!h){i.produce(o,a),c=!0;return}const p=h.captureIndices,v=h.matchedRuleId,E=p&&p.length>0?p[0].end>r:!1;if(v===hm){const P=o.getRule(e);i.produce(o,p[0].start),o=o.withContentNameScopesList(o.nameScopesList),pn(e,t,n,o,i,P.endCaptures,p),i.produce(o,p[0].end);const S=o;if(o=o.parent,u=S.getAnchorPos(),!E&&S.getEnterPos()===r){o=S,i.produce(o,a),c=!0;return}}else{const P=e.getRule(v);i.produce(o,p[0].start);const S=o,b=P.getName(t.content,p),R=o.contentNameScopesList.pushAttributed(b,e);if(o=o.push(v,r,u,p[0].end===a,null,R,R),P instanceof Vo){const T=P;pn(e,t,n,o,i,T.beginCaptures,p),i.produce(o,p[0].end),u=p[0].end;const A=T.getContentName(t.content,p),V=R.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,p))),!E&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(P instanceof wr){const T=P;pn(e,t,n,o,i,T.beginCaptures,p),i.produce(o,p[0].end),u=p[0].end;const A=T.getContentName(t.content,p),V=R.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,p))),!E&&S.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(pn(e,t,n,o,i,P.captures,p),i.produce(o,p[0].end),o=o.pop(),!E){o=o.safePop(),i.produce(o,a),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function Tm(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 wr&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Sm(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Ja){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),pn(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 Pm(e,t,n,r,o,i){const s=Am(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Cm(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 Am(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=Qa(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Cm(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,h=e.length;d<h;d++){const p=e[d];if(!p.matcher(f))continue;const v=t.getRule(p.ruleId),{ruleScanner:E,findOptions:P}=Qa(v,t,null,r,o===s),S=E.findNextMatchSync(n,o,P);if(!S)continue;const b=S.captureIndices[0].start;if(!(b>=l)&&(l=b,a=S.captureIndices,c=S.ruleId,u=p.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function Qa(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Sm(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function pn(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 h=s[f];if(h.length===0)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.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,h.start):o.produce(r,h.start),d.retokenizeCapturedWithRuleId){const v=d.getName(l,s),E=r.contentNameScopesList.pushAttributed(v,e),P=d.getContentName(l,s),S=E.pushAttributed(P,e),b=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,E,S),R=e.createOnigString(l.substring(0,h.end));Xa(e,R,n&&h.start===0,h.start,b,o,!1,0),Ha(R);continue}const p=d.getName(l,s);if(p!==null){const E=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new Lm(E,h.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Lm{constructor(t,n){y(this,"scopes");y(this,"endPos");this.scopes=t,this.endPos=n}}function Om(e,t,n,r,o,i,s,l){return new xm(e,t,n,r,o,i,s,l)}function Ns(e,t,n,r,o){const i=vr(t,Rr),s=ye.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 Rr(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(Im(t[o],r))return n=o+1,!0;return!1})}function Im(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 xm{constructor(t,n,r,o,i,s,l,a){y(this,"_rootScopeName");y(this,"balancedBracketSelectors");y(this,"_onigLib");y(this,"_rootId");y(this,"_lastRuleId");y(this,"_ruleId2desc");y(this,"_includedGrammars");y(this,"_grammarRepository");y(this,"_grammar");y(this,"_injections");y(this,"_basicScopeAttributesProvider");y(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new jo(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Ds(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=vr(c,Rr);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)Ns(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&&Ns(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]=Ds(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=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===Ln.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=rn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=Le.createRootAndLookUpScopeName(h,d,this):p=Le.createRoot("unknown",d),n=new Ln(null,this._rootId,-1,-1,!1,null,p,p)}else i=!1,n.reset();t=t+`
25
25
  `;const s=this.createOnigString(t),l=s.content.length,a=new Nm(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Xa(this,s,i,0,n,a,!0,o);return Ha(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Ds(e,t){return e=tm(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 Le{constructor(t,n,r){y(this,"parent");y(this,"scopePath");y(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=Lt.push(o,i.scopeNames),r=new Le(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new Le(null,new Lt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new Lt(null,t),s=r.themeProvider.themeMatch(i),l=Le.mergeAttributes(n,o,s);return new Le(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Le.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),rn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Le._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=Le._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=Le.mergeAttributes(t.tokenAttributes,o,s);return new Le(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 rt=class rt{constructor(t,n,r,o,i,s,l,a){y(this,"parent");y(this,"ruleId");y(this,"beginRuleCapturedEOL");y(this,"endRule");y(this,"nameScopesList");y(this,"contentNameScopesList");y(this,"_stackElementBrand");y(this,"_enterPos");y(this,"_anchorPos");y(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:rt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Le.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(){rt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new rt(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 rt(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=Le.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new rt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Le.fromExtension(r,n.contentNameScopesList))}};y(rt,"NULL",new rt(null,0,0,0,!1,null,null,null));let Ln=rt;class km{constructor(t,n){y(this,"balancedBracketScopes");y(this,"unbalancedBracketScopes");y(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):vr(r,Rr).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>vr(r,Rr).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 Nm{constructor(t,n,r,o){y(this,"balancedBracketSelectors");y(this,"_emitBinaryTokens");y(this,"_lineText");y(this,"_tokens");y(this,"_binaryTokens");y(this,"_lastTokenEndIndex");y(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=rn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=rn.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 Dm{constructor(t,n){y(this,"_onigLibPromise");y(this,"_grammars",new Map);y(this,"_rawGrammars",new Map);y(this,"_injectionGrammars",new Map);y(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,Om(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Mm=class{constructor(t){y(this,"_options");y(this,"_syncRegistry");y(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Dm(Bo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Bo.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 km(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new sm(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 Vm=Ln.NULL,ve={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 ot{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&ve.LANGUAGEID_MASK)>>>ve.LANGUAGEID_OFFSET}static getTokenType(t){return(t&ve.TOKEN_TYPE_MASK)>>>ve.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&ve.FONT_STYLE_MASK)>>>ve.FONT_STYLE_OFFSET}static getForeground(t){return(t&ve.FOREGROUND_MASK)>>>ve.FOREGROUND_OFFSET}static getBackground(t){return(t&ve.BACKGROUND_MASK)>>>ve.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&ve.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=ot.getLanguageId(t),a=ot.getTokenType(t),c=ot.getFontStyle(t),u=ot.getForeground(t),f=ot.getBackground(t);const d=ot.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Ge.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<ve.LANGUAGEID_OFFSET|a<<ve.TOKEN_TYPE_OFFSET|c<<ve.FONT_STYLE_OFFSET|d<<ve.BALANCED_BRACKETS_OFFSET|u<<ve.FOREGROUND_OFFSET|f<<ve.BACKGROUND_OFFSET)>>>0}}function Fr(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const l=t?n[s]+(n[s+1]||""):n[s];o.push([l,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function Za(e){return!e||["plaintext","txt","text","plain"].includes(e)}function ec(e){return e==="ansi"||Za(e)}function tc(e){return e==="none"}function nc(e){return tc(e)}function rc(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function Bm(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function jm(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,l)=>s-l);return i.length?Bm(o,i):o})):e}function oc(e,t){return(t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e}function ic(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}function sc(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Fm(e){const t=Fr(e,!0).map(([o])=>o);function n(o){let i=o,s=0;for(const l of t){if(i<l.length)break;i-=l.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let l=0;l<o;l++)s+=t[l].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}var At=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],so={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Hm(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 Ms(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 $m(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)so[o]&&t.push({type:"setDecoration",value:so[o]});else if(o<=29){const i=so[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:At[o-30]}});else if(o===38){const[i,s]=Ms(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:At[o-40]}});else if(o===48){const[i,s]=Ms(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:At[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:At[o-100+8]}})}return t}function Um(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=Hm(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=$m(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 Gm={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 Wm(e=Gm){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<At.length;c++)r.push(t(At[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 qm(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=Fr(t),i=Wm(Object.fromEntries(At.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=Um();return o.map(l=>s.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?i.value(a.background):e.bg,u=a.foreground?i.value(a.foreground):e.fg):(c=a.foreground?i.value(a.foreground):e.fg,u=a.background?i.value(a.background):void 0),c=oc(c,r),a.decorations.has("dim")&&(c=Km(c));let f=Ge.None;return a.decorations.has("bold")&&(f|=Ge.Bold),a.decorations.has("italic")&&(f|=Ge.Italic),a.decorations.has("underline")&&(f|=Ge.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Km(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 wi(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(Za(r)||tc(o))return Fr(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return qm(i,t,n);const l=e.getLanguage(r);return zm(t,l,i,s,n)}function zm(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Fr(e);let c=Vm,u=[];const f=[];for(let d=0,h=a.length;d<h;d++){const[p,v]=a[d];if(p===""){u=[],f.push([]);continue}if(s>0&&p.length>=s){u=[],f.push([{content:p,offset:v,color:"",fontStyle:0}]);continue}let E,P,S;o.includeExplanation&&(E=t.tokenizeLine(p,c),P=E.tokens,S=0);const b=t.tokenizeLine2(p,c,l),R=b.tokens.length/2;for(let T=0;T<R;T++){const A=b.tokens[2*T],V=T+1<R?b.tokens[2*T+2]:p.length;if(A===V)continue;const K=b.tokens[2*T+1],G=ot.getForeground(K),H=oc(r[G],i),ee=ot.getFontStyle(K),X={content:p.substring(A,V),offset:v+A,color:H,fontStyle:ee};if(o.includeExplanation){X.explanation=[];let re=0;for(;A+re<V;){const he=P[S],ce=p.substring(he.startIndex,he.endIndex);re+=ce.length,X.explanation.push({content:ce,scopes:Jm(n,he.scopes)}),S+=1}}u.push(X)}f.push(u),u=[],c=b.ruleStack}return f}function Jm(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:Xm(e,s,i)}}return n}function Vs(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function Ym(e,t,n,r){if(!Vs(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)Vs(t[o],r[i])&&(o-=1),i-=1;return o===-1}function Xm(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(/ /),h=d[d.length-1],p=d.slice(0,d.length-1);Ym(h,p,t,n)&&(r[o++]=l,c=u)}}return r}function lc(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=Qm(...r.map(s=>wi(e,t,{...n,theme:s.theme})));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:h,explanation:p,offset:v,...E}=f[l][c];u.variants[r[d].color]=E}),u}))}function Qm(...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}class Ee extends Error{constructor(t){super(t),this.name="ShikiError"}}function Tr(e,t,n){let r,o,i,s,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-"}=n,u=Object.entries(n.themes).filter(p=>p[1]).map(p=>({color:p[0],theme:p[1]})).sort((p,v)=>p.color===a?-1:v.color===a?1:0);if(u.length===0)throw new Ee("`themes` option must not be empty");const f=lc(e,t,n);if(a&&!u.find(p=>p.color===a))throw new Ee(`\`themes\` option must contain the defaultColor key \`${a}\``);const d=u.map(p=>e.getTheme(p.theme)),h=u.map(p=>p.color);i=f.map(p=>p.map(v=>Zm(v,h,c,a))),o=u.map((p,v)=>(v===0&&a?"":`${c+p.color}:`)+(d[v].fg||"inherit")).join(";"),r=u.map((p,v)=>(v===0&&a?"":`${c+p.color}-bg:`)+(d[v].bg||"inherit")).join(";"),s=`shiki-themes ${d.map(p=>p.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){i=wi(e,t,n);const a=e.getTheme(n.theme);r=a.bg,o=a.fg,s=a.name}else throw new Ee("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Zm(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>ic(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 h=f==="color"?"":f==="background-color"?"-bg":`-${f}`,p=n+t[u]+(f==="color"?"":h);a[f]?a[f]+=`;${p}:${d}`:a[f]=`${p}:${d}`}}return a},{});return o.htmlStyle=r?sc(l):Object.values(l).join(";"),o}function e_(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let i=function(l){return typeof l=="number"?{...o.indexToPos(l),offset:l}:{...l,offset:o.posToIndex(l.line,l.character)}};const o=Fm(r.source),s=(r.options.decorations||[]).map(l=>({...l,start:i(l.start),end:i(l.end)}));n(s),e.set(r.meta,{decorations:s,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const i=r[o];if(i.start.offset>i.end.offset)throw new Ee(`Invalid decoration range: ${JSON.stringify(i.start)} - ${JSON.stringify(i.end)}`);for(let s=o+1;s<r.length;s++){const l=r[s],a=i.start.offset<l.start.offset&&l.start.offset<i.end.offset,c=i.start.offset<l.end.offset&&l.end.offset<i.end.offset,u=l.start.offset<i.start.offset&&i.start.offset<l.end.offset,f=l.start.offset<i.end.offset&&i.end.offset<l.end.offset;if(a||c||u||f){if(c&&c||u&&f)continue;throw new Ee(`Decorations ${JSON.stringify(i.start)} and ${JSON.stringify(l.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var l;if(!((l=this.options.decorations)!=null&&l.length))return;const i=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return jm(r,i)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const o=t(this),i=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(i.length!==o.converter.lines.length)throw new Ee(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function s(d,h,p,v){const E=i[d];let P="",S=-1,b=-1;function R(A){return A.type==="text"?A.value:A.type==="element"?A.children.map(R).join(""):""}if(h===0&&(S=0),p===0&&(b=0),p===Number.POSITIVE_INFINITY&&(b=E.children.length),S===-1||b===-1)for(let A=0;A<E.children.length;A++)P+=R(E.children[A]),S===-1&&P.length===h&&(S=A+1),b===-1&&P.length===p&&(b=A+1);if(S===-1)throw new Ee(`Failed to find start index for decoration ${JSON.stringify(v.start)}`);if(b===-1)throw new Ee(`Failed to find end index for decoration ${JSON.stringify(v.end)}`);const T=E.children.slice(S,b);if(!v.alwaysWrap&&T.length===E.children.length)a(E,v,"line");else if(!v.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],v,"token");else{const A={type:"element",tagName:"span",properties:{},children:T};a(A,v,"wrapper"),E.children.splice(S,T.length,A)}}function l(d,h){i[d]=a(i[d],h,"line")}function a(d,h,p){var P;const v=h.properties||{},E=h.transform||(S=>S);return d.tagName=h.tagName||"span",d.properties={...d.properties,...v,class:d.properties.class},(P=h.properties)!=null&&P.class&&rc(d,h.properties.class),d=E(d,p)||d,d}const c=[],u=o.decorations.sort((d,h)=>h.start.offset-d.start.offset);for(const d of u){const{start:h,end:p}=d;if(h.line===p.line)s(h.line,h.character,p.character,d);else if(h.line<p.line){s(h.line,h.character,Number.POSITIVE_INFINITY,d);for(let v=h.line+1;v<p.line;v++)c.unshift(()=>l(v,d));s(p.line,0,p.character,d)}}c.forEach(d=>d())}}}const t_=[e_()];function Pr(e){return[...e.transformers||[],...t_]}function Ar(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Ar(e,o,i),codeToTokens:(o,i)=>Tr(e,o,i)}){var d,h;let o=t;for(const p of Pr(n))o=((d=p.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=Tr(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=r_(i):u==="never"&&(i=o_(i));const f={...r,get source(){return o}};for(const p of Pr(n))i=((h=p.tokens)==null?void 0:h.call(f,i))||i;return n_(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function n_(e,t,n){var f,d,h;const r=Pr(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(([p])=>!p.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const a=[],c={...n,addClassToHast:rc,get source(){return n.source},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((p,v)=>{var S,b;v&&o.push({type:"text",value:`
26
26
  `});let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},P=0;for(const R of p){let T={type:"element",tagName:"span",properties:{},children:[{type:"text",value:R.content}]};const A=R.htmlStyle||sc(ic(R));A&&(T.properties.style=A);for(const V of r)T=((S=V==null?void 0:V.span)==null?void 0:S.call(c,T,v+1,P,E))||T;E.children.push(T),P+=R.content.length}for(const R of r)E=((b=R==null?void 0:R.line)==null?void 0:b.call(c,E,v+1))||E;a.push(E),o.push(E)});for(const p of r)l=((f=p==null?void 0:p.code)==null?void 0:f.call(c,l))||l;s.children.push(l);for(const p of r)s=((d=p==null?void 0:p.pre)==null?void 0:d.call(c,s))||s;i.children.push(s);let u=i;for(const p of r)u=((h=p==null?void 0:p.root)==null?void 0:h.call(c,u))||u;return u}function r_(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&Ge.Underline);a&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(a?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function o_(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 i_=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Nn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Nn.prototype.property={};Nn.prototype.normal={};Nn.prototype.space=null;function ac(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 Nn(n,r,t)}function Fo(e){return e.toLowerCase()}class He{constructor(t,n){this.property=t,this.attribute=n}}He.prototype.space=null;He.prototype.boolean=!1;He.prototype.booleanish=!1;He.prototype.overloadedBoolean=!1;He.prototype.number=!1;He.prototype.commaSeparated=!1;He.prototype.spaceSeparated=!1;He.prototype.commaOrSpaceSeparated=!1;He.prototype.mustUseProperty=!1;He.prototype.defined=!1;let s_=0;const z=Vt(),pe=Vt(),cc=Vt(),I=Vt(),oe=Vt(),Qt=Vt(),De=Vt();function Vt(){return 2**++s_}var Ho=Object.freeze({__proto__:null,boolean:z,booleanish:pe,commaOrSpaceSeparated:De,commaSeparated:Qt,number:I,overloadedBoolean:cc,spaceSeparated:oe});const lo=Object.keys(Ho);class Ri extends He{constructor(t,n,r,o){let i=-1;if(super(t,n),Bs(this,"space",o),typeof r=="number")for(;++i<lo.length;){const s=lo[i];Bs(this,lo[i],(r&Ho[s])===Ho[s])}}}Ri.prototype.defined=!0;function Bs(e,t,n){n&&(e[t]=n)}const l_={}.hasOwnProperty;function cn(e){const t={},n={};let r;for(r in e.properties)if(l_.call(e.properties,r)){const o=e.properties[r],i=new Ri(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Fo(r)]=r,n[Fo(i.attribute)]=r}return new Nn(t,n,e.space)}const uc=cn({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}}),fc=cn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function dc(e,t){return t in e?e[t]:t}function pc(e,t){return dc(e,t.toLowerCase())}const hc=cn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:pc,properties:{xmlns:null,xmlnsXLink:null}}),mc=cn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:pe,ariaAutoComplete:null,ariaBusy:pe,ariaChecked:pe,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:pe,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:pe,ariaFlowTo:oe,ariaGrabbed:pe,ariaHasPopup:null,ariaHidden:pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:I,ariaLive:null,ariaModal:pe,ariaMultiLine:pe,ariaMultiSelectable:pe,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:pe,ariaReadOnly:pe,ariaRelevant:null,ariaRequired:pe,ariaRoleDescription:oe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:pe,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),a_=cn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:pc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qt,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:oe,autoFocus:z,autoPlay:z,blocking:oe,capture:null,charSet:null,checked:z,cite:null,className:oe,cols:I,colSpan:null,content:null,contentEditable:pe,controls:z,controlsList:oe,coords:I|Qt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:cc,draggable:pe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:oe,height:I,hidden:z,high:I,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:oe,itemRef:oe,itemScope:z,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle: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:z,optimum:I,pattern:null,ping:oe,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:oe,required:z,reversed:z,rows:I,rowSpan:I,sandbox:oe,scope:null,scoped:z,seamless:z,selected:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:pe,width:I,wrap:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:pe,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:I,security:null,unselectable:null}}),c_=cn({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",transformOrigin:"transform-origin",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:dc,properties:{about:De,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:oe,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:Qt,g2:Qt,glyphName:Qt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:De,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:De,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:De,rev:De,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:De,requiredFeatures:De,requiredFonts:De,requiredFormats:De,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:De,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:De,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:De,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),u_=/^data[-\w.:]+$/i,js=/-[a-z]/g,f_=/[A-Z]/g;function d_(e,t){const n=Fo(t);let r=t,o=He;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&u_.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(js,h_);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!js.test(i)){let s=i.replace(f_,p_);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=Ri}return new o(r,t)}function p_(e){return"-"+e.toLowerCase()}function h_(e){return e.charAt(1).toUpperCase()}const m_=ac([fc,uc,hc,mc,a_],"html"),_c=ac([fc,uc,hc,mc,c_],"svg"),Fs={}.hasOwnProperty;function __(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Fs.call(o,e)){const a=String(o[e]);s=Fs.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 g_(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 b_(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function v_(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const E_=["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"],ao={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:"€"},w_=["cent","copy","divide","gt","lt","not","para","times"],gc={}.hasOwnProperty,$o={};let zn;for(zn in ao)gc.call(ao,zn)&&($o[ao[zn]]=zn);function R_(e,t,n,r){const o=String.fromCharCode(e);if(gc.call($o,o)){const i=$o[o],s="&"+i;return n&&E_.includes(i)&&!w_.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function T_(e,t,n){let r=b_(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=R_(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=v_(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Zt(e,t){return g_(e,Object.assign({format:T_},t))}function P_(e,t,n,r){return r.settings.bogusComments?"<?"+Zt(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(i){return Zt(i,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function A_(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Hs(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 C_(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function S_(e){return e.join(" ").trim()}const L_=/[ \t\n\f\r]/g;function Ti(e){return typeof e=="object"?e.type==="text"?$s(e.value):!1:$s(e)}function $s(e){return e.replace(L_,"")===""}const _e=bc(1),yc=bc(-1),O_=[];function bc(e){return t;function t(n,r,o){const i=n?n.children:O_;let s=(r||0)+e,l=i[s];if(!o)for(;l&&Ti(l);)s+=e,l=i[s];return l}}const I_={}.hasOwnProperty;function vc(e){return t;function t(n,r,o){return I_.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Pi=vc({body:k_,caption:co,colgroup:co,dd:V_,dt:M_,head:co,html:x_,li:D_,optgroup:B_,option:j_,p:N_,rp:Us,rt:Us,tbody:H_,td:Gs,tfoot:$_,th:Gs,thead:F_,tr:U_});function co(e,t,n){const r=_e(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ti(r.value.charAt(0)))}function x_(e,t,n){const r=_e(n,t);return!r||r.type!=="comment"}function k_(e,t,n){const r=_e(n,t);return!r||r.type!=="comment"}function N_(e,t,n){const r=_e(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 D_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&r.tagName==="li"}function M_(e,t,n){const r=_e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function V_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Us(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function B_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function j_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function F_(e,t,n){const r=_e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function H_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function $_(e,t,n){return!_e(n,t)}function U_(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Gs(e,t,n){const r=_e(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const G_=vc({body:K_,colgroup:z_,head:q_,html:W_,tbody:J_});function W_(e){const t=_e(e,-1);return!t||t.type!=="comment"}function q_(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 K_(e){const t=_e(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ti(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function z_(e,t,n){const r=yc(n,t),o=_e(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Pi(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function J_(e,t,n){const r=yc(n,t),o=_e(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Pi(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Jn={name:[[`
@@ -31,6 +31,6 @@ var Cc=Object.defineProperty;var Sc=(e,t,n)=>t in e?Cc(e,t,{enumerable:!0,config
31
31
  \f\r &>`.split(""),`\0
32
32
  \f\r "&'<=>\``.split("")],[`\0
33
33
  \f\r "&'<=>\``.split(""),`\0
34
- \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Y_(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=_c);const c=X_(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!G_(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||!Pi(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function X_(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Q_(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 Q_(e,t,n){const r=d_(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=Zt(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Jn.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?C_:S_)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Zt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Jn.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&Hs(n,s)>Hs(n,e.alternative)&&(s=e.alternative),l=s+Zt(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Jn.single:Jn.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function Ec(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Zt(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Z_(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ec(e,t,n,r)}function eg(e,t,n,r){return r.all(e)}const tg=__("type",{invalid:ng,unknown:rg,handlers:{comment:P_,doctype:A_,element:Y_,raw:Z_,root:eg,text:Ec}});function ng(e){throw new Error("Expected node, not `"+e+"`")}function rg(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const og={},ig={},sg=[];function lg(e,t){const n=t||og,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:ag,all:cg,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||i_,characterReferences:n.characterReferences||ig,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?_c:m_,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function ag(e,t,n){return tg(e,t,n,this)}function cg(e){const t=[],n=e&&e.children||sg;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ug(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>Ar(e,s,l),codeToTokens:(s,l)=>Tr(e,s,l)};let o=lg(Ar(e,t,n,r));for(const s of Pr(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function fg(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,h,p){r.HEAPU8.copyWithin(d,h,h+p)}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 h=r.HEAPU8.length;d=d>>>0;const p=l();if(d>p)return!1;const v=(E,P)=>E+(P-E%P)%P;for(let E=1;E<=4;E*=2){let P=h*(1+.2/E);P=Math.min(P,d+100663296);const S=Math.min(p,v(Math.max(d,P),65536));if(a(S))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 h=await e({env:u,wasi_snapshot_preview1:u});t=h.memory,o(t.buffer),Object.assign(r,h)}return await f(),r}let be=null,dg=!1;function pg(e){throw new Ee(e.UTF8ToString(e.getLastOnigError()))}class Hr{constructor(t){y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16Value");y(this,"utf8Value");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");const n=t.length,r=Hr._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 h=t.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+65536|h-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 Ie=class Ie{constructor(t){y(this,"id",++Ie.LAST_ID);y(this,"_onigBinding");y(this,"content");y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");y(this,"ptr");if(!be)throw new Ee("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new Hr(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ie._sharedPtrInUse?(Ie._sharedPtr||(Ie._sharedPtr=be.omalloc(1e4)),Ie._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Ie._sharedPtr),this.ptr=Ie._sharedPtr):this.ptr=n.createString(be)}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===Ie._sharedPtr?Ie._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};y(Ie,"LAST_ID",0),y(Ie,"_sharedPtr",0),y(Ie,"_sharedPtrInUse",!1);let Cr=Ie;class hg{constructor(t){y(this,"_onigBinding");y(this,"_ptr");if(!be)throw new Ee("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Hr(t[l]);n[l]=c.createString(be),r[l]=c.utf8Length}const o=be.omalloc(4*t.length);be.HEAPU32.set(n,o/4);const i=be.omalloc(4*t.length);be.HEAPU32.set(r,i/4);const s=be.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)be.ofree(n[l]);be.ofree(i),be.ofree(o),s===0&&pg(be),this._onigBinding=be,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=dg,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Cr(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 h=t.convertUtf8OffsetToUtf16(l[a++]),p=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:h,end:p,length:p-h}}return{index:c,captureIndices:f}}}function mg(e){return typeof e.instantiator=="function"}function _g(e){return typeof e.default=="function"}function gg(e){return typeof e.data<"u"}function yg(e){return typeof Response<"u"&&e instanceof Response}function bg(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 Yn;function vg(e){if(Yn)return Yn;async function t(){be=await fg(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),mg(r)?r=await r.instantiator(n):_g(r)?r=await r.default(n):(gg(r)&&(r=r.data),yg(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await wg(r)(n):r=await Rg(r)(n):bg(r)&&(r=await Eg(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Yn=t(),Yn}function Eg(e){return t=>WebAssembly.instantiate(e,t)}function wg(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Rg(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Tg(e){return new Cr(e)}function Pg(e){return new hg(e)}const Ws={light:"#333333",dark:"#bbbbbb"},qs={light:"#fffffe",dark:"#1e1e1e"},Ks="__shiki_resolved";function wc(e){var l,a,c,u,f;if(e!=null&&e[Ks])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(h=>!h.name&&!h.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"?Ws.light:Ws.dark),n||(n=t.type==="light"?qs.light:qs.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 p;if(i.has(d))return i.get(d);o+=1;const h=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(p=t.colorReplacements)!=null&&p[`#${h}`]?s(d):(i.set(d,h),h)}t.settings=t.settings.map(d=>{var E,P;const h=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),p=((P=d.settings)==null?void 0:P.background)&&!d.settings.background.startsWith("#");if(!h&&!p)return d;const v={...d,settings:{...d.settings}};if(h){const S=s(d.settings.foreground);t.colorReplacements[S]=d.settings.foreground,v.settings.foreground=S}if(p){const S=s(d.settings.background);t.colorReplacements[S]=d.settings.background,v.settings.background=S}return v});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 h=s(t.colors[d]);t.colorReplacements[h]=t.colors[d],t.colors[d]=h}return Object.defineProperty(t,Ks,{enumerable:!1,writable:!1,value:!0}),t}class Ag extends Mm{constructor(n,r,o){super(n);y(this,"_resolver");y(this,"_themes");y(this,"_langs");y(this,"_resolvedThemes",{});y(this,"_resolvedGrammars",{});y(this,"_langMap",{});y(this,"_langGraph",new Map);y(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=wc(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 Ee(`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 Ee(`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 Cg{constructor(t,n){y(this,"_langs",new Map);y(this,"_scopeToLang",new Map);y(this,"_injections",new Map);y(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 Sg;async function Lg(e={}){async function t(E){return Promise.resolve(typeof E=="function"?E():E).then(P=>P.default||P)}async function n(E){return Array.from(new Set((await Promise.all(E.filter(P=>!ec(P)).map(async P=>await t(P).then(S=>Array.isArray(S)?S:[S])))).flat()))}const r=e.loadWasm||Sg,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(E=>E.map(wc)),n(e.langs||[]),r?vg(r):void 0]),s=new Cg(Promise.resolve({createOnigScanner(E){return Pg(E)},createOnigString(E){return Tg(E)}}),i),l=new Ag(s,o,i);Object.assign(l.alias,e.langAlias),await l.init();let a;function c(E){const P=l.getGrammar(typeof E=="string"?E:E.name);if(!P)throw new Ee(`Language \`${E}\` not found, you may need to load it first`);return P}function u(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const P=l.getTheme(E);if(!P)throw new Ee(`Theme \`${E}\` not found, you may need to load it first`);return P}function f(E){const P=u(E);a!==E&&(l.setTheme(P),a=E);const S=l.getColorMap();return{theme:P,colorMap:S}}function d(){return l.getLoadedThemes()}function h(){return l.getLoadedLanguages()}async function p(...E){await l.loadLanguages(await n(E))}async function v(...E){await Promise.all(E.map(async P=>nc(P)?null:l.loadTheme(await t(P))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:h,loadLanguage:p,loadTheme:v}}async function Og(e={}){const t=await Lg(e);return{codeToTokensBase:(n,r)=>wi(t,n,r),codeToTokensWithThemes:(n,r)=>lc(t,n,r),codeToTokens:(n,r)=>Tr(t,n,r),codeToHast:(n,r)=>Ar(t,n,r),codeToHtml:(n,r)=>ug(t,n,r),...t,getInternalContext:()=>t}}function Ig(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(ec(u))return[];const f=e[u];if(!f)throw new Ee(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function s(u){if(nc(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ee(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await Og({...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 xg=Ig(Yh,Zh,Xh),Rc=We(),Tc=We();function kg(){return xg({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Tc.value=e})}function Ng(e,t){return _t(()=>{var r;const n=((r=Rc.value)==null?void 0:r.colorMode)||"light";return Tc.value.codeToHtml(hu(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Dg=["innerHTML"],Mg=Mt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=_t(()=>{const r=Ng(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(ne(),Oe("pre",{class:kt(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Dg))}});async function Vg(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return jg(await Bg(t))}async function Bg(e){const t=e.body.getReader(),n=+e.headers.get("Content-Length");if(n)return n;{let r=0;for(;;){const{done:o,value:i}=await t.read();if(o)return r;r+=i.length}}}function jg(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function Fg(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function Hg(e){return gd(e)?new URL(e).origin:e}let $g;const fn=[];function Ug(e){if(fn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&fn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&fn.forEach(n=>n(t))},get(){return $g.value},configurable:!0}),()=>{fn.splice(fn.indexOf(e),1)}}const Gg={class:"relative n-bg-base flex flex-col"},Wg={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},qg={class:"mx-auto flex flex-col w-full"},Kg={key:0},zg=Se("div",null,"No scripts loaded.",-1),Jg=[zg],Yg={class:"space-y-3"},Xg={class:"flex items-center justify-between w-full mb-3"},Qg={class:"flex items-center gap-4"},Zg=["title","href"],ey=["src"],ty={class:"opacity-70"},ny={key:0},ry={class:"space-y-2"},oy={class:"opacity-40"},iy={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},sy={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},ly={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},ay={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},cy=Mt({__name:"app",async setup(e){let t,n;[t,n]=Yu(()=>kg()),await t,n();const r=We({}),o=Ke({});function i(s){r.value={...s};for(const l in s)o[l]||Vg(s[l].src).then(a=>{o[l]=a}).catch(()=>{o[l]=0})}return Ug(async s=>{Rc.value=s.devtools,s.host.nuxt.hooks.hook("scripts:updated",l=>{i(l.scripts)}),i(s.host.nuxt._scripts)}),(s,l)=>{const a=Kh,c=Mg;return ne(),Oe("div",Gg,[Se("div",Wg,[Se("main",qg,[Object.keys(ie(r)).length?Ft("",!0):(ne(),Oe("div",Kg,Jg)),Se("div",Yg,[(ne(!0),Oe(Pe,null,Wi(ie(r),(u,f)=>(ne(),Oe("div",{key:f,class:"w-full"},[Se("div",Xg,[Se("div",Qg,[Se("a",{class:"text-xl font-bold flex gap-2 items-center font-mono",title:u.src,target:"_blank",href:u.src},[Se("img",{src:`https://www.google.com/s2/favicons?domain=${ie(Hg)(u.src)}`,class:"w-4 h-4 rounded-lg"},null,8,ey),Se("div",null,at(u.key),1)],8,Zg),Se("div",ty,at(u.$script.status),1),ie(o)[u.key]?(ne(),Oe("div",ny,at(ie(o)[u.key]),1)):Ft("",!0)]),Se("div",null,[u.$script.status==="awaitingLoad"?(ne(),Me(a,{key:0,onClick:d=>u.$script.load()},{default:wn(()=>[dr(" Load ")]),_:2},1032,["onClick"])):u.$script.status==="loaded"?(ne(),Me(a,{key:1,onClick:d=>u.$script.remove()},{default:wn(()=>[dr(" Remove ")]),_:2},1032,["onClick"])):Ft("",!0)])]),Se("div",ry,[(ne(!0),Oe(Pe,null,Wi(u.events,(d,h)=>(ne(),Oe("div",{key:h,class:"flex gap-3 text-xs justify-start items-center"},[Se("div",oy,at(ie(Fg)(d.at)),1),d.type==="status"?(ne(),Oe(Pe,{key:0},[d.status==="loaded"?(ne(),Oe("div",iy,at(d.status),1)):d.status==="awaitingLoad"?(ne(),Oe("div",sy,at(d.status),1)):d.status==="removed"||d.status==="error"?(ne(),Oe("div",ly,at(d.status),1)):d.status==="loading"?(ne(),Oe("div",ay,at(d.status),1)):Ft("",!0)],64)):d.type==="fn-call"?(ne(),Me(c,{key:1,code:`${d.fn}(${d.args.map(p=>JSON.stringify(p,null,2)).join(", ")})`,lang:"javascript"},null,8,["code"])):Ft("",!0)]))),128))])]))),128))])])])])}}}),uy={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
34
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Y_(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=_c);const c=X_(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!G_(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||!Pi(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function X_(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Q_(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 Q_(e,t,n){const r=d_(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=Zt(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Jn.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?C_:S_)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Zt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Jn.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&Hs(n,s)>Hs(n,e.alternative)&&(s=e.alternative),l=s+Zt(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Jn.single:Jn.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function Ec(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Zt(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Z_(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ec(e,t,n,r)}function eg(e,t,n,r){return r.all(e)}const tg=__("type",{invalid:ng,unknown:rg,handlers:{comment:P_,doctype:A_,element:Y_,raw:Z_,root:eg,text:Ec}});function ng(e){throw new Error("Expected node, not `"+e+"`")}function rg(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const og={},ig={},sg=[];function lg(e,t){const n=t||og,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:ag,all:cg,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||i_,characterReferences:n.characterReferences||ig,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?_c:m_,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function ag(e,t,n){return tg(e,t,n,this)}function cg(e){const t=[],n=e&&e.children||sg;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ug(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>Ar(e,s,l),codeToTokens:(s,l)=>Tr(e,s,l)};let o=lg(Ar(e,t,n,r));for(const s of Pr(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function fg(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,h,p){r.HEAPU8.copyWithin(d,h,h+p)}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 h=r.HEAPU8.length;d=d>>>0;const p=l();if(d>p)return!1;const v=(E,P)=>E+(P-E%P)%P;for(let E=1;E<=4;E*=2){let P=h*(1+.2/E);P=Math.min(P,d+100663296);const S=Math.min(p,v(Math.max(d,P),65536));if(a(S))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 h=await e({env:u,wasi_snapshot_preview1:u});t=h.memory,o(t.buffer),Object.assign(r,h)}return await f(),r}let be=null,dg=!1;function pg(e){throw new Ee(e.UTF8ToString(e.getLastOnigError()))}class Hr{constructor(t){y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16Value");y(this,"utf8Value");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");const n=t.length,r=Hr._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 h=t.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+65536|h-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 Ie=class Ie{constructor(t){y(this,"id",++Ie.LAST_ID);y(this,"_onigBinding");y(this,"content");y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");y(this,"ptr");if(!be)throw new Ee("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new Hr(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ie._sharedPtrInUse?(Ie._sharedPtr||(Ie._sharedPtr=be.omalloc(1e4)),Ie._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Ie._sharedPtr),this.ptr=Ie._sharedPtr):this.ptr=n.createString(be)}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===Ie._sharedPtr?Ie._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};y(Ie,"LAST_ID",0),y(Ie,"_sharedPtr",0),y(Ie,"_sharedPtrInUse",!1);let Cr=Ie;class hg{constructor(t){y(this,"_onigBinding");y(this,"_ptr");if(!be)throw new Ee("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Hr(t[l]);n[l]=c.createString(be),r[l]=c.utf8Length}const o=be.omalloc(4*t.length);be.HEAPU32.set(n,o/4);const i=be.omalloc(4*t.length);be.HEAPU32.set(r,i/4);const s=be.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)be.ofree(n[l]);be.ofree(i),be.ofree(o),s===0&&pg(be),this._onigBinding=be,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=dg,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Cr(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 h=t.convertUtf8OffsetToUtf16(l[a++]),p=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:h,end:p,length:p-h}}return{index:c,captureIndices:f}}}function mg(e){return typeof e.instantiator=="function"}function _g(e){return typeof e.default=="function"}function gg(e){return typeof e.data<"u"}function yg(e){return typeof Response<"u"&&e instanceof Response}function bg(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 Yn;function vg(e){if(Yn)return Yn;async function t(){be=await fg(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),mg(r)?r=await r.instantiator(n):_g(r)?r=await r.default(n):(gg(r)&&(r=r.data),yg(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await wg(r)(n):r=await Rg(r)(n):bg(r)&&(r=await Eg(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Yn=t(),Yn}function Eg(e){return t=>WebAssembly.instantiate(e,t)}function wg(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Rg(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Tg(e){return new Cr(e)}function Pg(e){return new hg(e)}const Ws={light:"#333333",dark:"#bbbbbb"},qs={light:"#fffffe",dark:"#1e1e1e"},Ks="__shiki_resolved";function wc(e){var l,a,c,u,f;if(e!=null&&e[Ks])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(h=>!h.name&&!h.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"?Ws.light:Ws.dark),n||(n=t.type==="light"?qs.light:qs.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 p;if(i.has(d))return i.get(d);o+=1;const h=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(p=t.colorReplacements)!=null&&p[`#${h}`]?s(d):(i.set(d,h),h)}t.settings=t.settings.map(d=>{var E,P;const h=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),p=((P=d.settings)==null?void 0:P.background)&&!d.settings.background.startsWith("#");if(!h&&!p)return d;const v={...d,settings:{...d.settings}};if(h){const S=s(d.settings.foreground);t.colorReplacements[S]=d.settings.foreground,v.settings.foreground=S}if(p){const S=s(d.settings.background);t.colorReplacements[S]=d.settings.background,v.settings.background=S}return v});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 h=s(t.colors[d]);t.colorReplacements[h]=t.colors[d],t.colors[d]=h}return Object.defineProperty(t,Ks,{enumerable:!1,writable:!1,value:!0}),t}class Ag extends Mm{constructor(n,r,o){super(n);y(this,"_resolver");y(this,"_themes");y(this,"_langs");y(this,"_resolvedThemes",{});y(this,"_resolvedGrammars",{});y(this,"_langMap",{});y(this,"_langGraph",new Map);y(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=wc(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 Ee(`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 Ee(`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 Cg{constructor(t,n){y(this,"_langs",new Map);y(this,"_scopeToLang",new Map);y(this,"_injections",new Map);y(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 Sg;async function Lg(e={}){async function t(E){return Promise.resolve(typeof E=="function"?E():E).then(P=>P.default||P)}async function n(E){return Array.from(new Set((await Promise.all(E.filter(P=>!ec(P)).map(async P=>await t(P).then(S=>Array.isArray(S)?S:[S])))).flat()))}const r=e.loadWasm||Sg,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(E=>E.map(wc)),n(e.langs||[]),r?vg(r):void 0]),s=new Cg(Promise.resolve({createOnigScanner(E){return Pg(E)},createOnigString(E){return Tg(E)}}),i),l=new Ag(s,o,i);Object.assign(l.alias,e.langAlias),await l.init();let a;function c(E){const P=l.getGrammar(typeof E=="string"?E:E.name);if(!P)throw new Ee(`Language \`${E}\` not found, you may need to load it first`);return P}function u(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const P=l.getTheme(E);if(!P)throw new Ee(`Theme \`${E}\` not found, you may need to load it first`);return P}function f(E){const P=u(E);a!==E&&(l.setTheme(P),a=E);const S=l.getColorMap();return{theme:P,colorMap:S}}function d(){return l.getLoadedThemes()}function h(){return l.getLoadedLanguages()}async function p(...E){await l.loadLanguages(await n(E))}async function v(...E){await Promise.all(E.map(async P=>nc(P)?null:l.loadTheme(await t(P))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:h,loadLanguage:p,loadTheme:v}}async function Og(e={}){const t=await Lg(e);return{codeToTokensBase:(n,r)=>wi(t,n,r),codeToTokensWithThemes:(n,r)=>lc(t,n,r),codeToTokens:(n,r)=>Tr(t,n,r),codeToHast:(n,r)=>Ar(t,n,r),codeToHtml:(n,r)=>ug(t,n,r),...t,getInternalContext:()=>t}}function Ig(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(ec(u))return[];const f=e[u];if(!f)throw new Ee(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function s(u){if(nc(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ee(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>s(u)),a=(o.langs??[]).map(u=>i(u)),c=await Og({...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 xg=Ig(Yh,Zh,Xh),Rc=We(),Tc=We();function kg(){return xg({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Tc.value=e})}function Ng(e,t){return _t(()=>{var r;const n=((r=Rc.value)==null?void 0:r.colorMode)||"light";return Tc.value.codeToHtml(hu(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Dg=["innerHTML"],Mg=Mt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=_t(()=>{const r=Ng(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(ne(),Oe("pre",{class:kt(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Dg))}});async function Vg(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return jg(await Bg(t))}async function Bg(e){const t=e.body.getReader(),n=+e.headers.get("Content-Length");if(n)return n;{let r=0;for(;;){const{done:o,value:i}=await t.read();if(o)return r;r+=i.length}}}function jg(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function Fg(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function Hg(e){return gd(e)?new URL(e).origin:e}let $g;const fn=[];function Ug(e){if(fn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&fn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&fn.forEach(n=>n(t))},get(){return $g.value},configurable:!0}),()=>{fn.splice(fn.indexOf(e),1)}}const Gg={class:"relative n-bg-base flex flex-col"},Wg={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},qg={class:"mx-auto flex flex-col w-full"},Kg={key:0},zg=Se("div",null,"No scripts loaded.",-1),Jg=[zg],Yg={class:"space-y-3"},Xg={class:"flex items-center justify-between w-full mb-3"},Qg={class:"flex items-center gap-4"},Zg=["title","href"],ey=["src"],ty={class:"opacity-70"},ny={key:0},ry={class:"space-y-2"},oy={class:"opacity-40"},iy={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},sy={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},ly={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},ay={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},cy=Mt({__name:"app",async setup(e){let t,n;[t,n]=Yu(()=>kg()),await t,n();const r=We({}),o=Ke({});function i(s){r.value={...s};for(const l in s)o[l]||Vg(s[l].src).then(a=>{o[l]=a}).catch(()=>{o[l]=0})}return Ug(async s=>{Rc.value=s.devtools,s.host.nuxt.hooks.hook("scripts:updated",l=>{i(l.scripts)}),i(s.host.nuxt._scripts)}),(s,l)=>{const a=Kh,c=Mg;return ne(),Oe("div",Gg,[Se("div",Wg,[Se("main",qg,[Object.keys(ie(r)).length?Ft("",!0):(ne(),Oe("div",Kg,Jg)),Se("div",Yg,[(ne(!0),Oe(Pe,null,Wi(ie(r),(u,f)=>(ne(),Oe("div",{key:f,class:"w-full"},[Se("div",Xg,[Se("div",Qg,[Se("a",{class:"text-xl font-bold flex gap-2 items-center font-mono",title:u.src,target:"_blank",href:u.src},[Se("img",{src:`https://www.google.com/s2/favicons?domain=${ie(Hg)(u.src)}`,class:"w-4 h-4 rounded-lg"},null,8,ey),Se("div",null,at(u.key),1)],8,Zg),Se("div",ty,at(u.$script.status.value),1),ie(o)[u.key]?(ne(),Oe("div",ny,at(ie(o)[u.key]),1)):Ft("",!0)]),Se("div",null,[u.$script.status==="awaitingLoad"?(ne(),Me(a,{key:0,onClick:d=>u.$script.load()},{default:wn(()=>[dr(" Load ")]),_:2},1032,["onClick"])):u.$script.status==="loaded"?(ne(),Me(a,{key:1,onClick:d=>u.$script.remove()},{default:wn(()=>[dr(" Remove ")]),_:2},1032,["onClick"])):Ft("",!0)])]),Se("div",ry,[(ne(!0),Oe(Pe,null,Wi(u.events,(d,h)=>(ne(),Oe("div",{key:h,class:"flex gap-3 text-xs justify-start items-center"},[Se("div",oy,at(ie(Fg)(d.at)),1),d.type==="status"?(ne(),Oe(Pe,{key:0},[d.status==="loaded"?(ne(),Oe("div",iy,at(d.status),1)):d.status==="awaitingLoad"?(ne(),Oe("div",sy,at(d.status),1)):d.status==="removed"||d.status==="error"?(ne(),Oe("div",ly,at(d.status),1)):d.status==="loading"?(ne(),Oe("div",ay,at(d.status),1)):Ft("",!0)],64)):d.type==="fn-call"?(ne(),Me(c,{key:1,code:`${d.fn}(${d.args.map(p=>JSON.stringify(p,null,2)).join(", ")})`,lang:"javascript"},null,8,["code"])):Ft("",!0)]))),128))])]))),128))])])])])}}}),uy={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
35
35
  `).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(`
36
- `);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?Gi(()=>m(()=>import("./CO8u40Ut.js"),__vite__mapDeps([90,91,92]),import.meta.url).then(f=>f.default||f)):Gi(()=>m(()=>import("./C2uur0MR.js"),__vite__mapDeps([93,91,94]),import.meta.url).then(f=>f.default||f));return(f,d)=>(ne(),Me(ie(u),Fc(ea({statusCode:ie(r),statusMessage:ie(i),description:ie(s),stack:ie(l)})),null,16))}},zs={__name:"nuxt-root",setup(e){const t=()=>null,n=de(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Et().beforeEach(l)}const o=!1;Fl(Pa,Aa()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=_i();Ml((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Ep(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>bp(l)),!1});const s=!1;return(l,a)=>(ne(),Me(Iu,{onResolve:ie(r)},{default:wn(()=>[ie(i)?(ne(),Me(ie(uy),{key:0,error:ie(i)},null,8,["error"])):ie(s)?(ne(),Me(ie(t),{key:1,context:ie(s)},null,8,["context"])):ie(o)?(ne(),Me(Sl(ie(o)),{key:2})):(ne(),Me(ie(cy),{key:3}))]),_:1},8,["onResolve"]))}};let Js;{let e;Js=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")?Qf(zs):Xf(zs),o=rp({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||gi(a)}r.config.errorHandler=i;try{await ip(o,Fh)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(mh),await o.hooks.callHook("app:mounted",r),await ni()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Js().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Gh as _,Se as a,fe as b,Oe as c,dr as d,py as e,hy as f,hn as g,Nl as h,my as i,Hu as j,Fu as k,xo as l,na as m,ne as o,dy as p,We as r,at as t,wn as w};
36
+ `);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?Gi(()=>m(()=>import("./LZrVsJnT.js"),__vite__mapDeps([90,91,92]),import.meta.url).then(f=>f.default||f)):Gi(()=>m(()=>import("./7b-muJBz.js"),__vite__mapDeps([93,91,94]),import.meta.url).then(f=>f.default||f));return(f,d)=>(ne(),Me(ie(u),Fc(ea({statusCode:ie(r),statusMessage:ie(i),description:ie(s),stack:ie(l)})),null,16))}},zs={__name:"nuxt-root",setup(e){const t=()=>null,n=de(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Et().beforeEach(l)}const o=!1;Fl(Pa,Aa()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=_i();Ml((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Ep(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>bp(l)),!1});const s=!1;return(l,a)=>(ne(),Me(Iu,{onResolve:ie(r)},{default:wn(()=>[ie(i)?(ne(),Me(ie(uy),{key:0,error:ie(i)},null,8,["error"])):ie(s)?(ne(),Me(ie(t),{key:1,context:ie(s)},null,8,["context"])):ie(o)?(ne(),Me(Sl(ie(o)),{key:2})):(ne(),Me(ie(cy),{key:3}))]),_:1},8,["onResolve"]))}};let Js;{let e;Js=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")?Qf(zs):Xf(zs),o=rp({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||gi(a)}r.config.errorHandler=i;try{await ip(o,Fh)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(mh),await o.hooks.callHook("app:mounted",r),await ni()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Js().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Gh as _,Se as a,fe as b,Oe as c,dr as d,py as e,hy as f,hn as g,Nl as h,my as i,Hu as j,Fu as k,xo as l,na as m,ne as o,dy as p,We as r,at as t,wn as w};