1
0
forked from bot/app
LiteyukiBot/assets/chunks/theme.B1YPMpUY.js

3 lines
55 KiB
JavaScript

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.Cmjg88Za.js","assets/chunks/framework.BZiUP1E-.js"])))=>i.map(i=>d[i]);
import{d as _,o as a,c,r as l,n as N,a as D,t as w,b as k,w as p,e as h,T as fe,_ as $,u as Se,i as Re,f as qe,g as he,h as y,j as d,k as r,p as C,l as H,m as K,q as ce,s as V,v as U,x as Z,y as q,z as x,A as _e,B as Ke,C as We,D as W,F as M,E,G as we,H as ee,I as m,J as F,K as Te,L as te,M as R,N as se,O as Je,P as me,Q as ue,R as Ye,S as Ie,U as oe,V as Xe,W as Qe,X as Ze,Y as Ne,Z as Me,$ as xe,a0 as et,a1 as tt,a2 as st,a3 as ot}from"./framework.BZiUP1E-.js";const nt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),c("span",{class:N(["VPBadge",e.type])},[l(e.$slots,"default",{},()=>[D(w(e.text),1)])],2))}}),at={key:0,class:"VPBackdrop"},rt=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(fe,{name:"fade"},{default:p(()=>[e.show?(a(),c("div",at)):h("",!0)]),_:1}))}}),it=$(rt,[["__scopeId","data-v-2cfdfdcf"]]),P=Se;function lt(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function de(s){return/^\//.test(s)?s:`/${s}`}function ke(s){const{pathname:e,search:t,hash:n,protocol:o}=new URL(s,"http://a.com");if(Re(s)||s.startsWith("#")||!o.startsWith("http")||!qe(e))return s;const{site:i}=P(),u=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${n}`);return he(u)}function Y({correspondingLink:s=!1}={}){const{site:e,localeIndex:t,page:n,theme:o,hash:i}=P(),u=y(()=>{var f,g;return{label:(f=e.value.locales[t.value])==null?void 0:f.label,link:((g=e.value.locales[t.value])==null?void 0:g.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([f,g])=>u.value.label===g.label?[]:{text:g.label,link:ct(g.link||(f==="root"?"/":`/${f}/`),o.value.i18nRouting!==!1&&s,n.value.relativePath.slice(u.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:u}}function ct(s,e,t,n){return e?s.replace(/\/$/,"")+de(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const ut=s=>(C("data-v-868b40d9"),s=s(),H(),s),dt={class:"NotFound"},vt={class:"code"},pt={class:"title"},ft=ut(()=>d("div",{class:"divider"},null,-1)),ht={class:"quote"},_t={class:"action"},mt=["href","aria-label"],kt=_({__name:"NotFound",setup(s){const{theme:e}=P(),{currentLang:t}=Y();return(n,o)=>{var i,u,v,f,g;return a(),c("div",dt,[d("p",vt,w(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),d("h1",pt,w(((u=r(e).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),ft,d("blockquote",ht,w(((v=r(e).notFound)==null?void 0:v.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),d("div",_t,[d("a",{class:"link",href:r(he)(r(t).link),"aria-label":((f=r(e).notFound)==null?void 0:f.linkLabel)??"go to home"},w(((g=r(e).notFound)==null?void 0:g.linkText)??"Take me home"),9,mt)])])}}}),$t=$(kt,[["__scopeId","data-v-868b40d9"]]);function Ae(s,e){if(Array.isArray(s))return X(s);if(s==null)return[];e=de(e);const t=Object.keys(s).sort((o,i)=>i.split("/").length-o.split("/").length).find(o=>e.startsWith(de(o))),n=t?s[t]:[];return Array.isArray(n)?X(n):X(n.items,n.base)}function bt(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function gt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function ve(s,e){return Array.isArray(e)?e.some(t=>ve(s,t)):K(s,e.link)?!0:e.items?ve(s,e.items):!1}function X(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=X(n.items,o)),n})}function G(){const{frontmatter:s,page:e,theme:t}=P(),n=ce("(min-width: 960px)"),o=V(!1),i=y(()=>{const B=t.value.sidebar,T=e.value.relativePath;return B?Ae(B,T):[]}),u=V(i.value);U(i,(B,T)=>{JSON.stringify(B)!==JSON.stringify(T)&&(u.value=i.value)});const v=y(()=>s.value.sidebar!==!1&&u.value.length>0&&s.value.layout!=="home"),f=y(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=y(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),S=y(()=>v.value&&n.value),b=y(()=>v.value?bt(u.value):[]);function L(){o.value=!0}function I(){o.value=!1}function A(){o.value?I():L()}return{isOpen:o,sidebar:u,sidebarGroups:b,hasSidebar:v,hasAside:g,leftAside:f,isSidebarEnabled:S,open:L,close:I,toggle:A}}function yt(s,e){let t;Z(()=>{t=s.value?document.activeElement:void 0}),q(()=>{window.addEventListener("keyup",n)}),x(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}function Pt(s){const{page:e,hash:t}=P(),n=V(!1),o=y(()=>s.value.collapsed!=null),i=y(()=>!!s.value.link),u=V(!1),v=()=>{u.value=K(e.value.relativePath,s.value.link)};U([e,s,t],v),q(v);const f=y(()=>u.value?!0:s.value.items?ve(e.value.relativePath,s.value.items):!1),g=y(()=>!!(s.value.items&&s.value.items.length));Z(()=>{n.value=!!(o.value&&s.value.collapsed)}),_e(()=>{(u.value||f.value)&&(n.value=!1)});function S(){o.value&&(n.value=!n.value)}return{collapsed:n,collapsible:o,isLink:i,isActiveLink:u,hasActiveLink:f,hasChildren:g,toggle:S}}function Lt(){const{hasSidebar:s}=G(),e=ce("(min-width: 960px)"),t=ce("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const pe=[];function Be(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function $e(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:Vt(t),link:"#"+t.id,level:n}});return St(e,s)}function Vt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function St(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(u=>u.level>=n&&u.level<=o),pe.length=0;for(const{element:u,link:v}of s)pe.push({element:u,link:v});const i=[];e:for(let u=0;u<s.length;u++){const v=s[u];if(u===0)i.push(v);else{for(let f=u-1;f>=0;f--){const g=s[f];if(g.level<v.level){(g.children||(g.children=[])).push(v);continue e}}i.push(v)}}return i}function wt(s,e){const{isAsideEnabled:t}=Lt(),n=lt(i,100);let o=null;q(()=>{requestAnimationFrame(i),window.addEventListener("scroll",n)}),Ke(()=>{u(location.hash)}),x(()=>{window.removeEventListener("scroll",n)});function i(){if(!t.value)return;const v=window.scrollY,f=window.innerHeight,g=document.body.offsetHeight,S=Math.abs(v+f-g)<1,b=pe.map(({element:I,link:A})=>({link:A,top:Tt(I)})).filter(({top:I})=>!Number.isNaN(I)).sort((I,A)=>I.top-A.top);if(!b.length){u(null);return}if(v<1){u(null);return}if(S){u(b[b.length-1].link);return}let L=null;for(const{link:I,top:A}of b){if(A>v+We()+4)break;L=I}u(L)}function u(v){o&&o.classList.remove("active"),v==null?o=null:o=s.value.querySelector(`a[href="${decodeURIComponent(v)}"]`);const f=o;f?(f.classList.add("active"),e.value.style.top=f.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function Tt(s){let e=0;for(;s!==document.body;){if(s===null)return NaN;e+=s.offsetTop,s=s.offsetParent}return e}const It=["href","title"],Nt=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(s){function e({target:t}){const n=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(n));o==null||o.focus({preventScroll:!0})}return(t,n)=>{const o=W("VPDocOutlineItem",!0);return a(),c("ul",{class:N(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),c(M,null,E(t.headers,({children:i,link:u,title:v})=>(a(),c("li",null,[d("a",{class:"outline-link",href:u,onClick:e,title:v},w(v),9,It),i!=null&&i.length?(a(),k(o,{key:0,headers:i},null,8,["headers"])):h("",!0)]))),256))],2)}}}),Ce=$(Nt,[["__scopeId","data-v-75b86f7a"]]),Mt={class:"content"},At={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Bt=_({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=we([]);ee(()=>{n.value=$e(e.value.outline??t.value.outline)});const o=V(),i=V();return wt(o,i),(u,v)=>(a(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:N(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[d("div",Mt,[d("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),d("div",At,w(r(Be)(r(t))),1),m(Ce,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),Ct=$(Bt,[["__scopeId","data-v-be1126ba"]]),Ht={class:"VPDocAsideCarbonAds"},Et=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),c("div",Ht,[m(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ft=s=>(C("data-v-65ef6f81"),s=s(),H(),s),Ot={class:"VPDocAside"},Dt=Ft(()=>d("div",{class:"spacer"},null,-1)),Ut=_({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),c("div",Ot,[l(t.$slots,"aside-top",{},void 0,!0),l(t.$slots,"aside-outline-before",{},void 0,!0),m(Ct),l(t.$slots,"aside-outline-after",{},void 0,!0),Dt,l(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(Et,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):h("",!0),l(t.$slots,"aside-ads-after",{},void 0,!0),l(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Gt=$(Ut,[["__scopeId","data-v-65ef6f81"]]);function jt(){const{theme:s,page:e}=P();return y(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function zt(){const{page:s,theme:e,frontmatter:t}=P();return y(()=>{var g,S,b,L,I,A,B,T;const n=Ae(e.value.sidebar,s.value.relativePath),o=gt(n),i=Rt(o,j=>j.link.replace(/[?#].*$/,"")),u=i.findIndex(j=>K(s.value.relativePath,j.link)),v=((g=e.value.docFooter)==null?void 0:g.prev)===!1&&!t.value.prev||t.value.prev===!1,f=((S=e.value.docFooter)==null?void 0:S.next)===!1&&!t.value.next||t.value.next===!1;return{prev:v?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=i[u-1])==null?void 0:b.docFooterText)??((L=i[u-1])==null?void 0:L.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=i[u-1])==null?void 0:I.link)},next:f?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((A=i[u+1])==null?void 0:A.docFooterText)??((B=i[u+1])==null?void 0:B.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((T=i[u+1])==null?void 0:T.link)}}})}function Rt(s,e){const t=new Set;return s.filter(n=>{const o=e(n);return t.has(o)?!1:t.add(o)})}const O=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.tag??(e.href?"a":"span")),n=y(()=>e.href&&Te.test(e.href)||e.target==="_blank");return(o,i)=>(a(),k(F(t.value),{class:N(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?r(ke)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:p(()=>[l(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),qt={class:"VPLastUpdated"},Kt=["datetime"],Wt=_({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,lang:n}=P(),o=y(()=>new Date(t.value.lastUpdated)),i=y(()=>o.value.toISOString()),u=V("");return q(()=>{Z(()=>{var v,f,g;u.value=new Intl.DateTimeFormat((f=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&f.forceLocale?n.value:void 0,((g=e.value.lastUpdated)==null?void 0:g.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(v,f)=>{var g;return a(),c("p",qt,[D(w(((g=r(e).lastUpdated)==null?void 0:g.text)||r(e).lastUpdatedText||"Last updated")+": ",1),d("time",{datetime:i.value},w(u.value),9,Kt)])}}}),Jt=$(Wt,[["__scopeId","data-v-243e2690"]]),He=s=>(C("data-v-e27a0cf7"),s=s(),H(),s),Yt={key:0,class:"VPDocFooter"},Xt={key:0,class:"edit-info"},Qt={key:0,class:"edit-link"},Zt=He(()=>d("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),xt={key:1,class:"last-updated"},es={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},ts=He(()=>d("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),ss={class:"pager"},os=["innerHTML"],ns=["innerHTML"],as={class:"pager"},rs=["innerHTML"],is=["innerHTML"],ls=_({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=jt(),i=zt(),u=y(()=>e.value.editLink&&n.value.editLink!==!1),v=y(()=>t.value.lastUpdated),f=y(()=>u.value||v.value||i.value.prev||i.value.next);return(g,S)=>{var b,L,I,A;return f.value?(a(),c("footer",Yt,[l(g.$slots,"doc-footer-before",{},void 0,!0),u.value||v.value?(a(),c("div",Xt,[u.value?(a(),c("div",Qt,[m(O,{class:"edit-link-button",href:r(o).url,"no-icon":!0},{default:p(()=>[Zt,D(" "+w(r(o).text),1)]),_:1},8,["href"])])):h("",!0),v.value?(a(),c("div",xt,[m(Jt)])):h("",!0)])):h("",!0),(b=r(i).prev)!=null&&b.link||(L=r(i).next)!=null&&L.link?(a(),c("nav",es,[ts,d("div",ss,[(I=r(i).prev)!=null&&I.link?(a(),k(O,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:p(()=>{var B;return[d("span",{class:"desc",innerHTML:((B=r(e).docFooter)==null?void 0:B.prev)||"Previous page"},null,8,os),d("span",{class:"title",innerHTML:r(i).prev.text},null,8,ns)]}),_:1},8,["href"])):h("",!0)]),d("div",as,[(A=r(i).next)!=null&&A.link?(a(),k(O,{key:0,class:"pager-link next",href:r(i).next.link},{default:p(()=>{var B;return[d("span",{class:"desc",innerHTML:((B=r(e).docFooter)==null?void 0:B.next)||"Next page"},null,8,rs),d("span",{class:"title",innerHTML:r(i).next.text},null,8,is)]}),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}}),cs=$(ls,[["__scopeId","data-v-e27a0cf7"]]),us=s=>(C("data-v-4981c415"),s=s(),H(),s),ds={class:"container"},vs=us(()=>d("div",{class:"aside-curtain"},null,-1)),ps={class:"aside-container"},fs={class:"aside-content"},hs={class:"content"},_s={class:"content-container"},ms={class:"main"},ks=_({__name:"VPDoc",setup(s){const{theme:e}=P(),t=te(),{hasSidebar:n,hasAside:o,leftAside:i}=G(),u=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(v,f)=>{const g=W("Content");return a(),c("div",{class:N(["VPDoc",{"has-sidebar":r(n),"has-aside":r(o)}])},[l(v.$slots,"doc-top",{},void 0,!0),d("div",ds,[r(o)?(a(),c("div",{key:0,class:N(["aside",{"left-aside":r(i)}])},[vs,d("div",ps,[d("div",fs,[m(Gt,null,{"aside-top":p(()=>[l(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[l(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[l(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[l(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[l(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[l(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):h("",!0),d("div",hs,[d("div",_s,[l(v.$slots,"doc-before",{},void 0,!0),d("main",ms,[m(g,{class:N(["vp-doc",[u.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),m(cs,null,{"doc-footer-before":p(()=>[l(v.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),l(v.$slots,"doc-after",{},void 0,!0)])])]),l(v.$slots,"doc-bottom",{},void 0,!0)],2)}}}),$s=$(ks,[["__scopeId","data-v-4981c415"]]),bs=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.href&&Te.test(e.href)),n=y(()=>e.tag||e.href?"a":"button");return(o,i)=>(a(),k(F(n.value),{class:N(["VPButton",[o.size,o.theme]]),href:o.href?r(ke)(o.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:p(()=>[D(w(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),gs=$(bs,[["__scopeId","data-v-5208c6a8"]]),ys=["src","alt"],Ps=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=W("VPImage",!0);return e.image?(a(),c(M,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),c("img",R({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(he)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,ys)):(a(),c(M,{key:1},[m(n,R({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),m(n,R({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),Q=$(Ps,[["__scopeId","data-v-6e911b93"]]),Ls=s=>(C("data-v-4963d475"),s=s(),H(),s),Vs={class:"container"},Ss={class:"main"},ws={key:0,class:"name"},Ts=["innerHTML"],Is=["innerHTML"],Ns=["innerHTML"],Ms={key:0,class:"actions"},As={key:0,class:"image"},Bs={class:"image-container"},Cs=Ls(()=>d("div",{class:"image-bg"},null,-1)),Hs=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=se("hero-image-slot-exists");return(t,n)=>(a(),c("div",{class:N(["VPHero",{"has-image":t.image||r(e)}])},[d("div",Vs,[d("div",Ss,[l(t.$slots,"home-hero-info-before",{},void 0,!0),l(t.$slots,"home-hero-info",{},()=>[t.name?(a(),c("h1",ws,[d("span",{innerHTML:t.name,class:"clip"},null,8,Ts)])):h("",!0),t.text?(a(),c("p",{key:1,innerHTML:t.text,class:"text"},null,8,Is)):h("",!0),t.tagline?(a(),c("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Ns)):h("",!0)],!0),l(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),c("div",Ms,[(a(!0),c(M,null,E(t.actions,o=>(a(),c("div",{key:o.link,class:"action"},[m(gs,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):h("",!0),l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),c("div",As,[d("div",Bs,[Cs,l(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),Es=$(Hs,[["__scopeId","data-v-4963d475"]]),Fs=_({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>r(e).hero?(a(),k(Es,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":p(()=>[l(t.$slots,"home-hero-info-before")]),"home-hero-info":p(()=>[l(t.$slots,"home-hero-info")]),"home-hero-info-after":p(()=>[l(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":p(()=>[l(t.$slots,"home-hero-actions-after")]),"home-hero-image":p(()=>[l(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):h("",!0)}}),Os=s=>(C("data-v-c6ed09d2"),s=s(),H(),s),Ds={class:"box"},Us={key:0,class:"icon"},Gs=["innerHTML"],js=["innerHTML"],zs=["innerHTML"],Rs={key:4,class:"link-text"},qs={class:"link-text-value"},Ks=Os(()=>d("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Ws=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(O,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:p(()=>[d("article",Ds,[typeof e.icon=="object"&&e.icon.wrap?(a(),c("div",Us,[m(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Gs)):h("",!0),d("h2",{class:"title",innerHTML:e.title},null,8,js),e.details?(a(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,zs)):h("",!0),e.linkText?(a(),c("div",Rs,[d("p",qs,[D(w(e.linkText)+" ",1),Ks])])):h("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Js=$(Ws,[["__scopeId","data-v-c6ed09d2"]]),Ys={key:0,class:"VPFeatures"},Xs={class:"container"},Qs={class:"items"},Zs=_({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=y(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),c("div",Ys,[d("div",Xs,[d("div",Qs,[(a(!0),c(M,null,E(n.features,i=>(a(),c("div",{key:i.title,class:N(["item",[t.value]])},[m(Js,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):h("",!0)}}),xs=$(Zs,[["__scopeId","data-v-c56833f4"]]),eo=_({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>r(e).features?(a(),k(xs,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):h("",!0)}}),to=_({__name:"VPHomeContent",setup(s){const{width:e}=Je({initialWidth:0,includeScrollbar:!1});return(t,n)=>(a(),c("div",{class:"vp-doc container",style:me(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[l(t.$slots,"default",{},void 0,!0)],4))}}),so=$(to,[["__scopeId","data-v-2763ee34"]]),oo={class:"VPHome"},no=_({__name:"VPHome",setup(s){const{frontmatter:e}=P();return(t,n)=>{const o=W("Content");return a(),c("div",oo,[l(t.$slots,"home-hero-before",{},void 0,!0),m(Fs,null,{"home-hero-info-before":p(()=>[l(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[l(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[l(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[l(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[l(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),l(t.$slots,"home-hero-after",{},void 0,!0),l(t.$slots,"home-features-before",{},void 0,!0),m(eo),l(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(so,{key:0},{default:p(()=>[m(o)]),_:1})):(a(),k(o,{key:1}))])}}}),ao=$(no,[["__scopeId","data-v-ceddc1ed"]]),ro={},io={class:"VPPage"};function lo(s,e){const t=W("Content");return a(),c("div",io,[l(s.$slots,"page-top"),m(t),l(s.$slots,"page-bottom")])}const co=$(ro,[["render",lo]]),uo=_({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=G();return(o,i)=>(a(),c("div",{class:N(["VPContent",{"has-sidebar":r(n),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?l(o.$slots,"not-found",{key:0},()=>[m($t)],!0):r(t).layout==="page"?(a(),k(co,{key:1},{"page-top":p(()=>[l(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[l(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(ao,{key:2},{"home-hero-before":p(()=>[l(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[l(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[l(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[l(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[l(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[l(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[l(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[l(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[l(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(F(r(t).layout),{key:3})):(a(),k($s,{key:4},{"doc-top":p(()=>[l(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[l(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":p(()=>[l(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[l(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[l(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":p(()=>[l(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":p(()=>[l(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[l(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[l(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[l(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":p(()=>[l(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),vo=$(uo,[["__scopeId","data-v-4e31bbd2"]]),po={class:"container"},fo=["innerHTML"],ho=["innerHTML"],_o=_({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=G();return(o,i)=>r(e).footer&&r(t).footer!==!1?(a(),c("footer",{key:0,class:N(["VPFooter",{"has-sidebar":r(n)}])},[d("div",po,[r(e).footer.message?(a(),c("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,fo)):h("",!0),r(e).footer.copyright?(a(),c("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,ho)):h("",!0)])],2)):h("",!0)}}),mo=$(_o,[["__scopeId","data-v-098a46ae"]]);function ko(){const{theme:s,frontmatter:e}=P(),t=we([]),n=y(()=>t.value.length>0);return ee(()=>{t.value=$e(e.value.outline??s.value.outline)}),{headers:t,hasLocalNav:n}}const $o=s=>(C("data-v-5e8cf508"),s=s(),H(),s),bo={class:"menu-text"},go=$o(()=>d("span",{class:"vpi-chevron-right icon"},null,-1)),yo={class:"header"},Po={class:"outline"},Lo=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=V(!1),o=V(0),i=V(),u=V();function v(b){var L;(L=i.value)!=null&&L.contains(b.target)||(n.value=!1)}U(n,b=>{if(b){document.addEventListener("click",v);return}document.removeEventListener("click",v)}),ue("Escape",()=>{n.value=!1}),ee(()=>{n.value=!1});function f(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function g(b){b.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),Ye(()=>{n.value=!1}))}function S(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,L)=>(a(),c("div",{class:"VPLocalNavOutlineDropdown",style:me({"--vp-vh":o.value+"px"}),ref_key:"main",ref:i},[b.headers.length>0?(a(),c("button",{key:0,onClick:f,class:N({open:n.value})},[d("span",bo,w(r(Be)(r(t))),1),go],2)):(a(),c("button",{key:1,onClick:S},w(r(t).returnToTopLabel||"Return to top"),1)),m(fe,{name:"flyout"},{default:p(()=>[n.value?(a(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:g},[d("div",yo,[d("a",{class:"top-link",href:"#",onClick:S},w(r(t).returnToTopLabel||"Return to top"),1)]),d("div",Po,[m(Ce,{headers:b.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),Vo=$(Lo,[["__scopeId","data-v-5e8cf508"]]),So=s=>(C("data-v-b8036a12"),s=s(),H(),s),wo={class:"container"},To=["aria-expanded"],Io=So(()=>d("span",{class:"vpi-align-left menu-icon"},null,-1)),No={class:"menu-text"},Mo=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=G(),{headers:o}=ko(),{y:i}=Ie(),u=V(0);q(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ee(()=>{o.value=$e(t.value.outline??e.value.outline)});const v=y(()=>o.value.length===0),f=y(()=>v.value&&!n.value),g=y(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:v.value,fixed:f.value}));return(S,b)=>r(t).layout!=="home"&&(!f.value||r(i)>=u.value)?(a(),c("div",{key:0,class:N(g.value)},[d("div",wo,[r(n)?(a(),c("button",{key:0,class:"menu","aria-expanded":S.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=L=>S.$emit("open-menu"))},[Io,d("span",No,w(r(e).sidebarMenuLabel||"Menu"),1)],8,To)):h("",!0),m(Vo,{headers:r(o),navHeight:u.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),Ao=$(Mo,[["__scopeId","data-v-b8036a12"]]);function Bo(){const s=V(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const i=te();return U(()=>i.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const Co={},Ho={class:"VPSwitch",type:"button",role:"switch"},Eo={class:"check"},Fo={key:0,class:"icon"};function Oo(s,e){return a(),c("button",Ho,[d("span",Eo,[s.$slots.default?(a(),c("span",Fo,[l(s.$slots,"default",{},void 0,!0)])):h("",!0)])])}const Do=$(Co,[["render",Oo],["__scopeId","data-v-b19619af"]]),Ee=s=>(C("data-v-0f382965"),s=s(),H(),s),Uo=Ee(()=>d("span",{class:"vpi-sun sun"},null,-1)),Go=Ee(()=>d("span",{class:"vpi-moon moon"},null,-1)),jo=_({__name:"VPSwitchAppearance",setup(s){const{isDark:e,theme:t}=P(),n=se("toggle-appearance",()=>{e.value=!e.value}),o=V("");return _e(()=>{o.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,u)=>(a(),k(Do,{title:o.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(n)},{default:p(()=>[Uo,Go]),_:1},8,["title","aria-checked","onClick"]))}}),be=$(jo,[["__scopeId","data-v-0f382965"]]),zo={key:0,class:"VPNavBarAppearance"},Ro=_({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",zo,[m(be)])):h("",!0)}}),qo=$(Ro,[["__scopeId","data-v-0a1958c9"]]),ge=V();let Fe=!1,ie=0;function Ko(s){const e=V(!1);if(oe){!Fe&&Wo(),ie++;const t=U(ge,n=>{var o,i,u;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(i=s.onFocus)==null||i.call(s)):(e.value=!1,(u=s.onBlur)==null||u.call(s))});x(()=>{t(),ie--,ie||Jo()})}return Xe(e)}function Wo(){document.addEventListener("focusin",Oe),Fe=!0,ge.value=document.activeElement}function Jo(){document.removeEventListener("focusin",Oe)}function Oe(){ge.value=document.activeElement}const Yo={class:"VPMenuLink"},Xo=_({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),c("div",Yo,[m(O,{class:N({active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:p(()=>[D(w(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=$(Xo,[["__scopeId","data-v-19363427"]]),Qo={class:"VPMenuGroup"},Zo={key:0,class:"title"},xo=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),c("div",Qo,[e.text?(a(),c("p",Zo,w(e.text),1)):h("",!0),(a(!0),c(M,null,E(e.items,n=>(a(),c(M,null,["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):h("",!0)],64))),256))]))}}),en=$(xo,[["__scopeId","data-v-e815e7e2"]]),tn={class:"VPMenu"},sn={key:0,class:"items"},on=_({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),c("div",tn,[e.items?(a(),c("div",sn,[(a(!0),c(M,null,E(e.items,n=>(a(),c(M,{key:JSON.stringify(n)},["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(F(n.component),R({key:1,ref_for:!0},n.props),null,16)):(a(),k(en,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):h("",!0),l(e.$slots,"default",{},void 0,!0)]))}}),nn=$(on,[["__scopeId","data-v-0e22c6c5"]]),an=s=>(C("data-v-12ec5ee2"),s=s(),H(),s),rn=["aria-expanded","aria-label"],ln={key:0,class:"text"},cn=["innerHTML"],un=an(()=>d("span",{class:"vpi-chevron-down text-icon"},null,-1)),dn={key:1,class:"vpi-more-horizontal icon"},vn={class:"menu"},pn=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=V(!1),t=V();Ko({el:t,onBlur:n});function n(){e.value=!1}return(o,i)=>(a(),c("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=u=>e.value=!0),onMouseleave:i[2]||(i[2]=u=>e.value=!1)},[d("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:i[0]||(i[0]=u=>e.value=!e.value)},[o.button||o.icon?(a(),c("span",ln,[o.icon?(a(),c("span",{key:0,class:N([o.icon,"option-icon"])},null,2)):h("",!0),o.button?(a(),c("span",{key:1,innerHTML:o.button},null,8,cn)):h("",!0),un])):(a(),c("span",dn))],8,rn),d("div",vn,[m(nn,{items:o.items},{default:p(()=>[l(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ye=$(pn,[["__scopeId","data-v-12ec5ee2"]]),fn=["href","aria-label","innerHTML"],hn=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=y(()=>typeof e.icon=="object"?e.icon.svg:`<span class="vpi-social-${e.icon}" />`);return(n,o)=>(a(),c("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,fn))}}),_n=$(hn,[["__scopeId","data-v-974e0aed"]]),mn={class:"VPSocialLinks"},kn=_({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),c("div",mn,[(a(!0),c(M,null,E(e.links,({link:n,icon:o,ariaLabel:i})=>(a(),k(_n,{key:n,icon:o,link:n,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),Pe=$(kn,[["__scopeId","data-v-52782a78"]]),$n={key:0,class:"group translations"},bn={class:"trans-title"},gn={key:1,class:"group"},yn={class:"item appearance"},Pn={class:"label"},Ln={class:"appearance-action"},Vn={key:2,class:"group"},Sn={class:"item social-links"},wn=_({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=Y({correspondingLink:!0}),i=y(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(u,v)=>i.value?(a(),k(ye,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:p(()=>[r(n).length&&r(o).label?(a(),c("div",$n,[d("p",bn,w(r(o).label),1),(a(!0),c(M,null,E(r(n),f=>(a(),k(ne,{key:f.link,item:f},null,8,["item"]))),128))])):h("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",gn,[d("div",yn,[d("p",Pn,w(r(t).darkModeSwitchLabel||"Appearance"),1),d("div",Ln,[m(be)])])])):h("",!0),r(t).socialLinks?(a(),c("div",Vn,[d("div",Sn,[m(Pe,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),Tn=$(wn,[["__scopeId","data-v-c34ef5aa"]]),In=s=>(C("data-v-6a2ed68b"),s=s(),H(),s),Nn=["aria-expanded"],Mn=In(()=>d("span",{class:"container"},[d("span",{class:"top"}),d("span",{class:"middle"}),d("span",{class:"bottom"})],-1)),An=[Mn],Bn=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),c("button",{type:"button",class:N(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},An,10,Nn))}}),Cn=$(Bn,[["__scopeId","data-v-6a2ed68b"]]),Hn=["innerHTML"],En=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),k(O,{class:N({VPNavBarMenuLink:!0,active:r(K)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:p(()=>[d("span",{innerHTML:t.item.text},null,8,Hn)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Fn=$(En,[["__scopeId","data-v-c423e9f4"]]),On=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=i=>"component"in i?!1:"link"in i?K(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(n),o=y(()=>n(e.item));return(i,u)=>(a(),k(ye,{class:N({VPNavBarMenuGroup:!0,active:r(K)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||o.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),Dn=s=>(C("data-v-71183eee"),s=s(),H(),s),Un={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Gn=Dn(()=>d("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),jn=_({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>r(e).nav?(a(),c("nav",Un,[Gn,(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Fn,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(F(o.component),R({key:1,ref_for:!0},o.props),null,16)):(a(),k(On,{key:2,item:o},null,8,["item"]))],64))),128))])):h("",!0)}}),zn=$(jn,[["__scopeId","data-v-71183eee"]]);function Rn(s){const{localeIndex:e,theme:t}=P();function n(o){var A,B,T;const i=o.split("."),u=(A=t.value.search)==null?void 0:A.options,v=u&&typeof u=="object",f=v&&((T=(B=u.locales)==null?void 0:B[e.value])==null?void 0:T.translations)||null,g=v&&u.translations||null;let S=f,b=g,L=s;const I=i.pop();for(const j of i){let z=null;const J=L==null?void 0:L[j];J&&(z=L=J);const ae=b==null?void 0:b[j];ae&&(z=b=ae);const re=S==null?void 0:S[j];re&&(z=S=re),J||(L=z),ae||(b=z),re||(S=z)}return(S==null?void 0:S[I])??(b==null?void 0:b[I])??(L==null?void 0:L[I])??""}return n}const qn=["aria-label"],Kn={class:"DocSearch-Button-Container"},Wn=d("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Jn={class:"DocSearch-Button-Placeholder"},Yn=d("span",{class:"DocSearch-Button-Keys"},[d("kbd",{class:"DocSearch-Button-Key"}),d("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Le=_({__name:"VPNavBarSearchButton",setup(s){const t=Rn({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(a(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[d("span",Kn,[Wn,d("span",Jn,w(r(t)("button.buttonText")),1)]),Yn],8,qn))}}),Xn={class:"VPNavBarSearch"},Qn={id:"local-search"},Zn={key:1,id:"docsearch"},xn=_({__name:"VPNavBarSearch",setup(s){const e=Qe(()=>Ze(()=>import("./VPLocalSearchBox.Cmjg88Za.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=P(),o=V(!1),i=V(!1);q(()=>{});function u(){o.value||(o.value=!0,setTimeout(v,16))}function v(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||v()},16)}function f(b){const L=b.target,I=L.tagName;return L.isContentEditable||I==="INPUT"||I==="SELECT"||I==="TEXTAREA"}const g=V(!1);ue("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),g.value=!0)}),ue("/",b=>{f(b)||(b.preventDefault(),g.value=!0)});const S="local";return(b,L)=>{var I;return a(),c("div",Xn,[r(S)==="local"?(a(),c(M,{key:0},[g.value?(a(),k(r(e),{key:0,onClose:L[0]||(L[0]=A=>g.value=!1)})):h("",!0),d("div",Qn,[m(Le,{onClick:L[1]||(L[1]=A=>g.value=!0)})])],64)):r(S)==="algolia"?(a(),c(M,{key:1},[o.value?(a(),k(r(t),{key:0,algolia:((I=r(n).search)==null?void 0:I.options)??r(n).algolia,onVnodeBeforeMount:L[2]||(L[2]=A=>i.value=!0)},null,8,["algolia"])):h("",!0),i.value?h("",!0):(a(),c("div",Zn,[m(Le,{onClick:u})]))],64)):h("",!0)])}}}),ea=_({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>r(e).socialLinks?(a(),k(Pe,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),ta=$(ea,[["__scopeId","data-v-edaebeb1"]]),sa=["href","rel","target"],oa={key:1},na={key:2},aa=_({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=G(),{currentLang:o}=Y(),i=y(()=>{var f;return typeof t.value.logoLink=="string"?t.value.logoLink:(f=t.value.logoLink)==null?void 0:f.link}),u=y(()=>{var f;return typeof t.value.logoLink=="string"||(f=t.value.logoLink)==null?void 0:f.rel}),v=y(()=>{var f;return typeof t.value.logoLink=="string"||(f=t.value.logoLink)==null?void 0:f.target});return(f,g)=>(a(),c("div",{class:N(["VPNavBarTitle",{"has-sidebar":r(n)}])},[d("a",{class:"title",href:i.value??r(ke)(r(o).link),rel:u.value,target:v.value},[l(f.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Q,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):h("",!0),r(t).siteTitle?(a(),c("span",oa,w(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),c("span",na,w(r(e).title),1)):h("",!0),l(f.$slots,"nav-bar-title-after",{},void 0,!0)],8,sa)],2))}}),ra=$(aa,[["__scopeId","data-v-de953605"]]),ia={class:"items"},la={class:"title"},ca=_({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=Y({correspondingLink:!0});return(o,i)=>r(t).length&&r(n).label?(a(),k(ye,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:p(()=>[d("div",ia,[d("p",la,w(r(n).label),1),(a(!0),c(M,null,E(r(t),u=>(a(),k(ne,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):h("",!0)}}),ua=$(ca,[["__scopeId","data-v-d3047050"]]),da=s=>(C("data-v-37a6b570"),s=s(),H(),s),va={class:"wrapper"},pa={class:"container"},fa={class:"title"},ha={class:"content"},_a={class:"content-body"},ma=da(()=>d("div",{class:"divider"},[d("div",{class:"divider-line"})],-1)),ka=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const e=s,{y:t}=Ie(),{hasSidebar:n}=G(),{frontmatter:o}=P(),i=V({});return _e(()=>{i.value={"has-sidebar":n.value,home:o.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(u,v)=>(a(),c("div",{class:N(["VPNavBar",i.value])},[d("div",va,[d("div",pa,[d("div",fa,[m(ra,null,{"nav-bar-title-before":p(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),d("div",ha,[d("div",_a,[l(u.$slots,"nav-bar-content-before",{},void 0,!0),m(xn,{class:"search"}),m(zn,{class:"menu"}),m(ua,{class:"translations"}),m(qo,{class:"appearance"}),m(ta,{class:"social-links"}),m(Tn,{class:"extra"}),l(u.$slots,"nav-bar-content-after",{},void 0,!0),m(Cn,{class:"hamburger",active:u.isScreenOpen,onClick:v[0]||(v[0]=f=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),ma],2))}}),$a=$(ka,[["__scopeId","data-v-37a6b570"]]),ba={key:0,class:"VPNavScreenAppearance"},ga={class:"text"},ya=_({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),c("div",ba,[d("p",ga,w(r(t).darkModeSwitchLabel||"Appearance"),1),m(be)])):h("",!0)}}),Pa=$(ya,[["__scopeId","data-v-beb3f918"]]),La=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(O,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Va=$(La,[["__scopeId","data-v-6f3d2ab5"]]),Sa=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(O,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:p(()=>[D(w(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),De=$(Sa,[["__scopeId","data-v-eab7bfa1"]]),wa={class:"VPNavScreenMenuGroupSection"},Ta={key:0,class:"title"},Ia=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),c("div",wa,[e.text?(a(),c("p",Ta,w(e.text),1)):h("",!0),(a(!0),c(M,null,E(e.items,n=>(a(),k(De,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Na=$(Ia,[["__scopeId","data-v-60ca4288"]]),Ma=s=>(C("data-v-9b54e8b4"),s=s(),H(),s),Aa=["aria-controls","aria-expanded"],Ba=["innerHTML"],Ca=Ma(()=>d("span",{class:"vpi-plus button-icon"},null,-1)),Ha=["id"],Ea={key:0,class:"item"},Fa={key:1,class:"item"},Oa={key:2,class:"group"},Da=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=V(!1),n=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(i,u)=>(a(),c("div",{class:N(["VPNavScreenMenuGroup",{open:t.value}])},[d("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[d("span",{class:"button-text",innerHTML:i.text},null,8,Ba),Ca],8,Aa),d("div",{id:n.value,class:"items"},[(a(!0),c(M,null,E(i.items,v=>(a(),c(M,{key:JSON.stringify(v)},["link"in v?(a(),c("div",Ea,[m(De,{item:v},null,8,["item"])])):"component"in v?(a(),c("div",Fa,[(a(),k(F(v.component),R({ref_for:!0},v.props,{"screen-menu":""}),null,16))])):(a(),c("div",Oa,[m(Na,{text:v.text,items:v.items},null,8,["text","items"])]))],64))),128))],8,Ha)],2))}}),Ua=$(Da,[["__scopeId","data-v-9b54e8b4"]]),Ga={key:0,class:"VPNavScreenMenu"},ja=_({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>r(e).nav?(a(),c("nav",Ga,[(a(!0),c(M,null,E(r(e).nav,o=>(a(),c(M,{key:JSON.stringify(o)},["link"in o?(a(),k(Va,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(F(o.component),R({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(a(),k(Ua,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),za=_({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>r(e).socialLinks?(a(),k(Pe,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),Ue=s=>(C("data-v-d9ff2423"),s=s(),H(),s),Ra=Ue(()=>d("span",{class:"vpi-languages icon lang"},null,-1)),qa=Ue(()=>d("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Ka={class:"list"},Wa=_({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=Y({correspondingLink:!0}),n=V(!1);function o(){n.value=!n.value}return(i,u)=>r(e).length&&r(t).label?(a(),c("div",{key:0,class:N(["VPNavScreenTranslations",{open:n.value}])},[d("button",{class:"title",onClick:o},[Ra,D(" "+w(r(t).label)+" ",1),qa]),d("ul",Ka,[(a(!0),c(M,null,E(r(e),v=>(a(),c("li",{key:v.link,class:"item"},[m(O,{class:"link",href:v.link},{default:p(()=>[D(w(v.text),1)]),_:2},1032,["href"])]))),128))])],2)):h("",!0)}}),Ja=$(Wa,[["__scopeId","data-v-d9ff2423"]]),Ya={class:"container"},Xa=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=V(null),t=Ne(oe?document.body:null);return(n,o)=>(a(),k(fe,{name:"fade",onEnter:o[0]||(o[0]=i=>t.value=!0),onAfterLeave:o[1]||(o[1]=i=>t.value=!1)},{default:p(()=>[n.open?(a(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[d("div",Ya,[l(n.$slots,"nav-screen-content-before",{},void 0,!0),m(ja,{class:"menu"}),m(Ja,{class:"translations"}),m(Pa,{class:"appearance"}),m(za,{class:"social-links"}),l(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):h("",!0)]),_:3}))}}),Qa=$(Xa,[["__scopeId","data-v-c6c7bd45"]]),Za={key:0,class:"VPNav"},xa=_({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Bo(),{frontmatter:o}=P(),i=y(()=>o.value.navbar!==!1);return Me("close-screen",t),Z(()=>{oe&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(u,v)=>i.value?(a(),c("header",Za,[m($a,{"is-screen-open":r(e),onToggleScreen:r(n)},{"nav-bar-title-before":p(()=>[l(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[l(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[l(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[l(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),m(Qa,{open:r(e)},{"nav-screen-content-before":p(()=>[l(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[l(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):h("",!0)}}),er=$(xa,[["__scopeId","data-v-d52d372b"]]),Ge=s=>(C("data-v-b74067ae"),s=s(),H(),s),tr=["role","tabindex"],sr=Ge(()=>d("div",{class:"indicator"},null,-1)),or=Ge(()=>d("span",{class:"vpi-chevron-right caret-icon"},null,-1)),nr=[or],ar={key:1,class:"items"},rr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:i,hasActiveLink:u,hasChildren:v,toggle:f}=Pt(y(()=>e.item)),g=y(()=>v.value?"section":"div"),S=y(()=>o.value?"a":"div"),b=y(()=>v.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),L=y(()=>o.value?void 0:"button"),I=y(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":i.value},{"has-active":u.value}]);function A(T){"key"in T&&T.key!=="Enter"||!e.item.link&&f()}function B(){e.item.link&&f()}return(T,j)=>{const z=W("VPSidebarItem",!0);return a(),k(F(g.value),{class:N(["VPSidebarItem",I.value])},{default:p(()=>[T.item.text?(a(),c("div",R({key:0,class:"item",role:L.value},xe(T.item.items?{click:A,keydown:A}:{},!0),{tabindex:T.item.items&&0}),[sr,T.item.link?(a(),k(O,{key:0,tag:S.value,class:"link",href:T.item.link,rel:T.item.rel,target:T.item.target},{default:p(()=>[(a(),k(F(b.value),{class:"text",innerHTML:T.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(F(b.value),{key:1,class:"text",innerHTML:T.item.text},null,8,["innerHTML"])),T.item.collapsed!=null&&T.item.items&&T.item.items.length?(a(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:B,onKeydown:et(B,["enter"]),tabindex:"0"},nr,32)):h("",!0)],16,tr)):h("",!0),T.item.items&&T.item.items.length?(a(),c("div",ar,[T.depth<5?(a(!0),c(M,{key:0},E(T.item.items,J=>(a(),k(z,{key:J.text,item:J,depth:T.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),ir=$(rr,[["__scopeId","data-v-b74067ae"]]),lr=_({__name:"VPSidebarGroup",props:{items:{}},setup(s){const e=V(!0);let t=null;return q(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),tt(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,o)=>(a(!0),c(M,null,E(n.items,i=>(a(),c("div",{key:i.text,class:N(["group",{"no-transition":e.value}])},[m(ir,{item:i,depth:0},null,8,["item"])],2))),128))}}),cr=$(lr,[["__scopeId","data-v-e3ecf1ec"]]),je=s=>(C("data-v-f2245985"),s=s(),H(),s),ur=je(()=>d("div",{class:"curtain"},null,-1)),dr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},vr=je(()=>d("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),pr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=G(),n=s,o=V(null),i=Ne(oe?document.body:null);U([n,o],()=>{var v;n.open?(i.value=!0,(v=o.value)==null||v.focus()):i.value=!1},{immediate:!0,flush:"post"});const u=V(0);return U(e,()=>{u.value+=1},{deep:!0}),(v,f)=>r(t)?(a(),c("aside",{key:0,class:N(["VPSidebar",{open:v.open}]),ref_key:"navEl",ref:o,onClick:f[0]||(f[0]=st(()=>{},["stop"]))},[ur,d("nav",dr,[vr,l(v.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(cr,{items:r(e),key:u.value},null,8,["items"])),l(v.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),fr=$(pr,[["__scopeId","data-v-f2245985"]]),hr=_({__name:"VPSkipLink",setup(s){const e=te(),t=V();U(()=>e.path,()=>t.value.focus());function n({target:o}){const i=document.getElementById(decodeURIComponent(o.hash).slice(1));if(i){const u=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",u)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",u),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(a(),c(M,null,[d("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),d("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),_r=$(hr,[["__scopeId","data-v-a977b129"]]),mr=_({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=G(),o=te();U(()=>o.path,n),yt(e,n);const{frontmatter:i}=P(),u=ot(),v=y(()=>!!u["home-hero-image"]);return Me("hero-image-slot-exists",v),(f,g)=>{const S=W("Content");return r(i).layout!==!1?(a(),c("div",{key:0,class:N(["Layout",r(i).pageClass])},[l(f.$slots,"layout-top",{},void 0,!0),m(_r),m(it,{class:"backdrop",show:r(e),onClick:r(n)},null,8,["show","onClick"]),m(er,null,{"nav-bar-title-before":p(()=>[l(f.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":p(()=>[l(f.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":p(()=>[l(f.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":p(()=>[l(f.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":p(()=>[l(f.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":p(()=>[l(f.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),m(Ao,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),m(fr,{open:r(e)},{"sidebar-nav-before":p(()=>[l(f.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":p(()=>[l(f.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),m(vo,null,{"page-top":p(()=>[l(f.$slots,"page-top",{},void 0,!0)]),"page-bottom":p(()=>[l(f.$slots,"page-bottom",{},void 0,!0)]),"not-found":p(()=>[l(f.$slots,"not-found",{},void 0,!0)]),"home-hero-before":p(()=>[l(f.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":p(()=>[l(f.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":p(()=>[l(f.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":p(()=>[l(f.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":p(()=>[l(f.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":p(()=>[l(f.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":p(()=>[l(f.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":p(()=>[l(f.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":p(()=>[l(f.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":p(()=>[l(f.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":p(()=>[l(f.$slots,"doc-before",{},void 0,!0)]),"doc-after":p(()=>[l(f.$slots,"doc-after",{},void 0,!0)]),"doc-top":p(()=>[l(f.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":p(()=>[l(f.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":p(()=>[l(f.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":p(()=>[l(f.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":p(()=>[l(f.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":p(()=>[l(f.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":p(()=>[l(f.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":p(()=>[l(f.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),m(mo),l(f.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(S,{key:1}))}}}),kr=$(mr,[["__scopeId","data-v-7e3343f7"]]),ze={Layout:kr,enhanceApp:({app:s})=>{s.component("Badge",nt)}},$r="LiteyukiStudio",br="LiteyukiBot",gr="https://api.github.com",yr="https://api.liteyuki.icu/online",Pr="https://api.liteyuki.icu/count",le={getTotal:async()=>{try{return(await(await fetch(Pr)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(yr)).json()).online}catch{return-1}},getGithubStats:async()=>{try{const e=await(await fetch(`${gr}/repos/${$r}/${br}`)).json();return{stars:e.stargazers_count,forks:e.forks_count,watchers:e.watchers_count,issues:e.open_issues_count,prs:e.open_issues_count}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1}}}},Lr={en:{online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests"},zh:{online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星星",forks:"叉子",issues:"议题",prs:"合并"}};let Ve={};function Vr(s){return s.includes("-")?s.split("-")[0]:s}function Sr(s){const e=Vr(Se().site.value.lang);return Ve[s]=V(Lr[e][s]),Ve[s]}const wr=s=>(C("data-v-c53fce56"),s=s(),H(),s),Tr={class:"stats-bar-content"},Ir={class:"stats-bar"},Nr={class:"stats-info"},Mr={class:"section-tab"},Ar={class:"text"},Br={class:"number"},Cr=wr(()=>d("div",{class:"starmap"},[d("iframe",{src:"https://starmap.liteyuki.icu/",width:"100%",height:"300px"})],-1)),Hr=_({__name:"StatsBar",setup(s){const{Layout:e}=ze;let t=null;const n={total:{name:"total",color:"#00a6ff",value:V(0)},online:{name:"online",color:"#00ff00",value:V(0)},stars:{name:"stars",color:"#ffcc00",value:V(0)},forks:{name:"forks",color:"#ff6600",value:V(0)},issues:{name:"issues",color:"#ff0000",value:V(0)},prs:{name:"prs",color:"#ff00ff",value:V(0)}};async function o(){[n.online.value.value,n.total.value.value,t]=await Promise.all([le.getOnline(),le.getTotal(),le.getGithubStats()]),n.stars.value.value=(t==null?void 0:t.stars)||0,n.forks.value.value=(t==null?void 0:t.forks)||0,n.issues.value.value=(t==null?void 0:t.issues)||0,n.prs.value.value=(t==null?void 0:t.prs)||0}return q(()=>{const i=setInterval(o,1e4);o(),x(()=>{clearInterval(i)})}),(i,u)=>(a(),k(r(e),null,{"home-features-before":p(()=>[d("div",Tr,[d("div",Ir,[d("div",Nr,[(a(!0),c(M,null,E(Object.values(n),v=>(a(),c("div",{key:v.name,class:"section"},[d("div",Mr,[d("span",{class:"dot",style:me({backgroundColor:v.color})},null,4),d("span",Ar,w(r(Sr)(v.name)),1)]),d("div",Br,w(v.value.value),1)]))),128))]),Cr])])]),_:1}))}}),Er=$(Hr,[["__scopeId","data-v-c53fce56"]]),Or={extends:ze,Layout:Er};export{Or as R,Rn as c,P as u};