1
0
forked from bot/app
LiteyukiBot/assets/chunks/theme.BleEYWi4.js

12 lines
73 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.DWIkN3b9.js","assets/chunks/framework.C4_mTacX.js"])))=>i.map(i=>d[i]);
import{d as m,o as r,c as f,r as p,n as F,a as W,t as C,b as $,w as v,e as b,T as Ne,_ as S,u as Ae,i as It,f as Ct,g as Me,h as T,j as u,k as c,p as j,l as x,m as oe,q as Le,s as I,v as J,x as _e,y as te,z as le,A as Ee,B as Nt,C as At,D as se,F as D,E as U,G as Je,H as me,I as L,J as K,K as Ye,L as ge,M as ee,N as ce,O as Mt,P as be,Q as we,R as Et,S as Xe,U as ye,V as Bt,W as Ot,X as Ht,Y as Qe,Z as Ze,$ as Dt,a0 as Ft,a1 as jt,a2 as xt,a3 as Rt,a4 as Ut,a5 as zt,a6 as et,a7 as tt,a8 as Ve}from"./framework.C4_mTacX.js";const Gt=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(t){return(e,n)=>(r(),f("span",{class:F(["VPBadge",e.type])},[p(e.$slots,"default",{},()=>[W(C(e.text),1)])],2))}}),Kt={key:0,class:"VPBackdrop"},qt=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,n)=>(r(),$(Ne,{name:"fade"},{default:v(()=>[e.show?(r(),f("div",Kt)):b("",!0)]),_:1}))}}),Wt=S(qt,[["__scopeId","data-v-2cfdfdcf"]]),O=Ae;function Jt(t,e){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(t,e):(t(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Te(t){return/^\//.test(t)?t:`/${t}`}function Be(t){const{pathname:e,search:n,hash:s,protocol:o}=new URL(t,"http://a.com");if(It(t)||t.startsWith("#")||!o.startsWith("http")||!Ct(e))return t;const{site:a}=O(),i=e.endsWith("/")||e.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${n}${s}`);return Me(i)}function ue({correspondingLink:t=!1}={}){const{site:e,localeIndex:n,page:s,theme:o,hash:a}=O(),i=T(()=>{var d,h;return{label:(d=e.value.locales[n.value])==null?void 0:d.label,link:((h=e.value.locales[n.value])==null?void 0:h.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:T(()=>Object.entries(e.value.locales).flatMap(([d,h])=>i.value.label===h.label?[]:{text:h.label,link:Yt(h.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&t,s.value.relativePath.slice(i.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:i}}function Yt(t,e,n,s){return e?t.replace(/\/$/,"")+Te(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const Xt=t=>(j("data-v-868b40d9"),t=t(),x(),t),Qt={class:"NotFound"},Zt={class:"code"},en={class:"title"},tn=Xt(()=>u("div",{class:"divider"},null,-1)),nn={class:"quote"},on={class:"action"},sn=["href","aria-label"],an=m({__name:"NotFound",setup(t){const{theme:e}=O(),{currentLang:n}=ue();return(s,o)=>{var a,i,l,d,h;return r(),f("div",Qt,[u("p",Zt,C(((a=c(e).notFound)==null?void 0:a.code)??"404"),1),u("h1",en,C(((i=c(e).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),tn,u("blockquote",nn,C(((l=c(e).notFound)==null?void 0:l.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),u("div",on,[u("a",{class:"link",href:c(Me)(c(n).link),"aria-label":((d=c(e).notFound)==null?void 0:d.linkLabel)??"go to home"},C(((h=c(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,sn)])])}}}),rn=S(an,[["__scopeId","data-v-868b40d9"]]);function nt(t,e){if(Array.isArray(t))return pe(t);if(t==null)return[];e=Te(e);const n=Object.keys(t).sort((o,a)=>a.split("/").length-o.split("/").length).find(o=>e.startsWith(Te(o))),s=n?t[n]:[];return Array.isArray(s)?pe(s):pe(s.items,s.base)}function ln(t){const e=[];let n=0;for(const s in t){const o=t[s];if(o.items){n=e.push(o);continue}e[n]||e.push({items:[]}),e[n].items.push(o)}return e}function cn(t){const e=[];function n(s){for(const o of s)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(t),e}function Ie(t,e){return Array.isArray(e)?e.some(n=>Ie(t,n)):oe(t,e.link)?!0:e.items?Ie(t,e.items):!1}function pe(t,e){return[...t].map(n=>{const s={...n},o=s.base||e;return o&&s.link&&(s.link=o+s.link),s.items&&(s.items=pe(s.items,o)),s})}function Y(){const{frontmatter:t,page:e,theme:n}=O(),s=Le("(min-width: 960px)"),o=I(!1),a=T(()=>{const M=n.value.sidebar,k=e.value.relativePath;return M?nt(M,k):[]}),i=I(a.value);J(a,(M,k)=>{JSON.stringify(M)!==JSON.stringify(k)&&(i.value=a.value)});const l=T(()=>t.value.sidebar!==!1&&i.value.length>0&&t.value.layout!=="home"),d=T(()=>h?t.value.aside==null?n.value.aside==="left":t.value.aside==="left":!1),h=T(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:n.value.aside!==!1),g=T(()=>l.value&&s.value),_=T(()=>l.value?ln(i.value):[]);function y(){o.value=!0}function N(){o.value=!1}function V(){o.value?N():y()}return{isOpen:o,sidebar:i,sidebarGroups:_,hasSidebar:l,hasAside:h,leftAside:d,isSidebarEnabled:g,open:y,close:N,toggle:V}}function un(t,e){let n;_e(()=>{n=t.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",s)}),le(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&t.value&&(e(),n==null||n.focus())}}function dn(t){const{page:e,hash:n}=O(),s=I(!1),o=T(()=>t.value.collapsed!=null),a=T(()=>!!t.value.link),i=I(!1),l=()=>{i.value=oe(e.value.relativePath,t.value.link)};J([e,t,n],l),te(l);const d=T(()=>i.value?!0:t.value.items?Ie(e.value.relativePath,t.value.items):!1),h=T(()=>!!(t.value.items&&t.value.items.length));_e(()=>{s.value=!!(o.value&&t.value.collapsed)}),Ee(()=>{(i.value||d.value)&&(s.value=!1)});function g(){o.value&&(s.value=!s.value)}return{collapsed:s,collapsible:o,isLink:a,isActiveLink:i,hasActiveLink:d,hasChildren:h,toggle:g}}function fn(){const{hasSidebar:t}=Y(),e=Le("(min-width: 960px)"),n=Le("(min-width: 1280px)");return{isAsideEnabled:T(()=>!n.value&&!e.value?!1:t.value?n.value:e.value)}}const Ce=[];function ot(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function Oe(t){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const s=Number(n.tagName[1]);return{element:n,title:pn(n),link:"#"+n.id,level:s}});return vn(e,t)}function pn(t){let e="";for(const n of t.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor")||n.classList.contains("ignore-header"))continue;e+=n.textContent}else n.nodeType===3&&(e+=n.textContent);return e.trim()}function vn(t,e){if(e===!1)return[];const n=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;t=t.filter(i=>i.level>=s&&i.level<=o),Ce.length=0;for(const{element:i,link:l}of t)Ce.push({element:i,link:l});const a=[];e:for(let i=0;i<t.length;i++){const l=t[i];if(i===0)a.push(l);else{for(let d=i-1;d>=0;d--){const h=t[d];if(h.level<l.level){(h.children||(h.children=[])).push(l);continue e}}a.push(l)}}return a}function hn(t,e){const{isAsideEnabled:n}=fn(),s=Jt(a,100);let o=null;te(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Nt(()=>{i(location.hash)}),le(()=>{window.removeEventListener("scroll",s)});function a(){if(!n.value)return;const l=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,g=Math.abs(l+d-h)<1,_=Ce.map(({element:N,link:V})=>({link:V,top:_n(N)})).filter(({top:N})=>!Number.isNaN(N)).sort((N,V)=>N.top-V.top);if(!_.length){i(null);return}if(l<1){i(null);return}if(g){i(_[_.length-1].link);return}let y=null;for(const{link:N,top:V}of _){if(V>l+At()+4)break;y=N}i(y)}function i(l){o&&o.classList.remove("active"),l==null?o=null:o=t.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const d=o;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 _n(t){let e=0;for(;t!==document.body;){if(t===null)return NaN;e+=t.offsetTop,t=t.offsetParent}return e}const mn=["href","title"],gn=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(t){function e({target:n}){const s=n.href.split("#")[1],o=document.getElementById(decodeURIComponent(s));o==null||o.focus({preventScroll:!0})}return(n,s)=>{const o=se("VPDocOutlineItem",!0);return r(),f("ul",{class:F(["VPDocOutlineItem",n.root?"root":"nested"])},[(r(!0),f(D,null,U(n.headers,({children:a,link:i,title:l})=>(r(),f("li",null,[u("a",{class:"outline-link",href:i,onClick:e,title:l},C(l),9,mn),a!=null&&a.length?(r(),$(o,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}}),st=S(gn,[["__scopeId","data-v-75b86f7a"]]),bn={class:"content"},yn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},kn=m({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:n}=O(),s=Je([]);me(()=>{s.value=Oe(e.value.outline??n.value.outline)});const o=I(),a=I();return hn(o,a),(i,l)=>(r(),f("nav",{"aria-labelledby":"doc-outline-aria-label",class:F(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:o},[u("div",bn,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",yn,C(c(ot)(c(n))),1),L(st,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),$n=S(kn,[["__scopeId","data-v-be1126ba"]]),Sn={class:"VPDocAsideCarbonAds"},Pn=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(n,s)=>(r(),f("div",Sn,[L(c(e),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),Ln=t=>(j("data-v-65ef6f81"),t=t(),x(),t),wn={class:"VPDocAside"},Vn=Ln(()=>u("div",{class:"spacer"},null,-1)),Tn=m({__name:"VPDocAside",setup(t){const{theme:e}=O();return(n,s)=>(r(),f("div",wn,[p(n.$slots,"aside-top",{},void 0,!0),p(n.$slots,"aside-outline-before",{},void 0,!0),L($n),p(n.$slots,"aside-outline-after",{},void 0,!0),Vn,p(n.$slots,"aside-ads-before",{},void 0,!0),c(e).carbonAds?(r(),$(Pn,{key:0,"carbon-ads":c(e).carbonAds},null,8,["carbon-ads"])):b("",!0),p(n.$slots,"aside-ads-after",{},void 0,!0),p(n.$slots,"aside-bottom",{},void 0,!0)]))}}),In=S(Tn,[["__scopeId","data-v-65ef6f81"]]);function Cn(){const{theme:t,page:e}=O();return T(()=>{const{text:n="Edit this page",pattern:s=""}=t.value.editLink||{};let o;return typeof s=="function"?o=s(e.value):o=s.replace(/:path/g,e.value.filePath),{url:o,text:n}})}function Nn(){const{page:t,theme:e,frontmatter:n}=O();return T(()=>{var h,g,_,y,N,V,M,k;const s=nt(e.value.sidebar,t.value.relativePath),o=cn(s),a=An(o,R=>R.link.replace(/[?#].*$/,"")),i=a.findIndex(R=>oe(t.value.relativePath,R.link)),l=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!n.value.prev||n.value.prev===!1,d=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!n.value.next||n.value.next===!1;return{prev:l?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((_=a[i-1])==null?void 0:_.docFooterText)??((y=a[i-1])==null?void 0:y.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((N=a[i-1])==null?void 0:N.link)},next:d?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((V=a[i+1])==null?void 0:V.docFooterText)??((M=a[i+1])==null?void 0:M.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((k=a[i+1])==null?void 0:k.link)}}})}function An(t,e){const n=new Set;return t.filter(s=>{const o=e(s);return n.has(o)?!1:n.add(o)})}const q=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&Ye.test(e.href)||e.target==="_blank");return(o,a)=>(r(),$(K(n.value),{class:F(["VPLink",{link:o.href,"vp-external-link-icon":s.value,"no-icon":o.noIcon}]),href:o.href?c(Be)(o.href):void 0,target:o.target??(s.value?"_blank":void 0),rel:o.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[p(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Mn={class:"VPLastUpdated"},En=["datetime"],Bn=m({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:n,lang:s}=O(),o=T(()=>new Date(n.value.lastUpdated)),a=T(()=>o.value.toISOString()),i=I("");return te(()=>{_e(()=>{var l,d,h;i.value=new Intl.DateTimeFormat((d=(l=e.value.lastUpdated)==null?void 0:l.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(l,d)=>{var h;return r(),f("p",Mn,[W(C(((h=c(e).lastUpdated)==null?void 0:h.text)||c(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:a.value},C(i.value),9,En)])}}}),On=S(Bn,[["__scopeId","data-v-243e2690"]]),at=t=>(j("data-v-e27a0cf7"),t=t(),x(),t),Hn={key:0,class:"VPDocFooter"},Dn={key:0,class:"edit-info"},Fn={key:0,class:"edit-link"},jn=at(()=>u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),xn={key:1,class:"last-updated"},Rn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Un=at(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),zn={class:"pager"},Gn=["innerHTML"],Kn=["innerHTML"],qn={class:"pager"},Wn=["innerHTML"],Jn=["innerHTML"],Yn=m({__name:"VPDocFooter",setup(t){const{theme:e,page:n,frontmatter:s}=O(),o=Cn(),a=Nn(),i=T(()=>e.value.editLink&&s.value.editLink!==!1),l=T(()=>n.value.lastUpdated),d=T(()=>i.value||l.value||a.value.prev||a.value.next);return(h,g)=>{var _,y,N,V;return d.value?(r(),f("footer",Hn,[p(h.$slots,"doc-footer-before",{},void 0,!0),i.value||l.value?(r(),f("div",Dn,[i.value?(r(),f("div",Fn,[L(q,{class:"edit-link-button",href:c(o).url,"no-icon":!0},{default:v(()=>[jn,W(" "+C(c(o).text),1)]),_:1},8,["href"])])):b("",!0),l.value?(r(),f("div",xn,[L(On)])):b("",!0)])):b("",!0),(_=c(a).prev)!=null&&_.link||(y=c(a).next)!=null&&y.link?(r(),f("nav",Rn,[Un,u("div",zn,[(N=c(a).prev)!=null&&N.link?(r(),$(q,{key:0,class:"pager-link prev",href:c(a).prev.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.prev)||"Previous page"},null,8,Gn),u("span",{class:"title",innerHTML:c(a).prev.text},null,8,Kn)]}),_:1},8,["href"])):b("",!0)]),u("div",qn,[(V=c(a).next)!=null&&V.link?(r(),$(q,{key:0,class:"pager-link next",href:c(a).next.link},{default:v(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=c(e).docFooter)==null?void 0:M.next)||"Next page"},null,8,Wn),u("span",{class:"title",innerHTML:c(a).next.text},null,8,Jn)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Xn=S(Yn,[["__scopeId","data-v-e27a0cf7"]]),Qn=t=>(j("data-v-4981c415"),t=t(),x(),t),Zn={class:"container"},eo=Qn(()=>u("div",{class:"aside-curtain"},null,-1)),to={class:"aside-container"},no={class:"aside-content"},oo={class:"content"},so={class:"content-container"},ao={class:"main"},ro=m({__name:"VPDoc",setup(t){const{theme:e}=O(),n=ge(),{hasSidebar:s,hasAside:o,leftAside:a}=Y(),i=T(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,d)=>{const h=se("Content");return r(),f("div",{class:F(["VPDoc",{"has-sidebar":c(s),"has-aside":c(o)}])},[p(l.$slots,"doc-top",{},void 0,!0),u("div",Zn,[c(o)?(r(),f("div",{key:0,class:F(["aside",{"left-aside":c(a)}])},[eo,u("div",to,[u("div",no,[L(In,null,{"aside-top":v(()=>[p(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),u("div",oo,[u("div",so,[p(l.$slots,"doc-before",{},void 0,!0),u("main",ao,[L(h,{class:F(["vp-doc",[i.value,c(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),L(Xn,null,{"doc-footer-before":v(()=>[p(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),p(l.$slots,"doc-after",{},void 0,!0)])])]),p(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),io=S(ro,[["__scopeId","data-v-4981c415"]]),lo=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.href&&Ye.test(e.href)),s=T(()=>e.tag||e.href?"a":"button");return(o,a)=>(r(),$(K(s.value),{class:F(["VPButton",[o.size,o.theme]]),href:o.href?c(Be)(o.href):void 0,target:e.target??(n.value?"_blank":void 0),rel:e.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[W(C(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),co=S(lo,[["__scopeId","data-v-5208c6a8"]]),uo=["src","alt"],fo=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,n)=>{const s=se("VPImage",!0);return e.image?(r(),f(D,{key:0},[typeof e.image=="string"||"src"in e.image?(r(),f("img",ee({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:c(Me)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,uo)):(r(),f(D,{key:1},[L(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),L(s,ee({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),ve=S(fo,[["__scopeId","data-v-6e911b93"]]),po=t=>(j("data-v-4963d475"),t=t(),x(),t),vo={class:"container"},ho={class:"main"},_o={key:0,class:"name"},mo=["innerHTML"],go=["innerHTML"],bo=["innerHTML"],yo={key:0,class:"actions"},ko={key:0,class:"image"},$o={class:"image-container"},So=po(()=>u("div",{class:"image-bg"},null,-1)),Po=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=ce("hero-image-slot-exists");return(n,s)=>(r(),f("div",{class:F(["VPHero",{"has-image":n.image||c(e)}])},[u("div",vo,[u("div",ho,[p(n.$slots,"home-hero-info-before",{},void 0,!0),p(n.$slots,"home-hero-info",{},()=>[n.name?(r(),f("h1",_o,[u("span",{innerHTML:n.name,class:"clip"},null,8,mo)])):b("",!0),n.text?(r(),f("p",{key:1,innerHTML:n.text,class:"text"},null,8,go)):b("",!0),n.tagline?(r(),f("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,bo)):b("",!0)],!0),p(n.$slots,"home-hero-info-after",{},void 0,!0),n.actions?(r(),f("div",yo,[(r(!0),f(D,null,U(n.actions,o=>(r(),f("div",{key:o.link,class:"action"},[L(co,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):b("",!0),p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),n.image||c(e)?(r(),f("div",ko,[u("div",$o,[So,p(n.$slots,"home-hero-image",{},()=>[n.image?(r(),$(ve,{key:0,class:"image-src",image:n.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Lo=S(Po,[["__scopeId","data-v-4963d475"]]),wo=m({__name:"VPHomeHero",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).hero?(r(),$(Lo,{key:0,class:"VPHomeHero",name:c(e).hero.name,text:c(e).hero.text,tagline:c(e).hero.tagline,image:c(e).hero.image,actions:c(e).hero.actions},{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),Vo=t=>(j("data-v-c6ed09d2"),t=t(),x(),t),To={class:"box"},Io={key:0,class:"icon"},Co=["innerHTML"],No=["innerHTML"],Ao=["innerHTML"],Mo={key:4,class:"link-text"},Eo={class:"link-text-value"},Bo=Vo(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Oo=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(t){return(e,n)=>(r(),$(q,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[u("article",To,[typeof e.icon=="object"&&e.icon.wrap?(r(),f("div",Io,[L(ve,{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"?(r(),$(ve,{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?(r(),f("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Co)):b("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,No),e.details?(r(),f("p",{key:3,class:"details",innerHTML:e.details},null,8,Ao)):b("",!0),e.linkText?(r(),f("div",Mo,[u("p",Eo,[W(C(e.linkText)+" ",1),Bo])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Ho=S(Oo,[["__scopeId","data-v-c6ed09d2"]]),Do={key:0,class:"VPFeatures"},Fo={class:"container"},jo={class:"items"},xo=m({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,n=T(()=>{const s=e.features.length;if(s){if(s===2)return"grid-2";if(s===3)return"grid-3";if(s%3===0)return"grid-6";if(s>3)return"grid-4"}else return});return(s,o)=>s.features?(r(),f("div",Do,[u("div",Fo,[u("div",jo,[(r(!0),f(D,null,U(s.features,a=>(r(),f("div",{key:a.title,class:F(["item",[n.value]])},[L(Ho,{icon:a.icon,title:a.title,details:a.details,link:a.link,"link-text":a.linkText,rel:a.rel,target:a.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):b("",!0)}}),Ro=S(xo,[["__scopeId","data-v-c56833f4"]]),Uo=m({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).features?(r(),$(Ro,{key:0,class:"VPHomeFeatures",features:c(e).features},null,8,["features"])):b("",!0)}}),zo=m({__name:"VPHomeContent",setup(t){const{width:e}=Mt({initialWidth:0,includeScrollbar:!1});return(n,s)=>(r(),f("div",{class:"vp-doc container",style:be(c(e)?{"--vp-offset":`calc(50% - ${c(e)/2}px)`}:{})},[p(n.$slots,"default",{},void 0,!0)],4))}}),Go=S(zo,[["__scopeId","data-v-2763ee34"]]),Ko={class:"VPHome"},qo=m({__name:"VPHome",setup(t){const{frontmatter:e}=O();return(n,s)=>{const o=se("Content");return r(),f("div",Ko,[p(n.$slots,"home-hero-before",{},void 0,!0),L(wo,null,{"home-hero-info-before":v(()=>[p(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),p(n.$slots,"home-hero-after",{},void 0,!0),p(n.$slots,"home-features-before",{},void 0,!0),L(Uo),p(n.$slots,"home-features-after",{},void 0,!0),c(e).markdownStyles!==!1?(r(),$(Go,{key:0},{default:v(()=>[L(o)]),_:1})):(r(),$(o,{key:1}))])}}}),Wo=S(qo,[["__scopeId","data-v-ceddc1ed"]]),Jo={},Yo={class:"VPPage"};function Xo(t,e){const n=se("Content");return r(),f("div",Yo,[p(t.$slots,"page-top"),L(n),p(t.$slots,"page-bottom")])}const Qo=S(Jo,[["render",Xo]]),Zo=m({__name:"VPContent",setup(t){const{page:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>(r(),f("div",{class:F(["VPContent",{"has-sidebar":c(s),"is-home":c(n).layout==="home"}]),id:"VPContent"},[c(e).isNotFound?p(o.$slots,"not-found",{key:0},()=>[L(rn)],!0):c(n).layout==="page"?(r(),$(Qo,{key:1},{"page-top":v(()=>[p(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):c(n).layout==="home"?(r(),$(Wo,{key:2},{"home-hero-before":v(()=>[p(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):c(n).layout&&c(n).layout!=="doc"?(r(),$(K(c(n).layout),{key:3})):(r(),$(io,{key:4},{"doc-top":v(()=>[p(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[p(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[p(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[p(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[p(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),es=S(Zo,[["__scopeId","data-v-4e31bbd2"]]),ts={class:"container"},ns=["innerHTML"],os=["innerHTML"],ss=m({__name:"VPFooter",setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y();return(o,a)=>c(e).footer&&c(n).footer!==!1?(r(),f("footer",{key:0,class:F(["VPFooter",{"has-sidebar":c(s)}])},[u("div",ts,[c(e).footer.message?(r(),f("p",{key:0,class:"message",innerHTML:c(e).footer.message},null,8,ns)):b("",!0),c(e).footer.copyright?(r(),f("p",{key:1,class:"copyright",innerHTML:c(e).footer.copyright},null,8,os)):b("",!0)])],2)):b("",!0)}}),as=S(ss,[["__scopeId","data-v-098a46ae"]]);function rs(){const{theme:t,frontmatter:e}=O(),n=Je([]),s=T(()=>n.value.length>0);return me(()=>{n.value=Oe(e.value.outline??t.value.outline)}),{headers:n,hasLocalNav:s}}const is=t=>(j("data-v-5e8cf508"),t=t(),x(),t),ls={class:"menu-text"},cs=is(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),us={class:"header"},ds={class:"outline"},fs=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(t){const e=t,{theme:n}=O(),s=I(!1),o=I(0),a=I(),i=I();function l(_){var y;(y=a.value)!=null&&y.contains(_.target)||(s.value=!1)}J(s,_=>{if(_){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),we("Escape",()=>{s.value=!1}),me(()=>{s.value=!1});function d(){s.value=!s.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(_){_.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),Et(()=>{s.value=!1}))}function g(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,y)=>(r(),f("div",{class:"VPLocalNavOutlineDropdown",style:be({"--vp-vh":o.value+"px"}),ref_key:"main",ref:a},[_.headers.length>0?(r(),f("button",{key:0,onClick:d,class:F({open:s.value})},[u("span",ls,C(c(ot)(c(n))),1),cs],2)):(r(),f("button",{key:1,onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)),L(Ne,{name:"flyout"},{default:v(()=>[s.value?(r(),f("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:h},[u("div",us,[u("a",{class:"top-link",href:"#",onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)]),u("div",ds,[L(st,{headers:_.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),ps=S(fs,[["__scopeId","data-v-5e8cf508"]]),vs=t=>(j("data-v-b8036a12"),t=t(),x(),t),hs={class:"container"},_s=["aria-expanded"],ms=vs(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),gs={class:"menu-text"},bs=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y(),{headers:o}=rs(),{y:a}=Xe(),i=I(0);te(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{o.value=Oe(n.value.outline??e.value.outline)});const l=T(()=>o.value.length===0),d=T(()=>l.value&&!s.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:l.value,fixed:d.value}));return(g,_)=>c(n).layout!=="home"&&(!d.value||c(a)>=i.value)?(r(),f("div",{key:0,class:F(h.value)},[u("div",hs,[c(s)?(r(),f("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:_[0]||(_[0]=y=>g.$emit("open-menu"))},[ms,u("span",gs,C(c(e).sidebarMenuLabel||"Menu"),1)],8,_s)):b("",!0),L(ps,{headers:c(o),navHeight:i.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),ys=S(bs,[["__scopeId","data-v-b8036a12"]]);function ks(){const t=I(!1);function e(){t.value=!0,window.addEventListener("resize",o)}function n(){t.value=!1,window.removeEventListener("resize",o)}function s(){t.value?n():e()}function o(){window.outerWidth>=768&&n()}const a=ge();return J(()=>a.path,n),{isScreenOpen:t,openScreen:e,closeScreen:n,toggleScreen:s}}const $s={},Ss={class:"VPSwitch",type:"button",role:"switch"},Ps={class:"check"},Ls={key:0,class:"icon"};function ws(t,e){return r(),f("button",Ss,[u("span",Ps,[t.$slots.default?(r(),f("span",Ls,[p(t.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Vs=S($s,[["render",ws],["__scopeId","data-v-b19619af"]]),rt=t=>(j("data-v-0f382965"),t=t(),x(),t),Ts=rt(()=>u("span",{class:"vpi-sun sun"},null,-1)),Is=rt(()=>u("span",{class:"vpi-moon moon"},null,-1)),Cs=m({__name:"VPSwitchAppearance",setup(t){const{isDark:e,theme:n}=O(),s=ce("toggle-appearance",()=>{e.value=!e.value}),o=I("");return Ee(()=>{o.value=e.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,i)=>(r(),$(Vs,{title:o.value,class:"VPSwitchAppearance","aria-checked":c(e),onClick:c(s)},{default:v(()=>[Ts,Is]),_:1},8,["title","aria-checked","onClick"]))}}),He=S(Cs,[["__scopeId","data-v-0f382965"]]),Ns={key:0,class:"VPNavBarAppearance"},As=m({__name:"VPNavBarAppearance",setup(t){const{site:e}=O();return(n,s)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",Ns,[L(He)])):b("",!0)}}),Ms=S(As,[["__scopeId","data-v-0a1958c9"]]),De=I();let it=!1,Pe=0;function Es(t){const e=I(!1);if(ye){!it&&Bs(),Pe++;const n=J(De,s=>{var o,a,i;s===t.el.value||(o=t.el.value)!=null&&o.contains(s)?(e.value=!0,(a=t.onFocus)==null||a.call(t)):(e.value=!1,(i=t.onBlur)==null||i.call(t))});le(()=>{n(),Pe--,Pe||Os()})}return Bt(e)}function Bs(){document.addEventListener("focusin",lt),it=!0,De.value=document.activeElement}function Os(){document.removeEventListener("focusin",lt)}function lt(){De.value=document.activeElement}const Hs={class:"VPMenuLink"},Ds=m({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),f("div",Hs,[L(q,{class:F({active:c(oe)(c(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,target:n.item.target,rel:n.item.rel},{default:v(()=>[W(C(n.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ke=S(Ds,[["__scopeId","data-v-19363427"]]),Fs={class:"VPMenuGroup"},js={key:0,class:"title"},xs=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",Fs,[e.text?(r(),f("p",js,C(e.text),1)):b("",!0),(r(!0),f(D,null,U(e.items,s=>(r(),f(D,null,["link"in s?(r(),$(ke,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}}),Rs=S(xs,[["__scopeId","data-v-e815e7e2"]]),Us={class:"VPMenu"},zs={key:0,class:"items"},Gs=m({__name:"VPMenu",props:{items:{}},setup(t){return(e,n)=>(r(),f("div",Us,[e.items?(r(),f("div",zs,[(r(!0),f(D,null,U(e.items,s=>(r(),f(D,{key:JSON.stringify(s)},["link"in s?(r(),$(ke,{key:0,item:s},null,8,["item"])):"component"in s?(r(),$(K(s.component),ee({key:1,ref_for:!0},s.props),null,16)):(r(),$(Rs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),p(e.$slots,"default",{},void 0,!0)]))}}),Ks=S(Gs,[["__scopeId","data-v-0e22c6c5"]]),qs=t=>(j("data-v-12ec5ee2"),t=t(),x(),t),Ws=["aria-expanded","aria-label"],Js={key:0,class:"text"},Ys=["innerHTML"],Xs=qs(()=>u("span",{class:"vpi-chevron-down text-icon"},null,-1)),Qs={key:1,class:"vpi-more-horizontal icon"},Zs={class:"menu"},ea=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=I(!1),n=I();Es({el:n,onBlur:s});function s(){e.value=!1}return(o,a)=>(r(),f("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:a[1]||(a[1]=i=>e.value=!0),onMouseleave:a[2]||(a[2]=i=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:a[0]||(a[0]=i=>e.value=!e.value)},[o.button||o.icon?(r(),f("span",Js,[o.icon?(r(),f("span",{key:0,class:F([o.icon,"option-icon"])},null,2)):b("",!0),o.button?(r(),f("span",{key:1,innerHTML:o.button},null,8,Ys)):b("",!0),Xs])):(r(),f("span",Qs))],8,Ws),u("div",Zs,[L(Ks,{items:o.items},{default:v(()=>[p(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fe=S(ea,[["__scopeId","data-v-12ec5ee2"]]),ta=["href","aria-label","innerHTML"],na=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(t){const e=t,n=T(()=>typeof e.icon=="object"?e.icon.svg:`<span class="vpi-social-${e.icon}" />`);return(s,o)=>(r(),f("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,ta))}}),oa=S(na,[["__scopeId","data-v-974e0aed"]]),sa={class:"VPSocialLinks"},aa=m({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,n)=>(r(),f("div",sa,[(r(!0),f(D,null,U(e.links,({link:s,icon:o,ariaLabel:a})=>(r(),$(oa,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),je=S(aa,[["__scopeId","data-v-52782a78"]]),ra={key:0,class:"group translations"},ia={class:"trans-title"},la={key:1,class:"group"},ca={class:"item appearance"},ua={class:"label"},da={class:"appearance-action"},fa={key:2,class:"group"},pa={class:"item social-links"},va=m({__name:"VPNavBarExtra",setup(t){const{site:e,theme:n}=O(),{localeLinks:s,currentLang:o}=ue({correspondingLink:!0}),a=T(()=>s.value.length&&o.value.label||e.value.appearance||n.value.socialLinks);return(i,l)=>a.value?(r(),$(Fe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[c(s).length&&c(o).label?(r(),f("div",ra,[u("p",ia,C(c(o).label),1),(r(!0),f(D,null,U(c(s),d=>(r(),$(ke,{key:d.link,item:d},null,8,["item"]))),128))])):b("",!0),c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",la,[u("div",ca,[u("p",ua,C(c(n).darkModeSwitchLabel||"Appearance"),1),u("div",da,[L(He)])])])):b("",!0),c(n).socialLinks?(r(),f("div",fa,[u("div",pa,[L(je,{class:"social-links-list",links:c(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),ha=S(va,[["__scopeId","data-v-c34ef5aa"]]),_a=t=>(j("data-v-6a2ed68b"),t=t(),x(),t),ma=["aria-expanded"],ga=_a(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ba=[ga],ya=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,n)=>(r(),f("button",{type:"button",class:F(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=s=>e.$emit("click"))},ba,10,ma))}}),ka=S(ya,[["__scopeId","data-v-6a2ed68b"]]),$a=["innerHTML"],Sa=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),$(q,{class:F({VPNavBarMenuLink:!0,active:c(oe)(c(e).relativePath,n.item.activeMatch||n.item.link,!!n.item.activeMatch)}),href:n.item.link,noIcon:n.item.noIcon,target:n.item.target,rel:n.item.rel,tabindex:"0"},{default:v(()=>[u("span",{innerHTML:n.item.text},null,8,$a)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Pa=S(Sa,[["__scopeId","data-v-c423e9f4"]]),La=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const e=t,{page:n}=O(),s=a=>"component"in a?!1:"link"in a?oe(n.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),o=T(()=>s(e.item));return(a,i)=>(r(),$(Fe,{class:F({VPNavBarMenuGroup:!0,active:c(oe)(c(n).relativePath,a.item.activeMatch,!!a.item.activeMatch)||o.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),wa=t=>(j("data-v-71183eee"),t=t(),x(),t),Va={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ta=wa(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Ia=m({__name:"VPNavBarMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Va,[Ta,(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(Pa,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props),null,16)):(r(),$(La,{key:2,item:o},null,8,["item"]))],64))),128))])):b("",!0)}}),Ca=S(Ia,[["__scopeId","data-v-71183eee"]]);function Na(t){const{localeIndex:e,theme:n}=O();function s(o){var V,M,k;const a=o.split("."),i=(V=n.value.search)==null?void 0:V.options,l=i&&typeof i=="object",d=l&&((k=(M=i.locales)==null?void 0:M[e.value])==null?void 0:k.translations)||null,h=l&&i.translations||null;let g=d,_=h,y=t;const N=a.pop();for(const R of a){let z=null;const X=y==null?void 0:y[R];X&&(z=y=X);const ne=_==null?void 0:_[R];ne&&(z=_=ne);const Q=g==null?void 0:g[R];Q&&(z=g=Q),X||(y=z),ne||(_=z),Q||(g=z)}return(g==null?void 0:g[N])??(_==null?void 0:_[N])??(y==null?void 0:y[N])??""}return s}const Aa=["aria-label"],Ma={class:"DocSearch-Button-Container"},Ea=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ba={class:"DocSearch-Button-Placeholder"},Oa=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ue=m({__name:"VPNavBarSearchButton",setup(t){const n=Na({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,o)=>(r(),f("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":c(n)("button.buttonAriaLabel")},[u("span",Ma,[Ea,u("span",Ba,C(c(n)("button.buttonText")),1)]),Oa],8,Aa))}}),Ha={class:"VPNavBarSearch"},Da={id:"local-search"},Fa={key:1,id:"docsearch"},ja=m({__name:"VPNavBarSearch",setup(t){const e=Ot(()=>Ht(()=>import("./VPLocalSearchBox.DWIkN3b9.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:s}=O(),o=I(!1),a=I(!1);te(()=>{});function i(){o.value||(o.value=!0,setTimeout(l,16))}function l(){const _=new Event("keydown");_.key="k",_.metaKey=!0,window.dispatchEvent(_),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}function d(_){const y=_.target,N=y.tagName;return y.isContentEditable||N==="INPUT"||N==="SELECT"||N==="TEXTAREA"}const h=I(!1);we("k",_=>{(_.ctrlKey||_.metaKey)&&(_.preventDefault(),h.value=!0)}),we("/",_=>{d(_)||(_.preventDefault(),h.value=!0)});const g="local";return(_,y)=>{var N;return r(),f("div",Ha,[c(g)==="local"?(r(),f(D,{key:0},[h.value?(r(),$(c(e),{key:0,onClose:y[0]||(y[0]=V=>h.value=!1)})):b("",!0),u("div",Da,[L(Ue,{onClick:y[1]||(y[1]=V=>h.value=!0)})])],64)):c(g)==="algolia"?(r(),f(D,{key:1},[o.value?(r(),$(c(n),{key:0,algolia:((N=c(s).search)==null?void 0:N.options)??c(s).algolia,onVnodeBeforeMount:y[2]||(y[2]=V=>a.value=!0)},null,8,["algolia"])):b("",!0),a.value?b("",!0):(r(),f("div",Fa,[L(Ue,{onClick:i})]))],64)):b("",!0)])}}}),xa=m({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavBarSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),Ra=S(xa,[["__scopeId","data-v-edaebeb1"]]),Ua=["href","rel","target"],za={key:1},Ga={key:2},Ka=m({__name:"VPNavBarTitle",setup(t){const{site:e,theme:n}=O(),{hasSidebar:s}=Y(),{currentLang:o}=ue(),a=T(()=>{var d;return typeof n.value.logoLink=="string"?n.value.logoLink:(d=n.value.logoLink)==null?void 0:d.link}),i=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.rel}),l=T(()=>{var d;return typeof n.value.logoLink=="string"||(d=n.value.logoLink)==null?void 0:d.target});return(d,h)=>(r(),f("div",{class:F(["VPNavBarTitle",{"has-sidebar":c(s)}])},[u("a",{class:"title",href:a.value??c(Be)(c(o).link),rel:i.value,target:l.value},[p(d.$slots,"nav-bar-title-before",{},void 0,!0),c(n).logo?(r(),$(ve,{key:0,class:"logo",image:c(n).logo},null,8,["image"])):b("",!0),c(n).siteTitle?(r(),f("span",za,C(c(n).siteTitle),1)):c(n).siteTitle===void 0?(r(),f("span",Ga,C(c(e).title),1)):b("",!0),p(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ua)],2))}}),qa=S(Ka,[["__scopeId","data-v-de953605"]]),Wa={class:"items"},Ja={class:"title"},Ya=m({__name:"VPNavBarTranslations",setup(t){const{theme:e}=O(),{localeLinks:n,currentLang:s}=ue({correspondingLink:!0});return(o,a)=>c(n).length&&c(s).label?(r(),$(Fe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:c(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Wa,[u("p",Ja,C(c(s).label),1),(r(!0),f(D,null,U(c(n),i=>(r(),$(ke,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Xa=S(Ya,[["__scopeId","data-v-d3047050"]]),Qa=t=>(j("data-v-37a6b570"),t=t(),x(),t),Za={class:"wrapper"},er={class:"container"},tr={class:"title"},nr={class:"content"},or={class:"content-body"},sr=Qa(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),ar=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const e=t,{y:n}=Xe(),{hasSidebar:s}=Y(),{frontmatter:o}=O(),a=I({});return Ee(()=>{a.value={"has-sidebar":s.value,home:o.value.layout==="home",top:n.value===0,"screen-open":e.isScreenOpen}}),(i,l)=>(r(),f("div",{class:F(["VPNavBar",a.value])},[u("div",Za,[u("div",er,[u("div",tr,[L(qa,null,{"nav-bar-title-before":v(()=>[p(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(i.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",nr,[u("div",or,[p(i.$slots,"nav-bar-content-before",{},void 0,!0),L(ja,{class:"search"}),L(Ca,{class:"menu"}),L(Xa,{class:"translations"}),L(Ms,{class:"appearance"}),L(Ra,{class:"social-links"}),L(ha,{class:"extra"}),p(i.$slots,"nav-bar-content-after",{},void 0,!0),L(ka,{class:"hamburger",active:i.isScreenOpen,onClick:l[0]||(l[0]=d=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),sr],2))}}),rr=S(ar,[["__scopeId","data-v-37a6b570"]]),ir={key:0,class:"VPNavScreenAppearance"},lr={class:"text"},cr=m({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:n}=O();return(s,o)=>c(e).appearance&&c(e).appearance!=="force-dark"&&c(e).appearance!=="force-auto"?(r(),f("div",ir,[u("p",lr,C(c(n).darkModeSwitchLabel||"Appearance"),1),L(He)])):b("",!0)}}),ur=S(cr,[["__scopeId","data-v-beb3f918"]]),dr=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=ce("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e),innerHTML:n.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),fr=S(dr,[["__scopeId","data-v-6f3d2ab5"]]),pr=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=ce("close-screen");return(n,s)=>(r(),$(q,{class:"VPNavScreenMenuGroupLink",href:n.item.link,target:n.item.target,rel:n.item.rel,onClick:c(e)},{default:v(()=>[W(C(n.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ct=S(pr,[["__scopeId","data-v-eab7bfa1"]]),vr={class:"VPNavScreenMenuGroupSection"},hr={key:0,class:"title"},_r=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",vr,[e.text?(r(),f("p",hr,C(e.text),1)):b("",!0),(r(!0),f(D,null,U(e.items,s=>(r(),$(ct,{key:s.text,item:s},null,8,["item"]))),128))]))}}),mr=S(_r,[["__scopeId","data-v-60ca4288"]]),gr=t=>(j("data-v-9b54e8b4"),t=t(),x(),t),br=["aria-controls","aria-expanded"],yr=["innerHTML"],kr=gr(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),$r=["id"],Sr={key:0,class:"item"},Pr={key:1,class:"item"},Lr={key:2,class:"group"},wr=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,n=I(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(a,i)=>(r(),f("div",{class:F(["VPNavScreenMenuGroup",{open:n.value}])},[u("button",{class:"button","aria-controls":s.value,"aria-expanded":n.value,onClick:o},[u("span",{class:"button-text",innerHTML:a.text},null,8,yr),kr],8,br),u("div",{id:s.value,class:"items"},[(r(!0),f(D,null,U(a.items,l=>(r(),f(D,{key:JSON.stringify(l)},["link"in l?(r(),f("div",Sr,[L(ct,{item:l},null,8,["item"])])):"component"in l?(r(),f("div",Pr,[(r(),$(K(l.component),ee({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(r(),f("div",Lr,[L(mr,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,$r)],2))}}),Vr=S(wr,[["__scopeId","data-v-9b54e8b4"]]),Tr={key:0,class:"VPNavScreenMenu"},Ir=m({__name:"VPNavScreenMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Tr,[(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(fr,{key:0,item:o},null,8,["item"])):"component"in o?(r(),$(K(o.component),ee({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(r(),$(Vr,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),Cr=m({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=O();return(n,s)=>c(e).socialLinks?(r(),$(je,{key:0,class:"VPNavScreenSocialLinks",links:c(e).socialLinks},null,8,["links"])):b("",!0)}}),ut=t=>(j("data-v-d9ff2423"),t=t(),x(),t),Nr=ut(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Ar=ut(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Mr={class:"list"},Er=m({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:n}=ue({correspondingLink:!0}),s=I(!1);function o(){s.value=!s.value}return(a,i)=>c(e).length&&c(n).label?(r(),f("div",{key:0,class:F(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:o},[Nr,W(" "+C(c(n).label)+" ",1),Ar]),u("ul",Mr,[(r(!0),f(D,null,U(c(e),l=>(r(),f("li",{key:l.link,class:"item"},[L(q,{class:"link",href:l.link},{default:v(()=>[W(C(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),Br=S(Er,[["__scopeId","data-v-d9ff2423"]]),Or={class:"container"},Hr=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=I(null),n=Qe(ye?document.body:null);return(s,o)=>(r(),$(Ne,{name:"fade",onEnter:o[0]||(o[0]=a=>n.value=!0),onAfterLeave:o[1]||(o[1]=a=>n.value=!1)},{default:v(()=>[s.open?(r(),f("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",Or,[p(s.$slots,"nav-screen-content-before",{},void 0,!0),L(Ir,{class:"menu"}),L(Br,{class:"translations"}),L(ur,{class:"appearance"}),L(Cr,{class:"social-links"}),p(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),Dr=S(Hr,[["__scopeId","data-v-c6c7bd45"]]),Fr={key:0,class:"VPNav"},jr=m({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:n,toggleScreen:s}=ks(),{frontmatter:o}=O(),a=T(()=>o.value.navbar!==!1);return Ze("close-screen",n),_e(()=>{ye&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(i,l)=>a.value?(r(),f("header",Fr,[L(rr,{"is-screen-open":c(e),onToggleScreen:c(s)},{"nav-bar-title-before":v(()=>[p(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),L(Dr,{open:c(e)},{"nav-screen-content-before":v(()=>[p(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),xr=S(jr,[["__scopeId","data-v-d52d372b"]]),dt=t=>(j("data-v-b74067ae"),t=t(),x(),t),Rr=["role","tabindex"],Ur=dt(()=>u("div",{class:"indicator"},null,-1)),zr=dt(()=>u("span",{class:"vpi-chevron-right caret-icon"},null,-1)),Gr=[zr],Kr={key:1,class:"items"},qr=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:n,collapsible:s,isLink:o,isActiveLink:a,hasActiveLink:i,hasChildren:l,toggle:d}=dn(T(()=>e.item)),h=T(()=>l.value?"section":"div"),g=T(()=>o.value?"a":"div"),_=T(()=>l.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),y=T(()=>o.value?void 0:"button"),N=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:n.value},{"is-link":o.value},{"is-active":a.value},{"has-active":i.value}]);function V(k){"key"in k&&k.key!=="Enter"||!e.item.link&&d()}function M(){e.item.link&&d()}return(k,R)=>{const z=se("VPSidebarItem",!0);return r(),$(K(h.value),{class:F(["VPSidebarItem",N.value])},{default:v(()=>[k.item.text?(r(),f("div",ee({key:0,class:"item",role:y.value},Dt(k.item.items?{click:V,keydown:V}:{},!0),{tabindex:k.item.items&&0}),[Ur,k.item.link?(r(),$(q,{key:0,tag:g.value,class:"link",href:k.item.link,rel:k.item.rel,target:k.item.target},{default:v(()=>[(r(),$(K(_.value),{class:"text",innerHTML:k.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(r(),$(K(_.value),{key:1,class:"text",innerHTML:k.item.text},null,8,["innerHTML"])),k.item.collapsed!=null&&k.item.items&&k.item.items.length?(r(),f("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:M,onKeydown:Ft(M,["enter"]),tabindex:"0"},Gr,32)):b("",!0)],16,Rr)):b("",!0),k.item.items&&k.item.items.length?(r(),f("div",Kr,[k.depth<5?(r(!0),f(D,{key:0},U(k.item.items,X=>(r(),$(z,{key:X.text,item:X,depth:k.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Wr=S(qr,[["__scopeId","data-v-b74067ae"]]),Jr=m({__name:"VPSidebarGroup",props:{items:{}},setup(t){const e=I(!0);let n=null;return te(()=>{n=setTimeout(()=>{n=null,e.value=!1},300)}),jt(()=>{n!=null&&(clearTimeout(n),n=null)}),(s,o)=>(r(!0),f(D,null,U(s.items,a=>(r(),f("div",{key:a.text,class:F(["group",{"no-transition":e.value}])},[L(Wr,{item:a,depth:0},null,8,["item"])],2))),128))}}),Yr=S(Jr,[["__scopeId","data-v-e3ecf1ec"]]),ft=t=>(j("data-v-f2245985"),t=t(),x(),t),Xr=ft(()=>u("div",{class:"curtain"},null,-1)),Qr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Zr=ft(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ei=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const{sidebarGroups:e,hasSidebar:n}=Y(),s=t,o=I(null),a=Qe(ye?document.body:null);J([s,o],()=>{var l;s.open?(a.value=!0,(l=o.value)==null||l.focus()):a.value=!1},{immediate:!0,flush:"post"});const i=I(0);return J(e,()=>{i.value+=1},{deep:!0}),(l,d)=>c(n)?(r(),f("aside",{key:0,class:F(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=xt(()=>{},["stop"]))},[Xr,u("nav",Qr,[Zr,p(l.$slots,"sidebar-nav-before",{},void 0,!0),(r(),$(Yr,{items:c(e),key:i.value},null,8,["items"])),p(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),ti=S(ei,[["__scopeId","data-v-f2245985"]]),ni=m({__name:"VPSkipLink",setup(t){const e=ge(),n=I();J(()=>e.path,()=>n.value.focus());function s({target:o}){const a=document.getElementById(decodeURIComponent(o.hash).slice(1));if(a){const i=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",i)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",i),a.focus(),window.scrollTo(0,0)}}return(o,a)=>(r(),f(D,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))}}),oi=S(ni,[["__scopeId","data-v-a977b129"]]),si=m({__name:"Layout",setup(t){const{isOpen:e,open:n,close:s}=Y(),o=ge();J(()=>o.path,s),un(e,s);const{frontmatter:a}=O(),i=Rt(),l=T(()=>!!i["home-hero-image"]);return Ze("hero-image-slot-exists",l),(d,h)=>{const g=se("Content");return c(a).layout!==!1?(r(),f("div",{key:0,class:F(["Layout",c(a).pageClass])},[p(d.$slots,"layout-top",{},void 0,!0),L(oi),L(Wt,{class:"backdrop",show:c(e),onClick:c(s)},null,8,["show","onClick"]),L(xr,null,{"nav-bar-title-before":v(()=>[p(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[p(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[p(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[p(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[p(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[p(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),L(ys,{open:c(e),onOpenMenu:c(n)},null,8,["open","onOpenMenu"]),L(ti,{open:c(e)},{"sidebar-nav-before":v(()=>[p(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[p(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),L(es,null,{"page-top":v(()=>[p(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[p(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[p(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[p(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[p(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[p(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[p(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[p(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[p(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[p(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[p(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[p(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[p(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[p(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[p(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[p(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[p(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[p(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[p(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[p(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[p(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[p(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[p(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),L(as),p(d.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),$(g,{key:1}))}}}),ai=S(si,[["__scopeId","data-v-7e3343f7"]]),pt={Layout:ai,enhanceApp:({app:t})=>{t.component("Badge",Gt)}},vt="LiteyukiStudio",ht="LiteyukiBot",ri="https://api.github.com",ii="https://api.liteyuki.icu/online",li="https://api.liteyuki.icu/count",ci="https://api.liteyuki.icu/visit",ui="https://api.liteyuki.icu/visit_count",ie=`https://github.com/${vt}/${ht}`,ze="https://starmap.liteyuki.icu",ae={getTotal:async()=>{try{return(await(await fetch(li)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(ii)).json()).online}catch{return-1}},getGithubStats:async()=>{try{const e=await(await fetch(`${ri}/repos/${vt}/${ht}`)).json();return{stars:e.stargazers_count,forks:e.forks_count,watchers:e.watchers_count,issues:e.open_issues_count,prs:e.open_issues_count,size:e.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}},getPluginNum:async()=>{try{return(await(await fetch("/plugins.json")).json()).length}catch{return-1}},getResourceNum:async()=>{try{return(await(await fetch("/resources.json")).json()).length}catch{return-1}},getVisitCount:async()=>{try{return(await(await fetch(ui)).json()).count}catch{return-1}}};function di(){const t="deviceId";let e=localStorage.getItem(t);return e||(e=pi(),localStorage.setItem(t,e)),e}async function fi(){const t=di();try{await fetch(ci,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({device_id:t}).toString()})}catch(e){console.error("Failed to upload visit record:",e)}}function pi(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,n=t==="x"?e:e&3|8;return n.toString(16)})}const vi={en:{stats:"Stats",online:"Online",offline:"Offline",total:"Total",fetching:"Fetching",stars:"Stars",forks:"Forks",issues:"Issues",prs:"Pull Requests",visitors:"Visitor",size:"Size",plugins:"Plugins",resources:"Resources",pluginStore:"Plugin Store",pluginStoreDesc:"Content from the LightSnow Plugin Store, LightSnow supports NoneBot through the lpnonebot plugin, and references some NoneBot plugins",liteyukiOnly:"Liteyuki Only",search:"Search",resourceStore:"Resources Store"},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星星",forks:"叉子",issues:"开启议题",prs:"合并请求",visitors:"访客",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店轻雪通过lpnonebot插件对NoneBot实现支持引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店"}};let he={};function _t(t,e){return t=xe(t),vi[t][e]}function xe(t){return t.includes("-")?t.split("-")[0]:t}function hi(){const t=xe(Ae().site.value.lang);for(let e in he)he[e].value=_t(t,e)}function Z(t){const e=xe(Ae().site.value.lang);return he[t]=_t(e,t),he[t]}/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/var Ge;(function(t){t.pop="pop",t.push="push"})(Ge||(Ge={}));var Ke;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ke||(Ke={}));var qe;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(qe||(qe={}));const _i=Symbol("");function mi(t,e,n){const s=()=>{t[e].delete(n)};le(s),Ut(s),zt(()=>{t[e].add(n)}),t[e].add(n)}function gi(t){const e=ce(_i,{}).value;e&&mi(e,"updateGuards",t)}const bi=t=>(j("data-v-90f05ac8"),t=t(),x(),t),yi={class:"stats-bar-content"},ki={class:"stats-bar"},$i={class:"stats-info"},Si={class:"stats-title"},Pi={class:"sections"},Li=["href"],wi={class:"section-tab"},Vi={class:"text"},Ti={class:"number"},Ii=bi(()=>u("div",{class:"starmap"},[u("iframe",{src:"https://starmap.liteyuki.icu/",width:"100%",height:"300px",class:"gamma"})],-1)),Ci=m({__name:"StatsBar",setup(t){const{Layout:e}=pt;let n=null;const s={total:{name:"total",color:"#00a6ff",value:I(2005),link:ze},online:{name:"online",color:"#7eff7e",value:I(1145),link:ze},stars:{name:"stars",color:"#ffcc00",value:I(1234),link:`${ie}/stargazers`},forks:{name:"forks",color:"#ff6600",value:I(9420),link:`${ie}/forks`},issues:{name:"issues",color:"#ff0000",value:I(1145),link:`${ie}/issues`},prs:{name:"prs",color:"#f15df1",value:I(6543),link:`${ie}/pulls`},plugins:{name:"plugins",color:"#a766ff",value:I(1763),link:"./store/plugin"},resources:{name:"resources",color:"#5a54fa",value:I(6789),link:"./store/resource"},visitors:{name:"visitors",color:"#00a6ff",value:I(1234),link:ie}};async function o(){[s.online.value.value,s.total.value.value,s.plugins.value.value,s.resources.value.value,s.visitors.value.value,n]=await Promise.all([ae.getOnline(),ae.getTotal(),ae.getPluginNum(),ae.getResourceNum(),ae.getVisitCount(),ae.getGithubStats()]),s.stars.value.value=(n==null?void 0:n.stars)||0,s.forks.value.value=(n==null?void 0:n.forks)||0,s.issues.value.value=(n==null?void 0:n.issues)||0,s.prs.value.value=(n==null?void 0:n.prs)||0}function a(i){return i.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}return te(()=>{const i=setInterval(o,1e4);o(),fi(),le(()=>{clearInterval(i)})}),gi(()=>{hi()}),(i,l)=>(r(),$(c(e),null,{"home-features-before":v(()=>[u("div",yi,[u("div",ki,[u("div",$i,[u("div",Si,C(c(Z)("stats")),1),u("div",Pi,[(r(!0),f(D,null,U(Object.values(s),d=>(r(),f("div",{key:d.name,class:"section"},[u("a",{href:d.link,target:"_blank"},[u("div",wi,[u("span",{class:"dot",style:be({backgroundColor:d.color})},null,4),u("span",Vi,C(c(Z)(d.name)),1)]),u("div",Ti,C(a(d.value)),1)],8,Li)]))),128))])]),Ii])])]),_:1}))}}),We=S(Ci,[["__scopeId","data-v-90f05ac8"]]);var Ni=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ai(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var mt={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(t,e){(function(s,o){t.exports=o()})(Ni,function(){return function(){var n={686:function(a,i,l){l.d(i,{default:function(){return Tt}});var d=l(279),h=l.n(d),g=l(370),_=l.n(g),y=l(817),N=l.n(y);function V(B){try{return document.execCommand(B)}catch{return!1}}var M=function(w){var P=N()(w);return V("cut"),P},k=M;function R(B){var w=document.documentElement.getAttribute("dir")==="rtl",P=document.createElement("textarea");P.style.fontSize="12pt",P.style.border="0",P.style.padding="0",P.style.margin="0",P.style.position="absolute",P.style[w?"right":"left"]="-9999px";var A=window.pageYOffset||document.documentElement.scrollTop;return P.style.top="".concat(A,"px"),P.setAttribute("readonly",""),P.value=B,P}var z=function(w,P){var A=R(w);P.container.appendChild(A);var E=N()(A);return V("copy"),A.remove(),E},X=function(w){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},A="";return typeof w=="string"?A=z(w,P):w instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(w==null?void 0:w.type)?A=z(w.value,P):(A=N()(w),V("copy")),A},ne=X;function Q(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(P){return typeof P}:Q=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},Q(B)}var gt=function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=w.action,A=P===void 0?"copy":P,E=w.container,H=w.target,G=w.text;if(A!=="copy"&&A!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(H!==void 0)if(H&&Q(H)==="object"&&H.nodeType===1){if(A==="copy"&&H.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(A==="cut"&&(H.hasAttribute("readonly")||H.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(G)return ne(G,{container:E});if(H)return A==="cut"?k(H):ne(H,{container:E})},bt=gt;function re(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(P){return typeof P}:re=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},re(B)}function yt(B,w){if(!(B instanceof w))throw new TypeError("Cannot call a class as a function")}function Re(B,w){for(var P=0;P<w.length;P++){var A=w[P];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(B,A.key,A)}}function kt(B,w,P){return w&&Re(B.prototype,w),P&&Re(B,P),B}function $t(B,w){if(typeof w!="function"&&w!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(w&&w.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),w&&$e(B,w)}function $e(B,w){return $e=Object.setPrototypeOf||function(A,E){return A.__proto__=E,A},$e(B,w)}function St(B){var w=wt();return function(){var A=de(B),E;if(w){var H=de(this).constructor;E=Reflect.construct(A,arguments,H)}else E=A.apply(this,arguments);return Pt(this,E)}}function Pt(B,w){return w&&(re(w)==="object"||typeof w=="function")?w:Lt(B)}function Lt(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function wt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function de(B){return de=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},de(B)}function Se(B,w){var P="data-clipboard-".concat(B);if(w.hasAttribute(P))return w.getAttribute(P)}var Vt=function(B){$t(P,B);var w=St(P);function P(A,E){var H;return yt(this,P),H=w.call(this),H.resolveOptions(E),H.listenClick(A),H}return kt(P,[{key:"resolveOptions",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof E.action=="function"?E.action:this.defaultAction,this.target=typeof E.target=="function"?E.target:this.defaultTarget,this.text=typeof E.text=="function"?E.text:this.defaultText,this.container=re(E.container)==="object"?E.container:document.body}},{key:"listenClick",value:function(E){var H=this;this.listener=_()(E,"click",function(G){return H.onClick(G)})}},{key:"onClick",value:function(E){var H=E.delegateTarget||E.currentTarget,G=this.action(H)||"copy",fe=bt({action:G,container:this.container,target:this.target(H),text:this.text(H)});this.emit(fe?"success":"error",{action:G,text:fe,trigger:H,clearSelection:function(){H&&H.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(E){return Se("action",E)}},{key:"defaultTarget",value:function(E){var H=Se("target",E);if(H)return document.querySelector(H)}},{key:"defaultText",value:function(E){return Se("text",E)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(E){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return ne(E,H)}},{key:"cut",value:function(E){return k(E)}},{key:"isSupported",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],H=typeof E=="string"?[E]:E,G=!!document.queryCommandSupported;return H.forEach(function(fe){G=G&&!!document.queryCommandSupported(fe)}),G}}]),P}(h()),Tt=Vt},828:function(a){var i=9;if(typeof Element<"u"&&!Element.prototype.matches){var l=Element.prototype;l.matches=l.matchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector||l.webkitMatchesSelector}function d(h,g){for(;h&&h.nodeType!==i;){if(typeof h.matches=="function"&&h.matches(g))return h;h=h.parentNode}}a.exports=d},438:function(a,i,l){var d=l(828);function h(y,N,V,M,k){var R=_.apply(this,arguments);return y.addEventListener(V,R,k),{destroy:function(){y.removeEventListener(V,R,k)}}}function g(y,N,V,M,k){return typeof y.addEventListener=="function"?h.apply(null,arguments):typeof V=="function"?h.bind(null,document).apply(null,arguments):(typeof y=="string"&&(y=document.querySelectorAll(y)),Array.prototype.map.call(y,function(R){return h(R,N,V,M,k)}))}function _(y,N,V,M){return function(k){k.delegateTarget=d(k.target,N),k.delegateTarget&&M.call(y,k)}}a.exports=g},879:function(a,i){i.node=function(l){return l!==void 0&&l instanceof HTMLElement&&l.nodeType===1},i.nodeList=function(l){var d=Object.prototype.toString.call(l);return l!==void 0&&(d==="[object NodeList]"||d==="[object HTMLCollection]")&&"length"in l&&(l.length===0||i.node(l[0]))},i.string=function(l){return typeof l=="string"||l instanceof String},i.fn=function(l){var d=Object.prototype.toString.call(l);return d==="[object Function]"}},370:function(a,i,l){var d=l(879),h=l(438);function g(V,M,k){if(!V&&!M&&!k)throw new Error("Missing required arguments");if(!d.string(M))throw new TypeError("Second argument must be a String");if(!d.fn(k))throw new TypeError("Third argument must be a Function");if(d.node(V))return _(V,M,k);if(d.nodeList(V))return y(V,M,k);if(d.string(V))return N(V,M,k);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function _(V,M,k){return V.addEventListener(M,k),{destroy:function(){V.removeEventListener(M,k)}}}function y(V,M,k){return Array.prototype.forEach.call(V,function(R){R.addEventListener(M,k)}),{destroy:function(){Array.prototype.forEach.call(V,function(R){R.removeEventListener(M,k)})}}}function N(V,M,k){return h(document.body,V,M,k)}a.exports=g},817:function(a){function i(l){var d;if(l.nodeName==="SELECT")l.focus(),d=l.value;else if(l.nodeName==="INPUT"||l.nodeName==="TEXTAREA"){var h=l.hasAttribute("readonly");h||l.setAttribute("readonly",""),l.select(),l.setSelectionRange(0,l.value.length),h||l.removeAttribute("readonly"),d=l.value}else{l.hasAttribute("contenteditable")&&l.focus();var g=window.getSelection(),_=document.createRange();_.selectNodeContents(l),g.removeAllRanges(),g.addRange(_),d=g.toString()}return d}a.exports=i},279:function(a){function i(){}i.prototype={on:function(l,d,h){var g=this.e||(this.e={});return(g[l]||(g[l]=[])).push({fn:d,ctx:h}),this},once:function(l,d,h){var g=this;function _(){g.off(l,_),d.apply(h,arguments)}return _._=d,this.on(l,_,h)},emit:function(l){var d=[].slice.call(arguments,1),h=((this.e||(this.e={}))[l]||[]).slice(),g=0,_=h.length;for(g;g<_;g++)h[g].fn.apply(h[g].ctx,d);return this},off:function(l,d){var h=this.e||(this.e={}),g=h[l],_=[];if(g&&d)for(var y=0,N=g.length;y<N;y++)g[y].fn!==d&&g[y].fn._!==d&&_.push(g[y]);return _.length?h[l]=_:delete h[l],this}},a.exports=i,a.exports.TinyEmitter=i}},s={};function o(a){if(s[a])return s[a].exports;var i=s[a]={exports:{}};return n[a](i,i.exports,o),i.exports}return function(){o.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(i,{a:i}),i}}(),function(){o.d=function(a,i){for(var l in i)o.o(i,l)&&!o.o(a,l)&&Object.defineProperty(a,l,{enumerable:!0,get:i[l]})}}(),function(){o.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)}}(),o(686)}().default})})(mt);var Mi=mt.exports;const Ei=Ai(Mi),Bi=t=>(j("data-v-47fec8ad"),t=t(),x(),t),Oi={class:"item-card"},Hi={class:"item-name"},Di={class:"item-description"},Fi={class:"tags"},ji={class:"item-bar"},xi=["href"],Ri=Bi(()=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[u("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),Ui=[Ri],zi={class:"btn"},Gi=["href"],Ki=["src"],qi={class:"author-name"},Wi=m({__name:"PluginItemCard",props:{item:Object},setup(t){const e=t,n=()=>{const o=new Ei(".copy-btn",{text:()=>`npm install ${e.item.module_name}`});o.on("success",()=>{}),o.on("error",()=>{})},s=o=>{const a=o.replace(/^#/,""),[i,l,d]=a.match(/.{2}/g).map(g=>parseInt(g,16)),h=(i*299+l*587+d*114)/1e3;return{backgroundColor:o,color:h>128?"#000":"#fff"}};return(o,a)=>(r(),f("div",Oi,[u("div",Hi,C(e.item.name),1),u("div",Di,C(e.item.desc),1),u("div",Fi,[(r(!0),f(D,null,U(e.item.tags,i=>(r(),f("span",{class:"tag",key:i,style:be(s(i.color))},C(i.label),5))),128))]),u("div",ji,[u("a",{href:e.item.homepage,class:"btn"},Ui,8,xi),u("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),u("div",zi,[u("a",{class:"author-info",href:`https://github.com/${e.item.author}`},[u("img",{class:"icon avatar",src:`https://github.com/${e.item.author}.png?size=80`,alt:""},null,8,Ki),u("div",qi,C(e.item.author),1)],8,Gi)])])]))}}),Ji=S(Wi,[["__scopeId","data-v-47fec8ad"]]),Yi=t=>(j("data-v-b3db11d1"),t=t(),x(),t),Xi={class:"switch"},Qi=["checked"],Zi=Yi(()=>u("span",{class:"slider round"},null,-1)),el=m({__name:"ToggleSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup(t,{emit:e}){const n=e,s=o=>{n("update:modelValue",o)};return(o,a)=>(r(),f("label",Xi,[u("input",{type:"checkbox",checked:t.modelValue,onChange:a[0]||(a[0]=i=>s(i.target.checked))},null,40,Qi),Zi]))}}),tl=S(el,[["__scopeId","data-v-b3db11d1"]]),nl={class:"market"},ol={class:"search-box-div"},sl=["placeholder"],al={class:"items"},rl=m({__name:"PluginStore",setup(t){let e=I(!1),n=T(()=>{let a=s.value;return o.value&&(a=a.filter(i=>i.name.toLowerCase().includes(o.value.toLowerCase())||i.desc.toLowerCase().includes(o.value.toLowerCase())||i.author.toLowerCase().includes(o.value.toLowerCase())||i.module_name.toLowerCase().includes(o.value.toLowerCase()))),e.value&&(a=a.filter(i=>i.is_liteyuki_plugin)),a}),s=I([]),o=I("");return fetch("/plugins.json").then(a=>a.json()).then(a=>{a.forEach(i=>{i.is_liteyuki_plugin=!0}),s.value=a}).catch(a=>console.error(a)),fetch("https://registry.nonebot.dev/plugins.json").then(a=>a.json()).then(a=>{a.forEach(i=>{i.is_official=!1}),s.value=s.value.concat(a)}),(a,i)=>(r(),f("div",nl,[u("h1",null,C(c(Z)("pluginStore")),1),u("p",null,C(c(Z)("pluginStoreDesc")),1),u("div",ol,[et(u("input",{class:"item-search-box",type:"text","onUpdate:modelValue":i[0]||(i[0]=l=>Ve(o)?o.value=l:o=l),placeholder:c(Z)("search")},null,8,sl),[[tt,c(o)]]),L(tl,{modelValue:c(e),"onUpdate:modelValue":i[1]||(i[1]=l=>Ve(e)?e.value=l:e=l)},null,8,["modelValue"]),W(" "+C(c(Z)("liteyukiOnly")),1)]),u("div",al,[(r(!0),f(D,null,U(c(n),l=>(r(),$(Ji,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),il=S(rl,[["__scopeId","data-v-6346d2b7"]]),ll=t=>(j("data-v-debfd7f7"),t=t(),x(),t),cl={class:"item-card"},ul={class:"item-name"},dl={class:"item-description"},fl={class:"item-bar"},pl=["href"],vl=ll(()=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[u("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),hl=[vl],_l=["href"],ml=["src"],gl={class:"author-name"},bl=m({__name:"ResItemCard",props:{item:Object},setup(t){const e=t;return(n,s)=>(r(),f("div",cl,[u("div",ul,C(e.item.name),1),u("div",dl,C(e.item.description),1),u("div",fl,[u("a",{href:e.item.link,class:""},hl,8,pl),u("div",null,[u("a",{class:"author-info",href:`https://github.com/${e.item.author}`},[u("img",{class:"icon avatar",src:`https://github.com/${e.item.author}.png?size=80`,alt:""},null,8,ml),u("div",gl,C(e.item.author),1)],8,_l)])])]))}}),yl=S(bl,[["__scopeId","data-v-debfd7f7"]]),kl={class:"market"},$l={class:"search-box-div"},Sl=["placeholder"],Pl={class:"items"},Ll=m({__name:"ResStore",setup(t){let e=T(()=>s.value?n.value.filter(o=>o.name.toLowerCase().includes(s.value.toLowerCase())||o.description.toLowerCase().includes(s.value.toLowerCase())||o.author.toLowerCase().includes(s.value.toLowerCase())).reverse():n.value.reverse()),n=I([]),s=I("");return fetch("/resources.json").then(o=>o.json()).then(o=>{n.value=o}).catch(o=>console.error(o)),(o,a)=>(r(),f("div",kl,[u("h1",null,C(c(Z)("resourceStore")),1),u("div",$l,[et(u("input",{class:"item-search-box",type:"text",placeholder:c(Z)("search"),"onUpdate:modelValue":a[0]||(a[0]=i=>Ve(s)?s.value=i:s=i)},null,8,Sl),[[tt,c(s)]])]),u("div",Pl,[(r(!0),f(D,null,U(c(e),i=>(r(),$(yl,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),wl=S(Ll,[["__scopeId","data-v-121a15bf"]]),Il={extends:pt,enhanceApp({app:t}){t.component("StatsBar",We),t.component("PluginStore",il),t.component("ResStore",wl)},Layout:We};export{Il as R,Na as c,O as u};