1 line
64 KiB
JavaScript
1 line
64 KiB
JavaScript
import{d as k,o as r,c as p,r as d,n as A,a as J,t as M,b as S,w as v,e as g,T as Ne,_ as L,u as We,i as mt,f as _t,g as me,h as V,j as h,k as l,p as z,l as j,m as ee,q as Le,s as I,v as X,x as _e,y as te,z as Me,A as Je,B as gt,C as kt,D as Z,F as C,E as F,G as Xe,H as ge,I as y,J as oe,K as Ye,L as ie,M as ue,N as ke,O as bt,P as Qe,Q as $t,R as Ae,S as Ze,U as be,V as yt,W as Pt,X as Vt,Y as ze,Z as Lt,$ as et,a0 as St,a1 as wt,a2 as tt,a3 as nt,a4 as It,a5 as Tt,a6 as Nt,a7 as Mt,a8 as je}from"./framework.D8PMdl4T.js";const At=k({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(r(),p("span",{class:A(["VPBadge",t.type])},[d(t.$slots,"default",{},()=>[J(M(t.text),1)])],2))}}),Ct={key:0,class:"VPBackdrop"},Ht=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(r(),S(Ne,{name:"fade"},{default:v(()=>[t.show?(r(),p("div",Ct)):g("",!0)]),_:1}))}}),Bt=L(Ht,[["__scopeId","data-v-c79a1216"]]),T=We;function Et(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),(s=!0)&&setTimeout(()=>s=!1,t))}}function Se(e){return/^\//.test(e)?e:`/${e}`}function Ce(e){const{pathname:t,search:n,hash:s,protocol:o}=new URL(e,"http://a.com");if(mt(e)||e.startsWith("#")||!o.startsWith("http")||!_t(t))return e;const{site:a}=T(),i=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${n}${s}`);return me(i)}function re({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:s,theme:o,hash:a}=T(),i=V(()=>{var u,f;return{label:(u=t.value.locales[n.value])==null?void 0:u.label,link:((f=t.value.locales[n.value])==null?void 0:f.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:V(()=>Object.entries(t.value.locales).flatMap(([u,f])=>i.value.label===f.label?[]:{text:f.label,link:Ot(f.link||(u==="root"?"/":`/${u}/`),o.value.i18nRouting!==!1&&e,s.value.relativePath.slice(i.value.link.length-1),!t.value.cleanUrls)+a.value})),currentLang:i}}function Ot(e,t,n,s){return t?e.replace(/\/$/,"")+Se(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const Dt=e=>(z("data-v-d6be1790"),e=e(),j(),e),Ft={class:"NotFound"},zt={class:"code"},jt={class:"title"},Ut=Dt(()=>h("div",{class:"divider"},null,-1)),qt={class:"quote"},Gt={class:"action"},Rt=["href","aria-label"],xt=k({__name:"NotFound",setup(e){const{theme:t}=T(),{currentLang:n}=re();return(s,o)=>{var a,i,c,u,f;return r(),p("div",Ft,[h("p",zt,M(((a=l(t).notFound)==null?void 0:a.code)??"404"),1),h("h1",jt,M(((i=l(t).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),Ut,h("blockquote",qt,M(((c=l(t).notFound)==null?void 0:c.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),h("div",Gt,[h("a",{class:"link",href:l(me)(l(n).link),"aria-label":((u=l(t).notFound)==null?void 0:u.linkLabel)??"go to home"},M(((f=l(t).notFound)==null?void 0:f.linkText)??"Take me home"),9,Rt)])])}}}),Kt=L(xt,[["__scopeId","data-v-d6be1790"]]);function st(e,t){if(Array.isArray(e))return de(e);if(e==null)return[];t=Se(t);const n=Object.keys(e).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>t.startsWith(Se(o))),s=n?e[n]:[];return Array.isArray(s)?de(s):de(s.items,s.base)}function Wt(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function Jt(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(e),t}function we(e,t){return Array.isArray(t)?t.some(n=>we(e,n)):ee(e,t.link)?!0:t.items?we(e,t.items):!1}function de(e,t){return[...e].map(n=>{const s={...n},o=s.base||t;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=de(s.items,o)),s})}function Y(){const{frontmatter:e,page:t,theme:n}=T(),s=Le("(min-width: 960px)"),o=I(!1),a=V(()=>{const N=n.value.sidebar,w=t.value.relativePath;return N?st(N,w):[]}),i=I(a.value);X(a,(N,w)=>{JSON.stringify(N)!==JSON.stringify(w)&&(i.value=a.value)});const c=V(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),u=V(()=>f?e.value.aside==null?n.value.aside==="left":e.value.aside==="left":!1),f=V(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:n.value.aside!==!1),_=V(()=>c.value&&s.value),m=V(()=>c.value?Wt(i.value):[]);function P(){o.value=!0}function b(){o.value=!1}function $(){o.value?b():P()}return{isOpen:o,sidebar:i,sidebarGroups:m,hasSidebar:c,hasAside:f,leftAside:u,isSidebarEnabled:_,open:P,close:b,toggle:$}}function Xt(e,t){let n;_e(()=>{n=e.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",s)}),Me(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function Yt(e){const{page:t,hash:n}=T(),s=I(!1),o=V(()=>e.value.collapsed!=null),a=V(()=>!!e.value.link),i=I(!1),c=()=>{i.value=ee(t.value.relativePath,e.value.link)};X([t,e,n],c),te(c);const u=V(()=>i.value?!0:e.value.items?we(t.value.relativePath,e.value.items):!1),f=V(()=>!!(e.value.items&&e.value.items.length));_e(()=>{s.value=!!(o.value&&e.value.collapsed)}),Je(()=>{(i.value||u.value)&&(s.value=!1)});function _(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:a,isActiveLink:i,hasActiveLink:u,hasChildren:f,toggle:_}}function Qt(){const{hasSidebar:e}=Y(),t=Le("(min-width: 960px)"),n=Le("(min-width: 1280px)");return{isAsideEnabled:V(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const Ie=[];function ot(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function He(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{element:n,title:Zt(n),link:"#"+n.id,level:s}});return en(t,e)}function Zt(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor")||n.classList.contains("ignore-header"))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function en(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;e=e.filter(i=>i.level>=s&&i.level<=o),Ie.length=0;for(const{element:i,link:c}of e)Ie.push({element:i,link:c});const a=[];e:for(let i=0;i<e.length;i++){const c=e[i];if(i===0)a.push(c);else{for(let u=i-1;u>=0;u--){const f=e[u];if(f.level<c.level){(f.children||(f.children=[])).push(c);continue e}}a.push(c)}}return a}function tn(e,t){const{isAsideEnabled:n}=Qt(),s=Et(a,100);let o=null;te(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),gt(()=>{i(location.hash)}),Me(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const c=window.scrollY,u=window.innerHeight,f=document.body.offsetHeight,_=Math.abs(c+u-f)<1,m=Ie.map(({element:b,link:$})=>({link:$,top:nn(b)})).filter(({top:b})=>!Number.isNaN(b)).sort((b,$)=>b.top-$.top);if(!m.length){i(null);return}if(c<1){i(null);return}if(_){i(m[m.length-1].link);return}let P=null;for(const{link:b,top:$}of m){if($>c+kt()+4)break;P=b}i(P)}function i(c){o&&o.classList.remove("active"),c==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(c)}"]`);const u=o;u?(u.classList.add("active"),t.value.style.top=u.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function nn(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}const sn=["href","title"],on=k({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:n}){const s=n.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(n,s)=>{const o=Z("VPDocOutlineItem",!0);return r(),p("ul",{class:A(["VPDocOutlineItem",n.root?"root":"nested"])},[(r(!0),p(C,null,F(n.headers,({children:a,link:i,title:c})=>(r(),p("li",null,[h("a",{class:"outline-link",href:i,onClick:t,title:c},M(c),9,sn),a!=null&&a.length?(r(),S(o,{key:0,headers:a},null,8,["headers"])):g("",!0)]))),256))],2)}}}),at=L(on,[["__scopeId","data-v-b933a997"]]),an={class:"content"},rn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},ln=k({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=T(),s=Xe([]);ge(()=>{s.value=He(t.value.outline??n.value.outline)});const o=I(),a=I();return tn(o,a),(i,c)=>(r(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:A(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[h("div",an,[h("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),h("div",rn,M(l(ot)(l(n))),1),y(at,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),cn=L(ln,[["__scopeId","data-v-a5bbad30"]]),un={class:"VPDocAsideCarbonAds"},dn=k({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(n,s)=>(r(),p("div",un,[y(l(t),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),hn=e=>(z("data-v-3f215769"),e=e(),j(),e),pn={class:"VPDocAside"},vn=hn(()=>h("div",{class:"spacer"},null,-1)),fn=k({__name:"VPDocAside",setup(e){const{theme:t}=T();return(n,s)=>(r(),p("div",pn,[d(n.$slots,"aside-top",{},void 0,!0),d(n.$slots,"aside-outline-before",{},void 0,!0),y(cn),d(n.$slots,"aside-outline-after",{},void 0,!0),vn,d(n.$slots,"aside-ads-before",{},void 0,!0),l(t).carbonAds?(r(),S(dn,{key:0,"carbon-ads":l(t).carbonAds},null,8,["carbon-ads"])):g("",!0),d(n.$slots,"aside-ads-after",{},void 0,!0),d(n.$slots,"aside-bottom",{},void 0,!0)]))}}),mn=L(fn,[["__scopeId","data-v-3f215769"]]);function _n(){const{theme:e,page:t}=T();return V(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{};let o;return typeof s=="function"?o=s(t.value):o=s.replace(/:path/g,t.value.filePath),{url:o,text:n}})}function gn(){const{page:e,theme:t,frontmatter:n}=T();return V(()=>{var f,_,m,P,b,$,N,w;const s=st(t.value.sidebar,e.value.relativePath),o=Jt(s),a=kn(o,U=>U.link.replace(/[?#].*$/,"")),i=a.findIndex(U=>ee(e.value.relativePath,U.link)),c=((f=t.value.docFooter)==null?void 0:f.prev)===!1&&!n.value.prev||n.value.prev===!1,u=((_=t.value.docFooter)==null?void 0:_.next)===!1&&!n.value.next||n.value.next===!1;return{prev:c?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((m=a[i-1])==null?void 0:m.docFooterText)??((P=a[i-1])==null?void 0:P.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((b=a[i-1])==null?void 0:b.link)},next:u?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??(($=a[i+1])==null?void 0:$.docFooterText)??((N=a[i+1])==null?void 0:N.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((w=a[i+1])==null?void 0:w.link)}}})}function kn(e,t){const n=new Set;return e.filter(s=>{const o=t(s);return n.has(o)?!1:n.add(o)})}const W=k({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,n=V(()=>t.tag??(t.href?"a":"span")),s=V(()=>t.href&&Ye.test(t.href)||t.target==="_blank");return(o,a)=>(r(),S(oe(n.value),{class:A(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?l(Ce)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[d(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),bn={class:"VPLastUpdated"},$n=["datetime"],yn=k({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,frontmatter:s,lang:o}=T(),a=V(()=>new Date(s.value.lastUpdated??n.value.lastUpdated)),i=V(()=>a.value.toISOString()),c=I("");return te(()=>{_e(()=>{var u,f,_;c.value=new Intl.DateTimeFormat((f=(u=t.value.lastUpdated)==null?void 0:u.formatOptions)!=null&&f.forceLocale?o.value:void 0,((_=t.value.lastUpdated)==null?void 0:_.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(a.value)})}),(u,f)=>{var _;return r(),p("p",bn,[J(M(((_=l(t).lastUpdated)==null?void 0:_.text)||l(t).lastUpdatedText||"Last updated")+": ",1),h("time",{datetime:i.value},M(c.value),9,$n)])}}}),Pn=L(yn,[["__scopeId","data-v-7e05ebdb"]]),it=e=>(z("data-v-d4a0bba5"),e=e(),j(),e),Vn={key:0,class:"VPDocFooter"},Ln={key:0,class:"edit-info"},Sn={key:0,class:"edit-link"},wn=it(()=>h("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),In={key:1,class:"last-updated"},Tn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Nn=it(()=>h("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Mn={class:"pager"},An=["innerHTML"],Cn=["innerHTML"],Hn={class:"pager"},Bn=["innerHTML"],En=["innerHTML"],On=k({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=T(),o=_n(),a=gn(),i=V(()=>t.value.editLink&&s.value.editLink!==!1),c=V(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),u=V(()=>i.value||c.value||a.value.prev||a.value.next);return(f,_)=>{var m,P,b,$;return u.value?(r(),p("footer",Vn,[d(f.$slots,"doc-footer-before",{},void 0,!0),i.value||c.value?(r(),p("div",Ln,[i.value?(r(),p("div",Sn,[y(W,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:v(()=>[wn,J(" "+M(l(o).text),1)]),_:1},8,["href"])])):g("",!0),c.value?(r(),p("div",In,[y(Pn)])):g("",!0)])):g("",!0),(m=l(a).prev)!=null&&m.link||(P=l(a).next)!=null&&P.link?(r(),p("nav",Tn,[Nn,h("div",Mn,[(b=l(a).prev)!=null&&b.link?(r(),S(W,{key:0,class:"pager-link prev",href:l(a).prev.link},{default:v(()=>{var N;return[h("span",{class:"desc",innerHTML:((N=l(t).docFooter)==null?void 0:N.prev)||"Previous page"},null,8,An),h("span",{class:"title",innerHTML:l(a).prev.text},null,8,Cn)]}),_:1},8,["href"])):g("",!0)]),h("div",Hn,[($=l(a).next)!=null&&$.link?(r(),S(W,{key:0,class:"pager-link next",href:l(a).next.link},{default:v(()=>{var N;return[h("span",{class:"desc",innerHTML:((N=l(t).docFooter)==null?void 0:N.next)||"Next page"},null,8,Bn),h("span",{class:"title",innerHTML:l(a).next.text},null,8,En)]}),_:1},8,["href"])):g("",!0)])])):g("",!0)])):g("",!0)}}}),Dn=L(On,[["__scopeId","data-v-d4a0bba5"]]),Fn=e=>(z("data-v-39a288b8"),e=e(),j(),e),zn={class:"container"},jn=Fn(()=>h("div",{class:"aside-curtain"},null,-1)),Un={class:"aside-container"},qn={class:"aside-content"},Gn={class:"content"},Rn={class:"content-container"},xn={class:"main"},Kn=k({__name:"VPDoc",setup(e){const{theme:t}=T(),n=ie(),{hasSidebar:s,hasAside:o,leftAside:a}=Y(),i=V(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(c,u)=>{const f=Z("Content");return r(),p("div",{class:A(["VPDoc",{"has-sidebar":l(s),"has-aside":l(o)}])},[d(c.$slots,"doc-top",{},void 0,!0),h("div",zn,[l(o)?(r(),p("div",{key:0,class:A(["aside",{"left-aside":l(a)}])},[jn,h("div",Un,[h("div",qn,[y(mn,null,{"aside-top":v(()=>[d(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[d(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[d(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[d(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[d(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[d(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):g("",!0),h("div",Gn,[h("div",Rn,[d(c.$slots,"doc-before",{},void 0,!0),h("main",xn,[y(f,{class:A(["vp-doc",[i.value,l(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),y(Dn,null,{"doc-footer-before":v(()=>[d(c.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),d(c.$slots,"doc-after",{},void 0,!0)])])]),d(c.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Wn=L(Kn,[["__scopeId","data-v-39a288b8"]]),Jn=k({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,n=V(()=>t.href&&Ye.test(t.href)),s=V(()=>t.tag||t.href?"a":"button");return(o,a)=>(r(),S(oe(s.value),{class:A(["VPButton",[o.size,o.theme]]),href:o.href?l(Ce)(o.href):void 0,target:t.target??(n.value?"_blank":void 0),rel:t.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[J(M(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Xn=L(Jn,[["__scopeId","data-v-cad61b99"]]),Yn=["src","alt"],Qn=k({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,n)=>{const s=Z("VPImage",!0);return t.image?(r(),p(C,{key:0},[typeof t.image=="string"||"src"in t.image?(r(),p("img",ue({key:0,class:"VPImage"},typeof t.image=="string"?t.$attrs:{...t.image,...t.$attrs},{src:l(me)(typeof t.image=="string"?t.image:t.image.src),alt:t.alt??(typeof t.image=="string"?"":t.image.alt||"")}),null,16,Yn)):(r(),p(C,{key:1},[y(s,ue({class:"dark",image:t.image.dark,alt:t.image.alt},t.$attrs),null,16,["image","alt"]),y(s,ue({class:"light",image:t.image.light,alt:t.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):g("",!0)}}}),pe=L(Qn,[["__scopeId","data-v-8426fc1a"]]),Zn=e=>(z("data-v-303bb580"),e=e(),j(),e),es={class:"container"},ts={class:"main"},ns={key:0,class:"name"},ss=["innerHTML"],os=["innerHTML"],as=["innerHTML"],is={key:0,class:"actions"},rs={key:0,class:"image"},ls={class:"image-container"},cs=Zn(()=>h("div",{class:"image-bg"},null,-1)),us=k({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=ke("hero-image-slot-exists");return(n,s)=>(r(),p("div",{class:A(["VPHero",{"has-image":n.image||l(t)}])},[h("div",es,[h("div",ts,[d(n.$slots,"home-hero-info-before",{},void 0,!0),d(n.$slots,"home-hero-info",{},()=>[n.name?(r(),p("h1",ns,[h("span",{innerHTML:n.name,class:"clip"},null,8,ss)])):g("",!0),n.text?(r(),p("p",{key:1,innerHTML:n.text,class:"text"},null,8,os)):g("",!0),n.tagline?(r(),p("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,as)):g("",!0)],!0),d(n.$slots,"home-hero-info-after",{},void 0,!0),n.actions?(r(),p("div",is,[(r(!0),p(C,null,F(n.actions,o=>(r(),p("div",{key:o.link,class:"action"},[y(Xn,{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))])):g("",!0),d(n.$slots,"home-hero-actions-after",{},void 0,!0)]),n.image||l(t)?(r(),p("div",rs,[h("div",ls,[cs,d(n.$slots,"home-hero-image",{},()=>[n.image?(r(),S(pe,{key:0,class:"image-src",image:n.image},null,8,["image"])):g("",!0)],!0)])])):g("",!0)])],2))}}),ds=L(us,[["__scopeId","data-v-303bb580"]]),hs=k({__name:"VPHomeHero",setup(e){const{frontmatter:t}=T();return(n,s)=>l(t).hero?(r(),S(ds,{key:0,class:"VPHomeHero",name:l(t).hero.name,text:l(t).hero.text,tagline:l(t).hero.tagline,image:l(t).hero.image,actions:l(t).hero.actions},{"home-hero-info-before":v(()=>[d(n.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[d(n.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[d(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[d(n.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[d(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):g("",!0)}}),ps=e=>(z("data-v-a3976bdc"),e=e(),j(),e),vs={class:"box"},fs={key:0,class:"icon"},ms=["innerHTML"],_s=["innerHTML"],gs=["innerHTML"],ks={key:4,class:"link-text"},bs={class:"link-text-value"},$s=ps(()=>h("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),ys=k({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,n)=>(r(),S(W,{class:"VPFeature",href:t.link,rel:t.rel,target:t.target,"no-icon":!0,tag:t.link?"a":"div"},{default:v(()=>[h("article",vs,[typeof t.icon=="object"&&t.icon.wrap?(r(),p("div",fs,[y(pe,{image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])])):typeof t.icon=="object"?(r(),S(pe,{key:1,image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])):t.icon?(r(),p("div",{key:2,class:"icon",innerHTML:t.icon},null,8,ms)):g("",!0),h("h2",{class:"title",innerHTML:t.title},null,8,_s),t.details?(r(),p("p",{key:3,class:"details",innerHTML:t.details},null,8,gs)):g("",!0),t.linkText?(r(),p("div",ks,[h("p",bs,[J(M(t.linkText)+" ",1),$s])])):g("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Ps=L(ys,[["__scopeId","data-v-a3976bdc"]]),Vs={key:0,class:"VPFeatures"},Ls={class:"container"},Ss={class:"items"},ws=k({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,n=V(()=>{const s=t.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,o)=>s.features?(r(),p("div",Vs,[h("div",Ls,[h("div",Ss,[(r(!0),p(C,null,F(s.features,a=>(r(),p("div",{key:a.title,class:A(["item",[n.value]])},[y(Ps,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):g("",!0)}}),Is=L(ws,[["__scopeId","data-v-a6181336"]]),Ts=k({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=T();return(n,s)=>l(t).features?(r(),S(Is,{key:0,class:"VPHomeFeatures",features:l(t).features},null,8,["features"])):g("",!0)}}),Ns=k({__name:"VPHomeContent",setup(e){const{width:t}=bt({initialWidth:0,includeScrollbar:!1});return(n,s)=>(r(),p("div",{class:"vp-doc container",style:Qe(l(t)?{"--vp-offset":`calc(50% - ${l(t)/2}px)`}:{})},[d(n.$slots,"default",{},void 0,!0)],4))}}),Ms=L(Ns,[["__scopeId","data-v-8e2d4988"]]),As={class:"VPHome"},Cs=k({__name:"VPHome",setup(e){const{frontmatter:t}=T();return(n,s)=>{const o=Z("Content");return r(),p("div",As,[d(n.$slots,"home-hero-before",{},void 0,!0),y(hs,null,{"home-hero-info-before":v(()=>[d(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[d(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[d(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[d(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[d(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),d(n.$slots,"home-hero-after",{},void 0,!0),d(n.$slots,"home-features-before",{},void 0,!0),y(Ts),d(n.$slots,"home-features-after",{},void 0,!0),l(t).markdownStyles!==!1?(r(),S(Ms,{key:0},{default:v(()=>[y(o)]),_:1})):(r(),S(o,{key:1}))])}}}),Hs=L(Cs,[["__scopeId","data-v-686f80a6"]]),Bs={},Es={class:"VPPage"};function Os(e,t){const n=Z("Content");return r(),p("div",Es,[d(e.$slots,"page-top"),y(n),d(e.$slots,"page-bottom")])}const Ds=L(Bs,[["render",Os]]),Fs=k({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=T(),{hasSidebar:s}=Y();return(o,a)=>(r(),p("div",{class:A(["VPContent",{"has-sidebar":l(s),"is-home":l(n).layout==="home"}]),id:"VPContent"},[l(t).isNotFound?d(o.$slots,"not-found",{key:0},()=>[y(Kt)],!0):l(n).layout==="page"?(r(),S(Ds,{key:1},{"page-top":v(()=>[d(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[d(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(n).layout==="home"?(r(),S(Hs,{key:2},{"home-hero-before":v(()=>[d(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[d(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[d(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[d(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[d(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[d(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[d(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[d(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[d(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):l(n).layout&&l(n).layout!=="doc"?(r(),S(oe(l(n).layout),{key:3})):(r(),S(Wn,{key:4},{"doc-top":v(()=>[d(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[d(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[d(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[d(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[d(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[d(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[d(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[d(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[d(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[d(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[d(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),zs=L(Fs,[["__scopeId","data-v-1428d186"]]),js={class:"container"},Us=["innerHTML"],qs=["innerHTML"],Gs=k({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=T(),{hasSidebar:s}=Y();return(o,a)=>l(t).footer&&l(n).footer!==!1?(r(),p("footer",{key:0,class:A(["VPFooter",{"has-sidebar":l(s)}])},[h("div",js,[l(t).footer.message?(r(),p("p",{key:0,class:"message",innerHTML:l(t).footer.message},null,8,Us)):g("",!0),l(t).footer.copyright?(r(),p("p",{key:1,class:"copyright",innerHTML:l(t).footer.copyright},null,8,qs)):g("",!0)])],2)):g("",!0)}}),Rs=L(Gs,[["__scopeId","data-v-e315a0ad"]]);function xs(){const{theme:e,frontmatter:t}=T(),n=Xe([]),s=V(()=>n.value.length>0);return ge(()=>{n.value=He(t.value.outline??e.value.outline)}),{headers:n,hasLocalNav:s}}const Ks=e=>(z("data-v-17a5e62e"),e=e(),j(),e),Ws={class:"menu-text"},Js=Ks(()=>h("span",{class:"vpi-chevron-right icon"},null,-1)),Xs={class:"header"},Ys={class:"outline"},Qs=k({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:n}=T(),s=I(!1),o=I(0),a=I(),i=I();function c(m){var P;(P=a.value)!=null&&P.contains(m.target)||(s.value=!1)}X(s,m=>{if(m){document.addEventListener("click",c);return}document.removeEventListener("click",c)}),$t("Escape",()=>{s.value=!1}),ge(()=>{s.value=!1});function u(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function f(m){m.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),Ae(()=>{s.value=!1}))}function _(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,P)=>(r(),p("div",{class:"VPLocalNavOutlineDropdown",style:Qe({"--vp-vh":o.value+"px"}),ref_key:"main",ref:a},[m.headers.length>0?(r(),p("button",{key:0,onClick:u,class:A({open:s.value})},[h("span",Ws,M(l(ot)(l(n))),1),Js],2)):(r(),p("button",{key:1,onClick:_},M(l(n).returnToTopLabel||"Return to top"),1)),y(Ne,{name:"flyout"},{default:v(()=>[s.value?(r(),p("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:f},[h("div",Xs,[h("a",{class:"top-link",href:"#",onClick:_},M(l(n).returnToTopLabel||"Return to top"),1)]),h("div",Ys,[y(at,{headers:m.headers},null,8,["headers"])])],512)):g("",!0)]),_:1})],4))}}),Zs=L(Qs,[["__scopeId","data-v-17a5e62e"]]),eo=e=>(z("data-v-a6f0e41e"),e=e(),j(),e),to={class:"container"},no=["aria-expanded"],so=eo(()=>h("span",{class:"vpi-align-left menu-icon"},null,-1)),oo={class:"menu-text"},ao=k({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:n}=T(),{hasSidebar:s}=Y(),{headers:o}=xs(),{y:a}=Ze(),i=I(0);te(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ge(()=>{o.value=He(n.value.outline??t.value.outline)});const c=V(()=>o.value.length===0),u=V(()=>c.value&&!s.value),f=V(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:c.value,fixed:u.value}));return(_,m)=>l(n).layout!=="home"&&(!u.value||l(a)>=i.value)?(r(),p("div",{key:0,class:A(f.value)},[h("div",to,[l(s)?(r(),p("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=P=>_.$emit("open-menu"))},[so,h("span",oo,M(l(t).sidebarMenuLabel||"Menu"),1)],8,no)):g("",!0),y(Zs,{headers:l(o),navHeight:i.value},null,8,["headers","navHeight"])])],2)):g("",!0)}}),io=L(ao,[["__scopeId","data-v-a6f0e41e"]]);function ro(){const e=I(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const a=ie();return X(()=>a.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const lo={},co={class:"VPSwitch",type:"button",role:"switch"},uo={class:"check"},ho={key:0,class:"icon"};function po(e,t){return r(),p("button",co,[h("span",uo,[e.$slots.default?(r(),p("span",ho,[d(e.$slots,"default",{},void 0,!0)])):g("",!0)])])}const vo=L(lo,[["render",po],["__scopeId","data-v-1d5665e3"]]),rt=e=>(z("data-v-d1f28634"),e=e(),j(),e),fo=rt(()=>h("span",{class:"vpi-sun sun"},null,-1)),mo=rt(()=>h("span",{class:"vpi-moon moon"},null,-1)),_o=k({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:n}=T(),s=ke("toggle-appearance",()=>{t.value=!t.value}),o=V(()=>t.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme");return(a,i)=>(r(),S(vo,{title:o.value,class:"VPSwitchAppearance","aria-checked":l(t),onClick:l(s)},{default:v(()=>[fo,mo]),_:1},8,["title","aria-checked","onClick"]))}}),Be=L(_o,[["__scopeId","data-v-d1f28634"]]),go={key:0,class:"VPNavBarAppearance"},ko=k({__name:"VPNavBarAppearance",setup(e){const{site:t}=T();return(n,s)=>l(t).appearance&&l(t).appearance!=="force-dark"?(r(),p("div",go,[y(Be)])):g("",!0)}}),bo=L(ko,[["__scopeId","data-v-e6aabb21"]]),Ee=I();let lt=!1,ye=0;function $o(e){const t=I(!1);if(be){!lt&&yo(),ye++;const n=X(Ee,s=>{var o,a,i;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(a=e.onFocus)==null||a.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});Me(()=>{n(),ye--,ye||Po()})}return yt(t)}function yo(){document.addEventListener("focusin",ct),lt=!0,Ee.value=document.activeElement}function Po(){document.removeEventListener("focusin",ct)}function ct(){Ee.value=document.activeElement}const Vo={class:"VPMenuLink"},Lo=k({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=T();return(n,s)=>(r(),p("div",Vo,[y(W,{class:A({active:l(ee)(l(t).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:v(()=>[J(M(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),$e=L(Lo,[["__scopeId","data-v-43f1e123"]]),So={class:"VPMenuGroup"},wo={key:0,class:"title"},Io=k({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(r(),p("div",So,[t.text?(r(),p("p",wo,M(t.text),1)):g("",!0),(r(!0),p(C,null,F(t.items,s=>(r(),p(C,null,["link"in s?(r(),S($e,{key:0,item:s},null,8,["item"])):g("",!0)],64))),256))]))}}),To=L(Io,[["__scopeId","data-v-69e747b5"]]),No={class:"VPMenu"},Mo={key:0,class:"items"},Ao=k({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(r(),p("div",No,[t.items?(r(),p("div",Mo,[(r(!0),p(C,null,F(t.items,s=>(r(),p(C,{key:s.text},["link"in s?(r(),S($e,{key:0,item:s},null,8,["item"])):(r(),S(To,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):g("",!0),d(t.$slots,"default",{},void 0,!0)]))}}),Co=L(Ao,[["__scopeId","data-v-e7ea1737"]]),Ho=e=>(z("data-v-b6c34ac9"),e=e(),j(),e),Bo=["aria-expanded","aria-label"],Eo={key:0,class:"text"},Oo=["innerHTML"],Do=Ho(()=>h("span",{class:"vpi-chevron-down text-icon"},null,-1)),Fo={key:1,class:"vpi-more-horizontal icon"},zo={class:"menu"},jo=k({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=I(!1),n=I();$o({el:n,onBlur:s});function s(){t.value=!1}return(o,a)=>(r(),p("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=i=>t.value=!0),onMouseleave:a[2]||(a[2]=i=>t.value=!1)},[h("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":o.label,onClick:a[0]||(a[0]=i=>t.value=!t.value)},[o.button||o.icon?(r(),p("span",Eo,[o.icon?(r(),p("span",{key:0,class:A([o.icon,"option-icon"])},null,2)):g("",!0),o.button?(r(),p("span",{key:1,innerHTML:o.button},null,8,Oo)):g("",!0),Do])):(r(),p("span",Fo))],8,Bo),h("div",zo,[y(Co,{items:o.items},{default:v(()=>[d(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Oe=L(jo,[["__scopeId","data-v-b6c34ac9"]]),Uo=["href","aria-label","innerHTML"],qo=k({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,n=V(()=>typeof t.icon=="object"?t.icon.svg:`<span class="vpi-social-${t.icon}" />`);return(s,o)=>(r(),p("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,Uo))}}),Go=L(qo,[["__scopeId","data-v-eee4e7cb"]]),Ro={class:"VPSocialLinks"},xo=k({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,n)=>(r(),p("div",Ro,[(r(!0),p(C,null,F(t.links,({link:s,icon:o,ariaLabel:a})=>(r(),S(Go,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),De=L(xo,[["__scopeId","data-v-7bc22406"]]),Ko={key:0,class:"group translations"},Wo={class:"trans-title"},Jo={key:1,class:"group"},Xo={class:"item appearance"},Yo={class:"label"},Qo={class:"appearance-action"},Zo={key:2,class:"group"},ea={class:"item social-links"},ta=k({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=T(),{localeLinks:s,currentLang:o}=re({correspondingLink:!0}),a=V(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(i,c)=>a.value?(r(),S(Oe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[l(s).length&&l(o).label?(r(),p("div",Ko,[h("p",Wo,M(l(o).label),1),(r(!0),p(C,null,F(l(s),u=>(r(),S($e,{key:u.link,item:u},null,8,["item"]))),128))])):g("",!0),l(t).appearance&&l(t).appearance!=="force-dark"?(r(),p("div",Jo,[h("div",Xo,[h("p",Yo,M(l(n).darkModeSwitchLabel||"Appearance"),1),h("div",Qo,[y(Be)])])])):g("",!0),l(n).socialLinks?(r(),p("div",Zo,[h("div",ea,[y(De,{class:"social-links-list",links:l(n).socialLinks},null,8,["links"])])])):g("",!0)]),_:1})):g("",!0)}}),na=L(ta,[["__scopeId","data-v-d0bd9dde"]]),sa=e=>(z("data-v-e5dd9c1c"),e=e(),j(),e),oa=["aria-expanded"],aa=sa(()=>h("span",{class:"container"},[h("span",{class:"top"}),h("span",{class:"middle"}),h("span",{class:"bottom"})],-1)),ia=[aa],ra=k({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(r(),p("button",{type:"button",class:A(["VPNavBarHamburger",{active:t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},ia,10,oa))}}),la=L(ra,[["__scopeId","data-v-e5dd9c1c"]]),ca=["innerHTML"],ua=k({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=T();return(n,s)=>(r(),S(W,{class:A({VPNavBarMenuLink:!0,active:l(ee)(l(t).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,noIcon:n.item.noIcon,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:v(()=>[h("span",{innerHTML:n.item.text},null,8,ca)]),_:1},8,["class","href","noIcon","target","rel"]))}}),da=L(ua,[["__scopeId","data-v-9c663999"]]),ha=k({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:n}=T(),s=a=>"link"in a?ee(n.value.relativePath,a.link,!!t.item.activeMatch):a.items.some(s),o=V(()=>s(t.item));return(a,i)=>(r(),S(Oe,{class:A({VPNavBarMenuGroup:!0,active:l(ee)(l(n).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),pa=e=>(z("data-v-7f418b0f"),e=e(),j(),e),va={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},fa=pa(()=>h("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),ma=k({__name:"VPNavBarMenu",setup(e){const{theme:t}=T();return(n,s)=>l(t).nav?(r(),p("nav",va,[fa,(r(!0),p(C,null,F(l(t).nav,o=>(r(),p(C,{key:o.text},["link"in o?(r(),S(da,{key:0,item:o},null,8,["item"])):(r(),S(ha,{key:1,item:o},null,8,["item"]))],64))),128))])):g("",!0)}}),_a=L(ma,[["__scopeId","data-v-7f418b0f"]]),ga="/assets/flex-logo.BJA2J7hW.svg";function Pe(e,t){return typeof e>"u"?t:e}function Ue(e){const t=Array(e);for(let n=0;n<e;n++)t[n]=x();return t}function ka(e){return Object.keys(e)}function x(){return Object.create(null)}function ba(e){return[].concat.apply([],e)}function $a(e,t){return t.length-e.length}function ya(e){return e.constructor===Array}function ve(e){return typeof e=="string"}function Te(e){return typeof e=="object"}function Pa(e){return typeof e=="function"}function Va(e,t,n,s){if(e&&(t&&(e=Ve(e,t)),this.matcher&&(e=Ve(e,this.matcher)),this.stemmer&&1<e.length&&(e=Ve(e,this.stemmer)),s&&1<e.length&&(e=wa(e)),n||n==="")){const o=e.split(n);return this.filter?Ia(o,this.filter):o}return e}const La=/[\p{Z}\p{S}\p{P}\p{C}]+/u;function Sa(e){const t=x();for(let n=0,s=e.length;n<s;n++)t[e[n]]=1;return t}function qe(e,t){const n=ka(e),s=n.length,o=[];let a="",i=0;for(let c,u,f=0;f<s;f++)c=n[f],u=e[c],u?(o[i++]=Ge(t?"(?!\\b)"+c+"(\\b|_)":c),o[i++]=u):a+=(a?"|":"")+c;return a&&(o[i++]=Ge(t?"(?!\\b)("+a+")(\\b|_)":"("+a+")"),o[i]=""),o}function Ve(e,t){for(let n=0,s=t.length;n<s&&(e=e.replace(t[n],t[n+1]),!!e);n+=2);return e}function Ge(e){return new RegExp(e,"g")}function wa(e){let t="",n="";for(let s,o=0,a=e.length;o<a;o++)(s=e[o])!==n&&(t+=n=s);return t}function Ia(e,t){const n=e.length,s=[];for(let o=0,a=0;o<n;o++){const i=e[o];i&&!t[i]&&(s[a++]=i)}return s}function Ta(e){return Va.call(this,(""+e).toLowerCase(),!1,La,!1)}const Na={},Ma={};function Aa(e){ae(e,"add"),ae(e,"append"),ae(e,"search"),ae(e,"update"),ae(e,"remove")}function ae(e,t){e[t+"Async"]=function(){const n=this,s=arguments,o=s[s.length-1];let a;Pa(o)&&(a=o,delete s[s.length-1]);const i=new Promise(function(c){setTimeout(function(){n.async=!0;const u=n[t].apply(n,s);n.async=!1,c(u)})});return a?(i.then(a),this):i}}function Ca(e,t,n,s){const o=e.length;let a,i,c=[],u=0;s&&(s=[]);for(let f=o-1;0<=f;f--){const _=e[f],m=_.length,P=x();let b=!a;for(let $=0;$<m;$++){const N=_[$],w=N.length;if(w)for(let U,D,K=0;K<w;K++)if(D=N[K],a){if(a[D]){if(!f){if(n)n--;else if(c[u++]=D,u===t)return c}(f||s)&&(P[D]=1),b=!0}if(s&&(i[D]=(U=i[D])?++U:U=1,U<o)){const Q=s[U-2]||(s[U-2]=[]);Q[Q.length]=D}}else P[D]=1}if(s)a||(i=P);else if(!b)return[];a=P}if(s)for(let f,_,m=s.length-1;0<=m;m--){f=s[m],_=f.length;for(let P,b=0;b<_;b++)if(P=f[b],!a[P]){if(n)n--;else if(c[u++]=P,u===t)return c;a[P]=1}}return c}function he(e){this.limit=e!==!0&&e,this.cache=x(),this.queue=[]}function Ha(e,t,n){Te(e)&&(e=e.query);let s=this.cache.get(e);return s||(s=this.search(e,t,n),this.cache.set(e,s)),s}he.prototype.set=function(e,t){if(!this.cache[e]){let n=this.queue.length;n===this.limit?delete this.cache[this.queue[n-1]]:n++;for(let s=n-1;0<s;s--)this.queue[s]=this.queue[s-1];this.queue[0]=e}this.cache[e]=t},he.prototype.get=function(e){const t=this.cache[e];if(this.limit&&t){const n=this.queue.indexOf(e);if(n){const s=this.queue[n-1];this.queue[n-1]=this.queue[n],this.queue[n]=s}}return t},he.prototype.del=function(e){for(let t,n,s=0;s<this.queue.length;s++)n=this.queue[s],t=this.cache[n],t.indexOf(e)!==-1&&(this.queue.splice(s--,1),delete this.cache[n])};const Ba={memory:{charset:"latin:extra",resolution:3,minlength:4,fastupdate:!1},performance:{resolution:3,minlength:3,optimize:!1,context:{depth:2,resolution:1}},match:{charset:"latin:extra",tokenize:"reverse"},score:{charset:"latin:advanced",resolution:20,minlength:3,context:{depth:3,resolution:9}},default:{}};function Ea(e){if(ve(e))e=Ba[e];else{const t=e.preset;t&&(e=Object.assign({},t[t],e))}return e}function Oa(e,t,n,s,o,a){setTimeout(function(){const i=e(n,JSON.stringify(a));i&&i.then?i.then(function(){t.export(e,t,n,s,o+1)}):t.export(e,t,n,s,o+1)})}function Da(e,t,n,s,o){let a,i;switch(o||(o=0)){case 0:if(a="reg",this.fastupdate)for(let c in i=x(),this.register)i[c]=1;else i=this.register;break;case 1:a="cfg",i={doc:0,opt:this.optimize?1:0};break;case 2:a="map",i=this.map;break;case 3:a="ctx",i=this.ctx;break;default:return}return Oa(e,t||this,n?n+"."+a:a,s,o,i),!0}function Fa(e,t){t&&(ve(t)&&(t=JSON.parse(t)),e==="cfg"?this.optimize=!!t.opt:e==="reg"?(this.fastupdate=!1,this.register=t):e==="map"?this.map=t:e==="ctx"&&(this.ctx=t))}function R(e,t){if(!(this instanceof R))return new R(e);let n,s,o;e?(e=Ea(e),n=e.charset,s=e.lang,ve(n)&&(n.indexOf(":")===-1&&(n+=":default"),n=Ma[n]),ve(s)&&(s=Na[s])):e={};let a,i,c=e.context||{};this.encode=e.encode||n&&n.encode||Ta,this.register=t||x(),this.resolution=a=e.resolution||9,this.tokenize=o=n&&n.tokenize||e.tokenize||"strict",this.depth=o==="strict"&&c.depth,this.bidirectional=Pe(c.bidirectional,!0),this.optimize=i=Pe(e.optimize,!0),this.fastupdate=Pe(e.fastupdate,!0),this.minlength=e.minlength||1,this.boost=e.boost,this.map=i?Ue(a):x(),this.resolution_ctx=a=c.resolution||1,this.ctx=i?Ue(a):x(),this.rtl=n&&n.rtl||e.rtl,this.matcher=(o=e.matcher||s&&s.matcher)&&qe(o,!1),this.stemmer=(o=e.stemmer||s&&s.stemmer)&&qe(o,!0),this.filter=(o=e.filter||s&&s.filter)&&Sa(o),this.cache=(o=e.cache)&&new he(o)}R.prototype.append=function(e,t){return this.add(e,t,!0)},R.prototype.add=function(e,t,n,s){if(t&&(e||e===0)){if(!s&&!n&&this.register[e])return this.update(e,t);t=this.encode(t);const o=t.length;if(o){const a=x(),i=x(),c=this.depth,u=this.resolution;for(let f=0;f<o;f++){let _=t[this.rtl?o-1-f:f],m=_.length;if(_&&m>=this.minlength&&(c||!i[_])){let P=ce(u,o,f),b="";switch(this.tokenize){case"full":if(3<m){for(let $=0;$<m;$++)for(let N=m;N>$;N--)if(N-$>=this.minlength){const w=ce(u,o,f,m,$);b=_.substring($,N),this.push_index(i,b,w,e,n)}break}case"reverse":if(2<m){for(let $=m-1;0<$;$--)if(b=_[$]+b,b.length>=this.minlength){const N=ce(u,o,f,m,$);this.push_index(i,b,N,e,n)}b=""}case"forward":if(1<m){for(let $=0;$<m;$++)b+=_[$],b.length>=this.minlength&&this.push_index(i,b,P,e,n);break}default:if(this.boost&&(P=Math.min(0|P/this.boost(t,_,f),u-1)),this.push_index(i,_,P,e,n),c&&1<o&&f<o-1){const $=x(),N=this.resolution_ctx,w=_,U=Math.min(c+1,o-f);$[w]=1;for(let D=1;D<U;D++)if(_=t[this.rtl?o-1-f-D:f+D],_&&_.length>=this.minlength&&!$[_]){$[_]=1;const K=ce(N+(o/2>N?0:1),o,f,U-1,D-1),Q=this.bidirectional&&_>w;this.push_index(a,Q?w:_,K,e,n,Q?_:w)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function ce(e,t,n,s,o){return n&&1<e?t+(s||0)<=e?n+(o||0):0|(e-1)/(t+(s||0))*(n+(o||0))+1:0}R.prototype.push_index=function(e,t,n,s,o,a){let i=a?this.ctx:this.map;if((!e[t]||a&&!e[t][a])&&(this.optimize&&(i=i[n]),a?(e=e[t]||(e[t]=x()),e[a]=1,i=i[a]||(i[a]=x())):e[t]=1,i=i[t]||(i[t]=[]),this.optimize||(i=i[n]||(i[n]=[])),(!o||i.indexOf(s)===-1)&&(i[i.length]=s,this.fastupdate))){const c=this.register[s]||(this.register[s]=[]);c[c.length]=i}},R.prototype.search=function(e,t,n){n||(!t&&Te(e)?(n=e,e=n.query):Te(t)&&(n=t));let s,o,a,i=[],c=0;if(n&&(t=n.limit,c=n.offset||0,o=n.context,a=n.suggest),e&&(e=this.encode(e),s=e.length,1<s)){const m=x(),P=[];for(let b,$=0,N=0;$<s;$++)if(b=e[$],b&&b.length>=this.minlength&&!m[b]){if(!this.optimize&&!a&&!this.map[b])return i;P[N++]=b,m[b]=1}e=P,s=e.length}if(!s)return i;t||(t=100);let u,f=this.depth&&1<s&&o!==!1,_=0;f?(u=e[0],_=1):1<s&&e.sort($a);for(let m,P;_<s;_++){if(P=e[_],f?(m=this.add_result(i,a,t,c,s===2,P,u),(!a||m!==!1||!i.length)&&(u=P)):m=this.add_result(i,a,t,c,s===1,P),m)return m;if(a&&_==s-1){let b=i.length;if(!b){if(f){f=0,_=-1;continue}return i}if(b===1)return Re(i[0],t,c)}}return Ca(i,t,c,a)},R.prototype.add_result=function(e,t,n,s,o,a,i){let c=[],u=i?this.ctx:this.map;if(this.optimize||(u=xe(u,a,i,this.bidirectional)),u){let f=0;const _=Math.min(u.length,i?this.resolution_ctx:this.resolution);for(let m,P,b=0,$=0;b<_&&(m=u[b],!(m&&(this.optimize&&(m=xe(m,a,i,this.bidirectional)),s&&m&&o&&(P=m.length,P<=s?(s-=P,m=null):(m=m.slice(s),s=0)),m&&(c[f++]=m,o&&($+=m.length,$>=n)))));b++);if(f)return o?Re(c,n,0):void(e[e.length]=c)}return!t&&c};function Re(e,t,n){return e=e.length===1?e[0]:ba(e),n||e.length>t?e.slice(n,n+t):e}function xe(e,t,n,s){if(n){const o=s&&t>n;e=e[o?t:n],e=e&&e[o?n:t]}else e=e[t];return e}R.prototype.contain=function(e){return!!this.register[e]},R.prototype.update=function(e,t){return this.remove(e).add(e,t)},R.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let s,o=0;o<n.length;o++)s=n[o],s.splice(s.indexOf(e),1);else fe(this.map,e,this.resolution,this.optimize),this.depth&&fe(this.ctx,e,this.resolution_ctx,this.optimize);t||delete this.register[e],this.cache&&this.cache.del(e)}return this};function fe(e,t,n,s,o){let a=0;if(ya(e))if(o){const i=e.indexOf(t);i===-1?a++:1<e.length&&(e.splice(i,1),a++)}else{o=Math.min(e.length,n);for(let i,c=0;c<o;c++)i=e[c],i&&(a=fe(i,t,n,s,o),!s&&!a&&delete e[c])}else for(let i in e)a=fe(e[i],t,n,s,o),a||delete e[i];return a}R.prototype.searchCache=Ha,R.prototype.export=Da,R.prototype.import=Fa,Aa(R.prototype);const za={class:"VPNavBarSearch"},ja={class:"DocSearch-Form"},Ua=h("label",{class:"DocSearch-MagnifierLabel",for:"docsearch-input",id:"docsearch-label"},[h("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[h("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),qa=["placeholder"],Ga={class:"VPPluginSearch-search-list"},Ra={class:"VPPluginSearch-search-group"},xa=["href","onMouseenter","id"],Ka={class:"VPPluginSearch-search-item"},Wa={class:"VPPluginSearch-search-item-icon"},Ja={style:{width:"100%"}},Xa=["innerHTML"],Ya=h("span",{class:"VPPluginSearch-search-item-icon"},"↪",-1),Qa=h("img",{class:"VPPluginSearch-flex-logo",src:ga,alt:"flex logo"},null,-1),Za={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},ei={class:"DocSearch-Button-Container"},ti=h("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[h("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),ni={class:"DocSearch-Button-Placeholder"},si={class:"DocSearch-Button-Keys"},oi=h("span",{class:"DocSearch-Button-Key"},"K",-1),ai=k({__name:"Search",setup(e){const t=We(),n=t.localeIndex||t.localePath,s=I(),o=I(!1),a=I(),i=I(""),c=I(),u=I(),f=I(),_=I(),m=I(),P=I("Search"),b=I("Search docs"),$=I(0),N=I(),w=Pt(),U=V(()=>{if(a.value){for(var B=m.value.search(a.value,{enrich:!0}),H=[],q=0;q<B.length;q++){var E=B[q],O=f.value[E],G=O.t,se=O.p,le=O.l,ft=O.a;le=le.split(" ").join("-"),H.push({id:q,link:le,title:G,preview:se,anchor:ft})}return H}}),D=(B,H)=>!B||!B.length?[]:B.reduce((q,E)=>(q[H(E)]||(q[H(E)]=[]),q[H(E)].push(E),q),{}),K=()=>{setTimeout(()=>{c.value&&c.value.focus()},100),Fe(),o.value=!0};te(async()=>{var E,O;const B=await Vt(()=>import("./virtual_search-data.BcEq3Qt9.js"),[]);u.value=B.default.INDEX_DATA,f.value=B.default.PREVIEW_LOOKUP,_.value=B.default.Options,i.value=window.location.origin+me(n.value==="root"?"/":n.value),P.value=((E=_.value)==null?void 0:E.buttonLabel)||P.value,b.value=((O=_.value)==null?void 0:O.placeholder)||b.value;var H=new R(_.value);H.import("reg",u.value.reg),H.import("cfg",u.value.cfg),H.import("map",u.value.map),H.import("ctx",u.value.ctx),m.value=H,s.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const q=G=>{var se;G.key==="k"&&(G.ctrlKey||G.metaKey)&&(G.preventDefault(),K()),G.key==="Escape"&&((se=a.value)==null?void 0:se.length)==0&&o.value&&(o.value=!1)};window.addEventListener("keydown",q)});const Q=V(()=>D(U.value,B=>B.link.split("/").slice(0,-1).join("-"))),ne=V(()=>Object.values(Q.value).flat().map(B=>B.id));function Fe(){o.value=!1,a.value=""}const vt=B=>{var H,q;if(document.getElementsByClassName("search-group")[0]){if(B.key=="ArrowUp"||B.key=="ArrowDown"){const E=ne.value.indexOf($.value);if(B.key=="ArrowUp"){const O=E==0?ne.value.length-1:E-1;$.value=ne.value[O]}if(B.key=="ArrowDown"){const O=E>ne.value.length-2?0:E+1;$.value=ne.value[O]}if(E<5){const O=N.value.getElementsByClassName("VPPluginSearch-search-group")[0];O==null||O.scrollIntoView(!0)}else(H=document.getElementById(ne.value[$.value]))==null||H.scrollIntoView(!0);Ae()}B.key=="Enter"&&w.go(t.site.value.base+((q=N.value.getElementsByClassName("link-focused")[0].getAttribute("href"))==null?void 0:q.replace(i.value,"")))}};return(B,H)=>{const q=Z("ClientOnly");return r(),p("div",za,[y(q,null,{default:v(()=>[(r(),S(wt,{to:"body"},[ze(h("div",{class:"VPPluginSearch-modal-back",onClick:H[2]||(H[2]=E=>o.value=!1),onKeydown:vt},[h("div",{class:"VPPluginSearch-modal",onClick:H[1]||(H[1]=et(()=>{},["stop"])),ref_key:"modal",ref:N},[h("form",ja,[Ua,ze(h("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":H[0]||(H[0]=E=>a.value=E),placeholder:b.value,maxlength:"64",type:"search",ref_key:"input",ref:c},null,8,qa),[[St,a.value]])]),h("div",Ga,[(r(!0),p(C,null,F(Q.value,(E,O)=>(r(),p("div",{class:"search-group",key:O},[h("span",Ra,M(O?O.toString()[0].toUpperCase()+O.toString().slice(1):"Home"),1),(r(!0),p(C,null,F(E,(G,se)=>(r(),p("a",{href:i.value+G.link,key:G.id,onClick:Fe,onMouseenter:le=>$.value=G.id,class:A({"link-focused":$.value==G.id}),id:se.toString()},[h("div",Ka,[h("span",Wa,M(G.link.includes("#")?"#":"▤"),1),h("div",Ja,[h("h3",null,M(G.title),1),h("p",null,[h("div",{innerHTML:G.preview},null,8,Xa)])]),Ya])],42,xa))),128))]))),128))]),Qa],512)],544),[[Lt,o.value]])]))]),_:1}),h("div",{id:"docsearch",onClick:H[3]||(H[3]=E=>K())},[h("button",Za,[h("span",ei,[ti,h("span",ni,M(P.value),1)]),h("span",si,[h("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:s},"Meta",512),oi])])])])}}}),ii=k({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=T();return(n,s)=>l(t).socialLinks?(r(),S(De,{key:0,class:"VPNavBarSocialLinks",links:l(t).socialLinks},null,8,["links"])):g("",!0)}}),ri=L(ii,[["__scopeId","data-v-0394ad82"]]),li=["href","rel","target"],ci={key:1},ui={key:2},di=k({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=T(),{hasSidebar:s}=Y(),{currentLang:o}=re(),a=V(()=>{var u;return typeof n.value.logoLink=="string"?n.value.logoLink:(u=n.value.logoLink)==null?void 0:u.link}),i=V(()=>{var u;return typeof n.value.logoLink=="string"||(u=n.value.logoLink)==null?void 0:u.rel}),c=V(()=>{var u;return typeof n.value.logoLink=="string"||(u=n.value.logoLink)==null?void 0:u.target});return(u,f)=>(r(),p("div",{class:A(["VPNavBarTitle",{"has-sidebar":l(s)}])},[h("a",{class:"title",href:a.value??l(Ce)(l(o).link),rel:i.value,target:c.value},[d(u.$slots,"nav-bar-title-before",{},void 0,!0),l(n).logo?(r(),S(pe,{key:0,class:"logo",image:l(n).logo},null,8,["image"])):g("",!0),l(n).siteTitle?(r(),p("span",ci,M(l(n).siteTitle),1)):l(n).siteTitle===void 0?(r(),p("span",ui,M(l(t).title),1)):g("",!0),d(u.$slots,"nav-bar-title-after",{},void 0,!0)],8,li)],2))}}),hi=L(di,[["__scopeId","data-v-ab179fa1"]]),pi={class:"items"},vi={class:"title"},fi=k({__name:"VPNavBarTranslations",setup(e){const{theme:t}=T(),{localeLinks:n,currentLang:s}=re({correspondingLink:!0});return(o,a)=>l(n).length&&l(s).label?(r(),S(Oe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:l(t).langMenuLabel||"Change language"},{default:v(()=>[h("div",pi,[h("p",vi,M(l(s).label),1),(r(!0),p(C,null,F(l(n),i=>(r(),S($e,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):g("",!0)}}),mi=L(fi,[["__scopeId","data-v-88af2de4"]]),_i=e=>(z("data-v-ccf7ddec"),e=e(),j(),e),gi={class:"wrapper"},ki={class:"container"},bi={class:"title"},$i={class:"content"},yi={class:"content-body"},Pi=_i(()=>h("div",{class:"divider"},[h("div",{class:"divider-line"})],-1)),Vi=k({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=Ze(),{hasSidebar:n}=Y(),{frontmatter:s}=T(),o=I({});return Je(()=>{o.value={"has-sidebar":n.value,home:s.value.layout==="home",top:t.value===0}}),(a,i)=>(r(),p("div",{class:A(["VPNavBar",o.value])},[h("div",gi,[h("div",ki,[h("div",bi,[y(hi,null,{"nav-bar-title-before":v(()=>[d(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[d(a.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),h("div",$i,[h("div",yi,[d(a.$slots,"nav-bar-content-before",{},void 0,!0),y(ai,{class:"search"}),y(_a,{class:"menu"}),y(mi,{class:"translations"}),y(bo,{class:"appearance"}),y(ri,{class:"social-links"}),y(na,{class:"extra"}),d(a.$slots,"nav-bar-content-after",{},void 0,!0),y(la,{class:"hamburger",active:a.isScreenOpen,onClick:i[0]||(i[0]=c=>a.$emit("toggle-screen"))},null,8,["active"])])])])]),Pi],2))}}),Li=L(Vi,[["__scopeId","data-v-ccf7ddec"]]),Si={key:0,class:"VPNavScreenAppearance"},wi={class:"text"},Ii=k({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=T();return(s,o)=>l(t).appearance&&l(t).appearance!=="force-dark"?(r(),p("div",Si,[h("p",wi,M(l(n).darkModeSwitchLabel||"Appearance"),1),y(Be)])):g("",!0)}}),Ti=L(Ii,[["__scopeId","data-v-2d7af913"]]),Ni=k({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=ke("close-screen");return(n,s)=>(r(),S(W,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:l(t),innerHTML:n.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Mi=L(Ni,[["__scopeId","data-v-7f31e1f6"]]),Ai=k({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=ke("close-screen");return(n,s)=>(r(),S(W,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:l(t)},{default:v(()=>[J(M(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ut=L(Ai,[["__scopeId","data-v-19976ae1"]]),Ci={class:"VPNavScreenMenuGroupSection"},Hi={key:0,class:"title"},Bi=k({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,n)=>(r(),p("div",Ci,[t.text?(r(),p("p",Hi,M(t.text),1)):g("",!0),(r(!0),p(C,null,F(t.items,s=>(r(),S(ut,{key:s.text,item:s},null,8,["item"]))),128))]))}}),Ei=L(Bi,[["__scopeId","data-v-8133b170"]]),Oi=e=>(z("data-v-ff6087d4"),e=e(),j(),e),Di=["aria-controls","aria-expanded"],Fi=["innerHTML"],zi=Oi(()=>h("span",{class:"vpi-plus button-icon"},null,-1)),ji=["id"],Ui={key:1,class:"group"},qi=k({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,n=I(!1),s=V(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,i)=>(r(),p("div",{class:A(["VPNavScreenMenuGroup",{open:n.value}])},[h("button",{class:"button","aria-controls":s.value,"aria-expanded":n.value,onClick:o},[h("span",{class:"button-text",innerHTML:a.text},null,8,Fi),zi],8,Di),h("div",{id:s.value,class:"items"},[(r(!0),p(C,null,F(a.items,c=>(r(),p(C,{key:c.text},["link"in c?(r(),p("div",{key:c.text,class:"item"},[y(ut,{item:c},null,8,["item"])])):(r(),p("div",Ui,[y(Ei,{text:c.text,items:c.items},null,8,["text","items"])]))],64))),128))],8,ji)],2))}}),Gi=L(qi,[["__scopeId","data-v-ff6087d4"]]),Ri={key:0,class:"VPNavScreenMenu"},xi=k({__name:"VPNavScreenMenu",setup(e){const{theme:t}=T();return(n,s)=>l(t).nav?(r(),p("nav",Ri,[(r(!0),p(C,null,F(l(t).nav,o=>(r(),p(C,{key:o.text},["link"in o?(r(),S(Mi,{key:0,item:o},null,8,["item"])):(r(),S(Gi,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):g("",!0)}}),Ki=k({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=T();return(n,s)=>l(t).socialLinks?(r(),S(De,{key:0,class:"VPNavScreenSocialLinks",links:l(t).socialLinks},null,8,["links"])):g("",!0)}}),dt=e=>(z("data-v-858fe1a4"),e=e(),j(),e),Wi=dt(()=>h("span",{class:"vpi-languages icon lang"},null,-1)),Ji=dt(()=>h("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Xi={class:"list"},Yi=k({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=re({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(a,i)=>l(t).length&&l(n).label?(r(),p("div",{key:0,class:A(["VPNavScreenTranslations",{open:s.value}])},[h("button",{class:"title",onClick:o},[Wi,J(" "+M(l(n).label)+" ",1),Ji]),h("ul",Xi,[(r(!0),p(C,null,F(l(t),c=>(r(),p("li",{key:c.link,class:"item"},[y(W,{class:"link",href:c.link},{default:v(()=>[J(M(c.text),1)]),_:2},1032,["href"])]))),128))])],2)):g("",!0)}}),Qi=L(Yi,[["__scopeId","data-v-858fe1a4"]]),Zi={class:"container"},er=k({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=I(null),n=tt(be?document.body:null);return(s,o)=>(r(),S(Ne,{name:"fade",onEnter:o[0]||(o[0]=a=>n.value=!0),onAfterLeave:o[1]||(o[1]=a=>n.value=!1)},{default:v(()=>[s.open?(r(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[h("div",Zi,[d(s.$slots,"nav-screen-content-before",{},void 0,!0),y(xi,{class:"menu"}),y(Qi,{class:"translations"}),y(Ti,{class:"appearance"}),y(Ki,{class:"social-links"}),d(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):g("",!0)]),_:3}))}}),tr=L(er,[["__scopeId","data-v-cc5739dd"]]),nr={key:0,class:"VPNav"},sr=k({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=ro(),{frontmatter:o}=T(),a=V(()=>o.value.navbar!==!1);return nt("close-screen",n),_e(()=>{be&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(i,c)=>a.value?(r(),p("header",nr,[y(Li,{"is-screen-open":l(t),onToggleScreen:l(s)},{"nav-bar-title-before":v(()=>[d(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[d(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[d(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[d(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),y(tr,{open:l(t)},{"nav-screen-content-before":v(()=>[d(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[d(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):g("",!0)}}),or=L(sr,[["__scopeId","data-v-ae24b3ad"]]),ht=e=>(z("data-v-b8d55f3b"),e=e(),j(),e),ar=["role","tabindex"],ir=ht(()=>h("div",{class:"indicator"},null,-1)),rr=["onKeydown"],lr=ht(()=>h("span",{class:"vpi-chevron-right caret-icon"},null,-1)),cr=[lr],ur={key:1,class:"items"},dr=k({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:c,toggle:u}=Yt(V(()=>t.item)),f=V(()=>c.value?"section":"div"),_=V(()=>o.value?"a":"div"),m=V(()=>c.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),P=V(()=>o.value?void 0:"button"),b=V(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function $(w){"key"in w&&w.key!=="Enter"||!t.item.link&&u()}function N(){t.item.link&&u()}return(w,U)=>{const D=Z("VPSidebarItem",!0);return r(),S(oe(f.value),{class:A(["VPSidebarItem",b.value])},{default:v(()=>[w.item.text?(r(),p("div",ue({key:0,class:"item",role:P.value},Tt(w.item.items?{click:$,keydown:$}:{},!0),{tabindex:w.item.items&&0}),[ir,w.item.link?(r(),S(W,{key:0,tag:_.value,class:"link",href:w.item.link,rel:w.item.rel,target:w.item.target},{default:v(()=>[(r(),S(oe(m.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(r(),S(oe(m.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null&&w.item.items&&w.item.items.length?(r(),p("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:N,onKeydown:It(N,["enter"]),tabindex:"0"},cr,40,rr)):g("",!0)],16,ar)):g("",!0),w.item.items&&w.item.items.length?(r(),p("div",ur,[w.depth<5?(r(!0),p(C,{key:0},F(w.item.items,K=>(r(),S(D,{key:K.text,item:K,depth:w.depth+1},null,8,["item","depth"]))),128)):g("",!0)])):g("",!0)]),_:1},8,["class"])}}}),hr=L(dr,[["__scopeId","data-v-b8d55f3b"]]),pt=e=>(z("data-v-575e6a36"),e=e(),j(),e),pr=pt(()=>h("div",{class:"curtain"},null,-1)),vr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},fr=pt(()=>h("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),mr=k({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=Y(),o=I(null),a=tt(be?document.body:null);return X([t,o],()=>{var i;t.open?(a.value=!0,(i=o.value)==null||i.focus()):a.value=!1},{immediate:!0,flush:"post"}),(i,c)=>l(s)?(r(),p("aside",{key:0,class:A(["VPSidebar",{open:i.open}]),ref_key:"navEl",ref:o,onClick:c[0]||(c[0]=et(()=>{},["stop"]))},[pr,h("nav",vr,[fr,d(i.$slots,"sidebar-nav-before",{},void 0,!0),(r(!0),p(C,null,F(l(n),u=>(r(),p("div",{key:u.text,class:"group"},[y(hr,{item:u,depth:0},null,8,["item"])]))),128)),d(i.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):g("",!0)}}),_r=L(mr,[["__scopeId","data-v-575e6a36"]]),gr=k({__name:"VPSkipLink",setup(e){const t=ie(),n=I();X(()=>t.path,()=>n.value.focus());function s({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const i=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",i)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",i),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(r(),p(C,null,[h("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),h("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),kr=L(gr,[["__scopeId","data-v-0f60ec36"]]),br=k({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=Y(),o=ie();X(()=>o.path,s),Xt(t,s);const{frontmatter:a}=T(),i=Nt(),c=V(()=>!!i["home-hero-image"]);return nt("hero-image-slot-exists",c),(u,f)=>{const _=Z("Content");return l(a).layout!==!1?(r(),p("div",{key:0,class:A(["Layout",l(a).pageClass])},[d(u.$slots,"layout-top",{},void 0,!0),y(kr),y(Bt,{class:"backdrop",show:l(t),onClick:l(s)},null,8,["show","onClick"]),y(or,null,{"nav-bar-title-before":v(()=>[d(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[d(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[d(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[d(u.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[d(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[d(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),y(io,{open:l(t),onOpenMenu:l(n)},null,8,["open","onOpenMenu"]),y(_r,{open:l(t)},{"sidebar-nav-before":v(()=>[d(u.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[d(u.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),y(zs,null,{"page-top":v(()=>[d(u.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[d(u.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[d(u.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[d(u.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[d(u.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[d(u.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[d(u.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[d(u.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[d(u.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[d(u.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[d(u.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[d(u.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[d(u.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[d(u.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[d(u.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[d(u.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[d(u.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[d(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[d(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[d(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[d(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[d(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[d(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),y(Rs),d(u.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),S(_,{key:1}))}}}),$r=L(br,[["__scopeId","data-v-5d98c3a5"]]),Ke={Layout:$r,enhanceApp:({app:e})=>{e.component("Badge",At)}},yr=k({__name:"HighlightTargetedHeading",setup(e){function t(){if(!window||!window.location||!window.location.hash)return;const s=decodeURIComponent(window.location.hash);if(!s)return;let o;try{o=document.querySelector(s)}catch(a){console.error(a);return}o&&(o.classList.contains("VPNolebaseHighlightTargetedHeading")||o.classList.add("VPNolebaseHighlightTargetedHeading"),o.classList.remove("VPNolebaseHighlightTargetedHeadingAnimated"),setTimeout(()=>{o&&o.classList.add("VPNolebaseHighlightTargetedHeadingAnimated")},10))}const n=ie();return te(t),X(n,async()=>{await Ae(),t()}),Mt("hashchange",t),(s,o)=>d(s.$slots,"default")}}),Vr={...Ke,Layout:()=>je(Ke.Layout,null,{"layout-top":()=>[je(yr)]})};export{Vr as R};
|