const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.lNLl8LQo.js","assets/chunks/framework.C4_mTacX.js"])))=>i.map(i=>d[i]); import{u as Me,d as g,o as i,c as p,r as f,n as D,a as J,t as V,b as w,w as h,e as b,T as Ee,_ as $,i as Nt,f as Ct,g as Be,h as I,j as u,k as r,p as R,l as j,m as ae,q as Ve,s as N,v as Y,x as ge,y as te,z as ue,A as Oe,B as At,C as Mt,D as re,F as x,E as z,G as Ze,H as be,I as S,J as W,K as et,L as ke,M as ee,N as de,O as Et,P as ye,Q as Te,R as Bt,S as tt,U as $e,V as Ot,W as Ht,X as xt,Y as ot,Z as nt,$ as Dt,a0 as Ft,a1 as Rt,a2 as st,a3 as jt,a4 as Ut,a5 as zt,a6 as ne,a7 as se,a8 as Ie}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:"Visitors",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!",easterEgg:"Congratulations on finding the Easter egg!",publishPlugin:"Publish Plugin",publishRes:"Publish Resource",closeButtonText:"Close",submitButtonText:"Submit",resName:"Name",resDesc:"Description",resAuthor:"Author",resLink:"Download Link",resHomepage:"Homepage",resNameText:"Example: Kawaii Style Theme",resDescText:"Example: A kawaii style and color theme",resAuthorText:"Usually the github username, Example: yanyongyu",resLinkText:"Direct download link, usually zip package link",resHomepageText:'Optional, can be the name of the git platform repository"'},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:"感谢以下贡献者!",easterEgg:"恭喜你发现了彩蛋!",publishPlugin:"发布插件",publishRes:"发布资源",closeButtonText:"关闭",submitButtonText:"提交",resName:"名称",resDesc:"描述",resAuthor:"作者",resLink:"下载链接",resHomepage:"主页",resNameText:"示例:可爱风格主题",resDescText:"示例:一个可爱风格和配色的主题",resAuthorText:"通常为github用户名,示例:yanyongyu",resLinkText:"直接下载链接,通常为zip包链接",resHomepageText:"可选,可为git平台仓库名"}};let _e={};function at(t,e){return t=He(t),Gt[t][e]}function He(t){return t.includes("-")?t.split("-")[0]:t}function Kt(){const t=He(Me().site.value.lang);for(let e in _e)_e[e].value=at(t,e)}function F(t){const e=He(Me().site.value.lang);return _e[t]=at(e,t),_e[t]||t}const Wt=g({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(t){return(e,o)=>(i(),p("span",{class:D(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[J(V(e.text),1)])],2))}}),qt={key:0,class:"VPBackdrop"},Jt=g({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(t){return(e,o)=>(i(),w(Ee,{name:"fade"},{default:h(()=>[e.show?(i(),p("div",qt)):b("",!0)]),_:1}))}}),Yt=$(Jt,[["__scopeId","data-v-7e9fed24"]]),O=Me;function Xt(t,e){let o,s=!1;return()=>{o&&clearTimeout(o),s?o=setTimeout(t,e):(t(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Ne(t){return/^\//.test(t)?t:`/${t}`}function xe(t){const{pathname:e,search:o,hash:s,protocol:n}=new URL(t,"http://a.com");if(Nt(t)||t.startsWith("#")||!n.startsWith("http")||!Ct(e))return t;const{site:a}=O(),c=e.endsWith("/")||e.endsWith(".html")?t:t.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${o}${s}`);return Be(c)}function pe({correspondingLink:t=!1}={}){const{site:e,localeIndex:o,page:s,theme:n,hash:a}=O(),c=I(()=>{var d,v;return{label:(d=e.value.locales[o.value])==null?void 0:d.label,link:((v=e.value.locales[o.value])==null?void 0:v.link)||(o.value==="root"?"/":`/${o.value}/`)}});return{localeLinks:I(()=>Object.entries(e.value.locales).flatMap(([d,v])=>c.value.label===v.label?[]:{text:v.label,link:Qt(v.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&t,s.value.relativePath.slice(c.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:c}}function Qt(t,e,o,s){return e?t.replace(/\/$/,"")+Ne(o.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):t}const Zt=t=>(R("data-v-743bc607"),t=t(),j(),t),eo={class:"NotFound"},to={class:"code"},oo={class:"title"},no=Zt(()=>u("div",{class:"divider"},null,-1)),so={class:"quote"},ao={class:"action"},ro=["href","aria-label"],io=g({__name:"NotFound",setup(t){const{theme:e}=O(),{currentLang:o}=pe();return(s,n)=>{var a,c,l,d,v;return i(),p("div",eo,[u("p",to,V(((a=r(e).notFound)==null?void 0:a.code)??"404"),1),u("h1",oo,V(((c=r(e).notFound)==null?void 0:c.title)??"PAGE NOT FOUND"),1),no,u("blockquote",so,V(((l=r(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",ao,[u("a",{class:"link",href:r(Be)(r(o).link),"aria-label":((d=r(e).notFound)==null?void 0:d.linkLabel)??"go to home"},V(((v=r(e).notFound)==null?void 0:v.linkText)??"Take me home"),9,ro)])])}}}),lo=$(io,[["__scopeId","data-v-743bc607"]]);function rt(t,e){if(Array.isArray(t))return ve(t);if(t==null)return[];e=Ne(e);const o=Object.keys(t).sort((n,a)=>a.split("/").length-n.split("/").length).find(n=>e.startsWith(Ne(n))),s=o?t[o]:[];return Array.isArray(s)?ve(s):ve(s.items,s.base)}function co(t){const e=[];let o=0;for(const s in t){const n=t[s];if(n.items){o=e.push(n);continue}e[o]||e.push({items:[]}),e[o].items.push(n)}return e}function uo(t){const e=[];function o(s){for(const n of s)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&o(n.items)}return o(t),e}function Ce(t,e){return Array.isArray(e)?e.some(o=>Ce(t,o)):ae(t,e.link)?!0:e.items?Ce(t,e.items):!1}function ve(t,e){return[...t].map(o=>{const s={...o},n=s.base||e;return n&&s.link&&(s.link=n+s.link),s.items&&(s.items=ve(s.items,n)),s})}function X(){const{frontmatter:t,page:e,theme:o}=O(),s=Ve("(min-width: 960px)"),n=N(!1),a=I(()=>{const M=o.value.sidebar,y=e.value.relativePath;return M?rt(M,y):[]}),c=N(a.value);Y(a,(M,y)=>{JSON.stringify(M)!==JSON.stringify(y)&&(c.value=a.value)});const l=I(()=>t.value.sidebar!==!1&&c.value.length>0&&t.value.layout!=="home"),d=I(()=>v?t.value.aside==null?o.value.aside==="left":t.value.aside==="left":!1),v=I(()=>t.value.layout==="home"?!1:t.value.aside!=null?!!t.value.aside:o.value.aside!==!1),m=I(()=>l.value&&s.value),_=I(()=>l.value?co(c.value):[]);function k(){n.value=!0}function C(){n.value=!1}function T(){n.value?C():k()}return{isOpen:n,sidebar:c,sidebarGroups:_,hasSidebar:l,hasAside:v,leftAside:d,isSidebarEnabled:m,open:k,close:C,toggle:T}}function po(t,e){let o;ge(()=>{o=t.value?document.activeElement:void 0}),te(()=>{window.addEventListener("keyup",s)}),ue(()=>{window.removeEventListener("keyup",s)});function s(n){n.key==="Escape"&&t.value&&(e(),o==null||o.focus())}}function fo(t){const{page:e,hash:o}=O(),s=N(!1),n=I(()=>t.value.collapsed!=null),a=I(()=>!!t.value.link),c=N(!1),l=()=>{c.value=ae(e.value.relativePath,t.value.link)};Y([e,t,o],l),te(l);const d=I(()=>c.value?!0:t.value.items?Ce(e.value.relativePath,t.value.items):!1),v=I(()=>!!(t.value.items&&t.value.items.length));ge(()=>{s.value=!!(n.value&&t.value.collapsed)}),Oe(()=>{(c.value||d.value)&&(s.value=!1)});function m(){n.value&&(s.value=!s.value)}return{collapsed:s,collapsible:n,isLink:a,isActiveLink:c,hasActiveLink:d,hasChildren:v,toggle:m}}function ho(){const{hasSidebar:t}=X(),e=Ve("(min-width: 960px)"),o=Ve("(min-width: 1280px)");return{isAsideEnabled:I(()=>!o.value&&!e.value?!1:t.value?o.value:e.value)}}const Ae=[];function it(t){return typeof t.outline=="object"&&!Array.isArray(t.outline)&&t.outline.label||t.outlineTitle||"On this page"}function De(t){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(o=>o.id&&o.hasChildNodes()).map(o=>{const s=Number(o.tagName[1]);return{element:o,title:vo(o),link:"#"+o.id,level:s}});return _o(e,t)}function vo(t){let e="";for(const o of t.childNodes)if(o.nodeType===1){if(o.classList.contains("VPBadge")||o.classList.contains("header-anchor")||o.classList.contains("ignore-header"))continue;e+=o.textContent}else o.nodeType===3&&(e+=o.textContent);return e.trim()}function _o(t,e){if(e===!1)return[];const o=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,n]=typeof o=="number"?[o,o]:o==="deep"?[2,6]:o;t=t.filter(c=>c.level>=s&&c.level<=n),Ae.length=0;for(const{element:c,link:l}of t)Ae.push({element:c,link:l});const a=[];e:for(let c=0;c=0;d--){const v=t[d];if(v.level{requestAnimationFrame(a),window.addEventListener("scroll",s)}),At(()=>{c(location.hash)}),ue(()=>{window.removeEventListener("scroll",s)});function a(){if(!o.value)return;const l=window.scrollY,d=window.innerHeight,v=document.body.offsetHeight,m=Math.abs(l+d-v)<1,_=Ae.map(({element:C,link:T})=>({link:T,top:go(C)})).filter(({top:C})=>!Number.isNaN(C)).sort((C,T)=>C.top-T.top);if(!_.length){c(null);return}if(l<1){c(null);return}if(m){c(_[_.length-1].link);return}let k=null;for(const{link:C,top:T}of _){if(T>l+Mt()+4)break;k=C}c(k)}function c(l){n&&n.classList.remove("active"),l==null?n=null:n=t.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const d=n;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 go(t){let e=0;for(;t!==document.body;){if(t===null)return NaN;e+=t.offsetTop,t=t.offsetParent}return e}const bo=["href","title"],ko=g({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(t){function e({target:o}){const s=o.href.split("#")[1],n=document.getElementById(decodeURIComponent(s));n==null||n.focus({preventScroll:!0})}return(o,s)=>{const n=re("VPDocOutlineItem",!0);return i(),p("ul",{class:D(["VPDocOutlineItem",o.root?"root":"nested"])},[(i(!0),p(x,null,z(o.headers,({children:a,link:c,title:l})=>(i(),p("li",null,[u("a",{class:"outline-link",href:c,onClick:e,title:l},V(l),9,bo),a!=null&&a.length?(i(),w(n,{key:0,headers:a},null,8,["headers"])):b("",!0)]))),256))],2)}}}),lt=$(ko,[["__scopeId","data-v-1406b17f"]]),yo={class:"content"},$o={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},So=g({__name:"VPDocAsideOutline",setup(t){const{frontmatter:e,theme:o}=O(),s=Ze([]);be(()=>{s.value=De(e.value.outline??o.value.outline)});const n=N(),a=N();return mo(n,a),(c,l)=>(i(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:D(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:n},[u("div",yo,[u("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),u("div",$o,V(r(it)(r(o))),1),S(lt,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),wo=$(So,[["__scopeId","data-v-d2c84864"]]),Po={class:"VPDocAsideCarbonAds"},Lo=g({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(t){const e=()=>null;return(o,s)=>(i(),p("div",Po,[S(r(e),{"carbon-ads":o.carbonAds},null,8,["carbon-ads"])]))}}),Vo=t=>(R("data-v-2fb953a0"),t=t(),j(),t),To={class:"VPDocAside"},Io=Vo(()=>u("div",{class:"spacer"},null,-1)),No=g({__name:"VPDocAside",setup(t){const{theme:e}=O();return(o,s)=>(i(),p("div",To,[f(o.$slots,"aside-top",{},void 0,!0),f(o.$slots,"aside-outline-before",{},void 0,!0),S(wo),f(o.$slots,"aside-outline-after",{},void 0,!0),Io,f(o.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(i(),w(Lo,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):b("",!0),f(o.$slots,"aside-ads-after",{},void 0,!0),f(o.$slots,"aside-bottom",{},void 0,!0)]))}}),Co=$(No,[["__scopeId","data-v-2fb953a0"]]);function Ao(){const{theme:t,page:e}=O();return I(()=>{const{text:o="Edit this page",pattern:s=""}=t.value.editLink||{};let n;return typeof s=="function"?n=s(e.value):n=s.replace(/:path/g,e.value.filePath),{url:n,text:o}})}function Mo(){const{page:t,theme:e,frontmatter:o}=O();return I(()=>{var v,m,_,k,C,T,M,y;const s=rt(e.value.sidebar,t.value.relativePath),n=uo(s),a=Eo(n,U=>U.link.replace(/[?#].*$/,"")),c=a.findIndex(U=>ae(t.value.relativePath,U.link)),l=((v=e.value.docFooter)==null?void 0:v.prev)===!1&&!o.value.prev||o.value.prev===!1,d=((m=e.value.docFooter)==null?void 0:m.next)===!1&&!o.value.next||o.value.next===!1;return{prev:l?void 0:{text:(typeof o.value.prev=="string"?o.value.prev:typeof o.value.prev=="object"?o.value.prev.text:void 0)??((_=a[c-1])==null?void 0:_.docFooterText)??((k=a[c-1])==null?void 0:k.text),link:(typeof o.value.prev=="object"?o.value.prev.link:void 0)??((C=a[c-1])==null?void 0:C.link)},next:d?void 0:{text:(typeof o.value.next=="string"?o.value.next:typeof o.value.next=="object"?o.value.next.text:void 0)??((T=a[c+1])==null?void 0:T.docFooterText)??((M=a[c+1])==null?void 0:M.text),link:(typeof o.value.next=="object"?o.value.next.link:void 0)??((y=a[c+1])==null?void 0:y.link)}}})}function Eo(t,e){const o=new Set;return t.filter(s=>{const n=e(s);return o.has(n)?!1:o.add(n)})}const q=g({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(t){const e=t,o=I(()=>e.tag??(e.href?"a":"span")),s=I(()=>e.href&&et.test(e.href)||e.target==="_blank");return(n,a)=>(i(),w(W(o.value),{class:D(["VPLink",{link:n.href,"vp-external-link-icon":s.value,"no-icon":n.noIcon}]),href:n.href?r(xe)(n.href):void 0,target:n.target??(s.value?"_blank":void 0),rel:n.rel??(s.value?"noreferrer":void 0)},{default:h(()=>[f(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Bo={class:"VPLastUpdated"},Oo=["datetime"],Ho=g({__name:"VPDocFooterLastUpdated",setup(t){const{theme:e,page:o,lang:s}=O(),n=I(()=>new Date(o.value.lastUpdated)),a=I(()=>n.value.toISOString()),c=N("");return te(()=>{ge(()=>{var l,d,v;c.value=new Intl.DateTimeFormat((d=(l=e.value.lastUpdated)==null?void 0:l.formatOptions)!=null&&d.forceLocale?s.value:void 0,((v=e.value.lastUpdated)==null?void 0:v.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(l,d)=>{var v;return i(),p("p",Bo,[J(V(((v=r(e).lastUpdated)==null?void 0:v.text)||r(e).lastUpdatedText||"Last updated")+": ",1),u("time",{datetime:a.value},V(c.value),9,Oo)])}}}),xo=$(Ho,[["__scopeId","data-v-8a8c5efc"]]),ct=t=>(R("data-v-655c432b"),t=t(),j(),t),Do={key:0,class:"VPDocFooter"},Fo={key:0,class:"edit-info"},Ro={key:0,class:"edit-link"},jo=ct(()=>u("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Uo={key:1,class:"last-updated"},zo={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Go=ct(()=>u("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),Ko={class:"pager"},Wo=["innerHTML"],qo=["innerHTML"],Jo={class:"pager"},Yo=["innerHTML"],Xo=["innerHTML"],Qo=g({__name:"VPDocFooter",setup(t){const{theme:e,page:o,frontmatter:s}=O(),n=Ao(),a=Mo(),c=I(()=>e.value.editLink&&s.value.editLink!==!1),l=I(()=>o.value.lastUpdated),d=I(()=>c.value||l.value||a.value.prev||a.value.next);return(v,m)=>{var _,k,C,T;return d.value?(i(),p("footer",Do,[f(v.$slots,"doc-footer-before",{},void 0,!0),c.value||l.value?(i(),p("div",Fo,[c.value?(i(),p("div",Ro,[S(q,{class:"edit-link-button",href:r(n).url,"no-icon":!0},{default:h(()=>[jo,J(" "+V(r(n).text),1)]),_:1},8,["href"])])):b("",!0),l.value?(i(),p("div",Uo,[S(xo)])):b("",!0)])):b("",!0),(_=r(a).prev)!=null&&_.link||(k=r(a).next)!=null&&k.link?(i(),p("nav",zo,[Go,u("div",Ko,[(C=r(a).prev)!=null&&C.link?(i(),w(q,{key:0,class:"pager-link prev",href:r(a).prev.link},{default:h(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=r(e).docFooter)==null?void 0:M.prev)||"Previous page"},null,8,Wo),u("span",{class:"title",innerHTML:r(a).prev.text},null,8,qo)]}),_:1},8,["href"])):b("",!0)]),u("div",Jo,[(T=r(a).next)!=null&&T.link?(i(),w(q,{key:0,class:"pager-link next",href:r(a).next.link},{default:h(()=>{var M;return[u("span",{class:"desc",innerHTML:((M=r(e).docFooter)==null?void 0:M.next)||"Next page"},null,8,Yo),u("span",{class:"title",innerHTML:r(a).next.text},null,8,Xo)]}),_:1},8,["href"])):b("",!0)])])):b("",!0)])):b("",!0)}}}),Zo=$(Qo,[["__scopeId","data-v-655c432b"]]),en=t=>(R("data-v-1c9751e9"),t=t(),j(),t),tn={class:"container"},on=en(()=>u("div",{class:"aside-curtain"},null,-1)),nn={class:"aside-container"},sn={class:"aside-content"},an={class:"content"},rn={class:"content-container"},ln={class:"main"},cn=g({__name:"VPDoc",setup(t){const{theme:e}=O(),o=ke(),{hasSidebar:s,hasAside:n,leftAside:a}=X(),c=I(()=>o.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,d)=>{const v=re("Content");return i(),p("div",{class:D(["VPDoc",{"has-sidebar":r(s),"has-aside":r(n)}])},[f(l.$slots,"doc-top",{},void 0,!0),u("div",tn,[r(n)?(i(),p("div",{key:0,class:D(["aside",{"left-aside":r(a)}])},[on,u("div",nn,[u("div",sn,[S(Co,null,{"aside-top":h(()=>[f(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[f(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[f(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[f(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[f(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[f(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):b("",!0),u("div",an,[u("div",rn,[f(l.$slots,"doc-before",{},void 0,!0),u("main",ln,[S(v,{class:D(["vp-doc",[c.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),S(Zo,null,{"doc-footer-before":h(()=>[f(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(l.$slots,"doc-after",{},void 0,!0)])])]),f(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),un=$(cn,[["__scopeId","data-v-1c9751e9"]]),dn=g({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(t){const e=t,o=I(()=>e.href&&et.test(e.href)),s=I(()=>e.tag||e.href?"a":"button");return(n,a)=>(i(),w(W(s.value),{class:D(["VPButton",[n.size,n.theme]]),href:n.href?r(xe)(n.href):void 0,target:e.target??(o.value?"_blank":void 0),rel:e.rel??(o.value?"noreferrer":void 0)},{default:h(()=>[J(V(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),pn=$(dn,[["__scopeId","data-v-885c0d42"]]),fn=["src","alt"],hn=g({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(t){return(e,o)=>{const s=re("VPImage",!0);return e.image?(i(),p(x,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),p("img",ee({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(Be)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,fn)):(i(),p(x,{key:1},[S(s,ee({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),S(s,ee({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):b("",!0)}}}),me=$(hn,[["__scopeId","data-v-e2df84be"]]),vn=t=>(R("data-v-fad16c33"),t=t(),j(),t),_n={class:"container"},mn={class:"main"},gn={key:0,class:"name"},bn=["innerHTML"],kn=["innerHTML"],yn=["innerHTML"],$n={key:0,class:"actions"},Sn={key:0,class:"image"},wn={class:"image-container"},Pn=vn(()=>u("div",{class:"image-bg"},null,-1)),Ln=g({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(t){const e=de("hero-image-slot-exists");return(o,s)=>(i(),p("div",{class:D(["VPHero",{"has-image":o.image||r(e)}])},[u("div",_n,[u("div",mn,[f(o.$slots,"home-hero-info-before",{},void 0,!0),f(o.$slots,"home-hero-info",{},()=>[o.name?(i(),p("h1",gn,[u("span",{innerHTML:o.name,class:"clip"},null,8,bn)])):b("",!0),o.text?(i(),p("p",{key:1,innerHTML:o.text,class:"text"},null,8,kn)):b("",!0),o.tagline?(i(),p("p",{key:2,innerHTML:o.tagline,class:"tagline"},null,8,yn)):b("",!0)],!0),f(o.$slots,"home-hero-info-after",{},void 0,!0),o.actions?(i(),p("div",$n,[(i(!0),p(x,null,z(o.actions,n=>(i(),p("div",{key:n.link,class:"action"},[S(pn,{tag:"a",size:"medium",theme:n.theme,text:n.text,href:n.link,target:n.target,rel:n.rel},null,8,["theme","text","href","target","rel"])]))),128))])):b("",!0),f(o.$slots,"home-hero-actions-after",{},void 0,!0)]),o.image||r(e)?(i(),p("div",Sn,[u("div",wn,[Pn,f(o.$slots,"home-hero-image",{},()=>[o.image?(i(),w(me,{key:0,class:"image-src",image:o.image},null,8,["image"])):b("",!0)],!0)])])):b("",!0)])],2))}}),Vn=$(Ln,[["__scopeId","data-v-fad16c33"]]),Tn=g({__name:"VPHomeHero",setup(t){const{frontmatter:e}=O();return(o,s)=>r(e).hero?(i(),w(Vn,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":h(()=>[f(o.$slots,"home-hero-info-before")]),"home-hero-info":h(()=>[f(o.$slots,"home-hero-info")]),"home-hero-info-after":h(()=>[f(o.$slots,"home-hero-info-after")]),"home-hero-actions-after":h(()=>[f(o.$slots,"home-hero-actions-after")]),"home-hero-image":h(()=>[f(o.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):b("",!0)}}),In=t=>(R("data-v-cf4dac36"),t=t(),j(),t),Nn={class:"box"},Cn={key:0,class:"icon"},An=["innerHTML"],Mn=["innerHTML"],En=["innerHTML"],Bn={key:4,class:"link-text"},On={class:"link-text-value"},Hn=In(()=>u("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),xn=g({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(t){return(e,o)=>(i(),w(q,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:h(()=>[u("article",Nn,[typeof e.icon=="object"&&e.icon.wrap?(i(),p("div",Cn,[S(me,{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"?(i(),w(me,{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?(i(),p("div",{key:2,class:"icon",innerHTML:e.icon},null,8,An)):b("",!0),u("h2",{class:"title",innerHTML:e.title},null,8,Mn),e.details?(i(),p("p",{key:3,class:"details",innerHTML:e.details},null,8,En)):b("",!0),e.linkText?(i(),p("div",Bn,[u("p",On,[J(V(e.linkText)+" ",1),Hn])])):b("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Dn=$(xn,[["__scopeId","data-v-cf4dac36"]]),Fn={key:0,class:"VPFeatures"},Rn={class:"container"},jn={class:"items"},Un=g({__name:"VPFeatures",props:{features:{}},setup(t){const e=t,o=I(()=>{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,n)=>s.features?(i(),p("div",Fn,[u("div",Rn,[u("div",jn,[(i(!0),p(x,null,z(s.features,a=>(i(),p("div",{key:a.title,class:D(["item",[o.value]])},[S(Dn,{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)}}),zn=$(Un,[["__scopeId","data-v-ac35a1e4"]]),Gn=g({__name:"VPHomeFeatures",setup(t){const{frontmatter:e}=O();return(o,s)=>r(e).features?(i(),w(zn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):b("",!0)}}),Kn=g({__name:"VPHomeContent",setup(t){const{width:e}=Et({initialWidth:0,includeScrollbar:!1});return(o,s)=>(i(),p("div",{class:"vp-doc container",style:ye(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[f(o.$slots,"default",{},void 0,!0)],4))}}),Wn=$(Kn,[["__scopeId","data-v-6adace40"]]),qn={class:"VPHome"},Jn=g({__name:"VPHome",setup(t){const{frontmatter:e}=O();return(o,s)=>{const n=re("Content");return i(),p("div",qn,[f(o.$slots,"home-hero-before",{},void 0,!0),S(Tn,null,{"home-hero-info-before":h(()=>[f(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":h(()=>[f(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":h(()=>[f(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":h(()=>[f(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":h(()=>[f(o.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(o.$slots,"home-hero-after",{},void 0,!0),f(o.$slots,"home-features-before",{},void 0,!0),S(Gn),f(o.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(i(),w(Wn,{key:0},{default:h(()=>[S(n)]),_:1})):(i(),w(n,{key:1}))])}}}),Yn=$(Jn,[["__scopeId","data-v-da614b08"]]),Xn={},Qn={class:"VPPage"};function Zn(t,e){const o=re("Content");return i(),p("div",Qn,[f(t.$slots,"page-top"),S(o),f(t.$slots,"page-bottom")])}const es=$(Xn,[["render",Zn]]),ts=g({__name:"VPContent",setup(t){const{page:e,frontmatter:o}=O(),{hasSidebar:s}=X();return(n,a)=>(i(),p("div",{class:D(["VPContent",{"has-sidebar":r(s),"is-home":r(o).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?f(n.$slots,"not-found",{key:0},()=>[S(lo)],!0):r(o).layout==="page"?(i(),w(es,{key:1},{"page-top":h(()=>[f(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[f(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(o).layout==="home"?(i(),w(Yn,{key:2},{"home-hero-before":h(()=>[f(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":h(()=>[f(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":h(()=>[f(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":h(()=>[f(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":h(()=>[f(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":h(()=>[f(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[f(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[f(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[f(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(o).layout&&r(o).layout!=="doc"?(i(),w(W(r(o).layout),{key:3})):(i(),w(un,{key:4},{"doc-top":h(()=>[f(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[f(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[f(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[f(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[f(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[f(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[f(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[f(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[f(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[f(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[f(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),os=$(ts,[["__scopeId","data-v-f70c28c5"]]),ns={class:"container"},ss=["innerHTML"],as=["innerHTML"],rs=g({__name:"VPFooter",setup(t){const{theme:e,frontmatter:o}=O(),{hasSidebar:s}=X();return(n,a)=>r(e).footer&&r(o).footer!==!1?(i(),p("footer",{key:0,class:D(["VPFooter",{"has-sidebar":r(s)}])},[u("div",ns,[r(e).footer.message?(i(),p("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,ss)):b("",!0),r(e).footer.copyright?(i(),p("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,as)):b("",!0)])],2)):b("",!0)}}),is=$(rs,[["__scopeId","data-v-1a52749f"]]);function ls(){const{theme:t,frontmatter:e}=O(),o=Ze([]),s=I(()=>o.value.length>0);return be(()=>{o.value=De(e.value.outline??t.value.outline)}),{headers:o,hasLocalNav:s}}const cs=t=>(R("data-v-c1bcce0a"),t=t(),j(),t),us={class:"menu-text"},ds=cs(()=>u("span",{class:"vpi-chevron-right icon"},null,-1)),ps={class:"header"},fs={class:"outline"},hs=g({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(t){const e=t,{theme:o}=O(),s=N(!1),n=N(0),a=N(),c=N();function l(_){var k;(k=a.value)!=null&&k.contains(_.target)||(s.value=!1)}Y(s,_=>{if(_){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),Te("Escape",()=>{s.value=!1}),be(()=>{s.value=!1});function d(){s.value=!s.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function v(_){_.target.classList.contains("outline-link")&&(c.value&&(c.value.style.transition="none"),Bt(()=>{s.value=!1}))}function m(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(_,k)=>(i(),p("div",{class:"VPLocalNavOutlineDropdown",style:ye({"--vp-vh":n.value+"px"}),ref_key:"main",ref:a},[_.headers.length>0?(i(),p("button",{key:0,onClick:d,class:D({open:s.value})},[u("span",us,V(r(it)(r(o))),1),ds],2)):(i(),p("button",{key:1,onClick:m},V(r(o).returnToTopLabel||"Return to top"),1)),S(Ee,{name:"flyout"},{default:h(()=>[s.value?(i(),p("div",{key:0,ref_key:"items",ref:c,class:"items",onClick:v},[u("div",ps,[u("a",{class:"top-link",href:"#",onClick:m},V(r(o).returnToTopLabel||"Return to top"),1)]),u("div",fs,[S(lt,{headers:_.headers},null,8,["headers"])])],512)):b("",!0)]),_:1})],4))}}),vs=$(hs,[["__scopeId","data-v-c1bcce0a"]]),_s=t=>(R("data-v-cb0eba99"),t=t(),j(),t),ms={class:"container"},gs=["aria-expanded"],bs=_s(()=>u("span",{class:"vpi-align-left menu-icon"},null,-1)),ks={class:"menu-text"},ys=g({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(t){const{theme:e,frontmatter:o}=O(),{hasSidebar:s}=X(),{headers:n}=ls(),{y:a}=tt(),c=N(0);te(()=>{c.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),be(()=>{n.value=De(o.value.outline??e.value.outline)});const l=I(()=>n.value.length===0),d=I(()=>l.value&&!s.value),v=I(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:l.value,fixed:d.value}));return(m,_)=>r(o).layout!=="home"&&(!d.value||r(a)>=c.value)?(i(),p("div",{key:0,class:D(v.value)},[u("div",ms,[r(s)?(i(),p("button",{key:0,class:"menu","aria-expanded":m.open,"aria-controls":"VPSidebarNav",onClick:_[0]||(_[0]=k=>m.$emit("open-menu"))},[bs,u("span",ks,V(r(e).sidebarMenuLabel||"Menu"),1)],8,gs)):b("",!0),S(vs,{headers:r(n),navHeight:c.value},null,8,["headers","navHeight"])])],2)):b("",!0)}}),$s=$(ys,[["__scopeId","data-v-cb0eba99"]]);function Ss(){const t=N(!1);function e(){t.value=!0,window.addEventListener("resize",n)}function o(){t.value=!1,window.removeEventListener("resize",n)}function s(){t.value?o():e()}function n(){window.outerWidth>=768&&o()}const a=ke();return Y(()=>a.path,o),{isScreenOpen:t,openScreen:e,closeScreen:o,toggleScreen:s}}const ws={},Ps={class:"VPSwitch",type:"button",role:"switch"},Ls={class:"check"},Vs={key:0,class:"icon"};function Ts(t,e){return i(),p("button",Ps,[u("span",Ls,[t.$slots.default?(i(),p("span",Vs,[f(t.$slots,"default",{},void 0,!0)])):b("",!0)])])}const Is=$(ws,[["render",Ts],["__scopeId","data-v-be0da757"]]),ut=t=>(R("data-v-d86ee44f"),t=t(),j(),t),Ns=ut(()=>u("span",{class:"vpi-sun sun"},null,-1)),Cs=ut(()=>u("span",{class:"vpi-moon moon"},null,-1)),As=g({__name:"VPSwitchAppearance",setup(t){const{isDark:e,theme:o}=O(),s=de("toggle-appearance",()=>{e.value=!e.value}),n=N("");return Oe(()=>{n.value=e.value?o.value.lightModeSwitchTitle||"Switch to light theme":o.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,c)=>(i(),w(Is,{title:n.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(s)},{default:h(()=>[Ns,Cs]),_:1},8,["title","aria-checked","onClick"]))}}),Fe=$(As,[["__scopeId","data-v-d86ee44f"]]),Ms={key:0,class:"VPNavBarAppearance"},Es=g({__name:"VPNavBarAppearance",setup(t){const{site:e}=O();return(o,s)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(i(),p("div",Ms,[S(Fe)])):b("",!0)}}),Bs=$(Es,[["__scopeId","data-v-06e253f6"]]),Re=N();let dt=!1,Le=0;function Os(t){const e=N(!1);if($e){!dt&&Hs(),Le++;const o=Y(Re,s=>{var n,a,c;s===t.el.value||(n=t.el.value)!=null&&n.contains(s)?(e.value=!0,(a=t.onFocus)==null||a.call(t)):(e.value=!1,(c=t.onBlur)==null||c.call(t))});ue(()=>{o(),Le--,Le||xs()})}return Ot(e)}function Hs(){document.addEventListener("focusin",pt),dt=!0,Re.value=document.activeElement}function xs(){document.removeEventListener("focusin",pt)}function pt(){Re.value=document.activeElement}const Ds={class:"VPMenuLink"},Fs=g({__name:"VPMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(o,s)=>(i(),p("div",Ds,[S(q,{class:D({active:r(ae)(r(e).relativePath,o.item.activeMatch||o.item.link,!!o.item.activeMatch)}),href:o.item.link,target:o.item.target,rel:o.item.rel},{default:h(()=>[J(V(o.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Se=$(Fs,[["__scopeId","data-v-01a82388"]]),Rs={class:"VPMenuGroup"},js={key:0,class:"title"},Us=g({__name:"VPMenuGroup",props:{text:{},items:{}},setup(t){return(e,o)=>(i(),p("div",Rs,[e.text?(i(),p("p",js,V(e.text),1)):b("",!0),(i(!0),p(x,null,z(e.items,s=>(i(),p(x,null,["link"in s?(i(),w(Se,{key:0,item:s},null,8,["item"])):b("",!0)],64))),256))]))}}),zs=$(Us,[["__scopeId","data-v-655b43d5"]]),Gs={class:"VPMenu"},Ks={key:0,class:"items"},Ws=g({__name:"VPMenu",props:{items:{}},setup(t){return(e,o)=>(i(),p("div",Gs,[e.items?(i(),p("div",Ks,[(i(!0),p(x,null,z(e.items,s=>(i(),p(x,{key:JSON.stringify(s)},["link"in s?(i(),w(Se,{key:0,item:s},null,8,["item"])):"component"in s?(i(),w(W(s.component),ee({key:1,ref_for:!0},s.props),null,16)):(i(),w(zs,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):b("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),qs=$(Ws,[["__scopeId","data-v-ce2cf657"]]),Js=t=>(R("data-v-062a5734"),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"},oa=g({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(t){const e=N(!1),o=N();Os({el:o,onBlur:s});function s(){e.value=!1}return(n,a)=>(i(),p("div",{class:"VPFlyout",ref_key:"el",ref:o,onMouseenter:a[1]||(a[1]=c=>e.value=!0),onMouseleave:a[2]||(a[2]=c=>e.value=!1)},[u("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:a[0]||(a[0]=c=>e.value=!e.value)},[n.button||n.icon?(i(),p("span",Xs,[n.icon?(i(),p("span",{key:0,class:D([n.icon,"option-icon"])},null,2)):b("",!0),n.button?(i(),p("span",{key:1,innerHTML:n.button},null,8,Qs)):b("",!0),Zs])):(i(),p("span",ea))],8,Ys),u("div",ta,[S(qs,{items:n.items},{default:h(()=>[f(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),je=$(oa,[["__scopeId","data-v-062a5734"]]),na=["href","aria-label","innerHTML"],sa=g({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(t){const e=t,o=I(()=>typeof e.icon=="object"?e.icon.svg:``);return(s,n)=>(i(),p("a",{class:"VPSocialLink no-icon",href:s.link,"aria-label":s.ariaLabel??(typeof s.icon=="string"?s.icon:""),target:"_blank",rel:"noopener",innerHTML:o.value},null,8,na))}}),aa=$(sa,[["__scopeId","data-v-99aaa61b"]]),ra={class:"VPSocialLinks"},ia=g({__name:"VPSocialLinks",props:{links:{}},setup(t){return(e,o)=>(i(),p("div",ra,[(i(!0),p(x,null,z(e.links,({link:s,icon:n,ariaLabel:a})=>(i(),w(aa,{key:s,icon:n,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),Ue=$(ia,[["__scopeId","data-v-ca9cff1c"]]),la={key:0,class:"group translations"},ca={class:"trans-title"},ua={key:1,class:"group"},da={class:"item appearance"},pa={class:"label"},fa={class:"appearance-action"},ha={key:2,class:"group"},va={class:"item social-links"},_a=g({__name:"VPNavBarExtra",setup(t){const{site:e,theme:o}=O(),{localeLinks:s,currentLang:n}=pe({correspondingLink:!0}),a=I(()=>s.value.length&&n.value.label||e.value.appearance||o.value.socialLinks);return(c,l)=>a.value?(i(),w(je,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[r(s).length&&r(n).label?(i(),p("div",la,[u("p",ca,V(r(n).label),1),(i(!0),p(x,null,z(r(s),d=>(i(),w(Se,{key:d.link,item:d},null,8,["item"]))),128))])):b("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(i(),p("div",ua,[u("div",da,[u("p",pa,V(r(o).darkModeSwitchLabel||"Appearance"),1),u("div",fa,[S(Fe)])])])):b("",!0),r(o).socialLinks?(i(),p("div",ha,[u("div",va,[S(Ue,{class:"social-links-list",links:r(o).socialLinks},null,8,["links"])])])):b("",!0)]),_:1})):b("",!0)}}),ma=$(_a,[["__scopeId","data-v-cf308650"]]),ga=t=>(R("data-v-cdf5d88e"),t=t(),j(),t),ba=["aria-expanded"],ka=ga(()=>u("span",{class:"container"},[u("span",{class:"top"}),u("span",{class:"middle"}),u("span",{class:"bottom"})],-1)),ya=[ka],$a=g({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(t){return(e,o)=>(i(),p("button",{type:"button",class:D(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:o[0]||(o[0]=s=>e.$emit("click"))},ya,10,ba))}}),Sa=$($a,[["__scopeId","data-v-cdf5d88e"]]),wa=["innerHTML"],Pa=g({__name:"VPNavBarMenuLink",props:{item:{}},setup(t){const{page:e}=O();return(o,s)=>(i(),w(q,{class:D({VPNavBarMenuLink:!0,active:r(ae)(r(e).relativePath,o.item.activeMatch||o.item.link,!!o.item.activeMatch)}),href:o.item.link,noIcon:o.item.noIcon,target:o.item.target,rel:o.item.rel,tabindex:"0"},{default:h(()=>[u("span",{innerHTML:o.item.text},null,8,wa)]),_:1},8,["class","href","noIcon","target","rel"]))}}),La=$(Pa,[["__scopeId","data-v-2a328df5"]]),Va=g({__name:"VPNavBarMenuGroup",props:{item:{}},setup(t){const e=t,{page:o}=O(),s=a=>"component"in a?!1:"link"in a?ae(o.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),n=I(()=>s(e.item));return(a,c)=>(i(),w(je,{class:D({VPNavBarMenuGroup:!0,active:r(ae)(r(o).relativePath,a.item.activeMatch,!!a.item.activeMatch)||n.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),Ta=t=>(R("data-v-dc270a69"),t=t(),j(),t),Ia={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Na=Ta(()=>u("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Ca=g({__name:"VPNavBarMenu",setup(t){const{theme:e}=O();return(o,s)=>r(e).nav?(i(),p("nav",Ia,[Na,(i(!0),p(x,null,z(r(e).nav,n=>(i(),p(x,{key:JSON.stringify(n)},["link"in n?(i(),w(La,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(W(n.component),ee({key:1,ref_for:!0},n.props),null,16)):(i(),w(Va,{key:2,item:n},null,8,["item"]))],64))),128))])):b("",!0)}}),Aa=$(Ca,[["__scopeId","data-v-dc270a69"]]);function Ma(t){const{localeIndex:e,theme:o}=O();function s(n){var T,M,y;const a=n.split("."),c=(T=o.value.search)==null?void 0:T.options,l=c&&typeof c=="object",d=l&&((y=(M=c.locales)==null?void 0:M[e.value])==null?void 0:y.translations)||null,v=l&&c.translations||null;let m=d,_=v,k=t;const C=a.pop();for(const U of a){let G=null;const Q=k==null?void 0:k[U];Q&&(G=k=Q);const oe=_==null?void 0:_[U];oe&&(G=_=oe);const Z=m==null?void 0:m[U];Z&&(G=m=Z),Q||(k=G),oe||(_=G),Z||(m=G)}return(m==null?void 0:m[C])??(_==null?void 0:_[C])??(k==null?void 0:k[C])??""}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"},xa=u("span",{class:"DocSearch-Button-Keys"},[u("kbd",{class:"DocSearch-Button-Key"}),u("kbd",{class:"DocSearch-Button-Key"},"K")],-1),We=g({__name:"VPNavBarSearchButton",setup(t){const o=Ma({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,n)=>(i(),p("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(o)("button.buttonAriaLabel")},[u("span",Ba,[Oa,u("span",Ha,V(r(o)("button.buttonText")),1)]),xa],8,Ea))}}),Da={class:"VPNavBarSearch"},Fa={id:"local-search"},Ra={key:1,id:"docsearch"},ja=g({__name:"VPNavBarSearch",setup(t){const e=Ht(()=>xt(()=>import("./VPLocalSearchBox.lNLl8LQo.js"),__vite__mapDeps([0,1]))),o=()=>null,{theme:s}=O(),n=N(!1),a=N(!1);te(()=>{});function c(){n.value||(n.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 k=_.target,C=k.tagName;return k.isContentEditable||C==="INPUT"||C==="SELECT"||C==="TEXTAREA"}const v=N(!1);Te("k",_=>{(_.ctrlKey||_.metaKey)&&(_.preventDefault(),v.value=!0)}),Te("/",_=>{d(_)||(_.preventDefault(),v.value=!0)});const m="local";return(_,k)=>{var C;return i(),p("div",Da,[r(m)==="local"?(i(),p(x,{key:0},[v.value?(i(),w(r(e),{key:0,onClose:k[0]||(k[0]=T=>v.value=!1)})):b("",!0),u("div",Fa,[S(We,{onClick:k[1]||(k[1]=T=>v.value=!0)})])],64)):r(m)==="algolia"?(i(),p(x,{key:1},[n.value?(i(),w(r(o),{key:0,algolia:((C=r(s).search)==null?void 0:C.options)??r(s).algolia,onVnodeBeforeMount:k[2]||(k[2]=T=>a.value=!0)},null,8,["algolia"])):b("",!0),a.value?b("",!0):(i(),p("div",Ra,[S(We,{onClick:c})]))],64)):b("",!0)])}}}),Ua=g({__name:"VPNavBarSocialLinks",setup(t){const{theme:e}=O();return(o,s)=>r(e).socialLinks?(i(),w(Ue,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):b("",!0)}}),za=$(Ua,[["__scopeId","data-v-489228c3"]]),Ga=["href","rel","target"],Ka={key:1},Wa={key:2},qa=g({__name:"VPNavBarTitle",setup(t){const{site:e,theme:o}=O(),{hasSidebar:s}=X(),{currentLang:n}=pe(),a=I(()=>{var d;return typeof o.value.logoLink=="string"?o.value.logoLink:(d=o.value.logoLink)==null?void 0:d.link}),c=I(()=>{var d;return typeof o.value.logoLink=="string"||(d=o.value.logoLink)==null?void 0:d.rel}),l=I(()=>{var d;return typeof o.value.logoLink=="string"||(d=o.value.logoLink)==null?void 0:d.target});return(d,v)=>(i(),p("div",{class:D(["VPNavBarTitle",{"has-sidebar":r(s)}])},[u("a",{class:"title",href:a.value??r(xe)(r(n).link),rel:c.value,target:l.value},[f(d.$slots,"nav-bar-title-before",{},void 0,!0),r(o).logo?(i(),w(me,{key:0,class:"logo",image:r(o).logo},null,8,["image"])):b("",!0),r(o).siteTitle?(i(),p("span",Ka,V(r(o).siteTitle),1)):r(o).siteTitle===void 0?(i(),p("span",Wa,V(r(e).title),1)):b("",!0),f(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ja=$(qa,[["__scopeId","data-v-d1e2cfaa"]]),Ya={class:"items"},Xa={class:"title"},Qa=g({__name:"VPNavBarTranslations",setup(t){const{theme:e}=O(),{localeLinks:o,currentLang:s}=pe({correspondingLink:!0});return(n,a)=>r(o).length&&r(s).label?(i(),w(je,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:h(()=>[u("div",Ya,[u("p",Xa,V(r(s).label),1),(i(!0),p(x,null,z(r(o),c=>(i(),w(Se,{key:c.link,item:c},null,8,["item"]))),128))])]),_:1},8,["label"])):b("",!0)}}),Za=$(Qa,[["__scopeId","data-v-1cf30254"]]),er=t=>(R("data-v-6db865c9"),t=t(),j(),t),tr={class:"wrapper"},or={class:"container"},nr={class:"title"},sr={class:"content"},ar={class:"content-body"},rr=er(()=>u("div",{class:"divider"},[u("div",{class:"divider-line"})],-1)),ir=g({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(t){const e=t,{y:o}=tt(),{hasSidebar:s}=X(),{frontmatter:n}=O(),a=N({});return Oe(()=>{a.value={"has-sidebar":s.value,home:n.value.layout==="home",top:o.value===0,"screen-open":e.isScreenOpen}}),(c,l)=>(i(),p("div",{class:D(["VPNavBar",a.value])},[u("div",tr,[u("div",or,[u("div",nr,[S(Ja,null,{"nav-bar-title-before":h(()=>[f(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[f(c.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),u("div",sr,[u("div",ar,[f(c.$slots,"nav-bar-content-before",{},void 0,!0),S(ja,{class:"search"}),S(Aa,{class:"menu"}),S(Za,{class:"translations"}),S(Bs,{class:"appearance"}),S(za,{class:"social-links"}),S(ma,{class:"extra"}),f(c.$slots,"nav-bar-content-after",{},void 0,!0),S(Sa,{class:"hamburger",active:c.isScreenOpen,onClick:l[0]||(l[0]=d=>c.$emit("toggle-screen"))},null,8,["active"])])])])]),rr],2))}}),lr=$(ir,[["__scopeId","data-v-6db865c9"]]),cr={key:0,class:"VPNavScreenAppearance"},ur={class:"text"},dr=g({__name:"VPNavScreenAppearance",setup(t){const{site:e,theme:o}=O();return(s,n)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(i(),p("div",cr,[u("p",ur,V(r(o).darkModeSwitchLabel||"Appearance"),1),S(Fe)])):b("",!0)}}),pr=$(dr,[["__scopeId","data-v-d86aab40"]]),fr=g({__name:"VPNavScreenMenuLink",props:{item:{}},setup(t){const e=de("close-screen");return(o,s)=>(i(),w(q,{class:"VPNavScreenMenuLink",href:o.item.link,target:o.item.target,rel:o.item.rel,onClick:r(e),innerHTML:o.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),hr=$(fr,[["__scopeId","data-v-a0f676ea"]]),vr=g({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(t){const e=de("close-screen");return(o,s)=>(i(),w(q,{class:"VPNavScreenMenuGroupLink",href:o.item.link,target:o.item.target,rel:o.item.rel,onClick:r(e)},{default:h(()=>[J(V(o.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ft=$(vr,[["__scopeId","data-v-63dc5c8c"]]),_r={class:"VPNavScreenMenuGroupSection"},mr={key:0,class:"title"},gr=g({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(t){return(e,o)=>(i(),p("div",_r,[e.text?(i(),p("p",mr,V(e.text),1)):b("",!0),(i(!0),p(x,null,z(e.items,s=>(i(),w(ft,{key:s.text,item:s},null,8,["item"]))),128))]))}}),br=$(gr,[["__scopeId","data-v-e26000b6"]]),kr=t=>(R("data-v-2d86c186"),t=t(),j(),t),yr=["aria-controls","aria-expanded"],$r=["innerHTML"],Sr=kr(()=>u("span",{class:"vpi-plus button-icon"},null,-1)),wr=["id"],Pr={key:0,class:"item"},Lr={key:1,class:"item"},Vr={key:2,class:"group"},Tr=g({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(t){const e=t,o=N(!1),s=I(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){o.value=!o.value}return(a,c)=>(i(),p("div",{class:D(["VPNavScreenMenuGroup",{open:o.value}])},[u("button",{class:"button","aria-controls":s.value,"aria-expanded":o.value,onClick:n},[u("span",{class:"button-text",innerHTML:a.text},null,8,$r),Sr],8,yr),u("div",{id:s.value,class:"items"},[(i(!0),p(x,null,z(a.items,l=>(i(),p(x,{key:JSON.stringify(l)},["link"in l?(i(),p("div",Pr,[S(ft,{item:l},null,8,["item"])])):"component"in l?(i(),p("div",Lr,[(i(),w(W(l.component),ee({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(i(),p("div",Vr,[S(br,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,wr)],2))}}),Ir=$(Tr,[["__scopeId","data-v-2d86c186"]]),Nr={key:0,class:"VPNavScreenMenu"},Cr=g({__name:"VPNavScreenMenu",setup(t){const{theme:e}=O();return(o,s)=>r(e).nav?(i(),p("nav",Nr,[(i(!0),p(x,null,z(r(e).nav,n=>(i(),p(x,{key:JSON.stringify(n)},["link"in n?(i(),w(hr,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(W(n.component),ee({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(i(),w(Ir,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):b("",!0)}}),Ar=g({__name:"VPNavScreenSocialLinks",setup(t){const{theme:e}=O();return(o,s)=>r(e).socialLinks?(i(),w(Ue,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):b("",!0)}}),ht=t=>(R("data-v-66e76a18"),t=t(),j(),t),Mr=ht(()=>u("span",{class:"vpi-languages icon lang"},null,-1)),Er=ht(()=>u("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Br={class:"list"},Or=g({__name:"VPNavScreenTranslations",setup(t){const{localeLinks:e,currentLang:o}=pe({correspondingLink:!0}),s=N(!1);function n(){s.value=!s.value}return(a,c)=>r(e).length&&r(o).label?(i(),p("div",{key:0,class:D(["VPNavScreenTranslations",{open:s.value}])},[u("button",{class:"title",onClick:n},[Mr,J(" "+V(r(o).label)+" ",1),Er]),u("ul",Br,[(i(!0),p(x,null,z(r(e),l=>(i(),p("li",{key:l.link,class:"item"},[S(q,{class:"link",href:l.link},{default:h(()=>[J(V(l.text),1)]),_:2},1032,["href"])]))),128))])],2)):b("",!0)}}),Hr=$(Or,[["__scopeId","data-v-66e76a18"]]),xr={class:"container"},Dr=g({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(t){const e=N(null),o=ot($e?document.body:null);return(s,n)=>(i(),w(Ee,{name:"fade",onEnter:n[0]||(n[0]=a=>o.value=!0),onAfterLeave:n[1]||(n[1]=a=>o.value=!1)},{default:h(()=>[s.open?(i(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[u("div",xr,[f(s.$slots,"nav-screen-content-before",{},void 0,!0),S(Cr,{class:"menu"}),S(Hr,{class:"translations"}),S(pr,{class:"appearance"}),S(Ar,{class:"social-links"}),f(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):b("",!0)]),_:3}))}}),Fr=$(Dr,[["__scopeId","data-v-3ff2bb85"]]),Rr={key:0,class:"VPNav"},jr=g({__name:"VPNav",setup(t){const{isScreenOpen:e,closeScreen:o,toggleScreen:s}=Ss(),{frontmatter:n}=O(),a=I(()=>n.value.navbar!==!1);return nt("close-screen",o),ge(()=>{$e&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(c,l)=>a.value?(i(),p("header",Rr,[S(lr,{"is-screen-open":r(e),onToggleScreen:r(s)},{"nav-bar-title-before":h(()=>[f(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[f(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[f(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[f(c.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),S(Fr,{open:r(e)},{"nav-screen-content-before":h(()=>[f(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[f(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):b("",!0)}}),Ur=$(jr,[["__scopeId","data-v-3aff48bd"]]),vt=t=>(R("data-v-fe6d72fb"),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)),Wr=[Kr],qr={key:1,class:"items"},Jr=g({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(t){const e=t,{collapsed:o,collapsible:s,isLink:n,isActiveLink:a,hasActiveLink:c,hasChildren:l,toggle:d}=fo(I(()=>e.item)),v=I(()=>l.value?"section":"div"),m=I(()=>n.value?"a":"div"),_=I(()=>l.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),k=I(()=>n.value?void 0:"button"),C=I(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:o.value},{"is-link":n.value},{"is-active":a.value},{"has-active":c.value}]);function T(y){"key"in y&&y.key!=="Enter"||!e.item.link&&d()}function M(){e.item.link&&d()}return(y,U)=>{const G=re("VPSidebarItem",!0);return i(),w(W(v.value),{class:D(["VPSidebarItem",C.value])},{default:h(()=>[y.item.text?(i(),p("div",ee({key:0,class:"item",role:k.value},Dt(y.item.items?{click:T,keydown:T}:{},!0),{tabindex:y.item.items&&0}),[Gr,y.item.link?(i(),w(q,{key:0,tag:m.value,class:"link",href:y.item.link,rel:y.item.rel,target:y.item.target},{default:h(()=>[(i(),w(W(_.value),{class:"text",innerHTML:y.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),w(W(_.value),{key:1,class:"text",innerHTML:y.item.text},null,8,["innerHTML"])),y.item.collapsed!=null&&y.item.items&&y.item.items.length?(i(),p("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:M,onKeydown:Ft(M,["enter"]),tabindex:"0"},Wr,32)):b("",!0)],16,zr)):b("",!0),y.item.items&&y.item.items.length?(i(),p("div",qr,[y.depth<5?(i(!0),p(x,{key:0},z(y.item.items,Q=>(i(),w(G,{key:Q.text,item:Q,depth:y.depth+1},null,8,["item","depth"]))),128)):b("",!0)])):b("",!0)]),_:1},8,["class"])}}}),Yr=$(Jr,[["__scopeId","data-v-fe6d72fb"]]),Xr=g({__name:"VPSidebarGroup",props:{items:{}},setup(t){const e=N(!0);let o=null;return te(()=>{o=setTimeout(()=>{o=null,e.value=!1},300)}),Rt(()=>{o!=null&&(clearTimeout(o),o=null)}),(s,n)=>(i(!0),p(x,null,z(s.items,a=>(i(),p("div",{key:a.text,class:D(["group",{"no-transition":e.value}])},[S(Yr,{item:a,depth:0},null,8,["item"])],2))),128))}}),Qr=$(Xr,[["__scopeId","data-v-1e9a5d2e"]]),_t=t=>(R("data-v-bc2dce68"),t=t(),j(),t),Zr=_t(()=>u("div",{class:"curtain"},null,-1)),ei={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},ti=_t(()=>u("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),oi=g({__name:"VPSidebar",props:{open:{type:Boolean}},setup(t){const{sidebarGroups:e,hasSidebar:o}=X(),s=t,n=N(null),a=ot($e?document.body:null);Y([s,n],()=>{var l;s.open?(a.value=!0,(l=n.value)==null||l.focus()):a.value=!1},{immediate:!0,flush:"post"});const c=N(0);return Y(e,()=>{c.value+=1},{deep:!0}),(l,d)=>r(o)?(i(),p("aside",{key:0,class:D(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=st(()=>{},["stop"]))},[Zr,u("nav",ei,[ti,f(l.$slots,"sidebar-nav-before",{},void 0,!0),(i(),w(Qr,{items:r(e),key:c.value},null,8,["items"])),f(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):b("",!0)}}),ni=$(oi,[["__scopeId","data-v-bc2dce68"]]),si=g({__name:"VPSkipLink",setup(t){const e=ke(),o=N();Y(()=>e.path,()=>o.value.focus());function s({target:n}){const a=document.getElementById(decodeURIComponent(n.hash).slice(1));if(a){const c=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",c)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",c),a.focus(),window.scrollTo(0,0)}}return(n,a)=>(i(),p(x,null,[u("span",{ref_key:"backToTop",ref:o,tabindex:"-1"},null,512),u("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),ai=$(si,[["__scopeId","data-v-5ffb6bc3"]]),ri=g({__name:"Layout",setup(t){const{isOpen:e,open:o,close:s}=X(),n=ke();Y(()=>n.path,s),po(e,s);const{frontmatter:a}=O(),c=jt(),l=I(()=>!!c["home-hero-image"]);return nt("hero-image-slot-exists",l),(d,v)=>{const m=re("Content");return r(a).layout!==!1?(i(),p("div",{key:0,class:D(["Layout",r(a).pageClass])},[f(d.$slots,"layout-top",{},void 0,!0),S(ai),S(Yt,{class:"backdrop",show:r(e),onClick:r(s)},null,8,["show","onClick"]),S(Ur,null,{"nav-bar-title-before":h(()=>[f(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[f(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[f(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[f(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[f(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[f(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),S($s,{open:r(e),onOpenMenu:r(o)},null,8,["open","onOpenMenu"]),S(ni,{open:r(e)},{"sidebar-nav-before":h(()=>[f(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[f(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),S(os,null,{"page-top":h(()=>[f(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[f(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[f(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[f(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":h(()=>[f(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":h(()=>[f(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":h(()=>[f(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":h(()=>[f(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":h(()=>[f(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[f(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[f(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[f(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[f(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[f(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[f(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[f(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),S(is),f(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),w(m,{key:1}))}}}),ii=$(ri,[["__scopeId","data-v-5047c77d"]]),mt={Layout:ii,enhanceApp:({app:t})=>{t.component("Badge",Wt)}},ze="LiteyukiStudio",Ge="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",pi="https://api.liteyuki.icu/visit",fi="https://api.liteyuki.icu/visit_count",le=`https://github.com/${ze}/${Ge}`,qe="https://starmap.liteyuki.icu";async function hi(){try{const t=`${ci}/repos/${ze}/${Ge}`;console.log(t);const o=await(await fetch(t)).json();return{stars:o.stars_count,forks:o.forks_count,watchers:o.watchers_count,issues:0,prs:0,size:o.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function vi(){try{const e=await(await fetch(`${li}/repos/${ze}/${Ge}`)).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 vi(),e=await hi();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 ie={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(fi)).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(pi,{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,o=t==="x"?e:e&3|8;return o.toString(16)})}/*! * vue-router v4.4.3 * (c) 2024 Eduardo San Martin Morote * @license MIT */var Je;(function(t){t.pop="pop",t.push="push"})(Je||(Je={}));var Ye;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ye||(Ye={}));var Xe;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Xe||(Xe={}));const ki=Symbol("");function yi(t,e,o){const s=()=>{t[e].delete(o)};ue(s),Ut(s),zt(()=>{t[e].add(o)}),t[e].add(o)}function $i(t){const e=de(ki,{}).value;e&&yi(e,"updateGuards",t)}const Si=t=>(R("data-v-2391887b"),t=t(),j(),t),wi={class:"stats-bar-content"},Pi={class:"stats-bar"},Li={class:"stats-info"},Vi={class:"stats-title"},Ti={class:"sections"},Ii=["href"],Ni={class:"section-tab"},Ci={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=g({__name:"StatsBar",setup(t){const{Layout:e}=mt;let o=null;const s={total:{name:"total",color:"#00a6ff",value:N(-1),link:qe},online:{name:"online",color:"#7eff7e",value:N(-1),link:qe},stars:{name:"stars",color:"#ffcc00",value:N(-1),link:`${le}/stargazers`},forks:{name:"forks",color:"#ff6600",value:N(-1),link:`${le}/forks`},issues:{name:"issues",color:"#ff0000",value:N(-1),link:`${le}/issues`},prs:{name:"prs",color:"#f15df1",value:N(-1),link:`${le}/pulls`},plugins:{name:"plugins",color:"#a766ff",value:N(-1),link:"./store/plugin"},resources:{name:"resources",color:"#5a54fa",value:N(-1),link:"./store/resource"},visitors:{name:"visitors",color:"#00a6ff",value:N(-1),link:le}};async function n(){[s.online.value.value,s.total.value.value,s.plugins.value.value,s.resources.value.value,s.visitors.value.value,o]=await Promise.all([ie.getOnline(),ie.getTotal(),ie.getPluginNum(),ie.getResourceNum(),ie.getVisitCount(),ie.getGithubStats()]),s.stars.value.value=(o==null?void 0:o.stars)||0,s.forks.value.value=(o==null?void 0:o.forks)||0,s.issues.value.value=(o==null?void 0:o.issues)||0,s.prs.value.value=(o==null?void 0:o.prs)||0}function a(c){return c.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}return te(()=>{const c=setInterval(n,1e4);n(),gi(),ue(()=>{clearInterval(c)})}),$i(()=>{Kt()}),console.log(` _ _ _ _ _ ____ _ | | (_) | | | (_) _ \\ | | | | _| |_ ___ _ _ _ _| | ___| |_) | ___ | |_ | | | | __/ _ \\ | | | | | | |/ / | _ < / _ \\| __| | |____| | || __/ |_| | |_| | <| | |_) | (_) | |_ |______|_|\\__\\___|\\__, |\\__,_|_|\\_\\_|____/ \\___/ \\__| __/ | |___/ `),console.log(F("easterEgg")),(c,l)=>(i(),w(r(e),null,{"home-features-before":h(()=>[u("div",wi,[u("div",Pi,[u("div",Li,[u("div",Vi,V(r(F)("stats")),1),u("div",Ti,[(i(!0),p(x,null,z(Object.values(s),d=>(i(),p("div",{key:d.name,class:"section"},[u("a",{href:d.link,target:"_blank"},[u("div",Ni,[u("span",{class:"dot",style:ye({backgroundColor:d.color})},null,4),u("span",Ci,V(r(F)(d.name)),1)]),u("div",Ai,V(a(d.value)),1)],8,Ii)]))),128))])]),Mi])])]),_:1}))}}),Qe=$(Ei,[["__scopeId","data-v-2391887b"]]);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 gt={exports:{}};/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(t,e){(function(s,n){t.exports=n()})(Bi,function(){return function(){var o={686:function(a,c,l){l.d(c,{default:function(){return It}});var d=l(279),v=l.n(d),m=l(370),_=l.n(m),k=l(817),C=l.n(k);function T(B){try{return document.execCommand(B)}catch{return!1}}var M=function(L){var P=C()(L);return T("cut"),P},y=M;function U(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 G=function(L,P){var A=U(L);P.container.appendChild(A);var E=C()(A);return T("copy"),A.remove(),E},Q=function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},A="";return typeof L=="string"?A=G(L,P):L instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(L==null?void 0:L.type)?A=G(L.value,P):(A=C()(L),T("copy")),A},oe=Q;function Z(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Z=function(P){return typeof P}:Z=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},Z(B)}var bt=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,K=L.text;if(A!=="copy"&&A!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(H!==void 0)if(H&&Z(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(K)return oe(K,{container:E});if(H)return A==="cut"?y(H):oe(H,{container:E})},kt=bt;function ce(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ce=function(P){return typeof P}:ce=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},ce(B)}function yt(B,L){if(!(B instanceof L))throw new TypeError("Cannot call a class as a function")}function Ke(B,L){for(var P=0;P"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 fe(B){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},fe(B)}function Pe(B,L){var P="data-clipboard-".concat(B);if(L.hasAttribute(P))return L.getAttribute(P)}var Tt=function(B){St(P,B);var L=wt(P);function P(A,E){var H;return yt(this,P),H=L.call(this),H.resolveOptions(E),H.listenClick(A),H}return $t(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=ce(E.container)==="object"?E.container:document.body}},{key:"listenClick",value:function(E){var H=this;this.listener=_()(E,"click",function(K){return H.onClick(K)})}},{key:"onClick",value:function(E){var H=E.delegateTarget||E.currentTarget,K=this.action(H)||"copy",he=kt({action:K,container:this.container,target:this.target(H),text:this.text(H)});this.emit(he?"success":"error",{action:K,text:he,trigger:H,clearSelection:function(){H&&H.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(E){return Pe("action",E)}},{key:"defaultTarget",value:function(E){var H=Pe("target",E);if(H)return document.querySelector(H)}},{key:"defaultText",value:function(E){return Pe("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 oe(E,H)}},{key:"cut",value:function(E){return y(E)}},{key:"isSupported",value:function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],H=typeof E=="string"?[E]:E,K=!!document.queryCommandSupported;return H.forEach(function(he){K=K&&!!document.queryCommandSupported(he)}),K}}]),P}(v()),It=Tt},828:function(a){var c=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(v,m){for(;v&&v.nodeType!==c;){if(typeof v.matches=="function"&&v.matches(m))return v;v=v.parentNode}}a.exports=d},438:function(a,c,l){var d=l(828);function v(k,C,T,M,y){var U=_.apply(this,arguments);return k.addEventListener(T,U,y),{destroy:function(){k.removeEventListener(T,U,y)}}}function m(k,C,T,M,y){return typeof k.addEventListener=="function"?v.apply(null,arguments):typeof T=="function"?v.bind(null,document).apply(null,arguments):(typeof k=="string"&&(k=document.querySelectorAll(k)),Array.prototype.map.call(k,function(U){return v(U,C,T,M,y)}))}function _(k,C,T,M){return function(y){y.delegateTarget=d(y.target,C),y.delegateTarget&&M.call(k,y)}}a.exports=m},879:function(a,c){c.node=function(l){return l!==void 0&&l instanceof HTMLElement&&l.nodeType===1},c.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||c.node(l[0]))},c.string=function(l){return typeof l=="string"||l instanceof String},c.fn=function(l){var d=Object.prototype.toString.call(l);return d==="[object Function]"}},370:function(a,c,l){var d=l(879),v=l(438);function m(T,M,y){if(!T&&!M&&!y)throw new Error("Missing required arguments");if(!d.string(M))throw new TypeError("Second argument must be a String");if(!d.fn(y))throw new TypeError("Third argument must be a Function");if(d.node(T))return _(T,M,y);if(d.nodeList(T))return k(T,M,y);if(d.string(T))return C(T,M,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function _(T,M,y){return T.addEventListener(M,y),{destroy:function(){T.removeEventListener(M,y)}}}function k(T,M,y){return Array.prototype.forEach.call(T,function(U){U.addEventListener(M,y)}),{destroy:function(){Array.prototype.forEach.call(T,function(U){U.removeEventListener(M,y)})}}}function C(T,M,y){return v(document.body,T,M,y)}a.exports=m},817:function(a){function c(l){var d;if(l.nodeName==="SELECT")l.focus(),d=l.value;else if(l.nodeName==="INPUT"||l.nodeName==="TEXTAREA"){var v=l.hasAttribute("readonly");v||l.setAttribute("readonly",""),l.select(),l.setSelectionRange(0,l.value.length),v||l.removeAttribute("readonly"),d=l.value}else{l.hasAttribute("contenteditable")&&l.focus();var m=window.getSelection(),_=document.createRange();_.selectNodeContents(l),m.removeAllRanges(),m.addRange(_),d=m.toString()}return d}a.exports=c},279:function(a){function c(){}c.prototype={on:function(l,d,v){var m=this.e||(this.e={});return(m[l]||(m[l]=[])).push({fn:d,ctx:v}),this},once:function(l,d,v){var m=this;function _(){m.off(l,_),d.apply(v,arguments)}return _._=d,this.on(l,_,v)},emit:function(l){var d=[].slice.call(arguments,1),v=((this.e||(this.e={}))[l]||[]).slice(),m=0,_=v.length;for(m;m<_;m++)v[m].fn.apply(v[m].ctx,d);return this},off:function(l,d){var v=this.e||(this.e={}),m=v[l],_=[];if(m&&d)for(var k=0,C=m.length;k(R("data-v-a8e3f329"),t=t(),j(),t),Fi={class:"item-card"},Ri={class:"item-name"},ji={class:"item-description"},Ui={class:"tags"},zi={class:"item-bar"},Gi=["href"],Ki=Di(()=>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)),Wi=[Ki],qi={class:"btn"},Ji=["href"],Yi=["src"],Xi={class:"author-name"},Qi=g({__name:"PluginItemCard",props:{item:Object},setup(t){const e=t,o=()=>{const n=new xi(".copy-btn",{text:()=>`npm install ${e.item.module_name}`});n.on("success",()=>{}),n.on("error",()=>{})},s=n=>{const a=n.replace(/^#/,""),[c,l,d]=a.match(/.{2}/g).map(m=>parseInt(m,16)),v=(c*299+l*587+d*114)/1e3;return{backgroundColor:n,color:v>128?"#000":"#fff"}};return(n,a)=>(i(),p("div",Fi,[u("div",Ri,V(e.item.name),1),u("div",ji,V(e.item.desc),1),u("div",Ui,[(i(!0),p(x,null,z(e.item.tags,c=>(i(),p("span",{class:"tag",key:c,style:ye(s(c.color))},V(c.label),5))),128))]),u("div",zi,[u("a",{href:e.item.homepage,class:"btn",target:"_blank"},Wi,8,Gi),u("button",{class:"btn copy-btn",onClick:o},"复制安装命令"),u("div",qi,[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,V(e.item.author),1)],8,Ji)])])]))}}),Zi=$(Qi,[["__scopeId","data-v-a8e3f329"]]),el=t=>(R("data-v-b3db11d1"),t=t(),j(),t),tl={class:"switch"},ol=["checked"],nl=el(()=>u("span",{class:"slider round"},null,-1)),sl=g({__name:"ToggleSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup(t,{emit:e}){const o=e,s=n=>{o("update:modelValue",n)};return(n,a)=>(i(),p("label",tl,[u("input",{type:"checkbox",checked:t.modelValue,onChange:a[0]||(a[0]=c=>s(c.target.checked))},null,40,ol),nl]))}}),al=$(sl,[["__scopeId","data-v-b3db11d1"]]),rl=[{module_name:"liteyukibot-plugin-nonebot",project_link:"liteyukibot-plugin-nonebot",name:"NoneBot插件",desc:"在轻雪中使用NoneBot,内置轻雪--NoneBot会话控制器插件,为NoneBot开发者提供了更多便捷功能(已内置)",author:"snowykami",homepage:"https://github.com/LiteyukiStudio/liteyukibot-plugin-nonebot",tags:[{label:"app",color:"#aeeaa8"}],is_official:!0,type:"application",valid:!0,version:"rolling"},{module_name:"liteyukibot-plugin-antidislink",project_link:"liteyukibot-plugin-antidislink",name:"防断联插件",desc:"防止你的群友断联化",author:"snowykami",homepage:"https://github.com/snowykami/liteyukibot-plugin-antidislink",tags:[{label:"app",color:"#aeeaa8"},{label:"dislink",color:"#d0e9ff"}],is_official:!0,type:"application",valid:!0,version:"rolling"},{module_name:"liteyukibot-plugin-lagrange",project_link:"liteyukibot-plugin-lagrange",name:"LagrangePlugin",desc:"在轻雪中使用lagrange-python!",author:"snowykami",homepage:"https://github.com/snowykami/liteyukibot-plugin-lagrange",tags:[{label:"app",color:"#aeeaa8"},{label:"lagrange",color:"#ff89f7"}],is_official:!0,type:"application",valid:!0,version:"rolling"},{module_name:"liteyukibot-plugin-htmlrender",project_link:"liteyukibot-plugin-htmlrender",name:"htmlrender",desc:"使用系统中的浏览器对网页进行渲染,便于其他插件使用",author:"EillesWan",homepage:"https://github.com/LiteyukiStudio/liteyukibot-plugin-htmlrender",tags:[{label:"ch",color:"#4285f4"},{label:"ro",color:"#db4437"},{label:"mi",color:"#f4b400"},{label:"um",color:"#0f9d58"}],is_official:!0,type:"application",valid:!0,version:"rolling"}],il={class:"market"},ll={class:"search-box-div"},cl=["placeholder"],ul={class:"items"},dl=g({__name:"PluginStore",setup(t){let e=N(!1),o=I(()=>{let a=s.value;return n.value&&(a=a.filter(c=>c.name.toLowerCase().includes(n.value.toLowerCase())||c.desc.toLowerCase().includes(n.value.toLowerCase())||c.author.toLowerCase().includes(n.value.toLowerCase())||c.module_name.toLowerCase().includes(n.value.toLowerCase()))),e.value&&(a=a.filter(c=>c.is_liteyuki_plugin)),a}),s=N([]),n=N("");return s.value=rl,s.value.forEach(a=>{a.is_liteyuki_plugin=!0}),fetch("https://registry.nonebot.dev/plugins.json").then(a=>a.json()).then(a=>{a.forEach(c=>{c.is_official=!1}),s.value=s.value.concat(a)}),(a,c)=>(i(),p("div",il,[u("h1",null,V(r(F)("pluginStore")),1),u("p",null,V(r(F)("pluginStoreDesc")),1),u("div",ll,[ne(u("input",{class:"item-search-box",type:"text","onUpdate:modelValue":c[0]||(c[0]=l=>Ie(n)?n.value=l:n=l),placeholder:r(F)("search")},null,8,cl),[[se,r(n)]]),S(al,{modelValue:r(e),"onUpdate:modelValue":c[1]||(c[1]=l=>Ie(e)?e.value=l:e=l)},null,8,["modelValue"]),J(" "+V(r(F)("liteyukiOnly")),1)]),u("div",ul,[(i(!0),p(x,null,z(r(o),l=>(i(),w(Zi,{key:l.id,item:l},null,8,["item"]))),128))])]))}}),pl=$(dl,[["__scopeId","data-v-671446c8"]]),fl=t=>(R("data-v-22cbd1fa"),t=t(),j(),t),hl={class:"item-card"},vl={class:"item-name"},_l={class:"item-description"},ml={class:"item-bar"},gl=["href"],bl=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)),kl=[bl],yl=["href"],$l=["src"],Sl={class:"author-name"},wl=g({__name:"ResItemCard",props:{item:Object},setup(t){const e=t;return(o,s)=>(i(),p("div",hl,[u("div",vl,V(e.item.name),1),u("div",_l,V(e.item.description),1),u("div",ml,[u("a",{href:e.item.link,class:"",target:"_blank"},kl,8,gl),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,$l),u("div",Sl,V(e.item.author),1)],8,yl)])])]))}}),Pl=$(wl,[["__scopeId","data-v-22cbd1fa"]]),Ll={key:0,class:"floating-window"},Vl={class:"window-content"},Tl=g({__name:"ResPubWindow",props:{isVisible:Boolean},setup(t){return(e,o)=>t.isVisible?(i(),p("div",Ll,[u("div",Vl,[f(e.$slots,"default",{},void 0,!0)])])):b("",!0)}}),Il=$(Tl,[["__scopeId","data-v-8b5829b6"]]),Nl=[{name:"KawaiiStatus",author:"SnowyKami",description:"可爱的状态卡片,仿照koishi的制作",link:"https://cdn.liteyuki.icu/static/lrp/KawaiiStatus.zip"},{name:"MiSans字体包",author:"SnowyKami",description:"小米官方字体MiSans",link:"https://cdn.liteyuki.icu/static/lrp/MiSansFonts.zip"},{name:"MapleMono字体包",author:"SnowyKami",description:"适用于字母的字体包",link:"https://cdn.liteyuki.icu/static/lrp/MapleMonoFonts.zip"},{name:"野兽先辈主题HomoTheme",author:"SnowyKami",description:"野兽先辈主题包,114514!",link:"https://cdn.liteyuki.icu/static/lrp/HomoTheme.zip"},{name:"自定义设备信息",author:"SnowyKami",description:"自定义服务端的设备信息,自行修改使用",link:"https://cdn.liteyuki.icu/static/lrp/custom-device.zip"},{name:"轻雪傲娇系词库",author:"SnowyKami",description:"使用https://github.com/Kyomotoi/AnimeThesaurus的词库",link:"https://cdn.liteyuki.icu/static/lrp/liteyuki_words_aojiao.zip"},{name:"轻雪可爱系词库",author:"SnowyKami",description:"使用https://github.com/Kyomotoi/AnimeThesaurus的词库",link:"https://cdn.liteyuki.icu/static/lrp/liteyuki_words_kawaii.zip"},{name:"轻雪Kakyo语言包",author:"Nanaloveyuki",description:"Liteyuki Bot的语言包,用于提供多种语言的翻译。",link:"https://github.com/Nanaloveyuki/liteyuki-langpack/releases/download/KakyoVer/Kakyo-pack.zip"},{name:"更多背景模板包",author:"snowykami",description:"自定义各种卡片的背景",link:"https://cdn.liteyuki.icu/static/lrp/morebg.zip"},{name:"测试资源包",desc:"test",link:"https://cdn.liteyuki.icu/static/lrp/liteyuki_words_aojiao.zip",homepage:"",author:"snowykami"},{name:"轻雪Kakyo语言包 稳定版",description:"Liteyuki Bot的语言包,用于提供多种语言的翻译。",link:"https://cdn.liteyuki.icu/static/lrp/kakyo.zip",homepage:"https://github.com/Nanaloveyuki/liteyuki-langpack",author:"Nanaloveyuki"},{name:"测试资源包2",description:"test",link:"https://cdn.liteyuki.icu/static/lrp/liteyuki_words_aojiao.zip",homepage:"",author:"snowykami"}],Cl={class:"market"},Al={class:"search-box-div"},Ml=["placeholder"],El={class:"store-tabs",style:{display:"flex"}},Bl={class:"items"},Ol={for:"name"},Hl=["placeholder"],xl={for:"desc"},Dl=["placeholder"],Fl={for:"author"},Rl=["placeholder"],jl={for:"link"},Ul=["placeholder"],zl={for:"homepage"},Gl=["placeholder"],Kl={class:"pub-options",style:{display:"flex","justify-content":"center"}},Wl={class:"pub-option submit",type:"submit"},ql=g({__name:"ResStore",setup(t){let e=I(()=>s.value?o.value.filter(v=>v.name.toLowerCase().includes(s.value.toLowerCase())||v.description.toLowerCase().includes(s.value.toLowerCase())||v.author.toLowerCase().includes(s.value.toLowerCase())).reverse():o.value.reverse()),o=N([]),s=N("");o.value=Nl;const n=N(!1);let a=N({name:"",desc:"",author:"",homepage:"",link:""});function c(){n.value=!0}function l(){n.value=!1}const d=()=>{const v=encodeURI(`Resource: ${a.value.name}`);let m=encodeURI(`--- name: ${a.value.name} desc: ${a.value.desc} author: ${a.value.author} homepage: ${a.value.homepage} link: ${a.value.link} --- `);const _=`${le}/issues/new?title=${v}&body=${m}`;window.open(_,"_blank")};return(v,m)=>(i(),p("div",Cl,[u("h1",null,V(r(F)("resourceStore")),1),u("div",Al,[ne(u("input",{class:"item-search-box",type:"text",placeholder:r(F)("search"),"onUpdate:modelValue":m[0]||(m[0]=_=>Ie(s)?s.value=_:s=_)},null,8,Ml),[[se,r(s)]])]),u("div",El,[u("button",{class:"store-button publish-button",onClick:c},V(r(F)("publishRes")),1)]),u("div",Bl,[(i(!0),p(x,null,z(r(e),_=>(i(),w(Pl,{key:_.id,item:_},null,8,["item"]))),128))]),S(Il,{class:"pub-window","is-visible":n.value},{default:h(()=>[u("h2",null,V(r(F)("publishRes")),1),u("form",{onSubmit:st(d,["prevent"])},[u("label",Ol,V(r(F)("resName")),1),ne(u("input",{type:"text",id:"name","onUpdate:modelValue":m[1]||(m[1]=_=>r(a).name=_),placeholder:r(F)("resNameText")},null,8,Hl),[[se,r(a).name]]),u("label",xl,V(r(F)("resDesc")),1),ne(u("input",{type:"text",id:"desc","onUpdate:modelValue":m[2]||(m[2]=_=>r(a).desc=_),placeholder:r(F)("resDescText")},null,8,Dl),[[se,r(a).desc]]),u("label",Fl,V(r(F)("resAuthor")),1),ne(u("input",{type:"text",id:"author","onUpdate:modelValue":m[3]||(m[3]=_=>r(a).author=_),placeholder:r(F)("resAuthorText")},null,8,Rl),[[se,r(a).author]]),u("label",jl,V(r(F)("resLink")),1),ne(u("input",{type:"text",id:"link","onUpdate:modelValue":m[4]||(m[4]=_=>r(a).link=_),placeholder:r(F)("resLinkText")},null,8,Ul),[[se,r(a).link]]),u("label",zl,V(r(F)("resHomepage")),1),ne(u("input",{type:"text",id:"homepage","onUpdate:modelValue":m[5]||(m[5]=_=>r(a).homepage=_),placeholder:r(F)("resHomepageText")},null,8,Gl),[[se,r(a).homepage]]),u("div",Kl,[u("button",{class:"pub-option close",type:"button",onClick:l},V(r(F)("closeButtonText")),1),u("button",Wl,V(r(F)("submitButtonText")),1)])],32)]),_:1},8,["is-visible"])]))}}),Jl=$(ql,[["__scopeId","data-v-3e2a2e07"]]),Ql={extends:mt,enhanceApp({app:t}){t.component("StatsBar",Qe),t.component("PluginStore",pl),t.component("ResStore",Jl)},Layout:Qe};export{Ql as R,Ma as c,F as g,O as u};