@nuxtjs/sitemap 5.1.4 → 5.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -9
- package/dist/client/200.html +11 -11
- package/dist/client/404.html +11 -11
- package/dist/client/_nuxt/-hLHpAOl.js +1 -0
- package/dist/client/_nuxt/3Yx8WcR-.js +1 -0
- package/dist/client/_nuxt/A6fgiLY6.js +1 -0
- package/dist/client/_nuxt/{BUiSbCMB.js → BTnhwlxZ.js} +1 -1
- package/dist/client/_nuxt/{D3lyRdZ-.js → Bd73LTSp.js} +1 -1
- package/dist/client/_nuxt/{Abmmtd_y.js → BoOAlWED.js} +1 -1
- package/dist/client/_nuxt/{DggdVF2v.js → CQ1WWl9n.js} +1 -1
- package/dist/client/_nuxt/CudBhkk3.js +1 -0
- package/dist/client/_nuxt/{7fd6vGzb.js → DBeuZS66.js} +1 -1
- package/dist/client/_nuxt/{A1WiD9SJ.js → DaCkt_J7.js} +1 -1
- package/dist/client/_nuxt/{DpNZGmku.js → DoA0sgnJ.js} +8 -8
- package/dist/client/_nuxt/Icon.Cz7P-B9Q.css +1 -0
- package/dist/client/_nuxt/IconCSS.CuOlVhPM.css +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/9c660240-bc8b-4a63-883d-04cd5c521393.json +1 -0
- package/dist/client/_nuxt/{entry.CV4WW9Nv.css → entry.Ch27ueg_.css} +1 -1
- package/dist/client/index.html +11 -11
- package/dist/module.json +1 -1
- package/dist/module.mjs +78 -24
- package/dist/runtime/nitro/plugins/nuxt-content.d.ts +1 -1
- package/dist/runtime/nitro/plugins/nuxt-content.mjs +1 -1
- package/dist/runtime/nitro/plugins/warm-up.d.ts +1 -1
- package/dist/runtime/nitro/plugins/warm-up.mjs +1 -1
- package/dist/runtime/nitro/sitemap/builder/sitemap.mjs +2 -2
- package/dist/runtime/nitro/sitemap/urlset/filter.mjs +1 -27
- package/dist/runtime/nitro/sitemap/urlset/i18n.d.ts +3 -5
- package/dist/runtime/nitro/sitemap/urlset/i18n.mjs +20 -7
- package/dist/runtime/nitro/sitemap/urlset/sources.mjs +4 -2
- package/dist/runtime/utils-pure.d.ts +6 -0
- package/dist/runtime/utils-pure.mjs +40 -1
- package/package.json +15 -16
- package/dist/client/_nuxt/BG_OyJVq.js +0 -1
- package/dist/client/_nuxt/C3YqBJkQ.js +0 -1
- package/dist/client/_nuxt/CCr39IbC.js +0 -1
- package/dist/client/_nuxt/CrjQeCwm.js +0 -1
- package/dist/client/_nuxt/Icon.CJPdmOxP.css +0 -1
- package/dist/client/_nuxt/IconCSS.DI_jUTCX.css +0 -1
- package/dist/client/_nuxt/builds/meta/97dc3a07-5950-4817-9cc7-c3f152b35f42.json +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function __vite__mapDeps(indexes) {
|
|
2
2
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
-
__vite__mapDeps.viteFileDeps = ["./
|
|
3
|
+
__vite__mapDeps.viteFileDeps = ["./BTnhwlxZ.js","./5gXNyPeq.js","./Icon.Cz7P-B9Q.css","./A6fgiLY6.js","./IconCSS.CuOlVhPM.css","./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","./BoOAlWED.js","./error-404.BRldFSII.css","./Bd73LTSp.js","./error-500.D8yw_IbC.css"]
|
|
4
4
|
}
|
|
5
5
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
6
|
}
|
|
@@ -16,14 +16,14 @@ var Zf=Object.defineProperty;var ed=(e,t,n)=>t in e?Zf(e,t,{enumerable:!0,config
|
|
|
16
16
|
* @vue/runtime-core v3.4.21
|
|
17
17
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
18
|
* @license MIT
|
|
19
|
-
**/function $t(e,t,n,r){try{return r?e(...r):e()}catch(o){$n(o,t,n)}}function ot(e,t,n,r){if(Q(e)){const i=$t(e,t,n,r);return i&&cs(i)&&i.catch(s=>{$n(s,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(ot(e[i],t,n,r));return o}function $n(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){$t(a,null,10,[e,s,l]);return}}Wd(e,n,o,r)}function Wd(e,t,n,r=!0){console.error(e)}let er=!1,Si=!1;const $e=[];let ft=0;const En=[];let Lt=null,Jt=0;const hc=Promise.resolve();let vs=null;function fn(e){const t=vs||hc;return e?t.then(this?e.bind(this):e):t}function zd(e){let t=ft+1,n=$e.length;for(;t<n;){const r=t+n>>>1,o=$e[r],i=tr(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function ko(e){(!$e.length||!$e.includes(e,er&&e.allowRecurse?ft+1:ft))&&(e.id==null?$e.push(e):$e.splice(zd(e.id),0,e),mc())}function mc(){!er&&!Si&&(Si=!0,vs=hc.then(gc))}function qd(e){const t=$e.indexOf(e);t>ft&&$e.splice(t,1)}function Pi(e){X(e)?En.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Jt+1:Jt))&&En.push(e),mc()}function ul(e,t,n=er?ft+1:0){for(;n<$e.length;n++){const r=$e[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;$e.splice(n,1),n--,r()}}}function Zr(e){if(En.length){const t=[...new Set(En)].sort((n,r)=>tr(n)-tr(r));if(En.length=0,Lt){Lt.push(...t);return}for(Lt=t,Jt=0;Jt<Lt.length;Jt++)Lt[Jt]();Lt=null,Jt=0}}const tr=e=>e.id==null?1/0:e.id,Kd=(e,t)=>{const n=tr(e)-tr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function gc(e){Si=!1,er=!0,$e.sort(Kd);try{for(ft=0;ft<$e.length;ft++){const t=$e[ft];t&&t.active!==!1&&$t(t,null,14)}}finally{ft=0,$e.length=0,Zr(),er=!1,vs=null,($e.length||En.length)&&gc()}}function Jd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||me;d&&(o=n.map(p=>be(p)?p.trim():p)),f&&(o=n.map(sd))}let l,a=r[l=ei(t)]||r[l=ei(mt(t))];!a&&i&&(a=r[l=ei(an(t))]),a&&ot(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ot(c,e,6,o)}}function _c(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!Q(e)){const a=c=>{const u=_c(c,t,!0);u&&(l=!0,Ne(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(pe(e)&&r.set(e,null),null):(X(i)?i.forEach(a=>s[a]=null):Ne(s,i),pe(e)&&r.set(e,s),s)}function Io(e,t){return!e||!hr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,an(t))||ae(e,t))}let Ce=null,No=null;function eo(e){const t=Ce;return Ce=e,No=e&&e.type.__scopeId||null,t}function yc(e){No=e}function vc(){No=null}const Yd=e=>re;function re(e,t=Ce,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&El(-1);const i=eo(t);let s;try{s=e(...o)}finally{eo(i),r._d&&El(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ni(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e;let v,E;const C=eo(e);try{if(n.shapeFlag&4){const x=o||r,T=x;v=Ye(u.call(T,x,f,i,p,d,h)),E=a}else{const x=t;v=Ye(x.length>1?x(i,{attrs:a,slots:l,emit:c}):x(i,null)),E=t.props?a:Qd(a)}}catch(x){zn.length=0,$n(x,e,1),v=W(lt)}let y=v;if(E&&g!==!1){const x=Object.keys(E),{shapeFlag:T}=y;x.length&&T&7&&(s&&x.some(ls)&&(E=Zd(E,s)),y=In(y,E))}return n.dirs&&(y=In(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),v=y,eo(C),v}function Xd(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(rr(o)){if(o.type!==lt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Qd=e=>{let t;for(const n in e)(n==="class"||n==="style"||hr(n))&&((t||(t={}))[n]=e[n]);return t},Zd=(e,t)=>{const n={};for(const r in e)(!ls(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ep(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?fl(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Io(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?fl(r,s,c):!0:!!s;return!1}function fl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Io(n,i))return!0}return!1}function bs({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ws="components";function on(e,t){return wc(ws,e,!0,t)||e}const bc=Symbol.for("v-ndc");function tp(e){return be(e)?wc(ws,e,!1)||e:e||bc}function wc(e,t,n=!0,r=!1){const o=Ce||xe;if(o){const i=o.type;if(e===ws){const l=Qp(i,!1);if(l&&(l===t||l===mt(t)||l===Oo(mt(t))))return i}const s=dl(o[e]||i[e],t)||dl(o.appContext[e],t);return!s&&r?i:s}}function dl(e,t){return e&&(e[t]||e[mt(t)]||e[Oo(mt(t))])}const np=e=>e.__isSuspense;let Ai=0;const rp={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)ip(t,n,r,o,i,s,l,a,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}sp(e,t,n,r,o,s,l,a,c)}},hydrate:lp,create:Es,normalize:ap},op=rp;function nr(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function ip(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=Es(e,o,r,t,f,n,i,s,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(nr(e,"onPending"),nr(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Tn(d,e.ssFallback)):d.resolve(!1,!0)}function sp(e,t,n,r,o,i,s,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:v,isHydrating:E}=f;if(g)f.pendingBranch=d,Nt(d,g)?(a(g,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():v&&(E||(a(h,p,n,r,o,null,i,s,l),Tn(f,p)))):(f.pendingId=Ai++,E?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():(a(h,p,n,r,o,null,i,s,l),Tn(f,p))):h&&Nt(d,h)?(a(h,d,n,r,o,f,i,s,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0&&f.resolve()));else if(h&&Nt(d,h))a(h,d,n,r,o,f,i,s,l),Tn(f,d);else if(nr(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Ai++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:C,pendingId:y}=f;C>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},C):C===0&&f.fallback(p)}}function Es(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:v}}=c;let E;const C=cp(e);C&&t!=null&&t.pendingBranch&&(E=t.pendingId,t.deps++);const y=e.props?ld(e.props.timeout):void 0,x=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Ai++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(S=!1,A=!1){const{vnode:H,activeBranch:B,pendingBranch:O,pendingId:G,effects:z,parentComponent:oe,container:ce}=T;let fe=!1;T.isHydrating?T.isHydrating=!1:S||(fe=B&&O.transition&&O.transition.mode==="out-in",fe&&(B.transition.afterLeave=()=>{G===T.pendingId&&(d(O,ce,i===x?h(B):i,0),Pi(z))}),B&&(g(B.el)!==T.hiddenContainer&&(i=h(B)),p(B,oe,T,!0)),fe||d(O,ce,i,0)),Tn(T,O),T.pendingBranch=null,T.isInFallback=!1;let F=T.parent,Y=!1;for(;F;){if(F.pendingBranch){F.effects.push(...z),Y=!0;break}F=F.parent}!Y&&!fe&&Pi(z),T.effects=[],C&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),nr(H,"onResolve")},fallback(S){if(!T.pendingBranch)return;const{vnode:A,activeBranch:H,parentComponent:B,container:O,namespace:G}=T;nr(A,"onFallback");const z=h(H),oe=()=>{T.isInFallback&&(f(null,S,O,z,B,null,G,l,a),Tn(T,S))},ce=S.transition&&S.transition.mode==="out-in";ce&&(H.transition.afterLeave=oe),T.isInFallback=!0,p(H,B,null,!0),ce||oe()},move(S,A,H){T.activeBranch&&d(T.activeBranch,S,A,H),T.container=S},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(S,A){const H=!!T.pendingBranch;H&&T.deps++;const B=S.vnode.el;S.asyncDep.catch(O=>{$n(O,S,0)}).then(O=>{if(S.isUnmounted||T.isUnmounted||T.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:G}=S;Di(S,O,!1),B&&(G.el=B);const z=!B&&S.subTree.el;A(S,G,g(B||S.subTree.el),B?null:h(S.subTree),T,s,a),z&&v(z),bs(S,G.el),H&&--T.deps===0&&T.resolve()})},unmount(S,A){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,S,A),T.pendingBranch&&p(T.pendingBranch,n,S,A)}};return T}function lp(e,t,n,r,o,i,s,l,a){const c=t.suspense=Es(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function ap(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=pl(r?n.default:n),e.ssFallback=r?pl(n.fallback):W(lt)}function pl(e){let t;if(Q(e)){const n=kn&&e._c;n&&(e._d=!1,j()),e=e(),n&&(e._d=!0,t=Qe,Uc())}return X(e)&&(e=Xd(e)),e=Ye(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ec(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Pi(e)}function Tn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,bs(r,o))}function cp(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const up=Symbol.for("v-scx"),fp=()=>Sn(up);function Tc(e,t){return Do(e,null,t)}function dp(e,t){return Do(e,null,{flush:"post"})}const Pr={};function dt(e,t,n){return Do(e,t,n)}function Do(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=me){if(t&&i){const S=t;t=(...A)=>{S(...A),T()}}const a=xe,c=S=>r===!0?S:Yt(S,r===!1?1:void 0);let u,f=!1,d=!1;if(Oe(e)?(u=()=>e.value,f=Qr(e)):wn(e)?(u=()=>c(e),f=!0):X(e)?(d=!0,f=e.some(S=>wn(S)||Qr(S)),u=()=>e.map(S=>{if(Oe(S))return S.value;if(wn(S))return c(S);if(Q(S))return $t(S,a,2)})):Q(e)?t?u=()=>$t(e,a,2):u=()=>(p&&p(),ot(e,a,3,[h])):u=Xe,t&&r){const S=u;u=()=>Yt(S())}let p,h=S=>{p=y.onStop=()=>{$t(S,a,4),p=y.onStop=void 0}},g;if(gr)if(h=Xe,t?n&&ot(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const S=fp();g=S.__watcherHandles||(S.__watcherHandles=[])}else return Xe;let v=d?new Array(e.length).fill(Pr):Pr;const E=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(r||f||(d?S.some((A,H)=>Bt(A,v[H])):Bt(S,v)))&&(p&&p(),ot(t,a,3,[S,v===Pr?void 0:d&&v[0]===Pr?[]:v,h]),v=S)}else y.run()};E.allowRecurse=!!t;let C;o==="sync"?C=E:o==="post"?C=()=>je(E,a&&a.suspense):(E.pre=!0,a&&(E.id=a.uid),C=()=>ko(E));const y=new fs(u,Xe,C),x=Ka(),T=()=>{y.stop(),x&&as(x.effects,y)};return t?n?E():v=y.run():o==="post"?je(y.run.bind(y),a&&a.suspense):y.run(),g&&g.push(T),T}function pp(e,t,n){const r=this.proxy,o=be(e)?e.includes(".")?Cc(r,e):()=>r[e]:e.bind(r,r);let i;Q(t)?i=t:(i=t.handler,n=t);const s=sn(this),l=Do(o,i.bind(r),n);return s(),l}function Cc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Yt(e,t,n=0,r){if(!pe(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Oe(e))Yt(e.value,t,n,r);else if(X(e))for(let o=0;o<e.length;o++)Yt(e[o],t,n,r);else if(Ba(e)||vn(e))e.forEach(o=>{Yt(o,t,n,r)});else if(Fa(e))for(const o in e)Yt(e[o],t,n,r);return e}function hp(e,t){if(Ce===null)return e;const n=Bo(Ce)||Ce.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,l,a=me]=t[o];i&&(Q(i)&&(i={mounted:i,updated:i}),i.deep&&Yt(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:a}))}return e}function ut(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[r];a&&(cn(),ot(a,n,8,[e.el,l,e,t]),un())}}/*! #__NO_SIDE_EFFECTS__ */function We(e,t){return Q(e)?Ne({name:e.name},t,{setup:e}):e}const Cn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function to(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((g,v)=>{l(h,()=>g(f()),()=>v(h),u+1)});throw h}).then(h=>p!==a&&a?a:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return We({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=xe;if(c)return()=>ri(c,p);const h=C=>{a=null,$n(C,p,13,!r)};if(s&&p.suspense||gr)return d().then(C=>()=>ri(C,p)).catch(C=>(h(C),()=>r?W(r,{error:C}):null));const g=ve(!1),v=ve(),E=ve(!!o);return o&&setTimeout(()=>{E.value=!1},o),i!=null&&setTimeout(()=>{if(!g.value&&!v.value){const C=new Error(`Async component timed out after ${i}ms.`);h(C),v.value=C}},i),d().then(()=>{g.value=!0,p.parent&&Ts(p.parent.vnode)&&(p.parent.effect.dirty=!0,ko(p.parent.update))}).catch(C=>{h(C),v.value=C}),()=>{if(g.value&&c)return ri(c,p);if(v.value&&r)return W(r,{error:v.value});if(n&&!E.value)return W(n)}}})}function ri(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=W(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ts=e=>e.type.__isKeepAlive;function xc(e,t){Pc(e,"a",t)}function Sc(e,t){Pc(e,"da",t)}function Pc(e,t,n=xe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($o(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ts(o.parent.vnode)&&mp(r,t,n,o),o=o.parent}}function mp(e,t,n,r){const o=$o(t,e,r,!0);xs(()=>{as(r[t],o)},n)}function $o(e,t,n=xe,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;cn();const l=sn(n),a=ot(t,n,e,s);return l(),un(),a});return r?o.unshift(i):o.push(i),i}}const xt=e=>(t,n=xe)=>(!gr||e==="sp")&&$o(e,(...r)=>t(...r),n),gp=xt("bm"),Mo=xt("m"),_p=xt("bu"),yp=xt("u"),Cs=xt("bum"),xs=xt("um"),vp=xt("sp"),bp=xt("rtg"),wp=xt("rtc");function Ac(e,t=xe){$o("ec",e,t)}function gn(e,t,n,r){let o;const i=n&&n[r];if(X(e)||be(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l<a;l++){const c=s[l];o[l]=t(e[c],c,l,i&&i[l])}}else o=[];return n&&(n[r]=o),o}function Fe(e,t,n={},r,o){if(Ce.isCE||Ce.parent&&Cn(Ce.parent)&&Ce.parent.isCE)return t!=="default"&&(n.name=t),W("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),j();const s=i&&Rc(i(n)),l=ye(_e,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Rc(e){return e.some(t=>rr(t)?!(t.type===lt||t.type===_e&&!Rc(t.children)):!0)?e:null}const Ri=e=>e?zc(e)?Bo(e)||e.proxy:Ri(e.parent):null,Wn=Ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ri(e.parent),$root:e=>Ri(e.root),$emit:e=>e.emit,$options:e=>Ss(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ko(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>pp.bind(e)}),oi=(e,t)=>e!==me&&!e.__isScriptSetup&&ae(e,t),Ep={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(oi(r,t))return s[t]=1,r[t];if(o!==me&&ae(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&ae(c,t))return s[t]=3,i[t];if(n!==me&&ae(n,t))return s[t]=4,n[t];Oi&&(s[t]=0)}}const u=Wn[t];let f,d;if(u)return t==="$attrs"&&Ge(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==me&&ae(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ae(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return oi(o,t)?(o[t]=n,!0):r!==me&&ae(r,t)?(r[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==me&&ae(e,s)||oi(t,s)||(l=i[0])&&ae(l,s)||ae(r,s)||ae(Wn,s)||ae(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hl(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Tp(e){const t=Mn();let n=e();return Ni(),cs(n)&&(n=n.catch(r=>{throw sn(t),r})),[n,()=>sn(t)]}let Oi=!0;function Cp(e){const t=Ss(e),n=e.proxy,r=e.ctx;Oi=!1,t.beforeCreate&&ml(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:v,beforeDestroy:E,beforeUnmount:C,destroyed:y,unmounted:x,render:T,renderTracked:S,renderTriggered:A,errorCaptured:H,serverPrefetch:B,expose:O,inheritAttrs:G,components:z,directives:oe,filters:ce}=t;if(c&&xp(c,r,null),s)for(const Y in s){const q=s[Y];Q(q)&&(r[Y]=q.bind(n))}if(o){const Y=o.call(n,n);pe(Y)&&(e.data=Ct(Y))}if(Oi=!0,i)for(const Y in i){const q=i[Y],yt=Q(q)?q.bind(n,n):Q(q.get)?q.get.bind(n,n):Xe,br=!Q(q)&&Q(q.set)?q.set.bind(n):Xe,Gt=Ue({get:yt,set:br});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Gt.value,set:at=>Gt.value=at})}if(l)for(const Y in l)Oc(l[Y],r,n,Y);if(a){const Y=Q(a)?a.call(n):a;Reflect.ownKeys(Y).forEach(q=>{kc(q,Y[q])})}u&&ml(u,e,"c");function F(Y,q){X(q)?q.forEach(yt=>Y(yt.bind(n))):q&&Y(q.bind(n))}if(F(gp,f),F(Mo,d),F(_p,p),F(yp,h),F(xc,g),F(Sc,v),F(Ac,H),F(wp,S),F(bp,A),F(Cs,C),F(xs,x),F(vp,B),X(O))if(O.length){const Y=e.exposed||(e.exposed={});O.forEach(q=>{Object.defineProperty(Y,q,{get:()=>n[q],set:yt=>n[q]=yt})})}else e.exposed||(e.exposed={});T&&e.render===Xe&&(e.render=T),G!=null&&(e.inheritAttrs=G),z&&(e.components=z),oe&&(e.directives=oe)}function xp(e,t,n=Xe){X(e)&&(e=Li(e));for(const r in e){const o=e[r];let i;pe(o)?"default"in o?i=Sn(o.from||r,o.default,!0):i=Sn(o.from||r):i=Sn(o),Oe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function ml(e,t,n){ot(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oc(e,t,n,r){const o=r.includes(".")?Cc(n,r):()=>n[r];if(be(e)){const i=t[e];Q(i)&&dt(o,i)}else if(Q(e))dt(o,e.bind(n));else if(pe(e))if(X(e))e.forEach(i=>Oc(i,t,n,r));else{const i=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(i)&&dt(o,i,e)}}function Ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>no(a,c,s,!0)),no(a,t,s)),pe(t)&&i.set(t,a),a}function no(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&no(e,i,n,!0),o&&o.forEach(s=>no(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Sp[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Sp={data:gl,props:_l,emits:_l,methods:Un,computed:Un,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:Un,directives:Un,watch:Ap,provide:gl,inject:Pp};function gl(e,t){return t?e?function(){return Ne(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Pp(e,t){return Un(Li(e),Li(t))}function Li(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function Un(e,t){return e?Ne(Object.create(null),e,t):t}function _l(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Ne(Object.create(null),hl(e),hl(t??{})):t}function Ap(e,t){if(!e)return t;if(!t)return e;const n=Ne(Object.create(null),e);for(const r in t)n[r]=Me(e[r],t[r]);return n}function Lc(){return{app:null,config:{isNativeTag:td,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Rp=0;function Op(e,t){return function(r,o=null){Q(r)||(r=Ne({},r)),o!=null&&!pe(o)&&(o=null);const i=Lc(),s=new WeakSet;let l=!1;const a=i.app={_uid:Rp++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Kc,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&Q(c.install)?(s.add(c),c.install(a,...u)):Q(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,f){if(!l){const d=W(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,Bo(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a},runWithContext(c){const u=xn;xn=a;try{return c()}finally{xn=u}}};return a}}let xn=null;function kc(e,t){if(xe){let n=xe.provides;const r=xe.parent&&xe.parent.provides;r===n&&(n=xe.provides=Object.create(r)),n[e]=t}}function Sn(e,t,n=!1){const r=xe||Ce;if(r||xn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:xn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function Ic(){return!!(xe||Ce||xn)}function Lp(e,t,n,r=!1){const o={},i={};Jr(i,Ho,1),e.propsDefaults=Object.create(null),Nc(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:sc(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function kp(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=ue(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Io(e.emitsOptions,d))continue;const p=t[d];if(a)if(ae(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=mt(d);o[h]=ki(a,l,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{Nc(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=an(f))===f||!ae(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ki(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!ae(t,f))&&(delete i[f],c=!0)}c&&Tt(e,"set","$attrs")}function Nc(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(bn(a))continue;const c=t[a];let u;o&&ae(o,u=mt(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Io(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=ue(n),c=l||me;for(let u=0;u<i.length;u++){const f=i[u];n[f]=ki(o,a,f,c[f],e,!ae(c,f))}}return s}function ki(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=ae(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&Q(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=sn(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===an(n))&&(r=!0))}return r}function Dc(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!Q(e)){const u=f=>{a=!0;const[d,p]=Dc(f,t,!0);Ne(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return pe(e)&&r.set(e,yn),yn;if(X(i))for(let u=0;u<i.length;u++){const f=mt(i[u]);yl(f)&&(s[f]=me)}else if(i)for(const u in i){const f=mt(u);if(yl(f)){const d=i[u],p=s[f]=X(d)||Q(d)?{type:d}:Ne({},d);if(p){const h=wl(Boolean,p.type),g=wl(String,p.type);p[0]=h>-1,p[1]=g<0||h<g,(h>-1||ae(p,"default"))&&l.push(f)}}}const c=[s,l];return pe(e)&&r.set(e,c),c}function yl(e){return e[0]!=="$"&&!bn(e)}function vl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function bl(e,t){return vl(e)===vl(t)}function wl(e,t){return X(t)?t.findIndex(n=>bl(n,e)):Q(t)&&bl(t,e)?0:-1}const $c=e=>e[0]==="_"||e==="$stable",Ps=e=>X(e)?e.map(Ye):[Ye(e)],Ip=(e,t,n)=>{if(t._n)return t;const r=re((...o)=>Ps(t(...o)),n);return r._c=!1,r},Mc=(e,t,n)=>{const r=e._ctx;for(const o in e){if($c(o))continue;const i=e[o];if(Q(i))t[o]=Ip(o,i,r);else if(i!=null){const s=Ps(i);t[o]=()=>s}}},Hc=(e,t)=>{const n=Ps(t);e.slots.default=()=>n},Np=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),Jr(t,"_",n)):Mc(t,e.slots={})}else e.slots={},t&&Hc(e,t);Jr(e.slots,Ho,1)},Dp=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=me;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Ne(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Mc(t,o)),s=t}else t&&(Hc(e,t),s={default:1});if(i)for(const l in o)!$c(l)&&s[l]==null&&delete o[l]};function ro(e,t,n,r,o=!1){if(X(e)){e.forEach((d,p)=>ro(d,t&&(X(t)?t[p]:t),n,r,o));return}if(Cn(r)&&!o)return;const i=r.shapeFlag&4?Bo(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===me?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(be(c)?(u[c]=null,ae(f,c)&&(f[c]=null)):Oe(c)&&(c.value=null)),Q(a))$t(a,l,12,[s,u]);else{const d=be(a),p=Oe(a);if(d||p){const h=()=>{if(e.f){const g=d?ae(f,a)?f[a]:u[a]:a.value;o?X(g)&&as(g,i):X(g)?g.includes(i)||g.push(i):d?(u[a]=[i],ae(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ae(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,je(h,n)):h()}}}let Pt=!1;const $p=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Mp=e=>e.namespaceURI.includes("MathML"),Ar=e=>{if($p(e))return"svg";if(Mp(e))return"mathml"},Rr=e=>e.nodeType===8;function Hp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(y,x)=>{if(!x.hasChildNodes()){n(null,y,x),Zr(),x._vnode=y;return}Pt=!1,f(x.firstChild,y,null,null,null),Zr(),x._vnode=y,Pt&&console.error("Hydration completed but contains mismatches.")},f=(y,x,T,S,A,H=!1)=>{const B=Rr(y)&&y.data==="[",O=()=>g(y,x,T,S,A,B),{type:G,ref:z,shapeFlag:oe,patchFlag:ce}=x;let fe=y.nodeType;x.el=y,ce===-2&&(H=!1,x.dynamicChildren=null);let F=null;switch(G){case Ln:fe!==3?x.children===""?(a(x.el=o(""),s(y),y),F=y):F=O():(y.data!==x.children&&(Pt=!0,y.data=x.children),F=i(y));break;case lt:C(y)?(F=i(y),E(x.el=y.content.firstChild,y,T)):fe!==8||B?F=O():F=i(y);break;case Pn:if(B&&(y=i(y),fe=y.nodeType),fe===1||fe===3){F=y;const Y=!x.children.length;for(let q=0;q<x.staticCount;q++)Y&&(x.children+=F.nodeType===1?F.outerHTML:F.data),q===x.staticCount-1&&(x.anchor=F),F=i(F);return B?i(F):F}else O();break;case _e:B?F=h(y,x,T,S,A,H):F=O();break;default:if(oe&1)(fe!==1||x.type.toLowerCase()!==y.tagName.toLowerCase())&&!C(y)?F=O():F=d(y,x,T,S,A,H);else if(oe&6){x.slotScopeIds=A;const Y=s(y);if(B?F=v(y):Rr(y)&&y.data==="teleport start"?F=v(y,y.data,"teleport end"):F=i(y),t(x,Y,null,T,S,Ar(Y),H),Cn(x)){let q;B?(q=W(_e),q.anchor=F?F.previousSibling:Y.lastChild):q=y.nodeType===3?se(""):W("div"),q.el=y,x.component.subTree=q}}else oe&64?fe!==8?F=O():F=x.type.hydrate(y,x,T,S,A,H,e,p):oe&128&&(F=x.type.hydrate(y,x,T,S,Ar(s(y)),A,H,e,f))}return z!=null&&ro(z,null,S,x),F},d=(y,x,T,S,A,H)=>{H=H||!!x.dynamicChildren;const{type:B,props:O,patchFlag:G,shapeFlag:z,dirs:oe,transition:ce}=x,fe=B==="input"||B==="option";if(fe||G!==-1){oe&&ut(x,null,T,"created");let F=!1;if(C(y)){F=Bc(S,ce)&&T&&T.vnode.props&&T.vnode.props.appear;const q=y.content.firstChild;F&&ce.beforeEnter(q),E(q,y,T),x.el=y=q}if(z&16&&!(O&&(O.innerHTML||O.textContent))){let q=p(y.firstChild,x,y,T,S,A,H);for(;q;){Pt=!0;const yt=q;q=q.nextSibling,l(yt)}}else z&8&&y.textContent!==x.children&&(Pt=!0,y.textContent=x.children);if(O)if(fe||!H||G&48)for(const q in O)(fe&&(q.endsWith("value")||q==="indeterminate")||hr(q)&&!bn(q)||q[0]===".")&&r(y,q,null,O[q],void 0,void 0,T);else O.onClick&&r(y,"onClick",null,O.onClick,void 0,void 0,T);let Y;(Y=O&&O.onVnodeBeforeMount)&&Je(Y,T,x),oe&&ut(x,null,T,"beforeMount"),((Y=O&&O.onVnodeMounted)||oe||F)&&Ec(()=>{Y&&Je(Y,T,x),F&&ce.enter(y),oe&&ut(x,null,T,"mounted")},S)}return y.nextSibling},p=(y,x,T,S,A,H,B)=>{B=B||!!x.dynamicChildren;const O=x.children,G=O.length;for(let z=0;z<G;z++){const oe=B?O[z]:O[z]=Ye(O[z]);if(y)y=f(y,oe,S,A,H,B);else{if(oe.type===Ln&&!oe.children)continue;Pt=!0,n(null,oe,T,null,S,A,Ar(T),H)}}return y},h=(y,x,T,S,A,H)=>{const{slotScopeIds:B}=x;B&&(A=A?A.concat(B):B);const O=s(y),G=p(i(y),x,O,T,S,A,H);return G&&Rr(G)&&G.data==="]"?i(x.anchor=G):(Pt=!0,a(x.anchor=c("]"),O,G),G)},g=(y,x,T,S,A,H)=>{if(Pt=!0,x.el=null,H){const G=v(y);for(;;){const z=i(y);if(z&&z!==G)l(z);else break}}const B=i(y),O=s(y);return l(y),n(null,x,O,B,T,S,Ar(O),A),B},v=(y,x="[",T="]")=>{let S=0;for(;y;)if(y=i(y),y&&Rr(y)&&(y.data===x&&S++,y.data===T)){if(S===0)return i(y);S--}return y},E=(y,x,T)=>{const S=x.parentNode;S&&S.replaceChild(y,x);let A=T;for(;A;)A.vnode.el===x&&(A.vnode.el=A.subTree.el=y),A=A.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const je=Ec;function Vp(e){return Vc(e)}function Bp(e){return Vc(e,Hp)}function Vc(e,t){const n=Ua();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Xe,insertStaticContent:h}=e,g=(_,w,P,R=null,L=null,$=null,V=void 0,D=null,M=!!w.dynamicChildren)=>{if(_===w)return;_&&!Nt(_,w)&&(R=wr(_),at(_,L,$,!0),_=null),w.patchFlag===-2&&(M=!1,w.dynamicChildren=null);const{type:k,ref:U,shapeFlag:J}=w;switch(k){case Ln:v(_,w,P,R);break;case lt:E(_,w,P,R);break;case Pn:_==null&&C(w,P,R,V);break;case _e:z(_,w,P,R,L,$,V,D,M);break;default:J&1?T(_,w,P,R,L,$,V,D,M):J&6?oe(_,w,P,R,L,$,V,D,M):(J&64||J&128)&&k.process(_,w,P,R,L,$,V,D,M,hn)}U!=null&&L&&ro(U,_&&_.ref,$,w||_,!w)},v=(_,w,P,R)=>{if(_==null)r(w.el=l(w.children),P,R);else{const L=w.el=_.el;w.children!==_.children&&c(L,w.children)}},E=(_,w,P,R)=>{_==null?r(w.el=a(w.children||""),P,R):w.el=_.el},C=(_,w,P,R)=>{[_.el,_.anchor]=h(_.children,w,P,R,_.el,_.anchor)},y=({el:_,anchor:w},P,R)=>{let L;for(;_&&_!==w;)L=d(_),r(_,P,R),_=L;r(w,P,R)},x=({el:_,anchor:w})=>{let P;for(;_&&_!==w;)P=d(_),o(_),_=P;o(w)},T=(_,w,P,R,L,$,V,D,M)=>{w.type==="svg"?V="svg":w.type==="math"&&(V="mathml"),_==null?S(w,P,R,L,$,V,D,M):B(_,w,L,$,V,D,M)},S=(_,w,P,R,L,$,V,D)=>{let M,k;const{props:U,shapeFlag:J,transition:K,dirs:ee}=_;if(M=_.el=s(_.type,$,U&&U.is,U),J&8?u(M,_.children):J&16&&H(_.children,M,null,R,L,ii(_,$),V,D),ee&&ut(_,null,R,"created"),A(M,_,_.scopeId,V,R),U){for(const de in U)de!=="value"&&!bn(de)&&i(M,de,null,U[de],$,_.children,R,L,vt);"value"in U&&i(M,"value",null,U.value,$),(k=U.onVnodeBeforeMount)&&Je(k,R,_)}ee&&ut(_,null,R,"beforeMount");const ie=Bc(L,K);ie&&K.beforeEnter(M),r(M,w,P),((k=U&&U.onVnodeMounted)||ie||ee)&&je(()=>{k&&Je(k,R,_),ie&&K.enter(M),ee&&ut(_,null,R,"mounted")},L)},A=(_,w,P,R,L)=>{if(P&&p(_,P),R)for(let $=0;$<R.length;$++)p(_,R[$]);if(L){let $=L.subTree;if(w===$){const V=L.vnode;A(_,V,V.scopeId,V.slotScopeIds,L.parent)}}},H=(_,w,P,R,L,$,V,D,M=0)=>{for(let k=M;k<_.length;k++){const U=_[k]=D?kt(_[k]):Ye(_[k]);g(null,U,w,P,R,L,$,V,D)}},B=(_,w,P,R,L,$,V)=>{const D=w.el=_.el;let{patchFlag:M,dynamicChildren:k,dirs:U}=w;M|=_.patchFlag&16;const J=_.props||me,K=w.props||me;let ee;if(P&&Wt(P,!1),(ee=K.onVnodeBeforeUpdate)&&Je(ee,P,w,_),U&&ut(w,_,P,"beforeUpdate"),P&&Wt(P,!0),k?O(_.dynamicChildren,k,D,P,R,ii(w,L),$):V||q(_,w,D,null,P,R,ii(w,L),$,!1),M>0){if(M&16)G(D,w,J,K,P,R,L);else if(M&2&&J.class!==K.class&&i(D,"class",null,K.class,L),M&4&&i(D,"style",J.style,K.style,L),M&8){const ie=w.dynamicProps;for(let de=0;de<ie.length;de++){const ge=ie[de],Pe=J[ge],tt=K[ge];(tt!==Pe||ge==="value")&&i(D,ge,Pe,tt,L,_.children,P,R,vt)}}M&1&&_.children!==w.children&&u(D,w.children)}else!V&&k==null&&G(D,w,J,K,P,R,L);((ee=K.onVnodeUpdated)||U)&&je(()=>{ee&&Je(ee,P,w,_),U&&ut(w,_,P,"updated")},R)},O=(_,w,P,R,L,$,V)=>{for(let D=0;D<w.length;D++){const M=_[D],k=w[D],U=M.el&&(M.type===_e||!Nt(M,k)||M.shapeFlag&70)?f(M.el):P;g(M,k,U,null,R,L,$,V,!0)}},G=(_,w,P,R,L,$,V)=>{if(P!==R){if(P!==me)for(const D in P)!bn(D)&&!(D in R)&&i(_,D,P[D],null,V,w.children,L,$,vt);for(const D in R){if(bn(D))continue;const M=R[D],k=P[D];M!==k&&D!=="value"&&i(_,D,k,M,V,w.children,L,$,vt)}"value"in R&&i(_,"value",P.value,R.value,V)}},z=(_,w,P,R,L,$,V,D,M)=>{const k=w.el=_?_.el:l(""),U=w.anchor=_?_.anchor:l("");let{patchFlag:J,dynamicChildren:K,slotScopeIds:ee}=w;ee&&(D=D?D.concat(ee):ee),_==null?(r(k,P,R),r(U,P,R),H(w.children||[],P,U,L,$,V,D,M)):J>0&&J&64&&K&&_.dynamicChildren?(O(_.dynamicChildren,K,P,L,$,V,D),(w.key!=null||L&&w===L.subTree)&&jc(_,w,!0)):q(_,w,P,U,L,$,V,D,M)},oe=(_,w,P,R,L,$,V,D,M)=>{w.slotScopeIds=D,_==null?w.shapeFlag&512?L.ctx.activate(w,P,R,V,M):ce(w,P,R,L,$,V,M):fe(_,w,M)},ce=(_,w,P,R,L,$,V)=>{const D=_.component=qp(_,R,L);if(Ts(_)&&(D.ctx.renderer=hn),Kp(D),D.asyncDep){if(L&&L.registerDep(D,F),!_.el){const M=D.subTree=W(lt);E(null,M,w,P)}}else F(D,_,w,P,L,$,V)},fe=(_,w,P)=>{const R=w.component=_.component;if(ep(_,w,P))if(R.asyncDep&&!R.asyncResolved){Y(R,w,P);return}else R.next=w,qd(R.update),R.effect.dirty=!0,R.update();else w.el=_.el,R.vnode=w},F=(_,w,P,R,L,$,V)=>{const D=()=>{if(_.isMounted){let{next:U,bu:J,u:K,parent:ee,vnode:ie}=_;{const mn=Fc(_);if(mn){U&&(U.el=ie.el,Y(_,U,V)),mn.asyncDep.then(()=>{_.isUnmounted||D()});return}}let de=U,ge;Wt(_,!1),U?(U.el=ie.el,Y(_,U,V)):U=ie,J&&Br(J),(ge=U.props&&U.props.onVnodeBeforeUpdate)&&Je(ge,ee,U,ie),Wt(_,!0);const Pe=ni(_),tt=_.subTree;_.subTree=Pe,g(tt,Pe,f(tt.el),wr(tt),_,L,$),U.el=Pe.el,de===null&&bs(_,Pe.el),K&&je(K,L),(ge=U.props&&U.props.onVnodeUpdated)&&je(()=>Je(ge,ee,U,ie),L)}else{let U;const{el:J,props:K}=w,{bm:ee,m:ie,parent:de}=_,ge=Cn(w);if(Wt(_,!1),ee&&Br(ee),!ge&&(U=K&&K.onVnodeBeforeMount)&&Je(U,de,w),Wt(_,!0),J&&Zo){const Pe=()=>{_.subTree=ni(_),Zo(J,_.subTree,_,L,null)};ge?w.type.__asyncLoader().then(()=>!_.isUnmounted&&Pe()):Pe()}else{const Pe=_.subTree=ni(_);g(null,Pe,P,R,_,L,$),w.el=Pe.el}if(ie&&je(ie,L),!ge&&(U=K&&K.onVnodeMounted)){const Pe=w;je(()=>Je(U,de,Pe),L)}(w.shapeFlag&256||de&&Cn(de.vnode)&&de.vnode.shapeFlag&256)&&_.a&&je(_.a,L),_.isMounted=!0,w=P=R=null}},M=_.effect=new fs(D,Xe,()=>ko(k),_.scope),k=_.update=()=>{M.dirty&&M.run()};k.id=_.uid,Wt(_,!0),k()},Y=(_,w,P)=>{w.component=_;const R=_.vnode.props;_.vnode=w,_.next=null,kp(_,w.props,R,P),Dp(_,w.children,P),cn(),ul(_),un()},q=(_,w,P,R,L,$,V,D,M=!1)=>{const k=_&&_.children,U=_?_.shapeFlag:0,J=w.children,{patchFlag:K,shapeFlag:ee}=w;if(K>0){if(K&128){br(k,J,P,R,L,$,V,D,M);return}else if(K&256){yt(k,J,P,R,L,$,V,D,M);return}}ee&8?(U&16&&vt(k,L,$),J!==k&&u(P,J)):U&16?ee&16?br(k,J,P,R,L,$,V,D,M):vt(k,L,$,!0):(U&8&&u(P,""),ee&16&&H(J,P,R,L,$,V,D,M))},yt=(_,w,P,R,L,$,V,D,M)=>{_=_||yn,w=w||yn;const k=_.length,U=w.length,J=Math.min(k,U);let K;for(K=0;K<J;K++){const ee=w[K]=M?kt(w[K]):Ye(w[K]);g(_[K],ee,P,null,L,$,V,D,M)}k>U?vt(_,L,$,!0,!1,J):H(w,P,R,L,$,V,D,M,J)},br=(_,w,P,R,L,$,V,D,M)=>{let k=0;const U=w.length;let J=_.length-1,K=U-1;for(;k<=J&&k<=K;){const ee=_[k],ie=w[k]=M?kt(w[k]):Ye(w[k]);if(Nt(ee,ie))g(ee,ie,P,null,L,$,V,D,M);else break;k++}for(;k<=J&&k<=K;){const ee=_[J],ie=w[K]=M?kt(w[K]):Ye(w[K]);if(Nt(ee,ie))g(ee,ie,P,null,L,$,V,D,M);else break;J--,K--}if(k>J){if(k<=K){const ee=K+1,ie=ee<U?w[ee].el:R;for(;k<=K;)g(null,w[k]=M?kt(w[k]):Ye(w[k]),P,ie,L,$,V,D,M),k++}}else if(k>K)for(;k<=J;)at(_[k],L,$,!0),k++;else{const ee=k,ie=k,de=new Map;for(k=ie;k<=K;k++){const ze=w[k]=M?kt(w[k]):Ye(w[k]);ze.key!=null&&de.set(ze.key,k)}let ge,Pe=0;const tt=K-ie+1;let mn=!1,Qs=0;const jn=new Array(tt);for(k=0;k<tt;k++)jn[k]=0;for(k=ee;k<=J;k++){const ze=_[k];if(Pe>=tt){at(ze,L,$,!0);continue}let ct;if(ze.key!=null)ct=de.get(ze.key);else for(ge=ie;ge<=K;ge++)if(jn[ge-ie]===0&&Nt(ze,w[ge])){ct=ge;break}ct===void 0?at(ze,L,$,!0):(jn[ct-ie]=k+1,ct>=Qs?Qs=ct:mn=!0,g(ze,w[ct],P,null,L,$,V,D,M),Pe++)}const Zs=mn?jp(jn):yn;for(ge=Zs.length-1,k=tt-1;k>=0;k--){const ze=ie+k,ct=w[ze],el=ze+1<U?w[ze+1].el:R;jn[k]===0?g(null,ct,P,el,L,$,V,D,M):mn&&(ge<0||k!==Zs[ge]?Gt(ct,P,el,2):ge--)}}},Gt=(_,w,P,R,L=null)=>{const{el:$,type:V,transition:D,children:M,shapeFlag:k}=_;if(k&6){Gt(_.component.subTree,w,P,R);return}if(k&128){_.suspense.move(w,P,R);return}if(k&64){V.move(_,w,P,hn);return}if(V===_e){r($,w,P);for(let J=0;J<M.length;J++)Gt(M[J],w,P,R);r(_.anchor,w,P);return}if(V===Pn){y(_,w,P);return}if(R!==2&&k&1&&D)if(R===0)D.beforeEnter($),r($,w,P),je(()=>D.enter($),L);else{const{leave:J,delayLeave:K,afterLeave:ee}=D,ie=()=>r($,w,P),de=()=>{J($,()=>{ie(),ee&&ee()})};K?K($,ie,de):de()}else r($,w,P)},at=(_,w,P,R=!1,L=!1)=>{const{type:$,props:V,ref:D,children:M,dynamicChildren:k,shapeFlag:U,patchFlag:J,dirs:K}=_;if(D!=null&&ro(D,null,P,_,!0),U&256){w.ctx.deactivate(_);return}const ee=U&1&&K,ie=!Cn(_);let de;if(ie&&(de=V&&V.onVnodeBeforeUnmount)&&Je(de,w,_),U&6)Qf(_.component,P,R);else{if(U&128){_.suspense.unmount(P,R);return}ee&&ut(_,null,w,"beforeUnmount"),U&64?_.type.remove(_,w,P,L,hn,R):k&&($!==_e||J>0&&J&64)?vt(k,w,P,!1,!0):($===_e&&J&384||!L&&U&16)&&vt(M,w,P),R&&Ys(_)}(ie&&(de=V&&V.onVnodeUnmounted)||ee)&&je(()=>{de&&Je(de,w,_),ee&&ut(_,null,w,"unmounted")},P)},Ys=_=>{const{type:w,el:P,anchor:R,transition:L}=_;if(w===_e){Xf(P,R);return}if(w===Pn){x(_);return}const $=()=>{o(P),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:V,delayLeave:D}=L,M=()=>V(P,$);D?D(_.el,$,M):M()}else $()},Xf=(_,w)=>{let P;for(;_!==w;)P=d(_),o(_),_=P;o(w)},Qf=(_,w,P)=>{const{bum:R,scope:L,update:$,subTree:V,um:D}=_;R&&Br(R),L.stop(),$&&($.active=!1,at(V,_,w,P)),D&&je(D,w),je(()=>{_.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},vt=(_,w,P,R=!1,L=!1,$=0)=>{for(let V=$;V<_.length;V++)at(_[V],w,P,R,L)},wr=_=>_.shapeFlag&6?wr(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let Xo=!1;const Xs=(_,w,P)=>{_==null?w._vnode&&at(w._vnode,null,null,!0):g(w._vnode||null,_,w,null,null,null,P),Xo||(Xo=!0,ul(),Zr(),Xo=!1),w._vnode=_},hn={p:g,um:at,m:Gt,r:Ys,mt:ce,mc:H,pc:q,pbc:O,n:wr,o:e};let Qo,Zo;return t&&([Qo,Zo]=t(hn)),{render:Xs,hydrate:Qo,createApp:Op(Xs,Qo)}}function ii({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Bc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function jc(e,t,n=!1){const r=e.children,o=t.children;if(X(r)&&X(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=kt(o[i]),l.el=s.el),n||jc(s,l)),l.type===Ln&&(l.el=s.el)}}function jp(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<c?i=l+1:s=l;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Fc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fc(t)}const Fp=e=>e.__isTeleport,_e=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Pn=Symbol.for("v-stc"),zn=[];let Qe=null;function j(e=!1){zn.push(Qe=e?null:[])}function Uc(){zn.pop(),Qe=zn[zn.length-1]||null}let kn=1;function El(e){kn+=e}function Gc(e){return e.dynamicChildren=kn>0?Qe||yn:null,Uc(),kn>0&&Qe&&Qe.push(e),e}function Z(e,t,n,r,o,i){return Gc(N(e,t,n,r,o,i,!0))}function ye(e,t,n,r,o){return Gc(W(e,t,n,r,o,!0))}function rr(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const Ho="__vInternal",Wc=({key:e})=>e??null,Fr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Oe(e)||Q(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function N(e,t=null,n=null,r=0,o=null,i=e===_e?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wc(t),ref:t&&Fr(t),scopeId:No,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ce};return l?(Rs(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),kn>0&&!s&&Qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Qe.push(a),a}const W=Up;function Up(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===bc)&&(e=lt),rr(e)){const l=In(e,t,!0);return n&&Rs(l,n),kn>0&&!i&&Qe&&(l.shapeFlag&6?Qe[Qe.indexOf(e)]=l:Qe.push(l)),l.patchFlag|=-2,l}if(Zp(e)&&(e=e.__vccOpts),t){t=As(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=Te(l)),pe(a)&&(lc(a)&&!X(a)&&(a=Ne({},a)),t.style=Zt(a))}const s=be(e)?1:np(e)?128:Fp(e)?64:pe(e)?4:Q(e)?2:0;return N(e,t,n,r,o,s,i,!0)}function As(e){return e?lc(e)||Ho in e?Ne({},e):e:null}function In(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,l=t?Vo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Wc(l),ref:t&&t.ref?n&&o?X(o)?o.concat(Fr(t)):[o,Fr(t)]:Fr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&In(e.ssContent),ssFallback:e.ssFallback&&In(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function se(e=" ",t=0){return W(Ln,null,e,t)}function Gp(e,t){const n=W(Pn,null,e);return n.staticCount=t,n}function ke(e="",t=!1){return t?(j(),ye(lt,null,e)):W(lt,null,e)}function Ye(e){return e==null||typeof e=="boolean"?W(lt):X(e)?W(_e,null,e.slice()):typeof e=="object"?kt(e):W(Ln,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:In(e)}function Rs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Rs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Ho in t)?t._ctx=Ce:o===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),r&64?(n=16,t=[se(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Te([t.class,r.class]));else if(o==="style")t.style=Zt([t.style,r.style]);else if(hr(o)){const i=t[o],s=r[o];s&&i!==s&&!(X(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Je(e,t,n,r=null){ot(e,t,7,[n,r])}const Wp=Lc();let zp=0;function qp(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Wp,i={uid:zp++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new qa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Dc(r,o),emitsOptions:_c(r,o),emit:null,emitted:null,propsDefaults:me,inheritAttrs:r.inheritAttrs,ctx:me,data:me,props:me,attrs:me,slots:me,refs:me,setupState:me,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Jd.bind(null,i),e.ce&&e.ce(i),i}let xe=null;const Mn=()=>xe||Ce;let oo,Ii;{const e=Ua(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};oo=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),Ii=t("__VUE_SSR_SETTERS__",n=>gr=n)}const sn=e=>{const t=xe;return oo(e),e.scope.on(),()=>{e.scope.off(),oo(t)}},Ni=()=>{xe&&xe.scope.off(),oo(null)};function zc(e){return e.vnode.shapeFlag&4}let gr=!1;function Kp(e,t=!1){t&&Ii(t);const{props:n,children:r}=e.vnode,o=zc(e);Lp(e,n,o,t),Np(e,r);const i=o?Jp(e,t):void 0;return t&&Ii(!1),i}function Jp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ac(new Proxy(e.ctx,Ep));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Xp(e):null,i=sn(e);cn();const s=$t(r,e,0,[e.props,o]);if(un(),i(),cs(s)){if(s.then(Ni,Ni),t)return s.then(l=>{Di(e,l,t)}).catch(l=>{$n(l,e,0)});e.asyncDep=s}else Di(e,s,t)}else qc(e,t)}function Di(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=dc(t)),qc(e,n)}let Tl;function qc(e,t,n){const r=e.type;if(!e.render){if(!t&&Tl&&!r.render){const o=r.template||Ss(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ne(Ne({isCustomElement:i,delimiters:l},s),a);r.render=Tl(o,c)}}e.render=r.render||Xe}{const o=sn(e);cn();try{Cp(e)}finally{un(),o()}}}function Yp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ge(e,"get","$attrs"),t[n]}}))}function Xp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Yp(e)},slots:e.slots,emit:e.emit,expose:t}}function Bo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(dc(ac(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wn)return Wn[n](e)},has(t,n){return n in t||n in Wn}}))}function Qp(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Zp(e){return Q(e)&&"__vccOpts"in e}const Ue=(e,t)=>Hd(e,t,gr);function io(e,t,n){const r=arguments.length;return r===2?pe(t)&&!X(t)?rr(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rr(n)&&(n=[n]),W(e,t,n))}const Kc="3.4.21";/**
|
|
19
|
+
**/function $t(e,t,n,r){try{return r?e(...r):e()}catch(o){$n(o,t,n)}}function ot(e,t,n,r){if(Q(e)){const i=$t(e,t,n,r);return i&&cs(i)&&i.catch(s=>{$n(s,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(ot(e[i],t,n,r));return o}function $n(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,s,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){$t(a,null,10,[e,s,l]);return}}Wd(e,n,o,r)}function Wd(e,t,n,r=!0){console.error(e)}let er=!1,Si=!1;const $e=[];let ft=0;const En=[];let Lt=null,Jt=0;const hc=Promise.resolve();let vs=null;function fn(e){const t=vs||hc;return e?t.then(this?e.bind(this):e):t}function zd(e){let t=ft+1,n=$e.length;for(;t<n;){const r=t+n>>>1,o=$e[r],i=tr(o);i<e||i===e&&o.pre?t=r+1:n=r}return t}function ko(e){(!$e.length||!$e.includes(e,er&&e.allowRecurse?ft+1:ft))&&(e.id==null?$e.push(e):$e.splice(zd(e.id),0,e),mc())}function mc(){!er&&!Si&&(Si=!0,vs=hc.then(gc))}function qd(e){const t=$e.indexOf(e);t>ft&&$e.splice(t,1)}function Pi(e){X(e)?En.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Jt+1:Jt))&&En.push(e),mc()}function ul(e,t,n=er?ft+1:0){for(;n<$e.length;n++){const r=$e[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;$e.splice(n,1),n--,r()}}}function Zr(e){if(En.length){const t=[...new Set(En)].sort((n,r)=>tr(n)-tr(r));if(En.length=0,Lt){Lt.push(...t);return}for(Lt=t,Jt=0;Jt<Lt.length;Jt++)Lt[Jt]();Lt=null,Jt=0}}const tr=e=>e.id==null?1/0:e.id,Kd=(e,t)=>{const n=tr(e)-tr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function gc(e){Si=!1,er=!0,$e.sort(Kd);try{for(ft=0;ft<$e.length;ft++){const t=$e[ft];t&&t.active!==!1&&$t(t,null,14)}}finally{ft=0,$e.length=0,Zr(),er=!1,vs=null,($e.length||En.length)&&gc()}}function Jd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const u=`${s==="modelValue"?"model":s}Modifiers`,{number:f,trim:d}=r[u]||me;d&&(o=n.map(p=>be(p)?p.trim():p)),f&&(o=n.map(sd))}let l,a=r[l=ei(t)]||r[l=ei(mt(t))];!a&&i&&(a=r[l=ei(an(t))]),a&&ot(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ot(c,e,6,o)}}function _c(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!Q(e)){const a=c=>{const u=_c(c,t,!0);u&&(l=!0,Ne(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(pe(e)&&r.set(e,null),null):(X(i)?i.forEach(a=>s[a]=null):Ne(s,i),pe(e)&&r.set(e,s),s)}function Io(e,t){return!e||!hr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,an(t))||ae(e,t))}let Ce=null,No=null;function eo(e){const t=Ce;return Ce=e,No=e&&e.type.__scopeId||null,t}function yc(e){No=e}function vc(){No=null}const Yd=e=>re;function re(e,t=Ce,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&El(-1);const i=eo(t);let s;try{s=e(...o)}finally{eo(i),r._d&&El(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ni(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e;let v,E;const C=eo(e);try{if(n.shapeFlag&4){const S=o||r,T=S;v=Ye(u.call(T,S,f,i,p,d,h)),E=a}else{const S=t;v=Ye(S.length>1?S(i,{attrs:a,slots:l,emit:c}):S(i,null)),E=t.props?a:Qd(a)}}catch(S){zn.length=0,$n(S,e,1),v=W(lt)}let y=v;if(E&&m!==!1){const S=Object.keys(E),{shapeFlag:T}=y;S.length&&T&7&&(s&&S.some(ls)&&(E=Zd(E,s)),y=In(y,E))}return n.dirs&&(y=In(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),v=y,eo(C),v}function Xd(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(rr(o)){if(o.type!==lt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Qd=e=>{let t;for(const n in e)(n==="class"||n==="style"||hr(n))&&((t||(t={}))[n]=e[n]);return t},Zd=(e,t)=>{const n={};for(const r in e)(!ls(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ep(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?fl(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Io(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===s?!1:r?s?fl(r,s,c):!0:!!s;return!1}function fl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Io(n,i))return!0}return!1}function bs({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ws="components";function on(e,t){return wc(ws,e,!0,t)||e}const bc=Symbol.for("v-ndc");function tp(e){return be(e)?wc(ws,e,!1)||e:e||bc}function wc(e,t,n=!0,r=!1){const o=Ce||xe;if(o){const i=o.type;if(e===ws){const l=Qp(i,!1);if(l&&(l===t||l===mt(t)||l===Oo(mt(t))))return i}const s=dl(o[e]||i[e],t)||dl(o.appContext[e],t);return!s&&r?i:s}}function dl(e,t){return e&&(e[t]||e[mt(t)]||e[Oo(mt(t))])}const np=e=>e.__isSuspense;let Ai=0;const rp={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,l,a,c){if(e==null)ip(t,n,r,o,i,s,l,a,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}sp(e,t,n,r,o,s,l,a,c)}},hydrate:lp,create:Es,normalize:ap},op=rp;function nr(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function ip(e,t,n,r,o,i,s,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=Es(e,o,r,t,f,n,i,s,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(nr(e,"onPending"),nr(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Tn(d,e.ssFallback)):d.resolve(!1,!0)}function sp(e,t,n,r,o,i,s,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:v,isHydrating:E}=f;if(m)f.pendingBranch=d,Nt(d,m)?(a(m,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():v&&(E||(a(h,p,n,r,o,null,i,s,l),Tn(f,p)))):(f.pendingId=Ai++,E?(f.isHydrating=!1,f.activeBranch=m):c(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0?f.resolve():(a(h,p,n,r,o,null,i,s,l),Tn(f,p))):h&&Nt(d,h)?(a(h,d,n,r,o,f,i,s,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0&&f.resolve()));else if(h&&Nt(d,h))a(h,d,n,r,o,f,i,s,l),Tn(f,d);else if(nr(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Ai++,a(null,d,f.hiddenContainer,null,o,f,i,s,l),f.deps<=0)f.resolve();else{const{timeout:C,pendingId:y}=f;C>0?setTimeout(()=>{f.pendingId===y&&f.fallback(p)},C):C===0&&f.fallback(p)}}function Es(e,t,n,r,o,i,s,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:v}}=c;let E;const C=cp(e);C&&t!=null&&t.pendingBranch&&(E=t.pendingId,t.deps++);const y=e.props?ld(e.props.timeout):void 0,S=i,T={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:Ai++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,A=!1){const{vnode:H,activeBranch:B,pendingBranch:O,pendingId:G,effects:z,parentComponent:oe,container:ce}=T;let fe=!1;T.isHydrating?T.isHydrating=!1:x||(fe=B&&O.transition&&O.transition.mode==="out-in",fe&&(B.transition.afterLeave=()=>{G===T.pendingId&&(d(O,ce,i===S?h(B):i,0),Pi(z))}),B&&(m(B.el)!==T.hiddenContainer&&(i=h(B)),p(B,oe,T,!0)),fe||d(O,ce,i,0)),Tn(T,O),T.pendingBranch=null,T.isInFallback=!1;let F=T.parent,Y=!1;for(;F;){if(F.pendingBranch){F.effects.push(...z),Y=!0;break}F=F.parent}!Y&&!fe&&Pi(z),T.effects=[],C&&t&&t.pendingBranch&&E===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),nr(H,"onResolve")},fallback(x){if(!T.pendingBranch)return;const{vnode:A,activeBranch:H,parentComponent:B,container:O,namespace:G}=T;nr(A,"onFallback");const z=h(H),oe=()=>{T.isInFallback&&(f(null,x,O,z,B,null,G,l,a),Tn(T,x))},ce=x.transition&&x.transition.mode==="out-in";ce&&(H.transition.afterLeave=oe),T.isInFallback=!0,p(H,B,null,!0),ce||oe()},move(x,A,H){T.activeBranch&&d(T.activeBranch,x,A,H),T.container=x},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(x,A){const H=!!T.pendingBranch;H&&T.deps++;const B=x.vnode.el;x.asyncDep.catch(O=>{$n(O,x,0)}).then(O=>{if(x.isUnmounted||T.isUnmounted||T.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:G}=x;Di(x,O,!1),B&&(G.el=B);const z=!B&&x.subTree.el;A(x,G,m(B||x.subTree.el),B?null:h(x.subTree),T,s,a),z&&v(z),bs(x,G.el),H&&--T.deps===0&&T.resolve()})},unmount(x,A){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,x,A),T.pendingBranch&&p(T.pendingBranch,n,x,A)}};return T}function lp(e,t,n,r,o,i,s,l,a){const c=t.suspense=Es(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function ap(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=pl(r?n.default:n),e.ssFallback=r?pl(n.fallback):W(lt)}function pl(e){let t;if(Q(e)){const n=kn&&e._c;n&&(e._d=!1,j()),e=e(),n&&(e._d=!0,t=Qe,Uc())}return X(e)&&(e=Xd(e)),e=Ye(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ec(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Pi(e)}function Tn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,bs(r,o))}function cp(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const up=Symbol.for("v-scx"),fp=()=>Sn(up);function Tc(e,t){return Do(e,null,t)}function dp(e,t){return Do(e,null,{flush:"post"})}const Pr={};function dt(e,t,n){return Do(e,t,n)}function Do(e,t,{immediate:n,deep:r,flush:o,once:i,onTrack:s,onTrigger:l}=me){if(t&&i){const x=t;t=(...A)=>{x(...A),T()}}const a=xe,c=x=>r===!0?x:Yt(x,r===!1?1:void 0);let u,f=!1,d=!1;if(Oe(e)?(u=()=>e.value,f=Qr(e)):wn(e)?(u=()=>c(e),f=!0):X(e)?(d=!0,f=e.some(x=>wn(x)||Qr(x)),u=()=>e.map(x=>{if(Oe(x))return x.value;if(wn(x))return c(x);if(Q(x))return $t(x,a,2)})):Q(e)?t?u=()=>$t(e,a,2):u=()=>(p&&p(),ot(e,a,3,[h])):u=Xe,t&&r){const x=u;u=()=>Yt(x())}let p,h=x=>{p=y.onStop=()=>{$t(x,a,4),p=y.onStop=void 0}},m;if(gr)if(h=Xe,t?n&&ot(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const x=fp();m=x.__watcherHandles||(x.__watcherHandles=[])}else return Xe;let v=d?new Array(e.length).fill(Pr):Pr;const E=()=>{if(!(!y.active||!y.dirty))if(t){const x=y.run();(r||f||(d?x.some((A,H)=>Bt(A,v[H])):Bt(x,v)))&&(p&&p(),ot(t,a,3,[x,v===Pr?void 0:d&&v[0]===Pr?[]:v,h]),v=x)}else y.run()};E.allowRecurse=!!t;let C;o==="sync"?C=E:o==="post"?C=()=>je(E,a&&a.suspense):(E.pre=!0,a&&(E.id=a.uid),C=()=>ko(E));const y=new fs(u,Xe,C),S=Ka(),T=()=>{y.stop(),S&&as(S.effects,y)};return t?n?E():v=y.run():o==="post"?je(y.run.bind(y),a&&a.suspense):y.run(),m&&m.push(T),T}function pp(e,t,n){const r=this.proxy,o=be(e)?e.includes(".")?Cc(r,e):()=>r[e]:e.bind(r,r);let i;Q(t)?i=t:(i=t.handler,n=t);const s=sn(this),l=Do(o,i.bind(r),n);return s(),l}function Cc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Yt(e,t,n=0,r){if(!pe(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Oe(e))Yt(e.value,t,n,r);else if(X(e))for(let o=0;o<e.length;o++)Yt(e[o],t,n,r);else if(Ba(e)||vn(e))e.forEach(o=>{Yt(o,t,n,r)});else if(Fa(e))for(const o in e)Yt(e[o],t,n,r);return e}function hp(e,t){if(Ce===null)return e;const n=Bo(Ce)||Ce.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,l,a=me]=t[o];i&&(Q(i)&&(i={mounted:i,updated:i}),i.deep&&Yt(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:l,modifiers:a}))}return e}function ut(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const l=o[s];i&&(l.oldValue=i[s].value);let a=l.dir[r];a&&(cn(),ot(a,n,8,[e.el,l,e,t]),un())}}/*! #__NO_SIDE_EFFECTS__ */function We(e,t){return Q(e)?Ne({name:e.name},t,{setup:e}):e}const Cn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function to(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((m,v)=>{l(h,()=>m(f()),()=>v(h),u+1)});throw h}).then(h=>p!==a&&a?a:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return We({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=xe;if(c)return()=>ri(c,p);const h=C=>{a=null,$n(C,p,13,!r)};if(s&&p.suspense||gr)return d().then(C=>()=>ri(C,p)).catch(C=>(h(C),()=>r?W(r,{error:C}):null));const m=ve(!1),v=ve(),E=ve(!!o);return o&&setTimeout(()=>{E.value=!1},o),i!=null&&setTimeout(()=>{if(!m.value&&!v.value){const C=new Error(`Async component timed out after ${i}ms.`);h(C),v.value=C}},i),d().then(()=>{m.value=!0,p.parent&&Ts(p.parent.vnode)&&(p.parent.effect.dirty=!0,ko(p.parent.update))}).catch(C=>{h(C),v.value=C}),()=>{if(m.value&&c)return ri(c,p);if(v.value&&r)return W(r,{error:v.value});if(n&&!E.value)return W(n)}}})}function ri(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=W(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Ts=e=>e.type.__isKeepAlive;function xc(e,t){Pc(e,"a",t)}function Sc(e,t){Pc(e,"da",t)}function Pc(e,t,n=xe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($o(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ts(o.parent.vnode)&&mp(r,t,n,o),o=o.parent}}function mp(e,t,n,r){const o=$o(t,e,r,!0);xs(()=>{as(r[t],o)},n)}function $o(e,t,n=xe,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;cn();const l=sn(n),a=ot(t,n,e,s);return l(),un(),a});return r?o.unshift(i):o.push(i),i}}const xt=e=>(t,n=xe)=>(!gr||e==="sp")&&$o(e,(...r)=>t(...r),n),gp=xt("bm"),Mo=xt("m"),_p=xt("bu"),yp=xt("u"),Cs=xt("bum"),xs=xt("um"),vp=xt("sp"),bp=xt("rtg"),wp=xt("rtc");function Ac(e,t=xe){$o("ec",e,t)}function gn(e,t,n,r){let o;const i=n&&n[r];if(X(e)||be(e)){o=new Array(e.length);for(let s=0,l=e.length;s<l;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(s,l)=>t(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;l<a;l++){const c=s[l];o[l]=t(e[c],c,l,i&&i[l])}}else o=[];return n&&(n[r]=o),o}function Fe(e,t,n={},r,o){if(Ce.isCE||Ce.parent&&Cn(Ce.parent)&&Ce.parent.isCE)return t!=="default"&&(n.name=t),W("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),j();const s=i&&Rc(i(n)),l=ye(_e,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Rc(e){return e.some(t=>rr(t)?!(t.type===lt||t.type===_e&&!Rc(t.children)):!0)?e:null}const Ri=e=>e?zc(e)?Bo(e)||e.proxy:Ri(e.parent):null,Wn=Ne(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ri(e.parent),$root:e=>Ri(e.root),$emit:e=>e.emit,$options:e=>Ss(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ko(e.update)}),$nextTick:e=>e.n||(e.n=fn.bind(e.proxy)),$watch:e=>pp.bind(e)}),oi=(e,t)=>e!==me&&!e.__isScriptSetup&&ae(e,t),Ep={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(oi(r,t))return s[t]=1,r[t];if(o!==me&&ae(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&ae(c,t))return s[t]=3,i[t];if(n!==me&&ae(n,t))return s[t]=4,n[t];Oi&&(s[t]=0)}}const u=Wn[t];let f,d;if(u)return t==="$attrs"&&Ge(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==me&&ae(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ae(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return oi(o,t)?(o[t]=n,!0):r!==me&&ae(r,t)?(r[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let l;return!!n[s]||e!==me&&ae(e,s)||oi(t,s)||(l=i[0])&&ae(l,s)||ae(r,s)||ae(Wn,s)||ae(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hl(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Tp(e){const t=Mn();let n=e();return Ni(),cs(n)&&(n=n.catch(r=>{throw sn(t),r})),[n,()=>sn(t)]}let Oi=!0;function Cp(e){const t=Ss(e),n=e.proxy,r=e.ctx;Oi=!1,t.beforeCreate&&ml(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:E,beforeUnmount:C,destroyed:y,unmounted:S,render:T,renderTracked:x,renderTriggered:A,errorCaptured:H,serverPrefetch:B,expose:O,inheritAttrs:G,components:z,directives:oe,filters:ce}=t;if(c&&xp(c,r,null),s)for(const Y in s){const q=s[Y];Q(q)&&(r[Y]=q.bind(n))}if(o){const Y=o.call(n,n);pe(Y)&&(e.data=Ct(Y))}if(Oi=!0,i)for(const Y in i){const q=i[Y],yt=Q(q)?q.bind(n,n):Q(q.get)?q.get.bind(n,n):Xe,br=!Q(q)&&Q(q.set)?q.set.bind(n):Xe,Gt=Ue({get:yt,set:br});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Gt.value,set:at=>Gt.value=at})}if(l)for(const Y in l)Oc(l[Y],r,n,Y);if(a){const Y=Q(a)?a.call(n):a;Reflect.ownKeys(Y).forEach(q=>{kc(q,Y[q])})}u&&ml(u,e,"c");function F(Y,q){X(q)?q.forEach(yt=>Y(yt.bind(n))):q&&Y(q.bind(n))}if(F(gp,f),F(Mo,d),F(_p,p),F(yp,h),F(xc,m),F(Sc,v),F(Ac,H),F(wp,x),F(bp,A),F(Cs,C),F(xs,S),F(vp,B),X(O))if(O.length){const Y=e.exposed||(e.exposed={});O.forEach(q=>{Object.defineProperty(Y,q,{get:()=>n[q],set:yt=>n[q]=yt})})}else e.exposed||(e.exposed={});T&&e.render===Xe&&(e.render=T),G!=null&&(e.inheritAttrs=G),z&&(e.components=z),oe&&(e.directives=oe)}function xp(e,t,n=Xe){X(e)&&(e=Li(e));for(const r in e){const o=e[r];let i;pe(o)?"default"in o?i=Sn(o.from||r,o.default,!0):i=Sn(o.from||r):i=Sn(o),Oe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function ml(e,t,n){ot(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Oc(e,t,n,r){const o=r.includes(".")?Cc(n,r):()=>n[r];if(be(e)){const i=t[e];Q(i)&&dt(o,i)}else if(Q(e))dt(o,e.bind(n));else if(pe(e))if(X(e))e.forEach(i=>Oc(i,t,n,r));else{const i=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(i)&&dt(o,i,e)}}function Ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>no(a,c,s,!0)),no(a,t,s)),pe(t)&&i.set(t,a),a}function no(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&no(e,i,n,!0),o&&o.forEach(s=>no(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Sp[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Sp={data:gl,props:_l,emits:_l,methods:Un,computed:Un,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:Un,directives:Un,watch:Ap,provide:gl,inject:Pp};function gl(e,t){return t?e?function(){return Ne(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Pp(e,t){return Un(Li(e),Li(t))}function Li(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function Un(e,t){return e?Ne(Object.create(null),e,t):t}function _l(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Ne(Object.create(null),hl(e),hl(t??{})):t}function Ap(e,t){if(!e)return t;if(!t)return e;const n=Ne(Object.create(null),e);for(const r in t)n[r]=Me(e[r],t[r]);return n}function Lc(){return{app:null,config:{isNativeTag:td,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Rp=0;function Op(e,t){return function(r,o=null){Q(r)||(r=Ne({},r)),o!=null&&!pe(o)&&(o=null);const i=Lc(),s=new WeakSet;let l=!1;const a=i.app={_uid:Rp++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Kc,get config(){return i.config},set config(c){},use(c,...u){return s.has(c)||(c&&Q(c.install)?(s.add(c),c.install(a,...u)):Q(c)&&(s.add(c),c(a,...u))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,u){return u?(i.components[c]=u,a):i.components[c]},directive(c,u){return u?(i.directives[c]=u,a):i.directives[c]},mount(c,u,f){if(!l){const d=W(r,o);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,Bo(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return i.provides[c]=u,a},runWithContext(c){const u=xn;xn=a;try{return c()}finally{xn=u}}};return a}}let xn=null;function kc(e,t){if(xe){let n=xe.provides;const r=xe.parent&&xe.parent.provides;r===n&&(n=xe.provides=Object.create(r)),n[e]=t}}function Sn(e,t,n=!1){const r=xe||Ce;if(r||xn){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:xn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function Ic(){return!!(xe||Ce||xn)}function Lp(e,t,n,r=!1){const o={},i={};Jr(i,Ho,1),e.propsDefaults=Object.create(null),Nc(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:sc(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function kp(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=ue(o),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Io(e.emitsOptions,d))continue;const p=t[d];if(a)if(ae(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=mt(d);o[h]=ki(a,l,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{Nc(e,t,o,i)&&(c=!0);let u;for(const f in l)(!t||!ae(t,f)&&((u=an(f))===f||!ae(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ki(a,l,f,void 0,e,!0)):delete o[f]);if(i!==l)for(const f in i)(!t||!ae(t,f))&&(delete i[f],c=!0)}c&&Tt(e,"set","$attrs")}function Nc(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,l;if(t)for(let a in t){if(bn(a))continue;const c=t[a];let u;o&&ae(o,u=mt(a))?!i||!i.includes(u)?n[u]=c:(l||(l={}))[u]=c:Io(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,s=!0)}if(i){const a=ue(n),c=l||me;for(let u=0;u<i.length;u++){const f=i[u];n[f]=ki(o,a,f,c[f],e,!ae(c,f))}}return s}function ki(e,t,n,r,o,i){const s=e[n];if(s!=null){const l=ae(s,"default");if(l&&r===void 0){const a=s.default;if(s.type!==Function&&!s.skipFactory&&Q(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=sn(o);r=c[n]=a.call(null,t),u()}}else r=a}s[0]&&(i&&!l?r=!1:s[1]&&(r===""||r===an(n))&&(r=!0))}return r}function Dc(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},l=[];let a=!1;if(!Q(e)){const u=f=>{a=!0;const[d,p]=Dc(f,t,!0);Ne(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return pe(e)&&r.set(e,yn),yn;if(X(i))for(let u=0;u<i.length;u++){const f=mt(i[u]);yl(f)&&(s[f]=me)}else if(i)for(const u in i){const f=mt(u);if(yl(f)){const d=i[u],p=s[f]=X(d)||Q(d)?{type:d}:Ne({},d);if(p){const h=wl(Boolean,p.type),m=wl(String,p.type);p[0]=h>-1,p[1]=m<0||h<m,(h>-1||ae(p,"default"))&&l.push(f)}}}const c=[s,l];return pe(e)&&r.set(e,c),c}function yl(e){return e[0]!=="$"&&!bn(e)}function vl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function bl(e,t){return vl(e)===vl(t)}function wl(e,t){return X(t)?t.findIndex(n=>bl(n,e)):Q(t)&&bl(t,e)?0:-1}const $c=e=>e[0]==="_"||e==="$stable",Ps=e=>X(e)?e.map(Ye):[Ye(e)],Ip=(e,t,n)=>{if(t._n)return t;const r=re((...o)=>Ps(t(...o)),n);return r._c=!1,r},Mc=(e,t,n)=>{const r=e._ctx;for(const o in e){if($c(o))continue;const i=e[o];if(Q(i))t[o]=Ip(o,i,r);else if(i!=null){const s=Ps(i);t[o]=()=>s}}},Hc=(e,t)=>{const n=Ps(t);e.slots.default=()=>n},Np=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),Jr(t,"_",n)):Mc(t,e.slots={})}else e.slots={},t&&Hc(e,t);Jr(e.slots,Ho,1)},Dp=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=me;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Ne(o,t),!n&&l===1&&delete o._):(i=!t.$stable,Mc(t,o)),s=t}else t&&(Hc(e,t),s={default:1});if(i)for(const l in o)!$c(l)&&s[l]==null&&delete o[l]};function ro(e,t,n,r,o=!1){if(X(e)){e.forEach((d,p)=>ro(d,t&&(X(t)?t[p]:t),n,r,o));return}if(Cn(r)&&!o)return;const i=r.shapeFlag&4?Bo(r.component)||r.component.proxy:r.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===me?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(be(c)?(u[c]=null,ae(f,c)&&(f[c]=null)):Oe(c)&&(c.value=null)),Q(a))$t(a,l,12,[s,u]);else{const d=be(a),p=Oe(a);if(d||p){const h=()=>{if(e.f){const m=d?ae(f,a)?f[a]:u[a]:a.value;o?X(m)&&as(m,i):X(m)?m.includes(i)||m.push(i):d?(u[a]=[i],ae(f,a)&&(f[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ae(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,je(h,n)):h()}}}let Pt=!1;const $p=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Mp=e=>e.namespaceURI.includes("MathML"),Ar=e=>{if($p(e))return"svg";if(Mp(e))return"mathml"},Rr=e=>e.nodeType===8;function Hp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:l,insert:a,createComment:c}}=e,u=(y,S)=>{if(!S.hasChildNodes()){n(null,y,S),Zr(),S._vnode=y;return}Pt=!1,f(S.firstChild,y,null,null,null),Zr(),S._vnode=y,Pt&&console.error("Hydration completed but contains mismatches.")},f=(y,S,T,x,A,H=!1)=>{const B=Rr(y)&&y.data==="[",O=()=>m(y,S,T,x,A,B),{type:G,ref:z,shapeFlag:oe,patchFlag:ce}=S;let fe=y.nodeType;S.el=y,ce===-2&&(H=!1,S.dynamicChildren=null);let F=null;switch(G){case Ln:fe!==3?S.children===""?(a(S.el=o(""),s(y),y),F=y):F=O():(y.data!==S.children&&(Pt=!0,y.data=S.children),F=i(y));break;case lt:C(y)?(F=i(y),E(S.el=y.content.firstChild,y,T)):fe!==8||B?F=O():F=i(y);break;case Pn:if(B&&(y=i(y),fe=y.nodeType),fe===1||fe===3){F=y;const Y=!S.children.length;for(let q=0;q<S.staticCount;q++)Y&&(S.children+=F.nodeType===1?F.outerHTML:F.data),q===S.staticCount-1&&(S.anchor=F),F=i(F);return B?i(F):F}else O();break;case _e:B?F=h(y,S,T,x,A,H):F=O();break;default:if(oe&1)(fe!==1||S.type.toLowerCase()!==y.tagName.toLowerCase())&&!C(y)?F=O():F=d(y,S,T,x,A,H);else if(oe&6){S.slotScopeIds=A;const Y=s(y);if(B?F=v(y):Rr(y)&&y.data==="teleport start"?F=v(y,y.data,"teleport end"):F=i(y),t(S,Y,null,T,x,Ar(Y),H),Cn(S)){let q;B?(q=W(_e),q.anchor=F?F.previousSibling:Y.lastChild):q=y.nodeType===3?se(""):W("div"),q.el=y,S.component.subTree=q}}else oe&64?fe!==8?F=O():F=S.type.hydrate(y,S,T,x,A,H,e,p):oe&128&&(F=S.type.hydrate(y,S,T,x,Ar(s(y)),A,H,e,f))}return z!=null&&ro(z,null,x,S),F},d=(y,S,T,x,A,H)=>{H=H||!!S.dynamicChildren;const{type:B,props:O,patchFlag:G,shapeFlag:z,dirs:oe,transition:ce}=S,fe=B==="input"||B==="option";if(fe||G!==-1){oe&&ut(S,null,T,"created");let F=!1;if(C(y)){F=Bc(x,ce)&&T&&T.vnode.props&&T.vnode.props.appear;const q=y.content.firstChild;F&&ce.beforeEnter(q),E(q,y,T),S.el=y=q}if(z&16&&!(O&&(O.innerHTML||O.textContent))){let q=p(y.firstChild,S,y,T,x,A,H);for(;q;){Pt=!0;const yt=q;q=q.nextSibling,l(yt)}}else z&8&&y.textContent!==S.children&&(Pt=!0,y.textContent=S.children);if(O)if(fe||!H||G&48)for(const q in O)(fe&&(q.endsWith("value")||q==="indeterminate")||hr(q)&&!bn(q)||q[0]===".")&&r(y,q,null,O[q],void 0,void 0,T);else O.onClick&&r(y,"onClick",null,O.onClick,void 0,void 0,T);let Y;(Y=O&&O.onVnodeBeforeMount)&&Je(Y,T,S),oe&&ut(S,null,T,"beforeMount"),((Y=O&&O.onVnodeMounted)||oe||F)&&Ec(()=>{Y&&Je(Y,T,S),F&&ce.enter(y),oe&&ut(S,null,T,"mounted")},x)}return y.nextSibling},p=(y,S,T,x,A,H,B)=>{B=B||!!S.dynamicChildren;const O=S.children,G=O.length;for(let z=0;z<G;z++){const oe=B?O[z]:O[z]=Ye(O[z]);if(y)y=f(y,oe,x,A,H,B);else{if(oe.type===Ln&&!oe.children)continue;Pt=!0,n(null,oe,T,null,x,A,Ar(T),H)}}return y},h=(y,S,T,x,A,H)=>{const{slotScopeIds:B}=S;B&&(A=A?A.concat(B):B);const O=s(y),G=p(i(y),S,O,T,x,A,H);return G&&Rr(G)&&G.data==="]"?i(S.anchor=G):(Pt=!0,a(S.anchor=c("]"),O,G),G)},m=(y,S,T,x,A,H)=>{if(Pt=!0,S.el=null,H){const G=v(y);for(;;){const z=i(y);if(z&&z!==G)l(z);else break}}const B=i(y),O=s(y);return l(y),n(null,S,O,B,T,x,Ar(O),A),B},v=(y,S="[",T="]")=>{let x=0;for(;y;)if(y=i(y),y&&Rr(y)&&(y.data===S&&x++,y.data===T)){if(x===0)return i(y);x--}return y},E=(y,S,T)=>{const x=S.parentNode;x&&x.replaceChild(y,S);let A=T;for(;A;)A.vnode.el===S&&(A.vnode.el=A.subTree.el=y),A=A.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const je=Ec;function Vp(e){return Vc(e)}function Bp(e){return Vc(e,Hp)}function Vc(e,t){const n=Ua();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Xe,insertStaticContent:h}=e,m=(_,w,P,R=null,L=null,$=null,V=void 0,D=null,M=!!w.dynamicChildren)=>{if(_===w)return;_&&!Nt(_,w)&&(R=wr(_),at(_,L,$,!0),_=null),w.patchFlag===-2&&(M=!1,w.dynamicChildren=null);const{type:k,ref:U,shapeFlag:J}=w;switch(k){case Ln:v(_,w,P,R);break;case lt:E(_,w,P,R);break;case Pn:_==null&&C(w,P,R,V);break;case _e:z(_,w,P,R,L,$,V,D,M);break;default:J&1?T(_,w,P,R,L,$,V,D,M):J&6?oe(_,w,P,R,L,$,V,D,M):(J&64||J&128)&&k.process(_,w,P,R,L,$,V,D,M,hn)}U!=null&&L&&ro(U,_&&_.ref,$,w||_,!w)},v=(_,w,P,R)=>{if(_==null)r(w.el=l(w.children),P,R);else{const L=w.el=_.el;w.children!==_.children&&c(L,w.children)}},E=(_,w,P,R)=>{_==null?r(w.el=a(w.children||""),P,R):w.el=_.el},C=(_,w,P,R)=>{[_.el,_.anchor]=h(_.children,w,P,R,_.el,_.anchor)},y=({el:_,anchor:w},P,R)=>{let L;for(;_&&_!==w;)L=d(_),r(_,P,R),_=L;r(w,P,R)},S=({el:_,anchor:w})=>{let P;for(;_&&_!==w;)P=d(_),o(_),_=P;o(w)},T=(_,w,P,R,L,$,V,D,M)=>{w.type==="svg"?V="svg":w.type==="math"&&(V="mathml"),_==null?x(w,P,R,L,$,V,D,M):B(_,w,L,$,V,D,M)},x=(_,w,P,R,L,$,V,D)=>{let M,k;const{props:U,shapeFlag:J,transition:K,dirs:ee}=_;if(M=_.el=s(_.type,$,U&&U.is,U),J&8?u(M,_.children):J&16&&H(_.children,M,null,R,L,ii(_,$),V,D),ee&&ut(_,null,R,"created"),A(M,_,_.scopeId,V,R),U){for(const de in U)de!=="value"&&!bn(de)&&i(M,de,null,U[de],$,_.children,R,L,vt);"value"in U&&i(M,"value",null,U.value,$),(k=U.onVnodeBeforeMount)&&Je(k,R,_)}ee&&ut(_,null,R,"beforeMount");const ie=Bc(L,K);ie&&K.beforeEnter(M),r(M,w,P),((k=U&&U.onVnodeMounted)||ie||ee)&&je(()=>{k&&Je(k,R,_),ie&&K.enter(M),ee&&ut(_,null,R,"mounted")},L)},A=(_,w,P,R,L)=>{if(P&&p(_,P),R)for(let $=0;$<R.length;$++)p(_,R[$]);if(L){let $=L.subTree;if(w===$){const V=L.vnode;A(_,V,V.scopeId,V.slotScopeIds,L.parent)}}},H=(_,w,P,R,L,$,V,D,M=0)=>{for(let k=M;k<_.length;k++){const U=_[k]=D?kt(_[k]):Ye(_[k]);m(null,U,w,P,R,L,$,V,D)}},B=(_,w,P,R,L,$,V)=>{const D=w.el=_.el;let{patchFlag:M,dynamicChildren:k,dirs:U}=w;M|=_.patchFlag&16;const J=_.props||me,K=w.props||me;let ee;if(P&&Wt(P,!1),(ee=K.onVnodeBeforeUpdate)&&Je(ee,P,w,_),U&&ut(w,_,P,"beforeUpdate"),P&&Wt(P,!0),k?O(_.dynamicChildren,k,D,P,R,ii(w,L),$):V||q(_,w,D,null,P,R,ii(w,L),$,!1),M>0){if(M&16)G(D,w,J,K,P,R,L);else if(M&2&&J.class!==K.class&&i(D,"class",null,K.class,L),M&4&&i(D,"style",J.style,K.style,L),M&8){const ie=w.dynamicProps;for(let de=0;de<ie.length;de++){const ge=ie[de],Pe=J[ge],tt=K[ge];(tt!==Pe||ge==="value")&&i(D,ge,Pe,tt,L,_.children,P,R,vt)}}M&1&&_.children!==w.children&&u(D,w.children)}else!V&&k==null&&G(D,w,J,K,P,R,L);((ee=K.onVnodeUpdated)||U)&&je(()=>{ee&&Je(ee,P,w,_),U&&ut(w,_,P,"updated")},R)},O=(_,w,P,R,L,$,V)=>{for(let D=0;D<w.length;D++){const M=_[D],k=w[D],U=M.el&&(M.type===_e||!Nt(M,k)||M.shapeFlag&70)?f(M.el):P;m(M,k,U,null,R,L,$,V,!0)}},G=(_,w,P,R,L,$,V)=>{if(P!==R){if(P!==me)for(const D in P)!bn(D)&&!(D in R)&&i(_,D,P[D],null,V,w.children,L,$,vt);for(const D in R){if(bn(D))continue;const M=R[D],k=P[D];M!==k&&D!=="value"&&i(_,D,k,M,V,w.children,L,$,vt)}"value"in R&&i(_,"value",P.value,R.value,V)}},z=(_,w,P,R,L,$,V,D,M)=>{const k=w.el=_?_.el:l(""),U=w.anchor=_?_.anchor:l("");let{patchFlag:J,dynamicChildren:K,slotScopeIds:ee}=w;ee&&(D=D?D.concat(ee):ee),_==null?(r(k,P,R),r(U,P,R),H(w.children||[],P,U,L,$,V,D,M)):J>0&&J&64&&K&&_.dynamicChildren?(O(_.dynamicChildren,K,P,L,$,V,D),(w.key!=null||L&&w===L.subTree)&&jc(_,w,!0)):q(_,w,P,U,L,$,V,D,M)},oe=(_,w,P,R,L,$,V,D,M)=>{w.slotScopeIds=D,_==null?w.shapeFlag&512?L.ctx.activate(w,P,R,V,M):ce(w,P,R,L,$,V,M):fe(_,w,M)},ce=(_,w,P,R,L,$,V)=>{const D=_.component=qp(_,R,L);if(Ts(_)&&(D.ctx.renderer=hn),Kp(D),D.asyncDep){if(L&&L.registerDep(D,F),!_.el){const M=D.subTree=W(lt);E(null,M,w,P)}}else F(D,_,w,P,L,$,V)},fe=(_,w,P)=>{const R=w.component=_.component;if(ep(_,w,P))if(R.asyncDep&&!R.asyncResolved){Y(R,w,P);return}else R.next=w,qd(R.update),R.effect.dirty=!0,R.update();else w.el=_.el,R.vnode=w},F=(_,w,P,R,L,$,V)=>{const D=()=>{if(_.isMounted){let{next:U,bu:J,u:K,parent:ee,vnode:ie}=_;{const mn=Fc(_);if(mn){U&&(U.el=ie.el,Y(_,U,V)),mn.asyncDep.then(()=>{_.isUnmounted||D()});return}}let de=U,ge;Wt(_,!1),U?(U.el=ie.el,Y(_,U,V)):U=ie,J&&Br(J),(ge=U.props&&U.props.onVnodeBeforeUpdate)&&Je(ge,ee,U,ie),Wt(_,!0);const Pe=ni(_),tt=_.subTree;_.subTree=Pe,m(tt,Pe,f(tt.el),wr(tt),_,L,$),U.el=Pe.el,de===null&&bs(_,Pe.el),K&&je(K,L),(ge=U.props&&U.props.onVnodeUpdated)&&je(()=>Je(ge,ee,U,ie),L)}else{let U;const{el:J,props:K}=w,{bm:ee,m:ie,parent:de}=_,ge=Cn(w);if(Wt(_,!1),ee&&Br(ee),!ge&&(U=K&&K.onVnodeBeforeMount)&&Je(U,de,w),Wt(_,!0),J&&Zo){const Pe=()=>{_.subTree=ni(_),Zo(J,_.subTree,_,L,null)};ge?w.type.__asyncLoader().then(()=>!_.isUnmounted&&Pe()):Pe()}else{const Pe=_.subTree=ni(_);m(null,Pe,P,R,_,L,$),w.el=Pe.el}if(ie&&je(ie,L),!ge&&(U=K&&K.onVnodeMounted)){const Pe=w;je(()=>Je(U,de,Pe),L)}(w.shapeFlag&256||de&&Cn(de.vnode)&&de.vnode.shapeFlag&256)&&_.a&&je(_.a,L),_.isMounted=!0,w=P=R=null}},M=_.effect=new fs(D,Xe,()=>ko(k),_.scope),k=_.update=()=>{M.dirty&&M.run()};k.id=_.uid,Wt(_,!0),k()},Y=(_,w,P)=>{w.component=_;const R=_.vnode.props;_.vnode=w,_.next=null,kp(_,w.props,R,P),Dp(_,w.children,P),cn(),ul(_),un()},q=(_,w,P,R,L,$,V,D,M=!1)=>{const k=_&&_.children,U=_?_.shapeFlag:0,J=w.children,{patchFlag:K,shapeFlag:ee}=w;if(K>0){if(K&128){br(k,J,P,R,L,$,V,D,M);return}else if(K&256){yt(k,J,P,R,L,$,V,D,M);return}}ee&8?(U&16&&vt(k,L,$),J!==k&&u(P,J)):U&16?ee&16?br(k,J,P,R,L,$,V,D,M):vt(k,L,$,!0):(U&8&&u(P,""),ee&16&&H(J,P,R,L,$,V,D,M))},yt=(_,w,P,R,L,$,V,D,M)=>{_=_||yn,w=w||yn;const k=_.length,U=w.length,J=Math.min(k,U);let K;for(K=0;K<J;K++){const ee=w[K]=M?kt(w[K]):Ye(w[K]);m(_[K],ee,P,null,L,$,V,D,M)}k>U?vt(_,L,$,!0,!1,J):H(w,P,R,L,$,V,D,M,J)},br=(_,w,P,R,L,$,V,D,M)=>{let k=0;const U=w.length;let J=_.length-1,K=U-1;for(;k<=J&&k<=K;){const ee=_[k],ie=w[k]=M?kt(w[k]):Ye(w[k]);if(Nt(ee,ie))m(ee,ie,P,null,L,$,V,D,M);else break;k++}for(;k<=J&&k<=K;){const ee=_[J],ie=w[K]=M?kt(w[K]):Ye(w[K]);if(Nt(ee,ie))m(ee,ie,P,null,L,$,V,D,M);else break;J--,K--}if(k>J){if(k<=K){const ee=K+1,ie=ee<U?w[ee].el:R;for(;k<=K;)m(null,w[k]=M?kt(w[k]):Ye(w[k]),P,ie,L,$,V,D,M),k++}}else if(k>K)for(;k<=J;)at(_[k],L,$,!0),k++;else{const ee=k,ie=k,de=new Map;for(k=ie;k<=K;k++){const ze=w[k]=M?kt(w[k]):Ye(w[k]);ze.key!=null&&de.set(ze.key,k)}let ge,Pe=0;const tt=K-ie+1;let mn=!1,Qs=0;const jn=new Array(tt);for(k=0;k<tt;k++)jn[k]=0;for(k=ee;k<=J;k++){const ze=_[k];if(Pe>=tt){at(ze,L,$,!0);continue}let ct;if(ze.key!=null)ct=de.get(ze.key);else for(ge=ie;ge<=K;ge++)if(jn[ge-ie]===0&&Nt(ze,w[ge])){ct=ge;break}ct===void 0?at(ze,L,$,!0):(jn[ct-ie]=k+1,ct>=Qs?Qs=ct:mn=!0,m(ze,w[ct],P,null,L,$,V,D,M),Pe++)}const Zs=mn?jp(jn):yn;for(ge=Zs.length-1,k=tt-1;k>=0;k--){const ze=ie+k,ct=w[ze],el=ze+1<U?w[ze+1].el:R;jn[k]===0?m(null,ct,P,el,L,$,V,D,M):mn&&(ge<0||k!==Zs[ge]?Gt(ct,P,el,2):ge--)}}},Gt=(_,w,P,R,L=null)=>{const{el:$,type:V,transition:D,children:M,shapeFlag:k}=_;if(k&6){Gt(_.component.subTree,w,P,R);return}if(k&128){_.suspense.move(w,P,R);return}if(k&64){V.move(_,w,P,hn);return}if(V===_e){r($,w,P);for(let J=0;J<M.length;J++)Gt(M[J],w,P,R);r(_.anchor,w,P);return}if(V===Pn){y(_,w,P);return}if(R!==2&&k&1&&D)if(R===0)D.beforeEnter($),r($,w,P),je(()=>D.enter($),L);else{const{leave:J,delayLeave:K,afterLeave:ee}=D,ie=()=>r($,w,P),de=()=>{J($,()=>{ie(),ee&&ee()})};K?K($,ie,de):de()}else r($,w,P)},at=(_,w,P,R=!1,L=!1)=>{const{type:$,props:V,ref:D,children:M,dynamicChildren:k,shapeFlag:U,patchFlag:J,dirs:K}=_;if(D!=null&&ro(D,null,P,_,!0),U&256){w.ctx.deactivate(_);return}const ee=U&1&&K,ie=!Cn(_);let de;if(ie&&(de=V&&V.onVnodeBeforeUnmount)&&Je(de,w,_),U&6)Qf(_.component,P,R);else{if(U&128){_.suspense.unmount(P,R);return}ee&&ut(_,null,w,"beforeUnmount"),U&64?_.type.remove(_,w,P,L,hn,R):k&&($!==_e||J>0&&J&64)?vt(k,w,P,!1,!0):($===_e&&J&384||!L&&U&16)&&vt(M,w,P),R&&Ys(_)}(ie&&(de=V&&V.onVnodeUnmounted)||ee)&&je(()=>{de&&Je(de,w,_),ee&&ut(_,null,w,"unmounted")},P)},Ys=_=>{const{type:w,el:P,anchor:R,transition:L}=_;if(w===_e){Xf(P,R);return}if(w===Pn){S(_);return}const $=()=>{o(P),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:V,delayLeave:D}=L,M=()=>V(P,$);D?D(_.el,$,M):M()}else $()},Xf=(_,w)=>{let P;for(;_!==w;)P=d(_),o(_),_=P;o(w)},Qf=(_,w,P)=>{const{bum:R,scope:L,update:$,subTree:V,um:D}=_;R&&Br(R),L.stop(),$&&($.active=!1,at(V,_,w,P)),D&&je(D,w),je(()=>{_.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},vt=(_,w,P,R=!1,L=!1,$=0)=>{for(let V=$;V<_.length;V++)at(_[V],w,P,R,L)},wr=_=>_.shapeFlag&6?wr(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let Xo=!1;const Xs=(_,w,P)=>{_==null?w._vnode&&at(w._vnode,null,null,!0):m(w._vnode||null,_,w,null,null,null,P),Xo||(Xo=!0,ul(),Zr(),Xo=!1),w._vnode=_},hn={p:m,um:at,m:Gt,r:Ys,mt:ce,mc:H,pc:q,pbc:O,n:wr,o:e};let Qo,Zo;return t&&([Qo,Zo]=t(hn)),{render:Xs,hydrate:Qo,createApp:Op(Xs,Qo)}}function ii({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Wt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Bc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function jc(e,t,n=!1){const r=e.children,o=t.children;if(X(r)&&X(o))for(let i=0;i<r.length;i++){const s=r[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=kt(o[i]),l.el=s.el),n||jc(s,l)),l.type===Ln&&(l.el=s.el)}}function jp(e){const t=e.slice(),n=[0];let r,o,i,s,l;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)l=i+s>>1,e[n[l]]<c?i=l+1:s=l;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Fc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fc(t)}const Fp=e=>e.__isTeleport,_e=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Pn=Symbol.for("v-stc"),zn=[];let Qe=null;function j(e=!1){zn.push(Qe=e?null:[])}function Uc(){zn.pop(),Qe=zn[zn.length-1]||null}let kn=1;function El(e){kn+=e}function Gc(e){return e.dynamicChildren=kn>0?Qe||yn:null,Uc(),kn>0&&Qe&&Qe.push(e),e}function Z(e,t,n,r,o,i){return Gc(N(e,t,n,r,o,i,!0))}function ye(e,t,n,r,o){return Gc(W(e,t,n,r,o,!0))}function rr(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const Ho="__vInternal",Wc=({key:e})=>e??null,Fr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Oe(e)||Q(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function N(e,t=null,n=null,r=0,o=null,i=e===_e?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wc(t),ref:t&&Fr(t),scopeId:No,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ce};return l?(Rs(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),kn>0&&!s&&Qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Qe.push(a),a}const W=Up;function Up(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===bc)&&(e=lt),rr(e)){const l=In(e,t,!0);return n&&Rs(l,n),kn>0&&!i&&Qe&&(l.shapeFlag&6?Qe[Qe.indexOf(e)]=l:Qe.push(l)),l.patchFlag|=-2,l}if(Zp(e)&&(e=e.__vccOpts),t){t=As(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=Te(l)),pe(a)&&(lc(a)&&!X(a)&&(a=Ne({},a)),t.style=Zt(a))}const s=be(e)?1:np(e)?128:Fp(e)?64:pe(e)?4:Q(e)?2:0;return N(e,t,n,r,o,s,i,!0)}function As(e){return e?lc(e)||Ho in e?Ne({},e):e:null}function In(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,l=t?Vo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Wc(l),ref:t&&t.ref?n&&o?X(o)?o.concat(Fr(t)):[o,Fr(t)]:Fr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&In(e.ssContent),ssFallback:e.ssFallback&&In(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function se(e=" ",t=0){return W(Ln,null,e,t)}function Gp(e,t){const n=W(Pn,null,e);return n.staticCount=t,n}function ke(e="",t=!1){return t?(j(),ye(lt,null,e)):W(lt,null,e)}function Ye(e){return e==null||typeof e=="boolean"?W(lt):X(e)?W(_e,null,e.slice()):typeof e=="object"?kt(e):W(Ln,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:In(e)}function Rs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Rs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Ho in t)?t._ctx=Ce:o===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),r&64?(n=16,t=[se(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Te([t.class,r.class]));else if(o==="style")t.style=Zt([t.style,r.style]);else if(hr(o)){const i=t[o],s=r[o];s&&i!==s&&!(X(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Je(e,t,n,r=null){ot(e,t,7,[n,r])}const Wp=Lc();let zp=0;function qp(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Wp,i={uid:zp++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new qa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Dc(r,o),emitsOptions:_c(r,o),emit:null,emitted:null,propsDefaults:me,inheritAttrs:r.inheritAttrs,ctx:me,data:me,props:me,attrs:me,slots:me,refs:me,setupState:me,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Jd.bind(null,i),e.ce&&e.ce(i),i}let xe=null;const Mn=()=>xe||Ce;let oo,Ii;{const e=Ua(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};oo=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),Ii=t("__VUE_SSR_SETTERS__",n=>gr=n)}const sn=e=>{const t=xe;return oo(e),e.scope.on(),()=>{e.scope.off(),oo(t)}},Ni=()=>{xe&&xe.scope.off(),oo(null)};function zc(e){return e.vnode.shapeFlag&4}let gr=!1;function Kp(e,t=!1){t&&Ii(t);const{props:n,children:r}=e.vnode,o=zc(e);Lp(e,n,o,t),Np(e,r);const i=o?Jp(e,t):void 0;return t&&Ii(!1),i}function Jp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ac(new Proxy(e.ctx,Ep));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Xp(e):null,i=sn(e);cn();const s=$t(r,e,0,[e.props,o]);if(un(),i(),cs(s)){if(s.then(Ni,Ni),t)return s.then(l=>{Di(e,l,t)}).catch(l=>{$n(l,e,0)});e.asyncDep=s}else Di(e,s,t)}else qc(e,t)}function Di(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=dc(t)),qc(e,n)}let Tl;function qc(e,t,n){const r=e.type;if(!e.render){if(!t&&Tl&&!r.render){const o=r.template||Ss(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ne(Ne({isCustomElement:i,delimiters:l},s),a);r.render=Tl(o,c)}}e.render=r.render||Xe}{const o=sn(e);cn();try{Cp(e)}finally{un(),o()}}}function Yp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ge(e,"get","$attrs"),t[n]}}))}function Xp(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Yp(e)},slots:e.slots,emit:e.emit,expose:t}}function Bo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(dc(ac(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wn)return Wn[n](e)},has(t,n){return n in t||n in Wn}}))}function Qp(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Zp(e){return Q(e)&&"__vccOpts"in e}const Ue=(e,t)=>Hd(e,t,gr);function io(e,t,n){const r=arguments.length;return r===2?pe(t)&&!X(t)?rr(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&rr(n)&&(n=[n]),W(e,t,n))}const Kc="3.4.21";/**
|
|
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 eh="http://www.w3.org/2000/svg",th="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,Cl=It&&It.createElement("template"),nh={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"?It.createElementNS(eh,e):t==="mathml"?It.createElementNS(th,e):It.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.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{Cl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=Cl.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]}},rh=Symbol("_vtc");function oh(e,t,n){const r=e[rh];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const xl=Symbol("_vod"),ih=Symbol("_vsh"),Jc=Symbol("");function Cw(e){const t=Mn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Mi(i,o))},r=()=>{const o=e(t.proxy);$i(t.subTree,o),n(o)};dp(r),Mo(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),xs(()=>o.disconnect())})}function $i(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{$i(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Mi(e.el,t);else if(e.type===_e)e.children.forEach(n=>$i(n,t));else if(e.type===Pn){let{el:n,anchor:r}=e;for(;n&&(Mi(n,t),n!==r);)n=n.nextSibling}}function Mi(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Jc]=r}}const sh=/(^|;)\s*display\s*:/;function lh(e,t,n){const r=e.style,o=be(n);let i=!1;if(n&&!o){if(t)if(be(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&Ur(r,l,"")}else for(const s in t)n[s]==null&&Ur(r,s,"");for(const s in n)s==="display"&&(i=!0),Ur(r,s,n[s])}else if(o){if(t!==n){const s=r[Jc];s&&(n+=";"+s),r.cssText=n,i=sh.test(n)}}else t&&e.removeAttribute("style");xl in e&&(e[xl]=i?r.display:"",e[ih]&&(r.display="none"))}const Sl=/\s*!important$/;function Ur(e,t,n){if(X(n))n.forEach(r=>Ur(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ah(e,t);Sl.test(n)?e.setProperty(an(r),n.replace(Sl,""),"important"):e[r]=n}}const Pl=["Webkit","Moz","ms"],si={};function ah(e,t){const n=si[t];if(n)return n;let r=mt(t);if(r!=="filter"&&r in e)return si[t]=r;r=Oo(r);for(let o=0;o<Pl.length;o++){const i=Pl[o]+r;if(i in e)return si[t]=i}return t}const Al="http://www.w3.org/1999/xlink";function ch(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Al,t.slice(6,t.length)):e.setAttributeNS(Al,t,n);else{const i=pd(t);n==null||i&&!Wa(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function uh(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=Wa(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Yc(e,t,n,r){e.addEventListener(t,n,r)}function fh(e,t,n,r){e.removeEventListener(t,n,r)}const Rl=Symbol("_vei");function dh(e,t,n,r,o=null){const i=e[Rl]||(e[Rl]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=ph(t);if(r){const c=i[t]=gh(r,o);Yc(e,l,c,a)}else s&&(fh(e,l,s,a),i[t]=void 0)}}const Ol=/(?:Once|Passive|Capture)$/;function ph(e){let t;if(Ol.test(e)){t={};let r;for(;r=e.match(Ol);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):an(e.slice(2)),t]}let li=0;const hh=Promise.resolve(),mh=()=>li||(hh.then(()=>li=0),li=Date.now());function gh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ot(_h(r,n.value),t,5,[r])};return n.value=e,n.attached=mh(),n}function _h(e,t){if(X(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 Ll=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,yh=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?oh(e,r,c):t==="style"?lh(e,n,r):hr(t)?ls(t)||dh(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vh(e,t,r,c))?uh(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ch(e,t,r,c))};function vh(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ll(t)&&Q(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 Ll(t)&&be(n)?!1:t in e}const kl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>Br(t,n):t},ai=Symbol("_assign"),bh={created(e,{value:t},n){e.checked=Yr(t,n.props.value),e[ai]=kl(n),Yc(e,"change",()=>{e[ai](wh(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ai]=kl(r),t!==n&&(e.checked=Yr(t,r.props.value))}};function wh(e){return"_value"in e?e._value:e.value}const Eh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Th=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=an(o.key);if(t.some(s=>s===i||Eh[s]===i))return e(o)})},Xc=Ne({patchProp:yh},nh);let qn,Il=!1;function Ch(){return qn||(qn=Vp(Xc))}function xh(){return qn=Il?qn:Bp(Xc),Il=!0,qn}const Qc=(...e)=>{const t=Ch().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=eu(r);if(!o)return;const i=t._component;!Q(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,Zc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Sh=(...e)=>{const t=xh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=eu(r);if(o)return n(o,!0,Zc(o))},t};function Zc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function eu(e){return be(e)?document.querySelector(e):e}const Ph=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Ah=/"(?: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*:/,Rh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Oh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Lh(e);return}return t}function Lh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function so(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(!Rh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ph.test(e)||Ah.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Oh)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const kh=/#/g,Ih=/&/g,Nh=/\//g,Dh=/=/g,Os=/\+/g,$h=/%5e/gi,Mh=/%60/gi,Hh=/%7c/gi,Vh=/%20/gi;function Bh(e){return encodeURI(""+e).replace(Hh,"|")}function Hi(e){return Bh(typeof e=="string"?e:JSON.stringify(e)).replace(Os,"%2B").replace(Vh,"+").replace(kh,"%23").replace(Ih,"%26").replace(Mh,"`").replace($h,"^").replace(Nh,"%2F")}function ci(e){return Hi(e).replace(Dh,"%3D")}function lo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function jh(e){return lo(e.replace(Os," "))}function Fh(e){return lo(e.replace(Os," "))}function Ls(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=jh(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=Fh(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 Uh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ci(e)}=${Hi(n)}`).join("&"):`${ci(e)}=${Hi(t)}`:ci(e)}function tu(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Uh(t,e[t])).filter(Boolean).join("&")}const Gh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Wh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,zh=/^([/\\]\s*){2,}[^/\\]/,qh=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Kh=/\/$|\/\?|\/#/,Jh=/^\.?\//;function Ft(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Gh.test(e):Wh.test(e)||(t.acceptRelative?zh.test(e):!1)}function Yh(e){return!!e&&qh.test(e)}function Vi(e="",t){return t?Kh.test(e):e.endsWith("/")}function jo(e="",t){if(!t)return(Vi(e)?e.slice(0,-1):e)||"/";if(!Vi(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 ao(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Vi(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 Xh(e=""){return e.startsWith("/")}function Nl(e=""){return Xh(e)?e:"/"+e}function Qh(e,t){if(ru(t)||Ft(e))return e;const n=jo(t);return e.startsWith(n)?e:Hn(n,e)}function Zh(e,t){if(ru(t))return e;const n=jo(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function nu(e,t){const n=Vn(e),r={...Ls(n.search),...t};return n.search=tu(r),su(n)}function ru(e){return!e||e==="/"}function em(e){return e&&e!=="/"}function Hn(e,...t){let n=e||"";for(const r of t.filter(o=>em(o)))if(n){const o=r.replace(Jh,"");n=ao(n)+o}else n=r;return n}function ou(...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&&Ft(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 tm(e,t,n={}){return n.trailingSlash||(e=ao(e),t=ao(t)),n.leadingSlash||(e=Nl(e),t=Nl(t)),n.encoding||(e=lo(e),t=lo(t)),e===t}const iu=Symbol.for("ufo:protocolRelative");function Vn(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(!Ft(e,{acceptRelative:!0}))return t?Vn(t+e):Dl(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=Dl(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,[iu]:!r}}function Dl(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function su(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[iu]?(e.protocol||"")+"//":"")+o+i+t+n+r}class nm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function rm(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 nm(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[h]}});return l}const om=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function $l(e="GET"){return om.has(e.toUpperCase())}function im(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 sm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),lm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function am(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return lm.test(t)?"json":sm.has(t)||t.startsWith("text/")?"text":"blob"}function cm(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 um=new Set([408,409,425,429,500,502,503,504]),fm=new Set([101,204,205,304]);function lu(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=$l(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):um.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(l.request,{...l.options,retry:u-1})}}const c=rm(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var p;const u={request:a,options:cm(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Qh(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=nu(u.request,{...u.options.params,...u.options.query}))),u.options.body&&$l(u.options.method)&&(im(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 h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!fm.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||am(u.response.headers.get("content-type")||"");switch(h){case"json":{const g=await u.response.text(),v=u.options.parseResponse||so;u.response._data=v(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}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={})=>lu({...e,defaults:{...e.defaults,...l}}),s}const ks=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")}(),dm=ks.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),pm=ks.Headers,hm=ks.AbortController,mm=lu({fetch:dm,Headers:pm,AbortController:hm}),gm=mm,_m=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},co=_m().app,ym=()=>co.baseURL,vm=()=>co.buildAssetsDir,Is=(...e)=>ou(au(),vm(),...e),au=(...e)=>{const t=co.cdnURL||co.baseURL;return e.length?ou(t,...e):t};globalThis.__buildAssetsURL=Is,globalThis.__publicAssetsURL=au;globalThis.$fetch||(globalThis.$fetch=gm.create({baseURL:ym()}));function Bi(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Bi(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const bm={run:e=>e()},wm=()=>bm,cu=typeof console.createTask<"u"?console.createTask:wm;function Em(e,t){const n=t.shift(),r=cu(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Tm(e,t){const n=t.shift(),r=cu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function ui(e,t){for(const n of[...e])n(t)}class Cm{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=Bi(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=Bi(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(Em,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Tm,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ui(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&ui(this._after,o)}):(this._after&&o&&ui(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 uu(){return new Cm}function xm(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;ji.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{ji.delete(c)}}}}function Sm(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=xm({...e,...r})),t[n],t[n]}}}const uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ml="__unctx__",Pm=uo[Ml]||(uo[Ml]=Sm()),Am=(e,t={})=>Pm.get(e,t),Hl="__unctx_async_handlers__",ji=uo[Hl]||(uo[Hl]=new Set);function fu(e){const t=[];for(const o of ji){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 du=Am("nuxt-app",{asyncContext:!1}),Rm="__nuxt_plugin";function Om(e){let t=0;const n={_scope:md(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Ct({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>Im(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=uu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Or(n,s,i),Or(n.vueApp.config.globalProperties,s,i)},Or(n.vueApp,"$nuxt",n),Or(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||we;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function Lm(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 km(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=Lm(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,p])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(p)))})))});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 _t(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Rm]:!0,_name:t})}function Im(e,t,n){const r=()=>n?t(...n):t();return du.set(e),e.vueApp.runWithContext(r)}function Nm(){var t;let e;return Ic()&&(e=(t=Mn())==null?void 0:t.appContext.app.$nuxt),e=e||du.tryUse(),e||null}function we(){const e=Nm();if(!e)throw new Error("[nuxt] instance unavailable");return e}function or(e){return we().$config}function Or(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Dm(e,t){return{ctx:{table:e},matchAll:n=>hu(n,e,t)}}function pu(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,pu(o)])):new Map(Object.entries(e[n]));return t}function $m(e){return Dm(pu(e))}function hu(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of Vl(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of Vl(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...hu(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Vl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function fi(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 Fi(e,t,n=".",r){if(!fi(t))return Fi(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]]:fi(s)&&fi(o[i])?o[i]=Fi(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function mu(e){return(...t)=>t.reduce((n,r)=>Fi(n,r,"",e),{})}const Mm=mu(),Hm=mu((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Vm(e,t){try{return t in e}catch{return!1}}var Bm=Object.defineProperty,jm=(e,t,n)=>t in e?Bm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qt=(e,t,n)=>(jm(e,typeof t!="symbol"?t+"":t,n),n);class Ui extends Error{constructor(t,n={}){super(t,n),qt(this,"statusCode",500),qt(this,"fatal",!1),qt(this,"unhandled",!1),qt(this,"statusMessage"),qt(this,"data"),qt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Gi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=gu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}qt(Ui,"__h3_error__",!0);function Fm(e){if(typeof e=="string")return new Ui(e);if(Um(e))return e;const t=new Ui(e.message??e.statusMessage??"",{cause:e.cause||e});if(Vm(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=Gi(e.statusCode,t.statusCode):e.status&&(t.statusCode=Gi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;gu(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 Um(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Gm=/[^\u0009\u0020-\u007E]/g;function gu(e=""){return e.replace(Gm,"")}function Gi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const _u=Symbol("route"),Ut=()=>{var e;return(e=we())==null?void 0:e.$router},yu=()=>Ic()?Sn(_u,we()._route):we()._route;const Wm=()=>{try{if(we()._processingMiddleware)return!0}catch{return!1}return!1},vu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:nu(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(", ");return open(n,l,c),Promise.resolve()}const r=(t==null?void 0:t.external)||Ft(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=Vn(n).protocol;if(l&&Yh(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=Wm();if(!r&&o)return e;const i=Ut(),s=we();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)},bu="__nuxt_error",Ns=()=>pc(we().payload,"error"),zm=e=>{const t=Ds(e);try{const n=we(),r=Ns();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},qm=async(e={})=>{const t=we(),n=Ns();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=null},Km=e=>!!e&&typeof e=="object"&&bu in e,Ds=e=>{const t=Fm(e);return Object.defineProperty(t,bu,{value:!0,configurable:!1,writable:!1}),t},Jm="modulepreload",Ym=function(e,t){return e[0]==="."?new URL(e,t).href:e},Bl={},Xm=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=Ym(a,r),a in Bl)return;Bl[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const h=i[p];if(h.href===a&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Jm,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,h)=>{d.addEventListener("load",p),d.addEventListener("error",()=>h(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)=>Xm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Qm=-1,Zm=-2,eg=-3,tg=-4,ng=-5,rg=-6;function og(e,t){return ig(JSON.parse(e),t)}function ig(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===Qm)return;if(i===eg)return NaN;if(i===tg)return 1/0;if(i===ng)return-1/0;if(i===rg)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Zm&&(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 sg(e){return Array.isArray(e)?e:[e]}const lg=["title","titleTemplate","script","style","noscript"],Gr=["base","meta","link","style","script","noscript"],ag=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],cg=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],wu=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],ug=typeof window<"u";function $s(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 jl(e){return e._h||$s(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Eu(e,t){const{props:n,tag:r}=e;if(cg.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 Fl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function fg(e,t,n){const r={tag:e,props:await Tu(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return wu.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||lg.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 dg(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 Tu(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=dg(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!wu.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 pg=10;async function hg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&ag.includes(n)).forEach(([n,r])=>{const o=sg(r);t.push(...o.map(i=>fg(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<<pg)+r,n))}const Ul={base:-10,title:10},Gl={critical:-80,high:-10,low:20};function fo(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 Ul&&(t=Ul[e.tag]),typeof n=="string"&&n in Gl?t+Gl[n]:t)}const mg=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Wl=["onload","onerror","onabort","onprogress","onloadstart"],At="%separator";function Wr(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(At)&&(e.endsWith(At)&&(e=e.slice(0,-At.length).trim()),e.startsWith(At)&&(e=e.slice(At.length).trim()),e=e.replace(new RegExp(`\\${At}\\s*\\${At}`,"g"),At),e=Wr(e,{separator:n},n)),e}async function Cu(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:Gr.includes(f.tag)?jl(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,p=[];for(const h of[...d].filter(g=>Gr.includes(g.tagName.toLowerCase()))){const g={tag:h.tagName.toLowerCase(),props:await Tu(h.getAttributeNames().reduce((C,y)=>({...C,[y]:h.getAttribute(y)}),{})),innerHTML:h.innerHTML};let v=1,E=Eu(g);for(;E&&p.find(C=>C._d===E);)E=`${E}:${v++}`;g._d=E||void 0,p.push(g),i.elMap[h.getAttribute("data-hid")||jl(g)]=h}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,p){const h=`${f}:${d}`;i.sideEffects[h]=p,delete i.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");i.elMap[f]=d,h||(["textContent","innerHTML"].forEach(g=>{p[g]&&p[g]!==d[g]&&(d[g]=p[g])}),s(f,"el",()=>{var g;(g=i.elMap[f])==null||g.remove(),delete i.elMap[f]}));for(const[g,v]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${g}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(g.replace("on",""),v.bind(d)),d.setAttribute(`data-${g}`,""));Object.entries(p.props).forEach(([g,v])=>{const E=`attr:${g}`;if(g==="class")for(const C of(v||"").split(" ").filter(Boolean))h&&s(f,`${E}:${C}`,()=>d.classList.remove(C)),!d.classList.contains(C)&&d.classList.add(C);else if(g==="style")for(const C of(v||"").split(";").filter(Boolean)){const[y,...x]=C.split(":").map(T=>T.trim());s(f,`${E}:${C}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,x.join(":"))}else d.getAttribute(g)!==v&&d.setAttribute(g,v===!0?"":String(v)),h&&s(f,E,()=>d.removeAttribute(g))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[h],f.$el?l(f):Gr.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 gg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Cu(e,t),delete e._domUpdatePromise,r()}))}function _g(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){gg(i,e)}}}}}const yg=["templateParams","htmlAttrs","bodyAttrs"],vg={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=Eu(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&&yg.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(fo(r)>fo(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Gr.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))}}},bg={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"}})}}},wg=["script","link","bodyAttrs"],Eg=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>wg.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Wl.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||$s(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=>Wl.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","")))}}}}),Tg=["link","style","script","noscript"],Cg={hooks:{"tag:normalise":({tag:e})=>{e.key&&Tg.includes(e.tag)&&(e.props["data-hid"]=e._h=$s(e.key))}}},xg={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 mg)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)=>fo(n)-fo(r))}}},Sg={meta:"content",link:"href",htmlAttrs:"lang"},Pg=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=Wr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Sg[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=Wr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=Wr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),Ag={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=Fl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Fl(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)}}},Rg={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 xu;function Og(e={}){const t=Lg(e);return t.use(_g()),xu=t}function zl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Lg(e={}){const t=uu();t.addHooks(e.hooks||{}),e.document=e.document||(ug?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),zl(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return zl(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 hg(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[vg,bg,Eg,Cg,xg,Pg,Ag,Rg,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function kg(){return xu}const Ig=Kc.startsWith("3");function Ng(e){return typeof e=="function"?e():ne(e)}function po(e,t=""){if(e instanceof Promise)return e;const n=Ng(e);return!e||!n?n:Array.isArray(n)?n.map(r=>po(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ne(o)]:[r,po(o,r)])):n}const Dg={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=po(t.input)}}},Su="usehead";function $g(e){return{install(n){Ig&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Su,e))}}.install}function Mg(e={}){e.domDelayFn=e.domDelayFn||(n=>fn(()=>setTimeout(()=>n(),0)));const t=Og(e);return t.use(Dg),t.install=$g(t),t}const Wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zi="__unhead_injection_handler__";function Hg(e){Wi[zi]=e}function Vg(){if(zi in Wi)return Wi[zi]();const e=Sn(Su);return e||kg()}function Bg(e,t={}){const n=t.head||Vg();if(n)return n.ssr?n.push(e,t):jg(n,e,t)}function jg(e,t,n={}){const r=ve(!1),o=ve({});Tc(()=>{o.value=r.value?{}:po(t)});const i=e.push(o.value,n);return dt(o,l=>{i.patch(l)}),Mn()&&(Cs(()=>{i.dispose()}),Sc(()=>{r.value=!0}),xc(()=>{r.value=!1})),i}const Fg={nuxt:{buildId:"97dc3a07-5950-4817-9cc7-c3f152b35f42"}},Ug=Hm(Fg);function Pu(){const e=we();return e._appConfig||(e._appConfig=Ct(Ug)),e._appConfig}const Gg={componentName:"NuxtLink"},Wg="#__nuxt";let zr,Au;function zg(){var t;const e=(t=Pu().nuxt)==null?void 0:t.buildId;return zr=$fetch(Is(`builds/meta/${e}.json`)),zr.then(n=>{Au=$m(n.matcher)}),zr}function Fo(){return zr||zg()}async function Ms(e){return await Fo(),Mm({},...Au.matchAll(e).reverse())}function ql(e,t={}){const n=Kg(e,t),r=we(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Jg(e).then(i=>i?Ru(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const qg="_payload.json";function Kg(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ft(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Pu().nuxt)==null?void 0:o.buildId);return Hn(or().app.baseURL,n.pathname,qg+(r?`?${r}`:""))}async function Ru(e){const t=fetch(e).then(n=>n.text().then(Ou));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Jg(e=yu().path){if(e=jo(e),(await Fo()).prerendered.includes(e))return!0;const n=await Ms(e);return!!n.prerender&&!n.redirect}let Lr=null;async function Yg(){if(Lr)return Lr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ou(e.textContent||""),n=e.dataset.src?await Ru(e.dataset.src):void 0;return Lr={...t,...n,...window.__NUXT__},Lr}async function Ou(e){return await og(e,we()._payloadRevivers)}function Xg(e,t){we()._payloadRevivers[e]=t}const Kl={NuxtError:e=>Ds(e),EmptyShallowRef:e=>xi(e==="_"?void 0:e==="0n"?BigInt(0):so(e)),EmptyRef:e=>ve(e==="_"?void 0:e==="0n"?BigInt(0):so(e)),ShallowRef:e=>xi(e),ShallowReactive:e=>sc(e),Ref:e=>ve(e),Reactive:e=>Ct(e)},Qg=_t({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Kl)Xg(r,Kl[r]);Object.assign(e.payload,([t,n]=fu(()=>e.runWithContext(Yg)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Zg=[],e_=_t({name:"nuxt:head",enforce:"pre",setup(e){const t=Mg({plugins:Zg});Hg(()=>we().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Cu(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)}}}),t_=async e=>{let t,n;const r=([t,n]=fu(()=>Ms(e.path)),t=await t,n(),t);if(r.redirect)return Ft(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},n_=[t_];function di(e){typeof e=="object"&&(e=su({pathname:e.path||"",search:tu(e.query||{}),hash:e.hash||""}));const t=Vn(e.toString());return{path:t.pathname,fullPath:e,query:Ls(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const r_=_t({name:"nuxt:router",enforce:"pre",setup(e){const t=Zh(window.location.pathname,or().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=or().app.baseURL,s=Ct(di(t));async function l(f,d){try{const p=di(f);for(const h of r["navigate:before"]){const g=await h(p,s);if(g===!1||g instanceof Error)return;if(typeof g=="string"&&g.length)return l(g,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",Hn(i,p.fullPath)),e.isHydrating||await e.runWithContext(qm);for(const h of r["navigate:after"])await h(p,s)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:Ue(()=>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:di,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",We({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var g;const h=c.resolve(f.to);return f.custom?(g=d.default)==null?void 0:g.call(d,{href:f.to,navigate:p,route:h}):io("a",{href:f.to,onClick:v=>(v.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ct(f.meta||{}),e.isHydrating&&u&&!rn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...n_,...e._middleware.global]);{const h=await e.runWithContext(()=>Ms(f.path));if(h.appMiddleware)for(const g in h.appMiddleware){const v=e._middleware.named[g];if(!v)return;h.appMiddleware[g]?p.add(v):p.delete(v)}}for(const h of p){const g=await e.runWithContext(()=>h(f,d));if(g!==!0&&(g||g===!1))return g}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),tm(s.fullPath,t)||await e.runWithContext(()=>vu(s.fullPath))}),{provide:{route:s,router:c}}}}),qi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),o_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Hs=e=>{const t=we();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{qi(e)}):qi(e)},i_=_t({name:"nuxt:payload",setup(e){Ut().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await ql(t.path);r&&Object.assign(e.static.data,r.data)}),Hs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Vn(n).protocol||await ql(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Fo,1e3)})}}),s_=_t(e=>{let t;async function n(){const r=await Fo();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(Is("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Hs(()=>{t=setTimeout(n,1e3*60*60)})}),l_=to(()=>m(()=>import("./BUiSbCMB.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e.default||e)),a_=to(()=>m(()=>import("./CCr39IbC.js"),__vite__mapDeps([3,1,4]),import.meta.url).then(e=>e.default||e.default||e)),c_=[["Icon",l_],["IconCSS",a_]],u_=_t({name:"nuxt:global-components",setup(e){for(const[t,n]of c_)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),f_="$s";function d_(...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=f_+n,i=we(),s=pc(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Oe(l))return i.payload.state[o]=l,l;s.value=l}return s}const p_="__NUXT_COLOR_MODE__",h_="nuxt-color-mode",bt=window[p_]||{},m_=_t(e=>{const t=d_("color-mode",()=>Ct({preference:bt.preference,value:bt.value,unknown:!1,forced:!1})).value;Ut().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"?bt.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=bt.getColorScheme())}))}dt(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=bt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(h_,o))},{immediate:!0}),dt(()=>t.value,(o,i)=>{bt.removeColorScheme(i),bt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=bt.preference,t.value=bt.value,t.unknown=!1)}),e.provide("colorMode",t)}),g_=_t(()=>{});function __(e={}){const t=e.path||window.location.pathname;let n={};try{n=so(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:we().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const y_=_t({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=or(),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:Hn(n.app.baseURL,i.fullPath);__({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),v_=["top","right","bottom","left"],Jl=["start","end"],Yl=v_.reduce((e,t)=>e.concat(t,t+"-"+Jl[0],t+"-"+Jl[1]),[]),ir=Math.min,Kt=Math.max,b_={left:"right",right:"left",bottom:"top",top:"bottom"},w_={start:"end",end:"start"};function Ki(e,t,n){return Kt(e,ir(t,n))}function dn(e,t){return typeof e=="function"?e(t):e}function gt(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Lu(e){return e==="x"?"y":"x"}function Vs(e){return e==="y"?"height":"width"}function _r(e){return["top","bottom"].includes(gt(e))?"y":"x"}function Bs(e){return Lu(_r(e))}function ku(e,t,n){n===void 0&&(n=!1);const r=it(e),o=Bs(e),i=Vs(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=mo(s)),[s,mo(s)]}function E_(e){const t=mo(e);return[ho(e),t,ho(t)]}function ho(e){return e.replace(/start|end/g,t=>w_[t])}function T_(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function C_(e,t,n,r){const o=it(e);let i=T_(gt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ho)))),i}function mo(e){return e.replace(/left|right|bottom|top/g,t=>b_[t])}function x_(e){return{top:0,right:0,bottom:0,left:0,...e}}function Iu(e){return typeof e!="number"?x_(e):{top:e,right:e,bottom:e,left:e}}function Kn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Xl(e,t,n){let{reference:r,floating:o}=e;const i=_r(t),s=Bs(t),l=Vs(s),a=gt(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(it(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const S_=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Xl(c,r,a),d=r,p={},h=0;for(let g=0;g<l.length;g++){const{name:v,fn:E}=l[g],{x:C,y,data:x,reset:T}=await E({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=C??u,f=y??f,p={...p,[v]:{...p[v],...x}},T&&h<=50&&(h++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:u,y:f}=Xl(c,d,a)),g=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function Uo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=dn(t,e),h=Iu(p),v=l[d?f==="floating"?"reference":"floating":f],E=Kn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),C=f==="floating"?{...s.floating,x:r,y:o}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},T=Kn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:y,strategy:a}):C);return{top:(E.top-T.top+h.top)/x.y,bottom:(T.bottom-E.bottom+h.bottom)/x.y,left:(E.left-T.left+h.left)/x.x,right:(T.right-E.right+h.right)/x.x}}const P_=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=dn(e,t)||{};if(c==null)return{};const f=Iu(u),d={x:n,y:r},p=Bs(o),h=Vs(p),g=await s.getDimensions(c),v=p==="y",E=v?"top":"left",C=v?"bottom":"right",y=v?"clientHeight":"clientWidth",x=i.reference[h]+i.reference[p]-d[p]-i.floating[h],T=d[p]-i.reference[p],S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let A=S?S[y]:0;(!A||!await(s.isElement==null?void 0:s.isElement(S)))&&(A=l.floating[y]||i.floating[h]);const H=x/2-T/2,B=A/2-g[h]/2-1,O=ir(f[E],B),G=ir(f[C],B),z=O,oe=A-g[h]-G,ce=A/2-g[h]/2+H,fe=Ki(z,ce,oe),F=!a.arrow&&it(o)!=null&&ce!==fe&&i.reference[h]/2-(ce<z?O:G)-g[h]/2<0,Y=F?ce<z?ce-z:ce-oe:0;return{[p]:d[p]+Y,data:{[p]:fe,centerOffset:ce-fe-Y,...F&&{alignmentOffset:Y}},reset:F}}});function A_(e,t,n){return(e?[...n.filter(o=>it(o)===e),...n.filter(o=>it(o)!==e)]:n.filter(o=>gt(o)===o)).filter(o=>e?it(o)===e||(t?ho(o)!==o:!1):!0)}const R_=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Yl,autoAlignment:p=!0,...h}=dn(e,t),g=f!==void 0||d===Yl?A_(f||null,p,d):d,v=await Uo(t,h),E=((n=s.autoPlacement)==null?void 0:n.index)||0,C=g[E];if(C==null)return{};const y=ku(C,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==C)return{reset:{placement:g[0]}};const x=[v[gt(C)],v[y[0]],v[y[1]]],T=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:C,overflows:x}],S=g[E+1];if(S)return{data:{index:E+1,overflows:T},reset:{placement:S}};const A=T.map(O=>{const G=it(O.placement);return[O.placement,G&&u?O.overflows.slice(0,2).reduce((z,oe)=>z+oe,0):O.overflows[0],O.overflows]}).sort((O,G)=>O[1]-G[1]),B=((o=A.filter(O=>O[2].slice(0,it(O[0])?2:3).every(G=>G<=0))[0])==null?void 0:o[0])||A[0][0];return B!==l?{data:{index:E+1,overflows:T},reset:{placement:B}}:{}}}},O_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...v}=dn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const E=gt(o),C=gt(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),x=d||(C||!g?[mo(l)]:E_(l));!d&&h!=="none"&&x.push(...C_(l,g,h,y));const T=[l,...x],S=await Uo(t,v),A=[];let H=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&A.push(S[E]),f){const z=ku(o,s,y);A.push(S[z[0]],S[z[1]])}if(H=[...H,{placement:o,overflows:A}],!A.every(z=>z<=0)){var B,O;const z=(((B=i.flip)==null?void 0:B.index)||0)+1,oe=T[z];if(oe)return{data:{index:z,overflows:H},reset:{placement:oe}};let ce=(O=H.filter(fe=>fe.overflows[0]<=0).sort((fe,F)=>fe.overflows[1]-F.overflows[1])[0])==null?void 0:O.placement;if(!ce)switch(p){case"bestFit":{var G;const fe=(G=H.map(F=>[F.placement,F.overflows.filter(Y=>Y>0).reduce((Y,q)=>Y+q,0)]).sort((F,Y)=>F[1]-Y[1])[0])==null?void 0:G[0];fe&&(ce=fe);break}case"initialPlacement":ce=l;break}if(o!==ce)return{reset:{placement:ce}}}return{}}}};async function L_(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=gt(n),l=it(n),a=_r(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=dn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(p=l==="end"?h*-1:h),a?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const k_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await L_(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},I_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:v=>{let{x:E,y:C}=v;return{x:E,y:C}}},...a}=dn(e,t),c={x:n,y:r},u=await Uo(t,a),f=_r(gt(o)),d=Lu(f);let p=c[d],h=c[f];if(i){const v=d==="y"?"top":"left",E=d==="y"?"bottom":"right",C=p+u[v],y=p-u[E];p=Ki(C,p,y)}if(s){const v=f==="y"?"top":"left",E=f==="y"?"bottom":"right",C=h+u[v],y=h-u[E];h=Ki(C,h,y)}const g=l.fn({...t,[d]:p,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r}}}}},N_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=dn(e,t),a=await Uo(t,l),c=gt(n),u=it(n),f=_r(n)==="y",{width:d,height:p}=r.floating;let h,g;c==="top"||c==="bottom"?(h=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(g=c,h=u==="end"?"top":"bottom");const v=p-a[h],E=d-a[g],C=!t.middlewareData.shift;let y=v,x=E;if(f){const S=d-a.left-a.right;x=u||C?ir(E,S):S}else{const S=p-a.top-a.bottom;y=u||C?ir(v,S):S}if(C&&!u){const S=Kt(a.left,0),A=Kt(a.right,0),H=Kt(a.top,0),B=Kt(a.bottom,0);f?x=d-2*(S!==0||A!==0?S+A:Kt(a.left,a.right)):y=p-2*(H!==0||B!==0?H+B:Kt(a.top,a.bottom))}await s({...t,availableWidth:x,availableHeight:y});const T=await o.getDimensions(i.floating);return d!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function Ze(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pt(e){return Ze(e).getComputedStyle(e)}const Ql=Math.min,Jn=Math.max,go=Math.round;function Nu(e){const t=pt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=go(n)!==o||go(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function jt(e){return $u(e)?(e.nodeName||"").toLowerCase():""}let kr;function Du(){if(kr)return kr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(kr=e.brands.map(t=>t.brand+"/"+t.version).join(" "),kr):navigator.userAgent}function ht(e){return e instanceof Ze(e).HTMLElement}function Mt(e){return e instanceof Ze(e).Element}function $u(e){return e instanceof Ze(e).Node}function Zl(e){return typeof ShadowRoot>"u"?!1:e instanceof Ze(e).ShadowRoot||e instanceof ShadowRoot}function Go(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function D_(e){return["table","td","th"].includes(jt(e))}function Ji(e){const t=/firefox/i.test(Du()),n=pt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function Mu(){return!/^((?!chrome|android).)*safari/i.test(Du())}function js(e){return["html","body","#document"].includes(jt(e))}function Hu(e){return Mt(e)?e:e.contextElement}const Vu={x:1,y:1};function An(e){const t=Hu(e);if(!ht(t))return Vu;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=Nu(t);let s=(i?go(n.width):n.width)/r,l=(i?go(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function sr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),l=Hu(e);let a=Vu;t&&(r?Mt(r)&&(a=An(r)):a=An(e));const c=l?Ze(l):window,u=!Mu()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/a.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=s.width/a.x,h=s.height/a.y;if(l){const g=Ze(l),v=r&&Mt(r)?Ze(r):r;let E=g.frameElement;for(;E&&r&&v!==g;){const C=An(E),y=E.getBoundingClientRect(),x=getComputedStyle(E);y.x+=(E.clientLeft+parseFloat(x.paddingLeft))*C.x,y.y+=(E.clientTop+parseFloat(x.paddingTop))*C.y,f*=C.x,d*=C.y,p*=C.x,h*=C.y,f+=y.x,d+=y.y,E=Ze(E).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Ht(e){return(($u(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wo(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bu(e){return sr(Ht(e)).left+Wo(e).scrollLeft}function lr(e){if(jt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zl(e)&&e.host||Ht(e);return Zl(t)?t.host:t}function ju(e){const t=lr(e);return js(t)?t.ownerDocument.body:ht(t)&&Go(t)?t:ju(t)}function _o(e,t){var n;t===void 0&&(t=[]);const r=ju(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ze(r);return o?t.concat(i,i.visualViewport||[],Go(r)?r:[]):t.concat(r,_o(r))}function ea(e,t,n){return t==="viewport"?Kn(function(r,o){const i=Ze(r),s=Ht(r),l=i.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const d=Mu();(d||!d&&o==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}}(e,n)):Mt(t)?Kn(function(r,o){const i=sr(r,!0,o==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,a=ht(r)?An(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:l*a.x,y:s*a.y}}(t,n)):Kn(function(r){const o=Ht(r),i=Wo(r),s=r.ownerDocument.body,l=Jn(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),a=Jn(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+Bu(r);const u=-i.scrollTop;return pt(s).direction==="rtl"&&(c+=Jn(o.clientWidth,s.clientWidth)-l),{width:l,height:a,x:c,y:u}}(Ht(e)))}function ta(e){return ht(e)&&pt(e).position!=="fixed"?e.offsetParent:null}function na(e){const t=Ze(e);let n=ta(e);for(;n&&D_(n)&&pt(n).position==="static";)n=ta(n);return n&&(jt(n)==="html"||jt(n)==="body"&&pt(n).position==="static"&&!Ji(n))?t:n||function(r){let o=lr(r);for(;ht(o)&&!js(o);){if(Ji(o))return o;o=lr(o)}return null}(e)||t}function $_(e,t,n){const r=ht(t),o=Ht(t),i=sr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((jt(t)!=="body"||Go(o))&&(s=Wo(t)),ht(t)){const a=sr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else o&&(l.x=Bu(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const M_={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=_o(c).filter(v=>Mt(v)&&jt(v)!=="body"),p=null;const h=pt(c).position==="fixed";let g=h?lr(c):c;for(;Mt(g)&&!js(g);){const v=pt(g),E=Ji(g);(h?E||p:E||v.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=v:d=d.filter(C=>C!==g),g=lr(g)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],l=s[0],a=s.reduce((c,u)=>{const f=ea(t,u,o);return c.top=Jn(f.top,c.top),c.right=Ql(f.right,c.right),c.bottom=Ql(f.bottom,c.bottom),c.left=Jn(f.left,c.left),c},ea(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ht(n),i=Ht(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((o||!o&&r!=="fixed")&&((jt(n)!=="body"||Go(i))&&(s=Wo(n)),ht(n))){const c=sr(n);l=An(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}},isElement:Mt,getDimensions:function(e){return ht(e)?Nu(e):e.getBoundingClientRect()},getOffsetParent:na,getDocumentElement:Ht,getScale:An,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||na,i=this.getDimensions;return{reference:$_(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>pt(e).direction==="rtl"},H_=(e,t,n)=>{const r=new Map,o={platform:M_,...n},i={...o.platform,_c:r};return S_(e,t,{...o,platform:i})};function Fu(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Fu(e[n],t[n]):e[n]=t[n])}const st={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ar(e,t){let n=st.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=st.themes[n.$extend]||{}:(n=null,r=st[t]):n=null;while(n);return r}function V_(e){const t=[e];let n=st.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=st.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function ra(e){const t=[e];let n=st.themes[e]||{};do n.$extend?(t.push(n.$extend),n=st.themes[n.$extend]||{}):n=null;while(n);return t}let Nn=!1;if(typeof window<"u"){Nn=!1;try{const e=Object.defineProperty({},"passive",{get(){Nn=!0}});window.addEventListener("test",null,e)}catch{}}let Uu=!1;typeof window<"u"&&typeof navigator<"u"&&(Uu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Gu=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),oa={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ia={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function sa(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function pi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const nt=[];let zt=null;const la={};function aa(e){let t=la[e];return t||(t=la[e]=[]),t}let Yi=function(){};typeof window<"u"&&(Yi=window.Element);function le(e){return function(t){return ar(t.theme,e)}}const hi="__floating-vue__popper",Wu=()=>We({name:"VPopper",provide(){return{[hi]:{parentPopper:this}}},inject:{[hi]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:le("disabled")},positioningDisabled:{type:Boolean,default:le("positioningDisabled")},placement:{type:String,default:le("placement"),validator:e=>Gu.includes(e)},delay:{type:[String,Number,Object],default:le("delay")},distance:{type:[Number,String],default:le("distance")},skidding:{type:[Number,String],default:le("skidding")},triggers:{type:Array,default:le("triggers")},showTriggers:{type:[Array,Function],default:le("showTriggers")},hideTriggers:{type:[Array,Function],default:le("hideTriggers")},popperTriggers:{type:Array,default:le("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:le("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:le("popperHideTriggers")},container:{type:[String,Object,Yi,Boolean],default:le("container")},boundary:{type:[String,Yi],default:le("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:le("strategy")},autoHide:{type:[Boolean,Function],default:le("autoHide")},handleResize:{type:Boolean,default:le("handleResize")},instantMove:{type:Boolean,default:le("instantMove")},eagerMount:{type:Boolean,default:le("eagerMount")},popperClass:{type:[String,Array,Object],default:le("popperClass")},computeTransformOrigin:{type:Boolean,default:le("computeTransformOrigin")},autoMinSize:{type:Boolean,default:le("autoMinSize")},autoSize:{type:[Boolean,String],default:le("autoSize")},autoMaxSize:{type:Boolean,default:le("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:le("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:le("preventOverflow")},overflowPadding:{type:[Number,String],default:le("overflowPadding")},arrowPadding:{type:[Number,String],default:le("arrowPadding")},arrowOverflow:{type:Boolean,default:le("arrowOverflow")},flip:{type:Boolean,default:le("flip")},shift:{type:Boolean,default:le("shift")},shiftCrossAxis:{type:Boolean,default:le("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:le("noAutoFocus")},disposeTimeout:{type:Number,default:le("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[hi])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(k_({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(R_({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(I_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(O_({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(P_({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>o.reference.width/2:s=Math.abs(l)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(N_({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await H_(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),zt&&this.instantMove&&zt.instantMove&&zt!==this.parentPopper){zt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(zt=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await pi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([..._o(this.$_referenceNode),..._o(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<nt.length;n++)t=nt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}nt.push(this),document.body.classList.add("v-popper--some-open");for(const t of ra(this.theme))aa(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await pi(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,sa(nt,this),nt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ra(this.theme)){const r=aa(n);sa(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}zt===this&&(zt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await pi(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,oa,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],oa,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,ia,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],ia,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Nn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=t[s];l&&this.$_registerEventListeners(e,l,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Yn>=e.left&&Yn<=e.right&&Xn>=e.top&&Xn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Yn-Rt,r=Xn-Ot,o=t.left+t.width/2-Rt+(t.top+t.height/2)-Ot+t.width+t.height,i=Rt+n*o,s=Ot+r*o;return Ir(Rt,Ot,i,s,t.left,t.top,t.left,t.bottom)||Ir(Rt,Ot,i,s,t.left,t.top,t.right,t.top)||Ir(Rt,Ot,i,s,t.right,t.top,t.right,t.bottom)||Ir(Rt,Ot,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Uu){const e=Nn?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>ca(t,!0),e),document.addEventListener("touchend",t=>ua(t,!0),e)}else window.addEventListener("mousedown",e=>ca(e,!1),!0),window.addEventListener("click",e=>ua(e,!1),!0);window.addEventListener("resize",j_)}function ca(e,t){if(st.autoHideOnMousedown)zu(e,t);else for(let n=0;n<nt.length;n++){const r=nt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function ua(e,t){st.autoHideOnMousedown||zu(e,t)}function zu(e,t){const n={};for(let r=nt.length-1;r>=0;r--){const o=nt[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&fa(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=o.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let s=o.parentPopper;for(;s&&fa(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function fa(e,t,n){return n.closeAllPopover||n.closePopover&&t||B_(e,n)&&!t}function B_(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function j_(){for(let e=0;e<nt.length;e++)nt[e].$_computePosition()}let Rt=0,Ot=0,Yn=0,Xn=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Rt=Yn,Ot=Xn,Yn=e.clientX,Xn=e.clientY},Nn?{passive:!0}:void 0);function Ir(e,t,n,r,o,i,s,l){const a=((s-o)*(t-i)-(l-i)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t));return a>=0&&a<=1&&c>=0&&c<=1}const F_={extends:Wu()},zo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function U_(e,t,n,r,o,i){return j(),Z("div",{ref:"reference",class:Te(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Fe(e.$slots,"default",Ga(As(e.slotData)))],2)}const G_=zo(F_,[["render",U_]]);function W_(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let qr;function Xi(){Xi.init||(Xi.init=!0,qr=W_()!==-1)}var qo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Xi(),fn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",qr&&this.$el.appendChild(e),e.data="about:blank",qr||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!qr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const z_=Yd();yc("data-v-b329ee4c");const q_={class:"resize-observer",tabindex:"-1"};vc();const K_=z_((e,t,n,r,o,i)=>(j(),ye("div",q_)));qo.render=K_;qo.__scopeId="data-v-b329ee4c";qo.__file="src/components/ResizeObserver.vue";const qu=(e="theme")=>({computed:{themeClass(){return V_(this[e])}}}),J_=We({name:"VPopperContent",components:{ResizeObserver:qo},mixins:[qu()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Y_=["id","aria-hidden","tabindex","data-popper-placement"],X_={ref:"inner",class:"v-popper__inner"},Q_=N("div",{class:"v-popper__arrow-outer"},null,-1),Z_=N("div",{class:"v-popper__arrow-inner"},null,-1),e0=[Q_,Z_];function t0(e,t,n,r,o,i){const s=on("ResizeObserver");return j(),Z("div",{id:e.popperId,ref:"popover",class:Te(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Zt(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Th(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[N("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),N("div",{class:"v-popper__wrapper",style:Zt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[N("div",X_,[e.mounted?(j(),Z(_e,{key:0},[N("div",null,[Fe(e.$slots,"default")]),e.handleResize?(j(),ye(s,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):ke("",!0)],64)):ke("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:Zt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},e0,4)],4)],46,Y_)}const Ku=zo(J_,[["render",t0]]),Ju={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Qi=function(){};typeof window<"u"&&(Qi=window.Element);const n0=We({name:"VPopperWrapper",components:{Popper:G_,PopperContent:Ku},mixins:[Ju,qu("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Qi,Boolean],default:void 0},boundary:{type:[String,Qi],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function r0(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return j(),ye(l,Vo({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:re(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:g,onResize:v,classes:E,result:C})=>[Fe(e.$slots,"default",{shown:c,show:p,hide:h}),W(s,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:E,result:C,onHide:h,onResize:v},{default:re(()=>[Fe(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Fs=zo(n0,[["render",r0]]),o0={...Fs,name:"VDropdown",vPopperTheme:"dropdown"},i0={...Fs,name:"VMenu",vPopperTheme:"menu"},s0={...Fs,name:"VTooltip",vPopperTheme:"tooltip"},l0=We({name:"VTooltipDirective",components:{Popper:Wu(),PopperContent:Ku},mixins:[Ju],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ar(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ar(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),a0=["innerHTML"],c0=["textContent"];function u0(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return j(),ye(l,Vo({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:re(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:g,classes:v,result:E})=>[W(s,{ref:"popperContent",class:Te({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:v,result:E,onHide:p,onResize:g},{default:re(()=>[e.html?(j(),Z("div",{key:0,innerHTML:e.finalContent},null,8,a0)):(j(),Z("div",{key:1,textContent:De(e.finalContent)},null,8,c0))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const f0=zo(l0,[["render",u0]]),Yu="v-popper--has-tooltip";function d0(e,t){let n=e.placement;if(!n&&t)for(const r of Gu)t[r]&&(n=r);return n||(n=ar(e.theme||"tooltip","placement")),n}function Xu(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=d0(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let mi,cr,p0=0;function h0(){if(mi)return;cr=ve([]),mi=Qc({name:"VTooltipDirectiveApp",setup(){return{directives:cr}},render(){return this.directives.map(t=>io(f0,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),mi.mount(e)}function m0(e,t,n){h0();const r=ve(Xu(e,t,n)),o=ve(!1),i={id:p0++,options:r,shown:o};return cr.value.push(i),e.classList&&e.classList.add(Yu),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function Qu(e){if(e.$_popper){const t=cr.value.indexOf(e.$_popper.item);t!==-1&&cr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Yu)}function da(e,{value:t,modifiers:n}){const r=Xu(e,t,n);if(!r.content||ar(r.theme||"tooltip","disabled"))Qu(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=m0(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const g0={beforeMount:da,updated:da,beforeUnmount(e){Qu(e)}};function pa(e){e.addEventListener("mousedown",yo),e.addEventListener("click",yo),e.addEventListener("touchstart",Zu,Nn?{passive:!0}:!1)}function ha(e){e.removeEventListener("mousedown",yo),e.removeEventListener("click",yo),e.removeEventListener("touchstart",Zu),e.removeEventListener("touchend",ef),e.removeEventListener("touchcancel",tf)}function yo(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Zu(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",ef),t.addEventListener("touchcancel",tf)}}function ef(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function tf(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const _0={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&pa(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?pa(e):ha(e))},beforeUnmount(e){ha(e)}};function y0(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Fu(st,t),e.directive("tooltip",g0),e.directive("close-popper",_0),e.component("VTooltip",s0),e.component("VDropdown",o0),e.component("VMenu",i0))}const v0={version:"5.2.2",install:y0,options:st},b0=_t(e=>{e.vueApp.use(v0)}),w0=[Qg,e_,r_,i_,s_,u_,m_,g_,y_,b0],Us=We({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(j(),Z("div",{class:Te(["n-icon",t.icon])},null,2))}}),Ko=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},E0={},T0={class:"n-badge"};function C0(e,t){return j(),Z("span",T0,[Fe(e.$slots,"default")])}const nf=Ko(E0,[["render",C0]]);async function rf(e,t=Ut()){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(()=>rf(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 x0=(...e)=>e.find(t=>t!==void 0);function S0(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 ma(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:ma(i,e.trailingSlash)}}return We({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=Ut(),s=or(),l=Ue(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),a=Ue(()=>typeof l.value=="string"&&Ft(l.value,{acceptRelative:!0})),c=Ue(()=>r.target&&r.target!=="_self"),u=Ue(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=ve(!1),d=ve(null),p=h=>{var g;d.value=r.custom?(g=h==null?void 0:h.$el)==null?void 0:g.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!R0()){const g=we();let v,E=null;Mo(()=>{const C=A0();Hs(()=>{v=qi(()=>{var y;(y=d==null?void 0:d.value)!=null&&y.tagName&&(E=C.observe(d.value,async()=>{E==null||E(),E=null;const x=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",x).catch(()=>{}),!u.value&&rf(l.value,i).catch(()=>{})]),f.value=!0}))})})}),Cs(()=>{v&&o_(v),E==null||E(),E=null})}return()=>{var E,C;if(!u.value){const y={ref:p,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&&(y.class=r.prefetchedClass||e.prefetchedClass),y.rel=r.rel||void 0),io(on("RouterLink"),y,o.default)}const h=typeof l.value=="object"?((E=i.resolve(l.value))==null?void 0:E.href)??null:l.value&&!r.external&&!a.value?n(Hn(s.app.baseURL,l.value),i.resolve):l.value||null,g=r.target||null,v=x0(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const y=()=>vu(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:y,get route(){if(!h)return;const x=Vn(h);return{path:x.pathname,fullPath:x.pathname,get query(){return Ls(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:v,target:g,isExternal:u.value,isActive:!1,isExactActive:!1})}return io("a",{ref:d,href:h,rel:v,target:g},(C=o.default)==null?void 0:C.call(o))}}})}const P0=S0(Gg);function ma(e,t){const n=t==="append"?ao:jo;return Ft(e)&&!e.startsWith("http")?e:n(e,!0)}function A0(){const e=we();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 R0(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const O0={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},of=We({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ue(()=>t.href||t.to);return(r,o)=>{const i=P0;return j(),ye(i,Vo(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:re(()=>[Fe(r.$slots,"default"),n.value&&r.target==="_blank"?(j(),Z("div",O0)):ke("",!0)]),_:3},16,["class"])}}}),L0={},k0={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I0=Gp('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),N0=[I0];function D0(e,t){return j(),Z("svg",k0,N0)}const $0=Ko(L0,[["render",D0]]),M0={},H0={class:"n-loading n-panel-grids-center"},V0={class:"flex flex-col animate-pulse items-center text-lg"},B0=N("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function j0(e,t){return j(),Z("div",H0,[N("div",V0,[B0,Fe(e.$slots,"default",{},()=>[se(" Loading... ")])])])}const F0=Ko(M0,[["render",j0]]),sf=[{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([5,6,7,8]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([9,5,6,7,8,10]),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([11,6,7,8,12,13,14]),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([15,14,7,16,17,18,8,10,19,20,21]),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([22,6,7,8,12,13,23,14]),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([24,23,6,7,8,13]),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([25,7]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([26,27,28,23]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6nY7VDA.js"),__vite__mapDeps([29,6,7,8,23,28,30]),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([31,6,7,8]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([32,27,28]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./RgJsN3zu.js"),__vite__mapDeps([33,6,7,8,34,12,13,23,28,30,35]),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([36,37]),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([38,39]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([40,41,42]),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([43,44]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./CPHkTjfH.js"),__vite__mapDeps([45,30]),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([46,7,16,8,6]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([47,16,8,7,6]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([27,28]),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([48,7,16,49,21]),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([50,6,7,8,23]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./IHMnEr_d.js"),__vite__mapDeps([51,34,6,7,8,12,13,23,28,30,35,18,25,39]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([52,6,7,8,53]),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("./BG_OyJVq.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([6,7,8]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([54,6,7,8]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./DfUNg_8t.js"),__vite__mapDeps([55,30,14,12,13,48,7,16,49,21]),import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([56,16]),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([57,6,7,8]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([58,7]),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([59,26,27,28,23,60,7,61]),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([62,63,61,8,64,6,7,12,13,35,28,59,26,27,23,60,34,30,16,53,65,66,67]),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([68,6,7,8,14]),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([35,28]),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([69,8,19,10,7]),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([70,39,53,54,6,7,8]),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([71,35,28]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./BILqrcpa.js"),__vite__mapDeps([72,28,6,7,8,12,13,27,39]),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([73,6,7,8,12,13,23]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([74,6,7,8,12,13,23,14]),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([75,7,8,18,10,17,25,6]),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([76,6,7,8,77]),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([78,54,6,7,8,26,27,28,23,60,30,53,79,34,12,13,35]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./DCAtC51B.js"),__vite__mapDeps([34,6,7,8,12,13,23,28,30,35]),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([80,23]),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([10,8]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([81,82]),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([83,30]),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([84,85]),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([86,23]),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([87,7,16,25,17,18,8,10,19,20,75,6,39]),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([63,61]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>m(()=>import("./DnLUQrgA.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([88,8,7,10,74,6,12,13,23,14,60,34,28,30,35]),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([89,6,7,8,39,75,18,10,17,25,19,16,49,21,14,90,91,53,92,48,54]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./CRWwmX0L.js"),__vite__mapDeps([93,89,6,7,8,39,75,18,10,17,25,19,16,49,21,14,90,91,53,92,48,54]),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([12,13]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([94,12,13]),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)}],U0=Object.fromEntries(sf.map(e=>[e.id,e.import])),G0=Object.fromEntries(sf.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),W0={...U0,...G0},z0=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),q0=[{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)}],K0=Object.fromEntries(q0.map(e=>[e.id,e.import]));var rt;(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"})(rt||(rt={}));var Dn;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),h=e.getForeground(u),g=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:g})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,h,g,v){let E=e.getLanguageId(u),C=e.getTokenType(u),y=e.containsBalancedBrackets(u)?1:0,x=e.getFontStyle(u),T=e.getForeground(u),S=e.getBackground(u);return f!==0&&(E=f),d!==8&&(C=d),p!==null&&(y=p?1:0),h!==-1&&(x=h),g!==0&&(T=g),v!==0&&(S=v),(E<<0|C<<8|y<<10|x<<11|T<<15|S<<24)>>>0}e.set=c})(Dn||(Dn={}));function vo(e,t){const n=[],r=J0(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(ga(o)){const a=[];do a.push(o),o=r.next();while(ga(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 ga(e){return!!e&&!!e.match(/[\w\.:]+/)}function J0(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 lf(e){typeof e.dispose=="function"&&e.dispose()}function Y0(e){return Gs(e)}function Gs(e){return Array.isArray(e)?X0(e):typeof e=="object"?Q0(e):e}function X0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Gs(e[n]);return t}function Q0(e){let t={};for(let n in e)t[n]=Gs(e[n]);return t}function af(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function cf(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?cf(e.substring(0,e.length-1)):e.substr(~t+1)}let gi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Nr{static hasCaptures(t){return t===null?!1:(gi.lastIndex=0,gi.test(t))}static replaceCaptures(t,n,r){return t.replace(gi,(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 uf(e,t){return e<t?-1:e>t?1:0}function ff(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=uf(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function _a(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 df(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class pf{constructor(t){b(this,"fn");b(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 ur{constructor(t){b(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class Z0{constructor(t,n){b(this,"scopeName");b(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class ey{constructor(){b(this,"_references",[]);b(this,"_seenReferenceKeys",new Set);b(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 ty{constructor(t,n){b(this,"repo");b(this,"initialScopeName");b(this,"seenFullScopeRequests",new Set);b(this,"seenPartialScopeRequests",new Set);b(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ur(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new ey;for(const r of t)ny(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof ur){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 ny(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 ur?Kr({baseGrammar:i,selfGrammar:o},r):Zi(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 ur(l))}function Zi(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];bo([r],t,n)}}function Kr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&bo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&bo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function bo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?af({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&bo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=hf(i);switch(s.kind){case 0:Kr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Kr(t,n);break;case 2:Zi(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?Zi(s.ruleName,a,n):Kr(a,n)}else s.kind===4?n.add(new Z0(s.scopeName,s.ruleName)):n.add(new ur(s.scopeName));break}}}class ry{constructor(){b(this,"kind",0)}}class oy{constructor(){b(this,"kind",1)}}class iy{constructor(t){b(this,"ruleName");b(this,"kind",2);this.ruleName=t}}class sy{constructor(t){b(this,"scopeName");b(this,"kind",3);this.scopeName=t}}class ly{constructor(t,n){b(this,"scopeName");b(this,"ruleName");b(this,"kind",4);this.scopeName=t,this.ruleName=n}}function hf(e){if(e==="$base")return new ry;if(e==="$self")return new oy;const t=e.indexOf("#");if(t===-1)return new sy(e);if(t===0)return new iy(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new ly(n,r)}}const ay=/\\(\d+)/,ya=/\\(\d+)/g,cy=-1,mf=-2;class yr{constructor(t,n,r,o){b(this,"$location");b(this,"id");b(this,"_nameIsCapturing");b(this,"_name");b(this,"_contentNameIsCapturing");b(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Nr.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Nr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${cf(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:Nr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Nr.replaceCaptures(this._contentName,t,n)}}class uy extends yr{constructor(n,r,o,i,s){super(n,r,o,i);b(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 fy extends yr{constructor(n,r,o,i,s){super(n,r,o,null);b(this,"_match");b(this,"captures");b(this,"_cachedCompiledPatterns");this._match=new ln(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 fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class va extends yr{constructor(n,r,o,i,s){super(n,r,o,i);b(this,"hasMissingPatterns");b(this,"patterns");b(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 fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class es extends yr{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"_end");b(this,"endHasBackReferences");b(this,"endCaptures");b(this,"applyEndPatternLast");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this._end=new ln(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 fr;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 wo extends yr{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"whileCaptures");b(this,"_while");b(this,"whileHasBackReferences");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");b(this,"_cachedCompiledWhilePatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new ln(a,mf),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 fr;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 fr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class Ae{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new uy(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new fy(t.$vscodeTextmateLocation,t.id,t.name,t.match,Ae._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=af({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new va(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Ae._compilePatterns(i,n,r))}return t.while?new wo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ae._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Ae._compileCaptures(t.whileCaptures||t.captures,n,r),Ae._compilePatterns(t.patterns,n,r)):new es(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ae._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Ae._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Ae._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=Ae.getCompiledRuleId(t[s],n,r)),o[l]=Ae.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=hf(l.include);switch(c.kind){case 0:case 1:a=Ae.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=Ae.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(a=Ae.getCompiledRuleId(h,n,p.repository))}else a=Ae.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=Ae.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof va||c instanceof es||c instanceof wo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class ln{constructor(t,n){b(this,"source");b(this,"ruleId");b(this,"hasAnchor");b(this,"hasBackReferences");b(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=ay.test(this.source)}clone(){return new ln(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 ya.lastIndex=0,this.source.replace(ya,(o,i)=>df(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 fr{constructor(){b(this,"_items");b(this,"_hasAnchors");b(this,"_cached");b(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 ba(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 ba(t,o,this._items.map(i=>i.ruleId))}}class ba{constructor(t,n,r){b(this,"regExps");b(this,"rules");b(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
|
-
`)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Eo{constructor(t,n,r){b(this,"_colorMap");b(this,"_defaults");b(this,"_root");b(this,"_cachedMatchRoot",new pf(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(hy(t),n)}static createFromParsedTheme(t,n){return gy(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=>dy(t.parent,i.parentScopes));return o?new gf(o.fontStyle,o.foreground,o.background):null}}class nn{constructor(t,n){b(this,"parent");b(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new nn(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new nn(n,t[r]);return n}push(t){return new nn(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 dy(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(py(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function py(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class gf{constructor(t,n,r){b(this,"fontStyle");b(this,"foregroundId");b(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function hy(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&_a(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&_a(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),g=h[h.length-1],v=null;h.length>1&&(v=h.slice(0,h.length-1),v.reverse()),n[r++]=new my(g,v,o,a,c,u)}}return n}class my{constructor(t,n,r,o,i,s){b(this,"scope");b(this,"parentScopes");b(this,"index");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function gy(e,t){e.sort((a,c)=>{let u=uf(a.scope,c.scope);return u!==0||(u=ff(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 _y(t),s=new gf(n,i.getId(r),i.getId(o)),l=new Qn(new dr(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 Eo(i,s,l)}class _y{constructor(t){b(this,"_isFrozen");b(this,"_lastColorId");b(this,"_id2color");b(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 dr{constructor(t,n,r,o,i){b(this,"scopeDepth");b(this,"parentScopes");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new dr(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 Qn{constructor(t,n=[],r={}){b(this,"_mainRule");b(this,"_children");b(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 Qn._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):Qn._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 Qn(this._mainRule.clone(),dr.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(ff(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 dr(t,n,r,o,i))}}class _i{constructor(t,n){b(this,"languageId");b(this,"tokenType");this.languageId=t,this.tokenType=n}}const _n=class _n{constructor(t,n){b(this,"_defaultAttributes");b(this,"_embeddedLanguagesMatcher");b(this,"_getBasicScopeAttributes",new pf(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new _i(n,r)}));this._defaultAttributes=new _i(t,8),this._embeddedLanguagesMatcher=new yy(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?_n._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(_n.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!")}};b(_n,"_NULL_SCOPE_METADATA",new _i(0,0)),b(_n,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let ts=_n;class yy{constructor(t){b(this,"values");b(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>df(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 wa{constructor(t,n){b(this,"stack");b(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function _f(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const p=vy(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new wa(o,!0);d()}return new wa(o,!1);function d(){const p=by(e,t,n,r,o,u);if(!p){i.produce(o,a),c=!0;return}const h=p.captureIndices,g=p.matchedRuleId,v=h&&h.length>0?h[0].end>r:!1;if(g===cy){const E=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),Gn(e,t,n,o,i,E.endCaptures,h),i.produce(o,h[0].end);const C=o;if(o=o.parent,u=C.getAnchorPos(),!v&&C.getEnterPos()===r){o=C,i.produce(o,a),c=!0;return}}else{const E=e.getRule(g);i.produce(o,h[0].start);const C=o,y=E.getName(t.content,h),x=o.contentNameScopesList.pushAttributed(y,e);if(o=o.push(g,r,u,h[0].end===a,null,x,x),E instanceof es){const T=E;Gn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const S=T.getContentName(t.content,h),A=x.pushAttributed(S,e);if(o=o.withContentNameScopesList(A),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(E instanceof wo){const T=E;Gn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const S=T.getContentName(t.content,h),A=x.pushAttributed(S,e);if(o=o.withContentNameScopesList(A),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(Gn(e,t,n,o,i,E.captures,h),i.produce(o,h[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function vy(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 wo&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Ty(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==mf){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),Gn(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 by(e,t,n,r,o,i){const s=wy(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Ey(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 wy(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=yf(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Ey(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const g=t.getRule(h.ruleId),{ruleScanner:v,findOptions:E}=yf(g,t,null,r,o===s),C=v.findNextMatchSync(n,o,E);if(!C)continue;const y=C.captureIndices[0].start;if(!(y>=l)&&(l=y,a=C.captureIndices,c=C.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function yf(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Ty(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Gn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const g=d.getName(l,s),v=r.contentNameScopesList.pushAttributed(g,e),E=d.getContentName(l,s),C=v.pushAttributed(E,e),y=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,C),x=e.createOnigString(l.substring(0,p.end));_f(e,x,n&&p.start===0,p.start,y,o,!1,0),lf(x);continue}const h=d.getName(l,s);if(h!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new Cy(v,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Cy{constructor(t,n){b(this,"scopes");b(this,"endPos");this.scopes=t,this.endPos=n}}function xy(e,t,n,r,o,i,s,l){return new Py(e,t,n,r,o,i,s,l)}function Ea(e,t,n,r,o){const i=vo(t,To),s=Ae.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 To(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(Sy(t[o],r))return n=o+1,!0;return!1})}function Sy(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 Py{constructor(t,n,r,o,i,s,l,a){b(this,"_rootScopeName");b(this,"balancedBracketSelectors");b(this,"_onigLib");b(this,"_rootId");b(this,"_lastRuleId");b(this,"_ruleId2desc");b(this,"_includedGrammars");b(this,"_grammarRepository");b(this,"_grammar");b(this,"_injections");b(this,"_basicScopeAttributesProvider");b(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new ts(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Ta(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=vo(c,To);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)Ea(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&&Ea(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]=Ta(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=Ae.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===pr.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=Dn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=Ve.createRootAndLookUpScopeName(p,d,this):h=Ve.createRoot("unknown",d),n=new pr(null,this._rootId,-1,-1,!1,null,h,h)}else i=!1,n.reset();t=t+`
|
|
25
|
-
`;const s=this.createOnigString(t),l=s.content.length,a=new Ry(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=_f(this,s,i,0,n,a,!0,o);return lf(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Ta(e,t){return e=Y0(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 Ve{constructor(t,n,r){b(this,"parent");b(this,"scopePath");b(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=nn.push(o,i.scopeNames),r=new Ve(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new Ve(null,new nn(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new nn(null,t),s=r.themeProvider.themeMatch(i),l=Ve.mergeAttributes(n,o,s);return new Ve(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Ve.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),Dn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Ve._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=Ve._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=Ve.mergeAttributes(t.tokenAttributes,o,s);return new Ve(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 wt=class wt{constructor(t,n,r,o,i,s,l,a){b(this,"parent");b(this,"ruleId");b(this,"beginRuleCapturedEOL");b(this,"endRule");b(this,"nameScopesList");b(this,"contentNameScopesList");b(this,"_stackElementBrand");b(this,"_enterPos");b(this,"_anchorPos");b(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:wt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ve.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(){wt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new wt(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 wt(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=Ve.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new wt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ve.fromExtension(r,n.contentNameScopesList))}};b(wt,"NULL",new wt(null,0,0,0,!1,null,null,null));let pr=wt;class Ay{constructor(t,n){b(this,"balancedBracketScopes");b(this,"unbalancedBracketScopes");b(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):vo(r,To).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>vo(r,To).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 Ry{constructor(t,n,r,o){b(this,"balancedBracketSelectors");b(this,"_emitBinaryTokens");b(this,"_lineText");b(this,"_tokens");b(this,"_binaryTokens");b(this,"_lastTokenEndIndex");b(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=Dn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=Dn.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 Oy{constructor(t,n){b(this,"_onigLibPromise");b(this,"_grammars",new Map);b(this,"_rawGrammars",new Map);b(this,"_injectionGrammars",new Map);b(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,xy(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Ly=class{constructor(t){b(this,"_options");b(this,"_syncRegistry");b(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Oy(Eo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Eo.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 Ay(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new ty(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 ky=pr.NULL,Le={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 Et{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Le.LANGUAGEID_MASK)>>>Le.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Le.TOKEN_TYPE_MASK)>>>Le.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Le.FONT_STYLE_MASK)>>>Le.FONT_STYLE_OFFSET}static getForeground(t){return(t&Le.FOREGROUND_MASK)>>>Le.FOREGROUND_OFFSET}static getBackground(t){return(t&Le.BACKGROUND_MASK)>>>Le.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Le.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=Et.getLanguageId(t),a=Et.getTokenType(t),c=Et.getFontStyle(t),u=Et.getForeground(t),f=Et.getBackground(t);const d=Et.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==rt.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<Le.LANGUAGEID_OFFSET|a<<Le.TOKEN_TYPE_OFFSET|c<<Le.FONT_STYLE_OFFSET|d<<Le.BALANCED_BRACKETS_OFFSET|u<<Le.FOREGROUND_OFFSET|f<<Le.BACKGROUND_OFFSET)>>>0}}function Jo(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 vf(e){return!e||["plaintext","txt","text","plain"].includes(e)}function bf(e){return e==="ansi"||vf(e)}function wf(e){return e==="none"}function Ef(e){return wf(e)}function Tf(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 Iy(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 Ny(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?Iy(o,i):o})):e}function Xt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function Cf(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&rt.Italic&&(t["font-style"]="italic"),e.fontStyle&rt.Bold&&(t["font-weight"]="bold"),e.fontStyle&rt.Underline&&(t["text-decoration"]="underline")),t}function xf(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Dy(e){const t=Jo(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 Qt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],yi={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function $y(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 Ca(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 My(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)yi[o]&&t.push({type:"setDecoration",value:yi[o]});else if(o<=29){const i=yi[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Qt[o-30]}});else if(o===38){const[i,s]=Ca(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:Qt[o-40]}});else if(o===48){const[i,s]=Ca(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:Qt[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Qt[o-100+8]}})}return t}function Hy(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=$y(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=My(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 Vy={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function By(e=Vy){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<Qt.length;c++)r.push(t(Qt[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 jy(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=Jo(t),i=By(Object.fromEntries(Qt.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=Hy();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=Xt(c,r),u=Xt(u,r),a.decorations.has("dim")&&(c=Fy(c));let f=rt.None;return a.decorations.has("bold")&&(f|=rt.Bold),a.decorations.has("italic")&&(f|=rt.Italic),a.decorations.has("underline")&&(f|=rt.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Fy(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 Ws(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(vf(r)||wf(o))return Jo(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return jy(i,t,n);const l=e.getLanguage(r);return Uy(t,l,i,s,n)}function Uy(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Jo(e);let c=ky,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,g]=a[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:g,color:"",fontStyle:0}]);continue}let v,E,C;o.includeExplanation&&(v=t.tokenizeLine(h,c),E=v.tokens,C=0);const y=t.tokenizeLine2(h,c,l),x=y.tokens.length/2;for(let T=0;T<x;T++){const S=y.tokens[2*T],A=T+1<x?y.tokens[2*T+2]:h.length;if(S===A)continue;const H=y.tokens[2*T+1],B=Xt(r[Et.getForeground(H)],i),O=Et.getFontStyle(H),G={content:h.substring(S,A),offset:g+S,color:B,fontStyle:O};if(o.includeExplanation){G.explanation=[];let z=0;for(;S+z<A;){const oe=E[C],ce=h.substring(oe.startIndex,oe.endIndex);z+=ce.length,G.explanation.push({content:ce,scopes:Gy(n,oe.scopes)}),C+=1}}u.push(G)}f.push(u),u=[],c=y.ruleStack}return f}function Gy(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:zy(e,s,i)}}return n}function xa(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function Wy(e,t,n,r){if(!xa(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)xa(t[o],r[i])&&(o-=1),i-=1;return o===-1}function zy(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);Wy(p,h,t,n)&&(r[o++]=l,c=u)}}return r}function Sf(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=qy(...r.map(s=>Ws(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:p,explanation:h,offset:g,...v}=f[l][c];u.variants[r[d].color]=v}),u}))}function qy(...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 Ie extends Error{constructor(t){super(t),this.name="ShikiError"}}function Co(e,t,n){let r,o,i,s,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,v)=>g.color===a?-1:v.color===a?1:0);if(f.length===0)throw new Ie("`themes` option must not be empty");const d=Sf(e,t,n);if(a&&!f.find(g=>g.color===a))throw new Ie(`\`themes\` option must contain the defaultColor key \`${a}\``);const p=f.map(g=>e.getTheme(g.theme)),h=f.map(g=>g.color);i=d.map(g=>g.map(v=>Ky(v,h,c,a))),o=f.map((g,v)=>(v===0&&a?"":`${c+g.color}:`)+(Xt(p[v].fg,u)||"inherit")).join(";"),r=f.map((g,v)=>(v===0&&a?"":`${c+g.color}-bg:`)+(Xt(p[v].bg,u)||"inherit")).join(";"),s=`shiki-themes ${p.map(g=>g.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const{colorReplacements:a}=n;i=Ws(e,t,n);const c=e.getTheme(n.theme);r=Xt(c.bg,a),o=Xt(c.fg,a),s=c.name}else throw new Ie("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Ky(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>Cf(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`,h=n+t[u]+(f==="color"?"":p);a[f]?a[f]+=`;${h}:${d}`:a[f]=`${h}:${d}`}}return a},{});return o.htmlStyle=r?xf(l):Object.values(l).join(";"),o}function Jy(){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=Dy(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 Ie(`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 Ie(`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 Ny(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 Ie(`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,p,h,g){const v=i[d];let E="",C=-1,y=-1;function x(S){return S.type==="text"?S.value:S.type==="element"?S.children.map(x).join(""):""}if(p===0&&(C=0),h===0&&(y=0),h===Number.POSITIVE_INFINITY&&(y=v.children.length),C===-1||y===-1)for(let S=0;S<v.children.length;S++)E+=x(v.children[S]),C===-1&&E.length===p&&(C=S+1),y===-1&&E.length===h&&(y=S+1);if(C===-1)throw new Ie(`Failed to find start index for decoration ${JSON.stringify(g.start)}`);if(y===-1)throw new Ie(`Failed to find end index for decoration ${JSON.stringify(g.end)}`);const T=v.children.slice(C,y);if(!g.alwaysWrap&&T.length===v.children.length)a(v,g,"line");else if(!g.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],g,"token");else{const S={type:"element",tagName:"span",properties:{},children:T};a(S,g,"wrapper"),v.children.splice(C,T.length,S)}}function l(d,p){i[d]=a(i[d],p,"line")}function a(d,p,h){var E;const g=p.properties||{},v=p.transform||(C=>C);return d.tagName=p.tagName||"span",d.properties={...d.properties,...g,class:d.properties.class},(E=p.properties)!=null&&E.class&&Tf(d,p.properties.class),d=v(d,h)||d,d}const c=[],u=o.decorations.sort((d,p)=>p.start.offset-d.start.offset);for(const d of u){const{start:p,end:h}=d;if(p.line===h.line)s(p.line,p.character,h.character,d);else if(p.line<h.line){s(p.line,p.character,Number.POSITIVE_INFINITY,d);for(let g=p.line+1;g<h.line;g++)c.unshift(()=>l(g,d));s(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const Yy=[Jy()];function xo(e){return[...e.transformers||[],...Yy]}function So(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>So(e,o,i),codeToTokens:(o,i)=>Co(e,o,i)}){var d,p;let o=t;for(const h of xo(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=Co(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=Qy(i):u==="never"&&(i=Zy(i));const f={...r,get source(){return o}};for(const h of xo(n))i=((p=h.tokens)==null?void 0:p.call(f,i))||i;return Xy(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function Xy(e,t,n){var f,d,p;const r=xo(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(([h])=>!h.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const a=[],c={...n,addClassToHast:Tf,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((h,g)=>{var C,y;g&&o.push({type:"text",value:`
|
|
26
|
-
`});let v={type:"element",tagName:"span",properties:{class:"line"},children:[]},E=0;for(const x of h){let T={type:"element",tagName:"span",properties:{},children:[{type:"text",value:x.content}]};const S=x.htmlStyle||xf(Cf(x));S&&(T.properties.style=S);for(const A of r)T=((C=A==null?void 0:A.span)==null?void 0:C.call(c,T,g+1,E,v))||T;v.children.push(T),E+=x.content.length}for(const x of r)v=((y=x==null?void 0:x.line)==null?void 0:y.call(c,v,g+1))||v;a.push(v),o.push(v)});for(const h of r)l=((f=h==null?void 0:h.code)==null?void 0:f.call(c,l))||l;s.children.push(l);for(const h of r)s=((d=h==null?void 0:h.pre)==null?void 0:d.call(c,s))||s;i.children.push(s);let u=i;for(const h of r)u=((p=h==null?void 0:h.root)==null?void 0:p.call(c,u))||u;return u}function Qy(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&rt.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 Zy(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 ev=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class vr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}vr.prototype.property={};vr.prototype.normal={};vr.prototype.space=null;function Pf(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 vr(n,r,t)}function ns(e){return e.toLowerCase()}class et{constructor(t,n){this.property=t,this.attribute=n}}et.prototype.space=null;et.prototype.boolean=!1;et.prototype.booleanish=!1;et.prototype.overloadedBoolean=!1;et.prototype.number=!1;et.prototype.commaSeparated=!1;et.prototype.spaceSeparated=!1;et.prototype.commaOrSpaceSeparated=!1;et.prototype.mustUseProperty=!1;et.prototype.defined=!1;let tv=0;const te=pn(),Ee=pn(),Af=pn(),I=pn(),he=pn(),Rn=pn(),qe=pn();function pn(){return 2**++tv}var rs=Object.freeze({__proto__:null,boolean:te,booleanish:Ee,commaOrSpaceSeparated:qe,commaSeparated:Rn,number:I,overloadedBoolean:Af,spaceSeparated:he});const vi=Object.keys(rs);class zs extends et{constructor(t,n,r,o){let i=-1;if(super(t,n),Sa(this,"space",o),typeof r=="number")for(;++i<vi.length;){const s=vi[i];Sa(this,vi[i],(r&rs[s])===rs[s])}}}zs.prototype.defined=!0;function Sa(e,t,n){n&&(e[t]=n)}const nv={}.hasOwnProperty;function Bn(e){const t={},n={};let r;for(r in e.properties)if(nv.call(e.properties,r)){const o=e.properties[r],i=new zs(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ns(r)]=r,n[ns(i.attribute)]=r}return new vr(t,n,e.space)}const Rf=Bn({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}}),Of=Bn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Lf(e,t){return t in e?e[t]:t}function kf(e,t){return Lf(e,t.toLowerCase())}const If=Bn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:kf,properties:{xmlns:null,xmlnsXLink:null}}),Nf=Bn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ee,ariaAutoComplete:null,ariaBusy:Ee,ariaChecked:Ee,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:he,ariaCurrent:null,ariaDescribedBy:he,ariaDetails:null,ariaDisabled:Ee,ariaDropEffect:he,ariaErrorMessage:null,ariaExpanded:Ee,ariaFlowTo:he,ariaGrabbed:Ee,ariaHasPopup:null,ariaHidden:Ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:he,ariaLevel:I,ariaLive:null,ariaModal:Ee,ariaMultiLine:Ee,ariaMultiSelectable:Ee,ariaOrientation:null,ariaOwns:he,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:Ee,ariaReadOnly:Ee,ariaRelevant:null,ariaRequired:Ee,ariaRoleDescription:he,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:Ee,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),rv=Bn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:kf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Rn,acceptCharset:he,accessKey:he,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:he,autoFocus:te,autoPlay:te,blocking:he,capture:null,charSet:null,checked:te,cite:null,className:he,cols:I,colSpan:null,content:null,contentEditable:Ee,controls:te,controlsList:he,coords:I|Rn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:Af,draggable:Ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:he,height:I,hidden:te,high:I,href:null,hrefLang:null,htmlFor:he,httpEquiv:he,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:he,itemRef:he,itemScope:te,itemType:he,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,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:te,optimum:I,pattern:null,ping:he,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:he,required:te,reversed:te,rows:I,rowSpan:I,sandbox:he,scope:null,scoped:te,seamless:te,selected:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:Ee,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:te,useMap:null,value:Ee,width:I,wrap:null,align:null,aLink:null,archive:he,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:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:Ee,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:te,disableRemotePlayback:te,prefix:null,property:null,results:I,security:null,unselectable:null}}),ov=Bn({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:Lf,properties:{about:qe,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:he,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:te,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:Rn,g2:Rn,glyphName:Rn,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:qe,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:he,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qe,rev:qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qe,requiredFeatures:qe,requiredFonts:qe,requiredFormats:qe,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:qe,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:qe,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:qe,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}}),iv=/^data[-\w.:]+$/i,Pa=/-[a-z]/g,sv=/[A-Z]/g;function lv(e,t){const n=ns(t);let r=t,o=et;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&iv.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Pa,cv);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Pa.test(i)){let s=i.replace(sv,av);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=zs}return new o(r,t)}function av(e){return"-"+e.toLowerCase()}function cv(e){return e.charAt(1).toUpperCase()}const uv=Pf([Of,Rf,If,Nf,rv],"html"),Df=Pf([Of,Rf,If,Nf,ov],"svg"),Aa={}.hasOwnProperty;function fv(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Aa.call(o,e)){const a=String(o[e]);s=Aa.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 dv(e,t){if(e=e.replace(t.subset?pv(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 pv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function hv(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function mv(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const gv=["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"],bi={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:"€"},_v=["cent","copy","divide","gt","lt","not","para","times"],$f={}.hasOwnProperty,os={};let Dr;for(Dr in bi)$f.call(bi,Dr)&&(os[bi[Dr]]=Dr);function yv(e,t,n,r){const o=String.fromCharCode(e);if($f.call(os,o)){const i=os[o],s="&"+i;return n&&gv.includes(i)&&!_v.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function vv(e,t,n){let r=hv(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=yv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=mv(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function On(e,t){return dv(e,Object.assign({format:vv},t))}function bv(e,t,n,r){return r.settings.bogusComments?"<?"+On(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(i){return On(i,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function wv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Ra(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 Ev(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Tv(e){return e.join(" ").trim()}const Cv=/[ \t\n\f\r]/g;function qs(e){return typeof e=="object"?e.type==="text"?Oa(e.value):!1:Oa(e)}function Oa(e){return e.replace(Cv,"")===""}const Se=Hf(1),Mf=Hf(-1),xv=[];function Hf(e){return t;function t(n,r,o){const i=n?n.children:xv;let s=(r||0)+e,l=i[s];if(!o)for(;l&&qs(l);)s+=e,l=i[s];return l}}const Sv={}.hasOwnProperty;function Vf(e){return t;function t(n,r,o){return Sv.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ks=Vf({body:Av,caption:wi,colgroup:wi,dd:kv,dt:Lv,head:wi,html:Pv,li:Ov,optgroup:Iv,option:Nv,p:Rv,rp:La,rt:La,tbody:$v,td:ka,tfoot:Mv,th:ka,thead:Dv,tr:Hv});function wi(e,t,n){const r=Se(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&qs(r.value.charAt(0)))}function Pv(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function Av(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function Rv(e,t,n){const r=Se(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 Ov(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Lv(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function kv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function La(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Iv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Nv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Dv(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function $v(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Mv(e,t,n){return!Se(n,t)}function Hv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function ka(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Vv=Vf({body:Fv,colgroup:Uv,head:jv,html:Bv,tbody:Gv});function Bv(e){const t=Se(e,-1);return!t||t.type!=="comment"}function jv(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 Fv(e){const t=Se(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&qs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Uv(e,t,n){const r=Mf(n,t),o=Se(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ks(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function Gv(e,t,n){const r=Mf(n,t),o=Se(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ks(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const $r={name:[[`
|
|
23
|
+
**/const eh="http://www.w3.org/2000/svg",th="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,Cl=It&&It.createElement("template"),nh={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"?It.createElementNS(eh,e):t==="mathml"?It.createElementNS(th,e):It.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.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{Cl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=Cl.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]}},rh=Symbol("_vtc");function oh(e,t,n){const r=e[rh];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const xl=Symbol("_vod"),ih=Symbol("_vsh"),Jc=Symbol("");function Aw(e){const t=Mn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>Mi(i,o))},r=()=>{const o=e(t.proxy);$i(t.subTree,o),n(o)};dp(r),Mo(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),xs(()=>o.disconnect())})}function $i(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{$i(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Mi(e.el,t);else if(e.type===_e)e.children.forEach(n=>$i(n,t));else if(e.type===Pn){let{el:n,anchor:r}=e;for(;n&&(Mi(n,t),n!==r);)n=n.nextSibling}}function Mi(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Jc]=r}}const sh=/(^|;)\s*display\s*:/;function lh(e,t,n){const r=e.style,o=be(n);let i=!1;if(n&&!o){if(t)if(be(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();n[l]==null&&Ur(r,l,"")}else for(const s in t)n[s]==null&&Ur(r,s,"");for(const s in n)s==="display"&&(i=!0),Ur(r,s,n[s])}else if(o){if(t!==n){const s=r[Jc];s&&(n+=";"+s),r.cssText=n,i=sh.test(n)}}else t&&e.removeAttribute("style");xl in e&&(e[xl]=i?r.display:"",e[ih]&&(r.display="none"))}const Sl=/\s*!important$/;function Ur(e,t,n){if(X(n))n.forEach(r=>Ur(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ah(e,t);Sl.test(n)?e.setProperty(an(r),n.replace(Sl,""),"important"):e[r]=n}}const Pl=["Webkit","Moz","ms"],si={};function ah(e,t){const n=si[t];if(n)return n;let r=mt(t);if(r!=="filter"&&r in e)return si[t]=r;r=Oo(r);for(let o=0;o<Pl.length;o++){const i=Pl[o]+r;if(i in e)return si[t]=i}return t}const Al="http://www.w3.org/1999/xlink";function ch(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Al,t.slice(6,t.length)):e.setAttributeNS(Al,t,n);else{const i=pd(t);n==null||i&&!Wa(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function uh(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=Wa(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Yc(e,t,n,r){e.addEventListener(t,n,r)}function fh(e,t,n,r){e.removeEventListener(t,n,r)}const Rl=Symbol("_vei");function dh(e,t,n,r,o=null){const i=e[Rl]||(e[Rl]={}),s=i[t];if(r&&s)s.value=r;else{const[l,a]=ph(t);if(r){const c=i[t]=gh(r,o);Yc(e,l,c,a)}else s&&(fh(e,l,s,a),i[t]=void 0)}}const Ol=/(?:Once|Passive|Capture)$/;function ph(e){let t;if(Ol.test(e)){t={};let r;for(;r=e.match(Ol);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):an(e.slice(2)),t]}let li=0;const hh=Promise.resolve(),mh=()=>li||(hh.then(()=>li=0),li=Date.now());function gh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ot(_h(r,n.value),t,5,[r])};return n.value=e,n.attached=mh(),n}function _h(e,t){if(X(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 Ll=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,yh=(e,t,n,r,o,i,s,l,a)=>{const c=o==="svg";t==="class"?oh(e,r,c):t==="style"?lh(e,n,r):hr(t)?ls(t)||dh(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vh(e,t,r,c))?uh(e,t,r,i,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ch(e,t,r,c))};function vh(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ll(t)&&Q(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 Ll(t)&&be(n)?!1:t in e}const kl=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>Br(t,n):t},ai=Symbol("_assign"),bh={created(e,{value:t},n){e.checked=Yr(t,n.props.value),e[ai]=kl(n),Yc(e,"change",()=>{e[ai](wh(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ai]=kl(r),t!==n&&(e.checked=Yr(t,r.props.value))}};function wh(e){return"_value"in e?e._value:e.value}const Eh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Th=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=an(o.key);if(t.some(s=>s===i||Eh[s]===i))return e(o)})},Xc=Ne({patchProp:yh},nh);let qn,Il=!1;function Ch(){return qn||(qn=Vp(Xc))}function xh(){return qn=Il?qn:Bp(Xc),Il=!0,qn}const Qc=(...e)=>{const t=Ch().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=eu(r);if(!o)return;const i=t._component;!Q(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,Zc(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},Sh=(...e)=>{const t=xh().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=eu(r);if(o)return n(o,!0,Zc(o))},t};function Zc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function eu(e){return be(e)?document.querySelector(e):e}const Ph=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Ah=/"(?: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*:/,Rh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Oh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Lh(e);return}return t}function Lh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function so(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(!Rh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ph.test(e)||Ah.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Oh)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const kh=/#/g,Ih=/&/g,Nh=/\//g,Dh=/=/g,Os=/\+/g,$h=/%5e/gi,Mh=/%60/gi,Hh=/%7c/gi,Vh=/%20/gi;function Bh(e){return encodeURI(""+e).replace(Hh,"|")}function Hi(e){return Bh(typeof e=="string"?e:JSON.stringify(e)).replace(Os,"%2B").replace(Vh,"+").replace(kh,"%23").replace(Ih,"%26").replace(Mh,"`").replace($h,"^").replace(Nh,"%2F")}function ci(e){return Hi(e).replace(Dh,"%3D")}function lo(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function jh(e){return lo(e.replace(Os," "))}function Fh(e){return lo(e.replace(Os," "))}function Ls(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=jh(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=Fh(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 Uh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ci(e)}=${Hi(n)}`).join("&"):`${ci(e)}=${Hi(t)}`:ci(e)}function tu(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Uh(t,e[t])).filter(Boolean).join("&")}const Gh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Wh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,zh=/^([/\\]\s*){2,}[^/\\]/,qh=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Kh=/\/$|\/\?|\/#/,Jh=/^\.?\//;function Ft(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Gh.test(e):Wh.test(e)||(t.acceptRelative?zh.test(e):!1)}function Yh(e){return!!e&&qh.test(e)}function Vi(e="",t){return t?Kh.test(e):e.endsWith("/")}function jo(e="",t){if(!t)return(Vi(e)?e.slice(0,-1):e)||"/";if(!Vi(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 ao(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Vi(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 Xh(e=""){return e.startsWith("/")}function Nl(e=""){return Xh(e)?e:"/"+e}function Qh(e,t){if(ru(t)||Ft(e))return e;const n=jo(t);return e.startsWith(n)?e:Hn(n,e)}function Zh(e,t){if(ru(t))return e;const n=jo(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function nu(e,t){const n=Vn(e),r={...Ls(n.search),...t};return n.search=tu(r),su(n)}function ru(e){return!e||e==="/"}function em(e){return e&&e!=="/"}function Hn(e,...t){let n=e||"";for(const r of t.filter(o=>em(o)))if(n){const o=r.replace(Jh,"");n=ao(n)+o}else n=r;return n}function ou(...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&&Ft(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 tm(e,t,n={}){return n.trailingSlash||(e=ao(e),t=ao(t)),n.leadingSlash||(e=Nl(e),t=Nl(t)),n.encoding||(e=lo(e),t=lo(t)),e===t}const iu=Symbol.for("ufo:protocolRelative");function Vn(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(!Ft(e,{acceptRelative:!0}))return t?Vn(t+e):Dl(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,s="",l=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=Dl(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,[iu]:!r}}function Dl(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function su(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[iu]?(e.protocol||"")+"//":"")+o+i+t+n+r}class nm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function rm(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 nm(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[h]}});return l}const om=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function $l(e="GET"){return om.has(e.toUpperCase())}function im(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 sm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),lm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function am(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return lm.test(t)?"json":sm.has(t)||t.startsWith("text/")?"text":"blob"}function cm(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 um=new Set([408,409,425,429,500,502,503,504]),fm=new Set([101,204,205,304]);function lu(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=$l(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):um.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(l.request,{...l.options,retry:u-1})}}const c=rm(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(a,c={}){var p;const u={request:a,options:cm(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Qh(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=nu(u.request,{...u.options.params,...u.options.query}))),u.options.body&&$l(u.options.method)&&(im(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 h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!fm.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||am(u.response.headers.get("content-type")||"");switch(h){case"json":{const m=await u.response.text(),v=u.options.parseResponse||so;u.response._data=v(m);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}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={})=>lu({...e,defaults:{...e.defaults,...l}}),s}const ks=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")}(),dm=ks.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),pm=ks.Headers,hm=ks.AbortController,mm=lu({fetch:dm,Headers:pm,AbortController:hm}),gm=mm,_m=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},co=_m().app,ym=()=>co.baseURL,vm=()=>co.buildAssetsDir,Is=(...e)=>ou(au(),vm(),...e),au=(...e)=>{const t=co.cdnURL||co.baseURL;return e.length?ou(t,...e):t};globalThis.__buildAssetsURL=Is,globalThis.__publicAssetsURL=au;globalThis.$fetch||(globalThis.$fetch=gm.create({baseURL:ym()}));function Bi(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Bi(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const bm={run:e=>e()},wm=()=>bm,cu=typeof console.createTask<"u"?console.createTask:wm;function Em(e,t){const n=t.shift(),r=cu(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function Tm(e,t){const n=t.shift(),r=cu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function ui(e,t){for(const n of[...e])n(t)}class Cm{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=Bi(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=Bi(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(Em,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Tm,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&ui(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&ui(this._after,o)}):(this._after&&o&&ui(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 uu(){return new Cm}function xm(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;ji.add(c);try{const u=o?o.run(s,l):l();return n||(t=void 0),await u}finally{ji.delete(c)}}}}function Sm(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=xm({...e,...r})),t[n],t[n]}}}const uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ml="__unctx__",Pm=uo[Ml]||(uo[Ml]=Sm()),Am=(e,t={})=>Pm.get(e,t),Hl="__unctx_async_handlers__",ji=uo[Hl]||(uo[Hl]=new Set);function fu(e){const t=[];for(const o of ji){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 du=Am("nuxt-app",{asyncContext:!1}),Rm="__nuxt_plugin";function Om(e){let t=0;const n={_scope:md(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Ct({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>Im(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=uu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const s="$"+o;Or(n,s,i),Or(n.vueApp.config.globalProperties,s,i)},Or(n.vueApp,"$nuxt",n),Or(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||we;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function Lm(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 km(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=Lm(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,p])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(s++,await l(p)))})))});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 _t(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Rm]:!0,_name:t})}function Im(e,t,n){const r=()=>n?t(...n):t();return du.set(e),e.vueApp.runWithContext(r)}function Nm(){var t;let e;return Ic()&&(e=(t=Mn())==null?void 0:t.appContext.app.$nuxt),e=e||du.tryUse(),e||null}function we(){const e=Nm();if(!e)throw new Error("[nuxt] instance unavailable");return e}function or(e){return we().$config}function Or(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Dm(e,t){return{ctx:{table:e},matchAll:n=>hu(n,e,t)}}function pu(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,pu(o)])):new Map(Object.entries(e[n]));return t}function $m(e){return Dm(pu(e))}function hu(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of Vl(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of Vl(t.dynamic))if(e.startsWith(i+"/")){const l="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...hu(l,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Vl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function fi(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 Fi(e,t,n=".",r){if(!fi(t))return Fi(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]]:fi(s)&&fi(o[i])?o[i]=Fi(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function mu(e){return(...t)=>t.reduce((n,r)=>Fi(n,r,"",e),{})}const Mm=mu(),Hm=mu((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function Vm(e,t){try{return t in e}catch{return!1}}var Bm=Object.defineProperty,jm=(e,t,n)=>t in e?Bm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,qt=(e,t,n)=>(jm(e,typeof t!="symbol"?t+"":t,n),n);class Ui extends Error{constructor(t,n={}){super(t,n),qt(this,"statusCode",500),qt(this,"fatal",!1),qt(this,"unhandled",!1),qt(this,"statusMessage"),qt(this,"data"),qt(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Gi(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=gu(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}qt(Ui,"__h3_error__",!0);function Fm(e){if(typeof e=="string")return new Ui(e);if(Um(e))return e;const t=new Ui(e.message??e.statusMessage??"",{cause:e.cause||e});if(Vm(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=Gi(e.statusCode,t.statusCode):e.status&&(t.statusCode=Gi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;gu(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 Um(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Gm=/[^\u0009\u0020-\u007E]/g;function gu(e=""){return e.replace(Gm,"")}function Gi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const _u=Symbol("route"),Ut=()=>{var e;return(e=we())==null?void 0:e.$router},yu=()=>Ic()?Sn(_u,we()._route):we()._route;const Wm=()=>{try{if(we()._processingMiddleware)return!0}catch{return!1}return!1},vu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:nu(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(", ");return open(n,l,c),Promise.resolve()}const r=(t==null?void 0:t.external)||Ft(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=Vn(n).protocol;if(l&&Yh(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=Wm();if(!r&&o)return e;const i=Ut(),s=we();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)},bu="__nuxt_error",Ns=()=>pc(we().payload,"error"),zm=e=>{const t=Ds(e);try{const n=we(),r=Ns();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},qm=async(e={})=>{const t=we(),n=Ns();t.callHook("app:error:cleared",e),e.redirect&&await Ut().replace(e.redirect),n.value=null},Km=e=>!!e&&typeof e=="object"&&bu in e,Ds=e=>{const t=Fm(e);return Object.defineProperty(t,bu,{value:!0,configurable:!1,writable:!1}),t},Jm="modulepreload",Ym=function(e,t){return e[0]==="."?new URL(e,t).href:e},Bl={},Xm=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=Ym(a,r),a in Bl)return;Bl[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const h=i[p];if(h.href===a&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Jm,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,h)=>{d.addEventListener("load",p),d.addEventListener("error",()=>h(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})},g=(...e)=>Xm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Qm=-1,Zm=-2,eg=-3,tg=-4,ng=-5,rg=-6;function og(e,t){return ig(JSON.parse(e),t)}function ig(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===Qm)return;if(i===eg)return NaN;if(i===tg)return 1/0;if(i===ng)return-1/0;if(i===rg)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const l=n[i];if(!l||typeof l!="object")r[i]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[i]=c(o(l[1]));switch(a){case"Date":r[i]=new Date(l[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[i]=new RegExp(l[1],l[2]);break;case"Object":r[i]=Object(l[1]);break;case"BigInt":r[i]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[i]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Zm&&(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 sg(e){return Array.isArray(e)?e:[e]}const lg=["title","titleTemplate","script","style","noscript"],Gr=["base","meta","link","style","script","noscript"],ag=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],cg=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],wu=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],ug=typeof window<"u";function $s(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 jl(e){return e._h||$s(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Eu(e,t){const{props:n,tag:r}=e;if(cg.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 Fl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function fg(e,t,n){const r={tag:e,props:await Tu(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return wu.forEach(o=>{const i=typeof r.props[o]<"u"?r.props[o]:n[o];typeof i<"u"&&((!["innerHTML","textContent","children"].includes(o)||lg.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 dg(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 Tu(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=dg(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!wu.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 pg=10;async function hg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&ag.includes(n)).forEach(([n,r])=>{const o=sg(r);t.push(...o.map(i=>fg(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<<pg)+r,n))}const Ul={base:-10,title:10},Gl={critical:-80,high:-10,low:20};function fo(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 Ul&&(t=Ul[e.tag]),typeof n=="string"&&n in Gl?t+Gl[n]:t)}const mg=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Wl=["onload","onerror","onabort","onprogress","onloadstart"],At="%separator";function Wr(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(At)&&(e.endsWith(At)&&(e=e.slice(0,-At.length).trim()),e.startsWith(At)&&(e=e.slice(At.length).trim()),e=e.replace(new RegExp(`\\${At}\\s*\\${At}`,"g"),At),e=Wr(e,{separator:n},n)),e}async function Cu(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:Gr.includes(f.tag)?jl(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,p=[];for(const h of[...d].filter(m=>Gr.includes(m.tagName.toLowerCase()))){const m={tag:h.tagName.toLowerCase(),props:await Tu(h.getAttributeNames().reduce((C,y)=>({...C,[y]:h.getAttribute(y)}),{})),innerHTML:h.innerHTML};let v=1,E=Eu(m);for(;E&&p.find(C=>C._d===E);)E=`${E}:${v++}`;m._d=E||void 0,p.push(m),i.elMap[h.getAttribute("data-hid")||jl(m)]=h}}}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};function s(f,d,p){const h=`${f}:${d}`;i.sideEffects[h]=p,delete i.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");i.elMap[f]=d,h||(["textContent","innerHTML"].forEach(m=>{p[m]&&p[m]!==d[m]&&(d[m]=p[m])}),s(f,"el",()=>{var m;(m=i.elMap[f])==null||m.remove(),delete i.elMap[f]}));for(const[m,v]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${m}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(m.replace("on",""),v.bind(d)),d.setAttribute(`data-${m}`,""));Object.entries(p.props).forEach(([m,v])=>{const E=`attr:${m}`;if(m==="class")for(const C of(v||"").split(" ").filter(Boolean))h&&s(f,`${E}:${C}`,()=>d.classList.remove(C)),!d.classList.contains(C)&&d.classList.add(C);else if(m==="style")for(const C of(v||"").split(";").filter(Boolean)){const[y,...S]=C.split(":").map(T=>T.trim());s(f,`${E}:${C}:${y}`,()=>{d.style.removeProperty(y)}),d.style.setProperty(y,S.join(":"))}else d.getAttribute(m)!==v&&d.setAttribute(m,v===!0?"":String(v)),h&&s(f,E,()=>d.removeAttribute(m))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||i.elMap[h],f.$el?l(f):Gr.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 gg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Cu(e,t),delete e._domUpdatePromise,r()}))}function _g(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){gg(i,e)}}}}}const yg=["templateParams","htmlAttrs","bodyAttrs"],vg={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=Eu(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&&yg.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(fo(r)>fo(i))return}const s=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Gr.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))}}},bg={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"}})}}},wg=["script","link","bodyAttrs"],Eg=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>wg.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Wl.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||$s(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=>Wl.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","")))}}}}),Tg=["link","style","script","noscript"],Cg={hooks:{"tag:normalise":({tag:e})=>{e.key&&Tg.includes(e.tag)&&(e.props["data-hid"]=e._h=$s(e.key))}}},xg={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 mg)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)=>fo(n)-fo(r))}}},Sg={meta:"content",link:"href",htmlAttrs:"lang"},Pg=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=Wr(i.pageTitle||r||"",i,s);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Sg[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=Wr(a.props[c],i,s):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=Wr(a[u],i,s))})}e._templateParams=i,e._separator=s,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),Ag={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=Fl(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Fl(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)}}},Rg={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 xu;function Og(e={}){const t=Lg(e);return t.use(_g()),xu=t}function zl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Lg(e={}){const t=uu();t.addHooks(e.hooks||{}),e.document=e.document||(ug?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),zl(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return zl(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 hg(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[vg,bg,Eg,Cg,xg,Pg,Ag,Rg,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function kg(){return xu}const Ig=Kc.startsWith("3");function Ng(e){return typeof e=="function"?e():ne(e)}function po(e,t=""){if(e instanceof Promise)return e;const n=Ng(e);return!e||!n?n:Array.isArray(n)?n.map(r=>po(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,ne(o)]:[r,po(o,r)])):n}const Dg={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=po(t.input)}}},Su="usehead";function $g(e){return{install(n){Ig&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Su,e))}}.install}function Mg(e={}){e.domDelayFn=e.domDelayFn||(n=>fn(()=>setTimeout(()=>n(),0)));const t=Og(e);return t.use(Dg),t.install=$g(t),t}const Wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},zi="__unhead_injection_handler__";function Hg(e){Wi[zi]=e}function Vg(){if(zi in Wi)return Wi[zi]();const e=Sn(Su);return e||kg()}function Bg(e,t={}){const n=t.head||Vg();if(n)return n.ssr?n.push(e,t):jg(n,e,t)}function jg(e,t,n={}){const r=ve(!1),o=ve({});Tc(()=>{o.value=r.value?{}:po(t)});const i=e.push(o.value,n);return dt(o,l=>{i.patch(l)}),Mn()&&(Cs(()=>{i.dispose()}),Sc(()=>{r.value=!0}),xc(()=>{r.value=!1})),i}const Fg={nuxt:{buildId:"9c660240-bc8b-4a63-883d-04cd5c521393"}},Ug=Hm(Fg);function Pu(){const e=we();return e._appConfig||(e._appConfig=Ct(Ug)),e._appConfig}const Gg={componentName:"NuxtLink"},Wg="#__nuxt";let zr,Au;function zg(){var t;const e=(t=Pu().nuxt)==null?void 0:t.buildId;return zr=$fetch(Is(`builds/meta/${e}.json`)),zr.then(n=>{Au=$m(n.matcher)}),zr}function Fo(){return zr||zg()}async function Ms(e){return await Fo(),Mm({},...Au.matchAll(e).reverse())}function ql(e,t={}){const n=Kg(e,t),r=we(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Jg(e).then(i=>i?Ru(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const qg="_payload.json";function Kg(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ft(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Pu().nuxt)==null?void 0:o.buildId);return Hn(or().app.baseURL,n.pathname,qg+(r?`?${r}`:""))}async function Ru(e){const t=fetch(e).then(n=>n.text().then(Ou));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Jg(e=yu().path){if(e=jo(e),(await Fo()).prerendered.includes(e))return!0;const n=await Ms(e);return!!n.prerender&&!n.redirect}let Lr=null;async function Yg(){if(Lr)return Lr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ou(e.textContent||""),n=e.dataset.src?await Ru(e.dataset.src):void 0;return Lr={...t,...n,...window.__NUXT__},Lr}async function Ou(e){return await og(e,we()._payloadRevivers)}function Xg(e,t){we()._payloadRevivers[e]=t}const Kl={NuxtError:e=>Ds(e),EmptyShallowRef:e=>xi(e==="_"?void 0:e==="0n"?BigInt(0):so(e)),EmptyRef:e=>ve(e==="_"?void 0:e==="0n"?BigInt(0):so(e)),ShallowRef:e=>xi(e),ShallowReactive:e=>sc(e),Ref:e=>ve(e),Reactive:e=>Ct(e)},Qg=_t({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Kl)Xg(r,Kl[r]);Object.assign(e.payload,([t,n]=fu(()=>e.runWithContext(Yg)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Zg=[],e_=_t({name:"nuxt:head",enforce:"pre",setup(e){const t=Mg({plugins:Zg});Hg(()=>we().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Cu(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)}}}),t_=async e=>{let t,n;const r=([t,n]=fu(()=>Ms(e.path)),t=await t,n(),t);if(r.redirect)return Ft(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},n_=[t_];function di(e){typeof e=="object"&&(e=su({pathname:e.path||"",search:tu(e.query||{}),hash:e.hash||""}));const t=Vn(e.toString());return{path:t.pathname,fullPath:e,query:Ls(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const r_=_t({name:"nuxt:router",enforce:"pre",setup(e){const t=Zh(window.location.pathname,or().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=or().app.baseURL,s=Ct(di(t));async function l(f,d){try{const p=di(f);for(const h of r["navigate:before"]){const m=await h(p,s);if(m===!1||m instanceof Error)return;if(typeof m=="string"&&m.length)return l(m,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",Hn(i,p.fullPath)),e.isHydrating||await e.runWithContext(qm);for(const h of r["navigate:after"])await h(p,s)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:Ue(()=>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:di,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",We({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var m;const h=c.resolve(f.to);return f.custom?(m=d.default)==null?void 0:m.call(d,{href:f.to,navigate:p,route:h}):io("a",{href:f.to,onClick:v=>(v.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ct(f.meta||{}),e.isHydrating&&u&&!rn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...n_,...e._middleware.global]);{const h=await e.runWithContext(()=>Ms(f.path));if(h.appMiddleware)for(const m in h.appMiddleware){const v=e._middleware.named[m];if(!v)return;h.appMiddleware[m]?p.add(v):p.delete(v)}}for(const h of p){const m=await e.runWithContext(()=>h(f,d));if(m!==!0&&(m||m===!1))return m}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),tm(s.fullPath,t)||await e.runWithContext(()=>vu(s.fullPath))}),{provide:{route:s,router:c}}}}),qi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),o_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Hs=e=>{const t=we();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{qi(e)}):qi(e)},i_=_t({name:"nuxt:payload",setup(e){Ut().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await ql(t.path);r&&Object.assign(e.static.data,r.data)}),Hs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{Vn(n).protocol||await ql(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Fo,1e3)})}}),s_=_t(e=>{let t;async function n(){const r=await Fo();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(Is("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Hs(()=>{t=setTimeout(n,1e3*60*60)})}),l_=to(()=>g(()=>import("./BTnhwlxZ.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e.default||e)),a_=to(()=>g(()=>import("./A6fgiLY6.js"),__vite__mapDeps([3,1,4]),import.meta.url).then(e=>e.default||e.default||e)),c_=[["Icon",l_],["IconCSS",a_]],u_=_t({name:"nuxt:global-components",setup(e){for(const[t,n]of c_)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),f_="$s";function d_(...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=f_+n,i=we(),s=pc(i.payload.state,o);if(s.value===void 0&&r){const l=r();if(Oe(l))return i.payload.state[o]=l,l;s.value=l}return s}const p_="__NUXT_COLOR_MODE__",h_="nuxt-color-mode",bt=window[p_]||{},m_=_t(e=>{const t=d_("color-mode",()=>Ct({preference:bt.preference,value:bt.value,unknown:!1,forced:!1})).value;Ut().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"?bt.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=bt.getColorScheme())}))}dt(()=>t.preference,o=>{var i;t.forced||(o==="system"?(t.value=bt.getColorScheme(),r()):t.value=o,(i=window.localStorage)==null||i.setItem(h_,o))},{immediate:!0}),dt(()=>t.value,(o,i)=>{bt.removeColorScheme(i),bt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=bt.preference,t.value=bt.value,t.unknown=!1)}),e.provide("colorMode",t)}),g_=_t(()=>{});function __(e={}){const t=e.path||window.location.pathname;let n={};try{n=so(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:we().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const y_=_t({name:"nuxt:chunk-reload",setup(e){const t=Ut(),n=or(),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:Hn(n.app.baseURL,i.fullPath);__({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),v_=["top","right","bottom","left"],Jl=["start","end"],Yl=v_.reduce((e,t)=>e.concat(t,t+"-"+Jl[0],t+"-"+Jl[1]),[]),ir=Math.min,Kt=Math.max,b_={left:"right",right:"left",bottom:"top",top:"bottom"},w_={start:"end",end:"start"};function Ki(e,t,n){return Kt(e,ir(t,n))}function dn(e,t){return typeof e=="function"?e(t):e}function gt(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function Lu(e){return e==="x"?"y":"x"}function Vs(e){return e==="y"?"height":"width"}function _r(e){return["top","bottom"].includes(gt(e))?"y":"x"}function Bs(e){return Lu(_r(e))}function ku(e,t,n){n===void 0&&(n=!1);const r=it(e),o=Bs(e),i=Vs(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=mo(s)),[s,mo(s)]}function E_(e){const t=mo(e);return[ho(e),t,ho(t)]}function ho(e){return e.replace(/start|end/g,t=>w_[t])}function T_(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function C_(e,t,n,r){const o=it(e);let i=T_(gt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ho)))),i}function mo(e){return e.replace(/left|right|bottom|top/g,t=>b_[t])}function x_(e){return{top:0,right:0,bottom:0,left:0,...e}}function Iu(e){return typeof e!="number"?x_(e):{top:e,right:e,bottom:e,left:e}}function Kn(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Xl(e,t,n){let{reference:r,floating:o}=e;const i=_r(t),s=Bs(t),l=Vs(s),a=gt(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(it(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const S_=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Xl(c,r,a),d=r,p={},h=0;for(let m=0;m<l.length;m++){const{name:v,fn:E}=l[m],{x:C,y,data:S,reset:T}=await E({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=C??u,f=y??f,p={...p,[v]:{...p[v],...S}},T&&h<=50&&(h++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(c=T.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):T.rects),{x:u,y:f}=Xl(c,d,a)),m=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function Uo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=dn(t,e),h=Iu(p),v=l[d?f==="floating"?"reference":"floating":f],E=Kn(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),C=f==="floating"?{...s.floating,x:r,y:o}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},T=Kn(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:y,strategy:a}):C);return{top:(E.top-T.top+h.top)/S.y,bottom:(T.bottom-E.bottom+h.bottom)/S.y,left:(E.left-T.left+h.left)/S.x,right:(T.right-E.right+h.right)/S.x}}const P_=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:c,padding:u=0}=dn(e,t)||{};if(c==null)return{};const f=Iu(u),d={x:n,y:r},p=Bs(o),h=Vs(p),m=await s.getDimensions(c),v=p==="y",E=v?"top":"left",C=v?"bottom":"right",y=v?"clientHeight":"clientWidth",S=i.reference[h]+i.reference[p]-d[p]-i.floating[h],T=d[p]-i.reference[p],x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let A=x?x[y]:0;(!A||!await(s.isElement==null?void 0:s.isElement(x)))&&(A=l.floating[y]||i.floating[h]);const H=S/2-T/2,B=A/2-m[h]/2-1,O=ir(f[E],B),G=ir(f[C],B),z=O,oe=A-m[h]-G,ce=A/2-m[h]/2+H,fe=Ki(z,ce,oe),F=!a.arrow&&it(o)!=null&&ce!==fe&&i.reference[h]/2-(ce<z?O:G)-m[h]/2<0,Y=F?ce<z?ce-z:ce-oe:0;return{[p]:d[p]+Y,data:{[p]:fe,centerOffset:ce-fe-Y,...F&&{alignmentOffset:Y}},reset:F}}});function A_(e,t,n){return(e?[...n.filter(o=>it(o)===e),...n.filter(o=>it(o)!==e)]:n.filter(o=>gt(o)===o)).filter(o=>e?it(o)===e||(t?ho(o)!==o:!1):!0)}const R_=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:l,platform:a,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Yl,autoAlignment:p=!0,...h}=dn(e,t),m=f!==void 0||d===Yl?A_(f||null,p,d):d,v=await Uo(t,h),E=((n=s.autoPlacement)==null?void 0:n.index)||0,C=m[E];if(C==null)return{};const y=ku(C,i,await(a.isRTL==null?void 0:a.isRTL(c.floating)));if(l!==C)return{reset:{placement:m[0]}};const S=[v[gt(C)],v[y[0]],v[y[1]]],T=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:C,overflows:S}],x=m[E+1];if(x)return{data:{index:E+1,overflows:T},reset:{placement:x}};const A=T.map(O=>{const G=it(O.placement);return[O.placement,G&&u?O.overflows.slice(0,2).reduce((z,oe)=>z+oe,0):O.overflows[0],O.overflows]}).sort((O,G)=>O[1]-G[1]),B=((o=A.filter(O=>O[2].slice(0,it(O[0])?2:3).every(G=>G<=0))[0])==null?void 0:o[0])||A[0][0];return B!==l?{data:{index:E+1,overflows:T},reset:{placement:B}}:{}}}},O_=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...v}=dn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const E=gt(o),C=gt(l)===l,y=await(a.isRTL==null?void 0:a.isRTL(c.floating)),S=d||(C||!m?[mo(l)]:E_(l));!d&&h!=="none"&&S.push(...C_(l,m,h,y));const T=[l,...S],x=await Uo(t,v),A=[];let H=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&A.push(x[E]),f){const z=ku(o,s,y);A.push(x[z[0]],x[z[1]])}if(H=[...H,{placement:o,overflows:A}],!A.every(z=>z<=0)){var B,O;const z=(((B=i.flip)==null?void 0:B.index)||0)+1,oe=T[z];if(oe)return{data:{index:z,overflows:H},reset:{placement:oe}};let ce=(O=H.filter(fe=>fe.overflows[0]<=0).sort((fe,F)=>fe.overflows[1]-F.overflows[1])[0])==null?void 0:O.placement;if(!ce)switch(p){case"bestFit":{var G;const fe=(G=H.map(F=>[F.placement,F.overflows.filter(Y=>Y>0).reduce((Y,q)=>Y+q,0)]).sort((F,Y)=>F[1]-Y[1])[0])==null?void 0:G[0];fe&&(ce=fe);break}case"initialPlacement":ce=l;break}if(o!==ce)return{reset:{placement:ce}}}return{}}}};async function L_(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=gt(n),l=it(n),a=_r(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&a?-1:1,f=dn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof h=="number"&&(p=l==="end"?h*-1:h),a?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const k_=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await L_(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},I_=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:v=>{let{x:E,y:C}=v;return{x:E,y:C}}},...a}=dn(e,t),c={x:n,y:r},u=await Uo(t,a),f=_r(gt(o)),d=Lu(f);let p=c[d],h=c[f];if(i){const v=d==="y"?"top":"left",E=d==="y"?"bottom":"right",C=p+u[v],y=p-u[E];p=Ki(C,p,y)}if(s){const v=f==="y"?"top":"left",E=f==="y"?"bottom":"right",C=h+u[v],y=h-u[E];h=Ki(C,h,y)}const m=l.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r}}}}},N_=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...l}=dn(e,t),a=await Uo(t,l),c=gt(n),u=it(n),f=_r(n)==="y",{width:d,height:p}=r.floating;let h,m;c==="top"||c==="bottom"?(h=c,m=u===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(m=c,h=u==="end"?"top":"bottom");const v=p-a[h],E=d-a[m],C=!t.middlewareData.shift;let y=v,S=E;if(f){const x=d-a.left-a.right;S=u||C?ir(E,x):x}else{const x=p-a.top-a.bottom;y=u||C?ir(v,x):x}if(C&&!u){const x=Kt(a.left,0),A=Kt(a.right,0),H=Kt(a.top,0),B=Kt(a.bottom,0);f?S=d-2*(x!==0||A!==0?x+A:Kt(a.left,a.right)):y=p-2*(H!==0||B!==0?H+B:Kt(a.top,a.bottom))}await s({...t,availableWidth:S,availableHeight:y});const T=await o.getDimensions(i.floating);return d!==T.width||p!==T.height?{reset:{rects:!0}}:{}}}};function Ze(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pt(e){return Ze(e).getComputedStyle(e)}const Ql=Math.min,Jn=Math.max,go=Math.round;function Nu(e){const t=pt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=go(n)!==o||go(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function jt(e){return $u(e)?(e.nodeName||"").toLowerCase():""}let kr;function Du(){if(kr)return kr;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(kr=e.brands.map(t=>t.brand+"/"+t.version).join(" "),kr):navigator.userAgent}function ht(e){return e instanceof Ze(e).HTMLElement}function Mt(e){return e instanceof Ze(e).Element}function $u(e){return e instanceof Ze(e).Node}function Zl(e){return typeof ShadowRoot>"u"?!1:e instanceof Ze(e).ShadowRoot||e instanceof ShadowRoot}function Go(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function D_(e){return["table","td","th"].includes(jt(e))}function Ji(e){const t=/firefox/i.test(Du()),n=pt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function Mu(){return!/^((?!chrome|android).)*safari/i.test(Du())}function js(e){return["html","body","#document"].includes(jt(e))}function Hu(e){return Mt(e)?e:e.contextElement}const Vu={x:1,y:1};function An(e){const t=Hu(e);if(!ht(t))return Vu;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=Nu(t);let s=(i?go(n.width):n.width)/r,l=(i?go(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}function sr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),l=Hu(e);let a=Vu;t&&(r?Mt(r)&&(a=An(r)):a=An(e));const c=l?Ze(l):window,u=!Mu()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/a.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/a.y,p=s.width/a.x,h=s.height/a.y;if(l){const m=Ze(l),v=r&&Mt(r)?Ze(r):r;let E=m.frameElement;for(;E&&r&&v!==m;){const C=An(E),y=E.getBoundingClientRect(),S=getComputedStyle(E);y.x+=(E.clientLeft+parseFloat(S.paddingLeft))*C.x,y.y+=(E.clientTop+parseFloat(S.paddingTop))*C.y,f*=C.x,d*=C.y,p*=C.x,h*=C.y,f+=y.x,d+=y.y,E=Ze(E).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Ht(e){return(($u(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wo(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Bu(e){return sr(Ht(e)).left+Wo(e).scrollLeft}function lr(e){if(jt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Zl(e)&&e.host||Ht(e);return Zl(t)?t.host:t}function ju(e){const t=lr(e);return js(t)?t.ownerDocument.body:ht(t)&&Go(t)?t:ju(t)}function _o(e,t){var n;t===void 0&&(t=[]);const r=ju(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ze(r);return o?t.concat(i,i.visualViewport||[],Go(r)?r:[]):t.concat(r,_o(r))}function ea(e,t,n){return t==="viewport"?Kn(function(r,o){const i=Ze(r),s=Ht(r),l=i.visualViewport;let a=s.clientWidth,c=s.clientHeight,u=0,f=0;if(l){a=l.width,c=l.height;const d=Mu();(d||!d&&o==="fixed")&&(u=l.offsetLeft,f=l.offsetTop)}return{width:a,height:c,x:u,y:f}}(e,n)):Mt(t)?Kn(function(r,o){const i=sr(r,!0,o==="fixed"),s=i.top+r.clientTop,l=i.left+r.clientLeft,a=ht(r)?An(r):{x:1,y:1};return{width:r.clientWidth*a.x,height:r.clientHeight*a.y,x:l*a.x,y:s*a.y}}(t,n)):Kn(function(r){const o=Ht(r),i=Wo(r),s=r.ownerDocument.body,l=Jn(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),a=Jn(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+Bu(r);const u=-i.scrollTop;return pt(s).direction==="rtl"&&(c+=Jn(o.clientWidth,s.clientWidth)-l),{width:l,height:a,x:c,y:u}}(Ht(e)))}function ta(e){return ht(e)&&pt(e).position!=="fixed"?e.offsetParent:null}function na(e){const t=Ze(e);let n=ta(e);for(;n&&D_(n)&&pt(n).position==="static";)n=ta(n);return n&&(jt(n)==="html"||jt(n)==="body"&&pt(n).position==="static"&&!Ji(n))?t:n||function(r){let o=lr(r);for(;ht(o)&&!js(o);){if(Ji(o))return o;o=lr(o)}return null}(e)||t}function $_(e,t,n){const r=ht(t),o=Ht(t),i=sr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(r||!r&&n!=="fixed")if((jt(t)!=="body"||Go(o))&&(s=Wo(t)),ht(t)){const a=sr(t,!0);l.x=a.x+t.clientLeft,l.y=a.y+t.clientTop}else o&&(l.x=Bu(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const M_={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=_o(c).filter(v=>Mt(v)&&jt(v)!=="body"),p=null;const h=pt(c).position==="fixed";let m=h?lr(c):c;for(;Mt(m)&&!js(m);){const v=pt(m),E=Ji(m);(h?E||p:E||v.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=v:d=d.filter(C=>C!==m),m=lr(m)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],l=s[0],a=s.reduce((c,u)=>{const f=ea(t,u,o);return c.top=Jn(f.top,c.top),c.right=Ql(f.right,c.right),c.bottom=Ql(f.bottom,c.bottom),c.left=Jn(f.left,c.left),c},ea(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=ht(n),i=Ht(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const a={x:0,y:0};if((o||!o&&r!=="fixed")&&((jt(n)!=="body"||Go(i))&&(s=Wo(n)),ht(n))){const c=sr(n);l=An(n),a.x=c.x+n.clientLeft,a.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+a.x,y:t.y*l.y-s.scrollTop*l.y+a.y}},isElement:Mt,getDimensions:function(e){return ht(e)?Nu(e):e.getBoundingClientRect()},getOffsetParent:na,getDocumentElement:Ht,getScale:An,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||na,i=this.getDimensions;return{reference:$_(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>pt(e).direction==="rtl"},H_=(e,t,n)=>{const r=new Map,o={platform:M_,...n},i={...o.platform,_c:r};return S_(e,t,{...o,platform:i})};function Fu(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Fu(e[n],t[n]):e[n]=t[n])}const st={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ar(e,t){let n=st.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=st.themes[n.$extend]||{}:(n=null,r=st[t]):n=null;while(n);return r}function V_(e){const t=[e];let n=st.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=st.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function ra(e){const t=[e];let n=st.themes[e]||{};do n.$extend?(t.push(n.$extend),n=st.themes[n.$extend]||{}):n=null;while(n);return t}let Nn=!1;if(typeof window<"u"){Nn=!1;try{const e=Object.defineProperty({},"passive",{get(){Nn=!0}});window.addEventListener("test",null,e)}catch{}}let Uu=!1;typeof window<"u"&&typeof navigator<"u"&&(Uu=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Gu=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),oa={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ia={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function sa(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function pi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const nt=[];let zt=null;const la={};function aa(e){let t=la[e];return t||(t=la[e]=[]),t}let Yi=function(){};typeof window<"u"&&(Yi=window.Element);function le(e){return function(t){return ar(t.theme,e)}}const hi="__floating-vue__popper",Wu=()=>We({name:"VPopper",provide(){return{[hi]:{parentPopper:this}}},inject:{[hi]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:le("disabled")},positioningDisabled:{type:Boolean,default:le("positioningDisabled")},placement:{type:String,default:le("placement"),validator:e=>Gu.includes(e)},delay:{type:[String,Number,Object],default:le("delay")},distance:{type:[Number,String],default:le("distance")},skidding:{type:[Number,String],default:le("skidding")},triggers:{type:Array,default:le("triggers")},showTriggers:{type:[Array,Function],default:le("showTriggers")},hideTriggers:{type:[Array,Function],default:le("hideTriggers")},popperTriggers:{type:Array,default:le("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:le("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:le("popperHideTriggers")},container:{type:[String,Object,Yi,Boolean],default:le("container")},boundary:{type:[String,Yi],default:le("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:le("strategy")},autoHide:{type:[Boolean,Function],default:le("autoHide")},handleResize:{type:Boolean,default:le("handleResize")},instantMove:{type:Boolean,default:le("instantMove")},eagerMount:{type:Boolean,default:le("eagerMount")},popperClass:{type:[String,Array,Object],default:le("popperClass")},computeTransformOrigin:{type:Boolean,default:le("computeTransformOrigin")},autoMinSize:{type:Boolean,default:le("autoMinSize")},autoSize:{type:[Boolean,String],default:le("autoSize")},autoMaxSize:{type:Boolean,default:le("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:le("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:le("preventOverflow")},overflowPadding:{type:[Number,String],default:le("overflowPadding")},arrowPadding:{type:[Number,String],default:le("arrowPadding")},arrowOverflow:{type:Boolean,default:le("arrowOverflow")},flip:{type:Boolean,default:le("flip")},shift:{type:Boolean,default:le("shift")},shiftCrossAxis:{type:Boolean,default:le("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:le("noAutoFocus")},disposeTimeout:{type:Number,default:le("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[hi])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(k_({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(R_({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(I_({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(O_({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(P_({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:l}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(l)>o.reference.width/2:s=Math.abs(l)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var l;if((l=s.autoSize)!=null&&l.skip)return{};let a,c;return i.startsWith("top")||i.startsWith("bottom")?a=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=a!=null?`${a}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(N_({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await H_(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),zt&&this.instantMove&&zt.instantMove&&zt!==this.parentPopper){zt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(zt=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await pi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([..._o(this.$_referenceNode),..._o(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<nt.length;n++)t=nt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}nt.push(this),document.body.classList.add("v-popper--some-open");for(const t of ra(this.theme))aa(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await pi(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,sa(nt,this),nt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of ra(this.theme)){const r=aa(n);sa(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}zt===this&&(zt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await pi(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,oa,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],oa,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,ia,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],ia,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Nn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const l=t[s];l&&this.$_registerEventListeners(e,l,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Yn>=e.left&&Yn<=e.right&&Xn>=e.top&&Xn<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Yn-Rt,r=Xn-Ot,o=t.left+t.width/2-Rt+(t.top+t.height/2)-Ot+t.width+t.height,i=Rt+n*o,s=Ot+r*o;return Ir(Rt,Ot,i,s,t.left,t.top,t.left,t.bottom)||Ir(Rt,Ot,i,s,t.left,t.top,t.right,t.top)||Ir(Rt,Ot,i,s,t.right,t.top,t.right,t.bottom)||Ir(Rt,Ot,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Uu){const e=Nn?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>ca(t,!0),e),document.addEventListener("touchend",t=>ua(t,!0),e)}else window.addEventListener("mousedown",e=>ca(e,!1),!0),window.addEventListener("click",e=>ua(e,!1),!0);window.addEventListener("resize",j_)}function ca(e,t){if(st.autoHideOnMousedown)zu(e,t);else for(let n=0;n<nt.length;n++){const r=nt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function ua(e,t){st.autoHideOnMousedown||zu(e,t)}function zu(e,t){const n={};for(let r=nt.length-1;r>=0;r--){const o=nt[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&fa(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let l=o.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let s=o.parentPopper;for(;s&&fa(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function fa(e,t,n){return n.closeAllPopover||n.closePopover&&t||B_(e,n)&&!t}function B_(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function j_(){for(let e=0;e<nt.length;e++)nt[e].$_computePosition()}let Rt=0,Ot=0,Yn=0,Xn=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Rt=Yn,Ot=Xn,Yn=e.clientX,Xn=e.clientY},Nn?{passive:!0}:void 0);function Ir(e,t,n,r,o,i,s,l){const a=((s-o)*(t-i)-(l-i)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((l-i)*(n-e)-(s-o)*(r-t));return a>=0&&a<=1&&c>=0&&c<=1}const F_={extends:Wu()},zo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function U_(e,t,n,r,o,i){return j(),Z("div",{ref:"reference",class:Te(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Fe(e.$slots,"default",Ga(As(e.slotData)))],2)}const G_=zo(F_,[["render",U_]]);function W_(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let qr;function Xi(){Xi.init||(Xi.init=!0,qr=W_()!==-1)}var qo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Xi(),fn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",qr&&this.$el.appendChild(e),e.data="about:blank",qr||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!qr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const z_=Yd();yc("data-v-b329ee4c");const q_={class:"resize-observer",tabindex:"-1"};vc();const K_=z_((e,t,n,r,o,i)=>(j(),ye("div",q_)));qo.render=K_;qo.__scopeId="data-v-b329ee4c";qo.__file="src/components/ResizeObserver.vue";const qu=(e="theme")=>({computed:{themeClass(){return V_(this[e])}}}),J_=We({name:"VPopperContent",components:{ResizeObserver:qo},mixins:[qu()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Y_=["id","aria-hidden","tabindex","data-popper-placement"],X_={ref:"inner",class:"v-popper__inner"},Q_=N("div",{class:"v-popper__arrow-outer"},null,-1),Z_=N("div",{class:"v-popper__arrow-inner"},null,-1),e0=[Q_,Z_];function t0(e,t,n,r,o,i){const s=on("ResizeObserver");return j(),Z("div",{id:e.popperId,ref:"popover",class:Te(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Zt(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Th(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[N("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),N("div",{class:"v-popper__wrapper",style:Zt(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[N("div",X_,[e.mounted?(j(),Z(_e,{key:0},[N("div",null,[Fe(e.$slots,"default")]),e.handleResize?(j(),ye(s,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):ke("",!0)],64)):ke("",!0)],512),N("div",{ref:"arrow",class:"v-popper__arrow-container",style:Zt(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},e0,4)],4)],46,Y_)}const Ku=zo(J_,[["render",t0]]),Ju={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Qi=function(){};typeof window<"u"&&(Qi=window.Element);const n0=We({name:"VPopperWrapper",components:{Popper:G_,PopperContent:Ku},mixins:[Ju,qu("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Qi,Boolean],default:void 0},boundary:{type:[String,Qi],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function r0(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return j(),ye(l,Vo({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=a=>e.$emit("update:shown",a)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:re(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:v,classes:E,result:C})=>[Fe(e.$slots,"default",{shown:c,show:p,hide:h}),W(s,{ref:"popperContent","popper-id":a,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:E,result:C,onHide:h,onResize:v},{default:re(()=>[Fe(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Fs=zo(n0,[["render",r0]]),o0={...Fs,name:"VDropdown",vPopperTheme:"dropdown"},i0={...Fs,name:"VMenu",vPopperTheme:"menu"},s0={...Fs,name:"VTooltip",vPopperTheme:"tooltip"},l0=We({name:"VTooltipDirective",components:{Popper:Wu(),PopperContent:Ku},mixins:[Ju],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ar(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ar(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),a0=["innerHTML"],c0=["textContent"];function u0(e,t,n,r,o,i){const s=on("PopperContent"),l=on("Popper");return j(),ye(l,Vo({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:re(({popperId:a,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:v,result:E})=>[W(s,{ref:"popperContent",class:Te({"v-popper--tooltip-loading":e.loading}),"popper-id":a,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:v,result:E,onHide:p,onResize:m},{default:re(()=>[e.html?(j(),Z("div",{key:0,innerHTML:e.finalContent},null,8,a0)):(j(),Z("div",{key:1,textContent:De(e.finalContent)},null,8,c0))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const f0=zo(l0,[["render",u0]]),Yu="v-popper--has-tooltip";function d0(e,t){let n=e.placement;if(!n&&t)for(const r of Gu)t[r]&&(n=r);return n||(n=ar(e.theme||"tooltip","placement")),n}function Xu(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=d0(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let mi,cr,p0=0;function h0(){if(mi)return;cr=ve([]),mi=Qc({name:"VTooltipDirectiveApp",setup(){return{directives:cr}},render(){return this.directives.map(t=>io(f0,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),mi.mount(e)}function m0(e,t,n){h0();const r=ve(Xu(e,t,n)),o=ve(!1),i={id:p0++,options:r,shown:o};return cr.value.push(i),e.classList&&e.classList.add(Yu),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function Qu(e){if(e.$_popper){const t=cr.value.indexOf(e.$_popper.item);t!==-1&&cr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Yu)}function da(e,{value:t,modifiers:n}){const r=Xu(e,t,n);if(!r.content||ar(r.theme||"tooltip","disabled"))Qu(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=m0(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const g0={beforeMount:da,updated:da,beforeUnmount(e){Qu(e)}};function pa(e){e.addEventListener("mousedown",yo),e.addEventListener("click",yo),e.addEventListener("touchstart",Zu,Nn?{passive:!0}:!1)}function ha(e){e.removeEventListener("mousedown",yo),e.removeEventListener("click",yo),e.removeEventListener("touchstart",Zu),e.removeEventListener("touchend",ef),e.removeEventListener("touchcancel",tf)}function yo(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Zu(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",ef),t.addEventListener("touchcancel",tf)}}function ef(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function tf(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const _0={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&pa(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?pa(e):ha(e))},beforeUnmount(e){ha(e)}};function y0(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Fu(st,t),e.directive("tooltip",g0),e.directive("close-popper",_0),e.component("VTooltip",s0),e.component("VDropdown",o0),e.component("VMenu",i0))}const v0={version:"5.2.2",install:y0,options:st},b0=_t(e=>{e.vueApp.use(v0)}),w0=[Qg,e_,r_,i_,s_,u_,m_,g_,y_,b0],Us=We({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(j(),Z("div",{class:Te(["n-icon",t.icon])},null,2))}}),Ko=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},E0={},T0={class:"n-badge"};function C0(e,t){return j(),Z("span",T0,[Fe(e.$slots,"default")])}const nf=Ko(E0,[["render",C0]]);async function rf(e,t=Ut()){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(()=>rf(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 x0=(...e)=>e.find(t=>t!==void 0);function S0(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 ma(r,e.trailingSlash);const i="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:ma(i,e.trailingSlash)}}return We({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=Ut(),s=or(),l=Ue(()=>{const h=r.to||r.href||"";return n(h,i.resolve)}),a=Ue(()=>typeof l.value=="string"&&Ft(l.value,{acceptRelative:!0})),c=Ue(()=>r.target&&r.target!=="_self"),u=Ue(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=ve(!1),d=ve(null),p=h=>{var m;d.value=r.custom?(m=h==null?void 0:h.$el)==null?void 0:m.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!R0()){const m=we();let v,E=null;Mo(()=>{const C=A0();Hs(()=>{v=qi(()=>{var y;(y=d==null?void 0:d.value)!=null&&y.tagName&&(E=C.observe(d.value,async()=>{E==null||E(),E=null;const S=typeof l.value=="string"?l.value:i.resolve(l.value).fullPath;await Promise.all([m.hooks.callHook("link:prefetch",S).catch(()=>{}),!u.value&&rf(l.value,i).catch(()=>{})]),f.value=!0}))})})}),Cs(()=>{v&&o_(v),E==null||E(),E=null})}return()=>{var E,C;if(!u.value){const y={ref:p,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&&(y.class=r.prefetchedClass||e.prefetchedClass),y.rel=r.rel||void 0),io(on("RouterLink"),y,o.default)}const h=typeof l.value=="object"?((E=i.resolve(l.value))==null?void 0:E.href)??null:l.value&&!r.external&&!a.value?n(Hn(s.app.baseURL,l.value),i.resolve):l.value||null,m=r.target||null,v=x0(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const y=()=>vu(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:y,get route(){if(!h)return;const S=Vn(h);return{path:S.pathname,fullPath:S.pathname,get query(){return Ls(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:v,target:m,isExternal:u.value,isActive:!1,isExactActive:!1})}return io("a",{ref:d,href:h,rel:v,target:m},(C=o.default)==null?void 0:C.call(o))}}})}const P0=S0(Gg);function ma(e,t){const n=t==="append"?ao:jo;return Ft(e)&&!e.startsWith("http")?e:n(e,!0)}function A0(){const e=we();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 R0(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const O0={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},of=We({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ue(()=>t.href||t.to);return(r,o)=>{const i=P0;return j(),ye(i,Vo(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:re(()=>[Fe(r.$slots,"default"),n.value&&r.target==="_blank"?(j(),Z("div",O0)):ke("",!0)]),_:3},16,["class"])}}}),L0={},k0={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"},I0=Gp('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8),N0=[I0];function D0(e,t){return j(),Z("svg",k0,N0)}const $0=Ko(L0,[["render",D0]]),M0={},H0={class:"n-loading n-panel-grids-center"},V0={class:"flex flex-col animate-pulse items-center text-lg"},B0=N("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function j0(e,t){return j(),Z("div",H0,[N("div",V0,[B0,Fe(e.$slots,"default",{},()=>[se(" Loading... ")])])])}const F0=Ko(M0,[["render",j0]]),sf=[{id:"abap",name:"ABAP",import:()=>g(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>g(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>g(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>g(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([5,6,7,8]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>g(()=>import("./B9E_xdxs.js"),__vite__mapDeps([9,5,6,7,8,10]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>g(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>g(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>g(()=>import("./DC4hdoM9.js"),__vite__mapDeps([11,6,7,8,12,13,14]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>g(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>g(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>g(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>g(()=>import("./wORFcijT.js"),__vite__mapDeps([15,14,7,16,17,18,8,10,19,20,21]),import.meta.url)},{id:"awk",name:"AWK",import:()=>g(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>g(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>g(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>g(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>g(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>g(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>g(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>g(()=>import("./C1DVX8_8.js"),__vite__mapDeps([22,6,7,8,12,13,23,14]),import.meta.url)},{id:"c",name:"C",import:()=>g(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>g(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>g(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>g(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>g(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>g(()=>import("./TQ9oWRfF.js"),__vite__mapDeps([24,23,6,7,8,13]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>g(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>g(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([25,7]),import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>g(()=>import("./BOnd8D4O.js"),__vite__mapDeps([26,27,28,23]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>g(()=>import("./B6nY7VDA.js"),__vite__mapDeps([29,6,7,8,23,28,30]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>g(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>g(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>g(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>g(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>g(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>g(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>g(()=>import("./BswfO-CF.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>g(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>g(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>g(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>g(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>g(()=>import("./BaNxgKSR.js"),__vite__mapDeps([31,6,7,8]),import.meta.url)},{id:"elm",name:"Elm",import:()=>g(()=>import("./RE3ujT-k.js"),__vite__mapDeps([32,27,28]),import.meta.url)},{id:"erb",name:"ERB",import:()=>g(()=>import("./RgJsN3zu.js"),__vite__mapDeps([33,6,7,8,34,12,13,23,28,30,35]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>g(()=>import("./-hLHpAOl.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>g(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>g(()=>import("./sQpxpyUs.js"),__vite__mapDeps([36,37]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>g(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>g(()=>import("./DXpYegZJ.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>g(()=>import("./NL97_oaV.js"),__vite__mapDeps([40,41,42]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>g(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>g(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>g(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>g(()=>import("./DAVo6uMX.js"),__vite__mapDeps([43,44]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>g(()=>import("./CPHkTjfH.js"),__vite__mapDeps([45,30]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>g(()=>import("./Dz2Ca8U2.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>g(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([46,7,16,8,6]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>g(()=>import("./CQUCfALx.js"),__vite__mapDeps([47,16,8,7,6]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>g(()=>import("./DouzTJIq.js"),__vite__mapDeps([27,28]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>g(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>g(()=>import("./WoBtJUue.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>g(()=>import("./BN4LRXf6.js"),__vite__mapDeps([48,7,16,49,21]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>g(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>g(()=>import("./BmCW-tYz.js"),__vite__mapDeps([50,6,7,8,23]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>g(()=>import("./IHMnEr_d.js"),__vite__mapDeps([51,34,6,7,8,12,13,23,28,30,35,18,25,39]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>g(()=>import("./DUdlC5k_.js"),__vite__mapDeps([52,6,7,8,53]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>g(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>g(()=>import("./CudBhkk3.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>g(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>g(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>g(()=>import("./CbViG2Xw.js"),__vite__mapDeps([6,7,8]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>g(()=>import("./BR6CMsBL.js"),__vite__mapDeps([54,6,7,8]),import.meta.url)},{id:"http",name:"HTTP",import:()=>g(()=>import("./DfUNg_8t.js"),__vite__mapDeps([55,30,14,12,13,48,7,16,49,21]),import.meta.url)},{id:"imba",name:"Imba",import:()=>g(()=>import("./DzwdaLuO.js"),__vite__mapDeps([56,16]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>g(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>g(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>g(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>g(()=>import("./D4LaosRr.js"),__vite__mapDeps([57,6,7,8]),import.meta.url)},{id:"jison",name:"Jison",import:()=>g(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([58,7]),import.meta.url)},{id:"json",name:"JSON",import:()=>g(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>g(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>g(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>g(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>g(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>g(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>g(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>g(()=>import("./ZQC2c-5V.js"),__vite__mapDeps([59,26,27,28,23,60,7,61]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>g(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>g(()=>import("./DIr-ordK.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>g(()=>import("./BIMuYTWL.js"),__vite__mapDeps([62,63,61,8,64,6,7,12,13,35,28,59,26,27,23,60,34,30,16,53,65,66,67]),import.meta.url)},{id:"less",name:"Less",import:()=>g(()=>import("./DywwDckn.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>g(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([68,6,7,8,14]),import.meta.url)},{id:"lisp",name:"Lisp",import:()=>g(()=>import("./D4LhxNOI.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>g(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>g(()=>import("./DnhXxWz-.js"),__vite__mapDeps([35,28]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>g(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>g(()=>import("./DCk2z-Tu.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>g(()=>import("./Bd7iooY8.js"),__vite__mapDeps([69,8,19,10,7]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>g(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>g(()=>import("./BgBwMnrY.js"),__vite__mapDeps([70,39,53,54,6,7,8]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>g(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>g(()=>import("./BSyl5yf0.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>g(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>g(()=>import("./bmJ2objS.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>g(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>g(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>g(()=>import("./CUVblut_.js"),__vite__mapDeps([71,35,28]),import.meta.url)},{id:"nim",name:"Nim",import:()=>g(()=>import("./BILqrcpa.js"),__vite__mapDeps([72,28,6,7,8,12,13,27,39]),import.meta.url)},{id:"nix",name:"Nix",import:()=>g(()=>import("./Dszwcx0o.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>g(()=>import("./CL7Ixq1B.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>g(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>g(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>g(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>g(()=>import("./Bz4xi2rU.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>g(()=>import("./Dwo2i-71.js"),__vite__mapDeps([73,6,7,8,12,13,23]),import.meta.url)},{id:"php",name:"PHP",import:()=>g(()=>import("./Cthz8VOO.js"),__vite__mapDeps([74,6,7,8,12,13,23,14]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>g(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>g(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>g(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>g(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>g(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>g(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>g(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>g(()=>import("./DhFF74a2.js"),__vite__mapDeps([75,7,8,18,10,17,25,6]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>g(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>g(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>g(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>g(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>g(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>g(()=>import("./wPLeKH6q.js"),__vite__mapDeps([76,6,7,8,77]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>g(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>g(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>g(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>g(()=>import("./CQTpvb7m.js"),__vite__mapDeps([78,54,6,7,8,26,27,28,23,60,30,53,79,34,12,13,35]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>g(()=>import("./DCAtC51B.js"),__vite__mapDeps([34,6,7,8,12,13,23,28,30,35]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>g(()=>import("./j8KhMG0x.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>g(()=>import("./8t4jSAMm.js"),__vite__mapDeps([80,23]),import.meta.url)},{id:"sass",name:"Sass",import:()=>g(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>g(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>g(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>g(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([10,8]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>g(()=>import("./BiDE021q.js"),__vite__mapDeps([81,82]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>g(()=>import("./D4k753MY.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>g(()=>import("./Bdb36Id5.js"),__vite__mapDeps([83,30]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>g(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>g(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>g(()=>import("./DJZWsvj0.js"),__vite__mapDeps([84,85]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>g(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>g(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>g(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>g(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([86,23]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>g(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>g(()=>import("./doGI2cFk.js"),__vite__mapDeps([87,7,16,25,17,18,8,10,19,20,75,6,39]),import.meta.url)},{id:"swift",name:"Swift",import:()=>g(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>g(()=>import("./DzPyIVdT.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>g(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>g(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>g(()=>import("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>g(()=>import("./CGQbO34C.js"),__vite__mapDeps([63,61]),import.meta.url)},{id:"toml",name:"TOML",import:()=>g(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>g(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>g(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>g(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>g(()=>import("./DCdPDLy4.js"),__vite__mapDeps([88,8,7,10,74,6,12,13,23,14,60,34,28,30,35]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>g(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>g(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>g(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>g(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>g(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>g(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>g(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>g(()=>import("./BBv1LFm6.js"),__vite__mapDeps([89,6,7,8,39,75,18,10,17,25,19,16,49,21,14,90,91,53,92,48,54]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>g(()=>import("./CRWwmX0L.js"),__vite__mapDeps([93,89,6,7,8,39,75,18,10,17,25,19,16,49,21,14,90,91,53,92,48,54]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>g(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>g(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>g(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>g(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>g(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>g(()=>import("./CsYA0RN7.js"),__vite__mapDeps([12,13]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>g(()=>import("./CJQrLysU.js"),__vite__mapDeps([94,12,13]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>g(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>g(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>g(()=>import("./Bsp1M94H.js"),[],import.meta.url)}],U0=Object.fromEntries(sf.map(e=>[e.id,e.import])),G0=Object.fromEntries(sf.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),W0={...U0,...G0},z0=async e=>g(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),q0=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>g(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>g(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>g(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>g(()=>import("./DZ3fVoEH.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>g(()=>import("./DCj4DH6i.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>g(()=>import("./D-pQtGOP.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>g(()=>import("./BsfQk1vf.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>g(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>g(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>g(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>g(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>g(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>g(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>g(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>g(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>g(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>g(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>g(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>g(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>g(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>g(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>g(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>g(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>g(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>g(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>g(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>g(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>g(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>g(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>g(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>g(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>g(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>g(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>g(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>g(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>g(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>g(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>g(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>g(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>g(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>g(()=>import("./3Yx8WcR-.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>g(()=>import("./CQ1WWl9n.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>g(()=>import("./DaCkt_J7.js"),[],import.meta.url)}],K0=Object.fromEntries(q0.map(e=>[e.id,e.import]));var rt;(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"})(rt||(rt={}));var Dn;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),h=e.getForeground(u),m=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:m})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function i(u){return(u&1024)!==0}e.containsBalancedBrackets=i;function s(u){return(u&30720)>>>11}e.getFontStyle=s;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,h,m,v){let E=e.getLanguageId(u),C=e.getTokenType(u),y=e.containsBalancedBrackets(u)?1:0,S=e.getFontStyle(u),T=e.getForeground(u),x=e.getBackground(u);return f!==0&&(E=f),d!==8&&(C=d),p!==null&&(y=p?1:0),h!==-1&&(S=h),m!==0&&(T=m),v!==0&&(x=v),(E<<0|C<<8|y<<10|S<<11|T<<15|x<<24)>>>0}e.set=c})(Dn||(Dn={}));function vo(e,t){const n=[],r=J0(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(ga(o)){const a=[];do a.push(o),o=r.next();while(ga(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 ga(e){return!!e&&!!e.match(/[\w\.:]+/)}function J0(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 lf(e){typeof e.dispose=="function"&&e.dispose()}function Y0(e){return Gs(e)}function Gs(e){return Array.isArray(e)?X0(e):typeof e=="object"?Q0(e):e}function X0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Gs(e[n]);return t}function Q0(e){let t={};for(let n in e)t[n]=Gs(e[n]);return t}function af(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function cf(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?cf(e.substring(0,e.length-1)):e.substr(~t+1)}let gi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Nr{static hasCaptures(t){return t===null?!1:(gi.lastIndex=0,gi.test(t))}static replaceCaptures(t,n,r){return t.replace(gi,(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 uf(e,t){return e<t?-1:e>t?1:0}function ff(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=uf(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function _a(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 df(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class pf{constructor(t){b(this,"fn");b(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 ur{constructor(t){b(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class Z0{constructor(t,n){b(this,"scopeName");b(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class ey{constructor(){b(this,"_references",[]);b(this,"_seenReferenceKeys",new Set);b(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 ty{constructor(t,n){b(this,"repo");b(this,"initialScopeName");b(this,"seenFullScopeRequests",new Set);b(this,"seenPartialScopeRequests",new Set);b(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new ur(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new ey;for(const r of t)ny(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof ur){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 ny(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 ur?Kr({baseGrammar:i,selfGrammar:o},r):Zi(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 ur(l))}function Zi(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];bo([r],t,n)}}function Kr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&bo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&bo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function bo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?af({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&bo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=hf(i);switch(s.kind){case 0:Kr({...t,selfGrammar:t.baseGrammar},n);break;case 1:Kr(t,n);break;case 2:Zi(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?Zi(s.ruleName,a,n):Kr(a,n)}else s.kind===4?n.add(new Z0(s.scopeName,s.ruleName)):n.add(new ur(s.scopeName));break}}}class ry{constructor(){b(this,"kind",0)}}class oy{constructor(){b(this,"kind",1)}}class iy{constructor(t){b(this,"ruleName");b(this,"kind",2);this.ruleName=t}}class sy{constructor(t){b(this,"scopeName");b(this,"kind",3);this.scopeName=t}}class ly{constructor(t,n){b(this,"scopeName");b(this,"ruleName");b(this,"kind",4);this.scopeName=t,this.ruleName=n}}function hf(e){if(e==="$base")return new ry;if(e==="$self")return new oy;const t=e.indexOf("#");if(t===-1)return new sy(e);if(t===0)return new iy(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new ly(n,r)}}const ay=/\\(\d+)/,ya=/\\(\d+)/g,cy=-1,mf=-2;class yr{constructor(t,n,r,o){b(this,"$location");b(this,"id");b(this,"_nameIsCapturing");b(this,"_name");b(this,"_contentNameIsCapturing");b(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Nr.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=Nr.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${cf(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:Nr.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Nr.replaceCaptures(this._contentName,t,n)}}class uy extends yr{constructor(n,r,o,i,s){super(n,r,o,i);b(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 fy extends yr{constructor(n,r,o,i,s){super(n,r,o,null);b(this,"_match");b(this,"captures");b(this,"_cachedCompiledPatterns");this._match=new ln(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 fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class va extends yr{constructor(n,r,o,i,s){super(n,r,o,i);b(this,"hasMissingPatterns");b(this,"patterns");b(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 fr,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class es extends yr{constructor(n,r,o,i,s,l,a,c,u,f){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"_end");b(this,"endHasBackReferences");b(this,"endCaptures");b(this,"applyEndPatternLast");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this._end=new ln(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 fr;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 wo extends yr{constructor(n,r,o,i,s,l,a,c,u){super(n,r,o,i);b(this,"_begin");b(this,"beginCaptures");b(this,"whileCaptures");b(this,"_while");b(this,"whileHasBackReferences");b(this,"hasMissingPatterns");b(this,"patterns");b(this,"_cachedCompiledPatterns");b(this,"_cachedCompiledWhilePatterns");this._begin=new ln(s,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new ln(a,mf),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 fr;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 fr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class Ae{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new uy(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new fy(t.$vscodeTextmateLocation,t.id,t.name,t.match,Ae._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=af({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new va(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Ae._compilePatterns(i,n,r))}return t.while?new wo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ae._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Ae._compileCaptures(t.whileCaptures||t.captures,n,r),Ae._compilePatterns(t.patterns,n,r)):new es(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ae._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Ae._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Ae._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=Ae.getCompiledRuleId(t[s],n,r)),o[l]=Ae.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=hf(l.include);switch(c.kind){case 0:case 1:a=Ae.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=Ae.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(a=Ae.getCompiledRuleId(h,n,p.repository))}else a=Ae.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=Ae.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof va||c instanceof es||c instanceof wo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class ln{constructor(t,n){b(this,"source");b(this,"ruleId");b(this,"hasAnchor");b(this,"hasBackReferences");b(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=ay.test(this.source)}clone(){return new ln(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 ya.lastIndex=0,this.source.replace(ya,(o,i)=>df(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 fr{constructor(){b(this,"_items");b(this,"_hasAnchors");b(this,"_cached");b(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 ba(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 ba(t,o,this._items.map(i=>i.ruleId))}}class ba{constructor(t,n,r){b(this,"regExps");b(this,"rules");b(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
|
+
`)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Eo{constructor(t,n,r){b(this,"_colorMap");b(this,"_defaults");b(this,"_root");b(this,"_cachedMatchRoot",new pf(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(hy(t),n)}static createFromParsedTheme(t,n){return gy(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=>dy(t.parent,i.parentScopes));return o?new gf(o.fontStyle,o.foreground,o.background):null}}class nn{constructor(t,n){b(this,"parent");b(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new nn(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new nn(n,t[r]);return n}push(t){return new nn(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 dy(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(py(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function py(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class gf{constructor(t,n,r){b(this,"fontStyle");b(this,"foregroundId");b(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function hy(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let l;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(s.scope)?l=s.scope:l=[""];let a=-1;if(typeof s.settings.fontStyle=="string"){a=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof s.settings.foreground=="string"&&_a(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&_a(s.settings.background)&&(u=s.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),m=h[h.length-1],v=null;h.length>1&&(v=h.slice(0,h.length-1),v.reverse()),n[r++]=new my(m,v,o,a,c,u)}}return n}class my{constructor(t,n,r,o,i,s){b(this,"scope");b(this,"parentScopes");b(this,"index");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=i,this.background=s}}function gy(e,t){e.sort((a,c)=>{let u=uf(a.scope,c.scope);return u!==0||(u=ff(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 _y(t),s=new gf(n,i.getId(r),i.getId(o)),l=new Qn(new dr(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 Eo(i,s,l)}class _y{constructor(t){b(this,"_isFrozen");b(this,"_lastColorId");b(this,"_id2color");b(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 dr{constructor(t,n,r,o,i){b(this,"scopeDepth");b(this,"parentScopes");b(this,"fontStyle");b(this,"foreground");b(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new dr(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 Qn{constructor(t,n=[],r={}){b(this,"_mainRule");b(this,"_children");b(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 Qn._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):Qn._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 Qn(this._mainRule.clone(),dr.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(ff(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 dr(t,n,r,o,i))}}class _i{constructor(t,n){b(this,"languageId");b(this,"tokenType");this.languageId=t,this.tokenType=n}}const _n=class _n{constructor(t,n){b(this,"_defaultAttributes");b(this,"_embeddedLanguagesMatcher");b(this,"_getBasicScopeAttributes",new pf(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new _i(n,r)}));this._defaultAttributes=new _i(t,8),this._embeddedLanguagesMatcher=new yy(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?_n._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(_n.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!")}};b(_n,"_NULL_SCOPE_METADATA",new _i(0,0)),b(_n,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let ts=_n;class yy{constructor(t){b(this,"values");b(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>df(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 wa{constructor(t,n){b(this,"stack");b(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function _f(e,t,n,r,o,i,s,l){const a=t.content.length;let c=!1,u=-1;if(s){const p=vy(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new wa(o,!0);d()}return new wa(o,!1);function d(){const p=by(e,t,n,r,o,u);if(!p){i.produce(o,a),c=!0;return}const h=p.captureIndices,m=p.matchedRuleId,v=h&&h.length>0?h[0].end>r:!1;if(m===cy){const E=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),Gn(e,t,n,o,i,E.endCaptures,h),i.produce(o,h[0].end);const C=o;if(o=o.parent,u=C.getAnchorPos(),!v&&C.getEnterPos()===r){o=C,i.produce(o,a),c=!0;return}}else{const E=e.getRule(m);i.produce(o,h[0].start);const C=o,y=E.getName(t.content,h),S=o.contentNameScopesList.pushAttributed(y,e);if(o=o.push(m,r,u,h[0].end===a,null,S,S),E instanceof es){const T=E;Gn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const x=T.getContentName(t.content,h),A=S.pushAttributed(x,e);if(o=o.withContentNameScopesList(A),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(E instanceof wo){const T=E;Gn(e,t,n,o,i,T.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const x=T.getContentName(t.content,h),A=S.pushAttributed(x,e);if(o=o.withContentNameScopesList(A),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!v&&C.hasSameRuleAs(o)){o=o.pop(),i.produce(o,a),c=!0;return}}else if(Gn(e,t,n,o,i,E.captures,h),i.produce(o,h[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function vy(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 wo&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Ty(a.rule,e,a.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==mf){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(a.stack,f.captureIndices[0].start),Gn(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 by(e,t,n,r,o,i){const s=wy(e,t,n,r,o,i),l=e.getInjections();if(l.length===0)return s;const a=Ey(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 wy(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:l,findOptions:a}=yf(s,e,o.endRule,n,r===i),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Ey(e,t,n,r,o,i,s){let l=Number.MAX_VALUE,a=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const m=t.getRule(h.ruleId),{ruleScanner:v,findOptions:E}=yf(m,t,null,r,o===s),C=v.findNextMatchSync(n,o,E);if(!C)continue;const y=C.captureIndices[0].start;if(!(y>=l)&&(l=y,a=C.captureIndices,c=C.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function yf(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Ty(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Gn(e,t,n,r,o,i,s){if(i.length===0)return;const l=t.content,a=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<a;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const m=d.getName(l,s),v=r.contentNameScopesList.pushAttributed(m,e),E=d.getContentName(l,s),C=v.pushAttributed(E,e),y=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,v,C),S=e.createOnigString(l.substring(0,p.end));_f(e,S,n&&p.start===0,p.start,y,o,!1,0),lf(S);continue}const h=d.getName(l,s);if(h!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new Cy(v,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Cy{constructor(t,n){b(this,"scopes");b(this,"endPos");this.scopes=t,this.endPos=n}}function xy(e,t,n,r,o,i,s,l){return new Py(e,t,n,r,o,i,s,l)}function Ea(e,t,n,r,o){const i=vo(t,To),s=Ae.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 To(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(Sy(t[o],r))return n=o+1,!0;return!1})}function Sy(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 Py{constructor(t,n,r,o,i,s,l,a){b(this,"_rootScopeName");b(this,"balancedBracketSelectors");b(this,"_onigLib");b(this,"_rootId");b(this,"_lastRuleId");b(this,"_ruleId2desc");b(this,"_includedGrammars");b(this,"_grammarRepository");b(this,"_grammar");b(this,"_injections");b(this,"_basicScopeAttributesProvider");b(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new ts(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Ta(n,null),this._injections=null,this._tokenTypeMatchers=[],i)for(const c of Object.keys(i)){const u=vo(c,To);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)Ea(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&&Ea(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]=Ta(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=Ae.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!n||n===pr.NULL){i=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=Dn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=Ve.createRootAndLookUpScopeName(p,d,this):h=Ve.createRoot("unknown",d),n=new pr(null,this._rootId,-1,-1,!1,null,h,h)}else i=!1,n.reset();t=t+`
|
|
25
|
+
`;const s=this.createOnigString(t),l=s.content.length,a=new Ry(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=_f(this,s,i,0,n,a,!0,o);return lf(s),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Ta(e,t){return e=Y0(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 Ve{constructor(t,n,r){b(this,"parent");b(this,"scopePath");b(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=nn.push(o,i.scopeNames),r=new Ve(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new Ve(null,new nn(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new nn(null,t),s=r.themeProvider.themeMatch(i),l=Ve.mergeAttributes(n,o,s);return new Ve(null,i,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Ve.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),Dn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Ve._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=Ve._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=Ve.mergeAttributes(t.tokenAttributes,o,s);return new Ve(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 wt=class wt{constructor(t,n,r,o,i,s,l,a){b(this,"parent");b(this,"ruleId");b(this,"beginRuleCapturedEOL");b(this,"endRule");b(this,"nameScopesList");b(this,"contentNameScopesList");b(this,"_stackElementBrand");b(this,"_enterPos");b(this,"_anchorPos");b(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:wt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ve.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(){wt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,l){return new wt(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 wt(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=Ve.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new wt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ve.fromExtension(r,n.contentNameScopesList))}};b(wt,"NULL",new wt(null,0,0,0,!1,null,null,null));let pr=wt;class Ay{constructor(t,n){b(this,"balancedBracketScopes");b(this,"unbalancedBracketScopes");b(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):vo(r,To).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>vo(r,To).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 Ry{constructor(t,n,r,o){b(this,"balancedBracketSelectors");b(this,"_emitBinaryTokens");b(this,"_lineText");b(this,"_tokens");b(this,"_binaryTokens");b(this,"_lastTokenEndIndex");b(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=Dn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(l))}if(s&&(i=Dn.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 Oy{constructor(t,n){b(this,"_onigLibPromise");b(this,"_grammars",new Map);b(this,"_rawGrammars",new Map);b(this,"_injectionGrammars",new Map);b(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,xy(t,s,n,r,o,i,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Ly=class{constructor(t){b(this,"_options");b(this,"_syncRegistry");b(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Oy(Eo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Eo.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 Ay(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,i){const s=new ty(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 ky=pr.NULL,Le={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 Et{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Le.LANGUAGEID_MASK)>>>Le.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Le.TOKEN_TYPE_MASK)>>>Le.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Le.FONT_STYLE_MASK)>>>Le.FONT_STYLE_OFFSET}static getForeground(t){return(t&Le.FOREGROUND_MASK)>>>Le.FOREGROUND_OFFSET}static getBackground(t){return(t&Le.BACKGROUND_MASK)>>>Le.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Le.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,i,s){let l=Et.getLanguageId(t),a=Et.getTokenType(t),c=Et.getFontStyle(t),u=Et.getForeground(t),f=Et.getBackground(t);const d=Et.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==rt.NotSet&&(c=o),i!==0&&(u=i),s!==0&&(f=s),(l<<Le.LANGUAGEID_OFFSET|a<<Le.TOKEN_TYPE_OFFSET|c<<Le.FONT_STYLE_OFFSET|d<<Le.BALANCED_BRACKETS_OFFSET|u<<Le.FOREGROUND_OFFSET|f<<Le.BACKGROUND_OFFSET)>>>0}}function Jo(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 vf(e){return!e||["plaintext","txt","text","plain"].includes(e)}function bf(e){return e==="ansi"||vf(e)}function wf(e){return e==="none"}function Ef(e){return wf(e)}function Tf(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 Iy(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 Ny(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?Iy(o,i):o})):e}function Xt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function Cf(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&rt.Italic&&(t["font-style"]="italic"),e.fontStyle&rt.Bold&&(t["font-weight"]="bold"),e.fontStyle&rt.Underline&&(t["text-decoration"]="underline")),t}function xf(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Dy(e){const t=Jo(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 Qt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],yi={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function $y(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 Ca(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 My(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)yi[o]&&t.push({type:"setDecoration",value:yi[o]});else if(o<=29){const i=yi[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Qt[o-30]}});else if(o===38){const[i,s]=Ca(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:Qt[o-40]}});else if(o===48){const[i,s]=Ca(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:Qt[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Qt[o-100+8]}})}return t}function Hy(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=$y(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=My(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 Vy={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function By(e=Vy){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<Qt.length;c++)r.push(t(Qt[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 jy(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=Jo(t),i=By(Object.fromEntries(Qt.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),s=Hy();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=Xt(c,r),u=Xt(u,r),a.decorations.has("dim")&&(c=Fy(c));let f=rt.None;return a.decorations.has("bold")&&(f|=rt.Bold),a.decorations.has("italic")&&(f|=rt.Italic),a.decorations.has("underline")&&(f|=rt.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function Fy(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 Ws(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(vf(r)||wf(o))return Jo(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return jy(i,t,n);const l=e.getLanguage(r);return Uy(t,l,i,s,n)}function Uy(e,t,n,r,o){const i={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:l=500}=o,a=Jo(e);let c=ky,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,m]=a[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:m,color:"",fontStyle:0}]);continue}let v,E,C;o.includeExplanation&&(v=t.tokenizeLine(h,c),E=v.tokens,C=0);const y=t.tokenizeLine2(h,c,l),S=y.tokens.length/2;for(let T=0;T<S;T++){const x=y.tokens[2*T],A=T+1<S?y.tokens[2*T+2]:h.length;if(x===A)continue;const H=y.tokens[2*T+1],B=Xt(r[Et.getForeground(H)],i),O=Et.getFontStyle(H),G={content:h.substring(x,A),offset:m+x,color:B,fontStyle:O};if(o.includeExplanation){G.explanation=[];let z=0;for(;x+z<A;){const oe=E[C],ce=h.substring(oe.startIndex,oe.endIndex);z+=ce.length,G.explanation.push({content:ce,scopes:Gy(n,oe.scopes)}),C+=1}}u.push(G)}f.push(u),u=[],c=y.ruleStack}return f}function Gy(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:zy(e,s,i)}}return n}function xa(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function Wy(e,t,n,r){if(!xa(e,n))return!1;let o=t.length-1,i=r.length-1;for(;o>=0&&i>=0;)xa(t[o],r[i])&&(o-=1),i-=1;return o===-1}function zy(e,t,n){const r=[];let o=0;for(let i=0,s=e.settings.length;i<s;i++){const l=e.settings[i];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);Wy(p,h,t,n)&&(r[o++]=l,c=u)}}return r}function Sf(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=qy(...r.map(s=>Ws(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:p,explanation:h,offset:m,...v}=f[l][c];u.variants[r[d].color]=v}),u}))}function qy(...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 Ie extends Error{constructor(t){super(t),this.name="ShikiError"}}function Co(e,t,n){let r,o,i,s,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(m=>m[1]).map(m=>({color:m[0],theme:m[1]})).sort((m,v)=>m.color===a?-1:v.color===a?1:0);if(f.length===0)throw new Ie("`themes` option must not be empty");const d=Sf(e,t,n);if(a&&!f.find(m=>m.color===a))throw new Ie(`\`themes\` option must contain the defaultColor key \`${a}\``);const p=f.map(m=>e.getTheme(m.theme)),h=f.map(m=>m.color);i=d.map(m=>m.map(v=>Ky(v,h,c,a))),o=f.map((m,v)=>(v===0&&a?"":`${c+m.color}:`)+(Xt(p[v].fg,u)||"inherit")).join(";"),r=f.map((m,v)=>(v===0&&a?"":`${c+m.color}-bg:`)+(Xt(p[v].bg,u)||"inherit")).join(";"),s=`shiki-themes ${p.map(m=>m.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const{colorReplacements:a}=n;i=Ws(e,t,n);const c=e.getTheme(n.theme);r=Xt(c.bg,a),o=Xt(c.fg,a),s=c.name}else throw new Ie("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:l}}function Ky(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(a=>Cf(e.variants[a])),s=new Set(i.flatMap(a=>Object.keys(a))),l=i.reduce((a,c,u)=>{for(const f of s){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`,h=n+t[u]+(f==="color"?"":p);a[f]?a[f]+=`;${h}:${d}`:a[f]=`${h}:${d}`}}return a},{});return o.htmlStyle=r?xf(l):Object.values(l).join(";"),o}function Jy(){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=Dy(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 Ie(`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 Ie(`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 Ny(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 Ie(`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,p,h,m){const v=i[d];let E="",C=-1,y=-1;function S(x){return x.type==="text"?x.value:x.type==="element"?x.children.map(S).join(""):""}if(p===0&&(C=0),h===0&&(y=0),h===Number.POSITIVE_INFINITY&&(y=v.children.length),C===-1||y===-1)for(let x=0;x<v.children.length;x++)E+=S(v.children[x]),C===-1&&E.length===p&&(C=x+1),y===-1&&E.length===h&&(y=x+1);if(C===-1)throw new Ie(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(y===-1)throw new Ie(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const T=v.children.slice(C,y);if(!m.alwaysWrap&&T.length===v.children.length)a(v,m,"line");else if(!m.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],m,"token");else{const x={type:"element",tagName:"span",properties:{},children:T};a(x,m,"wrapper"),v.children.splice(C,T.length,x)}}function l(d,p){i[d]=a(i[d],p,"line")}function a(d,p,h){var E;const m=p.properties||{},v=p.transform||(C=>C);return d.tagName=p.tagName||"span",d.properties={...d.properties,...m,class:d.properties.class},(E=p.properties)!=null&&E.class&&Tf(d,p.properties.class),d=v(d,h)||d,d}const c=[],u=o.decorations.sort((d,p)=>p.start.offset-d.start.offset);for(const d of u){const{start:p,end:h}=d;if(p.line===h.line)s(p.line,p.character,h.character,d);else if(p.line<h.line){s(p.line,p.character,Number.POSITIVE_INFINITY,d);for(let m=p.line+1;m<h.line;m++)c.unshift(()=>l(m,d));s(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const Yy=[Jy()];function xo(e){return[...e.transformers||[],...Yy]}function So(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>So(e,o,i),codeToTokens:(o,i)=>Co(e,o,i)}){var d,p;let o=t;for(const h of xo(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:l,themeName:a,rootStyle:c}=Co(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=Qy(i):u==="never"&&(i=Zy(i));const f={...r,get source(){return o}};for(const h of xo(n))i=((p=h.tokens)==null?void 0:p.call(f,i))||i;return Xy(i,{...n,fg:s,bg:l,themeName:a,rootStyle:c},f)}function Xy(e,t,n){var d,p,h;const r=xo(t),o=[],i={type:"root",children:[]},{structure:s="classic"}=t;let l={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([m])=>!m.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:o};const c=[],u={...n,structure:s,addClassToHast:Tf,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return l},get code(){return a},get lines(){return c}};if(e.forEach((m,v)=>{var y,S;v&&(s==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&o.push({type:"text",value:`
|
|
26
|
+
`}));let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},C=0;for(const T of m){let x={type:"element",tagName:"span",properties:{},children:[{type:"text",value:T.content}]};const A=T.htmlStyle||xf(Cf(T));A&&(x.properties.style=A);for(const H of r)x=((y=H==null?void 0:H.span)==null?void 0:y.call(u,x,v+1,C,E))||x;s==="inline"?i.children.push(x):s==="classic"&&E.children.push(x),C+=T.content.length}if(s==="classic"){for(const T of r)E=((S=T==null?void 0:T.line)==null?void 0:S.call(u,E,v+1))||E;c.push(E),o.push(E)}}),s==="classic"){for(const m of r)a=((d=m==null?void 0:m.code)==null?void 0:d.call(u,a))||a;l.children.push(a);for(const m of r)l=((p=m==null?void 0:m.pre)==null?void 0:p.call(u,l))||l;i.children.push(l)}let f=i;for(const m of r)f=((h=m==null?void 0:m.root)==null?void 0:h.call(u,f))||f;return f}function Qy(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const a=!(i.fontStyle&&i.fontStyle&rt.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 Zy(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 ev=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class vr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}vr.prototype.property={};vr.prototype.normal={};vr.prototype.space=null;function Pf(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 vr(n,r,t)}function ns(e){return e.toLowerCase()}class et{constructor(t,n){this.property=t,this.attribute=n}}et.prototype.space=null;et.prototype.boolean=!1;et.prototype.booleanish=!1;et.prototype.overloadedBoolean=!1;et.prototype.number=!1;et.prototype.commaSeparated=!1;et.prototype.spaceSeparated=!1;et.prototype.commaOrSpaceSeparated=!1;et.prototype.mustUseProperty=!1;et.prototype.defined=!1;let tv=0;const te=pn(),Ee=pn(),Af=pn(),I=pn(),he=pn(),Rn=pn(),qe=pn();function pn(){return 2**++tv}var rs=Object.freeze({__proto__:null,boolean:te,booleanish:Ee,commaOrSpaceSeparated:qe,commaSeparated:Rn,number:I,overloadedBoolean:Af,spaceSeparated:he});const vi=Object.keys(rs);class zs extends et{constructor(t,n,r,o){let i=-1;if(super(t,n),Sa(this,"space",o),typeof r=="number")for(;++i<vi.length;){const s=vi[i];Sa(this,vi[i],(r&rs[s])===rs[s])}}}zs.prototype.defined=!0;function Sa(e,t,n){n&&(e[t]=n)}const nv={}.hasOwnProperty;function Bn(e){const t={},n={};let r;for(r in e.properties)if(nv.call(e.properties,r)){const o=e.properties[r],i=new zs(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ns(r)]=r,n[ns(i.attribute)]=r}return new vr(t,n,e.space)}const Rf=Bn({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}}),Of=Bn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Lf(e,t){return t in e?e[t]:t}function kf(e,t){return Lf(e,t.toLowerCase())}const If=Bn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:kf,properties:{xmlns:null,xmlnsXLink:null}}),Nf=Bn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ee,ariaAutoComplete:null,ariaBusy:Ee,ariaChecked:Ee,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:he,ariaCurrent:null,ariaDescribedBy:he,ariaDetails:null,ariaDisabled:Ee,ariaDropEffect:he,ariaErrorMessage:null,ariaExpanded:Ee,ariaFlowTo:he,ariaGrabbed:Ee,ariaHasPopup:null,ariaHidden:Ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:he,ariaLevel:I,ariaLive:null,ariaModal:Ee,ariaMultiLine:Ee,ariaMultiSelectable:Ee,ariaOrientation:null,ariaOwns:he,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:Ee,ariaReadOnly:Ee,ariaRelevant:null,ariaRequired:Ee,ariaRoleDescription:he,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:Ee,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),rv=Bn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:kf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Rn,acceptCharset:he,accessKey:he,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:he,autoFocus:te,autoPlay:te,blocking:he,capture:null,charSet:null,checked:te,cite:null,className:he,cols:I,colSpan:null,content:null,contentEditable:Ee,controls:te,controlsList:he,coords:I|Rn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:Af,draggable:Ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:he,height:I,hidden:te,high:I,href:null,hrefLang:null,htmlFor:he,httpEquiv:he,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:he,itemRef:he,itemScope:te,itemType:he,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,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:te,optimum:I,pattern:null,ping:he,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:he,required:te,reversed:te,rows:I,rowSpan:I,sandbox:he,scope:null,scoped:te,seamless:te,selected:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:Ee,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:te,useMap:null,value:Ee,width:I,wrap:null,align:null,aLink:null,archive:he,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:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:Ee,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:te,disableRemotePlayback:te,prefix:null,property:null,results:I,security:null,unselectable:null}}),ov=Bn({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:Lf,properties:{about:qe,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:he,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:te,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:Rn,g2:Rn,glyphName:Rn,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:qe,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:he,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qe,rev:qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qe,requiredFeatures:qe,requiredFonts:qe,requiredFormats:qe,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:qe,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:qe,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:qe,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}}),iv=/^data[-\w.:]+$/i,Pa=/-[a-z]/g,sv=/[A-Z]/g;function lv(e,t){const n=ns(t);let r=t,o=et;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&iv.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Pa,cv);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Pa.test(i)){let s=i.replace(sv,av);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=zs}return new o(r,t)}function av(e){return"-"+e.toLowerCase()}function cv(e){return e.charAt(1).toUpperCase()}const uv=Pf([Of,Rf,If,Nf,rv],"html"),Df=Pf([Of,Rf,If,Nf,ov],"svg"),Aa={}.hasOwnProperty;function fv(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const l=r.handlers;if(o&&Aa.call(o,e)){const a=String(o[e]);s=Aa.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 dv(e,t){if(e=e.replace(t.subset?pv(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 pv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function hv(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function mv(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const gv=["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"],bi={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:"€"},_v=["cent","copy","divide","gt","lt","not","para","times"],$f={}.hasOwnProperty,os={};let Dr;for(Dr in bi)$f.call(bi,Dr)&&(os[bi[Dr]]=Dr);function yv(e,t,n,r){const o=String.fromCharCode(e);if($f.call(os,o)){const i=os[o],s="&"+i;return n&&gv.includes(i)&&!_v.includes(i)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?s:s+";"}return""}function vv(e,t,n){let r=hv(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=yv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=mv(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function On(e,t){return dv(e,Object.assign({format:vv},t))}const bv=/^>|^->|<!--|-->|--!>|<!-$/g,wv=[">"],Ev=["<",">"];function Tv(e,t,n,r){return r.settings.bogusComments?"<?"+On(e.value,Object.assign({},r.settings.characterReferences,{subset:wv}))+">":"<!--"+e.value.replace(bv,o)+"-->";function o(i){return On(i,Object.assign({},r.settings.characterReferences,{subset:Ev}))}}function Cv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Ra(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 xv(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Sv(e){return e.join(" ").trim()}const Pv=/[ \t\n\f\r]/g;function qs(e){return typeof e=="object"?e.type==="text"?Oa(e.value):!1:Oa(e)}function Oa(e){return e.replace(Pv,"")===""}const Se=Hf(1),Mf=Hf(-1),Av=[];function Hf(e){return t;function t(n,r,o){const i=n?n.children:Av;let s=(r||0)+e,l=i[s];if(!o)for(;l&&qs(l);)s+=e,l=i[s];return l}}const Rv={}.hasOwnProperty;function Vf(e){return t;function t(n,r,o){return Rv.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ks=Vf({body:Lv,caption:wi,colgroup:wi,dd:Dv,dt:Nv,head:wi,html:Ov,li:Iv,optgroup:$v,option:Mv,p:kv,rp:La,rt:La,tbody:Vv,td:ka,tfoot:Bv,th:ka,thead:Hv,tr:jv});function wi(e,t,n){const r=Se(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&qs(r.value.charAt(0)))}function Ov(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function Lv(e,t,n){const r=Se(n,t);return!r||r.type!=="comment"}function kv(e,t,n){const r=Se(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 Iv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Nv(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Dv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function La(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function $v(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Mv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Hv(e,t,n){const r=Se(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Vv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Bv(e,t,n){return!Se(n,t)}function jv(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function ka(e,t,n){const r=Se(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Fv=Vf({body:Wv,colgroup:zv,head:Gv,html:Uv,tbody:qv});function Uv(e){const t=Se(e,-1);return!t||t.type!=="comment"}function Gv(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 Wv(e){const t=Se(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&qs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function zv(e,t,n){const r=Mf(n,t),o=Se(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ks(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function qv(e,t,n){const r=Mf(n,t),o=Se(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ks(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const $r={name:[[`
|
|
27
27
|
\f\r &/=>`.split(""),`
|
|
28
28
|
\f\r "&'/=>\``.split("")],[`\0
|
|
29
29
|
\f\r "&'/<=>`.split(""),`\0
|
|
@@ -31,6 +31,6 @@ var Zf=Object.defineProperty;var ed=(e,t,n)=>t in e?Zf(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 Wv(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=Df);const c=zv(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!Vv(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||!Ks(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function zv(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=qv(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 qv(e,t,n){const r=lv(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=On(r.attribute,Object.assign({},e.settings.characterReferences,{subset:$r.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Ev:Tv)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=On(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:$r.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&Ra(n,s)>Ra(n,e.alternative)&&(s=e.alternative),l=s+On(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?$r.single:$r.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}function Bf(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:On(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function Kv(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Bf(e,t,n,r)}function Jv(e,t,n,r){return r.all(e)}const Yv=fv("type",{invalid:Xv,unknown:Qv,handlers:{comment:bv,doctype:wv,element:Wv,raw:Kv,root:Jv,text:Bf}});function Xv(e){throw new Error("Expected node, not `"+e+"`")}function Qv(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Zv={},eb={},tb=[];function nb(e,t){const n=t||Zv,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:rb,all:ob,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||ev,characterReferences:n.characterReferences||eb,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Df:uv,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function rb(e,t,n){return Yv(e,t,n,this)}function ob(e){const t=[],n=e&&e.children||tb;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ib(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>So(e,s,l),codeToTokens:(s,l)=>Co(e,s,l)};let o=nb(So(e,t,n,r));for(const s of xo(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function sb(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,p,h){r.HEAPU8.copyWithin(d,p,p+h)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const h=l();if(d>h)return!1;const g=(v,E)=>v+(E-v%E)%E;for(let v=1;v<=4;v*=2){let E=p*(1+.2/v);E=Math.min(E,d+100663296);const C=Math.min(h,g(Math.max(d,E),65536));if(a(C))return!0}return!1}const u={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let Re=null,lb=!1;function ab(e){throw new Ie(e.UTF8ToString(e.getLastOnigError()))}class Yo{constructor(t){b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16Value");b(this,"utf8Value");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");const n=t.length,r=Yo._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Be=class Be{constructor(t){b(this,"id",++Be.LAST_ID);b(this,"_onigBinding");b(this,"content");b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");b(this,"ptr");if(!Re)throw new Ie("Must invoke loadWasm first.");this._onigBinding=Re,this.content=t;const n=new Yo(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Be._sharedPtrInUse?(Be._sharedPtr||(Be._sharedPtr=Re.omalloc(1e4)),Be._sharedPtrInUse=!0,Re.HEAPU8.set(n.utf8Value,Be._sharedPtr),this.ptr=Be._sharedPtr):this.ptr=n.createString(Re)}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===Be._sharedPtr?Be._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};b(Be,"LAST_ID",0),b(Be,"_sharedPtr",0),b(Be,"_sharedPtrInUse",!1);let Po=Be;class cb{constructor(t){b(this,"_onigBinding");b(this,"_ptr");if(!Re)throw new Ie("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Yo(t[l]);n[l]=c.createString(Re),r[l]=c.utf8Length}const o=Re.omalloc(4*t.length);Re.HEAPU32.set(n,o/4);const i=Re.omalloc(4*t.length);Re.HEAPU32.set(r,i/4);const s=Re.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)Re.ofree(n[l]);Re.ofree(i),Re.ofree(o),s===0&&ab(Re),this._onigBinding=Re,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=lb,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Po(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),h=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function ub(e){return typeof e.instantiator=="function"}function fb(e){return typeof e.default=="function"}function db(e){return typeof e.data<"u"}function pb(e){return typeof Response<"u"&&e instanceof Response}function hb(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 Mr;function mb(e){if(Mr)return Mr;async function t(){Re=await sb(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),ub(r)?r=await r.instantiator(n):fb(r)?r=await r.default(n):(db(r)&&(r=r.data),pb(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await _b(r)(n):r=await yb(r)(n):hb(r)&&(r=await gb(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Mr=t(),Mr}function gb(e){return t=>WebAssembly.instantiate(e,t)}function _b(e){return t=>WebAssembly.instantiateStreaming(e,t)}function yb(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function vb(e){return new Po(e)}function bb(e){return new cb(e)}const Ia={light:"#333333",dark:"#bbbbbb"},Na={light:"#fffffe",dark:"#1e1e1e"},Da="__shiki_resolved";function jf(e){var l,a,c,u,f;if(e!=null&&e[Da])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Ia.light:Ia.dark),n||(n=t.type==="light"?Na.light:Na.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 h;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var v,E;const p=((v=d.settings)==null?void 0:v.foreground)&&!d.settings.foreground.startsWith("#"),h=((E=d.settings)==null?void 0:E.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const g={...d,settings:{...d.settings}};if(p){const C=s(d.settings.foreground);t.colorReplacements[C]=d.settings.foreground,g.settings.foreground=C}if(h){const C=s(d.settings.background);t.colorReplacements[C]=d.settings.background,g.settings.background=C}return g});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,Da,{enumerable:!1,writable:!1,value:!0}),t}class wb extends Ly{constructor(n,r,o,i={}){super(n);b(this,"_resolver");b(this,"_themes");b(this,"_langs");b(this,"_alias");b(this,"_resolvedThemes",{});b(this,"_resolvedGrammars",{});b(this,"_langMap",{});b(this,"_langGraph",new Map);b(this,"_textmateThemeCache",new WeakMap);b(this,"_loadedThemesCache",null);b(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=i,r.forEach(s=>this.loadTheme(s)),o.forEach(s=>this.loadLanguage(s))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=jf(n);return r.name&&(this._resolvedThemes[r.name]=r,this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=Eo.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}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 Ie(`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}),this._loadedLanguagesCache=null,r.size)for(const u of r)delete this._resolvedGrammars[u.name],this._loadedLanguagesCache=null,(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 Ie(`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 this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}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 Eb{constructor(t,n){b(this,"_langs",new Map);b(this,"_scopeToLang",new Map);b(this,"_injections",new Map);b(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 Tb;async function Cb(e={}){async function t(v){return Promise.resolve(typeof v=="function"?v():v).then(E=>E.default||E)}async function n(v){return Array.from(new Set((await Promise.all(v.filter(E=>!bf(E)).map(async E=>await t(E).then(C=>Array.isArray(C)?C:[C])))).flat()))}const r=e.loadWasm||Tb,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(v=>v.map(jf)),n(e.langs||[]),r?mb(r):void 0]),s=new Eb(Promise.resolve({createOnigScanner(v){return bb(v)},createOnigString(v){return vb(v)}}),i),l=new wb(s,o,i,e.langAlias);await l.init();let a;function c(v){const E=l.getGrammar(typeof v=="string"?v:v.name);if(!E)throw new Ie(`Language \`${v}\` not found, you may need to load it first`);return E}function u(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const E=l.getTheme(v);if(!E)throw new Ie(`Theme \`${v}\` not found, you may need to load it first`);return E}function f(v){const E=u(v);a!==v&&(l.setTheme(E),a=v);const C=l.getColorMap();return{theme:E,colorMap:C}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function h(...v){await l.loadLanguages(await n(v))}async function g(...v){await Promise.all(v.map(async E=>Ef(E)?null:l.loadTheme(await t(E))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:p,loadLanguage:h,loadTheme:g}}async function xb(e={}){const t=await Cb(e);return{codeToTokensBase:(n,r)=>Ws(t,n,r),codeToTokensWithThemes:(n,r)=>Sf(t,n,r),codeToTokens:(n,r)=>Co(t,n,r),codeToHast:(n,r)=>So(t,n,r),codeToHtml:(n,r)=>ib(t,n,r),...t,getInternalContext:()=>t}}function Sb(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(bf(u))return[];const f=e[u];if(!f)throw new Ie(`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(Ef(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ie(`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 xb({...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 Pb=Sb(W0,K0,z0);let Ab;const Fn=[];function Rb(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 Ab.value},configurable:!0}),()=>{Fn.splice(Fn.indexOf(e),1)}}const He=ve(null);async function Ff(){is.value&&(He.value=await is.value("/__sitemap__/debug.json"))}const is=ve(),Uf=ve(),Gf=ve();Rb(async e=>{is.value=e.host.app.$fetch,Tc(()=>{Gf.value=e.host.app.colorMode.value}),Uf.value=e.devtools,Ff()});const Wf=ve();function Ob(){return Pb({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Wf.value=e})}function zf(e,t){return Ue(()=>{var r;const n=((r=Uf.value)==null?void 0:r.colorMode)||"light";return Wf.value.codeToHtml(Bd(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Lb=["innerHTML"],qf=We({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=Ue(()=>{const r=zf(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(j(),Z("pre",{class:Te(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Lb))}}),kb={flex:"~ gap-3","items-center":""},Ib=We({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(j(),Z("div",kb,[t.icon?(j(),Z("div",{key:0,class:Te(t.icon)},null,2)):ke("",!0),Fe(t.$slots,"default",{},()=>[N("div",null,De(t.text),1)])]))}});function Nb(e){return Ka()?(_d(e),!0):!1}function Js(e){return typeof e=="function"?e():ne(e)}const Db=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $b=e=>typeof e<"u",Mb=Object.prototype.toString,Hb=e=>Mb.call(e)==="[object Object]",Vb=()=>{};function Bb(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Kf=e=>e();function jb(e=Kf){const t=ve(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:gs(t),pause:n,resume:r,eventFilter:o}}function Fb(e){return e||Mn()}function Ub(e,t,n={}){const{eventFilter:r=Kf,...o}=n;return dt(e,Bb(r,t),o)}function Gb(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:l,isActive:a}=jb(r);return{stop:Ub(e,t,{...o,eventFilter:i}),pause:s,resume:l,isActive:a}}function Wb(e,t=!0,n){Fb()?Mo(e,n):t?e():fn(e)}function zb(e){var t;const n=Js(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ao=Db?window:void 0;function $a(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Ao):[t,n,r,o]=e,!t)return Vb;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),a=dt(()=>[zb(t),Js(o)],([u,f])=>{if(s(),!u)return;const d=Hb(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(h=>l(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{a(),s()};return Nb(c),c}function qb(e){return JSON.parse(JSON.stringify(e))}const Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vr="__vueuse_ssr_handlers__",Kb=Jb();function Jb(){return Vr in Hr||(Hr[Vr]=Hr[Vr]||{}),Hr[Vr]}function Yb(e,t){return Kb[e]||t}function Xb(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Qb={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ma="vueuse-storage";function Zb(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:f=Ao,eventFilter:d,onError:p=O=>{console.error(O)},initOnMounted:h}=r,g=(u?xi:ve)(typeof t=="function"?t():t);if(!n)try{n=Yb("getDefaultStorage",()=>{var O;return(O=Ao)==null?void 0:O.localStorage})()}catch(O){p(O)}if(!n)return g;const v=Js(t),E=Xb(v),C=(o=r.serializer)!=null?o:Qb[E],{pause:y,resume:x}=Gb(g,()=>S(g.value),{flush:i,deep:s,eventFilter:d});f&&l&&Wb(()=>{$a(f,"storage",H),$a(f,Ma,B),h&&H()}),h||H();function T(O,G){f&&f.dispatchEvent(new CustomEvent(Ma,{detail:{key:e,oldValue:O,newValue:G,storageArea:n}}))}function S(O){try{const G=n.getItem(e);if(O==null)T(G,null),n.removeItem(e);else{const z=C.write(O);G!==z&&(n.setItem(e,z),T(G,z))}}catch(G){p(G)}}function A(O){const G=O?O.newValue:n.getItem(e);if(G==null)return a&&v!=null&&n.setItem(e,C.write(v)),v;if(!O&&c){const z=C.read(G);return typeof c=="function"?c(z,v):E==="object"&&!Array.isArray(z)?{...v,...z}:z}else return typeof G!="string"?G:C.read(G)}function H(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){g.value=v;return}if(!(O&&O.key!==e)){y();try{(O==null?void 0:O.newValue)!==C.write(g.value)&&(g.value=A(O))}catch(G){p(G)}finally{O?fn(x):x()}}}}function B(O){H(O.detail)}return g}function e1(e,t,n={}){const{window:r=Ao}=n;return Zb(e,t,r==null?void 0:r.localStorage,n)}function t1(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=Mn(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const v=y=>l?typeof l=="function"?l(y):qb(y):y,E=()=>$b(e[t])?v(e[t]):f,C=y=>{d?d(y)&&h(g,y):h(g,y)};if(a){const y=E(),x=ve(y);let T=!1;return dt(()=>e[t],S=>{T||(T=!0,x.value=v(S),fn(()=>T=!1))}),dt(x,S=>{!T&&(S!==e[t]||u)&&C(S)},{deep:u}),x}else return Ue({get(){return E()},set(y){C(y)}})}const Jf=e=>(yc("data-v-348c1d92"),e=e(),vc(),e),n1=["open"],r1={"text-base":""},o1={key:0,"text-sm":"",op50:""},i1=Jf(()=>N("div",{class:"flex-auto"},null,-1)),s1=Jf(()=>N("div",{class:"x-divider"},null,-1)),l1=We({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=t1(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Us,l=Ib;return j(),Z(_e,null,[N("details",{open:ne(n),onToggle:r},[N("summary",{class:Te(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[W(l,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Te([ne(n)?"op100":"op60",o.headerClass])},{default:re(()=>[N("div",null,[N("div",r1,[Fe(o.$slots,"text",{},()=>[se(De(o.text),1)],!0)]),o.description||o.$slots.description?(j(),Z("div",o1,[Fe(o.$slots,"description",{},()=>[se(De(o.description),1)],!0)])):ke("",!0)]),i1,Fe(o.$slots,"actions",{},void 0,!0),o.collapse?(j(),ye(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):ke("",!0)]),_:3},8,["icon","text","class"])],2),N("div",{class:Te(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Fe(o.$slots,"details",{},void 0,!0),N("div",{class:Te([o.containerClass,"mt1"])},[Fe(o.$slots,"default",{},void 0,!0)],2),Fe(o.$slots,"footer",{},void 0,!0)],2)],40,n1),s1],64)}}}),Yf=Ko(l1,[["__scopeId","data-v-348c1d92"]]),a1={class:"flex space-x-5"},c1={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},u1={key:0,class:"flex space-x-2"},f1={key:0,class:"opacity-60 text-sm"},d1={class:"flex items-center space-x-3"},p1={key:0},h1={key:1,class:"text-xs mt-1 opacity-70"},m1={key:0},g1={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},_1=N("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1),y1={class:"list-disc ml-5"},v1=["innerHTML"],b1=We({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=Ue(()=>{var i;const o=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return o.includes("http")?o:Hn(((i=He.value)==null?void 0:i.nitroOrigin)||"localhost",o)});function r(o){return o.replace(/`([^`]+)`/g,"<code>$1</code>")}return(o,i)=>{const s=Us,l=nf,a=of,c=qf,u=Yf;return j(),ye(u,null,{text:re(()=>[N("div",a1,[N("h3",c1,[o.source.fetch?(j(),Z("div",u1,[W(s,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),o.source.timeTakenMs?(j(),Z("div",f1,De(o.source.timeTakenMs)+"ms ",1)):ke("",!0)])):ke("",!0),N("div",null,De(o.source.context.name),1),N("div",null,[W(l,null,{default:re(()=>{var f;return[se(De(((f=o.source.urls)==null?void 0:f.length)||0),1)]}),_:1})])])])]),description:re(()=>[N("div",d1,[o.source.fetch?(j(),Z("div",p1,[W(a,{href:ne(n),target:"_blank"},{default:re(()=>[se(De(o.source.fetch),1)]),_:1},8,["href"])])):ke("",!0),o.source.context.description?(j(),Z("div",h1,De(o.source.context.description),1)):ke("",!0)])]),default:re(()=>{var f;return[o.source.error?(j(),Z("div",m1,[W(s,{icon:"carbon:warning",class:"text-red-500"}),se(" "+De(o.source.error),1)])):(j(),ye(c,{key:1,class:"max-h-[250px] overflow-y-auto",code:JSON.stringify(o.source.urls,null,2),lang:"json"},null,8,["code"])),(f=o.source.context.tips)!=null&&f.length?(j(),Z("div",g1,[_1,N("ul",y1,[(j(!0),Z(_e,null,gn(o.source.context.tips,(d,p)=>(j(),Z("li",{key:p,class:"text-sm opacity-80 mb-1",innerHTML:r(d)},null,8,v1))),128))])])):ke("",!0)]}),_:1})}}}),w1={class:"relative n-bg-base flex flex-col"},E1={class:"sticky top-0 z-2 px-4 pt-4"},T1={class:"flex justify-between items-start",mb2:""},C1={class:"flex space-x-5"},x1={"text-xl":"",flex:"","items-center":"","gap-2":""},S1={class:"flex items-center space-x-3 text-xl"},P1={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},A1={class:"px-5 py-2"},R1={"text-lg":"",flex:"","items-center":""},O1={class:"px-5 py-2"},L1={"text-lg":"",flex:"","items-center":""},k1={class:"px-5 py-2"},I1={"text-lg":"",flex:"","items-center":""},N1={class:"px-5 py-2"},D1={"text-lg":"",flex:"","items-center":""},$1={class:"px-5 py-2"},M1={"text-lg":"",flex:"","items-center":""},H1=["value","title"],V1={class:"items-center space-x-3 hidden lg:flex"},B1={class:"opacity-80 text-sm"},j1={class:"opacity-80 text-sm"},F1={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},U1={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},G1={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},W1={key:0,class:"space-y-5"},z1=N("div",null,[N("h2",{class:"text-lg mb-1"}," Sitemaps "),N("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1),q1={class:"opacity-80 text-base mb-1"},K1={class:"px-3 py-2 space-y-5"},J1={key:0},Y1=N("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1),X1={class:"text-sm opacity-70"},Q1={key:0,class:"flex space-x-5"},Z1=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[se(" Local sources associated with just this sitemap."),N("br"),se("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1),ew={class:"flex-grow"},tw={class:"flex space-x-5"},nw=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," App Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[se(" Configured with the "),N("code",null,"includeAppSources"),se(" option. ")])],-1),rw={class:"flex-grow flex flex-col justify-center"},ow={key:0,class:"opacity-70"},iw={key:1,class:"opacity-70"},sw={class:"opacity-50 text-xs mt-2"},lw={class:"flex space-x-5"},aw=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sitemap Options "),N("div",{class:"opacity-40 text-xs max-w-60"}," Extra options used to filter the URLs on the final sitemap and set defaults. ")],-1),cw={class:"n-bg-base/20 flex-grow"},uw={key:1,class:"space-y-5"},fw=N("div",null,[N("h2",{class:"text-lg mb-1"}," App Sources "),N("p",{"text-xs":"",op60:""}," Automatic global sources generated from your application. ")],-1),dw={key:2,class:"space-y-5"},pw=N("div",null,[N("h2",{class:"text-lg mb-1"}," User Sources "),N("p",{"text-xs":"",op60:""}," Manually provided global sources provided by you. ")],-1),hw={key:3,class:"h-full max-h-full overflow-hidden"},mw={class:"opacity-80 text-base mb-1"},gw={class:"px-3 py-2 space-y-5"},_w=["innerHTML"],yw={key:4,class:"h-full max-h-full overflow-hidden"},vw=N("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),bw=[vw],ww=We({__name:"app",async setup(e){let t,n;[t,n]=Tp(()=>Ob()),await t,n();const r=ve(!1);async function o(){r.value=!0,He.value=null,await Ff(),setTimeout(()=>{r.value=!1},300)}const i=e1("@nuxtjs/sitemap:tab","sitemaps");function s(f){return He.value?f==="sitemap"||f==="sitemap.xml"?`${He.value.nitroOrigin}sitemap.xml`:f==="index"?`${He.value.nitroOrigin}sitemap_index.xml`:`${He.value.nitroOrigin}${f}-sitemap.xml`:""}function l(f){const d={};return Object.entries(f).forEach(([p,h])=>{h!==void 0&&(!Array.isArray(h)||h.length>0)&&p!=="includeAppSources"&&(d[p]=h)}),d}Bg({htmlAttrs:{class:()=>Gf.value||""}});const a=Ue(()=>{var f,d;return((d=(f=He.value)==null?void 0:f.runtimeConfig)==null?void 0:d.excludeAppSources)||[]}),c=Ue(()=>{var f;return(((f=He.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="app")}),u=Ue(()=>{var f;return(((f=He.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="user")});return(f,d)=>{var S;const p=Us,h=nf,g=on("VTooltip"),v=of,E=$0,C=F0,y=b1,x=qf,T=Yf;return j(),Z("div",w1,[N("header",E1,[N("div",T1,[N("div",C1,[N("h1",x1,[W(p,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),se(" Sitemap "),W(h,{class:"text-sm"},{default:re(()=>{var A,H;return[se(De((H=(A=ne(He))==null?void 0:A.runtimeConfig)==null?void 0:H.version),1)]}),_:1})])]),N("div",S1,[N("fieldset",P1,[(j(),Z(_e,null,gn(["sitemaps","user-sources","app-sources","debug","docs"],(A,H)=>N("label",{key:H,class:Te(["relative n-border-base hover:n-bg-active cursor-pointer",[H?"border-l n-border-base ml--1px":"",A===ne(i)?"n-bg-active":""]])},[A==="sitemaps"?(j(),Z("div",{key:0,class:Te([A===ne(i)?"":"op35"])},[W(g,null,{popper:re(()=>[se(" Sitemaps ")]),default:re(()=>[N("div",A1,[N("h2",R1,[W(p,{icon:"carbon:load-balancer-application opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>{var B;return[se(De(Object.keys(((B=ne(He))==null?void 0:B.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):ke("",!0),A==="user-sources"?(j(),Z("div",{key:1,class:Te([A===ne(i)?"":"op35"])},[W(g,null,{popper:re(()=>[se(" User Sources ")]),default:re(()=>[N("div",O1,[N("h2",L1,[W(p,{icon:"carbon:group-account opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>[se(De(u.value.length),1)]),_:1})])])]),_:1})],2)):ke("",!0),A==="app-sources"?(j(),Z("div",{key:2,class:Te([A===ne(i)?"":"op35"])},[W(g,null,{popper:re(()=>[se(" App Sources ")]),default:re(()=>[N("div",k1,[N("h2",I1,[W(p,{icon:"carbon:bot opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>[se(De(c.value.length),1)]),_:1})])])]),_:1})],2)):A==="debug"?(j(),Z("div",{key:3,class:Te([A===ne(i)?"":"op35"])},[W(g,null,{popper:re(()=>[se(" Debug ")]),default:re(()=>[N("div",N1,[N("h2",D1,[W(p,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):A==="docs"?(j(),Z("div",{key:4,class:Te([A===ne(i)?"":"op35"])},[W(g,null,{popper:re(()=>[se(" Documentation ")]),default:re(()=>[N("div",$1,[N("h2",M1,[W(p,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):ke("",!0),hp(N("input",{"onUpdate:modelValue":d[0]||(d[0]=B=>Oe(i)?i.value=B:null),type:"radio",value:A,title:A,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,H1),[[bh,ne(i)]])],2)),64))]),W(g,null,{popper:re(()=>[se(" Refresh ")]),default:re(()=>[N("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:o},[W(p,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),N("div",V1,[N("div",B1,[W(v,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:re(()=>[W(p,{icon:"carbon:favorite",class:"mr-[2px]"}),se(" Sponsor ")]),_:1})]),N("div",j1,[W(v,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:re(()=>[W(p,{icon:"logos:github-icon",class:"mr-[2px]"}),se(" Submit an issue ")]),_:1})]),N("a",F1,[W(E)])])])]),N("div",U1,[N("main",G1,[!((S=ne(He))!=null&&S.globalSources)||r.value?(j(),ye(C,{key:0})):(j(),Z(_e,{key:1},[ne(i)==="sitemaps"?(j(),Z("div",W1,[z1,(j(!0),Z(_e,null,gn(ne(He).sitemaps,(A,H)=>(j(),ye(T,{key:H},{text:re(()=>[N("h3",q1,[se(De(A.sitemapName)+" ",1),(A.sources||[]).some(B=>!!B.error)?(j(),ye(p,{key:0,icon:"carbon:warning",class:"text-red-500"})):ke("",!0)])]),description:re(()=>[W(v,{target:"_blank",href:s(A.sitemapName)},{default:re(()=>[se(De(s(A.sitemapName)),1)]),_:2},1032,["href"])]),default:re(()=>[N("div",K1,[A.sitemapName==="index"?(j(),Z("div",J1,[Y1,N("div",X1,[se(" You can learn about this on the "),W(v,{underline:"",target:"_blank",href:"https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps"},{default:re(()=>[se(" Google Search Central ")]),_:1}),se(". ")])])):(j(),Z(_e,{key:1},[A.sources&&A.sources.length?(j(),Z("div",Q1,[Z1,N("div",ew,[(j(!0),Z(_e,null,gn(A.sources,(B,O)=>(j(),ye(y,{key:O,source:B},null,8,["source"]))),128))])])):ke("",!0),N("div",tw,[nw,N("div",rw,[A.includeAppSources&&a.value!==!0?(j(),Z("div",ow,[W(p,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),se(" Enabled ")])):(j(),Z("div",iw,[W(p,{icon:"carbon:close",class:"text-red-500 text-lg"}),se(" Disabled ")])),N("div",sw,[se(" Switch to "),W(v,{underline:"",class:"cursor-pointer",onClick:d[1]||(d[1]=B=>i.value="app-sources")},{default:re(()=>[se(" App sources ")]),_:1}),se(" to learn more. ")])])]),N("div",lw,[aw,N("div",cw,[W(x,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(l(A),null,2),lang:"json"},null,8,["code"])])])],64))])]),_:2},1024))),128))])):ne(i)==="app-sources"?(j(),Z("div",uw,[fw,(j(!0),Z(_e,null,gn(c.value,(A,H)=>(j(),ye(y,{key:H,source:A},null,8,["source"]))),128))])):ne(i)==="user-sources"?(j(),Z("div",dw,[pw,(j(!0),Z(_e,null,gn(u.value,(A,H)=>(j(),ye(y,{key:H,source:A},null,8,["source"]))),128))])):ne(i)==="debug"?(j(),Z("div",hw,[W(T,null,{text:re(()=>[N("h3",mw,[W(p,{icon:"carbon:settings",class:"mr-1"}),se(" Runtime Config ")])]),default:re(()=>{var A;return[N("div",gw,[N("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:ne(zf)(JSON.stringify((A=ne(He))==null?void 0:A.runtimeConfig,null,2),"json").value},null,8,_w)])]}),_:1})])):ne(i)==="docs"?(j(),Z("div",yw,bw)):ke("",!0)],64))])])])}}}),Ew={__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 Kv(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=Df);const c=Jv(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!Fv(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||!Ks(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function Jv(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Yv(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 Yv(e,t,n){const r=lv(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=On(r.attribute,Object.assign({},e.settings.characterReferences,{subset:$r.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?xv:Sv)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=On(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:$r.unquoted[o][i]}))),l!==n&&(e.settings.quoteSmart&&Ra(n,s)>Ra(n,e.alternative)&&(s=e.alternative),l=s+On(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?$r.single:$r.double)[o][i],attribute:!0}))+s),a+(l&&"="+l))}const Xv=["<","&"];function Bf(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:On(e.value,Object.assign({},r.settings.characterReferences,{subset:Xv}))}function Qv(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Bf(e,t,n,r)}function Zv(e,t,n,r){return r.all(e)}const eb=fv("type",{invalid:tb,unknown:nb,handlers:{comment:Tv,doctype:Cv,element:Kv,raw:Qv,root:Zv,text:Bf}});function tb(e){throw new Error("Expected node, not `"+e+"`")}function nb(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const rb={},ob={},ib=[];function sb(e,t){const n=t||rb,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:lb,all:ab,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||ev,characterReferences:n.characterReferences||ob,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Df:uv,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function lb(e,t,n){return eb(e,t,n,this)}function ab(e){const t=[],n=e&&e.children||ib;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function cb(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,l)=>So(e,s,l),codeToTokens:(s,l)=>Co(e,s,l)};let o=sb(So(e,t,n,r));for(const s of xo(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}async function ub(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(){return typeof performance<"u"?performance.now():Date.now()}function s(d,p,h){r.HEAPU8.copyWithin(d,p,p+h)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const h=l();if(d>h)return!1;const m=(v,E)=>v+(E-v%E)%E;for(let v=1;v<=4;v*=2){let E=p*(1+.2/v);E=Math.min(E,d+100663296);const C=Math.min(h,m(Math.max(d,E),65536));if(a(C))return!0}return!1}const u={emscripten_get_now:i,emscripten_memcpy_big:s,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let Re=null,fb=!1;function db(e){throw new Ie(e.UTF8ToString(e.getLastOnigError()))}class Yo{constructor(t){b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16Value");b(this,"utf8Value");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");const n=t.length,r=Yo._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=a,d&&(i[c+1]=a),f<=127?s[a+0]=c:f<=2047?(s[a+0]=c,s[a+1]=c):f<=65535?(s[a+0]=c,s[a+1]=c,s[a+2]=c):(s[a+0]=c,s[a+1]=c,s[a+2]=c,s[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,l=!1;if(i>=55296&&i<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(s=(i-55296<<10)+65536|a-56320,l=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Be=class Be{constructor(t){b(this,"id",++Be.LAST_ID);b(this,"_onigBinding");b(this,"content");b(this,"utf16Length");b(this,"utf8Length");b(this,"utf16OffsetToUtf8");b(this,"utf8OffsetToUtf16");b(this,"ptr");if(!Re)throw new Ie("Must invoke loadWasm first.");this._onigBinding=Re,this.content=t;const n=new Yo(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Be._sharedPtrInUse?(Be._sharedPtr||(Be._sharedPtr=Re.omalloc(1e4)),Be._sharedPtrInUse=!0,Re.HEAPU8.set(n.utf8Value,Be._sharedPtr),this.ptr=Be._sharedPtr):this.ptr=n.createString(Re)}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===Be._sharedPtr?Be._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};b(Be,"LAST_ID",0),b(Be,"_sharedPtr",0),b(Be,"_sharedPtrInUse",!1);let Po=Be;class pb{constructor(t){b(this,"_onigBinding");b(this,"_ptr");if(!Re)throw new Ie("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Yo(t[l]);n[l]=c.createString(Re),r[l]=c.utf8Length}const o=Re.omalloc(4*t.length);Re.HEAPU32.set(n,o/4);const i=Re.omalloc(4*t.length);Re.HEAPU32.set(r,i/4);const s=Re.createOnigScanner(o,i,t.length);for(let l=0,a=t.length;l<a;l++)Re.ofree(n[l]);Re.ofree(i),Re.ofree(o),s===0&&db(Re),this._onigBinding=Re,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=fb,i=0;if(typeof r=="number"?(r&8&&(o=!0),i=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Po(t);const s=this._findNextMatchSync(t,n,o,i);return t.dispose(),s}return this._findNextMatchSync(t,n,o,i)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding;let s;if(r?s=i.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),s===0)return null;const l=i.HEAPU32;let a=s/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),h=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function hb(e){return typeof e.instantiator=="function"}function mb(e){return typeof e.default=="function"}function gb(e){return typeof e.data<"u"}function _b(e){return typeof Response<"u"&&e instanceof Response}function yb(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 Mr;function vb(e){if(Mr)return Mr;async function t(){Re=await ub(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),hb(r)?r=await r.instantiator(n):mb(r)?r=await r.default(n):(gb(r)&&(r=r.data),_b(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await wb(r)(n):r=await Eb(r)(n):yb(r)&&(r=await bb(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Mr=t(),Mr}function bb(e){return t=>WebAssembly.instantiate(e,t)}function wb(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Eb(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Tb(e){return new Po(e)}function Cb(e){return new pb(e)}const Ia={light:"#333333",dark:"#bbbbbb"},Na={light:"#fffffe",dark:"#1e1e1e"},Da="__shiki_resolved";function jf(e){var l,a,c,u,f;if(e!=null&&e[Da])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Ia.light:Ia.dark),n||(n=t.type==="light"?Na.light:Na.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 h;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var v,E;const p=((v=d.settings)==null?void 0:v.foreground)&&!d.settings.foreground.startsWith("#"),h=((E=d.settings)==null?void 0:E.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const m={...d,settings:{...d.settings}};if(p){const C=s(d.settings.foreground);t.colorReplacements[C]=d.settings.foreground,m.settings.foreground=C}if(h){const C=s(d.settings.background);t.colorReplacements[C]=d.settings.background,m.settings.background=C}return m});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,Da,{enumerable:!1,writable:!1,value:!0}),t}class xb extends Ly{constructor(n,r,o,i={}){super(n);b(this,"_resolver");b(this,"_themes");b(this,"_langs");b(this,"_alias");b(this,"_resolvedThemes",{});b(this,"_resolvedGrammars",{});b(this,"_langMap",{});b(this,"_langGraph",new Map);b(this,"_textmateThemeCache",new WeakMap);b(this,"_loadedThemesCache",null);b(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=i,r.forEach(s=>this.loadTheme(s)),o.forEach(s=>this.loadLanguage(s))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=jf(n);return r.name&&(this._resolvedThemes[r.name]=r,this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=Eo.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}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 Ie(`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}),this._loadedLanguagesCache=null,r.size)for(const u of r)delete this._resolvedGrammars[u.name],this._loadedLanguagesCache=null,(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 Ie(`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 this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}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 Sb{constructor(t,n){b(this,"_langs",new Map);b(this,"_scopeToLang",new Map);b(this,"_injections",new Map);b(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 Pb;async function Ab(e={}){async function t(v){return Promise.resolve(typeof v=="function"?v():v).then(E=>E.default||E)}async function n(v){return Array.from(new Set((await Promise.all(v.filter(E=>!bf(E)).map(async E=>await t(E).then(C=>Array.isArray(C)?C:[C])))).flat()))}const r=e.loadWasm||Pb,[o,i]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(v=>v.map(jf)),n(e.langs||[]),r?vb(r):void 0]),s=new Sb(Promise.resolve({createOnigScanner(v){return Cb(v)},createOnigString(v){return Tb(v)}}),i),l=new xb(s,o,i,e.langAlias);await l.init();let a;function c(v){const E=l.getGrammar(typeof v=="string"?v:v.name);if(!E)throw new Ie(`Language \`${v}\` not found, you may need to load it first`);return E}function u(v){if(v==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const E=l.getTheme(v);if(!E)throw new Ie(`Theme \`${v}\` not found, you may need to load it first`);return E}function f(v){const E=u(v);a!==v&&(l.setTheme(E),a=v);const C=l.getColorMap();return{theme:E,colorMap:C}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function h(...v){await l.loadLanguages(await n(v))}async function m(...v){await Promise.all(v.map(async E=>Ef(E)?null:l.loadTheme(await t(E))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:p,loadLanguage:h,loadTheme:m}}async function Rb(e={}){const t=await Ab(e);return{codeToTokensBase:(n,r)=>Ws(t,n,r),codeToTokensWithThemes:(n,r)=>Sf(t,n,r),codeToTokens:(n,r)=>Co(t,n,r),codeToHast:(n,r)=>So(t,n,r),codeToHtml:(n,r)=>cb(t,n,r),...t,getInternalContext:()=>t}}function Ob(e,t,n){async function r(o){function i(u){if(typeof u=="string"){if(bf(u))return[];const f=e[u];if(!f)throw new Ie(`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(Ef(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new Ie(`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 Rb({...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 Lb=Ob(W0,K0,z0);let kb;const Fn=[];function Ib(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 kb.value},configurable:!0}),()=>{Fn.splice(Fn.indexOf(e),1)}}const He=ve(null);async function Ff(){is.value&&(He.value=await is.value("/__sitemap__/debug.json"))}const is=ve(),Uf=ve(),Gf=ve();Ib(async e=>{is.value=e.host.app.$fetch,Tc(()=>{Gf.value=e.host.app.colorMode.value}),Uf.value=e.devtools,Ff()});const Wf=ve();function Nb(){return Lb({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Wf.value=e})}function zf(e,t){return Ue(()=>{var r;const n=((r=Uf.value)==null?void 0:r.colorMode)||"light";return Wf.value.codeToHtml(Bd(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Db=["innerHTML"],qf=We({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=Ue(()=>{const r=zf(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(j(),Z("pre",{class:Te(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Db))}}),$b={flex:"~ gap-3","items-center":""},Mb=We({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(j(),Z("div",$b,[t.icon?(j(),Z("div",{key:0,class:Te(t.icon)},null,2)):ke("",!0),Fe(t.$slots,"default",{},()=>[N("div",null,De(t.text),1)])]))}});function Hb(e){return Ka()?(_d(e),!0):!1}function Js(e){return typeof e=="function"?e():ne(e)}const Vb=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Bb=e=>typeof e<"u",jb=Object.prototype.toString,Fb=e=>jb.call(e)==="[object Object]",Ub=()=>{};function Gb(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Kf=e=>e();function Wb(e=Kf){const t=ve(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:gs(t),pause:n,resume:r,eventFilter:o}}function zb(e){return e||Mn()}function qb(e,t,n={}){const{eventFilter:r=Kf,...o}=n;return dt(e,Gb(r,t),o)}function Kb(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:l,isActive:a}=Wb(r);return{stop:qb(e,t,{...o,eventFilter:i}),pause:s,resume:l,isActive:a}}function Jb(e,t=!0,n){zb()?Mo(e,n):t?e():fn(e)}function Yb(e){var t;const n=Js(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ao=Vb?window:void 0;function $a(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Ao):[t,n,r,o]=e,!t)return Ub;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),a=dt(()=>[Yb(t),Js(o)],([u,f])=>{if(s(),!u)return;const d=Fb(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(h=>l(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{a(),s()};return Hb(c),c}function Xb(e){return JSON.parse(JSON.stringify(e))}const Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vr="__vueuse_ssr_handlers__",Qb=Zb();function Zb(){return Vr in Hr||(Hr[Vr]=Hr[Vr]||{}),Hr[Vr]}function e1(e,t){return Qb[e]||t}function t1(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const n1={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ma="vueuse-storage";function r1(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:f=Ao,eventFilter:d,onError:p=O=>{console.error(O)},initOnMounted:h}=r,m=(u?xi:ve)(typeof t=="function"?t():t);if(!n)try{n=e1("getDefaultStorage",()=>{var O;return(O=Ao)==null?void 0:O.localStorage})()}catch(O){p(O)}if(!n)return m;const v=Js(t),E=t1(v),C=(o=r.serializer)!=null?o:n1[E],{pause:y,resume:S}=Kb(m,()=>x(m.value),{flush:i,deep:s,eventFilter:d});f&&l&&Jb(()=>{$a(f,"storage",H),$a(f,Ma,B),h&&H()}),h||H();function T(O,G){f&&f.dispatchEvent(new CustomEvent(Ma,{detail:{key:e,oldValue:O,newValue:G,storageArea:n}}))}function x(O){try{const G=n.getItem(e);if(O==null)T(G,null),n.removeItem(e);else{const z=C.write(O);G!==z&&(n.setItem(e,z),T(G,z))}}catch(G){p(G)}}function A(O){const G=O?O.newValue:n.getItem(e);if(G==null)return a&&v!=null&&n.setItem(e,C.write(v)),v;if(!O&&c){const z=C.read(G);return typeof c=="function"?c(z,v):E==="object"&&!Array.isArray(z)?{...v,...z}:z}else return typeof G!="string"?G:C.read(G)}function H(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){m.value=v;return}if(!(O&&O.key!==e)){y();try{(O==null?void 0:O.newValue)!==C.write(m.value)&&(m.value=A(O))}catch(G){p(G)}finally{O?fn(S):S()}}}}function B(O){H(O.detail)}return m}function o1(e,t,n={}){const{window:r=Ao}=n;return r1(e,t,r==null?void 0:r.localStorage,n)}function i1(e,t,n,r={}){var o,i,s;const{clone:l=!1,passive:a=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=Mn(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=y=>l?typeof l=="function"?l(y):Xb(y):y,E=()=>Bb(e[t])?v(e[t]):f,C=y=>{d?d(y)&&h(m,y):h(m,y)};if(a){const y=E(),S=ve(y);let T=!1;return dt(()=>e[t],x=>{T||(T=!0,S.value=v(x),fn(()=>T=!1))}),dt(S,x=>{!T&&(x!==e[t]||u)&&C(x)},{deep:u}),S}else return Ue({get(){return E()},set(y){C(y)}})}const Jf=e=>(yc("data-v-348c1d92"),e=e(),vc(),e),s1=["open"],l1={"text-base":""},a1={key:0,"text-sm":"",op50:""},c1=Jf(()=>N("div",{class:"flex-auto"},null,-1)),u1=Jf(()=>N("div",{class:"x-divider"},null,-1)),f1=We({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=i1(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=Us,l=Mb;return j(),Z(_e,null,[N("details",{open:ne(n),onToggle:r},[N("summary",{class:Te(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[W(l,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Te([ne(n)?"op100":"op60",o.headerClass])},{default:re(()=>[N("div",null,[N("div",l1,[Fe(o.$slots,"text",{},()=>[se(De(o.text),1)],!0)]),o.description||o.$slots.description?(j(),Z("div",a1,[Fe(o.$slots,"description",{},()=>[se(De(o.description),1)],!0)])):ke("",!0)]),c1,Fe(o.$slots,"actions",{},void 0,!0),o.collapse?(j(),ye(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):ke("",!0)]),_:3},8,["icon","text","class"])],2),N("div",{class:Te(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Fe(o.$slots,"details",{},void 0,!0),N("div",{class:Te([o.containerClass,"mt1"])},[Fe(o.$slots,"default",{},void 0,!0)],2),Fe(o.$slots,"footer",{},void 0,!0)],2)],40,s1),u1],64)}}}),Yf=Ko(f1,[["__scopeId","data-v-348c1d92"]]),d1={class:"flex space-x-5"},p1={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},h1={key:0,class:"flex space-x-2"},m1={key:0,class:"opacity-60 text-sm"},g1={class:"flex items-center space-x-3"},_1={key:0},y1={key:1,class:"text-xs mt-1 opacity-70"},v1={key:0},b1={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},w1=N("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1),E1={class:"list-disc ml-5"},T1=["innerHTML"],C1=We({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=Ue(()=>{var i;const o=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return o.includes("http")?o:Hn(((i=He.value)==null?void 0:i.nitroOrigin)||"localhost",o)});function r(o){return o.replace(/`([^`]+)`/g,"<code>$1</code>")}return(o,i)=>{const s=Us,l=nf,a=of,c=qf,u=Yf;return j(),ye(u,null,{text:re(()=>[N("div",d1,[N("h3",p1,[o.source.fetch?(j(),Z("div",h1,[W(s,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),o.source.timeTakenMs?(j(),Z("div",m1,De(o.source.timeTakenMs)+"ms ",1)):ke("",!0)])):ke("",!0),N("div",null,De(o.source.context.name),1),N("div",null,[W(l,null,{default:re(()=>{var f;return[se(De(((f=o.source.urls)==null?void 0:f.length)||0),1)]}),_:1})])])])]),description:re(()=>[N("div",g1,[o.source.fetch?(j(),Z("div",_1,[W(a,{href:ne(n),target:"_blank"},{default:re(()=>[se(De(o.source.fetch),1)]),_:1},8,["href"])])):ke("",!0),o.source.context.description?(j(),Z("div",y1,De(o.source.context.description),1)):ke("",!0)])]),default:re(()=>{var f;return[o.source.error?(j(),Z("div",v1,[W(s,{icon:"carbon:warning",class:"text-red-500"}),se(" "+De(o.source.error),1)])):(j(),ye(c,{key:1,class:"max-h-[250px] overflow-y-auto",code:JSON.stringify(o.source.urls,null,2),lang:"json"},null,8,["code"])),(f=o.source.context.tips)!=null&&f.length?(j(),Z("div",b1,[w1,N("ul",E1,[(j(!0),Z(_e,null,gn(o.source.context.tips,(d,p)=>(j(),Z("li",{key:p,class:"text-sm opacity-80 mb-1",innerHTML:r(d)},null,8,T1))),128))])])):ke("",!0)]}),_:1})}}}),x1={class:"relative n-bg-base flex flex-col"},S1={class:"sticky top-0 z-2 px-4 pt-4"},P1={class:"flex justify-between items-start",mb2:""},A1={class:"flex space-x-5"},R1={"text-xl":"",flex:"","items-center":"","gap-2":""},O1={class:"flex items-center space-x-3 text-xl"},L1={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},k1={class:"px-5 py-2"},I1={"text-lg":"",flex:"","items-center":""},N1={class:"px-5 py-2"},D1={"text-lg":"",flex:"","items-center":""},$1={class:"px-5 py-2"},M1={"text-lg":"",flex:"","items-center":""},H1={class:"px-5 py-2"},V1={"text-lg":"",flex:"","items-center":""},B1={class:"px-5 py-2"},j1={"text-lg":"",flex:"","items-center":""},F1=["value","title"],U1={class:"items-center space-x-3 hidden lg:flex"},G1={class:"opacity-80 text-sm"},W1={class:"opacity-80 text-sm"},z1={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},q1={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},K1={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},J1={key:0,class:"space-y-5"},Y1=N("div",null,[N("h2",{class:"text-lg mb-1"}," Sitemaps "),N("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1),X1={class:"opacity-80 text-base mb-1"},Q1={class:"px-3 py-2 space-y-5"},Z1={key:0},ew=N("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1),tw={class:"text-sm opacity-70"},nw={key:0,class:"flex space-x-5"},rw=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[se(" Local sources associated with just this sitemap."),N("br"),se("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1),ow={class:"flex-grow"},iw={class:"flex space-x-5"},sw=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," App Sources "),N("div",{class:"opacity-40 text-xs max-w-60"},[se(" Configured with the "),N("code",null,"includeAppSources"),se(" option. ")])],-1),lw={class:"flex-grow flex flex-col justify-center"},aw={key:0,class:"opacity-70"},cw={key:1,class:"opacity-70"},uw={class:"opacity-50 text-xs mt-2"},fw={class:"flex space-x-5"},dw=N("div",{class:"w-40"},[N("div",{class:"font-bold text-sm mb-1"}," Sitemap Options "),N("div",{class:"opacity-40 text-xs max-w-60"}," Extra options used to filter the URLs on the final sitemap and set defaults. ")],-1),pw={class:"n-bg-base/20 flex-grow"},hw={key:1,class:"space-y-5"},mw=N("div",null,[N("h2",{class:"text-lg mb-1"}," App Sources "),N("p",{"text-xs":"",op60:""}," Automatic global sources generated from your application. ")],-1),gw={key:2,class:"space-y-5"},_w=N("div",null,[N("h2",{class:"text-lg mb-1"}," User Sources "),N("p",{"text-xs":"",op60:""}," Manually provided global sources provided by you. ")],-1),yw={key:3,class:"h-full max-h-full overflow-hidden"},vw={class:"opacity-80 text-base mb-1"},bw={class:"px-3 py-2 space-y-5"},ww=["innerHTML"],Ew={key:4,class:"h-full max-h-full overflow-hidden"},Tw=N("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1),Cw=[Tw],xw=We({__name:"app",async setup(e){let t,n;[t,n]=Tp(()=>Nb()),await t,n();const r=ve(!1);async function o(){r.value=!0,He.value=null,await Ff(),setTimeout(()=>{r.value=!1},300)}const i=o1("@nuxtjs/sitemap:tab","sitemaps");function s(f){return He.value?f==="sitemap"||f==="sitemap.xml"?`${He.value.nitroOrigin}sitemap.xml`:f==="index"?`${He.value.nitroOrigin}sitemap_index.xml`:`${He.value.nitroOrigin}${f}-sitemap.xml`:""}function l(f){const d={};return Object.entries(f).forEach(([p,h])=>{h!==void 0&&(!Array.isArray(h)||h.length>0)&&p!=="includeAppSources"&&(d[p]=h)}),d}Bg({htmlAttrs:{class:()=>Gf.value||""}});const a=Ue(()=>{var f,d;return((d=(f=He.value)==null?void 0:f.runtimeConfig)==null?void 0:d.excludeAppSources)||[]}),c=Ue(()=>{var f;return(((f=He.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="app")}),u=Ue(()=>{var f;return(((f=He.value)==null?void 0:f.globalSources)||[]).filter(d=>d.sourceType==="user")});return(f,d)=>{var x;const p=Us,h=nf,m=on("VTooltip"),v=of,E=$0,C=F0,y=C1,S=qf,T=Yf;return j(),Z("div",x1,[N("header",S1,[N("div",P1,[N("div",A1,[N("h1",R1,[W(p,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),se(" Sitemap "),W(h,{class:"text-sm"},{default:re(()=>{var A,H;return[se(De((H=(A=ne(He))==null?void 0:A.runtimeConfig)==null?void 0:H.version),1)]}),_:1})])]),N("div",O1,[N("fieldset",L1,[(j(),Z(_e,null,gn(["sitemaps","user-sources","app-sources","debug","docs"],(A,H)=>N("label",{key:H,class:Te(["relative n-border-base hover:n-bg-active cursor-pointer",[H?"border-l n-border-base ml--1px":"",A===ne(i)?"n-bg-active":""]])},[A==="sitemaps"?(j(),Z("div",{key:0,class:Te([A===ne(i)?"":"op35"])},[W(m,null,{popper:re(()=>[se(" Sitemaps ")]),default:re(()=>[N("div",k1,[N("h2",I1,[W(p,{icon:"carbon:load-balancer-application opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>{var B;return[se(De(Object.keys(((B=ne(He))==null?void 0:B.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):ke("",!0),A==="user-sources"?(j(),Z("div",{key:1,class:Te([A===ne(i)?"":"op35"])},[W(m,null,{popper:re(()=>[se(" User Sources ")]),default:re(()=>[N("div",N1,[N("h2",D1,[W(p,{icon:"carbon:group-account opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>[se(De(u.value.length),1)]),_:1})])])]),_:1})],2)):ke("",!0),A==="app-sources"?(j(),Z("div",{key:2,class:Te([A===ne(i)?"":"op35"])},[W(m,null,{popper:re(()=>[se(" App Sources ")]),default:re(()=>[N("div",$1,[N("h2",M1,[W(p,{icon:"carbon:bot opacity-50"}),W(h,{class:"text-sm"},{default:re(()=>[se(De(c.value.length),1)]),_:1})])])]),_:1})],2)):A==="debug"?(j(),Z("div",{key:3,class:Te([A===ne(i)?"":"op35"])},[W(m,null,{popper:re(()=>[se(" Debug ")]),default:re(()=>[N("div",H1,[N("h2",V1,[W(p,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):A==="docs"?(j(),Z("div",{key:4,class:Te([A===ne(i)?"":"op35"])},[W(m,null,{popper:re(()=>[se(" Documentation ")]),default:re(()=>[N("div",B1,[N("h2",j1,[W(p,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):ke("",!0),hp(N("input",{"onUpdate:modelValue":d[0]||(d[0]=B=>Oe(i)?i.value=B:null),type:"radio",value:A,title:A,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,F1),[[bh,ne(i)]])],2)),64))]),W(m,null,{popper:re(()=>[se(" Refresh ")]),default:re(()=>[N("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:o},[W(p,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),N("div",U1,[N("div",G1,[W(v,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:re(()=>[W(p,{icon:"carbon:favorite",class:"mr-[2px]"}),se(" Sponsor ")]),_:1})]),N("div",W1,[W(v,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:re(()=>[W(p,{icon:"logos:github-icon",class:"mr-[2px]"}),se(" Submit an issue ")]),_:1})]),N("a",z1,[W(E)])])])]),N("div",q1,[N("main",K1,[!((x=ne(He))!=null&&x.globalSources)||r.value?(j(),ye(C,{key:0})):(j(),Z(_e,{key:1},[ne(i)==="sitemaps"?(j(),Z("div",J1,[Y1,(j(!0),Z(_e,null,gn(ne(He).sitemaps,(A,H)=>(j(),ye(T,{key:H},{text:re(()=>[N("h3",X1,[se(De(A.sitemapName)+" ",1),(A.sources||[]).some(B=>!!B.error)?(j(),ye(p,{key:0,icon:"carbon:warning",class:"text-red-500"})):ke("",!0)])]),description:re(()=>[W(v,{target:"_blank",href:s(A.sitemapName)},{default:re(()=>[se(De(s(A.sitemapName)),1)]),_:2},1032,["href"])]),default:re(()=>[N("div",Q1,[A.sitemapName==="index"?(j(),Z("div",Z1,[ew,N("div",tw,[se(" You can learn about this on the "),W(v,{underline:"",target:"_blank",href:"https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps"},{default:re(()=>[se(" Google Search Central ")]),_:1}),se(". ")])])):(j(),Z(_e,{key:1},[A.sources&&A.sources.length?(j(),Z("div",nw,[rw,N("div",ow,[(j(!0),Z(_e,null,gn(A.sources,(B,O)=>(j(),ye(y,{key:O,source:B},null,8,["source"]))),128))])])):ke("",!0),N("div",iw,[sw,N("div",lw,[A.includeAppSources&&a.value!==!0?(j(),Z("div",aw,[W(p,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),se(" Enabled ")])):(j(),Z("div",cw,[W(p,{icon:"carbon:close",class:"text-red-500 text-lg"}),se(" Disabled ")])),N("div",uw,[se(" Switch to "),W(v,{underline:"",class:"cursor-pointer",onClick:d[1]||(d[1]=B=>i.value="app-sources")},{default:re(()=>[se(" App sources ")]),_:1}),se(" to learn more. ")])])]),N("div",fw,[dw,N("div",pw,[W(S,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(l(A),null,2),lang:"json"},null,8,["code"])])])],64))])]),_:2},1024))),128))])):ne(i)==="app-sources"?(j(),Z("div",hw,[mw,(j(!0),Z(_e,null,gn(c.value,(A,H)=>(j(),ye(y,{key:H,source:A},null,8,["source"]))),128))])):ne(i)==="user-sources"?(j(),Z("div",gw,[_w,(j(!0),Z(_e,null,gn(u.value,(A,H)=>(j(),ye(y,{key:H,source:A},null,8,["source"]))),128))])):ne(i)==="debug"?(j(),Z("div",yw,[W(T,null,{text:re(()=>[N("h3",vw,[W(p,{icon:"carbon:settings",class:"mr-1"}),se(" Runtime Config ")])]),default:re(()=>{var A;return[N("div",bw,[N("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:ne(zf)(JSON.stringify((A=ne(He))==null?void 0:A.runtimeConfig,null,2),"json").value},null,8,ww)])]}),_:1})])):ne(i)==="docs"?(j(),Z("div",Ew,Cw)):ke("",!0)],64))])])])}}}),Sw={__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?to(()=>
|
|
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?to(()=>g(()=>import("./BoOAlWED.js"),__vite__mapDeps([95,96]),import.meta.url).then(f=>f.default||f)):to(()=>g(()=>import("./Bd73LTSp.js"),__vite__mapDeps([97,98]),import.meta.url).then(f=>f.default||f));return(f,d)=>(j(),ye(ne(u),Ga(As({statusCode:ne(r),statusMessage:ne(i),description:ne(s),stack:ne(l)})),null,16))}},Ha={__name:"nuxt-root",setup(e){const t=()=>null,n=we(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Ut().beforeEach(l)}const o=!1;kc(_u,yu()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const i=Ns();Ac((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Km(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>zm(l)),!1});const s=!1;return(l,a)=>(j(),ye(op,{onResolve:ne(r)},{default:re(()=>[ne(i)?(j(),ye(ne(Sw),{key:0,error:ne(i)},null,8,["error"])):ne(s)?(j(),ye(ne(t),{key:1,context:ne(s)},null,8,["context"])):ne(o)?(j(),ye(tp(ne(o)),{key:2})):(j(),ye(ne(xw),{key:3}))]),_:1},8,["onResolve"]))}};let Va;{let e;Va=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")?Sh(Ha):Qc(Ha),o=Om({vueApp:r});async function i(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||Ds(a)}r.config.errorHandler=i;try{await km(o,w0)}catch(a){i(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(Wg),await o.hooks.callHook("app:mounted",r),await fn()}catch(a){i(a)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Va().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Aw as A,Ko as _,N as a,W as b,Z as c,se as d,P0 as e,vc as f,We as g,io as h,Pu as i,dt as j,d_ as k,Ue as l,Tp as m,Te as n,j as o,yc as p,Zt as q,ve as r,ye as s,De as t,Bg as u,ne as v,re as w,tp as x,Fe as y,we as z};
|