app/assets/chunks/theme.B5Q5YRxU.js

19 lines
80 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

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

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.CugSD4J6.js","assets/chunks/framework._avq4Ty7.js"])))=>i.map(i=>d[i]);
import{u as ve,d as b,o as i,c as p,r as f,a as Z,t as C,n as x,b as w,w as v,e as k,T as Ae,_ as $,i as wt,f as Pt,g as Ee,h as T,j as c,k as u,l as te,m as Pe,p as N,q as W,s as he,v as q,x as re,y as Be,z as Lt,A as Vt,B as ne,F as D,C as R,D as Xe,E as me,G as S,H as Qe,I as G,J as _e,K as Q,L as ie,M as Tt,N as ge,O as Le,P as Ze,Q as et,R as be,S as Nt,U as Ct,V as It,W as tt,X as nt,Y as Mt,Z as At,$ as Et,a0 as ot,a1 as Bt,a2 as Ht,a3 as Ot,a4 as Ve,a5 as Te,a6 as Ne}from"./framework._avq4Ty7.js";const Dt={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 pe={};function st(o,e){return o=ke(o),Dt[o][e]}function ke(o){return o.includes("-")?o.split("-")[0]:o}function xt(){const o=ke(ve().site.value.lang);for(let e in pe)pe[e].value=st(o,e)}function j(o){const e=ke(ve().site.value.lang);return pe[o]=st(e,o),pe[o]||o}const Ft=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(o){return(e,t)=>(i(),p("span",{class:x(["VPBadge",e.type])},[f(e.$slots,"default",{},()=>[Z(C(e.text),1)])],2))}}),Rt={key:0,class:"VPBackdrop"},jt=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(o){return(e,t)=>(i(),w(Ae,{name:"fade"},{default:v(()=>[e.show?(i(),p("div",Rt)):k("",!0)]),_:1}))}}),zt=$(jt,[["__scopeId","data-v-f55dd984"]]),H=ve;function Ut(o,e){let t,s=!1;return()=>{t&&clearTimeout(t),s?t=setTimeout(o,e):(o(),(s=!0)&&setTimeout(()=>s=!1,e))}}function Ce(o){return/^\//.test(o)?o:`/${o}`}function He(o){const{pathname:e,search:t,hash:s,protocol:n}=new URL(o,"http://a.com");if(wt(o)||o.startsWith("#")||!n.startsWith("http")||!Pt(e))return o;const{site:a}=H(),l=e.endsWith("/")||e.endsWith(".html")?o:o.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,a.value.cleanUrls?"":".html")}${t}${s}`);return Ee(l)}function le({correspondingLink:o=!1}={}){const{site:e,localeIndex:t,page:s,theme:n,hash:a}=H(),l=T(()=>{var d,h;return{label:(d=e.value.locales[t.value])==null?void 0:d.label,link:((h=e.value.locales[t.value])==null?void 0:h.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:T(()=>Object.entries(e.value.locales).flatMap(([d,h])=>l.value.label===h.label?[]:{text:h.label,link:Gt(h.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&o,s.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+a.value})),currentLang:l}}function Gt(o,e,t,s){return e?o.replace(/\/$/,"")+Ce(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,s?".html":"")):o}const Kt={class:"NotFound"},Wt={class:"code"},qt={class:"title"},Jt={class:"quote"},Yt={class:"action"},Xt=["href","aria-label"],Qt=b({__name:"NotFound",setup(o){const{theme:e}=H(),{currentLang:t}=le();return(s,n)=>{var a,l,r,d,h;return i(),p("div",Kt,[c("p",Wt,C(((a=u(e).notFound)==null?void 0:a.code)??"404"),1),c("h1",qt,C(((l=u(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),n[0]||(n[0]=c("div",{class:"divider"},null,-1)),c("blockquote",Jt,C(((r=u(e).notFound)==null?void 0:r.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",Yt,[c("a",{class:"link",href:u(Ee)(u(t).link),"aria-label":((d=u(e).notFound)==null?void 0:d.linkLabel)??"go to home"},C(((h=u(e).notFound)==null?void 0:h.linkText)??"Take me home"),9,Xt)])])}}}),Zt=$(Qt,[["__scopeId","data-v-0e6f1d92"]]);function at(o,e){if(Array.isArray(o))return de(o);if(o==null)return[];e=Ce(e);const t=Object.keys(o).sort((n,a)=>a.split("/").length-n.split("/").length).find(n=>e.startsWith(Ce(n))),s=t?o[t]:[];return Array.isArray(s)?de(s):de(s.items,s.base)}function en(o){const e=[];let t=0;for(const s in o){const n=o[s];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function tn(o){const e=[];function t(s){for(const n of s)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(o),e}function Ie(o,e){return Array.isArray(e)?e.some(t=>Ie(o,t)):te(o,e.link)?!0:e.items?Ie(o,e.items):!1}function de(o,e){return[...o].map(t=>{const s={...t},n=s.base||e;return n&&s.link&&(s.link=n+s.link),s.items&&(s.items=de(s.items,n)),s})}function J(){const{frontmatter:o,page:e,theme:t}=H(),s=Pe("(min-width: 960px)"),n=N(!1),a=T(()=>{const A=t.value.sidebar,y=e.value.relativePath;return A?at(A,y):[]}),l=N(a.value);W(a,(A,y)=>{JSON.stringify(A)!==JSON.stringify(y)&&(l.value=a.value)});const r=T(()=>o.value.sidebar!==!1&&l.value.length>0&&o.value.layout!=="home"),d=T(()=>h?o.value.aside==null?t.value.aside==="left":o.value.aside==="left":!1),h=T(()=>o.value.layout==="home"?!1:o.value.aside!=null?!!o.value.aside:t.value.aside!==!1),_=T(()=>r.value&&s.value),m=T(()=>r.value?en(l.value):[]);function g(){n.value=!0}function I(){n.value=!1}function V(){n.value?I():g()}return{isOpen:n,sidebar:l,sidebarGroups:m,hasSidebar:r,hasAside:h,leftAside:d,isSidebarEnabled:_,open:g,close:I,toggle:V}}function nn(o,e){let t;he(()=>{t=o.value?document.activeElement:void 0}),q(()=>{window.addEventListener("keyup",s)}),re(()=>{window.removeEventListener("keyup",s)});function s(n){n.key==="Escape"&&o.value&&(e(),t==null||t.focus())}}function on(o){const{page:e,hash:t}=H(),s=N(!1),n=T(()=>o.value.collapsed!=null),a=T(()=>!!o.value.link),l=N(!1),r=()=>{l.value=te(e.value.relativePath,o.value.link)};W([e,o,t],r),q(r);const d=T(()=>l.value?!0:o.value.items?Ie(e.value.relativePath,o.value.items):!1),h=T(()=>!!(o.value.items&&o.value.items.length));he(()=>{s.value=!!(n.value&&o.value.collapsed)}),Be(()=>{(l.value||d.value)&&(s.value=!1)});function _(){n.value&&(s.value=!s.value)}return{collapsed:s,collapsible:n,isLink:a,isActiveLink:l,hasActiveLink:d,hasChildren:h,toggle:_}}function sn(){const{hasSidebar:o}=J(),e=Pe("(min-width: 960px)"),t=Pe("(min-width: 1280px)");return{isAsideEnabled:T(()=>!t.value&&!e.value?!1:o.value?t.value:e.value)}}const Me=[];function rt(o){return typeof o.outline=="object"&&!Array.isArray(o.outline)&&o.outline.label||o.outlineTitle||"On this page"}function Oe(o){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const s=Number(t.tagName[1]);return{element:t,title:an(t),link:"#"+t.id,level:s}});return rn(e,o)}function an(o){let e="";for(const t of o.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function rn(o,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[s,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return cn(o,s,n)}function ln(o,e){const{isAsideEnabled:t}=sn(),s=Ut(a,100);let n=null;q(()=>{requestAnimationFrame(a),window.addEventListener("scroll",s)}),Vt(()=>{l(location.hash)}),re(()=>{window.removeEventListener("scroll",s)});function a(){if(!t.value)return;const r=window.scrollY,d=window.innerHeight,h=document.body.offsetHeight,_=Math.abs(r+d-h)<1,m=Me.map(({element:I,link:V})=>({link:V,top:un(I)})).filter(({top:I})=>!Number.isNaN(I)).sort((I,V)=>I.top-V.top);if(!m.length){l(null);return}if(r<1){l(null);return}if(_){l(m[m.length-1].link);return}let g=null;for(const{link:I,top:V}of m){if(V>r+Lt()+4)break;g=I}l(g)}function l(r){n&&n.classList.remove("active"),r==null?n=null:n=o.value.querySelector(`a[href="${decodeURIComponent(r)}"]`);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 un(o){let e=0;for(;o!==document.body;){if(o===null)return NaN;e+=o.offsetTop,o=o.offsetParent}return e}function cn(o,e,t){Me.length=0;const s=[],n=[];return o.forEach(a=>{const l={...a,children:[]};let r=n[n.length-1];for(;r&&r.level>=l.level;)n.pop(),r=n[n.length-1];if(l.element.classList.contains("ignore-header")||r&&"shouldIgnore"in r){n.push({level:l.level,shouldIgnore:!0});return}l.level>t||l.level<e||(Me.push({element:l.element,link:l.link}),r?r.children.push(l):s.push(l),n.push(l))}),s}const dn=["href","title"],pn=b({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(o){function e({target:t}){const s=t.href.split("#")[1],n=document.getElementById(decodeURIComponent(s));n==null||n.focus({preventScroll:!0})}return(t,s)=>{const n=ne("VPDocOutlineItem",!0);return i(),p("ul",{class:x(["VPDocOutlineItem",t.root?"root":"nested"])},[(i(!0),p(D,null,R(t.headers,({children:a,link:l,title:r})=>(i(),p("li",null,[c("a",{class:"outline-link",href:l,onClick:e,title:r},C(r),9,dn),a!=null&&a.length?(i(),w(n,{key:0,headers:a},null,8,["headers"])):k("",!0)]))),256))],2)}}}),it=$(pn,[["__scopeId","data-v-3ab84878"]]),fn={class:"content"},vn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},hn=b({__name:"VPDocAsideOutline",setup(o){const{frontmatter:e,theme:t}=H(),s=Xe([]);me(()=>{s.value=Oe(e.value.outline??t.value.outline)});const n=N(),a=N();return ln(n,a),(l,r)=>(i(),p("nav",{"aria-labelledby":"doc-outline-aria-label",class:x(["VPDocAsideOutline",{"has-outline":s.value.length>0}]),ref_key:"container",ref:n},[c("div",fn,[c("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),c("div",vn,C(u(rt)(u(t))),1),S(it,{headers:s.value,root:!0},null,8,["headers"])])],2))}}),mn=$(hn,[["__scopeId","data-v-bc0d6cfc"]]),_n={class:"VPDocAsideCarbonAds"},gn=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(o){const e=()=>null;return(t,s)=>(i(),p("div",_n,[S(u(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),bn={class:"VPDocAside"},kn=b({__name:"VPDocAside",setup(o){const{theme:e}=H();return(t,s)=>(i(),p("div",bn,[f(t.$slots,"aside-top",{},void 0,!0),f(t.$slots,"aside-outline-before",{},void 0,!0),S(mn),f(t.$slots,"aside-outline-after",{},void 0,!0),s[0]||(s[0]=c("div",{class:"spacer"},null,-1)),f(t.$slots,"aside-ads-before",{},void 0,!0),u(e).carbonAds?(i(),w(gn,{key:0,"carbon-ads":u(e).carbonAds},null,8,["carbon-ads"])):k("",!0),f(t.$slots,"aside-ads-after",{},void 0,!0),f(t.$slots,"aside-bottom",{},void 0,!0)]))}}),yn=$(kn,[["__scopeId","data-v-08a5cb65"]]);function $n(){const{theme:o,page:e}=H();return T(()=>{const{text:t="Edit this page",pattern:s=""}=o.value.editLink||{};let n;return typeof s=="function"?n=s(e.value):n=s.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Sn(){const{page:o,theme:e,frontmatter:t}=H();return T(()=>{var h,_,m,g,I,V,A,y;const s=at(e.value.sidebar,o.value.relativePath),n=tn(s),a=wn(n,F=>F.link.replace(/[?#].*$/,"")),l=a.findIndex(F=>te(o.value.relativePath,F.link)),r=((h=e.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((_=e.value.docFooter)==null?void 0:_.next)===!1&&!t.value.next||t.value.next===!1;return{prev:r?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((m=a[l-1])==null?void 0:m.docFooterText)??((g=a[l-1])==null?void 0:g.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=a[l-1])==null?void 0:I.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((V=a[l+1])==null?void 0:V.docFooterText)??((A=a[l+1])==null?void 0:A.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((y=a[l+1])==null?void 0:y.link)}}})}function wn(o,e){const t=new Set;return o.filter(s=>{const n=e(s);return t.has(n)?!1:t.add(n)})}const K=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(o){const e=o,t=T(()=>e.tag??(e.href?"a":"span")),s=T(()=>e.href&&Qe.test(e.href)||e.target==="_blank");return(n,a)=>(i(),w(G(t.value),{class:x(["VPLink",{link:n.href,"vp-external-link-icon":s.value,"no-icon":n.noIcon}]),href:n.href?u(He)(n.href):void 0,target:n.target??(s.value?"_blank":void 0),rel:n.rel??(s.value?"noreferrer":void 0)},{default:v(()=>[f(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Pn={class:"VPLastUpdated"},Ln=["datetime"],Vn=b({__name:"VPDocFooterLastUpdated",setup(o){const{theme:e,page:t,lang:s}=H(),n=T(()=>new Date(t.value.lastUpdated)),a=T(()=>n.value.toISOString()),l=N("");return q(()=>{he(()=>{var r,d,h;l.value=new Intl.DateTimeFormat((d=(r=e.value.lastUpdated)==null?void 0:r.formatOptions)!=null&&d.forceLocale?s.value:void 0,((h=e.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(r,d)=>{var h;return i(),p("p",Pn,[Z(C(((h=u(e).lastUpdated)==null?void 0:h.text)||u(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:a.value},C(l.value),9,Ln)])}}}),Tn=$(Vn,[["__scopeId","data-v-d67734f1"]]),Nn={key:0,class:"VPDocFooter"},Cn={key:0,class:"edit-info"},In={key:0,class:"edit-link"},Mn={key:1,class:"last-updated"},An={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},En={class:"pager"},Bn=["innerHTML"],Hn=["innerHTML"],On={class:"pager"},Dn=["innerHTML"],xn=["innerHTML"],Fn=b({__name:"VPDocFooter",setup(o){const{theme:e,page:t,frontmatter:s}=H(),n=$n(),a=Sn(),l=T(()=>e.value.editLink&&s.value.editLink!==!1),r=T(()=>t.value.lastUpdated),d=T(()=>l.value||r.value||a.value.prev||a.value.next);return(h,_)=>{var m,g,I,V;return d.value?(i(),p("footer",Nn,[f(h.$slots,"doc-footer-before",{},void 0,!0),l.value||r.value?(i(),p("div",Cn,[l.value?(i(),p("div",In,[S(K,{class:"edit-link-button",href:u(n).url,"no-icon":!0},{default:v(()=>[_[0]||(_[0]=c("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Z(" "+C(u(n).text),1)]),_:1},8,["href"])])):k("",!0),r.value?(i(),p("div",Mn,[S(Tn)])):k("",!0)])):k("",!0),(m=u(a).prev)!=null&&m.link||(g=u(a).next)!=null&&g.link?(i(),p("nav",An,[_[1]||(_[1]=c("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),c("div",En,[(I=u(a).prev)!=null&&I.link?(i(),w(K,{key:0,class:"pager-link prev",href:u(a).prev.link},{default:v(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=u(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,Bn),c("span",{class:"title",innerHTML:u(a).prev.text},null,8,Hn)]}),_:1},8,["href"])):k("",!0)]),c("div",On,[(V=u(a).next)!=null&&V.link?(i(),w(K,{key:0,class:"pager-link next",href:u(a).next.link},{default:v(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=u(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,Dn),c("span",{class:"title",innerHTML:u(a).next.text},null,8,xn)]}),_:1},8,["href"])):k("",!0)])])):k("",!0)])):k("",!0)}}}),Rn=$(Fn,[["__scopeId","data-v-357376a2"]]),jn={class:"container"},zn={class:"aside-container"},Un={class:"aside-content"},Gn={class:"content"},Kn={class:"content-container"},Wn={class:"main"},qn=b({__name:"VPDoc",setup(o){const{theme:e}=H(),t=_e(),{hasSidebar:s,hasAside:n,leftAside:a}=J(),l=T(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(r,d)=>{const h=ne("Content");return i(),p("div",{class:x(["VPDoc",{"has-sidebar":u(s),"has-aside":u(n)}])},[f(r.$slots,"doc-top",{},void 0,!0),c("div",jn,[u(n)?(i(),p("div",{key:0,class:x(["aside",{"left-aside":u(a)}])},[d[0]||(d[0]=c("div",{class:"aside-curtain"},null,-1)),c("div",zn,[c("div",Un,[S(yn,null,{"aside-top":v(()=>[f(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):k("",!0),c("div",Gn,[c("div",Kn,[f(r.$slots,"doc-before",{},void 0,!0),c("main",Wn,[S(h,{class:x(["vp-doc",[l.value,u(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),S(Rn,null,{"doc-footer-before":v(()=>[f(r.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),f(r.$slots,"doc-after",{},void 0,!0)])])]),f(r.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Jn=$(qn,[["__scopeId","data-v-f55f7f94"]]),Yn=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(o){const e=o,t=T(()=>e.href&&Qe.test(e.href)),s=T(()=>e.tag||(e.href?"a":"button"));return(n,a)=>(i(),w(G(s.value),{class:x(["VPButton",[n.size,n.theme]]),href:n.href?u(He)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:v(()=>[Z(C(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),Xn=$(Yn,[["__scopeId","data-v-423c0740"]]),Qn=["src","alt"],Zn=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(o){return(e,t)=>{const s=ne("VPImage",!0);return e.image?(i(),p(D,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),p("img",Q({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:u(Ee)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Qn)):(i(),p(D,{key:1},[S(s,Q({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),S(s,Q({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):k("",!0)}}}),fe=$(Zn,[["__scopeId","data-v-a1874933"]]),eo={class:"container"},to={class:"main"},no={key:0,class:"name"},oo=["innerHTML"],so=["innerHTML"],ao=["innerHTML"],ro={key:0,class:"actions"},io={key:0,class:"image"},lo={class:"image-container"},uo=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(o){const e=ie("hero-image-slot-exists");return(t,s)=>(i(),p("div",{class:x(["VPHero",{"has-image":t.image||u(e)}])},[c("div",eo,[c("div",to,[f(t.$slots,"home-hero-info-before",{},void 0,!0),f(t.$slots,"home-hero-info",{},()=>[t.name?(i(),p("h1",no,[c("span",{innerHTML:t.name,class:"clip"},null,8,oo)])):k("",!0),t.text?(i(),p("p",{key:1,innerHTML:t.text,class:"text"},null,8,so)):k("",!0),t.tagline?(i(),p("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,ao)):k("",!0)],!0),f(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(i(),p("div",ro,[(i(!0),p(D,null,R(t.actions,n=>(i(),p("div",{key:n.link,class:"action"},[S(Xn,{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))])):k("",!0),f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||u(e)?(i(),p("div",io,[c("div",lo,[s[0]||(s[0]=c("div",{class:"image-bg"},null,-1)),f(t.$slots,"home-hero-image",{},()=>[t.image?(i(),w(fe,{key:0,class:"image-src",image:t.image},null,8,["image"])):k("",!0)],!0)])])):k("",!0)])],2))}}),co=$(uo,[["__scopeId","data-v-15a8d31b"]]),po=b({__name:"VPHomeHero",setup(o){const{frontmatter:e}=H();return(t,s)=>u(e).hero?(i(),w(co,{key:0,class:"VPHomeHero",name:u(e).hero.name,text:u(e).hero.text,tagline:u(e).hero.tagline,image:u(e).hero.image,actions:u(e).hero.actions},{"home-hero-info-before":v(()=>[f(t.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[f(t.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[f(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[f(t.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[f(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):k("",!0)}}),fo={class:"box"},vo={key:0,class:"icon"},ho=["innerHTML"],mo=["innerHTML"],_o=["innerHTML"],go={key:4,class:"link-text"},bo={class:"link-text-value"},ko=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(o){return(e,t)=>(i(),w(K,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[c("article",fo,[typeof e.icon=="object"&&e.icon.wrap?(i(),p("div",vo,[S(fe,{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(fe,{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,ho)):k("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,mo),e.details?(i(),p("p",{key:3,class:"details",innerHTML:e.details},null,8,_o)):k("",!0),e.linkText?(i(),p("div",go,[c("p",bo,[Z(C(e.linkText)+" ",1),t[0]||(t[0]=c("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):k("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),yo=$(ko,[["__scopeId","data-v-e02318ff"]]),$o={key:0,class:"VPFeatures"},So={class:"container"},wo={class:"items"},Po=b({__name:"VPFeatures",props:{features:{}},setup(o){const e=o,t=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,n)=>s.features?(i(),p("div",$o,[c("div",So,[c("div",wo,[(i(!0),p(D,null,R(s.features,a=>(i(),p("div",{key:a.title,class:x(["item",[t.value]])},[S(yo,{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))])])])):k("",!0)}}),Lo=$(Po,[["__scopeId","data-v-10dec945"]]),Vo=b({__name:"VPHomeFeatures",setup(o){const{frontmatter:e}=H();return(t,s)=>u(e).features?(i(),w(Lo,{key:0,class:"VPHomeFeatures",features:u(e).features},null,8,["features"])):k("",!0)}}),To=b({__name:"VPHomeContent",setup(o){const{width:e}=Tt({initialWidth:0,includeScrollbar:!1});return(t,s)=>(i(),p("div",{class:"vp-doc container",style:ge(u(e)?{"--vp-offset":`calc(50% - ${u(e)/2}px)`}:{})},[f(t.$slots,"default",{},void 0,!0)],4))}}),No=$(To,[["__scopeId","data-v-129a5c21"]]),Co={class:"VPHome"},Io=b({__name:"VPHome",setup(o){const{frontmatter:e}=H();return(t,s)=>{const n=ne("Content");return i(),p("div",Co,[f(t.$slots,"home-hero-before",{},void 0,!0),S(po,null,{"home-hero-info-before":v(()=>[f(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),f(t.$slots,"home-hero-after",{},void 0,!0),f(t.$slots,"home-features-before",{},void 0,!0),S(Vo),f(t.$slots,"home-features-after",{},void 0,!0),u(e).markdownStyles!==!1?(i(),w(No,{key:0},{default:v(()=>[S(n)]),_:1})):(i(),w(n,{key:1}))])}}}),Mo=$(Io,[["__scopeId","data-v-93fb179d"]]),Ao={},Eo={class:"VPPage"};function Bo(o,e){const t=ne("Content");return i(),p("div",Eo,[f(o.$slots,"page-top"),S(t),f(o.$slots,"page-bottom")])}const Ho=$(Ao,[["render",Bo]]),Oo=b({__name:"VPContent",setup(o){const{page:e,frontmatter:t}=H(),{hasSidebar:s}=J();return(n,a)=>(i(),p("div",{class:x(["VPContent",{"has-sidebar":u(s),"is-home":u(t).layout==="home"}]),id:"VPContent"},[u(e).isNotFound?f(n.$slots,"not-found",{key:0},()=>[S(Zt)],!0):u(t).layout==="page"?(i(),w(Ho,{key:1},{"page-top":v(()=>[f(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):u(t).layout==="home"?(i(),w(Mo,{key:2},{"home-hero-before":v(()=>[f(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):u(t).layout&&u(t).layout!=="doc"?(i(),w(G(u(t).layout),{key:3})):(i(),w(Jn,{key:4},{"doc-top":v(()=>[f(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[f(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[f(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[f(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[f(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Do=$(Oo,[["__scopeId","data-v-27615e59"]]),xo={class:"container"},Fo=["innerHTML"],Ro=["innerHTML"],jo=b({__name:"VPFooter",setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=J();return(n,a)=>u(e).footer&&u(t).footer!==!1?(i(),p("footer",{key:0,class:x(["VPFooter",{"has-sidebar":u(s)}])},[c("div",xo,[u(e).footer.message?(i(),p("p",{key:0,class:"message",innerHTML:u(e).footer.message},null,8,Fo)):k("",!0),u(e).footer.copyright?(i(),p("p",{key:1,class:"copyright",innerHTML:u(e).footer.copyright},null,8,Ro)):k("",!0)])],2)):k("",!0)}}),zo=$(jo,[["__scopeId","data-v-a24a2a6f"]]);function Uo(){const{theme:o,frontmatter:e}=H(),t=Xe([]),s=T(()=>t.value.length>0);return me(()=>{t.value=Oe(e.value.outline??o.value.outline)}),{headers:t,hasLocalNav:s}}const Go={class:"menu-text"},Ko={class:"header"},Wo={class:"outline"},qo=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(o){const e=o,{theme:t}=H(),s=N(!1),n=N(0),a=N(),l=N();function r(m){var g;(g=a.value)!=null&&g.contains(m.target)||(s.value=!1)}W(s,m=>{if(m){document.addEventListener("click",r);return}document.removeEventListener("click",r)}),Le("Escape",()=>{s.value=!1}),me(()=>{s.value=!1});function d(){s.value=!s.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function h(m){m.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),Ze(()=>{s.value=!1}))}function _(){s.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(m,g)=>(i(),p("div",{class:"VPLocalNavOutlineDropdown",style:ge({"--vp-vh":n.value+"px"}),ref_key:"main",ref:a},[m.headers.length>0?(i(),p("button",{key:0,onClick:d,class:x({open:s.value})},[c("span",Go,C(u(rt)(u(t))),1),g[0]||(g[0]=c("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(i(),p("button",{key:1,onClick:_},C(u(t).returnToTopLabel||"Return to top"),1)),S(Ae,{name:"flyout"},{default:v(()=>[s.value?(i(),p("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:h},[c("div",Ko,[c("a",{class:"top-link",href:"#",onClick:_},C(u(t).returnToTopLabel||"Return to top"),1)]),c("div",Wo,[S(it,{headers:m.headers},null,8,["headers"])])],512)):k("",!0)]),_:1})],4))}}),Jo=$(qo,[["__scopeId","data-v-49f7decf"]]),Yo={class:"container"},Xo=["aria-expanded"],Qo={class:"menu-text"},Zo=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(o){const{theme:e,frontmatter:t}=H(),{hasSidebar:s}=J(),{headers:n}=Uo(),{y:a}=et(),l=N(0);q(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),me(()=>{n.value=Oe(t.value.outline??e.value.outline)});const r=T(()=>n.value.length===0),d=T(()=>r.value&&!s.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":s.value,empty:r.value,fixed:d.value}));return(_,m)=>u(t).layout!=="home"&&(!d.value||u(a)>=l.value)?(i(),p("div",{key:0,class:x(h.value)},[c("div",Yo,[u(s)?(i(),p("button",{key:0,class:"menu","aria-expanded":_.open,"aria-controls":"VPSidebarNav",onClick:m[0]||(m[0]=g=>_.$emit("open-menu"))},[m[1]||(m[1]=c("span",{class:"vpi-align-left menu-icon"},null,-1)),c("span",Qo,C(u(e).sidebarMenuLabel||"Menu"),1)],8,Xo)):k("",!0),S(Jo,{headers:u(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):k("",!0)}}),es=$(Zo,[["__scopeId","data-v-ec7afb7c"]]);function ts(){const o=N(!1);function e(){o.value=!0,window.addEventListener("resize",n)}function t(){o.value=!1,window.removeEventListener("resize",n)}function s(){o.value?t():e()}function n(){window.outerWidth>=768&&t()}const a=_e();return W(()=>a.path,t),{isScreenOpen:o,openScreen:e,closeScreen:t,toggleScreen:s}}const ns={},os={class:"VPSwitch",type:"button",role:"switch"},ss={class:"check"},as={key:0,class:"icon"};function rs(o,e){return i(),p("button",os,[c("span",ss,[o.$slots.default?(i(),p("span",as,[f(o.$slots,"default",{},void 0,!0)])):k("",!0)])])}const is=$(ns,[["render",rs],["__scopeId","data-v-99703ca6"]]),ls=b({__name:"VPSwitchAppearance",setup(o){const{isDark:e,theme:t}=H(),s=ie("toggle-appearance",()=>{e.value=!e.value}),n=N("");return Be(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(a,l)=>(i(),w(is,{title:n.value,class:"VPSwitchAppearance","aria-checked":u(e),onClick:u(s)},{default:v(()=>l[0]||(l[0]=[c("span",{class:"vpi-sun sun"},null,-1),c("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),De=$(ls,[["__scopeId","data-v-99347321"]]),us={key:0,class:"VPNavBarAppearance"},cs=b({__name:"VPNavBarAppearance",setup(o){const{site:e}=H();return(t,s)=>u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",us,[S(De)])):k("",!0)}}),ds=$(cs,[["__scopeId","data-v-1ced4702"]]),xe=N();let lt=!1,we=0;function ps(o){const e=N(!1);if(be){!lt&&fs(),we++;const t=W(xe,s=>{var n,a,l;s===o.el.value||(n=o.el.value)!=null&&n.contains(s)?(e.value=!0,(a=o.onFocus)==null||a.call(o)):(e.value=!1,(l=o.onBlur)==null||l.call(o))});re(()=>{t(),we--,we||vs()})}return Nt(e)}function fs(){document.addEventListener("focusin",ut),lt=!0,xe.value=document.activeElement}function vs(){document.removeEventListener("focusin",ut)}function ut(){xe.value=document.activeElement}const hs={class:"VPMenuLink"},ms=["innerHTML"],_s=b({__name:"VPMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,s)=>(i(),p("div",hs,[S(K,{class:x({active:u(te)(u(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,ms)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),ye=$(_s,[["__scopeId","data-v-e408d0af"]]),gs={class:"VPMenuGroup"},bs={key:0,class:"title"},ks=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(o){return(e,t)=>(i(),p("div",gs,[e.text?(i(),p("p",bs,C(e.text),1)):k("",!0),(i(!0),p(D,null,R(e.items,s=>(i(),p(D,null,["link"in s?(i(),w(ye,{key:0,item:s},null,8,["item"])):k("",!0)],64))),256))]))}}),ys=$(ks,[["__scopeId","data-v-31ea3977"]]),$s={class:"VPMenu"},Ss={key:0,class:"items"},ws=b({__name:"VPMenu",props:{items:{}},setup(o){return(e,t)=>(i(),p("div",$s,[e.items?(i(),p("div",Ss,[(i(!0),p(D,null,R(e.items,s=>(i(),p(D,{key:JSON.stringify(s)},["link"in s?(i(),w(ye,{key:0,item:s},null,8,["item"])):"component"in s?(i(),w(G(s.component),Q({key:1,ref_for:!0},s.props),null,16)):(i(),w(ys,{key:2,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):k("",!0),f(e.$slots,"default",{},void 0,!0)]))}}),Ps=$(ws,[["__scopeId","data-v-6249a4d3"]]),Ls=["aria-expanded","aria-label"],Vs={key:0,class:"text"},Ts=["innerHTML"],Ns={key:1,class:"vpi-more-horizontal icon"},Cs={class:"menu"},Is=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(o){const e=N(!1),t=N();ps({el:t,onBlur:s});function s(){e.value=!1}return(n,a)=>(i(),p("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:a[1]||(a[1]=l=>e.value=!0),onMouseleave:a[2]||(a[2]=l=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:a[0]||(a[0]=l=>e.value=!e.value)},[n.button||n.icon?(i(),p("span",Vs,[n.icon?(i(),p("span",{key:0,class:x([n.icon,"option-icon"])},null,2)):k("",!0),n.button?(i(),p("span",{key:1,innerHTML:n.button},null,8,Ts)):k("",!0),a[3]||(a[3]=c("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(i(),p("span",Ns))],8,Ls),c("div",Cs,[S(Ps,{items:n.items},{default:v(()=>[f(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fe=$(Is,[["__scopeId","data-v-07493fe4"]]),Ms=["href","aria-label","innerHTML"],As=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(o){const e=o,t=N();q(async()=>{var a;await Ze();const n=(a=t.value)==null?void 0:a.children[0];n instanceof HTMLElement&&n.className.startsWith("vpi-social-")&&(getComputedStyle(n).maskImage||getComputedStyle(n).webkitMaskImage)==="none"&&n.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${e.icon}.svg')`)});const s=T(()=>typeof e.icon=="object"?e.icon.svg:`<span class="vpi-social-${e.icon}"></span>`);return(n,a)=>(i(),p("a",{ref_key:"el",ref:t,class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:s.value},null,8,Ms))}}),Es=$(As,[["__scopeId","data-v-37affc6c"]]),Bs={class:"VPSocialLinks"},Hs=b({__name:"VPSocialLinks",props:{links:{}},setup(o){return(e,t)=>(i(),p("div",Bs,[(i(!0),p(D,null,R(e.links,({link:s,icon:n,ariaLabel:a})=>(i(),w(Es,{key:s,icon:n,link:s,ariaLabel:a},null,8,["icon","link","ariaLabel"]))),128))]))}}),Re=$(Hs,[["__scopeId","data-v-06984ab2"]]),Os={key:0,class:"group translations"},Ds={class:"trans-title"},xs={key:1,class:"group"},Fs={class:"item appearance"},Rs={class:"label"},js={class:"appearance-action"},zs={key:2,class:"group"},Us={class:"item social-links"},Gs=b({__name:"VPNavBarExtra",setup(o){const{site:e,theme:t}=H(),{localeLinks:s,currentLang:n}=le({correspondingLink:!0}),a=T(()=>s.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,r)=>a.value?(i(),w(Fe,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[u(s).length&&u(n).label?(i(),p("div",Os,[c("p",Ds,C(u(n).label),1),(i(!0),p(D,null,R(u(s),d=>(i(),w(ye,{key:d.link,item:d},null,8,["item"]))),128))])):k("",!0),u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",xs,[c("div",Fs,[c("p",Rs,C(u(t).darkModeSwitchLabel||"Appearance"),1),c("div",js,[S(De)])])])):k("",!0),u(t).socialLinks?(i(),p("div",zs,[c("div",Us,[S(Re,{class:"social-links-list",links:u(t).socialLinks},null,8,["links"])])])):k("",!0)]),_:1})):k("",!0)}}),Ks=$(Gs,[["__scopeId","data-v-33208ced"]]),Ws=["aria-expanded"],qs=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(o){return(e,t)=>(i(),p("button",{type:"button",class:x(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=s=>e.$emit("click"))},t[1]||(t[1]=[c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)]),10,Ws))}}),Js=$(qs,[["__scopeId","data-v-58d6457f"]]),Ys=["innerHTML"],Xs=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(o){const{page:e}=H();return(t,s)=>(i(),w(K,{class:x({VPNavBarMenuLink:!0,active:u(te)(u(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,tabindex:"0"},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Ys)]),_:1},8,["class","href","target","rel","no-icon"]))}}),Qs=$(Xs,[["__scopeId","data-v-9c1110ff"]]),Zs=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(o){const e=o,{page:t}=H(),s=a=>"component"in a?!1:"link"in a?te(t.value.relativePath,a.link,!!e.item.activeMatch):a.items.some(s),n=T(()=>s(e.item));return(a,l)=>(i(),w(Fe,{class:x({VPNavBarMenuGroup:!0,active:u(te)(u(t).relativePath,a.item.activeMatch,!!a.item.activeMatch)||n.value}),button:a.item.text,items:a.item.items},null,8,["class","button","items"]))}}),ea={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},ta=b({__name:"VPNavBarMenu",setup(o){const{theme:e}=H();return(t,s)=>u(e).nav?(i(),p("nav",ea,[s[0]||(s[0]=c("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(i(!0),p(D,null,R(u(e).nav,n=>(i(),p(D,{key:JSON.stringify(n)},["link"in n?(i(),w(Qs,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(G(n.component),Q({key:1,ref_for:!0},n.props),null,16)):(i(),w(Zs,{key:2,item:n},null,8,["item"]))],64))),128))])):k("",!0)}}),na=$(ta,[["__scopeId","data-v-e66ac492"]]);function oa(o){const{localeIndex:e,theme:t}=H();function s(n){var V,A,y;const a=n.split("."),l=(V=t.value.search)==null?void 0:V.options,r=l&&typeof l=="object",d=r&&((y=(A=l.locales)==null?void 0:A[e.value])==null?void 0:y.translations)||null,h=r&&l.translations||null;let _=d,m=h,g=o;const I=a.pop();for(const F of a){let z=null;const Y=g==null?void 0:g[F];Y&&(z=g=Y);const ee=m==null?void 0:m[F];ee&&(z=m=ee);const X=_==null?void 0:_[F];X&&(z=_=X),Y||(g=z),ee||(m=z),X||(_=z)}return(_==null?void 0:_[I])??(m==null?void 0:m[I])??(g==null?void 0:g[I])??""}return s}const sa=["aria-label"],aa={class:"DocSearch-Button-Container"},ra={class:"DocSearch-Button-Placeholder"},Ge=b({__name:"VPNavBarSearchButton",setup(o){const t=oa({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(s,n)=>(i(),p("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":u(t)("button.buttonAriaLabel")},[c("span",aa,[n[0]||(n[0]=c("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),c("span",ra,C(u(t)("button.buttonText")),1)]),n[1]||(n[1]=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,sa))}}),ia={class:"VPNavBarSearch"},la={id:"local-search"},ua={key:1,id:"docsearch"},ca=b({__name:"VPNavBarSearch",setup(o){const e=Ct(()=>It(()=>import("./VPLocalSearchBox.CugSD4J6.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:s}=H(),n=N(!1),a=N(!1);q(()=>{});function l(){n.value||(n.value=!0,setTimeout(r,16))}function r(){const m=new Event("keydown");m.key="k",m.metaKey=!0,window.dispatchEvent(m),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||r()},16)}function d(m){const g=m.target,I=g.tagName;return g.isContentEditable||I==="INPUT"||I==="SELECT"||I==="TEXTAREA"}const h=N(!1);Le("k",m=>{(m.ctrlKey||m.metaKey)&&(m.preventDefault(),h.value=!0)}),Le("/",m=>{d(m)||(m.preventDefault(),h.value=!0)});const _="local";return(m,g)=>{var I;return i(),p("div",ia,[u(_)==="local"?(i(),p(D,{key:0},[h.value?(i(),w(u(e),{key:0,onClose:g[0]||(g[0]=V=>h.value=!1)})):k("",!0),c("div",la,[S(Ge,{onClick:g[1]||(g[1]=V=>h.value=!0)})])],64)):u(_)==="algolia"?(i(),p(D,{key:1},[n.value?(i(),w(u(t),{key:0,algolia:((I=u(s).search)==null?void 0:I.options)??u(s).algolia,onVnodeBeforeMount:g[2]||(g[2]=V=>a.value=!0)},null,8,["algolia"])):k("",!0),a.value?k("",!0):(i(),p("div",ua,[S(Ge,{onClick:l})]))],64)):k("",!0)])}}}),da=b({__name:"VPNavBarSocialLinks",setup(o){const{theme:e}=H();return(t,s)=>u(e).socialLinks?(i(),w(Re,{key:0,class:"VPNavBarSocialLinks",links:u(e).socialLinks},null,8,["links"])):k("",!0)}}),pa=$(da,[["__scopeId","data-v-c9d6eb86"]]),fa=["href","rel","target"],va=["innerHTML"],ha={key:2},ma=b({__name:"VPNavBarTitle",setup(o){const{site:e,theme:t}=H(),{hasSidebar:s}=J(),{currentLang:n}=le(),a=T(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=T(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),r=T(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,h)=>(i(),p("div",{class:x(["VPNavBarTitle",{"has-sidebar":u(s)}])},[c("a",{class:"title",href:a.value??u(He)(u(n).link),rel:l.value,target:r.value},[f(d.$slots,"nav-bar-title-before",{},void 0,!0),u(t).logo?(i(),w(fe,{key:0,class:"logo",image:u(t).logo},null,8,["image"])):k("",!0),u(t).siteTitle?(i(),p("span",{key:1,innerHTML:u(t).siteTitle},null,8,va)):u(t).siteTitle===void 0?(i(),p("span",ha,C(u(e).title),1)):k("",!0),f(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,fa)],2))}}),_a=$(ma,[["__scopeId","data-v-b209a5f1"]]),ga={class:"items"},ba={class:"title"},ka=b({__name:"VPNavBarTranslations",setup(o){const{theme:e}=H(),{localeLinks:t,currentLang:s}=le({correspondingLink:!0});return(n,a)=>u(t).length&&u(s).label?(i(),w(Fe,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:u(e).langMenuLabel||"Change language"},{default:v(()=>[c("div",ga,[c("p",ba,C(u(s).label),1),(i(!0),p(D,null,R(u(t),l=>(i(),w(ye,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):k("",!0)}}),ya=$(ka,[["__scopeId","data-v-b22a6220"]]),$a={class:"wrapper"},Sa={class:"container"},wa={class:"title"},Pa={class:"content"},La={class:"content-body"},Va=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(o){const e=o,{y:t}=et(),{hasSidebar:s}=J(),{frontmatter:n}=H(),a=N({});return Be(()=>{a.value={"has-sidebar":s.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,r)=>(i(),p("div",{class:x(["VPNavBar",a.value])},[c("div",$a,[c("div",Sa,[c("div",wa,[S(_a,null,{"nav-bar-title-before":v(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",Pa,[c("div",La,[f(l.$slots,"nav-bar-content-before",{},void 0,!0),S(ca,{class:"search"}),S(na,{class:"menu"}),S(ya,{class:"translations"}),S(ds,{class:"appearance"}),S(pa,{class:"social-links"}),S(Ks,{class:"extra"}),f(l.$slots,"nav-bar-content-after",{},void 0,!0),S(Js,{class:"hamburger",active:l.isScreenOpen,onClick:r[0]||(r[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),r[1]||(r[1]=c("div",{class:"divider"},[c("div",{class:"divider-line"})],-1))],2))}}),Ta=$(Va,[["__scopeId","data-v-09498fb8"]]),Na={key:0,class:"VPNavScreenAppearance"},Ca={class:"text"},Ia=b({__name:"VPNavScreenAppearance",setup(o){const{site:e,theme:t}=H();return(s,n)=>u(e).appearance&&u(e).appearance!=="force-dark"&&u(e).appearance!=="force-auto"?(i(),p("div",Na,[c("p",Ca,C(u(t).darkModeSwitchLabel||"Appearance"),1),S(De)])):k("",!0)}}),Ma=$(Ia,[["__scopeId","data-v-05c1d591"]]),Aa=["innerHTML"],Ea=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(o){const e=ie("close-screen");return(t,s)=>(i(),w(K,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:u(e)},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Aa)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Ba=$(Ea,[["__scopeId","data-v-c1b728a8"]]),Ha=["innerHTML"],Oa=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(o){const e=ie("close-screen");return(t,s)=>(i(),w(K,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:u(e)},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,Ha)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),ct=$(Oa,[["__scopeId","data-v-bc72a758"]]),Da={class:"VPNavScreenMenuGroupSection"},xa={key:0,class:"title"},Fa=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(o){return(e,t)=>(i(),p("div",Da,[e.text?(i(),p("p",xa,C(e.text),1)):k("",!0),(i(!0),p(D,null,R(e.items,s=>(i(),w(ct,{key:s.text,item:s},null,8,["item"]))),128))]))}}),Ra=$(Fa,[["__scopeId","data-v-28d8b5fb"]]),ja=["aria-controls","aria-expanded"],za=["innerHTML"],Ua=["id"],Ga={key:0,class:"item"},Ka={key:1,class:"item"},Wa={key:2,class:"group"},qa=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(o){const e=o,t=N(!1),s=T(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(a,l)=>(i(),p("div",{class:x(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":s.value,"aria-expanded":t.value,onClick:n},[c("span",{class:"button-text",innerHTML:a.text},null,8,za),l[0]||(l[0]=c("span",{class:"vpi-plus button-icon"},null,-1))],8,ja),c("div",{id:s.value,class:"items"},[(i(!0),p(D,null,R(a.items,r=>(i(),p(D,{key:JSON.stringify(r)},["link"in r?(i(),p("div",Ga,[S(ct,{item:r},null,8,["item"])])):"component"in r?(i(),p("div",Ka,[(i(),w(G(r.component),Q({ref_for:!0},r.props,{"screen-menu":""}),null,16))])):(i(),p("div",Wa,[S(Ra,{text:r.text,items:r.items},null,8,["text","items"])]))],64))),128))],8,Ua)],2))}}),Ja=$(qa,[["__scopeId","data-v-75aedaa1"]]),Ya={key:0,class:"VPNavScreenMenu"},Xa=b({__name:"VPNavScreenMenu",setup(o){const{theme:e}=H();return(t,s)=>u(e).nav?(i(),p("nav",Ya,[(i(!0),p(D,null,R(u(e).nav,n=>(i(),p(D,{key:JSON.stringify(n)},["link"in n?(i(),w(Ba,{key:0,item:n},null,8,["item"])):"component"in n?(i(),w(G(n.component),Q({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(i(),w(Ja,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):k("",!0)}}),Qa=b({__name:"VPNavScreenSocialLinks",setup(o){const{theme:e}=H();return(t,s)=>u(e).socialLinks?(i(),w(Re,{key:0,class:"VPNavScreenSocialLinks",links:u(e).socialLinks},null,8,["links"])):k("",!0)}}),Za={class:"list"},er=b({__name:"VPNavScreenTranslations",setup(o){const{localeLinks:e,currentLang:t}=le({correspondingLink:!0}),s=N(!1);function n(){s.value=!s.value}return(a,l)=>u(e).length&&u(t).label?(i(),p("div",{key:0,class:x(["VPNavScreenTranslations",{open:s.value}])},[c("button",{class:"title",onClick:n},[l[0]||(l[0]=c("span",{class:"vpi-languages icon lang"},null,-1)),Z(" "+C(u(t).label)+" ",1),l[1]||(l[1]=c("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),c("ul",Za,[(i(!0),p(D,null,R(u(e),r=>(i(),p("li",{key:r.link,class:"item"},[S(K,{class:"link",href:r.link},{default:v(()=>[Z(C(r.text),1)]),_:2},1032,["href"])]))),128))])],2)):k("",!0)}}),tr=$(er,[["__scopeId","data-v-c73e4a87"]]),nr={class:"container"},or=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(o){const e=N(null),t=tt(be?document.body:null);return(s,n)=>(i(),w(Ae,{name:"fade",onEnter:n[0]||(n[0]=a=>t.value=!0),onAfterLeave:n[1]||(n[1]=a=>t.value=!1)},{default:v(()=>[s.open?(i(),p("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",nr,[f(s.$slots,"nav-screen-content-before",{},void 0,!0),S(Xa,{class:"menu"}),S(tr,{class:"translations"}),S(Ma,{class:"appearance"}),S(Qa,{class:"social-links"}),f(s.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):k("",!0)]),_:3}))}}),sr=$(or,[["__scopeId","data-v-f4974872"]]),ar={key:0,class:"VPNav"},rr=b({__name:"VPNav",setup(o){const{isScreenOpen:e,closeScreen:t,toggleScreen:s}=ts(),{frontmatter:n}=H(),a=T(()=>n.value.navbar!==!1);return nt("close-screen",t),he(()=>{be&&document.documentElement.classList.toggle("hide-nav",!a.value)}),(l,r)=>a.value?(i(),p("header",ar,[S(Ta,{"is-screen-open":u(e),onToggleScreen:u(s)},{"nav-bar-title-before":v(()=>[f(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),S(sr,{open:u(e)},{"nav-screen-content-before":v(()=>[f(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):k("",!0)}}),ir=$(rr,[["__scopeId","data-v-e7523a0d"]]),lr=["role","tabindex"],ur={key:1,class:"items"},cr=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(o){const e=o,{collapsed:t,collapsible:s,isLink:n,isActiveLink:a,hasActiveLink:l,hasChildren:r,toggle:d}=on(T(()=>e.item)),h=T(()=>r.value?"section":"div"),_=T(()=>n.value?"a":"div"),m=T(()=>r.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),g=T(()=>n.value?void 0:"button"),I=T(()=>[[`level-${e.depth}`],{collapsible:s.value},{collapsed:t.value},{"is-link":n.value},{"is-active":a.value},{"has-active":l.value}]);function V(y){"key"in y&&y.key!=="Enter"||!e.item.link&&d()}function A(){e.item.link&&d()}return(y,F)=>{const z=ne("VPSidebarItem",!0);return i(),w(G(h.value),{class:x(["VPSidebarItem",I.value])},{default:v(()=>[y.item.text?(i(),p("div",Q({key:0,class:"item",role:g.value},At(y.item.items?{click:V,keydown:V}:{},!0),{tabindex:y.item.items&&0}),[F[1]||(F[1]=c("div",{class:"indicator"},null,-1)),y.item.link?(i(),w(K,{key:0,tag:_.value,class:"link",href:y.item.link,rel:y.item.rel,target:y.item.target},{default:v(()=>[(i(),w(G(m.value),{class:"text",innerHTML:y.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),w(G(m.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:A,onKeydown:Mt(A,["enter"]),tabindex:"0"},F[0]||(F[0]=[c("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):k("",!0)],16,lr)):k("",!0),y.item.items&&y.item.items.length?(i(),p("div",ur,[y.depth<5?(i(!0),p(D,{key:0},R(y.item.items,Y=>(i(),w(z,{key:Y.text,item:Y,depth:y.depth+1},null,8,["item","depth"]))),128)):k("",!0)])):k("",!0)]),_:1},8,["class"])}}}),dr=$(cr,[["__scopeId","data-v-6bcaa541"]]),pr=b({__name:"VPSidebarGroup",props:{items:{}},setup(o){const e=N(!0);let t=null;return q(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),Et(()=>{t!=null&&(clearTimeout(t),t=null)}),(s,n)=>(i(!0),p(D,null,R(s.items,a=>(i(),p("div",{key:a.text,class:x(["group",{"no-transition":e.value}])},[S(dr,{item:a,depth:0},null,8,["item"])],2))),128))}}),fr=$(pr,[["__scopeId","data-v-1036c205"]]),vr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},hr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(o){const{sidebarGroups:e,hasSidebar:t}=J(),s=o,n=N(null),a=tt(be?document.body:null);W([s,n],()=>{var r;s.open?(a.value=!0,(r=n.value)==null||r.focus()):a.value=!1},{immediate:!0,flush:"post"});const l=N(0);return W(e,()=>{l.value+=1},{deep:!0}),(r,d)=>u(t)?(i(),p("aside",{key:0,class:x(["VPSidebar",{open:r.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=ot(()=>{},["stop"]))},[d[2]||(d[2]=c("div",{class:"curtain"},null,-1)),c("nav",vr,[d[1]||(d[1]=c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),f(r.$slots,"sidebar-nav-before",{},void 0,!0),(i(),w(fr,{items:u(e),key:l.value},null,8,["items"])),f(r.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):k("",!0)}}),mr=$(hr,[["__scopeId","data-v-343caf7b"]]),_r=b({__name:"VPSkipLink",setup(o){const e=_e(),t=N();W(()=>e.path,()=>t.value.focus());function s({target:n}){const a=document.getElementById(decodeURIComponent(n.hash).slice(1));if(a){const l=()=>{a.removeAttribute("tabindex"),a.removeEventListener("blur",l)};a.setAttribute("tabindex","-1"),a.addEventListener("blur",l),a.focus(),window.scrollTo(0,0)}}return(n,a)=>(i(),p(D,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}}),gr=$(_r,[["__scopeId","data-v-529f26e2"]]),br=b({__name:"Layout",setup(o){const{isOpen:e,open:t,close:s}=J(),n=_e();W(()=>n.path,s),nn(e,s);const{frontmatter:a}=H(),l=Bt(),r=T(()=>!!l["home-hero-image"]);return nt("hero-image-slot-exists",r),(d,h)=>{const _=ne("Content");return u(a).layout!==!1?(i(),p("div",{key:0,class:x(["Layout",u(a).pageClass])},[f(d.$slots,"layout-top",{},void 0,!0),S(gr),S(zt,{class:"backdrop",show:u(e),onClick:u(s)},null,8,["show","onClick"]),S(ir,null,{"nav-bar-title-before":v(()=>[f(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[f(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[f(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[f(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[f(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[f(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),S(es,{open:u(e),onOpenMenu:u(t)},null,8,["open","onOpenMenu"]),S(mr,{open:u(e)},{"sidebar-nav-before":v(()=>[f(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[f(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),S(Do,null,{"page-top":v(()=>[f(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[f(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[f(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[f(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[f(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[f(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[f(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[f(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[f(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[f(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[f(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[f(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[f(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[f(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[f(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[f(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[f(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[f(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[f(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[f(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[f(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[f(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[f(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),S(zo),f(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),w(_,{key:1}))}}}),kr=$(br,[["__scopeId","data-v-1b006de6"]]),dt={Layout:kr,enhanceApp:({app:o})=>{o.component("Badge",Ft)}},je="LiteyukiStudio",ze="LiteyukiBot",yr="https://api.github.com",$r="https://git.liteyuki.icu/api/v1",Sr="https://api.liteyuki.icu/online",wr="https://api.liteyuki.icu/count",Pr="https://api.liteyuki.icu/visit",Lr="https://api.liteyuki.icu/visit_count",se=`https://github.com/${je}/${ze}`,Ke="https://starmap.liteyuki.icu";async function Vr(){try{const o=`${$r}/repos/${je}/${ze}`;console.log(o);const t=await(await fetch(o)).json();return{stars:t.stars_count,forks:t.forks_count,watchers:t.watchers_count,issues:0,prs:0,size:t.size}}catch{return{stars:-1,forks:-1,watchers:-1,issues:-1,prs:-1,size:-1}}}async function Tr(){try{const e=await(await fetch(`${yr}/repos/${je}/${ze}`)).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 Nr(){const o=await Tr(),e=await Vr();return{stars:o.stars+e.stars,forks:o.forks+e.forks,watchers:o.watchers+e.watchers,issues:o.issues+e.issues,prs:o.prs+e.prs,size:o.size+e.size}}const oe={getTotal:async()=>{try{return(await(await fetch(wr)).json()).register}catch{return-1}},getOnline:async()=>{try{return(await(await fetch(Sr)).json()).online}catch{return-1}},getGithubStats:Nr,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(Lr)).json()).count}catch{return-1}}};function Cr(){const o="deviceId";let e=localStorage.getItem(o);return e||(e=Mr(),localStorage.setItem(o,e)),e}async function Ir(){const o=Cr();try{await fetch(Pr,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({device_id:o}).toString()})}catch(e){console.error("Failed to upload visit record:",e)}}function Mr(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(o){var e=Math.random()*16|0,t=o==="x"?e:e&3|8;return t.toString(16)})}/*!
* vue-router v4.4.5
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/var We;(function(o){o.pop="pop",o.push="push"})(We||(We={}));var qe;(function(o){o.back="back",o.forward="forward",o.unknown=""})(qe||(qe={}));var Je;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(Je||(Je={}));const Ar=Symbol("");function Er(o,e,t){const s=()=>{o[e].delete(t)};re(s),Ht(s),Ot(()=>{o[e].add(t)}),o[e].add(t)}function Br(o){const e=ie(Ar,{}).value;e&&Er(e,"updateGuards",o)}const Hr={class:"stats-bar-content"},Or={class:"stats-bar"},Dr={class:"stats-info"},xr={class:"stats-title"},Fr={class:"sections"},Rr=["href"],jr={class:"section-tab"},zr={class:"text"},Ur={class:"number"},Gr=b({__name:"StatsBar",setup(o){const{Layout:e}=dt;let t=null;const s={total:{name:"total",color:"#00a6ff",value:N(-1),link:Ke},online:{name:"online",color:"#7eff7e",value:N(-1),link:Ke},stars:{name:"stars",color:"#ffcc00",value:N(-1),link:`${se}/stargazers`},forks:{name:"forks",color:"#ff6600",value:N(-1),link:`${se}/forks`},issues:{name:"issues",color:"#ff0000",value:N(-1),link:`${se}/issues`},prs:{name:"prs",color:"#f15df1",value:N(-1),link:`${se}/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:se}};async function n(){[s.online.value.value,s.total.value.value,s.plugins.value.value,s.resources.value.value,s.visitors.value.value,t]=await Promise.all([oe.getOnline(),oe.getTotal(),oe.getPluginNum(),oe.getResourceNum(),oe.getVisitCount(),oe.getGithubStats()]),s.stars.value.value=(t==null?void 0:t.stars)||0,s.forks.value.value=(t==null?void 0:t.forks)||0,s.issues.value.value=(t==null?void 0:t.issues)||0,s.prs.value.value=(t==null?void 0:t.prs)||0}function a(l){return l.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}return q(()=>{const l=setInterval(n,1e4);n(),Ir(),re(()=>{clearInterval(l)})}),Br(()=>{xt()}),console.log(` _ _ _ _ _ ____ _
| | (_) | | | (_) _ \\ | |
| | _| |_ ___ _ _ _ _| | ___| |_) | ___ | |_
| | | | __/ _ \\ | | | | | | |/ / | _ < / _ \\| __|
| |____| | || __/ |_| | |_| | <| | |_) | (_) | |_
|______|_|\\__\\___|\\__, |\\__,_|_|\\_\\_|____/ \\___/ \\__|
__/ |
|___/ `),console.log(j("easterEgg")),(l,r)=>(i(),w(u(e),null,{"home-features-before":v(()=>[c("div",Hr,[c("div",Or,[c("div",Dr,[c("div",xr,C(u(j)("stats")),1),c("div",Fr,[(i(!0),p(D,null,R(Object.values(s),d=>(i(),p("div",{key:d.name,class:"section"},[c("a",{href:d.link,target:"_blank"},[c("div",jr,[c("span",{class:"dot",style:ge({backgroundColor:d.color})},null,4),c("span",zr,C(u(j)(d.name)),1)]),c("div",Ur,C(a(d.value)),1)],8,Rr)]))),128))])]),r[0]||(r[0]=c("div",{class:"starmap"},[c("iframe",{src:"https://starmap.liteyuki.icu/",width:"100%",height:"300px",class:"gamma"})],-1))])])]),_:1}))}}),Ye=$(Gr,[["__scopeId","data-v-2391887b"]]);var Kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wr(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var pt={exports:{}};/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(o,e){(function(s,n){o.exports=n()})(Kr,function(){return function(){var t={686:function(a,l,r){r.d(l,{default:function(){return St}});var d=r(279),h=r.n(d),_=r(370),m=r.n(_),g=r(817),I=r.n(g);function V(B){try{return document.execCommand(B)}catch{return!1}}var A=function(L){var P=I()(L);return V("cut"),P},y=A;function F(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 M=window.pageYOffset||document.documentElement.scrollTop;return P.style.top="".concat(M,"px"),P.setAttribute("readonly",""),P.value=B,P}var z=function(L,P){var M=F(L);P.container.appendChild(M);var E=I()(M);return V("copy"),M.remove(),E},Y=function(L){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},M="";return typeof L=="string"?M=z(L,P):L instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(L==null?void 0:L.type)?M=z(L.value,P):(M=I()(L),V("copy")),M},ee=Y;function X(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?X=function(P){return typeof P}:X=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},X(B)}var ft=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=L.action,M=P===void 0?"copy":P,E=L.container,O=L.target,U=L.text;if(M!=="copy"&&M!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(O!==void 0)if(O&&X(O)==="object"&&O.nodeType===1){if(M==="copy"&&O.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(M==="cut"&&(O.hasAttribute("readonly")||O.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(U)return ee(U,{container:E});if(O)return M==="cut"?y(O):ee(O,{container:E})},vt=ft;function ae(B){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(P){return typeof P}:ae=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},ae(B)}function ht(B,L){if(!(B instanceof L))throw new TypeError("Cannot call a class as a function")}function Ue(B,L){for(var P=0;P<L.length;P++){var M=L[P];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(B,M.key,M)}}function mt(B,L,P){return L&&Ue(B.prototype,L),P&&Ue(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(M,E){return M.__proto__=E,M},$e(B,L)}function gt(B){var L=yt();return function(){var M=ue(B),E;if(L){var O=ue(this).constructor;E=Reflect.construct(M,arguments,O)}else E=M.apply(this,arguments);return bt(this,E)}}function bt(B,L){return L&&(ae(L)==="object"||typeof L=="function")?L:kt(B)}function kt(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function yt(){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 ue(B){return ue=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},ue(B)}function Se(B,L){var P="data-clipboard-".concat(B);if(L.hasAttribute(P))return L.getAttribute(P)}var $t=function(B){_t(P,B);var L=gt(P);function P(M,E){var O;return ht(this,P),O=L.call(this),O.resolveOptions(E),O.listenClick(M),O}return mt(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=ae(E.container)==="object"?E.container:document.body}},{key:"listenClick",value:function(E){var O=this;this.listener=m()(E,"click",function(U){return O.onClick(U)})}},{key:"onClick",value:function(E){var O=E.delegateTarget||E.currentTarget,U=this.action(O)||"copy",ce=vt({action:U,container:this.container,target:this.target(O),text:this.text(O)});this.emit(ce?"success":"error",{action:U,text:ce,trigger:O,clearSelection:function(){O&&O.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(E){return Se("action",E)}},{key:"defaultTarget",value:function(E){var O=Se("target",E);if(O)return document.querySelector(O)}},{key:"defaultText",value:function(E){return Se("text",E)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(E){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return ee(E,O)}},{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"],O=typeof E=="string"?[E]:E,U=!!document.queryCommandSupported;return O.forEach(function(ce){U=U&&!!document.queryCommandSupported(ce)}),U}}]),P}(h()),St=$t},828:function(a){var l=9;if(typeof Element<"u"&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}function d(h,_){for(;h&&h.nodeType!==l;){if(typeof h.matches=="function"&&h.matches(_))return h;h=h.parentNode}}a.exports=d},438:function(a,l,r){var d=r(828);function h(g,I,V,A,y){var F=m.apply(this,arguments);return g.addEventListener(V,F,y),{destroy:function(){g.removeEventListener(V,F,y)}}}function _(g,I,V,A,y){return typeof g.addEventListener=="function"?h.apply(null,arguments):typeof V=="function"?h.bind(null,document).apply(null,arguments):(typeof g=="string"&&(g=document.querySelectorAll(g)),Array.prototype.map.call(g,function(F){return h(F,I,V,A,y)}))}function m(g,I,V,A){return function(y){y.delegateTarget=d(y.target,I),y.delegateTarget&&A.call(g,y)}}a.exports=_},879:function(a,l){l.node=function(r){return r!==void 0&&r instanceof HTMLElement&&r.nodeType===1},l.nodeList=function(r){var d=Object.prototype.toString.call(r);return r!==void 0&&(d==="[object NodeList]"||d==="[object HTMLCollection]")&&"length"in r&&(r.length===0||l.node(r[0]))},l.string=function(r){return typeof r=="string"||r instanceof String},l.fn=function(r){var d=Object.prototype.toString.call(r);return d==="[object Function]"}},370:function(a,l,r){var d=r(879),h=r(438);function _(V,A,y){if(!V&&!A&&!y)throw new Error("Missing required arguments");if(!d.string(A))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(V))return m(V,A,y);if(d.nodeList(V))return g(V,A,y);if(d.string(V))return I(V,A,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function m(V,A,y){return V.addEventListener(A,y),{destroy:function(){V.removeEventListener(A,y)}}}function g(V,A,y){return Array.prototype.forEach.call(V,function(F){F.addEventListener(A,y)}),{destroy:function(){Array.prototype.forEach.call(V,function(F){F.removeEventListener(A,y)})}}}function I(V,A,y){return h(document.body,V,A,y)}a.exports=_},817:function(a){function l(r){var d;if(r.nodeName==="SELECT")r.focus(),d=r.value;else if(r.nodeName==="INPUT"||r.nodeName==="TEXTAREA"){var h=r.hasAttribute("readonly");h||r.setAttribute("readonly",""),r.select(),r.setSelectionRange(0,r.value.length),h||r.removeAttribute("readonly"),d=r.value}else{r.hasAttribute("contenteditable")&&r.focus();var _=window.getSelection(),m=document.createRange();m.selectNodeContents(r),_.removeAllRanges(),_.addRange(m),d=_.toString()}return d}a.exports=l},279:function(a){function l(){}l.prototype={on:function(r,d,h){var _=this.e||(this.e={});return(_[r]||(_[r]=[])).push({fn:d,ctx:h}),this},once:function(r,d,h){var _=this;function m(){_.off(r,m),d.apply(h,arguments)}return m._=d,this.on(r,m,h)},emit:function(r){var d=[].slice.call(arguments,1),h=((this.e||(this.e={}))[r]||[]).slice(),_=0,m=h.length;for(_;_<m;_++)h[_].fn.apply(h[_].ctx,d);return this},off:function(r,d){var h=this.e||(this.e={}),_=h[r],m=[];if(_&&d)for(var g=0,I=_.length;g<I;g++)_[g].fn!==d&&_[g].fn._!==d&&m.push(_[g]);return m.length?h[r]=m:delete h[r],this}},a.exports=l,a.exports.TinyEmitter=l}},s={};function n(a){if(s[a])return s[a].exports;var l=s[a]={exports:{}};return t[a](l,l.exports,n),l.exports}return function(){n.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(l,{a:l}),l}}(),function(){n.d=function(a,l){for(var r in l)n.o(l,r)&&!n.o(a,r)&&Object.defineProperty(a,r,{enumerable:!0,get:l[r]})}}(),function(){n.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)}}(),n(686)}().default})})(pt);var qr=pt.exports;const Jr=Wr(qr),Yr={class:"item-card"},Xr={class:"item-name"},Qr={class:"item-description"},Zr={class:"tags"},ei={class:"item-bar"},ti=["href"],ni={class:"btn"},oi=["href"],si=["src"],ai={class:"author-name"},ri=b({__name:"PluginItemCard",props:{item:Object},setup(o){const e=o,t=()=>{const n=new Jr(".copy-btn",{text:()=>`npm install ${e.item.module_name}`});n.on("success",()=>{}),n.on("error",()=>{})},s=n=>{const a=n.replace(/^#/,""),[l,r,d]=a.match(/.{2}/g).map(_=>parseInt(_,16)),h=(l*299+r*587+d*114)/1e3;return{backgroundColor:n,color:h>128?"#000":"#fff"}};return(n,a)=>(i(),p("div",Yr,[c("div",Xr,C(e.item.name),1),c("div",Qr,C(e.item.desc),1),c("div",Zr,[(i(!0),p(D,null,R(e.item.tags,l=>(i(),p("span",{class:"tag",key:l,style:ge(s(l.color))},C(l.label),5))),128))]),c("div",ei,[c("a",{href:e.item.homepage,class:"btn",target:"_blank"},a[0]||(a[0]=[c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[c("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)]),8,ti),c("button",{class:"btn copy-btn",onClick:t},"复制安装命令"),c("div",ni,[c("a",{class:"author-info",href:`https://github.com/${e.item.author}`},[c("img",{class:"icon avatar",src:`https://github.com/${e.item.author}.png?size=80`,alt:""},null,8,si),c("div",ai,C(e.item.author),1)],8,oi)])])]))}}),ii=$(ri,[["__scopeId","data-v-a8e3f329"]]),li={class:"switch"},ui=["checked"],ci=b({__name:"ToggleSwitch",props:{modelValue:Boolean},emits:["update:modelValue"],setup(o,{emit:e}){const t=e,s=n=>{t("update:modelValue",n)};return(n,a)=>(i(),p("label",li,[c("input",{type:"checkbox",checked:o.modelValue,onChange:a[0]||(a[0]=l=>s(l.target.checked))},null,40,ui),a[1]||(a[1]=c("span",{class:"slider round"},null,-1))]))}}),di=$(ci,[["__scopeId","data-v-b3db11d1"]]),pi=[{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"}],fi={class:"market"},vi={class:"search-box-div"},hi=["placeholder"],mi={class:"items"},_i=b({__name:"PluginStore",setup(o){let e=N(!1),t=T(()=>{let a=s.value;return n.value&&(a=a.filter(l=>l.name.toLowerCase().includes(n.value.toLowerCase())||l.desc.toLowerCase().includes(n.value.toLowerCase())||l.author.toLowerCase().includes(n.value.toLowerCase())||l.module_name.toLowerCase().includes(n.value.toLowerCase()))),e.value&&(a=a.filter(l=>l.is_liteyuki_plugin)),a}),s=N([]),n=N("");return s.value=pi,s.value.forEach(a=>{a.is_liteyuki_plugin=!0}),fetch("https://registry.nonebot.dev/plugins.json").then(a=>a.json()).then(a=>{a.forEach(l=>{l.is_official=!1}),s.value=s.value.concat(a)}),(a,l)=>(i(),p("div",fi,[c("h1",null,C(u(j)("pluginStore")),1),c("p",null,C(u(j)("pluginStoreDesc")),1),c("div",vi,[Ve(c("input",{class:"item-search-box",type:"text","onUpdate:modelValue":l[0]||(l[0]=r=>Ne(n)?n.value=r:n=r),placeholder:u(j)("search")},null,8,hi),[[Te,u(n)]]),S(di,{modelValue:u(e),"onUpdate:modelValue":l[1]||(l[1]=r=>Ne(e)?e.value=r:e=r)},null,8,["modelValue"]),Z(" "+C(u(j)("liteyukiOnly")),1)]),c("div",mi,[(i(!0),p(D,null,R(u(t),r=>(i(),w(ii,{key:r.id,item:r},null,8,["item"]))),128))])]))}}),gi=$(_i,[["__scopeId","data-v-671446c8"]]),bi={class:"item-card"},ki={class:"item-name"},yi={class:"item-description"},$i={class:"item-bar"},Si=["href"],wi=["href"],Pi=["src"],Li={class:"author-name"},Vi=b({__name:"ResItemCard",props:{item:Object},setup(o){const e=o;return(t,s)=>(i(),p("div",bi,[c("div",ki,C(e.item.name),1),c("div",yi,C(e.item.description),1),c("div",$i,[c("a",{href:e.item.link,class:"",target:"_blank"},s[0]||(s[0]=[c("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[c("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)]),8,Si),c("div",null,[c("a",{class:"author-info",href:`https://github.com/${e.item.author}`},[c("img",{class:"icon avatar",src:`https://github.com/${e.item.author}.png?size=80`,alt:""},null,8,Pi),c("div",Li,C(e.item.author),1)],8,wi)])])]))}}),Ti=$(Vi,[["__scopeId","data-v-22cbd1fa"]]),Ni={key:0,class:"floating-window"},Ci={class:"window-content"},Ii=b({__name:"ResPubWindow",props:{isVisible:Boolean},setup(o){return(e,t)=>o.isVisible?(i(),p("div",Ni,[c("div",Ci,[f(e.$slots,"default",{},void 0,!0)])])):k("",!0)}}),Mi=$(Ii,[["__scopeId","data-v-8b5829b6"]]),Ai=[{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"}],Ei={class:"market"},Bi={class:"search-box-div"},Hi=["placeholder"],Oi={class:"store-tabs",style:{display:"flex"}},Di={class:"items"},xi={for:"name"},Fi=["placeholder"],Ri={class:"pub-options",style:{display:"flex","justify-content":"center"}},ji=b({__name:"ResStore",setup(o){let e=T(()=>s.value?t.value.filter(_=>_.name.toLowerCase().includes(s.value.toLowerCase())||_.description.toLowerCase().includes(s.value.toLowerCase())||_.author.toLowerCase().includes(s.value.toLowerCase())).reverse():t.value.reverse()),t=N([]),s=N("");t.value=Ai;const n=N(!1);let a=N({name:""});function l(){n.value=!0}function r(){n.value=!1}let d="";ke(ve().site.value.lang)==="zh"?d="zh":d="en";function h(){const _=encodeURI(`Resource: ${a.value.name}`),m=`${se}/issues/new?assignees=&labels=Resource&template=resource_publish_${d}.yml&title=${_}`;console.log(m),window.open(m,"_blank")}return(_,m)=>(i(),p("div",Ei,[c("h1",null,C(u(j)("resourceStore")),1),c("div",Bi,[Ve(c("input",{class:"item-search-box",type:"text",placeholder:u(j)("search"),"onUpdate:modelValue":m[0]||(m[0]=g=>Ne(s)?s.value=g:s=g)},null,8,Hi),[[Te,u(s)]])]),c("div",Oi,[c("button",{class:"store-button publish-button",onClick:l},C(u(j)("publishRes")),1)]),c("div",Di,[(i(!0),p(D,null,R(u(e),g=>(i(),w(Ti,{key:g.id,item:g},null,8,["item"]))),128))]),S(Mi,{class:"pub-window","is-visible":n.value},{default:v(()=>[c("h2",null,C(u(j)("publishRes")),1),c("form",{onSubmit:ot(h,["prevent"])},[c("label",xi,C(u(j)("resName")),1),Ve(c("input",{type:"text",id:"name","onUpdate:modelValue":m[1]||(m[1]=g=>u(a).name=g),placeholder:u(j)("resNameText")},null,8,Fi),[[Te,u(a).name]]),c("div",Ri,[c("button",{class:"pub-option close",type:"button",onClick:r},C(u(j)("closeButtonText")),1),c("button",{class:"pub-option submit",type:"submit",onClick:h},C(u(j)("submitButtonText")),1)])],32)]),_:1},8,["is-visible"])]))}}),zi=$(ji,[["__scopeId","data-v-83d58003"]]),Ki={extends:dt,enhanceApp({app:o}){o.component("StatsBar",Ye),o.component("PluginStore",gi),o.component("ResStore",zi)},Layout:Ye};export{Ki as R,oa as c,j as g,H as u};