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