mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
8 lines
77 KiB
JavaScript
8 lines
77 KiB
JavaScript
import{d as $,o as l,c as r,r as h,n as A,a as D,t as L,_ as g,u as lt,b as c,e as V,f as S,g as Vt,h as X,i as ct,j as St,k as Lt,w as ee,l as ae,m as Mt,P as It,p as ye,q as te,s as ce,v as Ie,x as u,F as T,y as w,z as v,T as Ce,A as k,B as de,C as p,D as K,E as Ct,G as Ue,H as Tt,I as rt,J as Nt,K as z,L as At,M as J,N as ut,O as Bt,Q as Ot,R,S as U,U as Et,V as We,W as Te,X as _e,Y as Ht,Z as ie,$ as Ne,a0 as zt,a1 as Dt,a2 as Ft,a3 as jt,a4 as Gt}from"./framework.75837252.js";const qt=$({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(l(),r("span",{class:A(["VPBadge",e.type??"tip"])},[h(t.$slots,"default",{},()=>[D(L(e.text),1)],!0)],2))}});const Rt=g(qt,[["__scopeId","data-v-e233384c"]]),M=lt;var Ke;const dt=typeof window<"u",Ut=e=>typeof e=="string",Wt=()=>{};dt&&((Ke=window==null?void 0:window.navigator)!=null&&Ke.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function _t(e){return typeof e=="function"?e():c(e)}function Kt(e){return e}function ht(e){return St()?(Lt(e),!0):!1}function Qt(e){return typeof e=="function"?V(e):S(e)}function Yt(e,t=!0){Vt()?X(e):t?e():ct(e)}function Xt(e){var t;const n=_t(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ae=dt?window:void 0;function Jt(...e){let t,n,s,o;if(Ut(e[0])||Array.isArray(e[0])?([n,s,o]=e,t=Ae):[t,n,s,o]=e,!t)return Wt;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const a=[],i=()=>{a.forEach(y=>y()),a.length=0},_=(y,b,P,m)=>(y.addEventListener(b,P,m),()=>y.removeEventListener(b,P,m)),d=ee(()=>[Xt(t),_t(o)],([y,b])=>{i(),y&&a.push(...n.flatMap(P=>s.map(m=>_(y,P,m,b))))},{immediate:!0,flush:"post"}),f=()=>{d(),i()};return ht(f),f}function Zt(e,t=!1){const n=S(),s=()=>n.value=!!e();return s(),Yt(s,t),n}function Ve(e,t={}){const{window:n=Ae}=t,s=Zt(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const a=S(!1),i=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",_):o.removeListener(_))},_=()=>{s.value&&(i(),o=n.matchMedia(Qt(e).value),a.value=o.matches,"addEventListener"in o?o.addEventListener("change",_):o.addListener(_))};return ae(_),ht(()=>i()),a}const Qe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ye="__vueuse_ssr_handlers__";Qe[Ye]=Qe[Ye]||{};var Xe;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Xe||(Xe={}));var en=Object.defineProperty,Je=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,nn=Object.prototype.propertyIsEnumerable,Ze=(e,t,n)=>t in e?en(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sn=(e,t)=>{for(var n in t||(t={}))tn.call(t,n)&&Ze(e,n,t[n]);if(Je)for(var n of Je(t))nn.call(t,n)&&Ze(e,n,t[n]);return e};const on={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};sn({linear:Kt},on);function an({window:e=Ae}={}){if(!e)return{x:S(0),y:S(0)};const t=S(e.scrollX),n=S(e.scrollY);return Jt(e,"scroll",()=>{t.value=e.scrollX,n.value=e.scrollY},{capture:!1,passive:!0}),{x:t,y:n}}function ln(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Se(e){return/^\//.test(e)?e:`/${e}`}function le(e){if(Mt(e))return e.replace(It,"");const{site:t}=M(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),a=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,t.value.cleanUrls?"":".html")}${s}${o}`);return ye(a)}function vt(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Se(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Se(s)));return n?e[n]:[]}function cn(e){const t=[];let n=0;for(const s in e){const o=e[s];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function rn(e){const t=[];function n(s){for(const o of s)o.text&&o.link&&t.push({text:o.text,link:o.link}),o.items&&n(o.items)}return n(e),t}function Le(e,t){return Array.isArray(t)?t.some(n=>Le(e,n)):te(e,t.link)?!0:t.items?Le(e,t.items):!1}function W(){const e=ce(),{theme:t,frontmatter:n}=M(),s=Ve("(min-width: 960px)"),o=S(!1),a=V(()=>{const x=t.value.sidebar,N=e.data.relativePath;return x?vt(x,N):[]}),i=V(()=>n.value.sidebar!==!1&&a.value.length>0&&n.value.layout!=="home"),_=V(()=>d?n.value.aside==null?t.value.aside==="left":n.value.aside==="left":!1),d=V(()=>n.value.layout==="home"?!1:n.value.aside!=null?!!n.value.aside:t.value.aside!==!1),f=V(()=>i.value&&s.value),y=V(()=>i.value?cn(a.value):[]);function b(){o.value=!0}function P(){o.value=!1}function m(){o.value?P():b()}return{isOpen:o,sidebar:a,sidebarGroups:y,hasSidebar:i,hasAside:d,leftAside:_,isSidebarEnabled:f,open:b,close:P,toggle:m}}function un(e,t){let n;ae(()=>{n=e.value?document.activeElement:void 0}),X(()=>{window.addEventListener("keyup",s)}),Ie(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function dn(e){const{page:t}=M(),n=S(!1),s=V(()=>e.value.collapsed!=null),o=V(()=>!!e.value.link),a=V(()=>te(t.value.relativePath,e.value.link)),i=V(()=>a.value?!0:e.value.items?Le(t.value.relativePath,e.value.items):!1),_=V(()=>!!(e.value.items&&e.value.items.length));ae(()=>{n.value=!!(s.value&&e.value.collapsed)}),ae(()=>{(a.value||i.value)&&(n.value=!1)});function d(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:_,toggle:d}}const _n=$({__name:"VPSkipLink",setup(e){const t=ce(),n=S();ee(()=>t.path,()=>n.value.focus());function s({target:o}){const a=document.querySelector(decodeURIComponent(o.hash));if(a){const i=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",i)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",i),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(l(),r(T,null,[u("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const hn=g(_n,[["__scopeId","data-v-994b33bc"]]),vn={key:0,class:"VPBackdrop"},fn=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(l(),w(Ce,{name:"fade"},{default:v(()=>[e.show?(l(),r("div",vn)):k("",!0)]),_:1}))}});const pn=g(fn,[["__scopeId","data-v-b2600058"]]);function mn(){const e=S(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const a=ce();return ee(()=>a.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}function re({removeCurrent:e=!0,correspondingLink:t=!1}={}){const{site:n,localeIndex:s,page:o,theme:a}=M(),i=V(()=>{var d,f;return{label:(d=n.value.locales[s.value])==null?void 0:d.label,link:((f=n.value.locales[s.value])==null?void 0:f.link)||(s.value==="root"?"/":`/${s.value}/`)}});return{localeLinks:V(()=>Object.entries(n.value.locales).flatMap(([d,f])=>e&&i.value.label===f.label?[]:{text:f.label,link:gn(f.link||(d==="root"?"/":`/${d}/`),a.value.i18nRouting!==!1&&t,o.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)})),currentLang:i}}function gn(e,t,n,s){return t?e.replace(/\/$/,"")+Se(n.replace(/(^|\/)?index.md$/,"$1").replace(/\.md$/,s?".html":"")):e}const yn=["src","alt"],bn={inheritAttrs:!1},kn=$({...bn,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=K("VPImage",!0);return e.image?(l(),r(T,{key:0},[typeof e.image=="string"||"src"in e.image?(l(),r("img",de({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:c(ye)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,yn)):(l(),r(T,{key:1},[p(s,de({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),p(s,de({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):k("",!0)}}});const Be=g(kn,[["__scopeId","data-v-74766fef"]]),$n=["href"],Pn=$({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=M(),{hasSidebar:s}=W(),{currentLang:o}=re();return(a,i)=>(l(),r("div",{class:A(["VPNavBarTitle",{"has-sidebar":c(s)}])},[u("a",{class:"title",href:c(le)(c(o).link)},[h(a.$slots,"nav-bar-title-before",{},void 0,!0),c(n).logo?(l(),w(Be,{key:0,class:"logo",image:c(n).logo},null,8,["image"])):k("",!0),c(n).siteTitle?(l(),r(T,{key:1},[D(L(c(n).siteTitle),1)],64)):c(n).siteTitle===void 0?(l(),r(T,{key:2},[D(L(c(t).title),1)],64)):k("",!0),h(a.$slots,"nav-bar-title-after",{},void 0,!0)],8,$n)],2))}});const xn=g(Pn,[["__scopeId","data-v-bd15f18e"]]),wn="/document/assets/flex-logo.2489261b.svg";function Pe(e,t){return typeof e>"u"?t:e}function et(e){const t=Array(e);for(let n=0;n<e;n++)t[n]=j();return t}function Vn(e){return Object.keys(e)}function j(){return Object.create(null)}function Sn(e){return[].concat.apply([],e)}function Ln(e,t){return t.length-e.length}function Mn(e){return e.constructor===Array}function ve(e){return typeof e=="string"}function Me(e){return typeof e=="object"}function In(e){return typeof e=="function"}function Cn(e,t,n,s){if(e&&(t&&(e=xe(e,t)),this.matcher&&(e=xe(e,this.matcher)),this.stemmer&&1<e.length&&(e=xe(e,this.stemmer)),s&&1<e.length&&(e=An(e)),n||n==="")){const o=e.split(n);return this.filter?Bn(o,this.filter):o}return e}const Tn=/[\p{Z}\p{S}\p{P}\p{C}]+/u;function Nn(e){const t=j();for(let n=0,s=e.length;n<s;n++)t[e[n]]=1;return t}function tt(e,t){const n=Vn(e),s=n.length,o=[];let a="",i=0;for(let _,d,f=0;f<s;f++)_=n[f],d=e[_],d?(o[i++]=nt(t?"(?!\\b)"+_+"(\\b|_)":_),o[i++]=d):a+=(a?"|":"")+_;return a&&(o[i++]=nt(t?"(?!\\b)("+a+")(\\b|_)":"("+a+")"),o[i]=""),o}function xe(e,t){for(let n=0,s=t.length;n<s&&(e=e.replace(t[n],t[n+1]),!!e);n+=2);return e}function nt(e){return new RegExp(e,"g")}function An(e){let t="",n="";for(let s,o=0,a=e.length;o<a;o++)(s=e[o])!==n&&(t+=n=s);return t}function Bn(e,t){const n=e.length,s=[];for(let o=0,a=0;o<n;o++){const i=e[o];i&&!t[i]&&(s[a++]=i)}return s}function On(e){return Cn.call(this,(""+e).toLowerCase(),!1,Tn,!1)}const En={},Hn={};function zn(e){ne(e,"add"),ne(e,"append"),ne(e,"search"),ne(e,"update"),ne(e,"remove")}function ne(e,t){e[t+"Async"]=function(){const n=this,s=arguments,o=s[s.length-1];let a;In(o)&&(a=o,delete s[s.length-1]);const i=new Promise(function(_){setTimeout(function(){n.async=!0;const d=n[t].apply(n,s);n.async=!1,_(d)})});return a?(i.then(a),this):i}}function Dn(e,t,n,s){const o=e.length;let a,i,_=[],d=0;s&&(s=[]);for(let f=o-1;0<=f;f--){const y=e[f],b=y.length,P=j();let m=!a;for(let x=0;x<b;x++){const N=y[x],B=N.length;if(B)for(let E,C,I=0;I<B;I++)if(C=N[I],a){if(a[C]){if(!f){if(n)n--;else if(_[d++]=C,d===t)return _}(f||s)&&(P[C]=1),m=!0}if(s&&(i[C]=(E=i[C])?++E:E=1,E<o)){const O=s[E-2]||(s[E-2]=[]);O[O.length]=C}}else P[C]=1}if(s)a||(i=P);else if(!m)return[];a=P}if(s)for(let f,y,b=s.length-1;0<=b;b--){f=s[b],y=f.length;for(let P,m=0;m<y;m++)if(P=f[m],!a[P]){if(n)n--;else if(_[d++]=P,d===t)return _;a[P]=1}}return _}function he(e){this.limit=e!==!0&&e,this.cache=j(),this.queue=[]}function Fn(e,t,n){Me(e)&&(e=e.query);let s=this.cache.get(e);return s||(s=this.search(e,t,n),this.cache.set(e,s)),s}he.prototype.set=function(e,t){if(!this.cache[e]){let n=this.queue.length;n===this.limit?delete this.cache[this.queue[n-1]]:n++;for(let s=n-1;0<s;s--)this.queue[s]=this.queue[s-1];this.queue[0]=e}this.cache[e]=t},he.prototype.get=function(e){const t=this.cache[e];if(this.limit&&t){const n=this.queue.indexOf(e);if(n){const s=this.queue[n-1];this.queue[n-1]=this.queue[n],this.queue[n]=s}}return t},he.prototype.del=function(e){for(let t,n,s=0;s<this.queue.length;s++)n=this.queue[s],t=this.cache[n],t.indexOf(e)!==-1&&(this.queue.splice(s--,1),delete this.cache[n])};const jn={memory:{charset:"latin:extra",resolution:3,minlength:4,fastupdate:!1},performance:{resolution:3,minlength:3,optimize:!1,context:{depth:2,resolution:1}},match:{charset:"latin:extra",tokenize:"reverse"},score:{charset:"latin:advanced",resolution:20,minlength:3,context:{depth:3,resolution:9}},default:{}};function Gn(e){if(ve(e))e=jn[e];else{const t=e.preset;t&&(e=Object.assign({},t[t],e))}return e}function qn(e,t,n,s,o,a){setTimeout(function(){const i=e(n,JSON.stringify(a));i&&i.then?i.then(function(){t.export(e,t,n,s,o+1)}):t.export(e,t,n,s,o+1)})}function Rn(e,t,n,s,o){let a,i;switch(o||(o=0)){case 0:if(a="reg",this.fastupdate)for(let _ in i=j(),this.register)i[_]=1;else i=this.register;break;case 1:a="cfg",i={doc:0,opt:this.optimize?1:0};break;case 2:a="map",i=this.map;break;case 3:a="ctx",i=this.ctx;break;default:return}return qn(e,t||this,n?n+"."+a:a,s,o,i),!0}function Un(e,t){t&&(ve(t)&&(t=JSON.parse(t)),e==="cfg"?this.optimize=!!t.opt:e==="reg"?(this.fastupdate=!1,this.register=t):e==="map"?this.map=t:e==="ctx"&&(this.ctx=t))}function F(e,t){if(!(this instanceof F))return new F(e);let n,s,o;e?(e=Gn(e),n=e.charset,s=e.lang,ve(n)&&(n.indexOf(":")===-1&&(n+=":default"),n=Hn[n]),ve(s)&&(s=En[s])):e={};let a,i,_=e.context||{};this.encode=e.encode||n&&n.encode||On,this.register=t||j(),this.resolution=a=e.resolution||9,this.tokenize=o=n&&n.tokenize||e.tokenize||"strict",this.depth=o==="strict"&&_.depth,this.bidirectional=Pe(_.bidirectional,!0),this.optimize=i=Pe(e.optimize,!0),this.fastupdate=Pe(e.fastupdate,!0),this.minlength=e.minlength||1,this.boost=e.boost,this.map=i?et(a):j(),this.resolution_ctx=a=_.resolution||1,this.ctx=i?et(a):j(),this.rtl=n&&n.rtl||e.rtl,this.matcher=(o=e.matcher||s&&s.matcher)&&tt(o,!1),this.stemmer=(o=e.stemmer||s&&s.stemmer)&&tt(o,!0),this.filter=(o=e.filter||s&&s.filter)&&Nn(o),this.cache=(o=e.cache)&&new he(o)}F.prototype.append=function(e,t){return this.add(e,t,!0)},F.prototype.add=function(e,t,n,s){if(t&&(e||e===0)){if(!s&&!n&&this.register[e])return this.update(e,t);t=this.encode(t);const o=t.length;if(o){const a=j(),i=j(),_=this.depth,d=this.resolution;for(let f=0;f<o;f++){let y=t[this.rtl?o-1-f:f],b=y.length;if(y&&b>=this.minlength&&(_||!i[y])){let P=ue(d,o,f),m="";switch(this.tokenize){case"full":if(3<b){for(let x=0;x<b;x++)for(let N=b;N>x;N--)if(N-x>=this.minlength){const B=ue(d,o,f,b,x);m=y.substring(x,N),this.push_index(i,m,B,e,n)}break}case"reverse":if(2<b){for(let x=b-1;0<x;x--)if(m=y[x]+m,m.length>=this.minlength){const N=ue(d,o,f,b,x);this.push_index(i,m,N,e,n)}m=""}case"forward":if(1<b){for(let x=0;x<b;x++)m+=y[x],m.length>=this.minlength&&this.push_index(i,m,P,e,n);break}default:if(this.boost&&(P=Math.min(0|P/this.boost(t,y,f),d-1)),this.push_index(i,y,P,e,n),_&&1<o&&f<o-1){const x=j(),N=this.resolution_ctx,B=y,E=Math.min(_+1,o-f);x[B]=1;for(let C=1;C<E;C++)if(y=t[this.rtl?o-1-f-C:f+C],y&&y.length>=this.minlength&&!x[y]){x[y]=1;const I=ue(N+(o/2>N?0:1),o,f,E-1,C-1),O=this.bidirectional&&y>B;this.push_index(a,O?B:y,I,e,n,O?y:B)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function ue(e,t,n,s,o){return n&&1<e?t+(s||0)<=e?n+(o||0):0|(e-1)/(t+(s||0))*(n+(o||0))+1:0}F.prototype.push_index=function(e,t,n,s,o,a){let i=a?this.ctx:this.map;if((!e[t]||a&&!e[t][a])&&(this.optimize&&(i=i[n]),a?(e=e[t]||(e[t]=j()),e[a]=1,i=i[a]||(i[a]=j())):e[t]=1,i=i[t]||(i[t]=[]),this.optimize||(i=i[n]||(i[n]=[])),(!o||i.indexOf(s)===-1)&&(i[i.length]=s,this.fastupdate))){const _=this.register[s]||(this.register[s]=[]);_[_.length]=i}},F.prototype.search=function(e,t,n){n||(!t&&Me(e)?(n=e,e=n.query):Me(t)&&(n=t));let s,o,a,i=[],_=0;if(n&&(t=n.limit,_=n.offset||0,o=n.context,a=n.suggest),e&&(e=this.encode(e),s=e.length,1<s)){const b=j(),P=[];for(let m,x=0,N=0;x<s;x++)if(m=e[x],m&&m.length>=this.minlength&&!b[m]){if(!this.optimize&&!a&&!this.map[m])return i;P[N++]=m,b[m]=1}e=P,s=e.length}if(!s)return i;t||(t=100);let d,f=this.depth&&1<s&&o!==!1,y=0;f?(d=e[0],y=1):1<s&&e.sort(Ln);for(let b,P;y<s;y++){if(P=e[y],f?(b=this.add_result(i,a,t,_,s===2,P,d),(!a||b!==!1||!i.length)&&(d=P)):b=this.add_result(i,a,t,_,s===1,P),b)return b;if(a&&y==s-1){let m=i.length;if(!m){if(f){f=0,y=-1;continue}return i}if(m===1)return st(i[0],t,_)}}return Dn(i,t,_,a)},F.prototype.add_result=function(e,t,n,s,o,a,i){let _=[],d=i?this.ctx:this.map;if(this.optimize||(d=ot(d,a,i,this.bidirectional)),d){let f=0;const y=Math.min(d.length,i?this.resolution_ctx:this.resolution);for(let b,P,m=0,x=0;m<y&&(b=d[m],!(b&&(this.optimize&&(b=ot(b,a,i,this.bidirectional)),s&&b&&o&&(P=b.length,P<=s?(s-=P,b=null):(b=b.slice(s),s=0)),b&&(_[f++]=b,o&&(x+=b.length,x>=n)))));m++);if(f)return o?st(_,n,0):void(e[e.length]=_)}return!t&&_};function st(e,t,n){return e=e.length===1?e[0]:Sn(e),n||e.length>t?e.slice(n,n+t):e}function ot(e,t,n,s){if(n){const o=s&&t>n;e=e[o?t:n],e=e&&e[o?n:t]}else e=e[t];return e}F.prototype.contain=function(e){return!!this.register[e]},F.prototype.update=function(e,t){return this.remove(e).add(e,t)},F.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let s,o=0;o<n.length;o++)s=n[o],s.splice(s.indexOf(e),1);else fe(this.map,e,this.resolution,this.optimize),this.depth&&fe(this.ctx,e,this.resolution_ctx,this.optimize);t||delete this.register[e],this.cache&&this.cache.del(e)}return this};function fe(e,t,n,s,o){let a=0;if(Mn(e))if(o){const i=e.indexOf(t);i===-1?a++:1<e.length&&(e.splice(i,1),a++)}else{o=Math.min(e.length,n);for(let i,_=0;_<o;_++)i=e[_],i&&(a=fe(i,t,n,s,o),!s&&!a&&delete e[_])}else for(let i in e)a=fe(e[i],t,n,s,o),a||delete e[i];return a}F.prototype.searchCache=Fn,F.prototype.export=Rn,F.prototype.import=Un,zn(F.prototype);const Wn={class:"VPNavBarSearch"},Kn={class:"DocSearch-Form"},Qn=u("label",{class:"DocSearch-MagnifierLabel",for:"docsearch-input",id:"docsearch-label"},[u("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[u("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})])],-1),Yn=["placeholder"],Xn={class:"search-list"},Jn={class:"search-group"},Zn=["href"],es={class:"search-item"},ts={class:"search-item-icon"},ns={style:{width:"100%"}},ss=["innerHTML"],os=u("span",{class:"search-item-icon"},"↪",-1),as=u("img",{class:"flex-logo",src:wn,alt:"flex logo"},null,-1),is={type:"button",class:"DocSearch DocSearch-Button","aria-label":"Search"},ls={class:"DocSearch-Button-Container"},cs=u("svg",{width:"20",height:"20",class:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},[u("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),rs={class:"DocSearch-Button-Placeholder"},us={class:"DocSearch-Button-Keys"},ds=u("span",{class:"DocSearch-Button-Key"},"K",-1),_s=$({__name:"Search",setup(e){const t=lt(),n=t.localeIndex||t.localePath,s=S(),o=S(!1),a=S(),i=S(""),_=S(),d=S(),f=S(),y=S(),b=S(),P=S("Search"),m=S("Search docs"),x=V(()=>{if(a.value){for(var C=b.value.search(a.value,{enrich:!0}),I=[],O=0;O<C.length;O++){var H=C[O],G=f.value[H],q=G.t,xt=G.p,$e=G.l,wt=G.a;$e=$e.split(" ").join("-"),I.push({id:O,link:$e,title:q,preview:xt,anchor:wt})}return I}}),N=(C,I)=>!C||!C.length?[]:C.reduce((O,H)=>(O[I(H)]||(O[I(H)]=[]),O[I(H)].push(H),O),{}),B=()=>{setTimeout(()=>{_.value&&_.value.focus()},100),E(),o.value=!0};X(async()=>{var H,G;const C=await Ct(()=>import("./virtual_search-data.5a1b4eb0.js"),[]);d.value=C.default.INDEX_DATA,f.value=C.default.PREVIEW_LOOKUP,y.value=C.default.Options,i.value=window.location.origin+ye(n.value==="root"?"/":n.value),P.value=((H=y.value)==null?void 0:H.buttonLabel)||P.value,m.value=((G=y.value)==null?void 0:G.placeholder)||m.value;var I=new F(y.value);I.import("reg",d.value.reg),I.import("cfg",d.value.cfg),I.import("map",d.value.map),I.import("ctx",d.value.ctx),b.value=I,s.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const O=q=>{q.key==="k"&&(q.ctrlKey||q.metaKey)&&(q.preventDefault(),B())};window.addEventListener("keydown",O)});function E(){o.value=!1,a.value=""}return(C,I)=>{const O=K("ClientOnly");return l(),r("div",Wn,[p(O,null,{default:v(()=>[(l(),w(At,{to:"body"},[Ue(u("div",{class:"modal-back",onClick:I[2]||(I[2]=H=>o.value=!1)},[u("div",{class:"modal",onClick:I[1]||(I[1]=rt(()=>{},["stop"]))},[u("form",Kn,[Qn,Ue(u("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":I[0]||(I[0]=H=>a.value=H),placeholder:m.value,maxlength:"64",type:"search",ref_key:"input",ref:_},null,8,Yn),[[Nt,a.value]])]),u("div",Xn,[(l(!0),r(T,null,z(N(c(x),H=>H.link.split("/").slice(0,-1).join("-")),(H,G)=>(l(),r("div",{key:G},[u("span",Jn,L(G?G.toString()[0].toUpperCase()+G.toString().slice(1):"Home"),1),(l(!0),r(T,null,z(H,q=>(l(),r("a",{href:i.value+q.link,key:q.id,onClick:E},[u("div",es,[u("span",ts,L(q.link.includes("#")?"#":"▤"),1),u("div",ns,[u("h3",null,L(q.title),1),u("p",null,[u("div",{innerHTML:q.preview},null,8,ss)])]),os])],8,Zn))),128))]))),128))]),as])],512),[[Tt,o.value]])]))]),_:1}),u("div",{id:"docsearch",onClick:I[3]||(I[3]=H=>B())},[u("button",is,[u("span",ls,[cs,u("span",rs,L(P.value),1)]),u("span",us,[u("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:s},"Meta",512),ds])])])])}}});const hs={},vs={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},fs=u("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),ps=u("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),ms=[fs,ps];function gs(e,t){return l(),r("svg",vs,ms)}const ys=g(hs,[["render",gs]]),bs=$({__name:"VPLink",props:{tag:null,href:null,noIcon:{type:Boolean},target:null,rel:null},setup(e){const t=e,n=V(()=>t.tag??t.href?"a":"span"),s=V(()=>t.href&&ut.test(t.href));return(o,a)=>(l(),w(J(c(n)),{class:A(["VPLink",{link:e.href}]),href:e.href?c(le)(e.href):void 0,target:e.target||(c(s)?"_blank":void 0),rel:e.rel||(c(s)?"noreferrer":void 0)},{default:v(()=>[h(o.$slots,"default",{},void 0,!0),c(s)&&!e.noIcon?(l(),w(ys,{key:0,class:"icon"})):k("",!0)]),_:3},8,["class","href","target","rel"]))}});const Q=g(bs,[["__scopeId","data-v-87683ad2"]]),ks=$({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=M();return(n,s)=>(l(),w(Q,{class:A({VPNavBarMenuLink:!0,active:c(te)(c(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel,tabindex:"0"},{default:v(()=>[D(L(e.item.text),1)]),_:1},8,["class","href","target","rel"]))}});const $s=g(ks,[["__scopeId","data-v-6dd6d312"]]),Oe=S();let ft=!1,we=0;function Ps(e){const t=S(!1);if(Bt){!ft&&xs(),we++;const n=ee(Oe,s=>{var o,a,i;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(a=e.onFocus)==null||a.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});Ie(()=>{n(),we--,we||ws()})}return Ot(t)}function xs(){document.addEventListener("focusin",pt),ft=!0,Oe.value=document.activeElement}function ws(){document.removeEventListener("focusin",pt)}function pt(){Oe.value=document.activeElement}const Vs={},Ss={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ls=u("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Ms=[Ls];function Is(e,t){return l(),r("svg",Ss,Ms)}const mt=g(Vs,[["render",Is]]),Cs={},Ts={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ns=u("circle",{cx:"12",cy:"12",r:"2"},null,-1),As=u("circle",{cx:"19",cy:"12",r:"2"},null,-1),Bs=u("circle",{cx:"5",cy:"12",r:"2"},null,-1),Os=[Ns,As,Bs];function Es(e,t){return l(),r("svg",Ts,Os)}const Hs=g(Cs,[["render",Es]]),zs={class:"VPMenuLink"},Ds=$({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=M();return(n,s)=>(l(),r("div",zs,[p(Q,{class:A({active:c(te)(c(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel},{default:v(()=>[D(L(e.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const be=g(Ds,[["__scopeId","data-v-b9520bf2"]]),Fs={class:"VPMenuGroup"},js={key:0,class:"title"},Gs=$({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(l(),r("div",Fs,[e.text?(l(),r("p",js,L(e.text),1)):k("",!0),(l(!0),r(T,null,z(e.items,s=>(l(),r(T,null,["link"in s?(l(),w(be,{key:0,item:s},null,8,["item"])):k("",!0)],64))),256))]))}});const qs=g(Gs,[["__scopeId","data-v-2bec9359"]]),Rs={class:"VPMenu"},Us={key:0,class:"items"},Ws=$({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(l(),r("div",Rs,[e.items?(l(),r("div",Us,[(l(!0),r(T,null,z(e.items,s=>(l(),r(T,{key:s.text},["link"in s?(l(),w(be,{key:0,item:s},null,8,["item"])):(l(),w(qs,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):k("",!0),h(t.$slots,"default",{},void 0,!0)]))}});const Ks=g(Ws,[["__scopeId","data-v-7bffa9cd"]]),Qs=["aria-expanded","aria-label"],Ys={key:0,class:"text"},Xs={class:"menu"},Js=$({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=S(!1),n=S();Ps({el:n,onBlur:s});function s(){t.value=!1}return(o,a)=>(l(),r("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=i=>t.value=!0),onMouseleave:a[2]||(a[2]=i=>t.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:a[0]||(a[0]=i=>t.value=!t.value)},[e.button||e.icon?(l(),r("span",Ys,[e.icon?(l(),w(J(e.icon),{key:0,class:"option-icon"})):k("",!0),D(" "+L(e.button)+" ",1),p(mt,{class:"text-icon"})])):(l(),w(Hs,{key:1,class:"icon"}))],8,Qs),u("div",Xs,[p(Ks,{items:e.items},{default:v(()=>[h(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const Ee=g(Js,[["__scopeId","data-v-64c29883"]]),Zs=$({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=M();return(n,s)=>(l(),w(Ee,{class:A({VPNavBarMenuGroup:!0,active:c(te)(c(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),eo=e=>(R("data-v-c6c3e6d4"),e=e(),U(),e),to={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},no=eo(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),so=$({__name:"VPNavBarMenu",setup(e){const{theme:t}=M();return(n,s)=>c(t).nav?(l(),r("nav",to,[no,(l(!0),r(T,null,z(c(t).nav,o=>(l(),r(T,{key:o.text},["link"in o?(l(),w($s,{key:0,item:o},null,8,["item"])):(l(),w(Zs,{key:1,item:o},null,8,["item"]))],64))),128))])):k("",!0)}});const oo=g(so,[["__scopeId","data-v-c6c3e6d4"]]),ao={},io={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lo=u("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),co=u("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),ro=[lo,co];function uo(e,t){return l(),r("svg",io,ro)}const gt=g(ao,[["render",uo]]),_o={class:"items"},ho={class:"title"},vo=$({__name:"VPNavBarTranslations",setup(e){const{theme:t}=M(),{localeLinks:n,currentLang:s}=re({correspondingLink:!0});return(o,a)=>c(n).length&&c(s).label?(l(),w(Ee,{key:0,class:"VPNavBarTranslations",icon:gt,label:c(t).langMenuLabel||"Change language"},{default:v(()=>[u("div",_o,[u("p",ho,L(c(s).label),1),(l(!0),r(T,null,z(c(n),i=>(l(),w(be,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):k("",!0)}});const fo=g(vo,[["__scopeId","data-v-3bf1c934"]]);const po={},mo={class:"VPSwitch",type:"button",role:"switch"},go={class:"check"},yo={key:0,class:"icon"};function bo(e,t){return l(),r("button",mo,[u("span",go,[e.$slots.default?(l(),r("span",yo,[h(e.$slots,"default",{},void 0,!0)])):k("",!0)])])}const ko=g(po,[["render",bo],["__scopeId","data-v-0a2eba70"]]),$o={},Po={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},xo=Et('<path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"></path><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"></path><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"></path><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"></path><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"></path><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"></path><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"></path><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"></path><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"></path>',9),wo=[xo];function Vo(e,t){return l(),r("svg",Po,wo)}const So=g($o,[["render",Vo]]),Lo={},Mo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Io=u("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Co=[Io];function To(e,t){return l(),r("svg",Mo,Co)}const No=g(Lo,[["render",To]]),Ao={title:"toggle dark mode"},Bo=$({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=M(),s=S(!1),o=typeof localStorage<"u"?a():()=>{};X(()=>{s.value=document.documentElement.classList.contains("dark")});function a(){const i=window.matchMedia("(prefers-color-scheme: dark)"),_=document.documentElement.classList;let d=localStorage.getItem(We),f=t.value.appearance==="dark"&&d==null||(d==="auto"||d==null?i.matches:d==="dark");i.onchange=P=>{d==="auto"&&b(f=P.matches)};function y(){b(f=!f),d=f?i.matches?"auto":"dark":i.matches?"light":"auto",localStorage.setItem(We,d)}function b(P){const m=document.createElement("style");m.type="text/css",m.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
|
|
-webkit-transition: none !important;
|
|
-moz-transition: none !important;
|
|
-o-transition: none !important;
|
|
-ms-transition: none !important;
|
|
transition: none !important;
|
|
}`)),document.head.appendChild(m),s.value=P,_[P?"add":"remove"]("dark"),window.getComputedStyle(m).opacity,document.head.removeChild(m)}return y}return ee(s,i=>{n.value=i}),(i,_)=>(l(),r("label",Ao,[p(ko,{class:"VPSwitchAppearance","aria-checked":s.value,onClick:c(o)},{default:v(()=>[p(So,{class:"sun"}),p(No,{class:"moon"})]),_:1},8,["aria-checked","onClick"])]))}});const He=g(Bo,[["__scopeId","data-v-f37e294f"]]),Oo={key:0,class:"VPNavBarAppearance"},Eo=$({__name:"VPNavBarAppearance",setup(e){const{site:t}=M();return(n,s)=>c(t).appearance?(l(),r("div",Oo,[p(He)])):k("",!0)}});const Ho=g(Eo,[["__scopeId","data-v-88042fc7"]]),zo={discord:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>',facebook:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>',github:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>',instagram:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/></svg>',linkedin:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>LinkedIn</title><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>',mastodon:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Mastodon</title><path d="M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"/></svg>',slack:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Slack</title><path d="M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zM6.313 15.165a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zM8.834 6.313a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zM18.956 8.834a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zM17.688 8.834a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zM15.165 18.956a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zM15.165 17.688a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z"/></svg>',twitter:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Twitter</title><path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/></svg>',youtube:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>YouTube</title><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>'},Do=["href","aria-label","innerHTML"],Fo=$({__name:"VPSocialLink",props:{icon:null,link:null},setup(e){const t=e,n=V(()=>typeof t.icon=="object"?t.icon.svg:zo[t.icon]);return(s,o)=>(l(),r("a",{class:"VPSocialLink",href:e.link,"aria-label":typeof e.icon=="string"?e.icon:"",target:"_blank",rel:"noopener",innerHTML:c(n)},null,8,Do))}});const jo=g(Fo,[["__scopeId","data-v-ca994af5"]]),Go={class:"VPSocialLinks"},qo=$({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(l(),r("div",Go,[(l(!0),r(T,null,z(e.links,({link:s,icon:o})=>(l(),w(jo,{key:s,icon:o,link:s},null,8,["icon","link"]))),128))]))}});const ze=g(qo,[["__scopeId","data-v-de2bf516"]]),Ro=$({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=M();return(n,s)=>c(t).socialLinks?(l(),w(ze,{key:0,class:"VPNavBarSocialLinks",links:c(t).socialLinks},null,8,["links"])):k("",!0)}});const Uo=g(Ro,[["__scopeId","data-v-08b35e6f"]]),Wo={key:0,class:"group translations"},Ko={class:"trans-title"},Qo={key:1,class:"group"},Yo={class:"item appearance"},Xo={class:"label"},Jo={class:"appearance-action"},Zo={key:2,class:"group"},ea={class:"item social-links"},ta=$({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=M(),{localeLinks:s,currentLang:o}=re({correspondingLink:!0}),a=V(()=>s.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(i,_)=>c(a)?(l(),w(Ee,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[c(s).length&&c(o).label?(l(),r("div",Wo,[u("p",Ko,L(c(o).label),1),(l(!0),r(T,null,z(c(s),d=>(l(),w(be,{key:d.link,item:d},null,8,["item"]))),128))])):k("",!0),c(t).appearance?(l(),r("div",Qo,[u("div",Yo,[u("p",Xo,L(c(n).darkModeSwitchLabel||"Appearance"),1),u("div",Jo,[p(He)])])])):k("",!0),c(n).socialLinks?(l(),r("div",Zo,[u("div",ea,[p(ze,{class:"social-links-list",links:c(n).socialLinks},null,8,["links"])])])):k("",!0)]),_:1})):k("",!0)}});const na=g(ta,[["__scopeId","data-v-47bb42ad"]]),sa=e=>(R("data-v-670493dd"),e=e(),U(),e),oa=["aria-expanded"],aa=sa(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ia=[aa],la=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(l(),r("button",{type:"button",class:A(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>t.$emit("click"))},ia,10,oa))}});const ca=g(la,[["__scopeId","data-v-670493dd"]]),ra=e=>(R("data-v-ddff7d0b"),e=e(),U(),e),ua={class:"container"},da={class:"title"},_a={class:"content"},ha=ra(()=>u("div",{class:"curtain"},null,-1)),va={class:"content-body"},fa=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=an(),{hasSidebar:n}=W(),s=V(()=>({"has-sidebar":n.value,fill:t.value>0}));return(o,a)=>(l(),r("div",{class:A(["VPNavBar",c(s)])},[u("div",ua,[u("div",da,[p(xn,null,{"nav-bar-title-before":v(()=>[h(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",_a,[ha,u("div",va,[h(o.$slots,"nav-bar-content-before",{},void 0,!0),p(_s,{class:"search"}),p(oo,{class:"menu"}),p(fo,{class:"translations"}),p(Ho,{class:"appearance"}),p(Uo,{class:"social-links"}),p(na,{class:"extra"}),h(o.$slots,"nav-bar-content-after",{},void 0,!0),p(ca,{class:"hamburger",active:e.isScreenOpen,onClick:a[0]||(a[0]=i=>o.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const pa=g(fa,[["__scopeId","data-v-ddff7d0b"]]);function ma(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var De=!1;if(typeof window<"u"){var at={get passive(){De=!0}};window.addEventListener("testPassive",null,at),window.removeEventListener("testPassive",null,at)}var pe=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),Z=[],me=!1,Fe=-1,se=void 0,Y=void 0,oe=void 0,yt=function(t){return Z.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},ge=function(t){var n=t||window.event;return yt(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},ga=function(t){if(oe===void 0){var n=!!t&&t.reserveScrollBarGap===!0,s=window.innerWidth-document.documentElement.clientWidth;if(n&&s>0){var o=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);oe=document.body.style.paddingRight,document.body.style.paddingRight=o+s+"px"}}se===void 0&&(se=document.body.style.overflow,document.body.style.overflow="hidden")},ya=function(){oe!==void 0&&(document.body.style.paddingRight=oe,oe=void 0),se!==void 0&&(document.body.style.overflow=se,se=void 0)},ba=function(){return window.requestAnimationFrame(function(){if(Y===void 0){Y={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left};var t=window,n=t.scrollY,s=t.scrollX,o=t.innerHeight;document.body.style.position="fixed",document.body.style.top=-n,document.body.style.left=-s,setTimeout(function(){return window.requestAnimationFrame(function(){var a=o-window.innerHeight;a&&n>=o&&(document.body.style.top=-(n+a))})},300)}})},ka=function(){if(Y!==void 0){var t=-parseInt(document.body.style.top,10),n=-parseInt(document.body.style.left,10);document.body.style.position=Y.position,document.body.style.top=Y.top,document.body.style.left=Y.left,window.scrollTo(n,t),Y=void 0}},$a=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},Pa=function(t,n){var s=t.targetTouches[0].clientY-Fe;return yt(t.target)?!1:n&&n.scrollTop===0&&s>0||$a(n)&&s<0?ge(t):(t.stopPropagation(),!0)},bt=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!Z.some(function(o){return o.targetElement===t})){var s={targetElement:t,options:n||{}};Z=[].concat(ma(Z),[s]),pe?ba():ga(n),pe&&(t.ontouchstart=function(o){o.targetTouches.length===1&&(Fe=o.targetTouches[0].clientY)},t.ontouchmove=function(o){o.targetTouches.length===1&&Pa(o,t)},me||(document.addEventListener("touchmove",ge,De?{passive:!1}:void 0),me=!0))}},kt=function(){pe&&(Z.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),me&&(document.removeEventListener("touchmove",ge,De?{passive:!1}:void 0),me=!1),Fe=-1),pe?ka():ya(),Z=[]};const xa=$({__name:"VPNavScreenMenuLink",props:{text:null,link:null},setup(e){const t=Te("close-screen");return(n,s)=>(l(),w(Q,{class:"VPNavScreenMenuLink",href:e.link,onClick:c(t)},{default:v(()=>[D(L(e.text),1)]),_:1},8,["href","onClick"]))}});const wa=g(xa,[["__scopeId","data-v-0162d08e"]]),Va={},Sa={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},La=u("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),Ma=[La];function Ia(e,t){return l(),r("svg",Sa,Ma)}const Ca=g(Va,[["render",Ia]]),Ta=$({__name:"VPNavScreenMenuGroupLink",props:{text:null,link:null},setup(e){const t=Te("close-screen");return(n,s)=>(l(),w(Q,{class:"VPNavScreenMenuGroupLink",href:e.link,onClick:c(t)},{default:v(()=>[D(L(e.text),1)]),_:1},8,["href","onClick"]))}});const $t=g(Ta,[["__scopeId","data-v-7fd086c3"]]),Na={class:"VPNavScreenMenuGroupSection"},Aa={key:0,class:"title"},Ba=$({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(l(),r("div",Na,[e.text?(l(),r("p",Aa,L(e.text),1)):k("",!0),(l(!0),r(T,null,z(e.items,s=>(l(),w($t,{key:s.text,text:s.text,link:s.link},null,8,["text","link"]))),128))]))}});const Oa=g(Ba,[["__scopeId","data-v-eb049aaa"]]),Ea=["aria-controls","aria-expanded"],Ha={class:"button-text"},za=["id"],Da={key:1,class:"group"},Fa=$({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=S(!1),s=V(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,i)=>(l(),r("div",{class:A(["VPNavScreenMenuGroup",{open:n.value}])},[u("button",{class:"button","aria-controls":c(s),"aria-expanded":n.value,onClick:o},[u("span",Ha,L(e.text),1),p(Ca,{class:"button-icon"})],8,Ea),u("div",{id:c(s),class:"items"},[(l(!0),r(T,null,z(e.items,_=>(l(),r(T,{key:_.text},["link"in _?(l(),r("div",{key:_.text,class:"item"},[p($t,{text:_.text,link:_.link},null,8,["text","link"])])):(l(),r("div",Da,[p(Oa,{text:_.text,items:_.items},null,8,["text","items"])]))],64))),128))],8,za)],2))}});const ja=g(Fa,[["__scopeId","data-v-48a8b068"]]),Ga={key:0,class:"VPNavScreenMenu"},qa=$({__name:"VPNavScreenMenu",setup(e){const{theme:t}=M();return(n,s)=>c(t).nav?(l(),r("nav",Ga,[(l(!0),r(T,null,z(c(t).nav,o=>(l(),r(T,{key:o.text},["link"in o?(l(),w(wa,{key:0,text:o.text,link:o.link},null,8,["text","link"])):(l(),w(ja,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):k("",!0)}}),Ra={key:0,class:"VPNavScreenAppearance"},Ua={class:"text"},Wa=$({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=M();return(s,o)=>c(t).appearance?(l(),r("div",Ra,[u("p",Ua,L(c(n).darkModeSwitchLabel||"Appearance"),1),p(He)])):k("",!0)}});const Ka=g(Wa,[["__scopeId","data-v-8d2d8cf1"]]),Qa={class:"list"},Ya=$({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=re({correspondingLink:!0}),s=S(!1);function o(){s.value=!s.value}return(a,i)=>c(t).length&&c(n).label?(l(),r("div",{key:0,class:A(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[p(gt,{class:"icon lang"}),D(" "+L(c(n).label)+" ",1),p(mt,{class:"icon chevron"})]),u("ul",Qa,[(l(!0),r(T,null,z(c(t),_=>(l(),r("li",{key:_.link,class:"item"},[p(Q,{class:"link",href:_.link},{default:v(()=>[D(L(_.text),1)]),_:2},1032,["href"])]))),128))])],2)):k("",!0)}});const Xa=g(Ya,[["__scopeId","data-v-b72581fd"]]),Ja=$({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=M();return(n,s)=>c(t).socialLinks?(l(),w(ze,{key:0,class:"VPNavScreenSocialLinks",links:c(t).socialLinks},null,8,["links"])):k("",!0)}}),Za={class:"container"},ei=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=S(null);function n(){bt(t.value,{reserveScrollBarGap:!0})}function s(){kt()}return(o,a)=>(l(),w(Ce,{name:"fade",onEnter:n,onAfterLeave:s},{default:v(()=>[e.open?(l(),r("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t},[u("div",Za,[h(o.$slots,"nav-screen-content-before",{},void 0,!0),p(qa,{class:"menu"}),p(Xa,{class:"translations"}),p(Ka,{class:"appearance"}),p(Ja,{class:"social-links"}),h(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):k("",!0)]),_:3}))}});const ti=g(ei,[["__scopeId","data-v-ea8d6f65"]]),ni={class:"VPNav"},si=$({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:s}=mn();return _e("close-screen",n),(o,a)=>(l(),r("header",ni,[p(pa,{"is-screen-open":c(t),onToggleScreen:c(s)},{"nav-bar-title-before":v(()=>[h(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[h(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[h(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),p(ti,{open:c(t)},{"nav-screen-content-before":v(()=>[h(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[h(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])]))}});const oi=g(si,[["__scopeId","data-v-b1949460"]]),ai={},ii={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},li=u("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),ci=u("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),ri=u("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),ui=u("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),di=[li,ci,ri,ui];function _i(e,t){return l(),r("svg",ii,di)}const hi=g(ai,[["render",_i]]);function vi(){const{hasSidebar:e}=W(),t=Ve("(min-width: 960px)"),n=Ve("(min-width: 1280px)");return{isAsideEnabled:V(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const fi=71;function je(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Ge(e){const t=[...document.querySelectorAll(".VPDoc h2,h3,h4,h5,h6")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{title:pi(n),link:"#"+n.id,level:s}});return mi(t,e)}function pi(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor"))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function mi(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;e=e.filter(i=>i.level>=s&&i.level<=o);const a=[];e:for(let i=0;i<e.length;i++){const _=e[i];if(i===0)a.push(_);else{for(let d=i-1;d>=0;d--){const f=e[d];if(f.level<_.level){(f.children||(f.children=[])).push(_);continue e}}a.push(_)}}return a}function gi(e,t){const{isAsideEnabled:n}=vi(),s=ln(a,100);let o=null;X(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Ht(()=>{i(location.hash)}),Ie(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const _=[].slice.call(e.value.querySelectorAll(".outline-link")),d=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(m=>_.some(x=>x.hash===m.hash&&m.offsetParent!==null)),f=window.scrollY,y=window.innerHeight,b=document.body.offsetHeight,P=Math.abs(f+y-b)<1;if(d.length&&P){i(d[d.length-1].hash);return}for(let m=0;m<d.length;m++){const x=d[m],N=d[m+1],[B,E]=yi(m,x,N);if(B){i(E);return}}}function i(_){o&&o.classList.remove("active"),_!==null&&(o=e.value.querySelector(`a[href="${decodeURIComponent(_)}"]`));const d=o;d?(d.classList.add("active"),t.value.style.top=d.offsetTop+33+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function it(e){return e.parentElement.offsetTop-fi}function yi(e,t,n){const s=window.scrollY;return e===0&&s===0?[!0,null]:s<it(t)?[!1,null]:!n||s<it(n)?[!0,t.hash]:[!1,null]}const bi=["href"],ki=$({__name:"VPDocOutlineItem",props:{headers:null,root:{type:Boolean}},setup(e){function t({target:n}){const s="#"+n.href.split("#")[1],o=document.querySelector(decodeURIComponent(s));o==null||o.focus()}return(n,s)=>{const o=K("VPDocOutlineItem",!0);return l(),r("ul",{class:A(e.root?"root":"nested")},[(l(!0),r(T,null,z(e.headers,({children:a,link:i,title:_})=>(l(),r("li",null,[u("a",{class:"outline-link",href:i,onClick:t},L(_),9,bi),a!=null&&a.length?(l(),w(o,{key:0,headers:a},null,8,["headers"])):k("",!0)]))),256))],2)}}});const qe=g(ki,[["__scopeId","data-v-2889e185"]]),$i={},Pi={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},xi=u("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),wi=[xi];function Vi(e,t){return l(),r("svg",Pi,wi)}const Re=g($i,[["render",Vi]]),Si=$({__name:"VPLocalNavOutlineDropdown",setup(e){const{frontmatter:t,theme:n}=M(),s=S(!1),o=S(0),a=S();ie(()=>{s.value=!1});function i(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-64,0)}function _(y){y.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),ct(()=>{s.value=!1}))}function d(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}const f=Ne([]);return ie(()=>{f.value=Ge(t.value.outline??n.value.outline)}),(y,b)=>(l(),r("div",{class:"VPLocalNavOutlineDropdown",style:zt({"--vp-vh":o.value+"px"})},[c(f).length>0?(l(),r("button",{key:0,onClick:i,class:A({open:s.value})},[D(L(c(je)(c(n)))+" ",1),p(Re,{class:"icon"})],2)):(l(),r("button",{key:1,onClick:d},L(c(n).returnToTopLabel||"Return to top"),1)),p(Ce,{name:"flyout"},{default:v(()=>[s.value?(l(),r("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:_},[u("a",{class:"top-link",href:"#",onClick:d},L(c(n).returnToTopLabel||"Return to top"),1),p(qe,{headers:c(f)},null,8,["headers"])],512)):k("",!0)]),_:1})],4))}});const Li=g(Si,[["__scopeId","data-v-07aca99e"]]),Mi={key:0,class:"VPLocalNav"},Ii=["aria-expanded"],Ci={class:"menu-text"},Ti=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=M(),{hasSidebar:n}=W();return(s,o)=>c(n)?(l(),r("div",Mi,[u("button",{class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:o[0]||(o[0]=a=>s.$emit("open-menu"))},[p(hi,{class:"menu-icon"}),u("span",Ci,L(c(t).sidebarMenuLabel||"Menu"),1)],8,Ii),p(Li)])):k("",!0)}});const Ni=g(Ti,[["__scopeId","data-v-018d8a44"]]),Ai=e=>(R("data-v-77d7a963"),e=e(),U(),e),Bi=["role","tabindex"],Oi=Ai(()=>u("div",{class:"indicator"},null,-1)),Ei=["onKeydown"],Hi={key:1,class:"items"},zi=$({__name:"VPSidebarItem",props:{item:null,depth:null},setup(e){const t=e,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:_,toggle:d}=dn(V(()=>t.item)),f=V(()=>_.value?"section":"div"),y=V(()=>o.value?"a":"div"),b=V(()=>_.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),P=V(()=>o.value?void 0:"button"),m=V(()=>[[`level-${t.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function x(B){"key"in B&&B.key!=="Enter"||!t.item.link&&d()}function N(){t.item.link&&d()}return(B,E)=>{const C=K("VPSidebarItem",!0);return l(),w(J(c(f)),{class:A(["VPSidebarItem",c(m)])},{default:v(()=>[e.item.text?(l(),r("div",de({key:0,class:"item",role:c(P)},Ft(e.item.items?{click:x,keydown:x}:{},!0),{tabindex:e.item.items&&0}),[Oi,e.item.link?(l(),w(Q,{key:0,tag:c(y),class:"link",href:e.item.link},{default:v(()=>[(l(),w(J(c(b)),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href"])):(l(),w(J(c(b)),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null?(l(),r("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:N,onKeydown:Dt(N,["enter"]),tabindex:"0"},[p(Re,{class:"caret-icon"})],40,Ei)):k("",!0)],16,Bi)):k("",!0),e.item.items&&e.item.items.length?(l(),r("div",Hi,[e.depth<5?(l(!0),r(T,{key:0},z(e.item.items,I=>(l(),w(C,{key:I.text,item:I,depth:e.depth+1},null,8,["item","depth"]))),128)):k("",!0)])):k("",!0)]),_:1},8,["class"])}}});const Di=g(zi,[["__scopeId","data-v-77d7a963"]]),Pt=e=>(R("data-v-0bf46da5"),e=e(),U(),e),Fi=Pt(()=>u("div",{class:"curtain"},null,-1)),ji={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Gi=Pt(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),qi=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:s}=W();let o=S(null);function a(){bt(o.value,{reserveScrollBarGap:!0})}function i(){kt()}return jt(async()=>{var _;t.open?(a(),(_=o.value)==null||_.focus()):i()}),(_,d)=>c(s)?(l(),r("aside",{key:0,class:A(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=rt(()=>{},["stop"]))},[Fi,u("nav",ji,[Gi,h(_.$slots,"sidebar-nav-before",{},void 0,!0),(l(!0),r(T,null,z(c(n),f=>(l(),r("div",{key:f.text,class:"group"},[p(Di,{item:f,depth:0},null,8,["item"])]))),128)),h(_.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):k("",!0)}});const Ri=g(qi,[["__scopeId","data-v-0bf46da5"]]),Ui={},Wi={class:"VPPage"};function Ki(e,t){const n=K("Content");return l(),r("div",Wi,[h(e.$slots,"page-top"),p(n),h(e.$slots,"page-bottom")])}const Qi=g(Ui,[["render",Ki]]),Yi=$({__name:"VPButton",props:{tag:null,size:null,theme:null,text:null,href:null},setup(e){const t=e,n=V(()=>[t.size??"medium",t.theme??"brand"]),s=V(()=>t.href&&ut.test(t.href)),o=V(()=>t.tag?t.tag:t.href?"a":"button");return(a,i)=>(l(),w(J(c(o)),{class:A(["VPButton",c(n)]),href:e.href?c(le)(e.href):void 0,target:c(s)?"_blank":void 0,rel:c(s)?"noreferrer":void 0},{default:v(()=>[D(L(e.text),1)]),_:1},8,["class","href","target","rel"]))}});const Xi=g(Yi,[["__scopeId","data-v-a4b757f0"]]),Ji=e=>(R("data-v-3b95c4f3"),e=e(),U(),e),Zi={class:"container"},el={class:"main"},tl={key:0,class:"name"},nl={class:"clip"},sl={key:1,class:"text"},ol={key:2,class:"tagline"},al={key:0,class:"actions"},il={key:0,class:"image"},ll={class:"image-container"},cl=Ji(()=>u("div",{class:"image-bg"},null,-1)),rl=$({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=Te("hero-image-slot-exists");return(n,s)=>(l(),r("div",{class:A(["VPHero",{"has-image":e.image||c(t)}])},[u("div",Zi,[u("div",el,[h(n.$slots,"home-hero-info",{},()=>[e.name?(l(),r("h1",tl,[u("span",nl,L(e.name),1)])):k("",!0),e.text?(l(),r("p",sl,L(e.text),1)):k("",!0),e.tagline?(l(),r("p",ol,L(e.tagline),1)):k("",!0)],!0),e.actions?(l(),r("div",al,[(l(!0),r(T,null,z(e.actions,o=>(l(),r("div",{key:o.link,class:"action"},[p(Xi,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):k("",!0)]),e.image||c(t)?(l(),r("div",il,[u("div",ll,[cl,h(n.$slots,"home-hero-image",{},()=>[e.image?(l(),w(Be,{key:0,class:"image-src",image:e.image},null,8,["image"])):k("",!0)],!0)])])):k("",!0)])],2))}});const ul=g(rl,[["__scopeId","data-v-3b95c4f3"]]),dl=$({__name:"VPHomeHero",setup(e){const{frontmatter:t}=M();return(n,s)=>c(t).hero?(l(),w(ul,{key:0,class:"VPHomeHero",name:c(t).hero.name,text:c(t).hero.text,tagline:c(t).hero.tagline,image:c(t).hero.image,actions:c(t).hero.actions},{"home-hero-info":v(()=>[h(n.$slots,"home-hero-info")]),"home-hero-image":v(()=>[h(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):k("",!0)}}),_l={},hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},vl=u("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),fl=[vl];function pl(e,t){return l(),r("svg",hl,fl)}const ml=g(_l,[["render",pl]]),gl={class:"box"},yl=["innerHTML"],bl=["innerHTML"],kl=["innerHTML"],$l={key:3,class:"link-text"},Pl={class:"link-text-value"},xl=$({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null},setup(e){return(t,n)=>(l(),w(Q,{class:"VPFeature",href:e.link,"no-icon":!0},{default:v(()=>[u("article",gl,[typeof e.icon=="object"?(l(),w(Be,{key:0,image:e.icon,alt:e.icon.alt,height:e.icon.height,width:e.icon.width},null,8,["image","alt","height","width"])):e.icon?(l(),r("div",{key:1,class:"icon",innerHTML:e.icon},null,8,yl)):k("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,bl),e.details?(l(),r("p",{key:2,class:"details",innerHTML:e.details},null,8,kl)):k("",!0),e.linkText?(l(),r("div",$l,[u("p",Pl,[D(L(e.linkText)+" ",1),p(ml,{class:"link-text-icon"})])])):k("",!0)])]),_:1},8,["href"]))}});const wl=g(xl,[["__scopeId","data-v-fdb307a3"]]),Vl={key:0,class:"VPFeatures"},Sl={class:"container"},Ll={class:"items"},Ml=$({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=V(()=>{const s=t.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s%2===0)return"grid-4"}else return});return(s,o)=>e.features?(l(),r("div",Vl,[u("div",Sl,[u("div",Ll,[(l(!0),r(T,null,z(e.features,a=>(l(),r("div",{key:a.title,class:A(["item",[c(n)]])},[p(wl,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText},null,8,["icon","title","details","link","link-text"])],2))),128))])])])):k("",!0)}});const Il=g(Ml,[["__scopeId","data-v-5e2470ab"]]),Cl=$({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=M();return(n,s)=>c(t).features?(l(),w(Il,{key:0,class:"VPHomeFeatures",features:c(t).features},null,8,["features"])):k("",!0)}}),Tl={class:"VPHome"},Nl=$({__name:"VPHome",setup(e){return(t,n)=>{const s=K("Content");return l(),r("div",Tl,[h(t.$slots,"home-hero-before",{},void 0,!0),p(dl,null,{"home-hero-info":v(()=>[h(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[h(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),h(t.$slots,"home-hero-after",{},void 0,!0),h(t.$slots,"home-features-before",{},void 0,!0),p(Cl),h(t.$slots,"home-features-after",{},void 0,!0),p(s)])}}});const Al=g(Nl,[["__scopeId","data-v-8ebac4ee"]]),Bl=e=>(R("data-v-c3ff47cc"),e=e(),U(),e),Ol={class:"content"},El={class:"outline-title"},Hl={"aria-labelledby":"doc-outline-aria-label"},zl=Bl(()=>u("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Dl=$({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=M(),s=Ne([]);ie(()=>{s.value=Ge(t.value.outline??n.value.outline)});const o=S(),a=S();return gi(o,a),(i,_)=>(l(),r("div",{class:A(["VPDocAsideOutline",{"has-outline":c(s).length>0}]),ref_key:"container",ref:o},[u("div",Ol,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",El,L(c(je)(c(n))),1),u("nav",Hl,[zl,p(qe,{headers:c(s),root:!0},null,8,["headers"])])])],2))}});const Fl=g(Dl,[["__scopeId","data-v-c3ff47cc"]]),jl={class:"VPDocAsideCarbonAds"},Gl=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:null},setup(e){const t=()=>null;return(n,s)=>(l(),r("div",jl,[p(c(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),ql=e=>(R("data-v-79cae1a0"),e=e(),U(),e),Rl={class:"VPDocAside"},Ul=ql(()=>u("div",{class:"spacer"},null,-1)),Wl=$({__name:"VPDocAside",setup(e){const{theme:t}=M();return(n,s)=>(l(),r("div",Rl,[h(n.$slots,"aside-top",{},void 0,!0),h(n.$slots,"aside-outline-before",{},void 0,!0),p(Fl),h(n.$slots,"aside-outline-after",{},void 0,!0),Ul,h(n.$slots,"aside-ads-before",{},void 0,!0),c(t).carbonAds?(l(),w(Gl,{key:0,"carbon-ads":c(t).carbonAds},null,8,["carbon-ads"])):k("",!0),h(n.$slots,"aside-ads-after",{},void 0,!0),h(n.$slots,"aside-bottom",{},void 0,!0)]))}});const Kl=g(Wl,[["__scopeId","data-v-79cae1a0"]]);function Ql(){const{theme:e,page:t}=M();return V(()=>{const{text:n="Edit this page",pattern:s=""}=e.value.editLink||{},{relativePath:o}=t.value;let a;return typeof s=="function"?a=s({relativePath:o}):a=s.replace(/:path/g,o),{url:a,text:n}})}function Yl(){const{page:e,theme:t,frontmatter:n}=M();return V(()=>{var i,_,d,f;const s=vt(t.value.sidebar,e.value.relativePath),o=rn(s),a=o.findIndex(y=>te(e.value.relativePath,y.link));return{prev:n.value.prev===!1?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((i=o[a-1])==null?void 0:i.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((_=o[a-1])==null?void 0:_.link)},next:n.value.next===!1?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((d=o[a+1])==null?void 0:d.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((f=o[a+1])==null?void 0:f.link)}}})}const Xl={},Jl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Zl=u("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),ec=u("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),tc=[Zl,ec];function nc(e,t){return l(),r("svg",Jl,tc)}const sc=g(Xl,[["render",nc]]),oc={class:"VPLastUpdated"},ac=["datetime"],ic=$({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:s}=M(),o=V(()=>new Date(n.value.lastUpdated)),a=V(()=>o.value.toISOString()),i=S("");return X(()=>{ae(()=>{i.value=o.value.toLocaleString(s.value)})}),(_,d)=>(l(),r("p",oc,[D(L(c(t).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:c(a)},L(i.value),9,ac)]))}});const lc=g(ic,[["__scopeId","data-v-f00606ba"]]),cc={key:0,class:"VPDocFooter"},rc={key:0,class:"edit-info"},uc={key:0,class:"edit-link"},dc={key:1,class:"last-updated"},_c={key:1,class:"prev-next"},hc={class:"pager"},vc=["href"],fc=["innerHTML"],pc=["innerHTML"],mc=["href"],gc=["innerHTML"],yc=["innerHTML"],bc=$({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:s}=M(),o=Ql(),a=Yl(),i=V(()=>t.value.editLink&&s.value.editLink!==!1),_=V(()=>n.value.lastUpdated&&s.value.lastUpdated!==!1),d=V(()=>i.value||_.value||a.value.prev||a.value.next);return(f,y)=>{var b,P,m,x,N,B,E;return c(d)?(l(),r("footer",cc,[h(f.$slots,"doc-footer-before",{},void 0,!0),c(i)||c(_)?(l(),r("div",rc,[c(i)?(l(),r("div",uc,[p(Q,{class:"edit-link-button",href:c(o).url,"no-icon":!0},{default:v(()=>[p(sc,{class:"edit-link-icon","aria-label":"edit icon"}),D(" "+L(c(o).text),1)]),_:1},8,["href"])])):k("",!0),c(_)?(l(),r("div",dc,[p(lc)])):k("",!0)])):k("",!0),(b=c(a).prev)!=null&&b.link||(P=c(a).next)!=null&&P.link?(l(),r("div",_c,[u("div",hc,[(m=c(a).prev)!=null&&m.link?(l(),r("a",{key:0,class:"pager-link prev",href:c(le)(c(a).prev.link)},[u("span",{class:"desc",innerHTML:((x=c(t).docFooter)==null?void 0:x.prev)||"Previous page"},null,8,fc),u("span",{class:"title",innerHTML:c(a).prev.text},null,8,pc)],8,vc)):k("",!0)]),u("div",{class:A(["pager",{"has-prev":(N=c(a).prev)==null?void 0:N.link}])},[(B=c(a).next)!=null&&B.link?(l(),r("a",{key:0,class:"pager-link next",href:c(le)(c(a).next.link)},[u("span",{class:"desc",innerHTML:((E=c(t).docFooter)==null?void 0:E.next)||"Next page"},null,8,gc),u("span",{class:"title",innerHTML:c(a).next.text},null,8,yc)],8,mc)):k("",!0)],2)])):k("",!0)])):k("",!0)}}});const kc=g(bc,[["__scopeId","data-v-31cb5067"]]),$c={key:0,class:"VPDocOutlineDropdown"},Pc={key:0,class:"items"},xc=$({__name:"VPDocOutlineDropdown",setup(e){const{frontmatter:t,theme:n}=M(),s=S(!1);ie(()=>{s.value=!1});const o=Ne([]);return ie(()=>{o.value=Ge(t.value.outline??n.value.outline)}),(a,i)=>c(o).length>0?(l(),r("div",$c,[u("button",{onClick:i[0]||(i[0]=_=>s.value=!s.value),class:A({open:s.value})},[D(L(c(je)(c(n)))+" ",1),p(Re,{class:"icon"})],2),s.value?(l(),r("div",Pc,[p(qe,{headers:c(o)},null,8,["headers"])])):k("",!0)])):k("",!0)}});const wc=g(xc,[["__scopeId","data-v-f751778e"]]),Vc=e=>(R("data-v-5aafa2ac"),e=e(),U(),e),Sc={class:"container"},Lc=Vc(()=>u("div",{class:"aside-curtain"},null,-1)),Mc={class:"aside-container"},Ic={class:"aside-content"},Cc={class:"content"},Tc={class:"content-container"},Nc={class:"main"},Ac=$({__name:"VPDoc",setup(e){const t=ce(),{hasSidebar:n,hasAside:s,leftAside:o}=W(),a=V(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(i,_)=>{const d=K("Content");return l(),r("div",{class:A(["VPDoc",{"has-sidebar":c(n),"has-aside":c(s)}])},[h(i.$slots,"doc-top",{},void 0,!0),u("div",Sc,[c(s)?(l(),r("div",{key:0,class:A(["aside",{"left-aside":c(o)}])},[Lc,u("div",Mc,[u("div",Ic,[p(Kl,null,{"aside-top":v(()=>[h(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[h(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[h(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):k("",!0),u("div",Cc,[u("div",Tc,[h(i.$slots,"doc-before",{},void 0,!0),p(wc),u("main",Nc,[p(d,{class:A(["vp-doc",c(a)])},null,8,["class"])]),p(kc,null,{"doc-footer-before":v(()=>[h(i.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),h(i.$slots,"doc-after",{},void 0,!0)])])]),h(i.$slots,"doc-bottom",{},void 0,!0)],2)}}});const Bc=g(Ac,[["__scopeId","data-v-5aafa2ac"]]),ke=e=>(R("data-v-42c0c3ae"),e=e(),U(),e),Oc={class:"NotFound"},Ec=ke(()=>u("p",{class:"code"},"404",-1)),Hc=ke(()=>u("h1",{class:"title"},"PAGE NOT FOUND",-1)),zc=ke(()=>u("div",{class:"divider"},null,-1)),Dc=ke(()=>u("blockquote",{class:"quote"}," But if you don't change your direction, and if you keep looking, you may end up where you are heading. ",-1)),Fc={class:"action"},jc=["href"],Gc=$({__name:"NotFound",setup(e){const{site:t}=M(),{localeLinks:n}=re({removeCurrent:!1}),s=S("/");return X(()=>{var a;const o=window.location.pathname.replace(t.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(s.value=((a=n.value.find(({link:i})=>i.startsWith(o)))==null?void 0:a.link)||n.value[0].link)}),(o,a)=>(l(),r("div",Oc,[Ec,Hc,zc,Dc,u("div",Fc,[u("a",{class:"link",href:c(ye)(s.value),"aria-label":"go to home"}," Take me home ",8,jc)])]))}});const qc=g(Gc,[["__scopeId","data-v-42c0c3ae"]]),Rc=$({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=M(),{hasSidebar:s}=W();return(o,a)=>(l(),r("div",{class:A(["VPContent",{"has-sidebar":c(s),"is-home":c(n).layout==="home"}]),id:"VPContent"},[c(t).isNotFound?h(o.$slots,"not-found",{key:0},()=>[p(qc)],!0):c(n).layout==="page"?(l(),w(Qi,{key:1},{"page-top":v(()=>[h(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[h(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):c(n).layout==="home"?(l(),w(Al,{key:2},{"home-hero-before":v(()=>[h(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[h(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[h(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[h(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[h(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[h(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):(l(),w(Bc,{key:3},{"doc-top":v(()=>[h(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[h(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[h(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[h(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[h(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[h(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[h(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[h(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Uc=g(Rc,[["__scopeId","data-v-7f38fbbe"]]),Wc={class:"container"},Kc=["innerHTML"],Qc=["innerHTML"],Yc=$({__name:"VPFooter",setup(e){const{theme:t}=M(),{hasSidebar:n}=W();return(s,o)=>c(t).footer?(l(),r("footer",{key:0,class:A(["VPFooter",{"has-sidebar":c(n)}])},[u("div",Wc,[c(t).footer.message?(l(),r("p",{key:0,class:"message",innerHTML:c(t).footer.message},null,8,Kc)):k("",!0),c(t).footer.copyright?(l(),r("p",{key:1,class:"copyright",innerHTML:c(t).footer.copyright},null,8,Qc)):k("",!0)])],2)):k("",!0)}});const Xc=g(Yc,[["__scopeId","data-v-2425ede7"]]),Jc={key:0,class:"Layout"},Zc=$({__name:"Layout",setup(e){const{isOpen:t,open:n,close:s}=W(),o=ce();ee(()=>o.path,s),un(t,s),_e("close-sidebar",s),_e("is-sidebar-open",t);const{frontmatter:a}=M(),i=Gt(),_=V(()=>!!i["home-hero-image"]);return _e("hero-image-slot-exists",_),(d,f)=>{const y=K("Content");return c(a).layout!==!1?(l(),r("div",Jc,[h(d.$slots,"layout-top",{},void 0,!0),p(hn),p(pn,{class:"backdrop",show:c(t),onClick:c(s)},null,8,["show","onClick"]),p(oi,null,{"nav-bar-title-before":v(()=>[h(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[h(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[h(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[h(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[h(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[h(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),p(Ni,{open:c(t),onOpenMenu:c(n)},null,8,["open","onOpenMenu"]),p(Ri,{open:c(t)},{"sidebar-nav-before":v(()=>[h(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[h(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),p(Uc,null,{"page-top":v(()=>[h(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[h(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[h(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[h(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[h(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[h(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[h(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[h(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[h(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[h(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[h(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[h(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[h(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[h(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[h(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[h(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[h(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[h(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[h(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[h(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),p(Xc),h(d.$slots,"layout-bottom",{},void 0,!0)])):(l(),w(y,{key:1}))}}});const er=g(Zc,[["__scopeId","data-v-bd8710d4"]]);const nr={Layout:er,enhanceApp:({app:e})=>{e.component("Badge",Rt)}};export{nr as t};
|