mirror of
https://github.com/Aexiar/c.git
synced 2024-10-22 14:05:45 +02:00
5 lines
65 KiB
JavaScript
5 lines
65 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.CyRb3YTV.js","assets/chunks/framework.CZRoMP2i.js"])))=>i.map(i=>d[i]);
|
|
import{d as _,o as s,c as u,r as c,n as M,a as oe,t as A,b as $,w as v,e as h,T as He,_ as y,u as xe,i as It,f as Et,g as Be,h as L,j as p,k as i,p as j,l as q,m as le,q as Ne,s as z,v as J,x as $e,y as te,z as Oe,A as De,B as Nt,C as Ct,D as ce,F as B,E as K,G as et,H as ye,I as k,J as x,K as tt,L as ve,M as re,N as Le,O as zt,P as ot,Q as Ce,R as Fe,S as nt,U as Pe,V as At,W as Mt,X as at,Y as st,Z as rt,$ as Ht,a0 as Bt,a1 as Ot,a2 as Dt,a3 as Ft,a4 as Gt,a5 as Ut}from"./framework.CZRoMP2i.js";const jt=_({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(s(),u("span",{class:M(["VPBadge",e.type])},[c(e.$slots,"default",{},()=>[oe(A(e.text),1)])],2))}}),qt={key:0,class:"VPBackdrop"},Rt=_({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(s(),$(He,{name:"fade"},{default:v(()=>[e.show?(s(),u("div",qt)):h("",!0)]),_:1}))}}),Wt=y(Rt,[["__scopeId","data-v-c79a1216"]]),w=xe;function Kt(o,e){let t,a=!1;return()=>{t&&clearTimeout(t),a?t=setTimeout(o,e):(o(),(a=!0)&&setTimeout(()=>a=!1,e))}}function ze(o){return/^\//.test(o)?o:`/${o}`}function Ge(o){const{pathname:e,search:t,hash:a,protocol:n}=new URL(o,"http://a.com");if(It(o)||o.startsWith("#")||!n.startsWith("http")||!Et(e))return o;const{site:r}=w(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${a}`);return Be(l)}function pe({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:a,theme:n,hash:r}=w(),l=L(()=>{var m,g;return{label:(m=e.value.locales[t.value])==null?void 0:m.label,link:((g=e.value.locales[t.value])==null?void 0:g.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:L(()=>Object.entries(e.value.locales).flatMap(([m,g])=>l.value.label===g.label?[]:{text:g.label,link:Yt(g.link||(m==="root"?"/":`/${m}/`),n.value.i18nRouting!==!1&&o,a.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+r.value})),currentLang:l}}function Yt(o,e,t,a){return e?o.replace(/\/$/,"")+ze(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):o}const Jt=o=>(j("data-v-d6be1790"),o=o(),q(),o),Xt={class:"NotFound"},Zt={class:"code"},Qt={class:"title"},xt=Jt(()=>p("div",{class:"divider"},null,-1)),eo={class:"quote"},to={class:"action"},oo=["href","aria-label"],no=_({__name:"NotFound",setup(o){const{theme:e}=w(),{currentLang:t}=pe();return(a,n)=>{var r,l,d,m,g;return s(),u("div",Xt,[p("p",Zt,A(((r=i(e).notFound)==null?void 0:r.code)??"404"),1),p("h1",Qt,A(((l=i(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),xt,p("blockquote",eo,A(((d=i(e).notFound)==null?void 0:d.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),p("div",to,[p("a",{class:"link",href:i(Be)(i(t).link),"aria-label":((m=i(e).notFound)==null?void 0:m.linkLabel)??"go to home"},A(((g=i(e).notFound)==null?void 0:g.linkText)??"Take me home"),9,oo)])])}}}),ao=y(no,[["__scopeId","data-v-d6be1790"]]);function it(o,e){if(Array.isArray(o))return ge(o);if(o==null)return[];e=ze(e);const t=Object.keys(o).sort((n,r)=>r.split("/").length-n.split("/").length).find(n=>e.startsWith(ze(n))),a=t?o[t]:[];return Array.isArray(a)?ge(a):ge(a.items,a.base)}function so(o){const e=[];let t=0;for(const a in o){const n=o[a];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function ro(o){const e=[];function t(a){for(const n of a)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 Ae(o,e){return Array.isArray(e)?e.some(t=>Ae(o,t)):le(o,e.link)?!0:e.items?Ae(o,e.items):!1}function ge(o,e){return[...o].map(t=>{const a={...t},n=a.base||e;return n&&a.link&&(a.link=n+a.link),a.items&&(a.items=ge(a.items,n)),a})}function ne(){const{frontmatter:o,page:e,theme:t}=w(),a=Ne("(min-width: 960px)"),n=z(!1),r=L(()=>{const D=t.value.sidebar,C=e.value.relativePath;return D?it(D,C):[]}),l=z(r.value);J(r,(D,C)=>{JSON.stringify(D)!==JSON.stringify(C)&&(l.value=r.value)});const d=L(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),m=L(()=>g?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),g=L(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),P=L(()=>d.value&&a.value),b=L(()=>d.value?so(l.value):[]);function V(){n.value=!0}function N(){n.value=!1}function E(){n.value?N():V()}return{isOpen:n,sidebar:l,sidebarGroups:b,hasSidebar:d,hasAside:g,leftAside:m,isSidebarEnabled:P,open:V,close:N,toggle:E}}function io(o,e){let t;$e(()=>{t=o.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",a)}),Oe(()=>{window.removeEventListener("keyup",a)});function a(n){n.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function lo(o){const{page:e,hash:t}=w(),a=z(!1),n=L(()=>o.value.collapsed!=null),r=L(()=>!!o.value.link),l=z(!1),d=()=>{l.value=le(e.value.relativePath,o.value.link)};J([e,o,t],d),te(d);const m=L(()=>l.value?!0:o.value.items?Ae(e.value.relativePath,o.value.items):!1),g=L(()=>!!(o.value.items&&o.value.items.length));$e(()=>{a.value=!!(n.value&&o.value.collapsed)}),De(()=>{(l.value||m.value)&&(a.value=!1)});function P(){n.value&&(a.value=!a.value)}return{collapsed:a,collapsible:n,isLink:r,isActiveLink:l,hasActiveLink:m,hasChildren:g,toggle:P}}function co(){const{hasSidebar:o}=ne(),e=Ne("(min-width: 960px)"),t=Ne("(min-width: 1280px)");return{isAsideEnabled:L(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const Me=[];function lt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Ue(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const a=Number(t.tagName[1]);return{element:t,title:uo(t),link:"#"+t.id,level:a}});return mo(e,o)}function uo(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 mo(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[a,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;o=o.filter(l=>l.level>=a&&l.level<=n),Me.length=0;for(const{element:l,link:d}of o)Me.push({element:l,link:d});const r=[];e:for(let l=0;l<o.length;l++){const d=o[l];if(l===0)r.push(d);else{for(let m=l-1;m>=0;m--){const g=o[m];if(g.level<d.level){(g.children||(g.children=[])).push(d);continue e}}r.push(d)}}return r}function vo(o,e){const{isAsideEnabled:t}=co(),a=Kt(r,100);let n=null;te(()=>{requestAnimationFrame(r),window.addEventListener("scroll",a)}),Nt(()=>{l(location.hash)}),Oe(()=>{window.removeEventListener("scroll",a)});function r(){if(!t.value)return;const d=window.scrollY,m=window.innerHeight,g=document.body.offsetHeight,P=Math.abs(d+m-g)<1,b=Me.map(({element:N,link:E})=>({link:E,top:po(N)})).filter(({top:N})=>!Number.isNaN(N)).sort((N,E)=>N.top-E.top);if(!b.length){l(null);return}if(d<1){l(null);return}if(P){l(b[b.length-1].link);return}let V=null;for(const{link:N,top:E}of b){if(E>d+Ct()+4)break;V=N}l(V)}function l(d){n&&n.classList.remove("active"),d==null?n=null:n=o.value.querySelector(`a[href="${decodeURIComponent(d)}"]`);const m=n;m?(m.classList.add("active"),e.value.style.top=m.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function po(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}const fo=["href","title"],ho=_({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const a=t.href.split("#")[1],n=document.getElementById(decodeURIComponent(a));n==null||n.focus({preventScroll:!0})}return(t,a)=>{const n=ce("VPDocOutlineItem",!0);return s(),u("ul",{class:M(["VPDocOutlineItem",t.root?"root":"nested"])},[(s(!0),u(B,null,K(t.headers,({children:r,link:l,title:d})=>(s(),u("li",null,[p("a",{class:"outline-link",href:l,onClick:e,title:d},A(d),9,fo),r!=null&&r.length?(s(),$(n,{key:0,headers:r},null,8,["headers"])):h("",!0)]))),256))],2)}}}),ct=y(ho,[["__scopeId","data-v-b933a997"]]),_o={class:"content"},go={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},bo=_({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=w(),a=et([]);ye(()=>{a.value=Ue(e.value.outline??t.value.outline)});const n=z(),r=z();return vo(n,r),(l,d)=>(s(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:M(["VPDocAsideOutline",{"has-outline":a.value.length>0}]),ref_key:"container",ref:n},[p("div",_o,[p("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),p("div",go,A(i(lt)(i(t))),1),k(ct,{headers:a.value,root:!0},null,8,["headers"])])],2))}}),ko=y(bo,[["__scopeId","data-v-a5bbad30"]]),$o={class:"VPDocAsideCarbonAds"},yo=_({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,a)=>(s(),u("div",$o,[k(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Lo=o=>(j("data-v-3f215769"),o=o(),q(),o),Po={class:"VPDocAside"},So=Lo(()=>p("div",{class:"spacer"},null,-1)),Vo=_({__name:"VPDocAside",setup(o){const{theme:e}=w();return(t,a)=>(s(),u("div",Po,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),k(ko),c(t.$slots,"aside-outline-after",{},void 0,!0),So,c(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(s(),$(yo,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):h("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}}),wo=y(Vo,[["__scopeId","data-v-3f215769"]]);function To(){const{theme:o,page:e}=w();return L(()=>{const{text:t="Edit this page",pattern:a=""}=o.value.editLink||{};let n;return typeof a=="function"?n=a(e.value):n=a.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Io(){const{page:o,theme:e,frontmatter:t}=w();return L(()=>{var g,P,b,V,N,E,D,C;const a=it(e.value.sidebar,o.value.relativePath),n=ro(a),r=Eo(n,X=>X.link.replace(/[?#].*$/,"")),l=r.findIndex(X=>le(o.value.relativePath,X.link)),d=((g=e.value.docFooter)==null?void 0:g.prev)===!1&&!t.value.prev||t.value.prev===!1,m=((P=e.value.docFooter)==null?void 0:P.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((b=r[l-1])==null?void 0:b.docFooterText)??((V=r[l-1])==null?void 0:V.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((N=r[l-1])==null?void 0:N.link)},next:m?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((E=r[l+1])==null?void 0:E.docFooterText)??((D=r[l+1])==null?void 0:D.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((C=r[l+1])==null?void 0:C.link)}}})}function Eo(o,e){const t=new Set;return o.filter(a=>{const n=e(a);return t.has(n)?!1:t.add(n)})}const ee=_({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=L(()=>e.tag??(e.href?"a":"span")),a=L(()=>e.href&&tt.test(e.href)||e.target==="_blank");return(n,r)=>(s(),$(x(t.value),{class:M(["VPLink",{link:n.href,"vp-external-link-icon":a.value,"no-icon":n.noIcon}]),href:n.href?i(Ge)(n.href):void 0,target:n.target??(a.value?"_blank":void 0),rel:n.rel??(a.value?"noreferrer":void 0)},{default:v(()=>[c(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),No={class:"VPLastUpdated"},Co=["datetime"],zo=_({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:a}=w(),n=L(()=>new Date(t.value.lastUpdated)),r=L(()=>n.value.toISOString()),l=z("");return te(()=>{$e(()=>{var d,m,g;l.value=new Intl.DateTimeFormat((m=(d=e.value.lastUpdated)==null?void 0:d.formatOptions)!=null&&m.forceLocale?a.value:void 0,((g=e.value.lastUpdated)==null?void 0:g.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(d,m)=>{var g;return s(),u("p",No,[oe(A(((g=i(e).lastUpdated)==null?void 0:g.text)||i(e).lastUpdatedText||"Last updated")+": ",1),p("time",{datetime:r.value},A(l.value),9,Co)])}}}),Ao=y(zo,[["__scopeId","data-v-e98dd255"]]),ut=o=>(j("data-v-e257564d"),o=o(),q(),o),Mo={key:0,class:"VPDocFooter"},Ho={key:0,class:"edit-info"},Bo={key:0,class:"edit-link"},Oo=ut(()=>p("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Do={key:1,class:"last-updated"},Fo={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Go=ut(()=>p("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Uo={class:"pager"},jo=["innerHTML"],qo=["innerHTML"],Ro={class:"pager"},Wo=["innerHTML"],Ko=["innerHTML"],Yo=_({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:a}=w(),n=To(),r=Io(),l=L(()=>e.value.editLink&&a.value.editLink!==!1),d=L(()=>t.value.lastUpdated),m=L(()=>l.value||d.value||r.value.prev||r.value.next);return(g,P)=>{var b,V,N,E;return m.value?(s(),u("footer",Mo,[c(g.$slots,"doc-footer-before",{},void 0,!0),l.value||d.value?(s(),u("div",Ho,[l.value?(s(),u("div",Bo,[k(ee,{class:"edit-link-button",href:i(n).url,"no-icon":!0},{default:v(()=>[Oo,oe(" "+A(i(n).text),1)]),_:1},8,["href"])])):h("",!0),d.value?(s(),u("div",Do,[k(Ao)])):h("",!0)])):h("",!0),(b=i(r).prev)!=null&&b.link||(V=i(r).next)!=null&&V.link?(s(),u("nav",Fo,[Go,p("div",Uo,[(N=i(r).prev)!=null&&N.link?(s(),$(ee,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:v(()=>{var D;return[p("span",{class:"desc",innerHTML:((D=i(e).docFooter)==null?void 0:D.prev)||"Previous page"},null,8,jo),p("span",{class:"title",innerHTML:i(r).prev.text},null,8,qo)]}),_:1},8,["href"])):h("",!0)]),p("div",Ro,[(E=i(r).next)!=null&&E.link?(s(),$(ee,{key:0,class:"pager-link next",href:i(r).next.link},{default:v(()=>{var D;return[p("span",{class:"desc",innerHTML:((D=i(e).docFooter)==null?void 0:D.next)||"Next page"},null,8,Wo),p("span",{class:"title",innerHTML:i(r).next.text},null,8,Ko)]}),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}}),Jo=y(Yo,[["__scopeId","data-v-e257564d"]]),Xo=o=>(j("data-v-39a288b8"),o=o(),q(),o),Zo={class:"container"},Qo=Xo(()=>p("div",{class:"aside-curtain"},null,-1)),xo={class:"aside-container"},en={class:"aside-content"},tn={class:"content"},on={class:"content-container"},nn={class:"main"},an=_({__name:"VPDoc",setup(o){const{theme:e}=w(),t=ve(),{hasSidebar:a,hasAside:n,leftAside:r}=ne(),l=L(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(d,m)=>{const g=ce("Content");return s(),u("div",{class:M(["VPDoc",{"has-sidebar":i(a),"has-aside":i(n)}])},[c(d.$slots,"doc-top",{},void 0,!0),p("div",Zo,[i(n)?(s(),u("div",{key:0,class:M(["aside",{"left-aside":i(r)}])},[Qo,p("div",xo,[p("div",en,[k(wo,null,{"aside-top":v(()=>[c(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):h("",!0),p("div",tn,[p("div",on,[c(d.$slots,"doc-before",{},void 0,!0),p("main",nn,[k(g,{class:M(["vp-doc",[l.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),k(Jo,null,{"doc-footer-before":v(()=>[c(d.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(d.$slots,"doc-after",{},void 0,!0)])])]),c(d.$slots,"doc-bottom",{},void 0,!0)],2)}}}),sn=y(an,[["__scopeId","data-v-39a288b8"]]),rn=_({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=L(()=>e.href&&tt.test(e.href)),a=L(()=>e.tag||e.href?"a":"button");return(n,r)=>(s(),$(x(a.value),{class:M(["VPButton",[n.size,n.theme]]),href:n.href?i(Ge)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:v(()=>[oe(A(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),ln=y(rn,[["__scopeId","data-v-cad61b99"]]),cn=["src","alt"],un=_({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const a=ce("VPImage",!0);return e.image?(s(),u(B,{key:0},[typeof e.image=="string"||"src"in e.image?(s(),u("img",re({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(Be)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,cn)):(s(),u(B,{key:1},[k(a,re({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),k(a,re({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),ke=y(un,[["__scopeId","data-v-8426fc1a"]]),dn=o=>(j("data-v-303bb580"),o=o(),q(),o),mn={class:"container"},vn={class:"main"},pn={key:0,class:"name"},fn=["innerHTML"],hn=["innerHTML"],_n=["innerHTML"],gn={key:0,class:"actions"},bn={key:0,class:"image"},kn={class:"image-container"},$n=dn(()=>p("div",{class:"image-bg"},null,-1)),yn=_({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=Le("hero-image-slot-exists");return(t,a)=>(s(),u("div",{class:M(["VPHero",{"has-image":t.image||i(e)}])},[p("div",mn,[p("div",vn,[c(t.$slots,"home-hero-info-before",{},void 0,!0),c(t.$slots,"home-hero-info",{},()=>[t.name?(s(),u("h1",pn,[p("span",{innerHTML:t.name,class:"clip"},null,8,fn)])):h("",!0),t.text?(s(),u("p",{key:1,innerHTML:t.text,class:"text"},null,8,hn)):h("",!0),t.tagline?(s(),u("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,_n)):h("",!0)],!0),c(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(s(),u("div",gn,[(s(!0),u(B,null,K(t.actions,n=>(s(),u("div",{key:n.link,class:"action"},[k(ln,{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))])):h("",!0),c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||i(e)?(s(),u("div",bn,[p("div",kn,[$n,c(t.$slots,"home-hero-image",{},()=>[t.image?(s(),$(ke,{key:0,class:"image-src",image:t.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),Ln=y(yn,[["__scopeId","data-v-303bb580"]]),Pn=_({__name:"VPHomeHero",setup(o){const{frontmatter:e}=w();return(t,a)=>i(e).hero?(s(),$(Ln,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(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"])):h("",!0)}}),Sn=o=>(j("data-v-a3976bdc"),o=o(),q(),o),Vn={class:"box"},wn={key:0,class:"icon"},Tn=["innerHTML"],In=["innerHTML"],En=["innerHTML"],Nn={key:4,class:"link-text"},Cn={class:"link-text-value"},zn=Sn(()=>p("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),An=_({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(s(),$(ee,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[p("article",Vn,[typeof e.icon=="object"&&e.icon.wrap?(s(),u("div",wn,[k(ke,{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"?(s(),$(ke,{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?(s(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Tn)):h("",!0),p("h2",{class:"title",innerHTML:e.title},null,8,In),e.details?(s(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,En)):h("",!0),e.linkText?(s(),u("div",Nn,[p("p",Cn,[oe(A(e.linkText)+" ",1),zn])])):h("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Mn=y(An,[["__scopeId","data-v-a3976bdc"]]),Hn={key:0,class:"VPFeatures"},Bn={class:"container"},On={class:"items"},Dn=_({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=L(()=>{const a=e.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,n)=>a.features?(s(),u("div",Hn,[p("div",Bn,[p("div",On,[(s(!0),u(B,null,K(a.features,r=>(s(),u("div",{key:r.title,class:M(["item",[t.value]])},[k(Mn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):h("",!0)}}),Fn=y(Dn,[["__scopeId","data-v-a6181336"]]),Gn=_({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=w();return(t,a)=>i(e).features?(s(),$(Fn,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):h("",!0)}}),Un=_({__name:"VPHomeContent",setup(o){const{width:e}=zt({initialWidth:0,includeScrollbar:!1});return(t,a)=>(s(),u("div",{class:"vp-doc container",style:ot(i(e)?{"--vp-offset":`calc(50% - ${i(e)/2}px)`}:{})},[c(t.$slots,"default",{},void 0,!0)],4))}}),jn=y(Un,[["__scopeId","data-v-8e2d4988"]]),qn={class:"VPHome"},Rn=_({__name:"VPHome",setup(o){const{frontmatter:e}=w();return(t,a)=>{const n=ce("Content");return s(),u("div",qn,[c(t.$slots,"home-hero-before",{},void 0,!0),k(Pn,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),k(Gn),c(t.$slots,"home-features-after",{},void 0,!0),i(e).markdownStyles!==!1?(s(),$(jn,{key:0},{default:v(()=>[k(n)]),_:1})):(s(),$(n,{key:1}))])}}}),Wn=y(Rn,[["__scopeId","data-v-686f80a6"]]),Kn={},Yn={class:"VPPage"};function Jn(o,e){const t=ce("Content");return s(),u("div",Yn,[c(o.$slots,"page-top"),k(t),c(o.$slots,"page-bottom")])}const Xn=y(Kn,[["render",Jn]]),Zn=_({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=w(),{hasSidebar:a}=ne();return(n,r)=>(s(),u("div",{class:M(["VPContent",{"has-sidebar":i(a),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?c(n.$slots,"not-found",{key:0},()=>[k(ao)],!0):i(t).layout==="page"?(s(),$(Xn,{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})):i(t).layout==="home"?(s(),$(Wn,{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})):i(t).layout&&i(t).layout!=="doc"?(s(),$(x(i(t).layout),{key:3})):(s(),$(sn,{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))}}),Qn=y(Zn,[["__scopeId","data-v-1428d186"]]),xn={class:"container"},ea=["innerHTML"],ta=["innerHTML"],oa=_({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=w(),{hasSidebar:a}=ne();return(n,r)=>i(e).footer&&i(t).footer!==!1?(s(),u("footer",{key:0,class:M(["VPFooter",{"has-sidebar":i(a)}])},[p("div",xn,[i(e).footer.message?(s(),u("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,ea)):h("",!0),i(e).footer.copyright?(s(),u("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,ta)):h("",!0)])],2)):h("",!0)}}),na=y(oa,[["__scopeId","data-v-e315a0ad"]]);function aa(){const{theme:o,frontmatter:e}=w(),t=et([]),a=L(()=>t.value.length>0);return ye(()=>{t.value=Ue(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:a}}const sa=o=>(j("data-v-17a5e62e"),o=o(),q(),o),ra={class:"menu-text"},ia=sa(()=>p("span",{class:"vpi-chevron-right icon"},null,-1)),la={class:"header"},ca={class:"outline"},ua=_({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=w(),a=z(!1),n=z(0),r=z(),l=z();function d(b){var V;(V=r.value)!=null&&V.contains(b.target)||(a.value=!1)}J(a,b=>{if(b){document.addEventListener("click",d);return}document.removeEventListener("click",d)}),Ce("Escape",()=>{a.value=!1}),ye(()=>{a.value=!1});function m(){a.value=!a.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"),Fe(()=>{a.value=!1}))}function P(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(b,V)=>(s(),u("div",{class:"VPLocalNavOutlineDropdown",style:ot({"--vp-vh":n.value+"px"}),ref_key:"main",ref:r},[b.headers.length>0?(s(),u("button",{key:0,onClick:m,class:M({open:a.value})},[p("span",ra,A(i(lt)(i(t))),1),ia],2)):(s(),u("button",{key:1,onClick:P},A(i(t).returnToTopLabel||"Return to top"),1)),k(He,{name:"flyout"},{default:v(()=>[a.value?(s(),u("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:g},[p("div",la,[p("a",{class:"top-link",href:"#",onClick:P},A(i(t).returnToTopLabel||"Return to top"),1)]),p("div",ca,[k(ct,{headers:b.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),da=y(ua,[["__scopeId","data-v-17a5e62e"]]),ma=o=>(j("data-v-a6f0e41e"),o=o(),q(),o),va={class:"container"},pa=["aria-expanded"],fa=ma(()=>p("span",{class:"vpi-align-left menu-icon"},null,-1)),ha={class:"menu-text"},_a=_({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=w(),{hasSidebar:a}=ne(),{headers:n}=aa(),{y:r}=nt(),l=z(0);te(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ye(()=>{n.value=Ue(t.value.outline??e.value.outline)});const d=L(()=>n.value.length===0),m=L(()=>d.value&&!a.value),g=L(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:d.value,fixed:m.value}));return(P,b)=>i(t).layout!=="home"&&(!m.value||i(r)>=l.value)?(s(),u("div",{key:0,class:M(g.value)},[p("div",va,[i(a)?(s(),u("button",{key:0,class:"menu","aria-expanded":P.open,"aria-controls":"VPSidebarNav",onClick:b[0]||(b[0]=V=>P.$emit("open-menu"))},[fa,p("span",ha,A(i(e).sidebarMenuLabel||"Menu"),1)],8,pa)):h("",!0),k(da,{headers:i(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),ga=y(_a,[["__scopeId","data-v-a6f0e41e"]]);function ba(){const o=z(!1);function e(){o.value=!0,window.addEventListener("resize",n)}function t(){o.value=!1,window.removeEventListener("resize",n)}function a(){o.value?t():e()}function n(){window.outerWidth>=768&&t()}const r=ve();return J(()=>r.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:a}}const ka={},$a={class:"VPSwitch",type:"button",role:"switch"},ya={class:"check"},La={key:0,class:"icon"};function Pa(o,e){return s(),u("button",$a,[p("span",ya,[o.$slots.default?(s(),u("span",La,[c(o.$slots,"default",{},void 0,!0)])):h("",!0)])])}const Sa=y(ka,[["render",Pa],["__scopeId","data-v-1d5665e3"]]),dt=o=>(j("data-v-5337faa4"),o=o(),q(),o),Va=dt(()=>p("span",{class:"vpi-sun sun"},null,-1)),wa=dt(()=>p("span",{class:"vpi-moon moon"},null,-1)),Ta=_({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=w(),a=Le("toggle-appearance",()=>{e.value=!e.value}),n=z("");return De(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(s(),$(Sa,{title:n.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(a)},{default:v(()=>[Va,wa]),_:1},8,["title","aria-checked","onClick"]))}}),je=y(Ta,[["__scopeId","data-v-5337faa4"]]),Ia={key:0,class:"VPNavBarAppearance"},Ea=_({__name:"VPNavBarAppearance",setup(o){const{site:e}=w();return(t,a)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(s(),u("div",Ia,[k(je)])):h("",!0)}}),Na=y(Ea,[["__scopeId","data-v-6c893767"]]),qe=z();let mt=!1,Ee=0;function Ca(o){const e=z(!1);if(Pe){!mt&&za(),Ee++;const t=J(qe,a=>{var n,r,l;a===o.el.value||(n=o.el.value)!=null&&n.contains(a)?(e.value=!0,(r=o.onFocus)==null||r.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});Oe(()=>{t(),Ee--,Ee||Aa()})}return At(e)}function za(){document.addEventListener("focusin",vt),mt=!0,qe.value=document.activeElement}function Aa(){document.removeEventListener("focusin",vt)}function vt(){qe.value=document.activeElement}const Ma={class:"VPMenuLink"},Ha=_({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=w();return(t,a)=>(s(),u("div",Ma,[k(ee,{class:M({active:i(le)(i(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(()=>[oe(A(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Se=y(Ha,[["__scopeId","data-v-43f1e123"]]),Ba={class:"VPMenuGroup"},Oa={key:0,class:"title"},Da=_({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(s(),u("div",Ba,[e.text?(s(),u("p",Oa,A(e.text),1)):h("",!0),(s(!0),u(B,null,K(e.items,a=>(s(),u(B,null,["link"in a?(s(),$(Se,{key:0,item:a},null,8,["item"])):h("",!0)],64))),256))]))}}),Fa=y(Da,[["__scopeId","data-v-69e747b5"]]),Ga={class:"VPMenu"},Ua={key:0,class:"items"},ja=_({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(s(),u("div",Ga,[e.items?(s(),u("div",Ua,[(s(!0),u(B,null,K(e.items,a=>(s(),u(B,{key:JSON.stringify(a)},["link"in a?(s(),$(Se,{key:0,item:a},null,8,["item"])):"component"in a?(s(),$(x(a.component),re({key:1,ref_for:!0},a.props),null,16)):(s(),$(Fa,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):h("",!0),c(e.$slots,"default",{},void 0,!0)]))}}),qa=y(ja,[["__scopeId","data-v-b98bc113"]]),Ra=o=>(j("data-v-b6c34ac9"),o=o(),q(),o),Wa=["aria-expanded","aria-label"],Ka={key:0,class:"text"},Ya=["innerHTML"],Ja=Ra(()=>p("span",{class:"vpi-chevron-down text-icon"},null,-1)),Xa={key:1,class:"vpi-more-horizontal icon"},Za={class:"menu"},Qa=_({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=z(!1),t=z();Ca({el:t,onBlur:a});function a(){e.value=!1}return(n,r)=>(s(),u("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>e.value=!0),onMouseleave:r[2]||(r[2]=l=>e.value=!1)},[p("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:r[0]||(r[0]=l=>e.value=!e.value)},[n.button||n.icon?(s(),u("span",Ka,[n.icon?(s(),u("span",{key:0,class:M([n.icon,"option-icon"])},null,2)):h("",!0),n.button?(s(),u("span",{key:1,innerHTML:n.button},null,8,Ya)):h("",!0),Ja])):(s(),u("span",Xa))],8,Wa),p("div",Za,[k(qa,{items:n.items},{default:v(()=>[c(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Re=y(Qa,[["__scopeId","data-v-b6c34ac9"]]),xa=["href","aria-label","innerHTML"],es=_({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=L(()=>typeof e.icon=="object"?e.icon.svg:`<span class="vpi-social-${e.icon}" />`);return(a,n)=>(s(),u("a",{class:"VPSocialLink no-icon",href:a.link,"aria-label":a.ariaLabel??(typeof a.icon=="string"?a.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,xa))}}),ts=y(es,[["__scopeId","data-v-eee4e7cb"]]),os={class:"VPSocialLinks"},ns=_({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(s(),u("div",os,[(s(!0),u(B,null,K(e.links,({link:a,icon:n,ariaLabel:r})=>(s(),$(ts,{key:a,icon:n,link:a,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),We=y(ns,[["__scopeId","data-v-7bc22406"]]),as={key:0,class:"group translations"},ss={class:"trans-title"},rs={key:1,class:"group"},is={class:"item appearance"},ls={class:"label"},cs={class:"appearance-action"},us={key:2,class:"group"},ds={class:"item social-links"},ms=_({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=w(),{localeLinks:a,currentLang:n}=pe({correspondingLink:!0}),r=L(()=>a.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,d)=>r.value?(s(),$(Re,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[i(a).length&&i(n).label?(s(),u("div",as,[p("p",ss,A(i(n).label),1),(s(!0),u(B,null,K(i(a),m=>(s(),$(Se,{key:m.link,item:m},null,8,["item"]))),128))])):h("",!0),i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(s(),u("div",rs,[p("div",is,[p("p",ls,A(i(t).darkModeSwitchLabel||"Appearance"),1),p("div",cs,[k(je)])])])):h("",!0),i(t).socialLinks?(s(),u("div",us,[p("div",ds,[k(We,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),vs=y(ms,[["__scopeId","data-v-bb2aa2f0"]]),ps=o=>(j("data-v-e5dd9c1c"),o=o(),q(),o),fs=["aria-expanded"],hs=ps(()=>p("span",{class:"container"},[p("span",{class:"top"}),p("span",{class:"middle"}),p("span",{class:"bottom"})],-1)),_s=[hs],gs=_({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(s(),u("button",{type:"button",class:M(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=a=>e.$emit("click"))},_s,10,fs))}}),bs=y(gs,[["__scopeId","data-v-e5dd9c1c"]]),ks=["innerHTML"],$s=_({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=w();return(t,a)=>(s(),$(ee,{class:M({VPNavBarMenuLink:!0,active:i(le)(i(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(()=>[p("span",{innerHTML:t.item.text},null,8,ks)]),_:1},8,["class","href","noIcon","target","rel"]))}}),ys=y($s,[["__scopeId","data-v-9c663999"]]),Ls=_({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=w(),a=r=>"component"in r?!1:"link"in r?le(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(a),n=L(()=>a(e.item));return(r,l)=>(s(),$(Re,{class:M({VPNavBarMenuGroup:!0,active:i(le)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||n.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Ps=o=>(j("data-v-dc692963"),o=o(),q(),o),Ss={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Vs=Ps(()=>p("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),ws=_({__name:"VPNavBarMenu",setup(o){const{theme:e}=w();return(t,a)=>i(e).nav?(s(),u("nav",Ss,[Vs,(s(!0),u(B,null,K(i(e).nav,n=>(s(),u(B,{key:JSON.stringify(n)},["link"in n?(s(),$(ys,{key:0,item:n},null,8,["item"])):"component"in n?(s(),$(x(n.component),re({key:1,ref_for:!0},n.props),null,16)):(s(),$(Ls,{key:2,item:n},null,8,["item"]))],64))),128))])):h("",!0)}}),Ts=y(ws,[["__scopeId","data-v-dc692963"]]);function Is(o){const{localeIndex:e,theme:t}=w();function a(n){var E,D,C;const r=n.split("."),l=(E=t.value.search)==null?void 0:E.options,d=l&&typeof l=="object",m=d&&((C=(D=l.locales)==null?void 0:D[e.value])==null?void 0:C.translations)||null,g=d&&l.translations||null;let P=m,b=g,V=o;const N=r.pop();for(const X of r){let Z=null;const F=V==null?void 0:V[X];F&&(Z=V=F);const ae=b==null?void 0:b[X];ae&&(Z=b=ae);const Q=P==null?void 0:P[X];Q&&(Z=P=Q),F||(V=Z),ae||(b=Z),Q||(P=Z)}return(P==null?void 0:P[N])??(b==null?void 0:b[N])??(V==null?void 0:V[N])??""}return a}const Es=["aria-label"],Ns={class:"DocSearch-Button-Container"},Cs=p("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),zs={class:"DocSearch-Button-Placeholder"},As=p("span",{class:"DocSearch-Button-Keys"},[p("kbd",{class:"DocSearch-Button-Key"}),p("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Je=_({__name:"VPNavBarSearchButton",setup(o){const t=Is({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,n)=>(s(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(t)("button.buttonAriaLabel")},[p("span",Ns,[Cs,p("span",zs,A(i(t)("button.buttonText")),1)]),As],8,Es))}}),Ms={class:"VPNavBarSearch"},Hs={id:"local-search"},Bs={key:1,id:"docsearch"},Os=_({__name:"VPNavBarSearch",setup(o){const e=Mt(()=>at(()=>import("./VPLocalSearchBox.CyRb3YTV.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:a}=w(),n=z(!1),r=z(!1);te(()=>{});function l(){n.value||(n.value=!0,setTimeout(d,16))}function d(){const b=new Event("keydown");b.key="k",b.metaKey=!0,window.dispatchEvent(b),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function m(b){const V=b.target,N=V.tagName;return V.isContentEditable||N==="INPUT"||N==="SELECT"||N==="TEXTAREA"}const g=z(!1);Ce("k",b=>{(b.ctrlKey||b.metaKey)&&(b.preventDefault(),g.value=!0)}),Ce("/",b=>{m(b)||(b.preventDefault(),g.value=!0)});const P="local";return(b,V)=>{var N;return s(),u("div",Ms,[i(P)==="local"?(s(),u(B,{key:0},[g.value?(s(),$(i(e),{key:0,onClose:V[0]||(V[0]=E=>g.value=!1)})):h("",!0),p("div",Hs,[k(Je,{onClick:V[1]||(V[1]=E=>g.value=!0)})])],64)):i(P)==="algolia"?(s(),u(B,{key:1},[n.value?(s(),$(i(t),{key:0,algolia:((N=i(a).search)==null?void 0:N.options)??i(a).algolia,onVnodeBeforeMount:V[2]||(V[2]=E=>r.value=!0)},null,8,["algolia"])):h("",!0),r.value?h("",!0):(s(),u("div",Bs,[k(Je,{onClick:l})]))],64)):h("",!0)])}}}),Ds=_({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=w();return(t,a)=>i(e).socialLinks?(s(),$(We,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):h("",!0)}}),Fs=y(Ds,[["__scopeId","data-v-0394ad82"]]),Gs=["href","rel","target"],Us={key:1},js={key:2},qs=_({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=w(),{hasSidebar:a}=ne(),{currentLang:n}=pe(),r=L(()=>{var m;return typeof t.value.logoLink=="string"?t.value.logoLink:(m=t.value.logoLink)==null?void 0:m.link}),l=L(()=>{var m;return typeof t.value.logoLink=="string"||(m=t.value.logoLink)==null?void 0:m.rel}),d=L(()=>{var m;return typeof t.value.logoLink=="string"||(m=t.value.logoLink)==null?void 0:m.target});return(m,g)=>(s(),u("div",{class:M(["VPNavBarTitle",{"has-sidebar":i(a)}])},[p("a",{class:"title",href:r.value??i(Ge)(i(n).link),rel:l.value,target:d.value},[c(m.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(s(),$(ke,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):h("",!0),i(t).siteTitle?(s(),u("span",Us,A(i(t).siteTitle),1)):i(t).siteTitle===void 0?(s(),u("span",js,A(i(e).title),1)):h("",!0),c(m.$slots,"nav-bar-title-after",{},void 0,!0)],8,Gs)],2))}}),Rs=y(qs,[["__scopeId","data-v-ab179fa1"]]),Ws={class:"items"},Ks={class:"title"},Ys=_({__name:"VPNavBarTranslations",setup(o){const{theme:e}=w(),{localeLinks:t,currentLang:a}=pe({correspondingLink:!0});return(n,r)=>i(t).length&&i(a).label?(s(),$(Re,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(e).langMenuLabel||"Change language"},{default:v(()=>[p("div",Ws,[p("p",Ks,A(i(a).label),1),(s(!0),u(B,null,K(i(t),l=>(s(),$(Se,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):h("",!0)}}),Js=y(Ys,[["__scopeId","data-v-88af2de4"]]),Xs=o=>(j("data-v-6aa21345"),o=o(),q(),o),Zs={class:"wrapper"},Qs={class:"container"},xs={class:"title"},er={class:"content"},tr={class:"content-body"},or=Xs(()=>p("div",{class:"divider"},[p("div",{class:"divider-line"})],-1)),nr=_({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=nt(),{hasSidebar:a}=ne(),{frontmatter:n}=w(),r=z({});return De(()=>{r.value={"has-sidebar":a.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,d)=>(s(),u("div",{class:M(["VPNavBar",r.value])},[p("div",Zs,[p("div",Qs,[p("div",xs,[k(Rs,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})]),p("div",er,[p("div",tr,[c(l.$slots,"nav-bar-content-before",{},void 0,!0),k(Os,{class:"search"}),k(Ts,{class:"menu"}),k(Js,{class:"translations"}),k(Na,{class:"appearance"}),k(Fs,{class:"social-links"}),k(vs,{class:"extra"}),c(l.$slots,"nav-bar-content-after",{},void 0,!0),k(bs,{class:"hamburger",active:l.isScreenOpen,onClick:d[0]||(d[0]=m=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),or],2))}}),ar=y(nr,[["__scopeId","data-v-6aa21345"]]),sr={key:0,class:"VPNavScreenAppearance"},rr={class:"text"},ir=_({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=w();return(a,n)=>i(e).appearance&&i(e).appearance!=="force-dark"&&i(e).appearance!=="force-auto"?(s(),u("div",sr,[p("p",rr,A(i(t).darkModeSwitchLabel||"Appearance"),1),k(je)])):h("",!0)}}),lr=y(ir,[["__scopeId","data-v-b44890b2"]]),cr=_({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=Le("close-screen");return(t,a)=>(s(),$(ee,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),ur=y(cr,[["__scopeId","data-v-7f31e1f6"]]),dr=_({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=Le("close-screen");return(t,a)=>(s(),$(ee,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:v(()=>[oe(A(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),pt=y(dr,[["__scopeId","data-v-19976ae1"]]),mr={class:"VPNavScreenMenuGroupSection"},vr={key:0,class:"title"},pr=_({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(s(),u("div",mr,[e.text?(s(),u("p",vr,A(e.text),1)):h("",!0),(s(!0),u(B,null,K(e.items,a=>(s(),$(pt,{key:a.text,item:a},null,8,["item"]))),128))]))}}),fr=y(pr,[["__scopeId","data-v-8133b170"]]),hr=o=>(j("data-v-b9ab8c58"),o=o(),q(),o),_r=["aria-controls","aria-expanded"],gr=["innerHTML"],br=hr(()=>p("span",{class:"vpi-plus button-icon"},null,-1)),kr=["id"],$r={key:0,class:"item"},yr={key:1,class:"item"},Lr={key:2,class:"group"},Pr=_({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=z(!1),a=L(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(r,l)=>(s(),u("div",{class:M(["VPNavScreenMenuGroup",{open:t.value}])},[p("button",{class:"button","aria-controls":a.value,"aria-expanded":t.value,onClick:n},[p("span",{class:"button-text",innerHTML:r.text},null,8,gr),br],8,_r),p("div",{id:a.value,class:"items"},[(s(!0),u(B,null,K(r.items,d=>(s(),u(B,{key:JSON.stringify(d)},["link"in d?(s(),u("div",$r,[k(pt,{item:d},null,8,["item"])])):"component"in d?(s(),u("div",yr,[(s(),$(x(d.component),re({ref_for:!0},d.props,{"screen-menu":""}),null,16))])):(s(),u("div",Lr,[k(fr,{text:d.text,items:d.items},null,8,["text","items"])]))],64))),128))],8,kr)],2))}}),Sr=y(Pr,[["__scopeId","data-v-b9ab8c58"]]),Vr={key:0,class:"VPNavScreenMenu"},wr=_({__name:"VPNavScreenMenu",setup(o){const{theme:e}=w();return(t,a)=>i(e).nav?(s(),u("nav",Vr,[(s(!0),u(B,null,K(i(e).nav,n=>(s(),u(B,{key:JSON.stringify(n)},["link"in n?(s(),$(ur,{key:0,item:n},null,8,["item"])):"component"in n?(s(),$(x(n.component),re({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(s(),$(Sr,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),Tr=_({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=w();return(t,a)=>i(e).socialLinks?(s(),$(We,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):h("",!0)}}),ft=o=>(j("data-v-858fe1a4"),o=o(),q(),o),Ir=ft(()=>p("span",{class:"vpi-languages icon lang"},null,-1)),Er=ft(()=>p("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Nr={class:"list"},Cr=_({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=pe({correspondingLink:!0}),a=z(!1);function n(){a.value=!a.value}return(r,l)=>i(e).length&&i(t).label?(s(),u("div",{key:0,class:M(["VPNavScreenTranslations",{open:a.value}])},[p("button",{class:"title",onClick:n},[Ir,oe(" "+A(i(t).label)+" ",1),Er]),p("ul",Nr,[(s(!0),u(B,null,K(i(e),d=>(s(),u("li",{key:d.link,class:"item"},[k(ee,{class:"link",href:d.link},{default:v(()=>[oe(A(d.text),1)]),_:2},1032,["href"])]))),128))])],2)):h("",!0)}}),zr=y(Cr,[["__scopeId","data-v-858fe1a4"]]),Ar={class:"container"},Mr=_({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=z(null),t=st(Pe?document.body:null);return(a,n)=>(s(),$(He,{name:"fade",onEnter:n[0]||(n[0]=r=>t.value=!0),onAfterLeave:n[1]||(n[1]=r=>t.value=!1)},{default:v(()=>[a.open?(s(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[p("div",Ar,[c(a.$slots,"nav-screen-content-before",{},void 0,!0),k(wr,{class:"menu"}),k(zr,{class:"translations"}),k(lr,{class:"appearance"}),k(Tr,{class:"social-links"}),c(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):h("",!0)]),_:3}))}}),Hr=y(Mr,[["__scopeId","data-v-f2779853"]]),Br={key:0,class:"VPNav"},Or=_({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:a}=ba(),{frontmatter:n}=w(),r=L(()=>n.value.navbar!==!1);return rt("close-screen",t),$e(()=>{Pe&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,d)=>r.value?(s(),u("header",Br,[k(ar,{"is-screen-open":i(e),onToggleScreen:i(a)},{"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"]),k(Hr,{open:i(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"])])):h("",!0)}}),Dr=y(Or,[["__scopeId","data-v-ae24b3ad"]]),ht=o=>(j("data-v-b7550ba0"),o=o(),q(),o),Fr=["role","tabindex"],Gr=ht(()=>p("div",{class:"indicator"},null,-1)),Ur=ht(()=>p("span",{class:"vpi-chevron-right caret-icon"},null,-1)),jr=[Ur],qr={key:1,class:"items"},Rr=_({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:a,isLink:n,isActiveLink:r,hasActiveLink:l,hasChildren:d,toggle:m}=lo(L(()=>e.item)),g=L(()=>d.value?"section":"div"),P=L(()=>n.value?"a":"div"),b=L(()=>d.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),V=L(()=>n.value?void 0:"button"),N=L(()=>[[`level-${e.depth}`],{collapsible:a.value},{collapsed:t.value},{"is-link":n.value},{"is-active":r.value},{"has-active":l.value}]);function E(C){"key"in C&&C.key!=="Enter"||!e.item.link&&m()}function D(){e.item.link&&m()}return(C,X)=>{const Z=ce("VPSidebarItem",!0);return s(),$(x(g.value),{class:M(["VPSidebarItem",N.value])},{default:v(()=>[C.item.text?(s(),u("div",re({key:0,class:"item",role:V.value},Bt(C.item.items?{click:E,keydown:E}:{},!0),{tabindex:C.item.items&&0}),[Gr,C.item.link?(s(),$(ee,{key:0,tag:P.value,class:"link",href:C.item.link,rel:C.item.rel,target:C.item.target},{default:v(()=>[(s(),$(x(b.value),{class:"text",innerHTML:C.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(s(),$(x(b.value),{key:1,class:"text",innerHTML:C.item.text},null,8,["innerHTML"])),C.item.collapsed!=null&&C.item.items&&C.item.items.length?(s(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:D,onKeydown:Ht(D,["enter"]),tabindex:"0"},jr,32)):h("",!0)],16,Fr)):h("",!0),C.item.items&&C.item.items.length?(s(),u("div",qr,[C.depth<5?(s(!0),u(B,{key:0},K(C.item.items,F=>(s(),$(Z,{key:F.text,item:F,depth:C.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),Wr=y(Rr,[["__scopeId","data-v-b7550ba0"]]),Kr=_({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=z(!0);let t=null;return te(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Ot(()=>{t!=null&&(clearTimeout(t),t=null)}),(a,n)=>(s(!0),u(B,null,K(a.items,r=>(s(),u("div",{key:r.text,class:M(["group",{"no-transition":e.value}])},[k(Wr,{item:r,depth:0},null,8,["item"])],2))),128))}}),Yr=y(Kr,[["__scopeId","data-v-c40bc020"]]),_t=o=>(j("data-v-319d5ca6"),o=o(),q(),o),Jr=_t(()=>p("div",{class:"curtain"},null,-1)),Xr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Zr=_t(()=>p("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Qr=_({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=ne(),a=o,n=z(null),r=st(Pe?document.body:null);J([a,n],()=>{var d;a.open?(r.value=!0,(d=n.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=z(0);return J(e,()=>{l.value+=1},{deep:!0}),(d,m)=>i(t)?(s(),u("aside",{key:0,class:M(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:n,onClick:m[0]||(m[0]=Dt(()=>{},["stop"]))},[Jr,p("nav",Xr,[Zr,c(d.$slots,"sidebar-nav-before",{},void 0,!0),(s(),$(Yr,{items:i(e),key:l.value},null,8,["items"])),c(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),xr=y(Qr,[["__scopeId","data-v-319d5ca6"]]),ei=_({__name:"VPSkipLink",setup(o){const e=ve(),t=z();J(()=>e.path,()=>t.value.focus());function a({target:n}){const r=document.getElementById(decodeURIComponent(n.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(n,r)=>(s(),u(B,null,[p("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),p("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:a}," Skip to content ")],64))}}),ti=y(ei,[["__scopeId","data-v-0f60ec36"]]),oi=_({__name:"Layout",setup(o){const{isOpen:e,open:t,close:a}=ne(),n=ve();J(()=>n.path,a),io(e,a);const{frontmatter:r}=w(),l=Ft(),d=L(()=>!!l["home-hero-image"]);return rt("hero-image-slot-exists",d),(m,g)=>{const P=ce("Content");return i(r).layout!==!1?(s(),u("div",{key:0,class:M(["Layout",i(r).pageClass])},[c(m.$slots,"layout-top",{},void 0,!0),k(ti),k(Wt,{class:"backdrop",show:i(e),onClick:i(a)},null,8,["show","onClick"]),k(Dr,null,{"nav-bar-title-before":v(()=>[c(m.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(m.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(m.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(m.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[c(m.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(m.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),k(ga,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),k(xr,{open:i(e)},{"sidebar-nav-before":v(()=>[c(m.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[c(m.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),k(Qn,null,{"page-top":v(()=>[c(m.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(m.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[c(m.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[c(m.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[c(m.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(m.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[c(m.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[c(m.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[c(m.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(m.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(m.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(m.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[c(m.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(m.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(m.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[c(m.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(m.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[c(m.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(m.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(m.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(m.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(m.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(m.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),k(na),c(m.$slots,"layout-bottom",{},void 0,!0)],2)):(s(),$(P,{key:1}))}}}),ni=y(oi,[["__scopeId","data-v-5d98c3a5"]]),ai={Layout:ni,enhanceApp:({app:o})=>{o.component("Badge",jt)}};/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var ie=Object.assign||function(o){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(o[a]=t[a])}return o},_e=function(e){return e.tagName==="IMG"},si=function(e){return NodeList.prototype.isPrototypeOf(e)},be=function(e){return e&&e.nodeType===1},Xe=function(e){var t=e.currentSrc||e.src;return t.substr(-4).toLowerCase()===".svg"},Ze=function(e){try{return Array.isArray(e)?e.filter(_e):si(e)?[].slice.call(e).filter(_e):be(e)?[e].filter(_e):typeof e=="string"?[].slice.call(document.querySelectorAll(e)).filter(_e):[]}catch{throw new TypeError(`The provided selector is invalid.
|
|
Expects a CSS selector, a Node element, a NodeList or an array.
|
|
See: https://github.com/francoischalifour/medium-zoom`)}},ri=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t},ii=function(e){var t=e.getBoundingClientRect(),a=t.top,n=t.left,r=t.width,l=t.height,d=e.cloneNode(),m=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,g=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return d.removeAttribute("id"),d.style.position="absolute",d.style.top=a+m+"px",d.style.left=n+g+"px",d.style.width=r+"px",d.style.height=l+"px",d.style.transform="",d},de=function(e,t){var a=ie({bubbles:!1,cancelable:!1,detail:void 0},t);if(typeof window.CustomEvent=="function")return new CustomEvent(e,a);var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,a.bubbles,a.cancelable,a.detail),n},li=function o(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=window.Promise||function(S){function T(){}S(T,T)},n=function(S){var T=S.target;if(T===fe){E();return}F.indexOf(T)!==-1&&D({target:T})},r=function(){if(!(Q||!f.original)){var S=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(Ke-S)>H.scrollOffset&&setTimeout(E,150)}},l=function(S){var T=S.key||S.keyCode;(T==="Escape"||T==="Esc"||T===27)&&E()},d=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=S;if(S.background&&(fe.style.background=S.background),S.container&&S.container instanceof Object&&(T.container=ie({},H.container,S.container)),S.template){var O=be(S.template)?S.template:document.querySelector(S.template);T.template=O}return H=ie({},H,T),F.forEach(function(G){G.dispatchEvent(de("medium-zoom:update",{detail:{zoom:U}}))}),U},m=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return o(ie({},H,S))},g=function(){for(var S=arguments.length,T=Array(S),O=0;O<S;O++)T[O]=arguments[O];var G=T.reduce(function(I,W){return[].concat(I,Ze(W))},[]);return G.filter(function(I){return F.indexOf(I)===-1}).forEach(function(I){F.push(I),I.classList.add("medium-zoom-image")}),ae.forEach(function(I){var W=I.type,Y=I.listener,ue=I.options;G.forEach(function(se){se.addEventListener(W,Y,ue)})}),U},P=function(){for(var S=arguments.length,T=Array(S),O=0;O<S;O++)T[O]=arguments[O];f.zoomed&&E();var G=T.length>0?T.reduce(function(I,W){return[].concat(I,Ze(W))},[]):F;return G.forEach(function(I){I.classList.remove("medium-zoom-image"),I.dispatchEvent(de("medium-zoom:detach",{detail:{zoom:U}}))}),F=F.filter(function(I){return G.indexOf(I)===-1}),U},b=function(S,T){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F.forEach(function(G){G.addEventListener("medium-zoom:"+S,T,O)}),ae.push({type:"medium-zoom:"+S,listener:T,options:O}),U},V=function(S,T){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return F.forEach(function(G){G.removeEventListener("medium-zoom:"+S,T,O)}),ae=ae.filter(function(G){return!(G.type==="medium-zoom:"+S&&G.listener.toString()===T.toString())}),U},N=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=S.target,O=function(){var I={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},W=void 0,Y=void 0;if(H.container)if(H.container instanceof Object)I=ie({},I,H.container),W=I.width-I.left-I.right-H.margin*2,Y=I.height-I.top-I.bottom-H.margin*2;else{var ue=be(H.container)?H.container:document.querySelector(H.container),se=ue.getBoundingClientRect(),Ve=se.width,gt=se.height,bt=se.left,kt=se.top;I=ie({},I,{width:Ve,height:gt,left:bt,top:kt})}W=W||I.width-H.margin*2,Y=Y||I.height-H.margin*2;var me=f.zoomedHd||f.original,$t=Xe(me)?W:me.naturalWidth||W,yt=Xe(me)?Y:me.naturalHeight||Y,he=me.getBoundingClientRect(),Lt=he.top,Pt=he.left,we=he.width,Te=he.height,St=Math.min(Math.max(we,$t),W)/we,Vt=Math.min(Math.max(Te,yt),Y)/Te,Ie=Math.min(St,Vt),wt=(-Pt+(W-we)/2+H.margin+I.left)/Ie,Tt=(-Lt+(Y-Te)/2+H.margin+I.top)/Ie,Ye="scale("+Ie+") translate3d("+wt+"px, "+Tt+"px, 0)";f.zoomed.style.transform=Ye,f.zoomedHd&&(f.zoomedHd.style.transform=Ye)};return new a(function(G){if(T&&F.indexOf(T)===-1){G(U);return}var I=function Ve(){Q=!1,f.zoomed.removeEventListener("transitionend",Ve),f.original.dispatchEvent(de("medium-zoom:opened",{detail:{zoom:U}})),G(U)};if(f.zoomed){G(U);return}if(T)f.original=T;else if(F.length>0){var W=F;f.original=W[0]}else{G(U);return}if(f.original.dispatchEvent(de("medium-zoom:open",{detail:{zoom:U}})),Ke=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,Q=!0,f.zoomed=ii(f.original),document.body.appendChild(fe),H.template){var Y=be(H.template)?H.template:document.querySelector(H.template);f.template=document.createElement("div"),f.template.appendChild(Y.content.cloneNode(!0)),document.body.appendChild(f.template)}if(f.original.parentElement&&f.original.parentElement.tagName==="PICTURE"&&f.original.currentSrc&&(f.zoomed.src=f.original.currentSrc),document.body.appendChild(f.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),f.original.classList.add("medium-zoom-image--hidden"),f.zoomed.classList.add("medium-zoom-image--opened"),f.zoomed.addEventListener("click",E),f.zoomed.addEventListener("transitionend",I),f.original.getAttribute("data-zoom-src")){f.zoomedHd=f.zoomed.cloneNode(),f.zoomedHd.removeAttribute("srcset"),f.zoomedHd.removeAttribute("sizes"),f.zoomedHd.removeAttribute("loading"),f.zoomedHd.src=f.zoomed.getAttribute("data-zoom-src"),f.zoomedHd.onerror=function(){clearInterval(ue),console.warn("Unable to reach the zoom image target "+f.zoomedHd.src),f.zoomedHd=null,O()};var ue=setInterval(function(){f.zoomedHd.complete&&(clearInterval(ue),f.zoomedHd.classList.add("medium-zoom-image--opened"),f.zoomedHd.addEventListener("click",E),document.body.appendChild(f.zoomedHd),O())},10)}else if(f.original.hasAttribute("srcset")){f.zoomedHd=f.zoomed.cloneNode(),f.zoomedHd.removeAttribute("sizes"),f.zoomedHd.removeAttribute("loading");var se=f.zoomedHd.addEventListener("load",function(){f.zoomedHd.removeEventListener("load",se),f.zoomedHd.classList.add("medium-zoom-image--opened"),f.zoomedHd.addEventListener("click",E),document.body.appendChild(f.zoomedHd),O()})}else O()})},E=function(){return new a(function(S){if(Q||!f.original){S(U);return}var T=function O(){f.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(f.zoomed),f.zoomedHd&&document.body.removeChild(f.zoomedHd),document.body.removeChild(fe),f.zoomed.classList.remove("medium-zoom-image--opened"),f.template&&document.body.removeChild(f.template),Q=!1,f.zoomed.removeEventListener("transitionend",O),f.original.dispatchEvent(de("medium-zoom:closed",{detail:{zoom:U}})),f.original=null,f.zoomed=null,f.zoomedHd=null,f.template=null,S(U)};Q=!0,document.body.classList.remove("medium-zoom--opened"),f.zoomed.style.transform="",f.zoomedHd&&(f.zoomedHd.style.transform=""),f.template&&(f.template.style.transition="opacity 150ms",f.template.style.opacity=0),f.original.dispatchEvent(de("medium-zoom:close",{detail:{zoom:U}})),f.zoomed.addEventListener("transitionend",T)})},D=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=S.target;return f.original?E():N({target:T})},C=function(){return H},X=function(){return F},Z=function(){return f.original},F=[],ae=[],Q=!1,Ke=0,H=t,f={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?H=e:(e||typeof e=="string")&&g(e),H=ie({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},H);var fe=ri(H.background);document.addEventListener("click",n),document.addEventListener("keyup",l),document.addEventListener("scroll",r),window.addEventListener("resize",E);var U={open:N,close:E,toggle:D,update:d,clone:m,attach:g,detach:P,on:b,off:V,getOptions:C,getImages:X,getZoomedImage:Z};return U};function ci(o,e){e===void 0&&(e={});var t=e.insertAt;if(!(typeof document>"u")){var a=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t==="top"&&a.firstChild?a.insertBefore(n,a.firstChild):a.appendChild(n),n.styleSheet?n.styleSheet.cssText=o:n.appendChild(document.createTextNode(o))}}var ui=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";ci(ui);const di=["id","host","repo","repoid","category","categoryid","mapping","term","strict","reactionsenabled","emitmetadata","inputposition","theme","lang","loading"],mi=_({__name:"Giscus",props:{id:{},host:{},repo:{},repoId:{},category:{},categoryId:{},mapping:{},term:{},theme:{},strict:{},reactionsEnabled:{},emitMetadata:{},inputPosition:{},lang:{},loading:{}},setup(o){const e=z(!1);return te(()=>{e.value=!0,at(()=>import("./giscus-aTimukGI.CKTvSCx2.js"),[])}),(t,a)=>e.value?(s(),u("giscus-widget",{key:0,id:t.id,host:t.host,repo:t.repo,repoid:t.repoId,category:t.category,categoryid:t.categoryId,mapping:t.mapping,term:t.term,strict:t.strict,reactionsenabled:t.reactionsEnabled,emitmetadata:t.emitMetadata,inputposition:t.inputPosition,theme:t.theme,lang:t.lang,loading:t.loading},null,8,di)):h("",!0)}}),Qe=(o,e,t=!0)=>{var g;const a={id:"comment",host:"https://giscus.app",category:"General",mapping:"pathname",term:"Welcome to giscus!",reactionsEnabled:"1",inputPosition:"top",lang:"zh-CN",loading:"lazy",repo:"xxx/xxx",repoId:"",homePageShowComment:!1};if(o.locales){const b=document.querySelector("html").getAttribute("lang");b&&o.locales[b]&&(o.lang=o.locales[b])}const n=o.lightTheme||"light",r=o.darkTheme||"transparent_dark";let l=document.getElementById("giscus");if(l&&l.parentNode.removeChild(l),(e==null?void 0:e.value.comment)!==void 0){if(!(e!=null&&e.value.comment))return}else if(!t)return;if(!o.homePageShowComment&&(!location.pathname||location.pathname==="/"))return;const d=((g=document.querySelector("html"))==null?void 0:g.className.indexOf("dark"))!==-1,m=document.getElementsByClassName("content-container")[0];if(m){const P=document.createElement("div");P.setAttribute("id","giscus"),P.style.height="auto",P.style.marginTop="40px",P.style.borderTop="1px solid var(--vp-c-divider)",P.style.paddingTop="20px",m.append(P),Gt({render:()=>Ut(mi,{...a,theme:d?r:n,...o})}).mount("#giscus")}},vi=o=>{const e=document.querySelector("html"),t=o.lightTheme||"light",a=o.darkTheme||"transparent_dark";new MutationObserver(r=>{r.forEach(l=>{if(l.type=="attributes"){let d=document.getElementById("comment");d==null||d.setAttribute("theme",e.className.indexOf("dark")!==-1?a:t)}})}).observe(e,{attributeFilter:["class"]})},pi=(o,e,t=!0)=>{te(()=>{Qe(o,e.frontmatter,t),vi(o)}),J(()=>e.route.path,()=>Fe(()=>{Qe(o,e.frontmatter,t)}))},hi={extends:ai,setup(){const{frontmatter:o}=xe(),e=ve(),t=()=>{li(".main img",{background:"var(--vp-c-bg)"})};te(()=>{t(),document.addEventListener("gesturestart",function(n){n.preventDefault()});let a=0;document.addEventListener("touchstart",function(n){n.touches.length>1&&n.preventDefault()}),document.addEventListener("touchend",function(n){const r=new Date;r.getTime()-a<=300&&n.preventDefault(),a=r.getTime()},!1)}),J(()=>e.path,()=>Fe(()=>t())),pi({repo:"Aexiar/Aexiar.github.io",repoId:"R_kgDOK820xg",category:"Announcements",categoryId:"DIC_kwDOK820xs4Cb8sS",mapping:"pathname",inputPosition:"bottom",lang:"zh-CN"},{frontmatter:o,route:e},!0)}};export{hi as R,Is as c,w as u};
|