mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-25 07:45:06 +08:00
12 lines
74 KiB
JavaScript
12 lines
74 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.DT2zdjFo.js","assets/chunks/framework.C4_mTacX.js"])))=>i.map(i=>d[i]);
|
||
import{u as Ne,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 Ae,_ as S,i as It,f as Ct,g as Me,h as T,j as u,k as c,p as x,l as j,m as oe,q as we,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 Xe,H as me,I as w,J as K,K as Qe,L as ge,M as ee,N as ce,O as Mt,P as be,Q as Le,R as Et,S as Ze,U as ye,V as Bt,W as Ot,X as Ht,Y as et,Z as tt,$ as Dt,a0 as Ft,a1 as xt,a2 as jt,a3 as Rt,a4 as Ut,a5 as zt,a6 as nt,a7 as ot,a8 as Ve}from"./framework.C4_mTacX.js";const Gt={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",thx_contributors:"Thanks the following contributors!"},zh:{stats:"统计信息",online:"在线",offline:"离线",total:"实例",fetching:"获取中",stars:"星标",forks:"分叉",issues:"开启议题",prs:"合并请求",visitors:"访客",size:"大小",plugins:"插件",resources:"主题资源",store:"商店",pluginStore:"插件商店",pluginStoreDesc:"内容来自轻雪插件商店,轻雪通过lpnonebot插件对NoneBot实现支持,引用了部分NoneBot插件",liteyukiOnly:"仅轻雪",search:"搜索",resourceStore:"资源商店",thx_contributors:"感谢以下贡献者!"}};let ve={};function st(t,e){return t=Be(t),Gt[t][e]}function Be(t){return t.includes("-")?t.split("-")[0]:t}function Kt(){const t=Be(Ne().site.value.lang);for(let e in ve)ve[e].value=st(t,e)}function Z(t){const e=Be(Ne().site.value.lang);return ve[t]=st(e,t),ve[t]}const qt=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))}}),Wt={key:0,class:"VPBackdrop"},Jt=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,n)=>(r(),$(Ae,{name:"fade"},{default:v(()=>[e.show?(r(),f("div",Wt)):b("",!0)]),_:1}))}}),Yt=S(Jt,[["__scopeId","data-v-8ef4ce84"]]),O=Ne;function Xt(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 Oe(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:Qt(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 Qt(t,e,n,s){return e?t.replace(/\/$/,"")+Te(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const Zt=t=>(x("data-v-61e78ba6"),t=t(),j(),t),en={class:"NotFound"},tn={class:"code"},nn={class:"title"},on=Zt(()=>u("div",{class:"divider"},null,-1)),sn={class:"quote"},an={class:"action"},rn=["href","aria-label"],ln=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",en,[u("p",tn,C(((a=c(e).notFound)==null?void 0:a.code)??"404"),1),u("h1",nn,C(((i=c(e).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),on,u("blockquote",sn,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",an,[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,rn)])])}}}),cn=S(ln,[["__scopeId","data-v-61e78ba6"]]);function at(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 un(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 dn(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=we("(min-width: 960px)"),o=I(!1),a=T(()=>{const M=n.value.sidebar,k=e.value.relativePath;return M?at(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?un(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 fn(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 pn(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 vn(){const{hasSidebar:t}=Y(),e=we("(min-width: 960px)"),n=we("(min-width: 1280px)");return{isAsideEnabled:T(()=>!n.value&&!e.value?!1:t.value?n.value:e.value)}}const Ce=[];function rt(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function He(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:hn(n),link:"#"+n.id,level:s}});return _n(e,t)}function hn(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 _n(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 mn(t,e){const{isAsideEnabled:n}=vn(),s=Xt(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:gn(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 gn(t){let e=0;for(;t!==document.body;){if(t===null)return NaN;e+=t.offsetTop,t=t.offsetParent}return e}const bn=["href","title"],yn=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,bn),a!=null&&a.length?(r(),$(o,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}}),it=S(yn,[["__scopeId","data-v-75d41a09"]]),kn={class:"content"},$n={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Sn=m({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:n}=O(),s=Xe([]);me(()=>{s.value=He(e.value.outline??n.value.outline)});const o=I(),a=I();return mn(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",kn,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",$n,C(c(rt)(c(n))),1),w(it,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),Pn=S(Sn,[["__scopeId","data-v-1a7b7e3f"]]),wn={class:"VPDocAsideCarbonAds"},Ln=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(n,s)=>(r(),f("div",wn,[w(c(e),{"carbon-ads":n.carbonAds},null,8,["carbon-ads"])]))}}),Vn=t=>(x("data-v-ba54ca11"),t=t(),j(),t),Tn={class:"VPDocAside"},In=Vn(()=>u("div",{class:"spacer"},null,-1)),Cn=m({__name:"VPDocAside",setup(t){const{theme:e}=O();return(n,s)=>(r(),f("div",Tn,[p(n.$slots,"aside-top",{},void 0,!0),p(n.$slots,"aside-outline-before",{},void 0,!0),w(Pn),p(n.$slots,"aside-outline-after",{},void 0,!0),In,p(n.$slots,"aside-ads-before",{},void 0,!0),c(e).carbonAds?(r(),$(Ln,{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)]))}}),Nn=S(Cn,[["__scopeId","data-v-ba54ca11"]]);function An(){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 Mn(){const{page:t,theme:e,frontmatter:n}=O();return T(()=>{var h,g,_,y,N,V,M,k;const s=at(e.value.sidebar,t.value.relativePath),o=dn(s),a=En(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 En(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&&Qe.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(Oe)(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"]))}}),Bn={class:"VPLastUpdated"},On=["datetime"],Hn=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",Bn,[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,On)])}}}),Dn=S(Hn,[["__scopeId","data-v-e2247888"]]),lt=t=>(x("data-v-bb44dcf3"),t=t(),j(),t),Fn={key:0,class:"VPDocFooter"},xn={key:0,class:"edit-info"},jn={key:0,class:"edit-link"},Rn=lt(()=>u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Un={key:1,class:"last-updated"},zn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Gn=lt(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Kn={class:"pager"},qn=["innerHTML"],Wn=["innerHTML"],Jn={class:"pager"},Yn=["innerHTML"],Xn=["innerHTML"],Qn=m({__name:"VPDocFooter",setup(t){const{theme:e,page:n,frontmatter:s}=O(),o=An(),a=Mn(),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",Fn,[p(h.$slots,"doc-footer-before",{},void 0,!0),i.value||l.value?(r(),f("div",xn,[i.value?(r(),f("div",jn,[w(q,{class:"edit-link-button",href:c(o).url,"no-icon":!0},{default:v(()=>[Rn,W(" "+C(c(o).text),1)]),_:1},8,["href"])])):b("",!0),l.value?(r(),f("div",Un,[w(Dn)])):b("",!0)])):b("",!0),(_=c(a).prev)!=null&&_.link||(y=c(a).next)!=null&&y.link?(r(),f("nav",zn,[Gn,u("div",Kn,[(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,qn),u("span",{class:"title",innerHTML:c(a).prev.text},null,8,Wn)]}),_:1},8,["href"])):b("",!0)]),u("div",Jn,[(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,Yn),u("span",{class:"title",innerHTML:c(a).next.text},null,8,Xn)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Zn=S(Qn,[["__scopeId","data-v-bb44dcf3"]]),eo=t=>(x("data-v-1b1e6eb6"),t=t(),j(),t),to={class:"container"},no=eo(()=>u("div",{class:"aside-curtain"},null,-1)),oo={class:"aside-container"},so={class:"aside-content"},ao={class:"content"},ro={class:"content-container"},io={class:"main"},lo=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",to,[c(o)?(r(),f("div",{key:0,class:F(["aside",{"left-aside":c(a)}])},[no,u("div",oo,[u("div",so,[w(Nn,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",ao,[u("div",ro,[p(l.$slots,"doc-before",{},void 0,!0),u("main",io,[w(h,{class:F(["vp-doc",[i.value,c(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),w(Zn,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)}}}),co=S(lo,[["__scopeId","data-v-1b1e6eb6"]]),uo=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(t){const e=t,n=T(()=>e.href&&Qe.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(Oe)(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"]))}}),fo=S(uo,[["__scopeId","data-v-0197a461"]]),po=["src","alt"],vo=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,po)):(r(),f(D,{key:1},[w(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),w(s,ee({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),he=S(vo,[["__scopeId","data-v-8fba738a"]]),ho=t=>(x("data-v-5c988386"),t=t(),j(),t),_o={class:"container"},mo={class:"main"},go={key:0,class:"name"},bo=["innerHTML"],yo=["innerHTML"],ko=["innerHTML"],$o={key:0,class:"actions"},So={key:0,class:"image"},Po={class:"image-container"},wo=ho(()=>u("div",{class:"image-bg"},null,-1)),Lo=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",_o,[u("div",mo,[p(n.$slots,"home-hero-info-before",{},void 0,!0),p(n.$slots,"home-hero-info",{},()=>[n.name?(r(),f("h1",go,[u("span",{innerHTML:n.name,class:"clip"},null,8,bo)])):b("",!0),n.text?(r(),f("p",{key:1,innerHTML:n.text,class:"text"},null,8,yo)):b("",!0),n.tagline?(r(),f("p",{key:2,innerHTML:n.tagline,class:"tagline"},null,8,ko)):b("",!0)],!0),p(n.$slots,"home-hero-info-after",{},void 0,!0),n.actions?(r(),f("div",$o,[(r(!0),f(D,null,U(n.actions,o=>(r(),f("div",{key:o.link,class:"action"},[w(fo,{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",So,[u("div",Po,[wo,p(n.$slots,"home-hero-image",{},()=>[n.image?(r(),$(he,{key:0,class:"image-src",image:n.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Vo=S(Lo,[["__scopeId","data-v-5c988386"]]),To=m({__name:"VPHomeHero",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).hero?(r(),$(Vo,{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)}}),Io=t=>(x("data-v-c7369462"),t=t(),j(),t),Co={class:"box"},No={key:0,class:"icon"},Ao=["innerHTML"],Mo=["innerHTML"],Eo=["innerHTML"],Bo={key:4,class:"link-text"},Oo={class:"link-text-value"},Ho=Io(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Do=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",Co,[typeof e.icon=="object"&&e.icon.wrap?(r(),f("div",No,[w(he,{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(),$(he,{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,Ao)):b("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,Mo),e.details?(r(),f("p",{key:3,class:"details",innerHTML:e.details},null,8,Eo)):b("",!0),e.linkText?(r(),f("div",Bo,[u("p",Oo,[W(C(e.linkText)+" ",1),Ho])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Fo=S(Do,[["__scopeId","data-v-c7369462"]]),xo={key:0,class:"VPFeatures"},jo={class:"container"},Ro={class:"items"},Uo=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",xo,[u("div",jo,[u("div",Ro,[(r(!0),f(D,null,U(s.features,a=>(r(),f("div",{key:a.title,class:F(["item",[n.value]])},[w(Fo,{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)}}),zo=S(Uo,[["__scopeId","data-v-677f1773"]]),Go=m({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=O();return(n,s)=>c(e).features?(r(),$(zo,{key:0,class:"VPHomeFeatures",features:c(e).features},null,8,["features"])):b("",!0)}}),Ko=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))}}),qo=S(Ko,[["__scopeId","data-v-af23e745"]]),Wo={class:"VPHome"},Jo=m({__name:"VPHome",setup(t){const{frontmatter:e}=O();return(n,s)=>{const o=se("Content");return r(),f("div",Wo,[p(n.$slots,"home-hero-before",{},void 0,!0),w(To,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),w(Go),p(n.$slots,"home-features-after",{},void 0,!0),c(e).markdownStyles!==!1?(r(),$(qo,{key:0},{default:v(()=>[w(o)]),_:1})):(r(),$(o,{key:1}))])}}}),Yo=S(Jo,[["__scopeId","data-v-1e2364af"]]),Xo={},Qo={class:"VPPage"};function Zo(t,e){const n=se("Content");return r(),f("div",Qo,[p(t.$slots,"page-top"),w(n),p(t.$slots,"page-bottom")])}const es=S(Xo,[["render",Zo]]),ts=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},()=>[w(cn)],!0):c(n).layout==="page"?(r(),$(es,{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(),$(Yo,{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(),$(co,{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))}}),ns=S(ts,[["__scopeId","data-v-b02ee7d2"]]),os={class:"container"},ss=["innerHTML"],as=["innerHTML"],rs=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",os,[c(e).footer.message?(r(),f("p",{key:0,class:"message",innerHTML:c(e).footer.message},null,8,ss)):b("",!0),c(e).footer.copyright?(r(),f("p",{key:1,class:"copyright",innerHTML:c(e).footer.copyright},null,8,as)):b("",!0)])],2)):b("",!0)}}),is=S(rs,[["__scopeId","data-v-d5f9ff66"]]);function ls(){const{theme:t,frontmatter:e}=O(),n=Xe([]),s=T(()=>n.value.length>0);return me(()=>{n.value=He(e.value.outline??t.value.outline)}),{headers:n,hasLocalNav:s}}const cs=t=>(x("data-v-f5705a94"),t=t(),j(),t),us={class:"menu-text"},ds=cs(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),fs={class:"header"},ps={class:"outline"},vs=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)}),Le("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",us,C(c(rt)(c(n))),1),ds],2)):(r(),f("button",{key:1,onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)),w(Ae,{name:"flyout"},{default:v(()=>[s.value?(r(),f("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:h},[u("div",fs,[u("a",{class:"top-link",href:"#",onClick:g},C(c(n).returnToTopLabel||"Return to top"),1)]),u("div",ps,[w(it,{headers:_.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),hs=S(vs,[["__scopeId","data-v-f5705a94"]]),_s=t=>(x("data-v-022e6087"),t=t(),j(),t),ms={class:"container"},gs=["aria-expanded"],bs=_s(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),ys={class:"menu-text"},ks=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:n}=O(),{hasSidebar:s}=Y(),{headers:o}=ls(),{y:a}=Ze(),i=I(0);te(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{o.value=He(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",ms,[c(s)?(r(),f("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:_[0]||(_[0]=y=>g.$emit("open-menu"))},[bs,u("span",ys,C(c(e).sidebarMenuLabel||"Menu"),1)],8,gs)):b("",!0),w(hs,{headers:c(o),navHeight:i.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),$s=S(ks,[["__scopeId","data-v-022e6087"]]);function Ss(){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 Ps={},ws={class:"VPSwitch",type:"button",role:"switch"},Ls={class:"check"},Vs={key:0,class:"icon"};function Ts(t,e){return r(),f("button",ws,[u("span",Ls,[t.$slots.default?(r(),f("span",Vs,[p(t.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Is=S(Ps,[["render",Ts],["__scopeId","data-v-8727337c"]]),ct=t=>(x("data-v-10656515"),t=t(),j(),t),Cs=ct(()=>u("span",{class:"vpi-sun sun"},null,-1)),Ns=ct(()=>u("span",{class:"vpi-moon moon"},null,-1)),As=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(),$(Is,{title:o.value,class:"VPSwitchAppearance","aria-checked":c(e),onClick:c(s)},{default:v(()=>[Cs,Ns]),_:1},8,["title","aria-checked","onClick"]))}}),De=S(As,[["__scopeId","data-v-10656515"]]),Ms={key:0,class:"VPNavBarAppearance"},Es=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",Ms,[w(De)])):b("",!0)}}),Bs=S(Es,[["__scopeId","data-v-0e100a46"]]),Fe=I();let ut=!1,Pe=0;function Os(t){const e=I(!1);if(ye){!ut&&Hs(),Pe++;const n=J(Fe,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||Ds()})}return Bt(e)}function Hs(){document.addEventListener("focusin",dt),ut=!0,Fe.value=document.activeElement}function Ds(){document.removeEventListener("focusin",dt)}function dt(){Fe.value=document.activeElement}const Fs={class:"VPMenuLink"},xs=m({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(n,s)=>(r(),f("div",Fs,[w(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(xs,[["__scopeId","data-v-90280799"]]),js={class:"VPMenuGroup"},Rs={key:0,class:"title"},Us=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",js,[e.text?(r(),f("p",Rs,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))]))}}),zs=S(Us,[["__scopeId","data-v-521dafbf"]]),Gs={class:"VPMenu"},Ks={key:0,class:"items"},qs=m({__name:"VPMenu",props:{items:{}},setup(t){return(e,n)=>(r(),f("div",Gs,[e.items?(r(),f("div",Ks,[(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(),$(zs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),p(e.$slots,"default",{},void 0,!0)]))}}),Ws=S(qs,[["__scopeId","data-v-4397d6aa"]]),Js=t=>(x("data-v-4e740509"),t=t(),j(),t),Ys=["aria-expanded","aria-label"],Xs={key:0,class:"text"},Qs=["innerHTML"],Zs=Js(()=>u("span",{class:"vpi-chevron-down text-icon"},null,-1)),ea={key:1,class:"vpi-more-horizontal icon"},ta={class:"menu"},na=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=I(!1),n=I();Os({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",Xs,[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,Qs)):b("",!0),Zs])):(r(),f("span",ea))],8,Ys),u("div",ta,[w(Ws,{items:o.items},{default:v(()=>[p(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),xe=S(na,[["__scopeId","data-v-4e740509"]]),oa=["href","aria-label","innerHTML"],sa=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,oa))}}),aa=S(sa,[["__scopeId","data-v-9abc2d2a"]]),ra={class:"VPSocialLinks"},ia=m({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,n)=>(r(),f("div",ra,[(r(!0),f(D,null,U(e.links,({link:s,icon:o,ariaLabel:a})=>(r(),$(aa,{key:s,icon:o,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),je=S(ia,[["__scopeId","data-v-b1e9369e"]]),la={key:0,class:"group translations"},ca={class:"trans-title"},ua={key:1,class:"group"},da={class:"item appearance"},fa={class:"label"},pa={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},_a=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(),$(xe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[c(s).length&&c(o).label?(r(),f("div",la,[u("p",ca,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",ua,[u("div",da,[u("p",fa,C(c(n).darkModeSwitchLabel||"Appearance"),1),u("div",pa,[w(De)])])])):b("",!0),c(n).socialLinks?(r(),f("div",va,[u("div",ha,[w(je,{class:"social-links-list",links:c(n).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),ma=S(_a,[["__scopeId","data-v-02848efe"]]),ga=t=>(x("data-v-2849f847"),t=t(),j(),t),ba=["aria-expanded"],ya=ga(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ka=[ya],$a=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"))},ka,10,ba))}}),Sa=S($a,[["__scopeId","data-v-2849f847"]]),Pa=["innerHTML"],wa=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,Pa)]),_:1},8,["class","href","noIcon","target","rel"]))}}),La=S(wa,[["__scopeId","data-v-c1f5da45"]]),Va=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(),$(xe,{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"]))}}),Ta=t=>(x("data-v-a0b069c0"),t=t(),j(),t),Ia={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ca=Ta(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Na=m({__name:"VPNavBarMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Ia,[Ca,(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(La,{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(),$(Va,{key:2,item:o},null,8,["item"]))],64))),128))])):b("",!0)}}),Aa=S(Na,[["__scopeId","data-v-a0b069c0"]]);function Ma(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 Ea=["aria-label"],Ba={class:"DocSearch-Button-Container"},Oa=u("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ha={class:"DocSearch-Button-Placeholder"},Da=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Ge=m({__name:"VPNavBarSearchButton",setup(t){const n=Ma({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",Ba,[Oa,u("span",Ha,C(c(n)("button.buttonText")),1)]),Da],8,Ea))}}),Fa={class:"VPNavBarSearch"},xa={id:"local-search"},ja={key:1,id:"docsearch"},Ra=m({__name:"VPNavBarSearch",setup(t){const e=Ot(()=>Ht(()=>import("./VPLocalSearchBox.DT2zdjFo.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);Le("k",_=>{(_.ctrlKey||_.metaKey)&&(_.preventDefault(),h.value=!0)}),Le("/",_=>{d(_)||(_.preventDefault(),h.value=!0)});const g="local";return(_,y)=>{var N;return r(),f("div",Fa,[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",xa,[w(Ge,{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",ja,[w(Ge,{onClick:i})]))],64)):b("",!0)])}}}),Ua=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)}}),za=S(Ua,[["__scopeId","data-v-ca530fac"]]),Ga=["href","rel","target"],Ka={key:1},qa={key:2},Wa=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(Oe)(c(o).link),rel:i.value,target:l.value},[p(d.$slots,"nav-bar-title-before",{},void 0,!0),c(n).logo?(r(),$(he,{key:0,class:"logo",image:c(n).logo},null,8,["image"])):b("",!0),c(n).siteTitle?(r(),f("span",Ka,C(c(n).siteTitle),1)):c(n).siteTitle===void 0?(r(),f("span",qa,C(c(e).title),1)):b("",!0),p(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ja=S(Wa,[["__scopeId","data-v-01425599"]]),Ya={class:"items"},Xa={class:"title"},Qa=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(),$(xe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:c(e).langMenuLabel||"Change language"},{default:v(()=>[u("div",Ya,[u("p",Xa,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)}}),Za=S(Qa,[["__scopeId","data-v-a0e85ae2"]]),er=t=>(x("data-v-03df6358"),t=t(),j(),t),tr={class:"wrapper"},nr={class:"container"},or={class:"title"},sr={class:"content"},ar={class:"content-body"},rr=er(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),ir=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const e=t,{y:n}=Ze(),{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",tr,[u("div",nr,[u("div",or,[w(Ja,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",sr,[u("div",ar,[p(i.$slots,"nav-bar-content-before",{},void 0,!0),w(Ra,{class:"search"}),w(Aa,{class:"menu"}),w(Za,{class:"translations"}),w(Bs,{class:"appearance"}),w(za,{class:"social-links"}),w(ma,{class:"extra"}),p(i.$slots,"nav-bar-content-after",{},void 0,!0),w(Sa,{class:"hamburger",active:i.isScreenOpen,onClick:l[0]||(l[0]=d=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),rr],2))}}),lr=S(ir,[["__scopeId","data-v-03df6358"]]),cr={key:0,class:"VPNavScreenAppearance"},ur={class:"text"},dr=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",cr,[u("p",ur,C(c(n).darkModeSwitchLabel||"Appearance"),1),w(De)])):b("",!0)}}),fr=S(dr,[["__scopeId","data-v-bd6a2777"]]),pr=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"]))}}),vr=S(pr,[["__scopeId","data-v-b37d669d"]]),hr=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"]))}}),ft=S(hr,[["__scopeId","data-v-fa8446d3"]]),_r={class:"VPNavScreenMenuGroupSection"},mr={key:0,class:"title"},gr=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,n)=>(r(),f("div",_r,[e.text?(r(),f("p",mr,C(e.text),1)):b("",!0),(r(!0),f(D,null,U(e.items,s=>(r(),$(ft,{key:s.text,item:s},null,8,["item"]))),128))]))}}),br=S(gr,[["__scopeId","data-v-19fc8329"]]),yr=t=>(x("data-v-b87097e2"),t=t(),j(),t),kr=["aria-controls","aria-expanded"],$r=["innerHTML"],Sr=yr(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),Pr=["id"],wr={key:0,class:"item"},Lr={key:1,class:"item"},Vr={key:2,class:"group"},Tr=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,$r),Sr],8,kr),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",wr,[w(ft,{item:l},null,8,["item"])])):"component"in l?(r(),f("div",Lr,[(r(),$(K(l.component),ee({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(r(),f("div",Vr,[w(br,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,Pr)],2))}}),Ir=S(Tr,[["__scopeId","data-v-b87097e2"]]),Cr={key:0,class:"VPNavScreenMenu"},Nr=m({__name:"VPNavScreenMenu",setup(t){const{theme:e}=O();return(n,s)=>c(e).nav?(r(),f("nav",Cr,[(r(!0),f(D,null,U(c(e).nav,o=>(r(),f(D,{key:JSON.stringify(o)},["link"in o?(r(),$(vr,{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(),$(Ir,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),Ar=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)}}),pt=t=>(x("data-v-55a701b1"),t=t(),j(),t),Mr=pt(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Er=pt(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Br={class:"list"},Or=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},[Mr,W(" "+C(c(n).label)+" ",1),Er]),u("ul",Br,[(r(!0),f(D,null,U(c(e),l=>(r(),f("li",{key:l.link,class:"item"},[w(q,{class:"link",href:l.link},{default:v(()=>[W(C(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),Hr=S(Or,[["__scopeId","data-v-55a701b1"]]),Dr={class:"container"},Fr=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=I(null),n=et(ye?document.body:null);return(s,o)=>(r(),$(Ae,{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",Dr,[p(s.$slots,"nav-screen-content-before",{},void 0,!0),w(Nr,{class:"menu"}),w(Hr,{class:"translations"}),w(fr,{class:"appearance"}),w(Ar,{class:"social-links"}),p(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),xr=S(Fr,[["__scopeId","data-v-39377809"]]),jr={key:0,class:"VPNav"},Rr=m({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:n,toggleScreen:s}=Ss(),{frontmatter:o}=O(),a=T(()=>o.value.navbar!==!1);return tt("close-screen",n),_e(()=>{ye&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(i,l)=>a.value?(r(),f("header",jr,[w(lr,{"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"]),w(xr,{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)}}),Ur=S(Rr,[["__scopeId","data-v-10d5e81f"]]),vt=t=>(x("data-v-c4699b33"),t=t(),j(),t),zr=["role","tabindex"],Gr=vt(()=>u("div",{class:"indicator"},null,-1)),Kr=vt(()=>u("span",{class:"vpi-chevron-right caret-icon"},null,-1)),qr=[Kr],Wr={key:1,class:"items"},Jr=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}=pn(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}),[Gr,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"},qr,32)):b("",!0)],16,zr)):b("",!0),k.item.items&&k.item.items.length?(r(),f("div",Wr,[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"])}}}),Yr=S(Jr,[["__scopeId","data-v-c4699b33"]]),Xr=m({__name:"VPSidebarGroup",props:{items:{}},setup(t){const e=I(!0);let n=null;return te(()=>{n=setTimeout(()=>{n=null,e.value=!1},300)}),xt(()=>{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}])},[w(Yr,{item:a,depth:0},null,8,["item"])],2))),128))}}),Qr=S(Xr,[["__scopeId","data-v-c3141239"]]),ht=t=>(x("data-v-52f4c170"),t=t(),j(),t),Zr=ht(()=>u("div",{class:"curtain"},null,-1)),ei={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ti=ht(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ni=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const{sidebarGroups:e,hasSidebar:n}=Y(),s=t,o=I(null),a=et(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]=jt(()=>{},["stop"]))},[Zr,u("nav",ei,[ti,p(l.$slots,"sidebar-nav-before",{},void 0,!0),(r(),$(Qr,{items:c(e),key:i.value},null,8,["items"])),p(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),oi=S(ni,[["__scopeId","data-v-52f4c170"]]),si=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))}}),ai=S(si,[["__scopeId","data-v-4a10e730"]]),ri=m({__name:"Layout",setup(t){const{isOpen:e,open:n,close:s}=Y(),o=ge();J(()=>o.path,s),fn(e,s);const{frontmatter:a}=O(),i=Rt(),l=T(()=>!!i["home-hero-image"]);return tt("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),w(ai),w(Yt,{class:"backdrop",show:c(e),onClick:c(s)},null,8,["show","onClick"]),w(Ur,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}),w($s,{open:c(e),onOpenMenu:c(n)},null,8,["open","onOpenMenu"]),w(oi,{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"]),w(ns,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}),w(is),p(d.$slots,"layout-bottom",{},void 0,!0)],2)):(r(),$(g,{key:1}))}}}),ii=S(ri,[["__scopeId","data-v-4be82239"]]),_t={Layout:ii,enhanceApp:({app:t})=>{t.component("Badge",qt)}},Re="LiteyukiStudio",Ue="LiteyukiBot",li="https://api.github.com",ci="https://git.liteyuki.icu/api/v1",ui="https://api.liteyuki.icu/online",di="https://api.liteyuki.icu/count",fi="https://api.liteyuki.icu/visit",pi="https://api.liteyuki.icu/visit_count",ie=`https://github.com/${Re}/${Ue}`,Ke="https://starmap.liteyuki.icu";async function vi(){try{const t=`${ci}/repos/${Re}/${Ue}`;console.log(t);const n=await(await fetch(t)).json();return{stars:n.stars_count,forks:n.forks_count,watchers:n.watchers_count,issues:0,prs:0,size:n.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function hi(){try{const e=await(await fetch(`${li}/repos/${Re}/${Ue}`)).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}}}async function _i(){const t=await hi(),e=await vi();return{stars:t.stars+e.stars,forks:t.forks+e.forks,watchers:t.watchers+e.watchers,issues:t.issues+e.issues,prs:t.prs+e.prs,size:t.size+e.size}}const ae={getTotal:async()=>{try{return(await(await fetch(di)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(ui)).json()).online}catch{return-1}},getGithubStats:_i,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(pi)).json()).count}catch{return-1}}};function mi(){const t="deviceId";let e=localStorage.getItem(t);return e||(e=bi(),localStorage.setItem(t,e)),e}async function gi(){const t=mi();try{await fetch(fi,{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 bi(){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)})}/*!
|
||
* vue-router v4.4.3
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/var qe;(function(t){t.pop="pop",t.push="push"})(qe||(qe={}));var We;(function(t){t.back="back",t.forward="forward",t.unknown=""})(We||(We={}));var Je;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Je||(Je={}));const yi=Symbol("");function ki(t,e,n){const s=()=>{t[e].delete(n)};le(s),Ut(s),zt(()=>{t[e].add(n)}),t[e].add(n)}function $i(t){const e=ce(yi,{}).value;e&&ki(e,"updateGuards",t)}const Si=t=>(x("data-v-be658c97"),t=t(),j(),t),Pi={class:"stats-bar-content"},wi={class:"stats-bar"},Li={class:"stats-info"},Vi={class:"stats-title"},Ti={class:"sections"},Ii=["href"],Ci={class:"section-tab"},Ni={class:"text"},Ai={class:"number"},Mi=Si(()=>u("div",{class:"starmap"},[u("iframe",{src:"https://starmap.liteyuki.icu/",width:"100%",height:"300px",class:"gamma"})],-1)),Ei=m({__name:"StatsBar",setup(t){const{Layout:e}=_t;let n=null;const s={total:{name:"total",color:"#00a6ff",value:I(-1),link:Ke},online:{name:"online",color:"#7eff7e",value:I(-1),link:Ke},stars:{name:"stars",color:"#ffcc00",value:I(-1),link:`${ie}/stargazers`},forks:{name:"forks",color:"#ff6600",value:I(-1),link:`${ie}/forks`},issues:{name:"issues",color:"#ff0000",value:I(-1),link:`${ie}/issues`},prs:{name:"prs",color:"#f15df1",value:I(-1),link:`${ie}/pulls`},plugins:{name:"plugins",color:"#a766ff",value:I(-1),link:"./store/plugin"},resources:{name:"resources",color:"#5a54fa",value:I(-1),link:"./store/resource"},visitors:{name:"visitors",color:"#00a6ff",value:I(-1),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(),gi(),le(()=>{clearInterval(i)})}),$i(()=>{Kt()}),(i,l)=>(r(),$(c(e),null,{"home-features-before":v(()=>[u("div",Pi,[u("div",wi,[u("div",Li,[u("div",Vi,C(c(Z)("stats")),1),u("div",Ti,[(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",Ci,[u("span",{class:"dot",style:be({backgroundColor:d.color})},null,4),u("span",Ni,C(c(Z)(d.name)),1)]),u("div",Ai,C(a(d.value)),1)],8,Ii)]))),128))])]),Mi])])]),_:1}))}}),Ye=S(Ei,[["__scopeId","data-v-be658c97"]]);var Bi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Oi(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()})(Bi,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(L){var P=N()(L);return V("cut"),P},k=M;function R(B){var L=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[L?"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(L,P){var A=R(L);P.container.appendChild(A);var E=N()(A);return V("copy"),A.remove(),E},X=function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},A="";return typeof L=="string"?A=z(L,P):L instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(L==null?void 0:L.type)?A=z(L.value,P):(A=N()(L),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 L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=L.action,A=P===void 0?"copy":P,E=L.container,H=L.target,G=L.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,L){if(!(B instanceof L))throw new TypeError("Cannot call a class as a function")}function ze(B,L){for(var P=0;P<L.length;P++){var A=L[P];A.enumerable=A.enumerable||!1,A.configurable=!0,"value"in A&&(A.writable=!0),Object.defineProperty(B,A.key,A)}}function kt(B,L,P){return L&&ze(B.prototype,L),P&&ze(B,P),B}function $t(B,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function");B.prototype=Object.create(L&&L.prototype,{constructor:{value:B,writable:!0,configurable:!0}}),L&&$e(B,L)}function $e(B,L){return $e=Object.setPrototypeOf||function(A,E){return A.__proto__=E,A},$e(B,L)}function St(B){var L=Lt();return function(){var A=de(B),E;if(L){var H=de(this).constructor;E=Reflect.construct(A,arguments,H)}else E=A.apply(this,arguments);return Pt(this,E)}}function Pt(B,L){return L&&(re(L)==="object"||typeof L=="function")?L:wt(B)}function wt(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function Lt(){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,L){var P="data-clipboard-".concat(B);if(L.hasAttribute(P))return L.getAttribute(P)}var Vt=function(B){$t(P,B);var L=St(P);function P(A,E){var H;return yt(this,P),H=L.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 Hi=mt.exports;const Di=Oi(Hi),Fi=t=>(x("data-v-47fec8ad"),t=t(),j(),t),xi={class:"item-card"},ji={class:"item-name"},Ri={class:"item-description"},Ui={class:"tags"},zi={class:"item-bar"},Gi=["href"],Ki=Fi(()=>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)),qi=[Ki],Wi={class:"btn"},Ji=["href"],Yi=["src"],Xi={class:"author-name"},Qi=m({__name:"PluginItemCard",props:{item:Object},setup(t){const e=t,n=()=>{const o=new Di(".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",xi,[u("div",ji,C(e.item.name),1),u("div",Ri,C(e.item.desc),1),u("div",Ui,[(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",zi,[u("a",{href:e.item.homepage,class:"btn"},qi,8,Gi),u("button",{class:"btn copy-btn",onClick:n},"复制安装命令"),u("div",Wi,[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,Yi),u("div",Xi,C(e.item.author),1)],8,Ji)])])]))}}),Zi=S(Qi,[["__scopeId","data-v-47fec8ad"]]),el=t=>(x("data-v-b3db11d1"),t=t(),j(),t),tl={class:"switch"},nl=["checked"],ol=el(()=>u("span",{class:"slider round"},null,-1)),sl=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",tl,[u("input",{type:"checkbox",checked:t.modelValue,onChange:a[0]||(a[0]=i=>s(i.target.checked))},null,40,nl),ol]))}}),al=S(sl,[["__scopeId","data-v-b3db11d1"]]),rl={class:"market"},il={class:"search-box-div"},ll=["placeholder"],cl={class:"items"},ul=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",rl,[u("h1",null,C(c(Z)("pluginStore")),1),u("p",null,C(c(Z)("pluginStoreDesc")),1),u("div",il,[nt(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,ll),[[ot,c(o)]]),w(al,{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",cl,[(r(!0),f(D,null,U(c(n),l=>(r(),$(Zi,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),dl=S(ul,[["__scopeId","data-v-6346d2b7"]]),fl=t=>(x("data-v-debfd7f7"),t=t(),j(),t),pl={class:"item-card"},vl={class:"item-name"},hl={class:"item-description"},_l={class:"item-bar"},ml=["href"],gl=fl(()=>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)),bl=[gl],yl=["href"],kl=["src"],$l={class:"author-name"},Sl=m({__name:"ResItemCard",props:{item:Object},setup(t){const e=t;return(n,s)=>(r(),f("div",pl,[u("div",vl,C(e.item.name),1),u("div",hl,C(e.item.description),1),u("div",_l,[u("a",{href:e.item.link,class:""},bl,8,ml),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,kl),u("div",$l,C(e.item.author),1)],8,yl)])])]))}}),Pl=S(Sl,[["__scopeId","data-v-debfd7f7"]]),wl={class:"market"},Ll={class:"search-box-div"},Vl=["placeholder"],Tl={class:"items"},Il=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",wl,[u("h1",null,C(c(Z)("resourceStore")),1),u("div",Ll,[nt(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,Vl),[[ot,c(s)]])]),u("div",Tl,[(r(!0),f(D,null,U(c(e),i=>(r(),$(Pl,{key:i.id,item:i},null,8,["item"]))),128))])]))}}),Cl=S(Il,[["__scopeId","data-v-121a15bf"]]),Ml={extends:_t,enhanceApp({app:t}){t.component("StatsBar",Ye),t.component("PluginStore",dl),t.component("ResStore",Cl)},Layout:Ye};export{Ml as R,Ma as c,Z as g,O as u};
|