diff --git a/404.html b/404.html index 818be09a..622f1973 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ LiteyukiBot 轻雪机器人 - - + + -
跳至主要內容

404

页面不存在

这里什么也没有

- +
跳至主要內容

404

页面不存在

这 是 四 零 四 !

+ diff --git a/assets/404.html-4lBxZMxC.js b/assets/404.html-Bw0uxonD.js similarity index 94% rename from assets/404.html-4lBxZMxC.js rename to assets/404.html-Bw0uxonD.js index 1e7bbedb..a9574f05 100644 --- a/assets/404.html-4lBxZMxC.js +++ b/assets/404.html-Bw0uxonD.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,d as n}from"./app-DUHc7hb-.js";const r={},a=n("p",null,"404 Not Found",-1),p=[a];function c(s,i){return e(),o("div",null,p)}const d=t(r,[["render",c],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"远野千束"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,h as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,d as n}from"./app-C1c5-uLX.js";const r={},a=n("p",null,"404 Not Found",-1),p=[a];function c(s,i){return e(),o("div",null,p)}const d=t(r,[["render",c],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"远野千束"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,h as data}; diff --git a/assets/agreement.html-Dwnd_CGu.js b/assets/agreement.html-DNoPTulK.js similarity index 98% rename from assets/agreement.html-Dwnd_CGu.js rename to assets/agreement.html-DNoPTulK.js index 1e7de7a7..8884ceef 100644 --- a/assets/agreement.html-Dwnd_CGu.js +++ b/assets/agreement.html-DNoPTulK.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o,b as r}from"./app-DUHc7hb-.js";const a={},i=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,m){return t(),o("div",null,n)}const d=e(a,[["render",c],["__file","agreement.html.vue"]]),u=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-31T02:59:17.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-31T02:59:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-31T02:59:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{d as comp,u as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o,b as r}from"./app-C1c5-uLX.js";const a={},i=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,m){return t(),o("div",null,n)}const d=e(a,[["render",c],["__file","agreement.html.vue"]]),u=JSON.parse('{"path":"/usage/agreement.html","title":"用户协议","lang":"zh-CN","frontmatter":{"title":"用户协议","icon":"user-secret","order":3,"category":"使用手册","description":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"用户协议"}],["meta",{"property":"og:description","content":"本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息 你可以选择开启auto_report(默认开启),轻雪会收集以下内容 运行环境的设备信息:CPU,内存,系统信息,Python信息 插件信息(不含插件数据), 部分异常信息, 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-31T02:59:17.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-31T02:59:17.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"用户协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-31T02:59:17.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711621856000,"updatedTime":1711853957000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":2}]},"readingTime":{"minutes":0.75,"words":226},"filePathRelative":"usage/agreement.md","localizedDate":"2024年3月28日","autoDesc":true}');export{d as comp,u as data}; diff --git a/assets/app-DUHc7hb-.js b/assets/app-C1c5-uLX.js similarity index 99% rename from assets/app-DUHc7hb-.js rename to assets/app-C1c5-uLX.js index 41b7cd84..971dfc9e 100644 --- a/assets/app-DUHc7hb-.js +++ b/assets/app-C1c5-uLX.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index.html-CFMdQ8y2.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/foolsday.html-D5qruSp9.js","assets/index.html-BOa-wn01.js","assets/config.html-BzixVQT6.js","assets/fandq.html-BbKYU0J4.js","assets/install.html-CNLomYya.js","assets/index.html-C0zJRIyB.js","assets/index.html-CkAbM_BV.js","assets/agreement.html-Dwnd_CGu.js","assets/basic_command.html-Cyc1ByDZ.js","assets/extra_command.html-BIM9J_Mt.js","assets/resource_pack.html-BkkvX7Is.js","assets/404.html-4lBxZMxC.js"] + __vite__mapDeps.viteFileDeps = ["assets/index.html-DeBixjJr.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/foolsday.html-DBlLjgsp.js","assets/index.html-BZzZGDPi.js","assets/config.html-DYCt0wle.js","assets/fandq.html-Dh9tQCRG.js","assets/install.html-BoWbZuTj.js","assets/index.html-Cx1JiFPR.js","assets/index.html-D5OJkDQD.js","assets/agreement.html-DNoPTulK.js","assets/basic_command.html-Dl_qauVP.js","assets/extra_command.html-C8oJMgaY.js","assets/resource_pack.html-B-wR9Y_N.js","assets/404.html-Bw0uxonD.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -20,14 +20,14 @@ function __vite__mapDeps(indexes) { * @vue/runtime-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const I1="http://www.w3.org/2000/svg",$1="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,xl=jt&&jt.createElement("template"),O1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?jt.createElementNS(I1,e):t==="mathml"?jt.createElementNS($1,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{xl.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=xl.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$t="transition",Hn="animation",Tn=Symbol("_vtc"),qt=(e,{slots:t})=>f(jf,Ti(e),t);qt.displayName="Transition";const ki={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},P1=qt.props=ke({},li,ki),Kt=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},kl=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Ti(e){const t={};for(const P in e)P in ki||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=R1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:k,onLeaveCancelled:M,onBeforeAppear:S=b,onAppear:N=C,onAppearCancelled:O=y}=t,K=(P,X,ye)=>{Rt(P,X?u:a),Rt(P,X?c:l),ye&&ye()},$=(P,X)=>{P._isLeaving=!1,Rt(P,d),Rt(P,v),Rt(P,p),X&&X()},z=P=>(X,ye)=>{const he=P?N:C,q=()=>K(X,P,ye);Kt(he,[X,q]),Tl(()=>{Rt(X,P?i:s),Ct(X,P?u:a),kl(he)||Al(X,r,_,q)})};return ke(t,{onBeforeEnter(P){Kt(b,[P]),Ct(P,s),Ct(P,l)},onBeforeAppear(P){Kt(S,[P]),Ct(P,i),Ct(P,c)},onEnter:z(!1),onAppear:z(!0),onLeave(P,X){P._isLeaving=!0;const ye=()=>$(P,X);Ct(P,d),Li(),Ct(P,p),Tl(()=>{P._isLeaving&&(Rt(P,d),Ct(P,v),kl(k)||Al(P,r,w,ye))}),Kt(k,[P,ye])},onEnterCancelled(P){K(P,!1),Kt(y,[P])},onAppearCancelled(P){K(P,!0),Kt(O,[P])},onLeaveCancelled(P){$(P),Kt(M,[P])}})}function R1(e){if(e==null)return null;if(be(e))return[xo(e.enter),xo(e.leave)];{const t=xo(e);return[t,t]}}function xo(e){return Nu(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Tn]||(e[Tn]=new Set)).add(t)}function Rt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Tn];n&&(n.delete(t),n.size||(e[Tn]=void 0))}function Tl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let M1=0;function Al(e,t,n,r){const o=e._endId=++M1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Ai(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u(n[g]||"").split(", "),o=r(`${$t}Delay`),s=r(`${$t}Duration`),l=Ll(o,s),a=r(`${Hn}Delay`),i=r(`${Hn}Duration`),c=Ll(a,i);let u=null,d=0,p=0;t===$t?l>0&&(u=$t,d=l,p=s.length):t===Hn?c>0&&(u=Hn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?$t:Hn:null,p=u?u===$t?s.length:i.length:0);const v=u===$t&&/\b(transform|all)(,|$)/.test(r(`${$t}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Ll(e,t){for(;e.lengthIl(n)+Il(e[r])))}function Il(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Li(){return document.body.offsetHeight}function N1(e,t,n){const r=e[Tn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $l=Symbol("_vod"),D1=Symbol("_vsh"),j1=Symbol(""),B1=/(^|;)\s*display\s*:/;function H1(e,t,n){const r=e.style,o=Pe(n);let s=!1;if(n&&!o){if(t)if(Pe(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Wr(r,a,"")}else for(const l in t)n[l]==null&&Wr(r,l,"");for(const l in n)l==="display"&&(s=!0),Wr(r,l,n[l])}else if(o){if(t!==n){const l=r[j1];l&&(n+=";"+l),r.cssText=n,s=B1.test(n)}}else t&&e.removeAttribute("style");$l in e&&(e[$l]=s?r.display:"",e[D1]&&(r.display="none"))}const Ol=/\s*!important$/;function Wr(e,t,n){if(te(n))n.forEach(r=>Wr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=F1(e,t);Ol.test(n)?e.setProperty(On(r),n.replace(Ol,""),"important"):e[r]=n}}const Pl=["Webkit","Moz","ms"],ko={};function F1(e,t){const n=ko[t];if(n)return n;let r=st(t);if(r!=="filter"&&r in e)return ko[t]=r;r=vr(r);for(let o=0;oTo||(K1.then(()=>To=0),To=Date.now());function J1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;rt(Q1(r,n.value),t,5,[r])};return n.value=e,n.attached=Y1(),n}function Q1(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Dl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,X1=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?N1(e,r,c):t==="style"?H1(e,n,r):hr(t)?ms(t)||W1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Z1(e,t,r,c))?z1(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),V1(e,t,r,c))};function Z1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dl(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Dl(t)&&Pe(n)?!1:t in e}const Ii=new WeakMap,$i=new WeakMap,to=Symbol("_moveCb"),jl=Symbol("_enterCb"),Oi={name:"TransitionGroup",props:ke({},P1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=wr(),r=si();let o,s;return ci(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!sd(o[0].el,n.vnode.el,l))return;o.forEach(nd),o.forEach(rd);const a=o.filter(od);Li(),a.forEach(i=>{const c=i.el,u=c.style;Ct(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[to]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[to]=null,Rt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=Ti(l);let i=l.tag||Je;o=s,s=t.default?Os(t.default()):[];for(let c=0;cdelete e.mode;Oi.props;const td=Oi;function nd(e){const t=e.el;t[to]&&t[to](),t[jl]&&t[jl]()}function rd(e){$i.set(e,e.el.getBoundingClientRect())}function od(e){const t=Ii.get(e),n=$i.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function sd(e,t,n){const r=e.cloneNode(),o=e[Tn];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=Ai(r);return s.removeChild(r),l}const ld=ke({patchProp:X1},O1);let Ao,Bl=!1;function ad(){return Ao=Bl?Ao:f1(ld),Bl=!0,Ao}const id=(...e)=>{const t=ad().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ud(r);if(o)return n(o,!0,cd(o))},t};function cd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ud(e){return Pe(e)?document.querySelector(e):e}var fd=["link","meta","script","style","noscript","template"],dd=["title","base"],pd=([e,t,n])=>dd.includes(e)?e:fd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,hd=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=pd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},vd=e=>e[0]==="/"?e:`/${e}`,Pi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sn=e=>/^(https?:)?\/\//.test(e),md=/.md((\?|#).*)?$/,An=(e,t="/")=>!!(sn(e)||e.startsWith("/")&&!e.startsWith(t)&&!md.test(e)),Ri=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Rn=e=>Object.prototype.toString.call(e)==="[object Object]",gd=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},Ds=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Mi=e=>e[0]==="/"?e.slice(1):e,yd=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},xe=e=>typeof e=="string";const bd="modulepreload",wd=function(e){return"/"+e},Hl={},Be=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=wd(i),i in Hl)return;Hl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":bd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},_d=JSON.parse("{}"),Ed=Object.fromEntries([["/",{loader:()=>Be(()=>import("./index.html-CFMdQ8y2.js"),__vite__mapDeps([0,1])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Be(()=>import("./foolsday.html-D5qruSp9.js"),__vite__mapDeps([2,1])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Be(()=>import("./index.html-BOa-wn01.js"),__vite__mapDeps([3,1])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Be(()=>import("./config.html-BzixVQT6.js"),__vite__mapDeps([4,1])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Be(()=>import("./fandq.html-BbKYU0J4.js"),__vite__mapDeps([5,1])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Be(()=>import("./install.html-CNLomYya.js"),__vite__mapDeps([6,1])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>Be(()=>import("./index.html-C0zJRIyB.js"),__vite__mapDeps([7,1])),meta:{t:"",i:"paint-brush"}}],["/usage/",{loader:()=>Be(()=>import("./index.html-CkAbM_BV.js"),__vite__mapDeps([8,1])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Be(()=>import("./agreement.html-Dwnd_CGu.js"),__vite__mapDeps([9,1])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Be(()=>import("./basic_command.html-Cyc1ByDZ.js"),__vite__mapDeps([10,1])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Be(()=>import("./extra_command.html-BIM9J_Mt.js"),__vite__mapDeps([11,1])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/resource_pack.html",{loader:()=>Be(()=>import("./resource_pack.html-BkkvX7Is.js"),__vite__mapDeps([12,1])),meta:{t:"资源包",i:"comment",O:3}}],["/404.html",{loader:()=>Be(()=>import("./404.html-4lBxZMxC.js"),__vite__mapDeps([13,1])),meta:{t:""}}]]);/*! +**/const I1="http://www.w3.org/2000/svg",$1="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,xl=jt&&jt.createElement("template"),O1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?jt.createElementNS(I1,e):t==="mathml"?jt.createElementNS($1,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{xl.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=xl.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$t="transition",Hn="animation",Tn=Symbol("_vtc"),qt=(e,{slots:t})=>f(jf,Ti(e),t);qt.displayName="Transition";const ki={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},P1=qt.props=ke({},li,ki),Kt=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},kl=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function Ti(e){const t={};for(const P in e)P in ki||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=R1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:k,onLeaveCancelled:M,onBeforeAppear:S=b,onAppear:N=C,onAppearCancelled:O=y}=t,K=(P,X,ye)=>{Rt(P,X?u:a),Rt(P,X?c:l),ye&&ye()},$=(P,X)=>{P._isLeaving=!1,Rt(P,d),Rt(P,v),Rt(P,p),X&&X()},z=P=>(X,ye)=>{const he=P?N:C,q=()=>K(X,P,ye);Kt(he,[X,q]),Tl(()=>{Rt(X,P?i:s),Ct(X,P?u:a),kl(he)||Al(X,r,_,q)})};return ke(t,{onBeforeEnter(P){Kt(b,[P]),Ct(P,s),Ct(P,l)},onBeforeAppear(P){Kt(S,[P]),Ct(P,i),Ct(P,c)},onEnter:z(!1),onAppear:z(!0),onLeave(P,X){P._isLeaving=!0;const ye=()=>$(P,X);Ct(P,d),Li(),Ct(P,p),Tl(()=>{P._isLeaving&&(Rt(P,d),Ct(P,v),kl(k)||Al(P,r,w,ye))}),Kt(k,[P,ye])},onEnterCancelled(P){K(P,!1),Kt(y,[P])},onAppearCancelled(P){K(P,!0),Kt(O,[P])},onLeaveCancelled(P){$(P),Kt(M,[P])}})}function R1(e){if(e==null)return null;if(be(e))return[xo(e.enter),xo(e.leave)];{const t=xo(e);return[t,t]}}function xo(e){return Nu(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Tn]||(e[Tn]=new Set)).add(t)}function Rt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Tn];n&&(n.delete(t),n.size||(e[Tn]=void 0))}function Tl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let M1=0;function Al(e,t,n,r){const o=e._endId=++M1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Ai(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u(n[g]||"").split(", "),o=r(`${$t}Delay`),s=r(`${$t}Duration`),l=Ll(o,s),a=r(`${Hn}Delay`),i=r(`${Hn}Duration`),c=Ll(a,i);let u=null,d=0,p=0;t===$t?l>0&&(u=$t,d=l,p=s.length):t===Hn?c>0&&(u=Hn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?$t:Hn:null,p=u?u===$t?s.length:i.length:0);const v=u===$t&&/\b(transform|all)(,|$)/.test(r(`${$t}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Ll(e,t){for(;e.lengthIl(n)+Il(e[r])))}function Il(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Li(){return document.body.offsetHeight}function N1(e,t,n){const r=e[Tn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $l=Symbol("_vod"),D1=Symbol("_vsh"),j1=Symbol(""),B1=/(^|;)\s*display\s*:/;function H1(e,t,n){const r=e.style,o=Pe(n);let s=!1;if(n&&!o){if(t)if(Pe(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Wr(r,a,"")}else for(const l in t)n[l]==null&&Wr(r,l,"");for(const l in n)l==="display"&&(s=!0),Wr(r,l,n[l])}else if(o){if(t!==n){const l=r[j1];l&&(n+=";"+l),r.cssText=n,s=B1.test(n)}}else t&&e.removeAttribute("style");$l in e&&(e[$l]=s?r.display:"",e[D1]&&(r.display="none"))}const Ol=/\s*!important$/;function Wr(e,t,n){if(te(n))n.forEach(r=>Wr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=F1(e,t);Ol.test(n)?e.setProperty(On(r),n.replace(Ol,""),"important"):e[r]=n}}const Pl=["Webkit","Moz","ms"],ko={};function F1(e,t){const n=ko[t];if(n)return n;let r=st(t);if(r!=="filter"&&r in e)return ko[t]=r;r=vr(r);for(let o=0;oTo||(K1.then(()=>To=0),To=Date.now());function J1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;rt(Q1(r,n.value),t,5,[r])};return n.value=e,n.attached=Y1(),n}function Q1(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Dl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,X1=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?N1(e,r,c):t==="style"?H1(e,n,r):hr(t)?ms(t)||W1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Z1(e,t,r,c))?z1(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),V1(e,t,r,c))};function Z1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dl(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Dl(t)&&Pe(n)?!1:t in e}const Ii=new WeakMap,$i=new WeakMap,to=Symbol("_moveCb"),jl=Symbol("_enterCb"),Oi={name:"TransitionGroup",props:ke({},P1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=wr(),r=si();let o,s;return ci(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!sd(o[0].el,n.vnode.el,l))return;o.forEach(nd),o.forEach(rd);const a=o.filter(od);Li(),a.forEach(i=>{const c=i.el,u=c.style;Ct(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[to]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[to]=null,Rt(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=Ti(l);let i=l.tag||Je;o=s,s=t.default?Os(t.default()):[];for(let c=0;cdelete e.mode;Oi.props;const td=Oi;function nd(e){const t=e.el;t[to]&&t[to](),t[jl]&&t[jl]()}function rd(e){$i.set(e,e.el.getBoundingClientRect())}function od(e){const t=Ii.get(e),n=$i.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function sd(e,t,n){const r=e.cloneNode(),o=e[Tn];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=Ai(r);return s.removeChild(r),l}const ld=ke({patchProp:X1},O1);let Ao,Bl=!1;function ad(){return Ao=Bl?Ao:f1(ld),Bl=!0,Ao}const id=(...e)=>{const t=ad().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ud(r);if(o)return n(o,!0,cd(o))},t};function cd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ud(e){return Pe(e)?document.querySelector(e):e}var fd=["link","meta","script","style","noscript","template"],dd=["title","base"],pd=([e,t,n])=>dd.includes(e)?e:fd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,hd=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=pd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},vd=e=>e[0]==="/"?e:`/${e}`,Pi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sn=e=>/^(https?:)?\/\//.test(e),md=/.md((\?|#).*)?$/,An=(e,t="/")=>!!(sn(e)||e.startsWith("/")&&!e.startsWith(t)&&!md.test(e)),Ri=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Rn=e=>Object.prototype.toString.call(e)==="[object Object]",gd=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},Ds=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Mi=e=>e[0]==="/"?e.slice(1):e,yd=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},xe=e=>typeof e=="string";const bd="modulepreload",wd=function(e){return"/"+e},Hl={},Be=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=wd(i),i in Hl)return;Hl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":bd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},_d=JSON.parse("{}"),Ed=Object.fromEntries([["/",{loader:()=>Be(()=>import("./index.html-DeBixjJr.js"),__vite__mapDeps([0,1])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Be(()=>import("./foolsday.html-DBlLjgsp.js"),__vite__mapDeps([2,1])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Be(()=>import("./index.html-BZzZGDPi.js"),__vite__mapDeps([3,1])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Be(()=>import("./config.html-DYCt0wle.js"),__vite__mapDeps([4,1])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Be(()=>import("./fandq.html-Dh9tQCRG.js"),__vite__mapDeps([5,1])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Be(()=>import("./install.html-BoWbZuTj.js"),__vite__mapDeps([6,1])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>Be(()=>import("./index.html-Cx1JiFPR.js"),__vite__mapDeps([7,1])),meta:{t:"",i:"paint-brush"}}],["/usage/",{loader:()=>Be(()=>import("./index.html-D5OJkDQD.js"),__vite__mapDeps([8,1])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Be(()=>import("./agreement.html-DNoPTulK.js"),__vite__mapDeps([9,1])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Be(()=>import("./basic_command.html-Dl_qauVP.js"),__vite__mapDeps([10,1])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Be(()=>import("./extra_command.html-C8oJMgaY.js"),__vite__mapDeps([11,1])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/resource_pack.html",{loader:()=>Be(()=>import("./resource_pack.html-B-wR9Y_N.js"),__vite__mapDeps([12,1])),meta:{t:"资源包",i:"comment",O:3}}],["/404.html",{loader:()=>Be(()=>import("./404.html-Bw0uxonD.js"),__vite__mapDeps([13,1])),meta:{t:""}}]]);/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const dn=typeof document<"u";function Cd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Lo(e,t){const n={};for(const r in t){const o=t[r];n[r]=dt(o)?o.map(e):e(o)}return n}const Xn=()=>{},dt=Array.isArray,Ni=/#/g,Sd=/&/g,xd=/\//g,kd=/=/g,Td=/\?/g,Di=/\+/g,Ad=/%5B/g,Ld=/%5D/g,ji=/%5E/g,Id=/%60/g,Bi=/%7B/g,$d=/%7C/g,Hi=/%7D/g,Od=/%20/g;function js(e){return encodeURI(""+e).replace($d,"|").replace(Ad,"[").replace(Ld,"]")}function Pd(e){return js(e).replace(Bi,"{").replace(Hi,"}").replace(ji,"^")}function ts(e){return js(e).replace(Di,"%2B").replace(Od,"+").replace(Ni,"%23").replace(Sd,"%26").replace(Id,"`").replace(Bi,"{").replace(Hi,"}").replace(ji,"^")}function Rd(e){return ts(e).replace(kd,"%3D")}function Md(e){return js(e).replace(Ni,"%23").replace(Td,"%3F")}function Nd(e){return e==null?"":Md(e).replace(xd,"%2F")}function ar(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Dd=/\/$/,jd=e=>e.replace(Dd,"");function Io(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=Vd(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:ar(l)}}function Bd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Fl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Hd(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ln(t.matched[r],n.matched[o])&&Fi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ln(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Fi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Fd(e[n],t[n]))return!1;return!0}function Fd(e,t){return dt(e)?Vl(e,t):dt(t)?Vl(t,e):e===t}function Vl(e,t){return dt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Vd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}var ir;(function(e){e.pop="pop",e.push="push"})(ir||(ir={}));var Zn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Zn||(Zn={}));function zd(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jd(e)}const qd=/^[^#]+#/;function Ud(e,t){return e.replace(qd,"#")+t}function Wd(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const fo=()=>({left:window.scrollX,top:window.scrollY});function Gd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Wd(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zl(e,t){return(history.state?history.state.position-t:-1)+e}const ns=new Map;function Kd(e,t){ns.set(e,t)}function Yd(e){const t=ns.get(e);return ns.delete(e),t}let Jd=()=>location.protocol+"//"+location.host;function Vi(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),Fl(i,"")}return Fl(n,e)+r+o}function Qd(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=Vi(e,location),g=n.value,_=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===g){l=null;return}w=_?p.position-_.position:0}else r(v);o.forEach(b=>{b(n.value,g,{delta:w,type:ir.pop,direction:w?w>0?Zn.forward:Zn.back:Zn.unknown})})};function i(){l=n.value}function c(p){o.push(p);const v=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(v),v}function u(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:fo()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function ql(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?fo():null}}function Xd(e){const{history:t,location:n}=window,r={value:Vi(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:Jd()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(v){console.error(v),n[u?"replace":"assign"](p)}}function l(i,c){const u=ce({},t.state,ql(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,u,!0),r.value=i}function a(i,c){const u=ce({},o.value,t.state,{forward:i,scroll:fo()});s(u.current,u,!0);const d=ce({},ql(r.value,i,null),{position:u.position+1},c);s(i,d,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function Zd(e){e=zd(e);const t=Xd(e),n=Qd(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:Ud.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function e0(e){return typeof e=="string"||e&&typeof e=="object"}function zi(e){return typeof e=="string"||typeof e=="symbol"}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},qi=Symbol("");var Ul;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ul||(Ul={}));function In(e,t){return ce(new Error,{type:e,[qi]:!0},t)}function Et(e,t){return e instanceof Error&&qi in e&&(t==null||!!(e.type&t))}const Wl="[^/]+?",t0={sensitive:!1,strict:!1,start:!0,end:!0},n0=/[.+*?^${}()[\]/\\]/g;function r0(e,t){const n=ce({},t0,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function s0(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const l0={type:0,value:""},a0=/[a-zA-Z0-9_]/;function i0(e){if(!e)return[[]];if(e==="/")return[[l0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let a=0,i,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a{l(C)}:Xn}function l(u){if(zi(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function i(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Ui(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Yl(u)&&r.set(u.record.name,u)}function c(u,d){let p,v={},g,_;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw In(1,{location:u});_=p.record.name,v=ce(Kl(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&Kl(u.params,p.keys.map(C=>C.name))),g=p.stringify(v)}else if(u.path!=null)g=u.path,p=n.find(C=>C.re.test(g)),p&&(v=p.parse(g),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw In(1,{location:u,currentLocation:d});_=p.record.name,v=ce({},d.params,u.params),g=p.stringify(v)}const w=[];let b=p;for(;b;)w.unshift(b.record),b=b.parent;return{name:_,path:g,params:v,matched:w,meta:p0(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function Kl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function f0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:d0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function d0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Yl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function p0(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Jl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ui(e,t){return t.children.some(n=>n===e||Ui(e,n))}function h0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&ts(s)):[r&&ts(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function v0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=dt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const m0=Symbol(""),Xl=Symbol(""),po=Symbol(""),Bs=Symbol(""),rs=Symbol("");function Fn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bt(e,t,n,r,o,s=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const c=p=>{p===!1?i(In(4,{from:n,to:t})):p instanceof Error?i(p):e0(p)?i(In(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function $o(e,t,n,r,o=s=>s()){const s=[];for(const l of e)for(const a in l.components){let i=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if(g0(i)){const u=(i.__vccOpts||i)[t];u&&s.push(Bt(u,n,r,l,a,o))}else{let c=i();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=Cd(u)?u.default:u;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Bt(v,n,r,l,a,o)()}))}}return s}function g0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zl(e){const t=Oe(po),n=Oe(Bs),r=x(()=>t.resolve(tn(e.to))),o=x(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(Ln.bind(null,u));if(p>-1)return p;const v=ea(i[c-2]);return c>1&&ea(u)===v&&d[d.length-1].path!==v?d.findIndex(Ln.bind(null,i[c-2])):p}),s=x(()=>o.value>-1&&_0(n.params,r.value.params)),l=x(()=>o.value>-1&&o.value===n.matched.length-1&&Fi(n.params,r.value.params));function a(i={}){return w0(i)?t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(Xn):Promise.resolve()}return{route:r,href:x(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const y0=U({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Zl,setup(e,{slots:t}){const n=mr(Zl(e)),{options:r}=Oe(po),o=x(()=>({[ta(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ta(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),b0=y0;function w0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function _0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!dt(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function ea(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ta=(e,t,n)=>e??t??n,E0=U({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Oe(rs),o=x(()=>e.route||r.value),s=Oe(Xl,0),l=x(()=>{let c=tn(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=x(()=>o.value.matched[l.value]);_n(Xl,x(()=>l.value+1)),_n(m0,a),_n(rs,o);const i=Q();return ie(()=>[i.value,a.value,e.name],([c,u,d],[p,v,g])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!Ln(u,v)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return na(n.default,{Component:p,route:c});const v=d.props[u],g=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=f(p,ce({},g,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:i}));return na(n.default,{Component:w,route:c})||w}}});function na(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const C0=E0;function S0(e){const t=u0(e.routes,e),n=e.parseQuery||h0,r=e.stringifyQuery||Ql,o=e.history,s=Fn(),l=Fn(),a=Fn(),i=Me(St);let c=St;dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Lo.bind(null,T=>""+T),d=Lo.bind(null,Nd),p=Lo.bind(null,ar);function v(T,F){let B,G;return zi(T)?(B=t.getRecordMatcher(T),G=F):G=T,t.addRoute(G,B)}function g(T){const F=t.getRecordMatcher(T);F&&t.removeRoute(F)}function _(){return t.getRoutes().map(T=>T.record)}function w(T){return!!t.getRecordMatcher(T)}function b(T,F){if(F=ce({},F||i.value),typeof T=="string"){const m=Io(n,T,F.path),E=t.resolve({path:m.path},F),L=o.createHref(m.fullPath);return ce(m,E,{params:p(E.params),hash:ar(m.hash),redirectedFrom:void 0,href:L})}let B;if(T.path!=null)B=ce({},T,{path:Io(n,T.path,F.path).path});else{const m=ce({},T.params);for(const E in m)m[E]==null&&delete m[E];B=ce({},T,{params:d(m)}),F.params=d(F.params)}const G=t.resolve(B,F),se=T.hash||"";G.params=u(p(G.params));const fe=Bd(r,ce({},T,{hash:Pd(se),path:G.path})),h=o.createHref(fe);return ce({fullPath:fe,hash:se,query:r===Ql?v0(T.query):T.query||{}},G,{redirectedFrom:void 0,href:h})}function C(T){return typeof T=="string"?Io(n,T,i.value.path):ce({},T)}function y(T,F){if(c!==T)return In(8,{from:F,to:T})}function k(T){return N(T)}function M(T){return k(ce(C(T),{replace:!0}))}function S(T){const F=T.matched[T.matched.length-1];if(F&&F.redirect){const{redirect:B}=F;let G=typeof B=="function"?B(T):B;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=C(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function N(T,F){const B=c=b(T),G=i.value,se=T.state,fe=T.force,h=T.replace===!0,m=S(B);if(m)return N(ce(C(m),{state:typeof m=="object"?ce({},se,m.state):se,force:fe,replace:h}),F||B);const E=B;E.redirectedFrom=F;let L;return!fe&&Hd(r,G,B)&&(L=In(16,{to:E,from:G}),Qe(G,G,!0,!1)),(L?Promise.resolve(L):$(E,G)).catch(A=>Et(A)?Et(A,2)?A:pt(A):W(A,E,G)).then(A=>{if(A){if(Et(A,2))return N(ce({replace:h},C(A.to),{state:typeof A.to=="object"?ce({},se,A.to.state):se,force:fe}),F||E)}else A=P(E,G,!0,h,se);return z(E,G,A),A})}function O(T,F){const B=y(T,F);return B?Promise.reject(B):Promise.resolve()}function K(T){const F=_t.values().next().value;return F&&typeof F.runWithContext=="function"?F.runWithContext(T):T()}function $(T,F){let B;const[G,se,fe]=x0(T,F);B=$o(G.reverse(),"beforeRouteLeave",T,F);for(const m of G)m.leaveGuards.forEach(E=>{B.push(Bt(E,T,F))});const h=O.bind(null,T,F);return B.push(h),Se(B).then(()=>{B=[];for(const m of s.list())B.push(Bt(m,T,F));return B.push(h),Se(B)}).then(()=>{B=$o(se,"beforeRouteUpdate",T,F);for(const m of se)m.updateGuards.forEach(E=>{B.push(Bt(E,T,F))});return B.push(h),Se(B)}).then(()=>{B=[];for(const m of fe)if(m.beforeEnter)if(dt(m.beforeEnter))for(const E of m.beforeEnter)B.push(Bt(E,T,F));else B.push(Bt(m.beforeEnter,T,F));return B.push(h),Se(B)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),B=$o(fe,"beforeRouteEnter",T,F,K),B.push(h),Se(B))).then(()=>{B=[];for(const m of l.list())B.push(Bt(m,T,F));return B.push(h),Se(B)}).catch(m=>Et(m,8)?m:Promise.reject(m))}function z(T,F,B){a.list().forEach(G=>K(()=>G(T,F,B)))}function P(T,F,B,G,se){const fe=y(T,F);if(fe)return fe;const h=F===St,m=dn?history.state:{};B&&(G||h?o.replace(T.fullPath,ce({scroll:h&&m&&m.scroll},se)):o.push(T.fullPath,se)),i.value=T,Qe(T,F,B,h),pt()}let X;function ye(){X||(X=o.listen((T,F,B)=>{if(!ht.listening)return;const G=b(T),se=S(G);if(se){N(ce(se,{replace:!0}),G).catch(Xn);return}c=G;const fe=i.value;dn&&Kd(zl(fe.fullPath,B.delta),fo()),$(G,fe).catch(h=>Et(h,12)?h:Et(h,2)?(N(h.to,G).then(m=>{Et(m,20)&&!B.delta&&B.type===ir.pop&&o.go(-1,!1)}).catch(Xn),Promise.reject()):(B.delta&&o.go(-B.delta,!1),W(h,G,fe))).then(h=>{h=h||P(G,fe,!1),h&&(B.delta&&!Et(h,8)?o.go(-B.delta,!1):B.type===ir.pop&&Et(h,20)&&o.go(-1,!1)),z(G,fe,h)}).catch(Xn)}))}let he=Fn(),q=Fn(),Z;function W(T,F,B){pt(T);const G=q.list();return G.length?G.forEach(se=>se(T,F,B)):console.error(T),Promise.reject(T)}function Ce(){return Z&&i.value!==St?Promise.resolve():new Promise((T,F)=>{he.add([T,F])})}function pt(T){return Z||(Z=!T,ye(),he.list().forEach(([F,B])=>T?B(T):F()),he.reset()),T}function Qe(T,F,B,G){const{scrollBehavior:se}=e;if(!dn||!se)return Promise.resolve();const fe=!B&&Yd(zl(T.fullPath,0))||(G||!B)&&history.state&&history.state.scroll||null;return Ut().then(()=>se(T,F,fe)).then(h=>h&&Gd(h)).catch(h=>W(h,T,F))}const Le=T=>o.go(T);let Ge;const _t=new Set,ht={currentRoute:i,listening:!0,addRoute:v,removeRoute:g,hasRoute:w,getRoutes:_,resolve:b,options:e,push:k,replace:M,go:Le,back:()=>Le(-1),forward:()=>Le(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:q.add,isReady:Ce,install(T){const F=this;T.component("RouterLink",b0),T.component("RouterView",C0),T.config.globalProperties.$router=F,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(i)}),dn&&!Ge&&i.value===St&&(Ge=!0,k(o.location).catch(se=>{}));const B={};for(const se in St)Object.defineProperty(B,se,{get:()=>i.value[se],enumerable:!0});T.provide(po,F),T.provide(Bs,qa(B)),T.provide(rs,i);const G=T.unmount;_t.add(T),T.unmount=function(){_t.delete(T),_t.size<1&&(c=St,X&&X(),X=null,i.value=St,Ge=!1,Z=!1),G()}}};function Se(T){return T.reduce((F,B)=>F.then(()=>K(B)),Promise.resolve())}return ht}function x0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;lLn(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>Ln(c,i))||o.push(i))}return[n,r,o]}function Mn(){return Oe(po)}function ln(){return Oe(Bs)}var Hs=Symbol(""),wt=()=>{const e=Oe(Hs);if(!e)throw new Error("useClientData() is called without provider.");return e},k0=()=>wt().pageComponent,we=()=>wt().pageData,_e=()=>wt().pageFrontmatter,T0=()=>wt().pageHead,Fs=()=>wt().pageLang,A0=()=>wt().pageLayout,Nn=()=>wt().routeLocale,L0=()=>wt().routes,Wi=()=>wt().siteData,Vs=()=>wt().siteLocaleData,I0=Symbol(""),os=Me(_d),cr=Me(Ed),Gi=e=>{const t=gd(e);if(cr.value[t])return t;const n=encodeURI(t);return cr.value[n]?n:os.value[t]||os.value[n]||t},ho=e=>{const t=Gi(e),n=cr.value[t]??{...cr.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},vo=U({name:"ClientOnly",setup(e,t){const n=Q(!1);return ge(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),Ki=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=k0(),n=x(()=>{if(!e.path)return t.value;const r=ho(e.path);return Bf(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),lt=(e={})=>e,Fe=e=>sn(e)?e:`/${Mi(e)}`,$0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},qe=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=Mn(),l=Gi(n),a=l.startsWith("#")||l.startsWith("?")?l:Fe(l);return f("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{$0(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};qe.displayName="RouteLink";qe.props={active:Boolean,activeClass:String,to:String};var O0="Layout",P0="en-US",Yt=mr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=xe(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return hd(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||P0,resolvePageLayout:(e,t)=>{const n=xe(e.frontmatter.layout)?e.frontmatter.layout:O0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>yd(e,t),resolveSiteLocaleData:(e,t)=>{var n;return{...e,...e.locales[t],head:[...((n=e.locales[t])==null?void 0:n.head)??[],...e.head??[]]}}});const R0={},Cr=e=>{const t=Nn();return x(()=>e[t.value]??{})};var He=Uint8Array,vn=Uint16Array,M0=Int32Array,Yi=new He([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Ji=new He([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),N0=new He([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Qi=function(e,t){for(var n=new vn(31),r=0;r<31;++r)n[r]=t+=1<>1|(pe&21845)<<1;Ot=(Ot&52428)>>2|(Ot&13107)<<2,Ot=(Ot&61680)>>4|(Ot&3855)<<4,ss[pe]=((Ot&65280)>>8|(Ot&255)<<8)>>1}var er=function(e,t,n){for(var r=e.length,o=0,s=new vn(t);o>i]=c}else for(a=new vn(r),o=0;o>15-e[o]);return a},Sr=new He(288);for(var pe=0;pe<144;++pe)Sr[pe]=8;for(var pe=144;pe<256;++pe)Sr[pe]=9;for(var pe=256;pe<280;++pe)Sr[pe]=7;for(var pe=280;pe<288;++pe)Sr[pe]=8;var ec=new He(32);for(var pe=0;pe<32;++pe)ec[pe]=5;var H0=er(Sr,9,1),F0=er(ec,5,1),Oo=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},it=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},Po=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},V0=function(e){return(e+7)/8|0},zs=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new He(e.subarray(t,n))},z0=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],et=function(e,t,n){var r=new Error(t||z0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,et),!n)throw r;return r},q0=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new He(0);var l=!n,a=l||t.i!=2,i=t.i;l&&(n=new He(o*3));var c=function(se){var fe=n.length;if(se>fe){var h=new He(Math.max(fe*2,se));h.set(n),n=h}},u=t.f||0,d=t.p||0,p=t.b||0,v=t.l,g=t.d,_=t.m,w=t.n,b=o*8;do{if(!v){u=it(e,d,1);var C=it(e,d+1,3);if(d+=3,C)if(C==1)v=H0,g=F0,_=9,w=5;else if(C==2){var S=it(e,d,31)+257,N=it(e,d+10,15)+4,O=S+it(e,d+5,31)+1;d+=14;for(var K=new He(O),$=new He(19),z=0;z>4;if(y<16)K[z++]=y;else{var q=0,Z=0;for(y==16?(Z=3+it(e,d,3),d+=2,q=K[z-1]):y==17?(Z=3+it(e,d,7),d+=3):y==18&&(Z=11+it(e,d,127),d+=7);Z--;)K[z++]=q}}var W=K.subarray(0,S),Ce=K.subarray(S);_=Oo(W),w=Oo(Ce),v=er(W,_,1),g=er(Ce,w,1)}else et(1);else{var y=V0(d)+4,k=e[y-4]|e[y-3]<<8,M=y+k;if(M>o){i&&et(0);break}a&&c(p+k),n.set(e.subarray(y,M),p),t.b=p+=k,t.p=d=M*8,t.f=u;continue}if(d>b){i&&et(0);break}}a&&c(p+131072);for(var pt=(1<<_)-1,Qe=(1<>4;if(d+=q&15,d>b){i&&et(0);break}if(q||et(2),Ge<256)n[p++]=Ge;else if(Ge==256){Le=d,v=null;break}else{var _t=Ge-254;if(Ge>264){var z=Ge-257,ht=Yi[z];_t=it(e,d,(1<>4;Se||et(3),d+=Se&15;var Ce=B0[T];if(T>3){var ht=Ji[T];Ce+=Po(e,d)&(1<b){i&&et(0);break}a&&c(p+131072);var F=p+_t;if(p>4>7||(e[0]<<8|e[1])%31)&&et(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&et(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function G0(e,t){return q0(e.subarray(W0(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var ra=typeof TextEncoder<"u"&&new TextEncoder,ls=typeof TextDecoder<"u"&&new TextDecoder,K0=0;try{ls.decode(U0,{stream:!0}),K0=1}catch{}var Y0=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:zs(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function J0(e,t){if(t){for(var n=new He(e.length),r=0;r>1)),l=0,a=function(u){s[l++]=u},r=0;rs.length){var i=new He(l+8+(o-r<<1));i.set(s),s=i}var c=e.charCodeAt(r);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,a(240|c>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|c&63)):(a(224|c>>12),a(128|c>>6&63),a(128|c&63))}return zs(s,0,l)}function Q0(e,t){if(t){for(var n="",r=0;r{const t=atob(e);return Q0(G0(J0(t,!0)))},ot=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||wr())==null?void 0:r.appContext.components;return n?e in n||st(e)in n||vr(st(e))in n:!1},tc=e=>new Promise(t=>setTimeout(t,e)),nc=e=>typeof e<"u",Ro=e=>typeof e=="number",as=Array.isArray,$n=(e,t)=>xe(e)&&e.startsWith(t),X0=(e,t)=>xe(e)&&e.endsWith(t),Z0=Object.entries,an=Object.keys,e2=e=>{if(e){if(typeof e=="number")return new Date(e);const t=Date.parse(e.toString());if(!Number.isNaN(t))return new Date(t)}return null},qs=e=>$n(e,"/");function rc(e,t){let n,r,o;const s=Q(!0),l=()=>{s.value=!0,o()};ie(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Ls((u,d)=>(r=u,o=d,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function Dn(e){return Oa()?(Uu(e),!0):!1}function Ne(e){return typeof e=="function"?e():tn(e)}const xr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const t2=Object.prototype.toString,n2=e=>t2.call(e)==="[object Object]",nn=()=>{},sa=r2();function r2(){var e,t;return xr&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Us(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const oc=e=>e();function o2(e,t={}){let n,r,o=nn;const s=a=>{clearTimeout(a),o(),o=nn};return a=>{const i=Ne(e),c=Ne(t.maxWait);return n&&s(n),i<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},i)})}}function s2(...e){let t=0,n,r=!0,o=nn,s,l,a,i,c;!Re(e[0])&&typeof e[0]=="object"?{delay:l,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[l,a=!0,i=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=nn)};return p=>{const v=Ne(l),g=Date.now()-t,_=()=>s=p();return u(),v<=0?(t=Date.now(),_()):(g>v&&(i||!r)?(t=Date.now(),_()):a&&(s=new Promise((w,b)=>{o=c?b:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(_()),u()},Math.max(0,v-g))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,s)}}function l2(e=oc){const t=Q(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:gr(t),pause:n,resume:r,eventFilter:o}}function a2(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function sc(e){return e||wr()}function i2(...e){if(e.length!==1)return lo(...e);const t=e[0];return typeof t=="function"?gr(Ls(()=>({get:t,set:nn}))):Q(t)}function c2(e,t=200,n={}){return Us(o2(t,n),e)}function u2(e,t=200,n=!1,r=!0,o=!1){return Us(s2(t,n,r,o),e)}function f2(e,t,n={}){const{eventFilter:r=oc,...o}=n;return ie(e,Us(r,t),o)}function d2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=l2(r);return{stop:f2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function mo(e,t=!0,n){sc()?ge(e,n):t?e():Ut(e)}function p2(e,t){sc(t)&&Pn(e,t)}function h2(e,t,n={}){const{immediate:r=!0}=n,o=Q(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,l()}function i(...c){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ne(t))}return r&&(o.value=!0,xr&&i()),Dn(a),{isPending:gr(o),start:i,stop:a}}function ur(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Re(e),s=Q(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=Ne(n);return s.value=s.value===i?Ne(r):i,s.value}}return o?l:[s,l]}function xt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Tt=xr?window:void 0,lc=xr?window.document:void 0,ac=xr?window.navigator:void 0;function Ae(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Tt):[t,n,r,o]=e,!t)return nn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,p,v)=>(u.addEventListener(d,p,v),()=>u.removeEventListener(d,p,v)),i=ie(()=>[xt(t),Ne(o)],([u,d])=>{if(l(),!u)return;const p=n2(d)?{...d}:d;s.push(...n.flatMap(v=>r.map(g=>a(u,v,g,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return Dn(c),c}function v2(){const e=Q(!1),t=wr();return t&&ge(()=>{e.value=!0},t),e}function kr(e){const t=v2();return x(()=>(t.value,!!e()))}function ic(e,t={}){const{window:n=Tt}=t,r=kr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Q(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=ri(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Dn(()=>{i(),a(),o=void 0}),s}function la(e,t={}){const{controls:n=!1,navigator:r=ac}=t,o=kr(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=Q(),i=()=>{s&&(a.value=s.state)},c=a2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Ae(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function m2(e={}){const{navigator:t=ac,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=kr(()=>t&&"clipboard"in t),a=la("clipboard-read"),i=la("clipboard-write"),c=x(()=>l.value||s),u=Q(""),d=Q(!1),p=h2(()=>d.value=!1,o);function v(){l.value&&b(a.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=w()}c.value&&n&&Ae(["copy","cut"],v);async function g(C=Ne(r)){c.value&&C!=null&&(l.value&&b(i.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function w(){var C,y,k;return(k=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?k:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:g}}const jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Br="__vueuse_ssr_handlers__",g2=y2();function y2(){return Br in jr||(jr[Br]=jr[Br]||{}),jr[Br]}function b2(e,t){return g2[e]||t}function w2(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const _2={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},aa="vueuse-storage";function jn(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:d=Tt,eventFilter:p,onError:v=$=>{console.error($)},initOnMounted:g}=r,_=(u?Me:Q)(typeof t=="function"?t():t);if(!n)try{n=b2("getDefaultStorage",()=>{var $;return($=Tt)==null?void 0:$.localStorage})()}catch($){v($)}if(!n)return _;const w=Ne(t),b=w2(w),C=(o=r.serializer)!=null?o:_2[b],{pause:y,resume:k}=d2(_,()=>S(_.value),{flush:s,deep:l,eventFilter:p});d&&a&&mo(()=>{Ae(d,"storage",O),Ae(d,aa,K),g&&O()}),g||O();function M($,z){d&&d.dispatchEvent(new CustomEvent(aa,{detail:{key:e,oldValue:$,newValue:z,storageArea:n}}))}function S($){try{const z=n.getItem(e);if($==null)M(z,null),n.removeItem(e);else{const P=C.write($);z!==P&&(n.setItem(e,P),M(z,P))}}catch(z){v(z)}}function N($){const z=$?$.newValue:n.getItem(e);if(z==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!$&&c){const P=C.read(z);return typeof c=="function"?c(P,w):b==="object"&&!Array.isArray(P)?{...w,...P}:P}else return typeof z!="string"?z:C.read(z)}function O($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=w;return}if(!($&&$.key!==e)){y();try{($==null?void 0:$.newValue)!==C.write(_.value)&&(_.value=N($))}catch(z){v(z)}finally{$?Ut(k):k()}}}}function K($){O($.detail)}return _}function E2(e){return ic("(prefers-color-scheme: dark)",e)}function C2(e,t,n={}){const{window:r=Tt,...o}=n;let s;const l=kr(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=x(()=>Array.isArray(e)?e.map(d=>xt(d)):[xt(e)]),c=ie(i,d=>{if(a(),l.value&&r){s=new ResizeObserver(t);for(const p of d)p&&s.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Dn(u),{isSupported:l,stop:u}}function S2(e,t={width:0,height:0},n={}){const{window:r=Tt,box:o="content-box"}=n,s=x(()=>{var d,p;return(p=(d=xt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Q(t.width),a=Q(t.height),{stop:i}=C2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const v=xt(e);if(v){const g=r.getComputedStyle(v);l.value=Number.parseFloat(g.width),a.value=Number.parseFloat(g.height)}}else if(p){const v=Array.isArray(p)?p:[p];l.value=v.reduce((g,{inlineSize:_})=>g+_,0),a.value=v.reduce((g,{blockSize:_})=>g+_,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);mo(()=>{const d=xt(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>xt(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function u(){i(),c()}return{width:l,height:a,stop:u}}const ia=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Ws(e,t={}){const{document:n=lc,autoExit:r=!1}=t,o=x(()=>{var b;return(b=xt(e))!=null?b:n==null?void 0:n.querySelector("html")}),s=Q(!1),l=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),i=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||o.value&&b in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=kr(()=>o.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const b=o.value;if((b==null?void 0:b[i.value])!=null)return!!b[i.value]}}return!1};async function v(){if(!(!u.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const b=o.value;(b==null?void 0:b[a.value])!=null&&await b[a.value]()}s.value=!1}}async function g(){if(!u.value||s.value)return;p()&&await v();const b=o.value;l.value&&(b==null?void 0:b[l.value])!=null&&(await b[l.value](),s.value=!0)}async function _(){await(s.value?v():g())}const w=()=>{const b=p();(!b||b&&d())&&(s.value=b)};return Ae(n,ia,w,!1),Ae(()=>xt(o),ia,w,!1),r&&Dn(v),{isSupported:u,isFullscreen:s,enter:g,exit:v,toggle:_}}function Mo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function No(e,t=nn,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:u,document:d=lc,attrs:p={}}=n,v=Q(null);let g=null;const _=C=>new Promise((y,k)=>{const M=O=>(v.value=O,y(O),O);if(!d){y(!1);return}let S=!1,N=d.querySelector(`script[src="${Ne(e)}"]`);N?N.hasAttribute("data-loaded")&&M(N):(N=d.createElement("script"),N.type=s,N.async=l,N.src=Ne(e),u&&(N.defer=u),a&&(N.crossOrigin=a),c&&(N.noModule=c),i&&(N.referrerPolicy=i),Object.entries(p).forEach(([O,K])=>N==null?void 0:N.setAttribute(O,K)),S=!0),N.addEventListener("error",O=>k(O)),N.addEventListener("abort",O=>k(O)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),M(N)}),S&&(N=d.head.appendChild(N)),C||M(N)}),w=(C=!0)=>(g||(g=_(C)),g),b=()=>{if(!d)return;g=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Ne(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&mo(w),o||p2(b),{scriptTag:v,load:w,unload:b}}function cc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Hr=new WeakMap;function uc(e,t=!1){const n=Q(t);let r=null;ie(i2(e),l=>{const a=Mo(Ne(l));if(a){const i=a;Hr.get(i)||Hr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Mo(Ne(e));!l||n.value||(sa&&(r=Ae(l,"touchmove",a=>{x2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=Mo(Ne(e));!a||!n.value||(sa&&(r==null||r()),a.style.overflow=(l=Hr.get(a))!=null?l:"",Hr.delete(a),n.value=!1)};return Dn(s),x({get(){return n.value},set(l){l?o():s()}})}function fc(e,t,n={}){const{window:r=Tt}=n;return jn(e,t,r==null?void 0:r.sessionStorage,n)}function k2(e={}){const{window:t=Tt,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const r=Q(t.scrollX),o=Q(t.scrollY),s=x({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=x({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Ae(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function T2(e={}){const{window:t=Tt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Q(n),a=Q(r),i=()=>{t&&(s?(l.value=t.innerWidth,a.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),mo(i),Ae("resize",i,{passive:!0}),o){const c=ic("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var A2=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=x(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),an(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const dc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};dc.displayName="Badge";const pc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:Fe(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),o&&(a.color=o),s?An(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:a},l):f(qe,{to:s,class:"vp-card",style:a},()=>l):f("div",{class:"vp-card",style:a},l)};pc.displayName="VPCard";const L2=lt({enhance:({app:e})=>{ot("FontIcon")||e.component("FontIcon",A2),ot("Badge")||e.component("Badge",dc),ot("VPCard")||e.component("VPCard",pc)},setup:()=>{No("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),No("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),No("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),ca=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},I2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Mn();Ae("scroll",c2(()=>{var g,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)d.some(b=>b.hash===w.hash));for(let w=0;w=(((g=b.parentElement)==null?void 0:g.offsetTop)??0)-r,k=!C||l<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(y&&k))continue;const S=decodeURIComponent(o.currentRoute.value.hash),N=decodeURIComponent(b.hash);if(S===N)return;if(u){for(let O=w+1;Oxe(e.title)?{title:e.title}:null;const vc=Symbol(""),N2=e=>{hc=e},D2=()=>Oe(vc),j2=e=>{e.provide(vc,hc)};var B2={"/":{title:"目录",empty:"暂无目录"}};const H2=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=D2(),n=Cr(B2),r=we(),o=L0(),s=Wi(),a=Me(Z0(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:X0(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Rn(c)&&xe(c.title))),i=x(()=>{const c=e.base?vd(Pi(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!$n(v,c)||v===c)return!1;if(c==="/"){const g=an(s.value.locales).filter(_=>_!=="/");if(v==="/404.html"||g.some(_=>$n(v,_)))return!1}return p-u<=e.level}).sort(({title:p,level:v,order:g},{title:_,level:w,order:b})=>{const C=v-w;return C||(Ro(g)?Ro(b)?g>0?b>0?g-b:-1:b<0?g-b:1:g:Ro(b)?b:p.localeCompare(_))}).forEach(p=>{var _;const{base:v,level:g}=p;switch(g-u){case 1:{d.push(p);break}case 2:{const w=d.find(b=>b.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(b=>b.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const b=(_=w.children)==null?void 0:_.find(C=>C.path===v);b&&(b.children??(b.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:u=[],title:d,path:p,content:v})=>{const g=f(qe,{class:"vp-catalog-title",to:p},()=>v?f(v):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:w,path:b,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(qe,{class:"vp-catalog-title",to:b},()=>w?f(w):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:y,path:k,title:M})=>e.index?f("li",{class:"vp-sub-catalog"},f(qe,{to:k},()=>y?f(y):M)):f(qe,{class:"vp-sub-catalog-link",to:k},()=>y?f(y):M))):null]))):null]:f("div",{class:"vp-catalog-child-title"},g))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),F2=lt({enhance:({app:e})=>{j2(e),ot("Catalog",e)||e.component("Catalog",H2)}});var V2={"/":{backToTop:"返回顶部"}};const z2=U({name:"BackToTop",setup(e){const t=_e(),n=Cr(V2),r=Me(),{height:o}=S2(r),{height:s}=T2(),{y:l}=k2(),a=x(()=>t.value.backToTop!==!1&&l.value>100),i=x(()=>l.value/(o.value-s.value)*100);return ge(()=>{r.value=document.body}),()=>f(qt,{name:"back-to-top"},()=>a.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*i.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),q2=lt({rootComponents:[z2]}),U2=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),mc=U({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=Nn(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[U2,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var W2={};const G2=W2,K2=lt({enhance({app:e}){e.component("ExternalLinkIcon",f(mc,{locales:G2}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const le={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=le.isStarted();e=Do(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,Y2(l=>{Fr(r,{transform:"translate3d("+ua(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(Fr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Fr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Do(Math.random()*t,.1,.95)),t=Do(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");fa(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":ua(le.status||0),o=document.querySelector(le.settings.parent);return Fr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&fa(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{da(document.documentElement,"nprogress-busy"),da(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&J2(e)},isRendered:()=>!!document.getElementById("nprogress")},Do=(e,t,n)=>en?n:e,ua=e=>(-1+e)*100,Y2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Fr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),gc=(e,t)=>(typeof e=="string"?e:Gs(e)).indexOf(" "+t+" ")>=0,fa=(e,t)=>{const n=Gs(e),r=n+t;gc(n,t)||(e.className=r.substring(1))},da=(e,t)=>{const n=Gs(e);if(!gc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Gs=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),J2=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Q2=()=>{ge(()=>{const e=Mn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},X2=lt({setup(){Q2()}}),Z2=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$Zkxc2AqXFLhAqhzrr7BPtuduUs21r5mYNeXS3HcfZMek.nvFYUM6C"]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/logo.png","repo":"https://github.com/snowykami/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"项目部署","link":"/deployment/","prefix":"deployment/"},{"text":"使用手册","link":"/usage/","prefix":"usage/"},{"text":"主题商店","link":"/store/","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"}]}}}}'),ep=Q(Z2),yc=()=>ep,bc=Symbol(""),tp=()=>{const e=Oe(bc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},np=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},rp=lt({enhance({app:e}){const t=yc(),n=e._context.provides[Hs],r=x(()=>np(t.value,n.routeLocale.value));e.provide(bc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var op={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/dark.css",repo:"snowykami/LiteyukiBot",repoId:"R_kgDOHVNKpQ",category:"Announcements",categoryId:"DIC_kwDOHVNKpc4CeWxj"};const sp=op;let lp=sp;const wc=Symbol(""),_c=()=>Oe(wc),ap=_c,ip=e=>{e.provide(wc,lp)},Ec=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Ec.displayName="LoadingIcon";const pa=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],cp=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=ap(),n=Fs(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Q(!1),c=x(()=>{if(pa.includes(n.value))return n.value;const d=n.value.split("-")[0];return pa.includes(d)?d:"en"}),u=x(()=>({repo:o,repoId:s,category:l,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return ge(async()=>{await Be(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(Ec)):null}}),up=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=_c(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(cp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),fp=lt({enhance:({app:e})=>{ip(e),e.component("CommentService",up)}}),dp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,pp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&dp.test(navigator.userAgent),hp=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=m2({legacy:!0,copiedDuring:t}),a=Cr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='
',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Ut().then(()=>tc(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};ge(()=>{const p=!pp()||o;p&&u(),Ae("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,b=_.nextElementSibling;b&&d(w,b,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var vp={"/":{copy:"复制代码",copied:"已复制"}},mp=['.theme-hope-content div[class*="language-"] pre'];const gp=500,yp=2e3,bp=vp,wp=mp,_p=!1,Ep=lt({setup:()=>{hp({selector:wp,locales:bp,duration:yp,delay:gp,showInMobile:_p})}}),Vr=jn("VUEPRESS_CODE_TAB_STORE",{});var Cp=U({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),r=Me([]),o=()=>{e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Vr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return ge(()=>{n.value=i(),ie(()=>Vr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Cc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Cc.displayName="CodeGroupItem";const Sp=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),r=Me([]),o=(a=n.value)=>{n.value=a{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),Ee=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Ee.displayName="IconBase";const Sc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Sc.displayName="LoadingIcon";const xc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},kc=()=>f(Ee,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));kc.displayName="GitHubIcon";const Tc=()=>f(Ee,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Tc.displayName="GitLabIcon";const Ac=()=>f(Ee,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Ac.displayName="GiteeIcon";const Lc=()=>f(Ee,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Lc.displayName="BitbucketIcon";const Ic=()=>f(Ee,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Ic.displayName="SourceIcon";const $c=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},Oc=/#.*$/u,xp=e=>{const t=Oc.exec(e);return t?t[0]:""},ha=e=>decodeURI(e).replace(Oc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Pc=(e,t)=>{if(!nc(t))return!1;const n=ha(e.path),r=ha(t),o=xp(t);return o?o===e.hash&&(!r||n===r):n===r},kp=e=>sn(e)?e:`https://github.com/${e}`,Rc=e=>!sn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var Tp=e=>Object.prototype.toString.call(e)==="[object Object]",fr=e=>typeof e=="string";const Mc=Array.isArray,va=e=>Tp(e)&&fr(e.name),ma=(e,t=!1)=>e?Mc(e)?e.map(n=>fr(n)?{name:n}:va(n)?n:null).filter(n=>n!==null):fr(e)?[{name:e}]:va(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Nc=(e,t)=>{if(e){if(Mc(e)&&e.every(fr))return e;if(fr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Ap=e=>Nc(e,"category"),Lp=e=>Nc(e,"tag"),Ip='',$p='';var Op={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const jo=Op,ga={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},Pp=(e,t,n)=>{const r=document.createElement(e);return Rn(t)&&an(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},Ks=e=>({...jo,...e,jsLib:Array.from(new Set([...jo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...jo.cssLib||[],...e.cssLib||[]]))}),En=(e,t)=>{if(nc(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},Rp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Pp("style",{innerHTML:t.css});e.appendChild(n)}},Mp=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; + */const le={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=le.isStarted();e=Do(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,Y2(l=>{Fr(r,{transform:"translate3d("+ua(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(Fr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Fr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Do(Math.random()*t,.1,.95)),t=Do(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");fa(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":ua(le.status||0),o=document.querySelector(le.settings.parent);return Fr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&fa(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{da(document.documentElement,"nprogress-busy"),da(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&J2(e)},isRendered:()=>!!document.getElementById("nprogress")},Do=(e,t,n)=>en?n:e,ua=e=>(-1+e)*100,Y2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Fr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),gc=(e,t)=>(typeof e=="string"?e:Gs(e)).indexOf(" "+t+" ")>=0,fa=(e,t)=>{const n=Gs(e),r=n+t;gc(n,t)||(e.className=r.substring(1))},da=(e,t)=>{const n=Gs(e);if(!gc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Gs=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),J2=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},Q2=()=>{ge(()=>{const e=Mn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},X2=lt({setup(){Q2()}}),Z2=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$090qZeossTCZpS60aPpdQuSTg/dnELv50ONhz5NmZi/Ap/33IpVD."]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/logo.png","repo":"https://github.com/snowykami/LiteyukiBot","docsDir":"docs","footer":"LiteyukiBot","displayFooter":true,"locales":{"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/",{"text":"项目部署","link":"/deployment/","prefix":"deployment/"},{"text":"使用手册","link":"/usage/","prefix":"usage/"},{"text":"主题商店","link":"/store/","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"}]}}}}'),ep=Q(Z2),yc=()=>ep,bc=Symbol(""),tp=()=>{const e=Oe(bc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},np=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},rp=lt({enhance({app:e}){const t=yc(),n=e._context.provides[Hs],r=x(()=>np(t.value,n.routeLocale.value));e.provide(bc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var op={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.32/templates/giscus/dark.css",repo:"snowykami/LiteyukiBot",repoId:"R_kgDOHVNKpQ",category:"Announcements",categoryId:"DIC_kwDOHVNKpc4CeWxj"};const sp=op;let lp=sp;const wc=Symbol(""),_c=()=>Oe(wc),ap=_c,ip=e=>{e.provide(wc,lp)},Ec=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Ec.displayName="LoadingIcon";const pa=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],cp=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=ap(),n=Fs(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Q(!1),c=x(()=>{if(pa.includes(n.value))return n.value;const d=n.value.split("-")[0];return pa.includes(d)?d:"en"}),u=x(()=>({repo:o,repoId:s,category:l,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return ge(async()=>{await Be(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(Ec)):null}}),up=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=_c(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(cp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),fp=lt({enhance:({app:e})=>{ip(e),e.component("CommentService",up)}}),dp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,pp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&dp.test(navigator.userAgent),hp=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=m2({legacy:!0,copiedDuring:t}),a=Cr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='
',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Ut().then(()=>tc(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};ge(()=>{const p=!pp()||o;p&&u(),Ae("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,b=_.nextElementSibling;b&&d(w,b,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var vp={"/":{copy:"复制代码",copied:"已复制"}},mp=['.theme-hope-content div[class*="language-"] pre'];const gp=500,yp=2e3,bp=vp,wp=mp,_p=!1,Ep=lt({setup:()=>{hp({selector:wp,locales:bp,duration:yp,delay:gp,showInMobile:_p})}}),Vr=jn("VUEPRESS_CODE_TAB_STORE",{});var Cp=U({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),r=Me([]),o=()=>{e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Vr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return ge(()=>{n.value=i(),ie(()=>Vr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Cc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Cc.displayName="CodeGroupItem";const Sp=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),r=Me([]),o=(a=n.value)=>{n.value=a{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),Ee=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Ee.displayName="IconBase";const Sc=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Sc.displayName="LoadingIcon";const xc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},kc=()=>f(Ee,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));kc.displayName="GitHubIcon";const Tc=()=>f(Ee,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Tc.displayName="GitLabIcon";const Ac=()=>f(Ee,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Ac.displayName="GiteeIcon";const Lc=()=>f(Ee,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Lc.displayName="BitbucketIcon";const Ic=()=>f(Ee,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Ic.displayName="SourceIcon";const $c=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},Oc=/#.*$/u,xp=e=>{const t=Oc.exec(e);return t?t[0]:""},ha=e=>decodeURI(e).replace(Oc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Pc=(e,t)=>{if(!nc(t))return!1;const n=ha(e.path),r=ha(t),o=xp(t);return o?o===e.hash&&(!r||n===r):n===r},kp=e=>sn(e)?e:`https://github.com/${e}`,Rc=e=>!sn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var Tp=e=>Object.prototype.toString.call(e)==="[object Object]",fr=e=>typeof e=="string";const Mc=Array.isArray,va=e=>Tp(e)&&fr(e.name),ma=(e,t=!1)=>e?Mc(e)?e.map(n=>fr(n)?{name:n}:va(n)?n:null).filter(n=>n!==null):fr(e)?[{name:e}]:va(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Nc=(e,t)=>{if(e){if(Mc(e)&&e.every(fr))return e;if(fr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Ap=e=>Nc(e,"category"),Lp=e=>Nc(e,"tag"),Ip='',$p='';var Op={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const jo=Op,ga={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},Pp=(e,t,n)=>{const r=document.createElement(e);return Rn(t)&&an(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},Ks=e=>({...jo,...e,jsLib:Array.from(new Set([...jo.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...jo.cssLib||[],...e.cssLib||[]]))}),En=(e,t)=>{if(nc(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},Rp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Pp("style",{innerHTML:t.css});e.appendChild(n)}},Mp=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; ${r}}`)),t.appendChild(o)}},Np=e=>{const t=an(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>ga[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),ga[r].map[s]||s]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},Dc=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),jc=e=>`
${Dc(e)}
`,Dp=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; diff --git a/assets/basic_command.html-Cyc1ByDZ.js b/assets/basic_command.html-Cyc1ByDZ.js deleted file mode 100644 index d3866b9a..00000000 --- a/assets/basic_command.html-Cyc1ByDZ.js +++ /dev/null @@ -1,30 +0,0 @@ -import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as a,c as s,b as e}from"./app-DUHc7hb-.js";const t={},o=e(`

基础插件命令

命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用

轻雪liteyuki

[S]reload-liteyuki  # 重载轻雪
-[S]update-liteyuki  # 更新轻雪
-[S]liteecho # 查看当前bot
-[S]config set <key> value  # 添加配置项,若存在则会覆盖,输入值会被执行,以便于转换为正确的值,"10"和10是不一样的
-[S]config get [key]  # 查询配置项,不带key返回配置项列表,推荐私聊使用
-[S]reload-resources  # 重载资源
-[S]switch-image-mode  # 切换图片模式,该功能需要commit:505468b及以后的Lagrange.OneBot,在普通图片和Markdown图片之间切换,后者更大但有失败的可能
-# 上述两个命令修改的配置项在数据库中保存,但是优先级低于配置文件,如果配置文件中存在相同的配置项,将会使用配置文件中的配置
-------
-别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, reload-resources 重载资源, config 配置, set 设置, get 查询
-

轻雪Nonebot插件管理 liteyuki_npm

[S]npm update  # 更新插件索引
-[S]npm install <plugin_name>  # 安装插件
-[S]npm uninstall <plugin_name>  # 卸载插件
-[S]npm search <keywords...>  # 通过关键词搜索插件
-------
-别名: npm 插件, update 更新, install 安装, uninstall 卸载, search 搜索
-
[SOA]enable <plugin_name>  # 启用插件
-[SOA]disable <plugin_name>  # 禁用插件
-[S]enable-global <plugin_name>  # 全局启用插件
-[S]disable-global <plugin_name>  # 全局禁用插件
-list-plugin [page] [num] # 列出所有插件 page为页数,num为每页显示数量
-# 受限于Nonebot的钩子函数,目前只能阻断消息事件的传入,对于主动推送消息的插件,无法将其阻止
-------
-别名: enable 启用, disable 停用, enable-global 全局启用, disable-global 全局停用, list-plugin 列出插件/插件列表
-

轻雪用户管理liteyuki_user

profile  # 查看用户信息菜单
-profile set <key> [value]  # 设置用户信息或打开属性设置菜单
-profile get <key>  # 获取用户信息
-------
-别名: profile 个人信息, set 设置, get 查询
-

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

`,11),i=[o];function p(l,c){return a(),s("div",null,i)}const d=n(t,[["render",p],["__file","basic_command.html.vue"]]),m=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"comment","order":1,"category":"使用手册","description":"基础插件命令 命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用 轻雪liteyuki 轻雪Nonebot插件管理 liteyuki_npm 轻雪用户管理liteyuki_user 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"基础命令"}],["meta",{"property":"og:description","content":"基础插件命令 命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用 轻雪liteyuki 轻雪Nonebot插件管理 liteyuki_npm 轻雪用户管理liteyuki_user 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T00:48:21.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T00:48:21.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-06T00:48:21.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"基础插件命令","slug":"基础插件命令","link":"#基础插件命令","children":[{"level":3,"title":"轻雪liteyuki","slug":"轻雪liteyuki","link":"#轻雪liteyuki","children":[]},{"level":3,"title":"轻雪Nonebot插件管理 liteyuki_npm","slug":"轻雪nonebot插件管理-liteyuki-npm","link":"#轻雪nonebot插件管理-liteyuki-npm","children":[]},{"level":3,"title":"轻雪用户管理liteyuki_user","slug":"轻雪用户管理liteyuki-user","link":"#轻雪用户管理liteyuki-user","children":[]}]}],"git":{"createdTime":1711598703000,"updatedTime":1712364501000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":10},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.94,"words":581},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{d as comp,m as data}; diff --git a/assets/basic_command.html-Dl_qauVP.js b/assets/basic_command.html-Dl_qauVP.js new file mode 100644 index 00000000..d926135d --- /dev/null +++ b/assets/basic_command.html-Dl_qauVP.js @@ -0,0 +1,42 @@ +import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as s,c as a,b as e}from"./app-C1c5-uLX.js";const t={},p=e(`

基础插件命令

命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用,[P]为私聊可用

轻雪liteyuki

[S]reload-liteyuki  # 重载轻雪
+[S]update-liteyuki  # 更新轻雪
+[S]liteecho # 查看当前bot
+[S]config set <key> value  # 添加配置项,若存在则会覆盖,输入值会被执行,以便于转换为正确的值,"10"和10是不一样的
+[S]config get [key]  # 查询配置项,不带key返回配置项列表,推荐私聊使用
+[S]reload-resources  # 重载资源
+[S]switch-image-mode  # 切换图片模式,该功能需要commit:505468b及以后的Lagrange.OneBot,在普通图片和Markdown图片之间切换,后者更大但有失败的可能
+liteyuki-docs  # 查看轻雪文档
+# 上述两个命令修改的配置项在数据库中保存,但是优先级低于配置文件,如果配置文件中存在相同的配置项,将会使用配置文件中的配置
+------
+别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, reload-resources 重载资源, config 配置, set 设置, get 查询, 
+switch-image-mode 切换图片模式, liteyuki-docs 轻雪文档
+

轻雪包管理器 liteyuki_npm

[S]nps update  # 更新插件索引
+[S]nps install <plugin_name>  # 安装插件
+[S]nps uninstall <plugin_name>  # 卸载插件
+[S]nps search <keywords...>  # 通过关键词搜索插件
+------
+[AOSP]npm enable <plugin_name>  # 当前会话启用插件
+[AOSP]npm disable <plugin_name>  # 当前会话禁用插件
+[S]npm enable-global <plugin_name>  # 全局启用插件
+[S]npm disable-global <plugin_name>  # 全局禁用插件
+list-plugin [page] [num] # 列出所有插件 page为页数,num为每页显示数量
+------
+[S]rpm list [page] [num]  # 列出所有资源包 page为页数,num为每页显示数量
+[S]rpm load <resource_pack_name>  # 加载资源包
+[S]rpm unload <resource_pack_name>  # 卸载资源包
+[S]rpm change <resource_pack_name>  # 修改优先级
+[S]rpm reload # 重载所有资源包
+------
+别名: nps 插件商店, npm 插件管理, update 更新, install 安装, uninstall 卸载, search 搜索,
+enable 启用, disable 停用, enable-global 全局启用, disable-global 全局停用, list-plugin 列出插件/插件列表,
+rpm 资源包, load 加载, unload 卸载, change 更改, reload 重载, list 列表/列出
+

+# 受限于Nonebot的钩子函数,目前只能阻断消息事件的传入,对于主动推送消息的插件,无法将其阻止
+------
+
+

轻雪用户管理liteyuki_user

profile  # 查看用户信息菜单
+profile set <key> [value]  # 设置用户信息或打开属性设置菜单
+profile get <key>  # 获取用户信息
+------
+别名: profile 个人信息, set 设置, get 查询
+

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

`,11),o=[p];function i(l,c){return s(),a("div",null,o)}const m=n(t,[["render",i],["__file","basic_command.html.vue"]]),d=JSON.parse('{"path":"/usage/basic_command.html","title":"基础命令","lang":"zh-CN","frontmatter":{"title":"基础命令","icon":"comment","order":1,"category":"使用手册","description":"基础插件命令 命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用,[P]为私聊可用 轻雪liteyuki 轻雪包管理器 liteyuki_npm 轻雪用户管理liteyuki_user 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"基础命令"}],["meta",{"property":"og:description","content":"基础插件命令 命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用,[P]为私聊可用 轻雪liteyuki 轻雪包管理器 liteyuki_npm 轻雪用户管理liteyuki_user 参数:为必填参数,[option]为可选参数。 命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T16:35:53.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T16:35:53.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"基础命令\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-06T16:35:53.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"基础插件命令","slug":"基础插件命令","link":"#基础插件命令","children":[{"level":3,"title":"轻雪liteyuki","slug":"轻雪liteyuki","link":"#轻雪liteyuki","children":[]},{"level":3,"title":"轻雪包管理器 liteyuki_npm","slug":"轻雪包管理器-liteyuki-npm","link":"#轻雪包管理器-liteyuki-npm","children":[]},{"level":3,"title":"轻雪用户管理liteyuki_user","slug":"轻雪用户管理liteyuki-user","link":"#轻雪用户管理liteyuki-user","children":[]}]}],"git":{"createdTime":1711598703000,"updatedTime":1712421353000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":11},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.36,"words":709},"filePathRelative":"usage/basic_command.md","localizedDate":"2024年3月28日","autoDesc":true}');export{m as comp,d as data}; diff --git a/assets/config.html-BzixVQT6.js b/assets/config.html-DYCt0wle.js similarity index 99% rename from assets/config.html-BzixVQT6.js rename to assets/config.html-DYCt0wle.js index ed6db2cc..63fde9b6 100644 --- a/assets/config.html-BzixVQT6.js +++ b/assets/config.html-DYCt0wle.js @@ -1,4 +1,4 @@ -import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as s,c as a,b as e}from"./app-DUHc7hb-.js";const t={},o=e(`

轻雪配置项(Nonebot插件配置项也可以写在此,与dotenv格式不同,应为小写)

配置文件会在首次启动后生成,你可以在config.yml中修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加)

# 生成文件的配置项
+import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as s,c as a,b as e}from"./app-C1c5-uLX.js";const t={},o=e(`

轻雪配置项(Nonebot插件配置项也可以写在此,与dotenv格式不同,应为小写)

配置文件会在首次启动后生成,你可以在config.yml中修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加)

# 生成文件的配置项
 command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
 host: 127.0.0.1 # 监听地址,默认为本机,若要对外开放请填写0.0.0.0或者你的公网IP
 port: 20216 # 绑定端口
diff --git a/assets/extra_command.html-BIM9J_Mt.js b/assets/extra_command.html-C8oJMgaY.js
similarity index 98%
rename from assets/extra_command.html-BIM9J_Mt.js
rename to assets/extra_command.html-C8oJMgaY.js
index 4ff9993f..2388012a 100644
--- a/assets/extra_command.html-BIM9J_Mt.js
+++ b/assets/extra_command.html-C8oJMgaY.js
@@ -1,4 +1,4 @@
-import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-DUHc7hb-.js";const o={},s=n(`

功能插件命令

轻雪天气liteyuki_weather

配置项

weather-key # 和风天气的天气key
+import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-C1c5-uLX.js";const o={},s=n(`

功能插件命令

轻雪天气liteyuki_weather

配置项

weather-key # 和风天气的天气key
 

命令

weather <keywords...> # 查询目标地天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"
 bind-city <keywords...> # 绑定查询城市,个人全局生效
 别名:weather 天气
diff --git a/assets/fandq.html-BbKYU0J4.js b/assets/fandq.html-Dh9tQCRG.js
similarity index 98%
rename from assets/fandq.html-BbKYU0J4.js
rename to assets/fandq.html-Dh9tQCRG.js
index d2c00ad0..e5499f38 100644
--- a/assets/fandq.html-BbKYU0J4.js
+++ b/assets/fandq.html-Dh9tQCRG.js
@@ -1 +1 @@
-import{_ as r}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as a,o as l,c as i,d as e,e as t,a as n,b as c}from"./app-DUHc7hb-.js";const p={},s=c('

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器

推荐方案(QQ)

',3),h={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},d={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},m={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},u={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},_=e("code",null,"node.js",-1),g=e("code",null,"ws-plugin",-1),y={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},f=e("code",null,"go",-1),b={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},k=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),B=e("h4",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,"推荐方案(Minecraft)")])],-1),O={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},q=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),x=e("h3",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,"鸣谢")])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},Q={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},T={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"};function N(w,v){const o=a("ExternalLinkIcon");return l(),i("div",null,[s,e("ol",null,[e("li",null,[e("a",h,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",d,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",m,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",u,[t("TRSS-Yunzai"),n(o)]),t(",基于"),_,t(",可使用"),g,t("进行通信")]),e("li",null,[e("a",y,[t("go-cqhttp"),n(o)]),t(","),f,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",b,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),k]),B,e("ol",null,[e("li",null,[e("a",O,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),q,x,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",Q,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",T,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")])])])}const P=r(p,[["render",N],["__file","fandq.html.vue"]]),z=JSON.parse('{"path":"/deployment/fandq.html","title":"答疑","lang":"zh-CN","frontmatter":{"title":"答疑","icon":"question","order":3,"category":"使用指南","tag":["配置","部署"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"答疑"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-05T20:23:01.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-05T20:23:01.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-05T20:23:01.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":3,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":3,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1711695504000,"updatedTime":1712348581000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":6}]},"readingTime":{"minutes":1.9,"words":571},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{P as comp,z as data}; +import{_ as r}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as a,o as l,c as i,d as e,e as t,a as n,b as c}from"./app-C1c5-uLX.js";const p={},s=c('

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器

推荐方案(QQ)

',3),h={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},d={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},m={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},u={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},_=e("code",null,"node.js",-1),g=e("code",null,"ws-plugin",-1),y={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},f=e("code",null,"go",-1),b={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},k=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),B=e("h4",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,"推荐方案(Minecraft)")])],-1),O={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},q=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),x=e("h3",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,"鸣谢")])],-1),L={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},Q={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},T={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"};function N(w,v){const o=a("ExternalLinkIcon");return l(),i("div",null,[s,e("ol",null,[e("li",null,[e("a",h,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",d,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",m,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",u,[t("TRSS-Yunzai"),n(o)]),t(",基于"),_,t(",可使用"),g,t("进行通信")]),e("li",null,[e("a",y,[t("go-cqhttp"),n(o)]),t(","),f,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",b,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),k]),B,e("ol",null,[e("li",null,[e("a",O,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),q,x,e("ul",null,[e("li",null,[e("a",L,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",Q,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",T,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")])])])}const P=r(p,[["render",N],["__file","fandq.html.vue"]]),z=JSON.parse('{"path":"/deployment/fandq.html","title":"答疑","lang":"zh-CN","frontmatter":{"title":"答疑","icon":"question","order":3,"category":"使用指南","tag":["配置","部署"],"description":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/fandq.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"答疑"}],["meta",{"property":"og:description","content":"常见问题 设备上Python环境太乱了,pip和python不对应怎么办? 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件 为什么我启动后机器人没..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-05T20:23:01.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-05T20:23:01.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-05T20:23:01.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":3,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":3,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1711695504000,"updatedTime":1712348581000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":6}]},"readingTime":{"minutes":1.9,"words":571},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{P as comp,z as data}; diff --git a/assets/foolsday.html-D5qruSp9.js b/assets/foolsday.html-DBlLjgsp.js similarity index 98% rename from assets/foolsday.html-D5qruSp9.js rename to assets/foolsday.html-DBlLjgsp.js index 72f3481f..bdf1d112 100644 --- a/assets/foolsday.html-D5qruSp9.js +++ b/assets/foolsday.html-DBlLjgsp.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o}from"./app-DUHc7hb-.js";const i={};function a(s,n){return e(),o("div")}const m=t(i,[["render",a],["__file","foolsday.html.vue"]]),r=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"奇怪的册子","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至下","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Koishi.js233","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用npmx和pip,让你无法安装/卸载插件"},{"title":"点击无法交互","icon":"mouse-pointer","details":"老的的点击交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"非国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己下新版本去"},{"title":"服务支持","icon":"server","details":"内置轻雪API,但随时可能跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 node.js+"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 npm install -r requirements.txt 安装项目依赖。","details":"如果你有多个 node.js 环境,请使用 pythonx -m npm install -r requirements.txt。"},{"title":"使用 node main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{m as comp,r as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o}from"./app-C1c5-uLX.js";const i={};function a(s,n){return e(),o("div")}const m=t(i,[["render",a],["__file","foolsday.html.vue"]]),r=JSON.parse('{"path":"/foolsday.html","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"HeavyyukiBot666","tagline":"重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写","actions":[{"text":"快速结束","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"奇怪的册子","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至下","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Koishi.js233","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"盲目插件管理","icon":"plug","details":"基于nbshi使用npmx和pip,让你无法安装/卸载插件"},{"title":"点击无法交互","icon":"mouse-pointer","details":"老的的点击交互模式,必须手打指令"},{"title":"猪蹄支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"非国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"超难配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"高占用","icon":"memory","details":"使用更多的意义不明的依赖和资源"},{"title":"一个Bot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna","icon":"link","details":"使用Alconna实现低效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"不准更新","icon":"cloud-download","details":"要更新自己下新版本去"},{"title":"服务支持","icon":"server","details":"内置轻雪API,但随时可能跑路"},{"title":"闭源","icon":"code","details":"要源代码自己逆向去"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 node.js+"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 npm install -r requirements.txt 安装项目依赖。","details":"如果你有多个 node.js 环境,请使用 pythonx -m npm install -r requirements.txt。"},{"title":"使用 node main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-01T16:01:28.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-01T16:01:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711987288000,"updatedTime":1711987288000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":2.11,"words":633},"filePathRelative":"foolsday.md","localizedDate":"2024年4月1日"}');export{m as comp,r as data}; diff --git a/assets/index.html-BOa-wn01.js b/assets/index.html-BZzZGDPi.js similarity index 96% rename from assets/index.html-BOa-wn01.js rename to assets/index.html-BZzZGDPi.js index d62edf50..172bbf8a 100644 --- a/assets/index.html-BOa-wn01.js +++ b/assets/index.html-BZzZGDPi.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-DUHc7hb-.js";const p={};function i(m,c){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(p,[["render",i],["__file","index.html.vue"]]),y=JSON.parse('{"path":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{d as comp,y as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-C1c5-uLX.js";const p={};function i(m,c){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(p,[["render",i],["__file","index.html.vue"]]),y=JSON.parse('{"path":"/deployment/","title":"项目部署","lang":"zh-CN","frontmatter":{"title":"项目部署","index":false,"icon":"laptop-code","category":"部署","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"项目部署"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"项目部署\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.05,"words":15},"filePathRelative":"deployment/README.md","localizedDate":"2024年3月28日"}');export{d as comp,y as data}; diff --git a/assets/index.html-C0zJRIyB.js b/assets/index.html-Cx1JiFPR.js similarity index 96% rename from assets/index.html-C0zJRIyB.js rename to assets/index.html-Cx1JiFPR.js index 980f6b47..bb48db6e 100644 --- a/assets/index.html-C0zJRIyB.js +++ b/assets/index.html-Cx1JiFPR.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-DUHc7hb-.js";const a={};function o(s,n){return e(),i("div")}const c=t(a,[["render",o],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/store/","title":"","lang":"zh-CN","frontmatter":{"home":true,"icon":"paint-brush","heroText":"Liteyuki Theme Store","tagline":"轻雪主题/资源商店","highlights":[{"header":"所有资源包","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Kawaii-Status","icon":"paint-brush","details":"可爱的状态卡片,模仿的Koishi","link":"https://cdn.liteyuki.icu/static/lrp/KawaiiStatus.zip"},{"title":"MiSans字体包","icon":"paint-brush","details":"标准字体包,适用于大多数主题,简约大方","link":"https://cdn.liteyuki.icu/static/lrp/MiSansFonts.zip"},{"title":"MapleMono字体包","icon":"paint-brush","details":"适用于标准主题的MapleMono字体包","link":"https://cdn.liteyuki.icu/static/lrp/MapleMonoFonts.zip"}]}],"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T00:48:21.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T00:48:21.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1712364501000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.4,"words":120},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{c as comp,l as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-C1c5-uLX.js";const a={};function o(s,n){return e(),i("div")}const c=t(a,[["render",o],["__file","index.html.vue"]]),l=JSON.parse('{"path":"/store/","title":"","lang":"zh-CN","frontmatter":{"home":true,"icon":"paint-brush","heroText":"Liteyuki Theme Store","tagline":"轻雪主题/资源商店","highlights":[{"header":"所有资源包","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"Kawaii-Status","icon":"paint-brush","details":"可爱的状态卡片,模仿的Koishi","link":"https://cdn.liteyuki.icu/static/lrp/KawaiiStatus.zip"},{"title":"MiSans字体包","icon":"paint-brush","details":"标准字体包,适用于大多数主题,简约大方","link":"https://cdn.liteyuki.icu/static/lrp/MiSansFonts.zip"},{"title":"MapleMono字体包","icon":"paint-brush","details":"适用于标准主题的MapleMono字体包","link":"https://cdn.liteyuki.icu/static/lrp/MapleMonoFonts.zip"}]}],"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T00:48:21.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T00:48:21.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\"}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1712364501000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.4,"words":120},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{c as comp,l as data}; diff --git a/assets/index.html-CkAbM_BV.js b/assets/index.html-D5OJkDQD.js similarity index 96% rename from assets/index.html-CkAbM_BV.js rename to assets/index.html-D5OJkDQD.js index a516e7a2..25190d4b 100644 --- a/assets/index.html-CkAbM_BV.js +++ b/assets/index.html-D5OJkDQD.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-DUHc7hb-.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(i,[["render",c],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{d as comp,h as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-C1c5-uLX.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const d=t(i,[["render",c],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/usage/","title":"使用手册","lang":"zh-CN","frontmatter":{"title":"使用手册","index":false,"icon":"laptop-code","category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"使用手册"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-03-28T04:05:03.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-03-28T04:05:03.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用手册\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-03-28T04:05:03.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1711589926000,"updatedTime":1711598703000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.06,"words":17},"filePathRelative":"usage/README.md","localizedDate":"2024年3月28日"}');export{d as comp,h as data}; diff --git a/assets/index.html-CFMdQ8y2.js b/assets/index.html-DeBixjJr.js similarity index 98% rename from assets/index.html-CFMdQ8y2.js rename to assets/index.html-DeBixjJr.js index b8915e79..37c3c147 100644 --- a/assets/index.html-CFMdQ8y2.js +++ b/assets/index.html-DeBixjJr.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-DUHc7hb-.js";const o={};function n(a,s){return e(),i("div")}const m=t(o,[["render",n],["__file","index.html.vue"]]),r=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot 6","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速开始","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"可视化插件管理","icon":"plug","details":"使用npm,无需命令行操作即可安装/卸载插件"},{"title":"点击交互","icon":"mouse-pointer","details":"新的点击交互模式,拒绝手打指令"},{"title":"主题支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"低占用","icon":"memory","details":"使用更少的依赖和资源"},{"title":"OneBot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna命令解析","icon":"link","details":"使用Alconna实现高效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"便捷更新","icon":"cloud-download","details":"聊天窗口命令更新,无需手动下载"},{"title":"服务支持","icon":"server","details":"内置轻雪API,可自动收集错误,提供图床服务"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 Python3.10+"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 pip install -r requirements.txt 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。"},{"title":"使用 python main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T01:10:01.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T01:10:01.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1712365801000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":22}]},"readingTime":{"minutes":1.74,"words":521},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{m as comp,r as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as i}from"./app-C1c5-uLX.js";const o={};function n(a,s){return e(),i("div")}const m=t(o,[["render",n],["__file","index.html.vue"]]),r=JSON.parse('{"path":"/","title":"首页","lang":"zh-CN","frontmatter":{"home":true,"icon":"home","title":"首页","heroImage":"https://cdn.liteyuki.icu/static/img/logo.png","bgImage":null,"bgImageDark":null,"bgImageStyle":{"background-attachment":"fixed"},"heroText":"LiteyukiBot 6","tagline":"轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人","actions":[{"text":"快速开始","icon":"lightbulb","link":"./deployment/install.html","type":"primary"},{"text":"使用手册","icon":"book","link":"./usage/basic_command.html"}],"highlights":[{"header":"简洁至上","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/2-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/2-dark.svg","bgImageStyle":{"background-repeat":"repeat","background-size":"initial"},"features":[{"title":"基于Nonebot2","icon":"robot","details":"拥有良好的生态支持","link":"https://nonebot.dev/"},{"title":"可视化插件管理","icon":"plug","details":"使用npm,无需命令行操作即可安装/卸载插件"},{"title":"点击交互","icon":"mouse-pointer","details":"新的点击交互模式,拒绝手打指令"},{"title":"主题支持","icon":"paint-brush","details":"支持多种主题,可自定义资源包,满足你的审美需求"},{"title":"国际化","icon":"globe","details":"支持多种语言,包括i18n部分语言和自行扩展的语言代码","link":"https://baike.baidu.com/item/i18n/6771940"},{"title":"简易配置","icon":"cog","details":"无需过多配置,开箱即用","link":"https://bot.liteyuki.icu/deployment/config.html"},{"title":"低占用","icon":"memory","details":"使用更少的依赖和资源"},{"title":"OneBot标准","icon":"link","details":"支持OneBotv11/12标准的四种通信协议","link":"https://onebot.dev/"},{"title":"Alconna命令解析","icon":"link","details":"使用Alconna实现高效命令解析","link":"https://github.com/nonebot/plugin-alconna"},{"title":"便捷更新","icon":"cloud-download","details":"聊天窗口命令更新,无需手动下载"},{"title":"服务支持","icon":"server","details":"内置轻雪API,可自动收集错误,提供图床服务"},{"title":"开源","icon":"code","details":"项目遵循MIT协议开源,欢迎各位的贡献"}]},{"header":"快速部署","image":"/assets/image/box.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/3-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/3-dark.svg","highlights":[{"title":"安装 Git 和 Python3.10+"},{"title":"使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。","details":"如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot。"},{"title":"使用 cd LiteyukiBot 切换到项目目录。"},{"title":"使用 pip install -r requirements.txt 安装项目依赖。","details":"如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。"},{"title":"使用 python main.py 启动项目。"}]}],"copyright":"© 2021-2024 SnowyKami All Rights Reserved","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"首页"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-06T01:10:01.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-06T01:10:01.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1712365801000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":22}]},"readingTime":{"minutes":1.74,"words":521},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{m as comp,r as data}; diff --git a/assets/install.html-CNLomYya.js b/assets/install.html-BoWbZuTj.js similarity index 97% rename from assets/install.html-CNLomYya.js rename to assets/install.html-BoWbZuTj.js index ffbf740d..ea3875fe 100644 --- a/assets/install.html-CNLomYya.js +++ b/assets/install.html-BoWbZuTj.js @@ -1 +1 @@ -import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as n,o as a,c as l,d as e,e as t,a as r,b as c}from"./app-DUHc7hb-.js";const d={},s=c('

设备要求

  • Windows系统版本最低Windows10+/Windows Server 2019+
  • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+(别用你那b CentOS)
  • CPU: 至少1vCPU
  • 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上
  • 硬盘: 至少1GB空间
  • GPU: 原生轻雪无需GPU,某些插件需要GPU支持,例如AI绘画之类的,具体查看插件文档

开始安装

  1. 安装 GitPython3.10+ 环境
  2. 克隆项目 git clone https://github.com/snowykami/LiteyukiBot (无法连接可以用https://gitee.com/snowykami/LiteyukiBot)
  3. 切换目录cd LiteyukiBot
  4. 安装依赖pip install -r requirements.txt(如果多个Python环境请指定后安装pythonx -m pip install -r requirements.txt)
  5. 启动python main.py
',4),p={id:"想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能",tabindex:"-1"},m={class:"header-anchor",href:"#想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能"},h={href:"https://timerainstarsky.github.io/TRSS_Liteyuki/",target:"_blank",rel:"noopener noreferrer"};function u(y,_){const o=n("ExternalLinkIcon");return a(),l("div",null,[s,e("h4",p,[e("a",m,[e("span",null,[t("想在Linux命令行中拥有更好的体验?试试"),e("a",h,[t("TRSS_Liteyuki轻雪机器人管理脚本"),r(o)]),t(",该功能仅供参考,不是LiteyukiBot官方提供的功能")])])])])}const B=i(d,[["render",u],["__file","install.html.vue"]]),x=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-05T01:14:26.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-05T01:14:26.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-05T01:14:26.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":3,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]},{"level":3,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712279666000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.8,"words":240},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{B as comp,x as data}; +import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as n,o as a,c as l,d as e,e as t,a as r,b as c}from"./app-C1c5-uLX.js";const d={},s=c('

设备要求

  • Windows系统版本最低Windows10+/Windows Server 2019+
  • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+(别用你那b CentOS)
  • CPU: 至少1vCPU
  • 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上
  • 硬盘: 至少1GB空间
  • GPU: 原生轻雪无需GPU,某些插件需要GPU支持,例如AI绘画之类的,具体查看插件文档

开始安装

  1. 安装 GitPython3.10+ 环境
  2. 克隆项目 git clone https://github.com/snowykami/LiteyukiBot (无法连接可以用https://gitee.com/snowykami/LiteyukiBot)
  3. 切换目录cd LiteyukiBot
  4. 安装依赖pip install -r requirements.txt(如果多个Python环境请指定后安装pythonx -m pip install -r requirements.txt)
  5. 启动python main.py
',4),p={id:"想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能",tabindex:"-1"},m={class:"header-anchor",href:"#想在linux命令行中拥有更好的体验-试试trss-liteyuki轻雪机器人管理脚本-该功能仅供参考-不是liteyukibot官方提供的功能"},h={href:"https://timerainstarsky.github.io/TRSS_Liteyuki/",target:"_blank",rel:"noopener noreferrer"};function u(y,_){const o=n("ExternalLinkIcon");return a(),l("div",null,[s,e("h4",p,[e("a",m,[e("span",null,[t("想在Linux命令行中拥有更好的体验?试试"),e("a",h,[t("TRSS_Liteyuki轻雪机器人管理脚本"),r(o)]),t(",该功能仅供参考,不是LiteyukiBot官方提供的功能")])])])])}const B=i(d,[["render",u],["__file","install.html.vue"]]),x=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"安装"}],["meta",{"property":"og:description","content":"设备要求 Windows系统版本最低Windows10+/Windows Server 2019+ Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+() CPU: 至少1vCPU 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上 硬盘: 至少1GB空间 GPU: 原生轻雪..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-05T01:14:26.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-05T01:14:26.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-05T01:14:26.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":3,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]},{"level":3,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712279666000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":5}]},"readingTime":{"minutes":0.8,"words":240},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{B as comp,x as data}; diff --git a/assets/resource_pack.html-BkkvX7Is.js b/assets/resource_pack.html-B-wR9Y_N.js similarity index 98% rename from assets/resource_pack.html-BkkvX7Is.js rename to assets/resource_pack.html-B-wR9Y_N.js index 646c192e..74a36385 100644 --- a/assets/resource_pack.html-BkkvX7Is.js +++ b/assets/resource_pack.html-B-wR9Y_N.js @@ -1,4 +1,4 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-DUHc7hb-.js";const s={},i=n(`

简介

资源包,也可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你会很快上手
  • 部分内容制作需要一点点前端基础,例如html,css,如果你不懂,可以参考一些教程
  • 欢迎各位投稿资源包到轻雪资源商店

加载资源包

  • 下载的资源包通常是以.zip格式压缩的,你只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
+import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a,b as n}from"./app-C1c5-uLX.js";const s={},i=n(`

简介

资源包,也可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你会很快上手
  • 部分内容制作需要一点点前端基础,例如html,css,如果你不懂,可以参考一些教程
  • 欢迎各位投稿资源包到轻雪资源商店

加载资源包

  • 下载的资源包通常是以.zip格式压缩的,你只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
 resources
 ├─resource_pack_1
     ├───metadata.yml
diff --git a/deployment/config.html b/deployment/config.html
index 46db7e74..a5d0912a 100644
--- a/deployment/config.html
+++ b/deployment/config.html
@@ -30,8 +30,8 @@
     
     配置 | LiteyukiBot 轻雪机器人
     
-    
-    
+    
+    
   
   
     
跳至主要內容

配置

远野千束大约 2 分钟使用指南配置部署

轻雪配置项(Nonebot插件配置项也可以写在此,与dotenv格式不同,应为小写)

配置文件会在首次启动后生成,你可以在config.yml中修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname。如果不确定字段的含义,请不要修改(部分在自动生成配置文件中未列出,需手动添加)

# 生成文件的配置项
@@ -63,6 +63,6 @@
 custom_config_2: "custom_value2"
 ...
 

Onebot实现端配置

不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

字段参考值说明
协议反向WebSocket推荐使用反向ws协议进行通信,即轻雪作为服务端
地址ws://address/onebot/v11/ws地址取决于配置文件,本机默认为127.0.0.1:20216
AccessToken""如果你给轻雪配置了AccessToken,请在此填写相同的值

其他通信方式

  • 实现端与轻雪的通信方式不局限为反向WebSocket,但是推荐使用反向WebSocket。
  • 反向WebSocket的优点是轻雪作为服务端,可以更好的控制连接,适用于生产环境。
  • 在某些情况下,你也可以使用正向WebSocket,比如你在开发轻雪插件时,可以使用正向WebSocket主动连接实现端
- + diff --git a/deployment/fandq.html b/deployment/fandq.html index 636518e3..8dfab42f 100644 --- a/deployment/fandq.html +++ b/deployment/fandq.html @@ -30,11 +30,11 @@ 答疑 | LiteyukiBot 轻雪机器人 - - + +
跳至主要內容

答疑

远野千束大约 2 分钟使用指南配置部署

常见问题

  • 设备上Python环境太乱了,pip和python不对应怎么办?

    • 请使用/path/to/python -m pip install -r requirements.txt来安装依赖, 然后用/path/to/python main.py来启动Bot, 其中/path/to/python是你要用来运行Bot的可执行文件
  • 为什么我启动后机器人没有反应?

    • 请检查配置文件的command_startsuperusers,确认你有权限使用命令并按照正确的命令发送
    • 确认命令头没有和nickname{}冲突,例如一个命令是help,但是Bot昵称有一个help,那么将会被解析为nickname而不是命令
  • 怎么登录聊天平台,例如QQ?

    • 你有这个问题说明你不是很了解这个项目,本项目不负责实现登录功能,只负责处理和回应消息,登录功能由实现端(协议端)提供, 实现端本身不负责处理响应逻辑,将消息按照OneBot标准处理好上报给轻雪 你需要使用Onebot标准的实现端来连接到轻雪并将消息上报给轻雪,下面已经列出一些推荐的实现端
  • Playwright安装失败

    • 输入playwright install安装浏览器

推荐方案(QQ)

  1. Lagrange.OneBotopen in new window,基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange
  2. LLOneBotopen in new window,NTQQ的OneBot插件,需要安装NTQQ
  3. OpenShamrockopen in new window,基于Lsposed的OneBot11实现
  4. TRSS-Yunzaiopen in new window,基于node.js,可使用ws-plugin进行通信
  5. go-cqhttpopen in new windowgo语言实现的OneBot11实现端,目前可用性较低
  6. Gensokyoopen in new window,基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限
  7. 人工实现的Onebot协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据

推荐方案(Minecraft)

  1. MinecraftOneBotopen in new window,我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准

使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者

鸣谢

- + diff --git a/deployment/index.html b/deployment/index.html index fe1da0e5..650d2400 100644 --- a/deployment/index.html +++ b/deployment/index.html @@ -30,11 +30,11 @@ 项目部署 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/deployment/install.html b/deployment/install.html index 042250a4..b87846d1 100644 --- a/deployment/install.html +++ b/deployment/install.html @@ -30,11 +30,11 @@ 安装 | LiteyukiBot 轻雪机器人 - - + +
跳至主要內容

安装

远野千束小于 1 分钟使用指南安装

设备要求

  • Windows系统版本最低Windows10+/Windows Server 2019+
  • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+/CentOS 8+(别用你那b CentOS)
  • CPU: 至少1vCPU
  • 内存: Bot无其他插件会占用100MB,其他插件占用视具体插件而定,建议1GB以上
  • 硬盘: 至少1GB空间
  • GPU: 原生轻雪无需GPU,某些插件需要GPU支持,例如AI绘画之类的,具体查看插件文档

开始安装

  1. 安装 GitPython3.10+ 环境
  2. 克隆项目 git clone https://github.com/snowykami/LiteyukiBot (无法连接可以用https://gitee.com/snowykami/LiteyukiBot)
  3. 切换目录cd LiteyukiBot
  4. 安装依赖pip install -r requirements.txt(如果多个Python环境请指定后安装pythonx -m pip install -r requirements.txt)
  5. 启动python main.py

想在Linux命令行中拥有更好的体验?试试TRSS_Liteyuki轻雪机器人管理脚本open in new window,该功能仅供参考,不是LiteyukiBot官方提供的功能

- + diff --git a/foolsday.html b/foolsday.html index 82e7347b..c44a5ad0 100644 --- a/foolsday.html +++ b/foolsday.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
跳至主要內容
HeavyyukiBot666

HeavyyukiBot666

重雪机器人,一个以笨重和复杂为设计理念基于Koishi114514的OneBotv1919810标准聊天机器人,可用于雪地清扫,使用Typethon编写

快速结束奇怪的册子

简洁至下

基于Koishi.js233

拥有良好的生态支持

盲目插件管理

基于nbshi使用npmx和pip,让你无法安装/卸载插件

点击无法交互

老的的点击交互模式,必须手打指令

猪蹄支持

支持多种主题,可自定义资源包,满足你的审美需求

非国际化

支持多种语言,包括i18n部分语言和自行扩展的语言代码

超难配置

无需过多配置,开箱即用

高占用

使用更多的意义不明的依赖和资源

一个Bot标准

支持OneBotv11/12标准的四种通信协议

Alconna

使用Alconna实现低效命令解析

不准更新

要更新自己下新版本去

服务支持

内置轻雪API,但随时可能跑路

闭源

要源代码自己逆向去

快速部署

  • 安装 Git 和 node.js+

  • 使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。

    如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot

  • 使用 cd LiteyukiBot 切换到项目目录。

  • 使用 npm install -r requirements.txt 安装项目依赖。

    如果你有多个 node.js 环境,请使用 pythonx -m npm install -r requirements.txt

  • 使用 node main.py 启动项目。

- + diff --git a/index.html b/index.html index 6129eb63..01db8ffb 100644 --- a/index.html +++ b/index.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
跳至主要內容
LiteyukiBot 6

LiteyukiBot 6

轻雪机器人,一个以轻量和简洁为设计理念基于Nonebot2的OneBot标准聊天机器人

快速开始使用手册

简洁至上

基于Nonebot2

拥有良好的生态支持

可视化插件管理

使用npm,无需命令行操作即可安装/卸载插件

点击交互

新的点击交互模式,拒绝手打指令

主题支持

支持多种主题,可自定义资源包,满足你的审美需求

国际化

支持多种语言,包括i18n部分语言和自行扩展的语言代码

简易配置

无需过多配置,开箱即用

低占用

使用更少的依赖和资源

OneBot标准

支持OneBotv11/12标准的四种通信协议

Alconna命令解析

使用Alconna实现高效命令解析

便捷更新

聊天窗口命令更新,无需手动下载

服务支持

内置轻雪API,可自动收集错误,提供图床服务

开源

项目遵循MIT协议开源,欢迎各位的贡献

快速部署

  • 安装 Git 和 Python3.10+

  • 使用 git clone https://github.com/snowykami/LiteyukiBot 以克隆项目至本地。

    如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot

  • 使用 cd LiteyukiBot 切换到项目目录。

  • 使用 pip install -r requirements.txt 安装项目依赖。

    如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt

  • 使用 python main.py 启动项目。

- + diff --git a/sitemap.xml b/sitemap.xml index 400acaae..a8758ee2 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,3 +1,3 @@ -https://vuepress-theme-hope-docs-demo.netlify.app/2024-04-06T01:10:01.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html2024-04-01T16:01:28.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/2024-03-28T04:05:03.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/config.html2024-04-05T12:07:33.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/fandq.html2024-04-05T20:23:01.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html2024-04-05T01:14:26.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/store/2024-04-06T00:48:21.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/2024-03-28T04:05:03.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html2024-03-31T02:59:17.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html2024-04-06T00:48:21.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/extra_command.html2024-03-31T02:59:17.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/resource_pack.html2024-04-06T01:10:01.000Zdaily \ No newline at end of file +https://vuepress-theme-hope-docs-demo.netlify.app/2024-04-06T01:10:01.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/foolsday.html2024-04-01T16:01:28.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/2024-03-28T04:05:03.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/config.html2024-04-05T12:07:33.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/fandq.html2024-04-05T20:23:01.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/deployment/install.html2024-04-05T01:14:26.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/store/2024-04-06T00:48:21.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/2024-03-28T04:05:03.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/agreement.html2024-03-31T02:59:17.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/basic_command.html2024-04-06T16:35:53.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/extra_command.html2024-03-31T02:59:17.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/usage/resource_pack.html2024-04-06T01:10:01.000Zdaily \ No newline at end of file diff --git a/store/index.html b/store/index.html index b7cd6dd7..ac77028d 100644 --- a/store/index.html +++ b/store/index.html @@ -30,11 +30,11 @@ LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/agreement.html b/usage/agreement.html index ed1517a7..e5741eed 100644 --- a/usage/agreement.html +++ b/usage/agreement.html @@ -30,11 +30,11 @@ 用户协议 | LiteyukiBot 轻雪机器人 - - + +
跳至主要內容

用户协议

远野千束小于 1 分钟使用手册

  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
    • 运行环境的设备信息:CPU,内存,系统信息,Python信息
    • 插件信息(不含插件数据),
    • 部分异常信息,
    • 会话负载信息(不含隐私部分) 以上内容仅用于项目的优化,不包含任何隐私信息,且通过安全的方式传输到轻雪的服务器,若你不希望提供这些信息,可以在配置文件中把auto_report设定为false
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
- + diff --git a/usage/basic_command.html b/usage/basic_command.html index d8ed6183..a7f7ca93 100644 --- a/usage/basic_command.html +++ b/usage/basic_command.html @@ -28,42 +28,54 @@ document.documentElement.setAttribute("data-theme", "dark"); } - 基础命令 | LiteyukiBot 轻雪机器人 + 基础命令 | LiteyukiBot 轻雪机器人 - - + + -
跳至主要內容

基础命令

远野千束大约 2 分钟使用手册

基础插件命令

命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用

轻雪liteyuki

[S]reload-liteyuki  # 重载轻雪
+    
跳至主要內容

基础命令

远野千束大约 2 分钟使用手册

基础插件命令

命令前有[S]的表示仅超级用户可用,[O]和[A]分别为群主和群管可用,[P]为私聊可用

轻雪liteyuki

[S]reload-liteyuki  # 重载轻雪
 [S]update-liteyuki  # 更新轻雪
 [S]liteecho # 查看当前bot
 [S]config set <key> value  # 添加配置项,若存在则会覆盖,输入值会被执行,以便于转换为正确的值,"10"和10是不一样的
 [S]config get [key]  # 查询配置项,不带key返回配置项列表,推荐私聊使用
 [S]reload-resources  # 重载资源
 [S]switch-image-mode  # 切换图片模式,该功能需要commit:505468b及以后的Lagrange.OneBot,在普通图片和Markdown图片之间切换,后者更大但有失败的可能
+liteyuki-docs  # 查看轻雪文档
 # 上述两个命令修改的配置项在数据库中保存,但是优先级低于配置文件,如果配置文件中存在相同的配置项,将会使用配置文件中的配置
 ------
-别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, reload-resources 重载资源, config 配置, set 设置, get 查询
-

轻雪Nonebot插件管理 liteyuki_npm

[S]npm update  # 更新插件索引
-[S]npm install <plugin_name>  # 安装插件
-[S]npm uninstall <plugin_name>  # 卸载插件
-[S]npm search <keywords...>  # 通过关键词搜索插件
+别名: reload-liteyuki 重启轻雪, update-liteyuki 更新轻雪, reload-resources 重载资源, config 配置, set 设置, get 查询, 
+switch-image-mode 切换图片模式, liteyuki-docs 轻雪文档
+

轻雪包管理器 liteyuki_npm

[S]nps update  # 更新插件索引
+[S]nps install <plugin_name>  # 安装插件
+[S]nps uninstall <plugin_name>  # 卸载插件
+[S]nps search <keywords...>  # 通过关键词搜索插件
 ------
-别名: npm 插件, update 更新, install 安装, uninstall 卸载, search 搜索
-
[SOA]enable <plugin_name>  # 启用插件
-[SOA]disable <plugin_name>  # 禁用插件
-[S]enable-global <plugin_name>  # 全局启用插件
-[S]disable-global <plugin_name>  # 全局禁用插件
+[AOSP]npm enable <plugin_name>  # 当前会话启用插件
+[AOSP]npm disable <plugin_name>  # 当前会话禁用插件
+[S]npm enable-global <plugin_name>  # 全局启用插件
+[S]npm disable-global <plugin_name>  # 全局禁用插件
 list-plugin [page] [num] # 列出所有插件 page为页数,num为每页显示数量
+------
+[S]rpm list [page] [num]  # 列出所有资源包 page为页数,num为每页显示数量
+[S]rpm load <resource_pack_name>  # 加载资源包
+[S]rpm unload <resource_pack_name>  # 卸载资源包
+[S]rpm change <resource_pack_name>  # 修改优先级
+[S]rpm reload # 重载所有资源包
+------
+别名: nps 插件商店, npm 插件管理, update 更新, install 安装, uninstall 卸载, search 搜索,
+enable 启用, disable 停用, enable-global 全局启用, disable-global 全局停用, list-plugin 列出插件/插件列表,
+rpm 资源包, load 加载, unload 卸载, change 更改, reload 重载, list 列表/列出
+

 # 受限于Nonebot的钩子函数,目前只能阻断消息事件的传入,对于主动推送消息的插件,无法将其阻止
 ------
-别名: enable 启用, disable 停用, enable-global 全局启用, disable-global 全局停用, list-plugin 列出插件/插件列表
-

轻雪用户管理liteyuki_user

profile  # 查看用户信息菜单
+
+

轻雪用户管理liteyuki_user

profile  # 查看用户信息菜单
 profile set <key> [value]  # 设置用户信息或打开属性设置菜单
 profile get <key>  # 获取用户信息
 ------
 别名: profile 个人信息, set 设置, get 查询
 

参数<param>为必填参数,[option]为可选参数。

命令别名:配置了命令别名的命令可以使用别名代替原命令,例如npm install ~可以使用插件 安装 ~代替。

- + diff --git a/usage/extra_command.html b/usage/extra_command.html index f707e004..744cc85b 100644 --- a/usage/extra_command.html +++ b/usage/extra_command.html @@ -30,8 +30,8 @@ 功能命令 | LiteyukiBot 轻雪机器人 - - + +
跳至主要內容

功能命令

远野千束小于 1 分钟使用手册

功能插件命令

轻雪天气liteyuki_weather

配置项

weather-key # 和风天气的天气key
@@ -39,6 +39,6 @@
 bind-city <keywords...> # 绑定查询城市,个人全局生效
 别名:weather 天气
 
- + diff --git a/usage/index.html b/usage/index.html index 76b6b4a9..85ef4ebf 100644 --- a/usage/index.html +++ b/usage/index.html @@ -30,11 +30,11 @@ 使用手册 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/resource_pack.html b/usage/resource_pack.html index edfad041..100fcbaf 100644 --- a/usage/resource_pack.html +++ b/usage/resource_pack.html @@ -30,8 +30,8 @@ 资源包 | LiteyukiBot 轻雪机器人 - - + +
跳至主要內容

资源包

远野千束大约 2 分钟使用手册

简介

资源包,也可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源码

  • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
  • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你会很快上手
  • 部分内容制作需要一点点前端基础,例如html,css,如果你不懂,可以参考一些教程
  • 欢迎各位投稿资源包到轻雪资源商店

加载资源包

  • 下载的资源包通常是以.zip格式压缩的,你只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
main.py
@@ -48,6 +48,6 @@ resources
 description: "资源包描述"
 ... # 你可以自定义一些信息,但请保证以上三个字段
 
  • 资源包加载遵循一个优先级,即后加载的资源包会覆盖前面的资源包,也就是说,你在A资源包中定义了一个index.html文件,B资源包也定义了一个index.html文件,那么加载B资源包后,A资源包中的index.html文件会被覆盖
  • 对于不同资源包的不同文件,是可以相对引用的,例如你在A资源包中的index.html文件中引用了B资源包中的style.css文件,那么加载A资源包后,轻雪会自动加载B资源包中的style.css文件
- +