app/assets/chunks/theme.CmxXGI6f.js

3 lines
54 KiB
JavaScript

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