diff --git a/404.html b/404.html index 991a5822..646f107e 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ LiteyukiBot 轻雪机器人 - - + + -
跳至主要內容

404

页面不存在

这里什么也没有

- +
跳至主要內容

404

页面不存在

这 是 四 零 四 !

+ diff --git a/assets/404.html-DsZedH7f.js b/assets/404.html-LhTV6966.js similarity index 93% rename from assets/404.html-DsZedH7f.js rename to assets/404.html-LhTV6966.js index 26ea74be..894da227 100644 --- a/assets/404.html-DsZedH7f.js +++ b/assets/404.html-LhTV6966.js @@ -1 +1 @@ -import{_ as t,o as e,c as o,b as n}from"./app-CM8cxaVt.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const m=t(r,[["render",p],["__file","404.html.vue"]]),d=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{m as comp,d as data}; +import{_ as t,o as e,c as o,b as n}from"./app-Dor1UG7c.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const m=t(r,[["render",p],["__file","404.html.vue"]]),d=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{m as comp,d as data}; diff --git a/assets/agreement.html-DbYfTgn9.js b/assets/agreement.html-C1PLMRdM.js similarity index 98% rename from assets/agreement.html-DbYfTgn9.js rename to assets/agreement.html-C1PLMRdM.js index 9956a854..38c7bcde 100644 --- a/assets/agreement.html-DbYfTgn9.js +++ b/assets/agreement.html-C1PLMRdM.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,e as r}from"./app-CM8cxaVt.js";const a={},i=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,p){return t(),o("div",null,n)}const s=e(a,[["render",c],["__file","agreement.html.vue"]]),d=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{s as comp,d as data}; +import{_ as e,o as t,c as o,e as r}from"./app-Dor1UG7c.js";const a={},i=r("
  1. 本项目遵循MIT协议,你可以自由使用,修改,分发,但是请保留原作者信息
  2. 你可以选择开启auto_report(默认开启),轻雪会收集以下内容
  3. 本项目不会收集用户的任何隐私信息,但请注意甄别第三方插件的安全性
  4. 使用此项目代表你已经同意以上协议
",1),n=[i];function c(l,p){return t(),o("div",null,n)}const s=e(a,[["render",c],["__file","agreement.html.vue"]]),d=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{s as comp,d as data}; diff --git a/assets/app-CM8cxaVt.js b/assets/app-Dor1UG7c.js similarity index 99% rename from assets/app-CM8cxaVt.js rename to assets/app-Dor1UG7c.js index 7459deff..dcedfeff 100644 --- a/assets/app-CM8cxaVt.js +++ b/assets/app-Dor1UG7c.js @@ -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 Uk="http://www.w3.org/2000/svg",qk="http://www.w3.org/1998/Math/MathML",Gl=typeof document<"u"?document:null,Xg=Gl&&Gl.createElement("template"),Gk={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const l=t==="svg"?Gl.createElementNS(Uk,e):t==="mathml"?Gl.createElementNS(qk,e):Gl.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&l.setAttribute("multiple",o.multiple),l},createText:e=>Gl.createTextNode(e),createComment:e=>Gl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,l,a){const r=n?n.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===a||!(l=l.nextSibling)););else{Xg.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=Xg.content;if(o==="svg"||o==="mathml"){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Dl="transition",Ls="animation",es=Symbol("_vtc"),Kt=(e,{slots:t})=>P(ok,U2(e),t);Kt.displayName="Transition";const W2={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},Yk=Kt.props=cn({},S2,W2),Sa=(e,t=[])=>{Re(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zg=e=>e?Re(e)?e.some(t=>t.length>1):e.length>1:!1;function U2(e){const t={};for(const D in e)D in W2||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:o,duration:l,enterFromClass:a=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=a,appearActiveClass:c=r,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Xk(l),v=h&&h[0],y=h&&h[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:b,onLeave:C,onLeaveCancelled:_,onBeforeAppear:k=g,onAppear:$=w,onAppearCancelled:T=b}=t,R=(D,W,j)=>{Hl(D,W?d:s),Hl(D,W?c:r),j&&j()},I=(D,W)=>{D._isLeaving=!1,Hl(D,f),Hl(D,m),Hl(D,p),W&&W()},M=D=>(W,j)=>{const H=D?$:w,L=()=>R(W,D,j);Sa(H,[W,L]),Jg(()=>{Hl(W,D?i:a),fl(W,D?d:s),Zg(H)||Qg(W,o,v,L)})};return cn(t,{onBeforeEnter(D){Sa(g,[D]),fl(D,a),fl(D,r)},onBeforeAppear(D){Sa(k,[D]),fl(D,i),fl(D,c)},onEnter:M(!1),onAppear:M(!0),onLeave(D,W){D._isLeaving=!0;const j=()=>I(D,W);fl(D,f),G2(),fl(D,p),Jg(()=>{D._isLeaving&&(Hl(D,f),fl(D,m),Zg(C)||Qg(D,o,y,j))}),Sa(C,[D,j])},onEnterCancelled(D){R(D,!1),Sa(b,[D])},onAppearCancelled(D){R(D,!0),Sa(T,[D])},onLeaveCancelled(D){I(D),Sa(_,[D])}})}function Xk(e){if(e==null)return null;if(rt(e))return[Tf(e.enter),Tf(e.leave)];{const t=Tf(e);return[t,t]}}function Tf(e){return r5(e)}function fl(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[es]||(e[es]=new Set)).add(t)}function Hl(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[es];n&&(n.delete(t),n.size||(e[es]=void 0))}function Jg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zk=0;function Qg(e,t,n,o){const l=e._endId=++Zk,a=()=>{l===e._endId&&o()};if(n)return setTimeout(a,n);const{type:r,timeout:s,propCount:i}=q2(e,t);if(!r)return o();const c=r+"end";let d=0;const f=()=>{e.removeEventListener(c,p),a()},p=m=>{m.target===e&&++d>=i&&f()};setTimeout(()=>{d(n[h]||"").split(", "),l=o(`${Dl}Delay`),a=o(`${Dl}Duration`),r=e0(l,a),s=o(`${Ls}Delay`),i=o(`${Ls}Duration`),c=e0(s,i);let d=null,f=0,p=0;t===Dl?r>0&&(d=Dl,f=r,p=a.length):t===Ls?c>0&&(d=Ls,f=c,p=i.length):(f=Math.max(r,c),d=f>0?r>c?Dl:Ls:null,p=d?d===Dl?a.length:i.length:0);const m=d===Dl&&/\b(transform|all)(,|$)/.test(o(`${Dl}Property`).toString());return{type:d,timeout:f,propCount:p,hasTransform:m}}function e0(e,t){for(;e.lengtht0(n)+t0(e[o])))}function t0(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function G2(){return document.body.offsetHeight}function Jk(e,t,n){const o=e[es];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yc=Symbol("_vod"),Y2=Symbol("_vsh"),St={beforeMount(e,{value:t},{transition:n}){e[Yc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,()=>{Ds(e,!1)}):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e[Yc]:"none",e[Y2]=!t}const Qk=Symbol(""),e_=/(^|;)\s*display\s*:/;function t_(e,t,n){const o=e.style,l=Qe(n);let a=!1;if(n&&!l){if(t)if(Qe(t))for(const r of t.split(";")){const s=r.slice(0,r.indexOf(":")).trim();n[s]==null&&vc(o,s,"")}else for(const r in t)n[r]==null&&vc(o,r,"");for(const r in n)r==="display"&&(a=!0),vc(o,r,n[r])}else if(l){if(t!==n){const r=o[Qk];r&&(n+=";"+r),o.cssText=n,a=e_.test(n)}}else t&&e.removeAttribute("style");Yc in e&&(e[Yc]=a?o.display:"",e[Y2]&&(o.display="none"))}const n0=/\s*!important$/;function vc(e,t,n){if(Re(n))n.forEach(o=>vc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=n_(e,t);n0.test(n)?e.setProperty(va(o),n.replace(n0,""),"important"):e[o]=n}}const o0=["Webkit","Moz","ms"],Of={};function n_(e,t){const n=Of[t];if(n)return n;let o=eo(t);if(o!=="filter"&&o in e)return Of[t]=o;o=Ss(o);for(let l=0;lIf||(i_.then(()=>If=0),If=Date.now());function c_(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;yo(d_(o,n.value),t,5,[o])};return n.value=e,n.attached=u_(),n}function d_(e,t){if(Re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>l=>!l._stopped&&o&&o(l))}else return t}const s0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,f_=(e,t,n,o,l,a,r,s,i)=>{const c=l==="svg";t==="class"?Jk(e,o,c):t==="style"?t_(e,n,o):Xi(t)?nh(t)||r_(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):p_(e,t,o,c))?l_(e,t,o,a,r,s,i):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),o_(e,t,o,c))};function p_(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&s0(t)&&Ye(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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return s0(t)&&Qe(n)?!1:t in e}const X2=new WeakMap,Z2=new WeakMap,Xc=Symbol("_moveCb"),i0=Symbol("_enterCb"),J2={name:"TransitionGroup",props:cn({},Yk,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=nt(),o=C2();let l,a;return Il(()=>{if(!l.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!y_(l[0].el,n.vnode.el,r))return;l.forEach(h_),l.forEach(m_);const s=l.filter(g_);G2(),s.forEach(i=>{const c=i.el,d=c.style;fl(c,r),d.transform=d.webkitTransform=d.transitionDuration="";const f=c[Xc]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",f),c[Xc]=null,Hl(c,r))};c.addEventListener("transitionend",f)})}),()=>{const r=Tt(e),s=U2(r);let i=r.tag||ze;l=a,a=t.default?wh(t.default()):[];for(let c=0;cdelete e.mode;J2.props;const Eh=J2;function h_(e){const t=e.el;t[Xc]&&t[Xc](),t[i0]&&t[i0]()}function m_(e){Z2.set(e,e.el.getBoundingClientRect())}function g_(e){const t=X2.get(e),n=Z2.get(e),o=t.left-n.left,l=t.top-n.top;if(o||l){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${o}px,${l}px)`,a.transitionDuration="0s",e}}function y_(e,t,n){const o=e.cloneNode(),l=e[es];l&&l.forEach(s=>{s.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(o);const{hasTransform:r}=q2(o);return a.removeChild(o),r}const ts=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Re(t)?n=>fc(t,n):t};function b_(e){e.target.composing=!0}function u0(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wl=Symbol("_assign"),$h={created(e,{modifiers:{lazy:t,trim:n,number:o}},l){e[wl]=ts(l);const a=o||l.props&&l.props.type==="number";Xl(e,t?"change":"input",r=>{if(r.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=wp(s)),e[wl](s)}),n&&Xl(e,"change",()=>{e.value=e.value.trim()}),t||(Xl(e,"compositionstart",b_),Xl(e,"compositionend",u0),Xl(e,"change",u0))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:l}},a){if(e[wl]=ts(a),e.composing)return;const r=l||e.type==="number"?wp(e.value):e.value,s=t??"";r!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},Zc={deep:!0,created(e,t,n){e[wl]=ts(n),Xl(e,"change",()=>{const o=e._modelValue,l=ew(e),a=e.checked,r=e[wl];if(Re(o)){const s=Gb(o,l),i=s!==-1;if(a&&!i)r(o.concat(l));else if(!a&&i){const c=[...o];c.splice(s,1),r(c)}}else if(bd(o)){const s=new Set(o);a?s.add(l):s.delete(l),r(s)}else r(tw(e,a))})},mounted:c0,beforeUpdate(e,t,n){e[wl]=ts(n),c0(e,t,n)}};function c0(e,{value:t,oldValue:n},o){e._modelValue=t,Re(t)?e.checked=Gb(t,o.props.value)>-1:bd(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Zr(t,tw(e,!0)))}const Q2={created(e,{value:t},n){e.checked=Zr(t,n.props.value),e[wl]=ts(n),Xl(e,"change",()=>{e[wl](ew(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[wl]=ts(o),t!==n&&(e.checked=Zr(t,o.props.value))}};function ew(e){return"_value"in e?e._value:e.value}function tw(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const w_=["ctrl","shift","alt","meta"],C_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>w_.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(l,...a)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=l=>{if(!("key"in l))return;const a=va(l.key);if(t.some(r=>r===a||S_[r]===a))return e(l)})},nw=cn({patchProp:f_},Gk);let oi,d0=!1;function ow(){return oi||(oi=Ok(nw))}function k_(){return oi=d0?oi:Ik(nw),d0=!0,oi}const sa=(...e)=>{ow().render(...e)},__=(...e)=>{const t=ow().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(!l)return;const a=t._component;!Ye(a)&&!a.render&&!a.template&&(a.template=l.innerHTML),l.innerHTML="";const r=n(l,!1,lw(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t},E_=(...e)=>{const t=k_().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(l)return n(l,!0,lw(l))},t};function lw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aw(e){return Qe(e)?document.querySelector(e):e}var $_=["link","meta","script","style","noscript","template"],T_=["title","base"],O_=([e,t,n])=>T_.includes(e)?e:$_.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([o,l])=>typeof l=="boolean"?l?[o,""]:null:[o,l]).filter(o=>o!=null).sort(([o],[l])=>o.localeCompare(l)),n]):null,I_=e=>{const t=new Set,n=[];return e.forEach(o=>{const l=O_(o);l&&!t.has(l)&&(t.add(l),n.push(o))}),n},M_=e=>e[0]==="/"?e:`/${e}`,rw=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sr=e=>/^(https?:)?\/\//.test(e),x_=/.md((\?|#).*)?$/,ns=(e,t="/")=>!!(sr(e)||e.startsWith("/")&&!e.startsWith(t)&&!x_.test(e)),sw=e=>/^[a-z][a-z0-9+.-]*:/.test(e),_s=e=>Object.prototype.toString.call(e)==="[object Object]",N_=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let o=t.replace(/(^|\/)README.md$/i,"$1index.html");return o.endsWith(".md")?o=o.substring(0,o.length-3)+".html":o.endsWith(".html")||(o=o+".html"),o.endsWith("/index.html")&&(o=o.substring(0,o.length-10)),o+n.join("")},Th=e=>e[e.length-1]==="/"?e.slice(0,-1):e,iw=e=>e[0]==="/"?e.slice(1):e,A_=(e,t)=>{const n=Object.keys(e).sort((o,l)=>{const a=l.split("/").length-o.split("/").length;return a!==0?a:l.length-o.length});for(const o of n)if(t.startsWith(o))return o;return"/"},rn=e=>typeof e=="string";const P_="modulepreload",R_=function(e){return"/"+e},f0={},Cn=function(t,n,o){let l=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),s=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));l=Promise.all(n.map(i=>{if(i=R_(i),i in f0)return;f0[i]=!0;const c=i.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(!!o)for(let m=a.length-1;m>=0;m--){const h=a[m];if(h.href===i&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${d}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":P_,c||(p.as="script",p.crossOrigin=""),p.href=i,s&&p.setAttribute("nonce",s),document.head.appendChild(p),c)return new Promise((m,h)=>{p.addEventListener("load",m),p.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})}))}return l.then(()=>t()).catch(a=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a})},L_=JSON.parse("{}"),D_=Object.fromEntries([["/",{loader:()=>Cn(()=>import("./index.html-DRD6Q-Np.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Cn(()=>import("./foolsday.html-CPFeuODw.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Cn(()=>import("./index.html-DkwDBp22.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Cn(()=>import("./config.html-Bk4ffrXE.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Cn(()=>import("./fandq.html-CBmHXKBm.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Cn(()=>import("./install.html-Cn0i5lTU.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>Cn(()=>import("./index.html-BZU546BW.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/store/plugin.html",{loader:()=>Cn(()=>import("./plugin.html-BfiwTqrq.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>Cn(()=>import("./resource.html-BX6mi38o.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>Cn(()=>import("./index.html-ImvBqXs7.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Cn(()=>import("./agreement.html-DbYfTgn9.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Cn(()=>import("./basic_command.html-BFSYzyOU.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Cn(()=>import("./extra_command.html-B3DWwYmi.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/lyapi.html",{loader:()=>Cn(()=>import("./lyapi.html-zH_XjkC-.js"),__vite__mapDeps([])),meta:{t:"轻雪API",i:"code",O:4}}],["/usage/resource_pack.html",{loader:()=>Cn(()=>import("./resource_pack.html-Cnasu6k6.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>Cn(()=>import("./404.html-DsZedH7f.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! +**/const Uk="http://www.w3.org/2000/svg",qk="http://www.w3.org/1998/Math/MathML",Gl=typeof document<"u"?document:null,Xg=Gl&&Gl.createElement("template"),Gk={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const l=t==="svg"?Gl.createElementNS(Uk,e):t==="mathml"?Gl.createElementNS(qk,e):Gl.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&l.setAttribute("multiple",o.multiple),l},createText:e=>Gl.createTextNode(e),createComment:e=>Gl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Gl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,l,a){const r=n?n.previousSibling:t.lastChild;if(l&&(l===a||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===a||!(l=l.nextSibling)););else{Xg.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=Xg.content;if(o==="svg"||o==="mathml"){const i=s.firstChild;for(;i.firstChild;)s.appendChild(i.firstChild);s.removeChild(i)}t.insertBefore(s,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Dl="transition",Ls="animation",es=Symbol("_vtc"),Kt=(e,{slots:t})=>P(ok,U2(e),t);Kt.displayName="Transition";const W2={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},Yk=Kt.props=cn({},S2,W2),Sa=(e,t=[])=>{Re(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zg=e=>e?Re(e)?e.some(t=>t.length>1):e.length>1:!1;function U2(e){const t={};for(const D in e)D in W2||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:o,duration:l,enterFromClass:a=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:i=a,appearActiveClass:c=r,appearToClass:d=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,h=Xk(l),v=h&&h[0],y=h&&h[1],{onBeforeEnter:g,onEnter:w,onEnterCancelled:b,onLeave:C,onLeaveCancelled:_,onBeforeAppear:k=g,onAppear:$=w,onAppearCancelled:T=b}=t,R=(D,W,j)=>{Hl(D,W?d:s),Hl(D,W?c:r),j&&j()},I=(D,W)=>{D._isLeaving=!1,Hl(D,f),Hl(D,m),Hl(D,p),W&&W()},M=D=>(W,j)=>{const H=D?$:w,L=()=>R(W,D,j);Sa(H,[W,L]),Jg(()=>{Hl(W,D?i:a),fl(W,D?d:s),Zg(H)||Qg(W,o,v,L)})};return cn(t,{onBeforeEnter(D){Sa(g,[D]),fl(D,a),fl(D,r)},onBeforeAppear(D){Sa(k,[D]),fl(D,i),fl(D,c)},onEnter:M(!1),onAppear:M(!0),onLeave(D,W){D._isLeaving=!0;const j=()=>I(D,W);fl(D,f),G2(),fl(D,p),Jg(()=>{D._isLeaving&&(Hl(D,f),fl(D,m),Zg(C)||Qg(D,o,y,j))}),Sa(C,[D,j])},onEnterCancelled(D){R(D,!1),Sa(b,[D])},onAppearCancelled(D){R(D,!0),Sa(T,[D])},onLeaveCancelled(D){I(D),Sa(_,[D])}})}function Xk(e){if(e==null)return null;if(rt(e))return[Tf(e.enter),Tf(e.leave)];{const t=Tf(e);return[t,t]}}function Tf(e){return r5(e)}function fl(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[es]||(e[es]=new Set)).add(t)}function Hl(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[es];n&&(n.delete(t),n.size||(e[es]=void 0))}function Jg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zk=0;function Qg(e,t,n,o){const l=e._endId=++Zk,a=()=>{l===e._endId&&o()};if(n)return setTimeout(a,n);const{type:r,timeout:s,propCount:i}=q2(e,t);if(!r)return o();const c=r+"end";let d=0;const f=()=>{e.removeEventListener(c,p),a()},p=m=>{m.target===e&&++d>=i&&f()};setTimeout(()=>{d(n[h]||"").split(", "),l=o(`${Dl}Delay`),a=o(`${Dl}Duration`),r=e0(l,a),s=o(`${Ls}Delay`),i=o(`${Ls}Duration`),c=e0(s,i);let d=null,f=0,p=0;t===Dl?r>0&&(d=Dl,f=r,p=a.length):t===Ls?c>0&&(d=Ls,f=c,p=i.length):(f=Math.max(r,c),d=f>0?r>c?Dl:Ls:null,p=d?d===Dl?a.length:i.length:0);const m=d===Dl&&/\b(transform|all)(,|$)/.test(o(`${Dl}Property`).toString());return{type:d,timeout:f,propCount:p,hasTransform:m}}function e0(e,t){for(;e.lengtht0(n)+t0(e[o])))}function t0(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function G2(){return document.body.offsetHeight}function Jk(e,t,n){const o=e[es];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yc=Symbol("_vod"),Y2=Symbol("_vsh"),St={beforeMount(e,{value:t},{transition:n}){e[Yc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ds(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ds(e,!0),o.enter(e)):o.leave(e,()=>{Ds(e,!1)}):Ds(e,t))},beforeUnmount(e,{value:t}){Ds(e,t)}};function Ds(e,t){e.style.display=t?e[Yc]:"none",e[Y2]=!t}const Qk=Symbol(""),e_=/(^|;)\s*display\s*:/;function t_(e,t,n){const o=e.style,l=Qe(n);let a=!1;if(n&&!l){if(t)if(Qe(t))for(const r of t.split(";")){const s=r.slice(0,r.indexOf(":")).trim();n[s]==null&&vc(o,s,"")}else for(const r in t)n[r]==null&&vc(o,r,"");for(const r in n)r==="display"&&(a=!0),vc(o,r,n[r])}else if(l){if(t!==n){const r=o[Qk];r&&(n+=";"+r),o.cssText=n,a=e_.test(n)}}else t&&e.removeAttribute("style");Yc in e&&(e[Yc]=a?o.display:"",e[Y2]&&(o.display="none"))}const n0=/\s*!important$/;function vc(e,t,n){if(Re(n))n.forEach(o=>vc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=n_(e,t);n0.test(n)?e.setProperty(va(o),n.replace(n0,""),"important"):e[o]=n}}const o0=["Webkit","Moz","ms"],Of={};function n_(e,t){const n=Of[t];if(n)return n;let o=eo(t);if(o!=="filter"&&o in e)return Of[t]=o;o=Ss(o);for(let l=0;lIf||(i_.then(()=>If=0),If=Date.now());function c_(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;yo(d_(o,n.value),t,5,[o])};return n.value=e,n.attached=u_(),n}function d_(e,t){if(Re(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>l=>!l._stopped&&o&&o(l))}else return t}const s0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,f_=(e,t,n,o,l,a,r,s,i)=>{const c=l==="svg";t==="class"?Jk(e,o,c):t==="style"?t_(e,n,o):Xi(t)?nh(t)||r_(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):p_(e,t,o,c))?l_(e,t,o,a,r,s,i):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),o_(e,t,o,c))};function p_(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&s0(t)&&Ye(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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return s0(t)&&Qe(n)?!1:t in e}const X2=new WeakMap,Z2=new WeakMap,Xc=Symbol("_moveCb"),i0=Symbol("_enterCb"),J2={name:"TransitionGroup",props:cn({},Yk,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=nt(),o=C2();let l,a;return Il(()=>{if(!l.length)return;const r=e.moveClass||`${e.name||"v"}-move`;if(!y_(l[0].el,n.vnode.el,r))return;l.forEach(h_),l.forEach(m_);const s=l.filter(g_);G2(),s.forEach(i=>{const c=i.el,d=c.style;fl(c,r),d.transform=d.webkitTransform=d.transitionDuration="";const f=c[Xc]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",f),c[Xc]=null,Hl(c,r))};c.addEventListener("transitionend",f)})}),()=>{const r=Tt(e),s=U2(r);let i=r.tag||ze;l=a,a=t.default?wh(t.default()):[];for(let c=0;cdelete e.mode;J2.props;const Eh=J2;function h_(e){const t=e.el;t[Xc]&&t[Xc](),t[i0]&&t[i0]()}function m_(e){Z2.set(e,e.el.getBoundingClientRect())}function g_(e){const t=X2.get(e),n=Z2.get(e),o=t.left-n.left,l=t.top-n.top;if(o||l){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${o}px,${l}px)`,a.transitionDuration="0s",e}}function y_(e,t,n){const o=e.cloneNode(),l=e[es];l&&l.forEach(s=>{s.split(/\s+/).forEach(i=>i&&o.classList.remove(i))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(o);const{hasTransform:r}=q2(o);return a.removeChild(o),r}const ts=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Re(t)?n=>fc(t,n):t};function b_(e){e.target.composing=!0}function u0(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wl=Symbol("_assign"),$h={created(e,{modifiers:{lazy:t,trim:n,number:o}},l){e[wl]=ts(l);const a=o||l.props&&l.props.type==="number";Xl(e,t?"change":"input",r=>{if(r.target.composing)return;let s=e.value;n&&(s=s.trim()),a&&(s=wp(s)),e[wl](s)}),n&&Xl(e,"change",()=>{e.value=e.value.trim()}),t||(Xl(e,"compositionstart",b_),Xl(e,"compositionend",u0),Xl(e,"change",u0))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:l}},a){if(e[wl]=ts(a),e.composing)return;const r=l||e.type==="number"?wp(e.value):e.value,s=t??"";r!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},Zc={deep:!0,created(e,t,n){e[wl]=ts(n),Xl(e,"change",()=>{const o=e._modelValue,l=ew(e),a=e.checked,r=e[wl];if(Re(o)){const s=Gb(o,l),i=s!==-1;if(a&&!i)r(o.concat(l));else if(!a&&i){const c=[...o];c.splice(s,1),r(c)}}else if(bd(o)){const s=new Set(o);a?s.add(l):s.delete(l),r(s)}else r(tw(e,a))})},mounted:c0,beforeUpdate(e,t,n){e[wl]=ts(n),c0(e,t,n)}};function c0(e,{value:t,oldValue:n},o){e._modelValue=t,Re(t)?e.checked=Gb(t,o.props.value)>-1:bd(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Zr(t,tw(e,!0)))}const Q2={created(e,{value:t},n){e.checked=Zr(t,n.props.value),e[wl]=ts(n),Xl(e,"change",()=>{e[wl](ew(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[wl]=ts(o),t!==n&&(e.checked=Zr(t,o.props.value))}};function ew(e){return"_value"in e?e._value:e.value}function tw(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const w_=["ctrl","shift","alt","meta"],C_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>w_.some(n=>e[`${n}Key`]&&!t.includes(n))},Ze=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(l,...a)=>{for(let r=0;r{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=l=>{if(!("key"in l))return;const a=va(l.key);if(t.some(r=>r===a||S_[r]===a))return e(l)})},nw=cn({patchProp:f_},Gk);let oi,d0=!1;function ow(){return oi||(oi=Ok(nw))}function k_(){return oi=d0?oi:Ik(nw),d0=!0,oi}const sa=(...e)=>{ow().render(...e)},__=(...e)=>{const t=ow().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(!l)return;const a=t._component;!Ye(a)&&!a.render&&!a.template&&(a.template=l.innerHTML),l.innerHTML="";const r=n(l,!1,lw(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t},E_=(...e)=>{const t=k_().createApp(...e),{mount:n}=t;return t.mount=o=>{const l=aw(o);if(l)return n(l,!0,lw(l))},t};function lw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function aw(e){return Qe(e)?document.querySelector(e):e}var $_=["link","meta","script","style","noscript","template"],T_=["title","base"],O_=([e,t,n])=>T_.includes(e)?e:$_.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([o,l])=>typeof l=="boolean"?l?[o,""]:null:[o,l]).filter(o=>o!=null).sort(([o],[l])=>o.localeCompare(l)),n]):null,I_=e=>{const t=new Set,n=[];return e.forEach(o=>{const l=O_(o);l&&!t.has(l)&&(t.add(l),n.push(o))}),n},M_=e=>e[0]==="/"?e:`/${e}`,rw=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sr=e=>/^(https?:)?\/\//.test(e),x_=/.md((\?|#).*)?$/,ns=(e,t="/")=>!!(sr(e)||e.startsWith("/")&&!e.startsWith(t)&&!x_.test(e)),sw=e=>/^[a-z][a-z0-9+.-]*:/.test(e),_s=e=>Object.prototype.toString.call(e)==="[object Object]",N_=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let o=t.replace(/(^|\/)README.md$/i,"$1index.html");return o.endsWith(".md")?o=o.substring(0,o.length-3)+".html":o.endsWith(".html")||(o=o+".html"),o.endsWith("/index.html")&&(o=o.substring(0,o.length-10)),o+n.join("")},Th=e=>e[e.length-1]==="/"?e.slice(0,-1):e,iw=e=>e[0]==="/"?e.slice(1):e,A_=(e,t)=>{const n=Object.keys(e).sort((o,l)=>{const a=l.split("/").length-o.split("/").length;return a!==0?a:l.length-o.length});for(const o of n)if(t.startsWith(o))return o;return"/"},rn=e=>typeof e=="string";const P_="modulepreload",R_=function(e){return"/"+e},f0={},Cn=function(t,n,o){let l=Promise.resolve();if(n&&n.length>0){const a=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),s=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));l=Promise.all(n.map(i=>{if(i=R_(i),i in f0)return;f0[i]=!0;const c=i.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(!!o)for(let m=a.length-1;m>=0;m--){const h=a[m];if(h.href===i&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${d}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":P_,c||(p.as="script",p.crossOrigin=""),p.href=i,s&&p.setAttribute("nonce",s),document.head.appendChild(p),c)return new Promise((m,h)=>{p.addEventListener("load",m),p.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})}))}return l.then(()=>t()).catch(a=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=a,window.dispatchEvent(r),!r.defaultPrevented)throw a})},L_=JSON.parse("{}"),D_=Object.fromEntries([["/",{loader:()=>Cn(()=>import("./index.html-Bx8lv3Rr.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/foolsday.html",{loader:()=>Cn(()=>import("./foolsday.html-C9jQW0rb.js"),__vite__mapDeps([])),meta:{t:"首页",i:"home"}}],["/deployment/",{loader:()=>Cn(()=>import("./index.html-D-JRdhIE.js"),__vite__mapDeps([])),meta:{t:"项目部署",i:"laptop-code"}}],["/deployment/config.html",{loader:()=>Cn(()=>import("./config.html-4vCoR--K.js"),__vite__mapDeps([])),meta:{t:"配置",i:"cog",O:2}}],["/deployment/fandq.html",{loader:()=>Cn(()=>import("./fandq.html-ht6j8NUh.js"),__vite__mapDeps([])),meta:{t:"答疑",i:"question",O:3}}],["/deployment/install.html",{loader:()=>Cn(()=>import("./install.html-BdcuCTmk.js"),__vite__mapDeps([])),meta:{t:"安装",i:"download",O:1}}],["/store/",{loader:()=>Cn(()=>import("./index.html-8Y9JEaPU.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"store"}}],["/store/plugin.html",{loader:()=>Cn(()=>import("./plugin.html-BzdnDX12.js"),__vite__mapDeps([])),meta:{t:"插件商店",i:"plug",O:2}}],["/store/resource.html",{loader:()=>Cn(()=>import("./resource.html-xoWBW9lI.js"),__vite__mapDeps([])),meta:{t:"资源商店",i:"box",O:1}}],["/usage/",{loader:()=>Cn(()=>import("./index.html-B9oKd56v.js"),__vite__mapDeps([])),meta:{t:"使用手册",i:"laptop-code"}}],["/usage/agreement.html",{loader:()=>Cn(()=>import("./agreement.html-C1PLMRdM.js"),__vite__mapDeps([])),meta:{t:"用户协议",i:"user-secret",O:3}}],["/usage/basic_command.html",{loader:()=>Cn(()=>import("./basic_command.html-D57_hwWQ.js"),__vite__mapDeps([])),meta:{t:"基础命令",i:"comment",O:1}}],["/usage/extra_command.html",{loader:()=>Cn(()=>import("./extra_command.html-Dat4T-7m.js"),__vite__mapDeps([])),meta:{t:"功能命令",i:"comment",O:2}}],["/usage/lyapi.html",{loader:()=>Cn(()=>import("./lyapi.html-BBqHSiwl.js"),__vite__mapDeps([])),meta:{t:"轻雪API",i:"code",O:4}}],["/usage/resource_pack.html",{loader:()=>Cn(()=>import("./resource_pack.html-CJyKyj07.js"),__vite__mapDeps([])),meta:{t:"资源包",i:"paint-brush",O:3}}],["/404.html",{loader:()=>Cn(()=>import("./404.html-LhTV6966.js"),__vite__mapDeps([])),meta:{t:""}}]]);/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Er=typeof document<"u";function B_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Bt=Object.assign;function Mf(e,t){const n={};for(const o in t){const l=t[o];n[o]=Do(l)?l.map(e):e(l)}return n}const li=()=>{},Do=Array.isArray,uw=/#/g,F_=/&/g,V_=/\//g,H_=/=/g,z_=/\?/g,cw=/\+/g,K_=/%5B/g,j_=/%5D/g,dw=/%5E/g,W_=/%60/g,fw=/%7B/g,U_=/%7C/g,pw=/%7D/g,q_=/%20/g;function Oh(e){return encodeURI(""+e).replace(U_,"|").replace(K_,"[").replace(j_,"]")}function G_(e){return Oh(e).replace(fw,"{").replace(pw,"}").replace(dw,"^")}function xp(e){return Oh(e).replace(cw,"%2B").replace(q_,"+").replace(uw,"%23").replace(F_,"%26").replace(W_,"`").replace(fw,"{").replace(pw,"}").replace(dw,"^")}function Y_(e){return xp(e).replace(H_,"%3D")}function X_(e){return Oh(e).replace(uw,"%23").replace(z_,"%3F")}function Z_(e){return e==null?"":X_(e).replace(V_,"%2F")}function Si(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const J_=/\/$/,Q_=e=>e.replace(J_,"");function xf(e,t,n="/"){let o,l={},a="",r="";const s=t.indexOf("#");let i=t.indexOf("?");return s=0&&(i=-1),i>-1&&(o=t.slice(0,i),a=t.slice(i+1,s>-1?s:t.length),l=e(a)),s>-1&&(o=o||t.slice(0,s),r=t.slice(s,t.length)),o=oE(o??t,n),{fullPath:o+(a&&"?")+a+r,path:o,query:l,hash:Si(r)}}function eE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function p0(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function tE(e,t,n){const o=t.matched.length-1,l=n.matched.length-1;return o>-1&&o===l&&os(t.matched[o],n.matched[l])&&vw(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vw(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!nE(e[n],t[n]))return!1;return!0}function nE(e,t){return Do(e)?v0(e,t):Do(t)?v0(t,e):e===t}function v0(e,t){return Do(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function oE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),l=o[o.length-1];(l===".."||l===".")&&o.push("");let a=n.length-1,r,s;for(r=0;r1&&a--;else break;return n.slice(0,a).join("/")+"/"+o.slice(r).join("/")}var ki;(function(e){e.pop="pop",e.push="push"})(ki||(ki={}));var ai;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ai||(ai={}));function lE(e){if(!e)if(Er){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Q_(e)}const aE=/^[^#]+#/;function rE(e,t){return e.replace(aE,"#")+t}function sE(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Ad=()=>({left:window.scrollX,top:window.scrollY});function iE(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),l=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!l)return;t=sE(l,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 h0(e,t){return(history.state?history.state.position-t:-1)+e}const Np=new Map;function uE(e,t){Np.set(e,t)}function cE(e){const t=Np.get(e);return Np.delete(e),t}let dE=()=>location.protocol+"//"+location.host;function hw(e,t){const{pathname:n,search:o,hash:l}=t,a=e.indexOf("#");if(a>-1){let s=l.includes(e.slice(a))?e.slice(a).length:1,i=l.slice(s);return i[0]!=="/"&&(i="/"+i),p0(i,"")}return p0(n,e)+o+l}function fE(e,t,n,o){let l=[],a=[],r=null;const s=({state:p})=>{const m=hw(e,location),h=n.value,v=t.value;let y=0;if(p){if(n.value=m,t.value=p,r&&r===h){r=null;return}y=v?p.position-v.position:0}else o(m);l.forEach(g=>{g(n.value,h,{delta:y,type:ki.pop,direction:y?y>0?ai.forward:ai.back:ai.unknown})})};function i(){r=n.value}function c(p){l.push(p);const m=()=>{const h=l.indexOf(p);h>-1&&l.splice(h,1)};return a.push(m),m}function d(){const{history:p}=window;p.state&&p.replaceState(Bt({},p.state,{scroll:Ad()}),"")}function f(){for(const p of a)p();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:i,listen:c,destroy:f}}function m0(e,t,n,o=!1,l=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:l?Ad():null}}function pE(e){const{history:t,location:n}=window,o={value:hw(e,n)},l={value:t.state};l.value||a(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(i,c,d){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+i:dE()+e+i;try{t[d?"replaceState":"pushState"](c,"",p),l.value=c}catch(m){console.error(m),n[d?"replace":"assign"](p)}}function r(i,c){const d=Bt({},t.state,m0(l.value.back,i,l.value.forward,!0),c,{position:l.value.position});a(i,d,!0),o.value=i}function s(i,c){const d=Bt({},l.value,t.state,{forward:i,scroll:Ad()});a(d.current,d,!0);const f=Bt({},m0(o.value,i,null),{position:d.position+1},c);a(i,f,!1),o.value=i}return{location:o,state:l,push:s,replace:r}}function vE(e){e=lE(e);const t=pE(e),n=fE(e,t.state,t.location,t.replace);function o(a,r=!0){r||n.pauseListeners(),history.go(a)}const l=Bt({location:"",base:e,go:o,createHref:rE.bind(null,e)},t,n);return Object.defineProperty(l,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(l,"state",{enumerable:!0,get:()=>t.state.value}),l}function hE(e){return typeof e=="string"||e&&typeof e=="object"}function mw(e){return typeof e=="string"||typeof e=="symbol"}const pl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},gw=Symbol("");var g0;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(g0||(g0={}));function ls(e,t){return Bt(new Error,{type:e,[gw]:!0},t)}function cl(e,t){return e instanceof Error&&gw in e&&(t==null||!!(e.type&t))}const y0="[^/]+?",mE={sensitive:!1,strict:!1,start:!0,end:!0},gE=/[.+*?^${}()[\]/\\]/g;function yE(e,t){const n=Bt({},mE,t),o=[];let l=n.start?"^":"";const a=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(l+="/");for(let f=0;ft.length?t.length===1&&t[0]===80?1:-1:0}function wE(e,t){let n=0;const o=e.score,l=t.score;for(;n0&&t[t.length-1]<0}const CE={type:0,value:""},SE=/[a-zA-Z0-9_]/;function kE(e){if(!e)return[[]];if(e==="/")return[[CE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,o=n;const l=[];let a;function r(){a&&l.push(a),a=[]}let s=0,i,c="",d="";function f(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:d,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;s{r(w)}:li}function r(d){if(mw(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(r),f.alias.forEach(r))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(r),d.alias.forEach(r))}}function s(){return n}function i(d){let f=0;for(;f=0&&(d.record.path!==n[f].record.path||!yw(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!C0(d)&&o.set(d.record.name,d)}function c(d,f){let p,m={},h,v;if("name"in d&&d.name){if(p=o.get(d.name),!p)throw ls(1,{location:d});v=p.record.name,m=Bt(w0(f.params,p.keys.filter(w=>!w.optional).concat(p.parent?p.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),d.params&&w0(d.params,p.keys.map(w=>w.name))),h=p.stringify(m)}else if(d.path!=null)h=d.path,p=n.find(w=>w.re.test(h)),p&&(m=p.parse(h),v=p.record.name);else{if(p=f.name?o.get(f.name):n.find(w=>w.re.test(f.path)),!p)throw ls(1,{location:d,currentLocation:f});v=p.record.name,m=Bt({},f.params,d.params),h=p.stringify(m)}const y=[];let g=p;for(;g;)y.unshift(g.record),g=g.parent;return{name:v,path:h,params:m,matched:y,meta:OE(y)}}return e.forEach(d=>a(d)),{addRoute:a,resolve:c,removeRoute:r,getRoutes:s,getRecordMatcher:l}}function w0(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function $E(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:TE(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 TE(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function C0(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function OE(e){return e.reduce((t,n)=>Bt(t,n.meta),{})}function S0(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function yw(e,t){return t.children.some(n=>n===e||yw(e,n))}function IE(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let l=0;la&&xp(a)):[o&&xp(o)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function ME(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Do(o)?o.map(l=>l==null?null:""+l):o==null?o:""+o)}return t}const xE=Symbol(""),_0=Symbol(""),Pd=Symbol(""),Ih=Symbol(""),Ap=Symbol("");function Bs(){let e=[];function t(o){return e.push(o),()=>{const l=e.indexOf(o);l>-1&&e.splice(l,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Yl(e,t,n,o,l,a=r=>r()){const r=o&&(o.enterCallbacks[l]=o.enterCallbacks[l]||[]);return()=>new Promise((s,i)=>{const c=p=>{p===!1?i(ls(4,{from:n,to:t})):p instanceof Error?i(p):hE(p)?i(ls(2,{from:t,to:p})):(r&&o.enterCallbacks[l]===r&&typeof p=="function"&&r.push(p),s())},d=a(()=>e.call(o&&o.instances[l],t,n,c));let f=Promise.resolve(d);e.length<3&&(f=f.then(c)),f.catch(p=>i(p))})}function Nf(e,t,n,o,l=a=>a()){const a=[];for(const r of e)for(const s in r.components){let i=r.components[s];if(!(t!=="beforeRouteEnter"&&!r.instances[s]))if(NE(i)){const d=(i.__vccOpts||i)[t];d&&a.push(Yl(d,n,o,r,s,l))}else{let c=i();a.push(()=>c.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${r.path}"`));const f=B_(d)?d.default:d;r.components[s]=f;const m=(f.__vccOpts||f)[t];return m&&Yl(m,n,o,r,s,l)()}))}}return a}function NE(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function E0(e){const t=Pe(Pd),n=Pe(Ih),o=S(()=>t.resolve(u(e.to))),l=S(()=>{const{matched:i}=o.value,{length:c}=i,d=i[c-1],f=n.matched;if(!d||!f.length)return-1;const p=f.findIndex(os.bind(null,d));if(p>-1)return p;const m=$0(i[c-2]);return c>1&&$0(d)===m&&f[f.length-1].path!==m?f.findIndex(os.bind(null,i[c-2])):p}),a=S(()=>l.value>-1&&LE(n.params,o.value.params)),r=S(()=>l.value>-1&&l.value===n.matched.length-1&&vw(n.params,o.value.params));function s(i={}){return RE(i)?t[u(e.replace)?"replace":"push"](u(e.to)).catch(li):Promise.resolve()}return{route:o,href:S(()=>o.value.href),isActive:a,isExactActive:r,navigate:s}}const AE=z({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:E0,setup(e,{slots:t}){const n=kt(E0(e)),{options:o}=Pe(Pd),l=S(()=>({[T0(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[T0(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:P("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:l.value},a)}}}),PE=AE;function RE(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 LE(e,t){for(const n in t){const o=t[n],l=e[n];if(typeof o=="string"){if(o!==l)return!1}else if(!Do(l)||l.length!==o.length||o.some((a,r)=>a!==l[r]))return!1}return!0}function $0(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const T0=(e,t,n)=>e??t??n,DE=z({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Pe(Ap),l=S(()=>e.route||o.value),a=Pe(_0,0),r=S(()=>{let c=u(a);const{matched:d}=l.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),s=S(()=>l.value.matched[r.value]);ct(_0,S(()=>r.value+1)),ct(xE,s),ct(Ap,l);const i=x();return fe(()=>[i.value,s.value,e.name],([c,d,f],[p,m,h])=>{d&&(d.instances[f]=c,m&&m!==d&&c&&c===p&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!os(d,m)||!p)&&(d.enterCallbacks[f]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=l.value,d=e.name,f=s.value,p=f&&f.components[d];if(!p)return O0(n.default,{Component:p,route:c});const m=f.props[d],h=m?m===!0?c.params:typeof m=="function"?m(c):m:null,y=P(p,Bt({},h,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(f.instances[d]=null)},ref:i}));return O0(n.default,{Component:y,route:c})||y}}});function O0(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const BE=DE;function FE(e){const t=EE(e.routes,e),n=e.parseQuery||IE,o=e.stringifyQuery||k0,l=e.history,a=Bs(),r=Bs(),s=Bs(),i=wt(pl);let c=pl;Er&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Mf.bind(null,U=>""+U),f=Mf.bind(null,Z_),p=Mf.bind(null,Si);function m(U,Q){let de,ae;return mw(U)?(de=t.getRecordMatcher(U),ae=Q):ae=U,t.addRoute(ae,de)}function h(U){const Q=t.getRecordMatcher(U);Q&&t.removeRoute(Q)}function v(){return t.getRoutes().map(U=>U.record)}function y(U){return!!t.getRecordMatcher(U)}function g(U,Q){if(Q=Bt({},Q||i.value),typeof U=="string"){const ee=xf(n,U,Q.path),ve=t.resolve({path:ee.path},Q),ke=l.createHref(ee.fullPath);return Bt(ee,ve,{params:p(ve.params),hash:Si(ee.hash),redirectedFrom:void 0,href:ke})}let de;if(U.path!=null)de=Bt({},U,{path:xf(n,U.path,Q.path).path});else{const ee=Bt({},U.params);for(const ve in ee)ee[ve]==null&&delete ee[ve];de=Bt({},U,{params:f(ee)}),Q.params=f(Q.params)}const ae=t.resolve(de,Q),he=U.hash||"";ae.params=d(p(ae.params));const _e=eE(o,Bt({},U,{hash:G_(he),path:ae.path})),G=l.createHref(_e);return Bt({fullPath:_e,hash:he,query:o===k0?ME(U.query):U.query||{}},ae,{redirectedFrom:void 0,href:G})}function w(U){return typeof U=="string"?xf(n,U,i.value.path):Bt({},U)}function b(U,Q){if(c!==U)return ls(8,{from:Q,to:U})}function C(U){return $(U)}function _(U){return C(Bt(w(U),{replace:!0}))}function k(U){const Q=U.matched[U.matched.length-1];if(Q&&Q.redirect){const{redirect:de}=Q;let ae=typeof de=="function"?de(U):de;return typeof ae=="string"&&(ae=ae.includes("?")||ae.includes("#")?ae=w(ae):{path:ae},ae.params={}),Bt({query:U.query,hash:U.hash,params:ae.path!=null?{}:U.params},ae)}}function $(U,Q){const de=c=g(U),ae=i.value,he=U.state,_e=U.force,G=U.replace===!0,ee=k(de);if(ee)return $(Bt(w(ee),{state:typeof ee=="object"?Bt({},he,ee.state):he,force:_e,replace:G}),Q||de);const ve=de;ve.redirectedFrom=Q;let ke;return!_e&&tE(o,ae,de)&&(ke=ls(16,{to:ve,from:ae}),Y(ae,ae,!0,!1)),(ke?Promise.resolve(ke):I(ve,ae)).catch(pe=>cl(pe)?cl(pe,2)?pe:F(pe):B(pe,ve,ae)).then(pe=>{if(pe){if(cl(pe,2))return $(Bt({replace:G},w(pe.to),{state:typeof pe.to=="object"?Bt({},he,pe.to.state):he,force:_e}),Q||ve)}else pe=D(ve,ae,!0,G,he);return M(ve,ae,pe),pe})}function T(U,Q){const de=b(U,Q);return de?Promise.reject(de):Promise.resolve()}function R(U){const Q=oe.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(U):U()}function I(U,Q){let de;const[ae,he,_e]=VE(U,Q);de=Nf(ae.reverse(),"beforeRouteLeave",U,Q);for(const ee of ae)ee.leaveGuards.forEach(ve=>{de.push(Yl(ve,U,Q))});const G=T.bind(null,U,Q);return de.push(G),J(de).then(()=>{de=[];for(const ee of a.list())de.push(Yl(ee,U,Q));return de.push(G),J(de)}).then(()=>{de=Nf(he,"beforeRouteUpdate",U,Q);for(const ee of he)ee.updateGuards.forEach(ve=>{de.push(Yl(ve,U,Q))});return de.push(G),J(de)}).then(()=>{de=[];for(const ee of _e)if(ee.beforeEnter)if(Do(ee.beforeEnter))for(const ve of ee.beforeEnter)de.push(Yl(ve,U,Q));else de.push(Yl(ee.beforeEnter,U,Q));return de.push(G),J(de)}).then(()=>(U.matched.forEach(ee=>ee.enterCallbacks={}),de=Nf(_e,"beforeRouteEnter",U,Q,R),de.push(G),J(de))).then(()=>{de=[];for(const ee of r.list())de.push(Yl(ee,U,Q));return de.push(G),J(de)}).catch(ee=>cl(ee,8)?ee:Promise.reject(ee))}function M(U,Q,de){s.list().forEach(ae=>R(()=>ae(U,Q,de)))}function D(U,Q,de,ae,he){const _e=b(U,Q);if(_e)return _e;const G=Q===pl,ee=Er?history.state:{};de&&(ae||G?l.replace(U.fullPath,Bt({scroll:G&&ee&&ee.scroll},he)):l.push(U.fullPath,he)),i.value=U,Y(U,Q,de,G),F()}let W;function j(){W||(W=l.listen((U,Q,de)=>{if(!ce.listening)return;const ae=g(U),he=k(ae);if(he){$(Bt(he,{replace:!0}),ae).catch(li);return}c=ae;const _e=i.value;Er&&uE(h0(_e.fullPath,de.delta),Ad()),I(ae,_e).catch(G=>cl(G,12)?G:cl(G,2)?($(G.to,ae).then(ee=>{cl(ee,20)&&!de.delta&&de.type===ki.pop&&l.go(-1,!1)}).catch(li),Promise.reject()):(de.delta&&l.go(-de.delta,!1),B(G,ae,_e))).then(G=>{G=G||D(ae,_e,!1),G&&(de.delta&&!cl(G,8)?l.go(-de.delta,!1):de.type===ki.pop&&cl(G,20)&&l.go(-1,!1)),M(ae,_e,G)}).catch(li)}))}let H=Bs(),L=Bs(),N;function B(U,Q,de){F(U);const ae=L.list();return ae.length?ae.forEach(he=>he(U,Q,de)):console.error(U),Promise.reject(U)}function A(){return N&&i.value!==pl?Promise.resolve():new Promise((U,Q)=>{H.add([U,Q])})}function F(U){return N||(N=!U,j(),H.list().forEach(([Q,de])=>U?de(U):Q()),H.reset()),U}function Y(U,Q,de,ae){const{scrollBehavior:he}=e;if(!Er||!he)return Promise.resolve();const _e=!de&&cE(h0(U.fullPath,0))||(ae||!de)&&history.state&&history.state.scroll||null;return Ke().then(()=>he(U,Q,_e)).then(G=>G&&iE(G)).catch(G=>B(G,U,Q))}const q=U=>l.go(U);let Z;const oe=new Set,ce={currentRoute:i,listening:!0,addRoute:m,removeRoute:h,hasRoute:y,getRoutes:v,resolve:g,options:e,push:C,replace:_,go:q,back:()=>q(-1),forward:()=>q(1),beforeEach:a.add,beforeResolve:r.add,afterEach:s.add,onError:L.add,isReady:A,install(U){const Q=this;U.component("RouterLink",PE),U.component("RouterView",BE),U.config.globalProperties.$router=Q,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>u(i)}),Er&&!Z&&i.value===pl&&(Z=!0,C(l.location).catch(he=>{}));const de={};for(const he in pl)Object.defineProperty(de,he,{get:()=>i.value[he],enumerable:!0});U.provide(Pd,Q),U.provide(Ih,fh(de)),U.provide(Ap,i);const ae=U.unmount;oe.add(U),U.unmount=function(){oe.delete(U),oe.size<1&&(c=pl,W&&W(),W=null,i.value=pl,Z=!1,N=!1),ae()}}};function J(U){return U.reduce((Q,de)=>Q.then(()=>R(de)),Promise.resolve())}return ce}function VE(e,t){const n=[],o=[],l=[],a=Math.max(t.matched.length,e.matched.length);for(let r=0;ros(c,s))?o.push(s):n.push(s));const i=e.matched[r];i&&(t.matched.find(c=>os(c,i))||l.push(i))}return[n,o,l]}function ir(){return Pe(Pd)}function ur(){return Pe(Ih)}var Mh=Symbol(""),tl=()=>{const e=Pe(Mh);if(!e)throw new Error("useClientData() is called without provider.");return e},HE=()=>tl().pageComponent,on=()=>tl().pageData,an=()=>tl().pageFrontmatter,zE=()=>tl().pageHead,xh=()=>tl().pageLang,KE=()=>tl().pageLayout,cr=()=>tl().routeLocale,jE=()=>tl().routes,bw=()=>tl().siteData,Nh=()=>tl().siteLocaleData,WE=Symbol(""),Pp=wt(L_),_i=wt(D_),ww=e=>{const t=N_(e);if(_i.value[t])return t;const n=encodeURI(t);return _i.value[n]?n:Pp.value[t]||Pp.value[n]||t},Rd=e=>{const t=ww(e),n=_i.value[t]??{..._i.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},Ld=z({name:"ClientOnly",setup(e,t){const n=x(!1);return qe(()=>{n.value=!0}),()=>{var o,l;return n.value?(l=(o=t.slots).default)==null?void 0:l.call(o):null}}}),Cw=z({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=HE(),n=S(()=>{if(!e.path)return t.value;const o=Rd(e.path);return lk(()=>o.loader().then(({comp:l})=>l))});return()=>P(n.value)}}),oo=(e={})=>e,Fn=e=>sr(e)?e:`/${iw(e)}`,UE=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}},Yn=({active:e=!1,activeClass:t="route-link-active",to:n,...o},{slots:l})=>{var i;const a=ir(),r=ww(n),s=r.startsWith("#")||r.startsWith("?")?r:Fn(r);return P("a",{...o,class:["route-link",{[t]:e}],href:s,onClick:(c={})=>{UE(c)?a.push(n).catch():Promise.resolve()}},(i=l.default)==null?void 0:i.call(l))};Yn.displayName="RouteLink";Yn.props={active:Boolean,activeClass:String,to:String};var qE="Layout",GE="en-US",ka=kt({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const o=rn(t.description)?t.description:n.description,l=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:o}]];return I_(l)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||GE,resolvePageLayout:(e,t)=>{const n=rn(e.frontmatter.layout)?e.frontmatter.layout:qE;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>A_(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 YE={},nu=e=>{const t=cr();return S(()=>e[t.value]??{})};var Bn=Uint8Array,xr=Uint16Array,XE=Int32Array,Sw=new Bn([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]),kw=new Bn([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]),ZE=new Bn([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_w=function(e,t){for(var n=new xr(31),o=0;o<31;++o)n[o]=t+=1<>1|(Zt&21845)<<1;Bl=(Bl&52428)>>2|(Bl&13107)<<2,Bl=(Bl&61680)>>4|(Bl&3855)<<4,Rp[Zt]=((Bl&65280)>>8|(Bl&255)<<8)>>1}var ri=function(e,t,n){for(var o=e.length,l=0,a=new xr(t);l>i]=c}else for(s=new xr(o),l=0;l>15-e[l]);return s},ou=new Bn(288);for(var Zt=0;Zt<144;++Zt)ou[Zt]=8;for(var Zt=144;Zt<256;++Zt)ou[Zt]=9;for(var Zt=256;Zt<280;++Zt)ou[Zt]=7;for(var Zt=280;Zt<288;++Zt)ou[Zt]=8;var Tw=new Bn(32);for(var Zt=0;Zt<32;++Zt)Tw[Zt]=5;var t$=ri(ou,9,1),n$=ri(Tw,5,1),Af=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},Io=function(e,t,n){var o=t/8|0;return(e[o]|e[o+1]<<8)>>(t&7)&n},Pf=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},o$=function(e){return(e+7)/8|0},Ah=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Bn(e.subarray(t,n))},l$=["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"],po=function(e,t,n){var o=new Error(t||l$[e]);if(o.code=e,Error.captureStackTrace&&Error.captureStackTrace(o,po),!n)throw o;return o},a$=function(e,t,n,o){var l=e.length,a=o?o.length:0;if(!l||t.f&&!t.l)return n||new Bn(0);var r=!n,s=r||t.i!=2,i=t.i;r&&(n=new Bn(l*3));var c=function(he){var _e=n.length;if(he>_e){var G=new Bn(Math.max(_e*2,he));G.set(n),n=G}},d=t.f||0,f=t.p||0,p=t.b||0,m=t.l,h=t.d,v=t.m,y=t.n,g=l*8;do{if(!m){d=Io(e,f,1);var w=Io(e,f+1,3);if(f+=3,w)if(w==1)m=t$,h=n$,v=9,y=5;else if(w==2){var k=Io(e,f,31)+257,$=Io(e,f+10,15)+4,T=k+Io(e,f+5,31)+1;f+=14;for(var R=new Bn(T),I=new Bn(19),M=0;M<$;++M)I[ZE[M]]=Io(e,f+M*3,7);f+=$*3;for(var D=Af(I),W=(1<>4;if(b<16)R[M++]=b;else{var L=0,N=0;for(b==16?(N=3+Io(e,f,3),f+=2,L=R[M-1]):b==17?(N=3+Io(e,f,7),f+=3):b==18&&(N=11+Io(e,f,127),f+=7);N--;)R[M++]=L}}var B=R.subarray(0,k),A=R.subarray(k);v=Af(B),y=Af(A),m=ri(B,v,1),h=ri(A,y,1)}else po(1);else{var b=o$(f)+4,C=e[b-4]|e[b-3]<<8,_=b+C;if(_>l){i&&po(0);break}s&&c(p+C),n.set(e.subarray(b,_),p),t.b=p+=C,t.p=f=_*8,t.f=d;continue}if(f>g){i&&po(0);break}}s&&c(p+131072);for(var F=(1<>4;if(f+=L&15,f>g){i&&po(0);break}if(L||po(2),Z<256)n[p++]=Z;else if(Z==256){q=f,m=null;break}else{var oe=Z-254;if(Z>264){var M=Z-257,ce=Sw[M];oe=Io(e,f,(1<>4;J||po(3),f+=J&15;var A=e$[U];if(U>3){var ce=kw[U];A+=Pf(e,f)&(1<g){i&&po(0);break}s&&c(p+131072);var Q=p+oe;if(p>4>7||(e[0]<<8|e[1])%31)&&po(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&po(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function i$(e,t){return a$(e.subarray(s$(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var I0=typeof TextEncoder<"u"&&new TextEncoder,Lp=typeof TextDecoder<"u"&&new TextDecoder,u$=0;try{Lp.decode(r$,{stream:!0}),u$=1}catch{}var c$=function(e){for(var t="",n=0;;){var o=e[n++],l=(o>127)+(o>223)+(o>239);if(n+l>e.length)return{s:t,r:Ah(e,n-1)};l?l==3?(o=((o&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|o>>10,56320|o&1023)):l&1?t+=String.fromCharCode((o&31)<<6|e[n++]&63):t+=String.fromCharCode((o&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(o)}};function d$(e,t){if(t){for(var n=new Bn(e.length),o=0;o>1)),r=0,s=function(d){a[r++]=d},o=0;oa.length){var i=new Bn(r+8+(l-o<<1));i.set(a),a=i}var c=e.charCodeAt(o);c<128||t?s(c):c<2048?(s(192|c>>6),s(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++o)&1023,s(240|c>>18),s(128|c>>12&63),s(128|c>>6&63),s(128|c&63)):(s(224|c>>12),s(128|c>>6&63),s(128|c&63))}return Ah(a,0,r)}function f$(e,t){if(t){for(var n="",o=0;o{const t=atob(e);return f$(i$(d$(t,!0)))},bo=(e,t)=>{var o;const n=(o=(t==null?void 0:t._instance)||nt())==null?void 0:o.appContext.components;return n?e in n||eo(e)in n||Ss(eo(e))in n:!1},Ow=e=>new Promise(t=>setTimeout(t,e)),Iw=e=>typeof e<"u",Rf=e=>typeof e=="number",Dp=Array.isArray,as=(e,t)=>rn(e)&&e.startsWith(t),p$=(e,t)=>rn(e)&&e.endsWith(t),v$=Object.entries,dr=Object.keys,h$=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},Ph=e=>as(e,"/");function Mw(e,t){let n,o,l;const a=x(!0),r=()=>{a.value=!0,l()};fe(e,r,{flush:"sync"});const s=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Sd((d,f)=>(o=d,l=f,{get(){return a.value&&(n=s(),a.value=!1),o(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=r),c}function Es(e){return ah()?(rh(e),!0):!1}function En(e){return typeof e=="function"?e():u(e)}const lu=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const m$=Object.prototype.toString,g$=e=>m$.call(e)==="[object Object]",Ga=()=>{},x0=y$();function y$(){var e,t;return lu&&((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 Rh(e,t){function n(...o){return new Promise((l,a)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(l).catch(a)})}return n}const xw=e=>e();function b$(e,t={}){let n,o,l=Ga;const a=s=>{clearTimeout(s),l(),l=Ga};return s=>{const i=En(e),c=En(t.maxWait);return n&&a(n),i<=0||c!==void 0&&c<=0?(o&&(a(o),o=null),Promise.resolve(s())):new Promise((d,f)=>{l=t.rejectOnCancel?f:d,c&&!o&&(o=setTimeout(()=>{n&&a(n),o=null,d(s())},c)),n=setTimeout(()=>{o&&a(o),o=null,d(s())},i)})}}function w$(...e){let t=0,n,o=!0,l=Ga,a,r,s,i,c;!Pt(e[0])&&typeof e[0]=="object"?{delay:r,trailing:s=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[r,s=!0,i=!0,c=!1]=e;const d=()=>{n&&(clearTimeout(n),n=void 0,l(),l=Ga)};return p=>{const m=En(r),h=Date.now()-t,v=()=>a=p();return d(),m<=0?(t=Date.now(),v()):(h>m&&(i||!o)?(t=Date.now(),v()):s&&(a=new Promise((y,g)=>{l=c?g:y,n=setTimeout(()=>{t=Date.now(),o=!0,y(v()),d()},Math.max(0,m-h))})),!i&&!n&&(n=setTimeout(()=>o=!0,m)),o=!1,a)}}function C$(e=xw){const t=x(!0);function n(){t.value=!1}function o(){t.value=!0}const l=(...a)=>{t.value&&e(...a)};return{isActive:Tl(t),pause:n,resume:o,eventFilter:l}}function S$(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function Nw(e){return e||nt()}function k$(...e){if(e.length!==1)return Et(...e);const t=e[0];return typeof t=="function"?Tl(Sd(()=>({get:t,set:Ga}))):x(t)}function _$(e,t=200,n={}){return Rh(b$(t,n),e)}function E$(e,t=200,n=!1,o=!0,l=!1){return Rh(w$(t,n,o,l),e)}function $$(e,t,n={}){const{eventFilter:o=xw,...l}=n;return fe(e,Rh(o,t),l)}function T$(e,t,n={}){const{eventFilter:o,...l}=n,{eventFilter:a,pause:r,resume:s,isActive:i}=C$(o);return{stop:$$(e,t,{...l,eventFilter:a}),pause:r,resume:s,isActive:i}}function Dd(e,t=!0,n){Nw()?qe(e,n):t?e():Ke(e)}function O$(e,t){Nw(t)&&Oo(e,t)}function I$(e,t,n={}){const{immediate:o=!0}=n,l=x(!1);let a=null;function r(){a&&(clearTimeout(a),a=null)}function s(){l.value=!1,r()}function i(...c){r(),l.value=!0,a=setTimeout(()=>{l.value=!1,a=null,e(...c)},En(t))}return o&&(l.value=!0,lu&&i()),Es(s),{isPending:Tl(l),start:i,stop:s}}function Ei(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,l=Pt(e),a=x(e);function r(s){if(arguments.length)return a.value=s,a.value;{const i=En(n);return a.value=a.value===i?En(o):i,a.value}}return l?r:[a,r]}function gl(e){var t;const n=En(e);return(t=n==null?void 0:n.$el)!=null?t:n}const kl=lu?window:void 0,Aw=lu?window.document:void 0,Pw=lu?window.navigator:void 0;function yn(...e){let t,n,o,l;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,l]=e,t=kl):[t,n,o,l]=e,!t)return Ga;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const a=[],r=()=>{a.forEach(d=>d()),a.length=0},s=(d,f,p,m)=>(d.addEventListener(f,p,m),()=>d.removeEventListener(f,p,m)),i=fe(()=>[gl(t),En(l)],([d,f])=>{if(r(),!d)return;const p=g$(f)?{...f}:f;a.push(...n.flatMap(m=>o.map(h=>s(d,m,h,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),r()};return Es(c),c}function M$(){const e=x(!1),t=nt();return t&&qe(()=>{e.value=!0},t),e}function au(e){const t=M$();return S(()=>(t.value,!!e()))}function Rw(e,t={}){const{window:n=kl}=t,o=au(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let l;const a=x(!1),r=c=>{a.value=c.matches},s=()=>{l&&("removeEventListener"in l?l.removeEventListener("change",r):l.removeListener(r))},i=vn(()=>{o.value&&(s(),l=n.matchMedia(En(e)),"addEventListener"in l?l.addEventListener("change",r):l.addListener(r),a.value=l.matches)});return Es(()=>{i(),s(),l=void 0}),a}function N0(e,t={}){const{controls:n=!1,navigator:o=Pw}=t,l=au(()=>o&&"permissions"in o);let a;const r=typeof e=="string"?{name:e}:e,s=x(),i=()=>{a&&(s.value=a.state)},c=S$(async()=>{if(l.value){if(!a)try{a=await o.permissions.query(r),yn(a,"change",i),i()}catch{s.value="prompt"}return a}});return c(),n?{state:s,isSupported:l,query:c}:s}function x$(e={}){const{navigator:t=Pw,read:n=!1,source:o,copiedDuring:l=1500,legacy:a=!1}=e,r=au(()=>t&&"clipboard"in t),s=N0("clipboard-read"),i=N0("clipboard-write"),c=S(()=>r.value||a),d=x(""),f=x(!1),p=I$(()=>f.value=!1,l);function m(){r.value&&g(s.value)?t.clipboard.readText().then(w=>{d.value=w}):d.value=y()}c.value&&n&&yn(["copy","cut"],m);async function h(w=En(o)){c.value&&w!=null&&(r.value&&g(i.value)?await t.clipboard.writeText(w):v(w),d.value=w,f.value=!0,p.start())}function v(w){const b=document.createElement("textarea");b.value=w??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function y(){var w,b,C;return(C=(b=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:b.toString())!=null?C:""}function g(w){return w==="granted"||w==="prompt"}return{isSupported:c,text:d,copied:f,copy:h}}const Fu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vu="__vueuse_ssr_handlers__",N$=A$();function A$(){return Vu in Fu||(Fu[Vu]=Fu[Vu]||{}),Fu[Vu]}function P$(e,t){return N$[e]||t}function R$(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 L$={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()}},A0="vueuse-storage";function $s(e,t,n,o={}){var l;const{flush:a="pre",deep:r=!0,listenToStorageChanges:s=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:d,window:f=kl,eventFilter:p,onError:m=I=>{console.error(I)},initOnMounted:h}=o,v=(d?wt:x)(typeof t=="function"?t():t);if(!n)try{n=P$("getDefaultStorage",()=>{var I;return(I=kl)==null?void 0:I.localStorage})()}catch(I){m(I)}if(!n)return v;const y=En(t),g=R$(y),w=(l=o.serializer)!=null?l:L$[g],{pause:b,resume:C}=T$(v,()=>k(v.value),{flush:a,deep:r,eventFilter:p});f&&s&&Dd(()=>{yn(f,"storage",T),yn(f,A0,R),h&&T()}),h||T();function _(I,M){f&&f.dispatchEvent(new CustomEvent(A0,{detail:{key:e,oldValue:I,newValue:M,storageArea:n}}))}function k(I){try{const M=n.getItem(e);if(I==null)_(M,null),n.removeItem(e);else{const D=w.write(I);M!==D&&(n.setItem(e,D),_(M,D))}}catch(M){m(M)}}function $(I){const M=I?I.newValue:n.getItem(e);if(M==null)return i&&y!=null&&n.setItem(e,w.write(y)),y;if(!I&&c){const D=w.read(M);return typeof c=="function"?c(D,y):g==="object"&&!Array.isArray(D)?{...y,...D}:D}else return typeof M!="string"?M:w.read(M)}function T(I){if(!(I&&I.storageArea!==n)){if(I&&I.key==null){v.value=y;return}if(!(I&&I.key!==e)){b();try{(I==null?void 0:I.newValue)!==w.write(v.value)&&(v.value=$(I))}catch(M){m(M)}finally{I?Ke(C):C()}}}}function R(I){T(I.detail)}return v}function D$(e){return Rw("(prefers-color-scheme: dark)",e)}function B$(e,t,n={}){const{window:o=kl,...l}=n;let a;const r=au(()=>o&&"ResizeObserver"in o),s=()=>{a&&(a.disconnect(),a=void 0)},i=S(()=>Array.isArray(e)?e.map(f=>gl(f)):[gl(e)]),c=fe(i,f=>{if(s(),r.value&&o){a=new ResizeObserver(t);for(const p of f)p&&a.observe(p,l)}},{immediate:!0,flush:"post"}),d=()=>{s(),c()};return Es(d),{isSupported:r,stop:d}}function F$(e,t={width:0,height:0},n={}){const{window:o=kl,box:l="content-box"}=n,a=S(()=>{var f,p;return(p=(f=gl(e))==null?void 0:f.namespaceURI)==null?void 0:p.includes("svg")}),r=x(t.width),s=x(t.height),{stop:i}=B$(e,([f])=>{const p=l==="border-box"?f.borderBoxSize:l==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(o&&a.value){const m=gl(e);if(m){const h=o.getComputedStyle(m);r.value=Number.parseFloat(h.width),s.value=Number.parseFloat(h.height)}}else if(p){const m=Array.isArray(p)?p:[p];r.value=m.reduce((h,{inlineSize:v})=>h+v,0),s.value=m.reduce((h,{blockSize:v})=>h+v,0)}else r.value=f.contentRect.width,s.value=f.contentRect.height},n);Dd(()=>{const f=gl(e);f&&(r.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=fe(()=>gl(e),f=>{r.value=f?t.width:0,s.value=f?t.height:0});function d(){i(),c()}return{width:r,height:s,stop:d}}const P0=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Lh(e,t={}){const{document:n=Aw,autoExit:o=!1}=t,l=S(()=>{var g;return(g=gl(e))!=null?g:n==null?void 0:n.querySelector("html")}),a=x(!1),r=S(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(g=>n&&g in n||l.value&&g in l.value)),s=S(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(g=>n&&g in n||l.value&&g in l.value)),i=S(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(g=>n&&g in n||l.value&&g in l.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(g=>n&&g in n),d=au(()=>l.value&&n&&r.value!==void 0&&s.value!==void 0&&i.value!==void 0),f=()=>c?(n==null?void 0:n[c])===l.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const g=l.value;if((g==null?void 0:g[i.value])!=null)return!!g[i.value]}}return!1};async function m(){if(!(!d.value||!a.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const g=l.value;(g==null?void 0:g[s.value])!=null&&await g[s.value]()}a.value=!1}}async function h(){if(!d.value||a.value)return;p()&&await m();const g=l.value;r.value&&(g==null?void 0:g[r.value])!=null&&(await g[r.value](),a.value=!0)}async function v(){await(a.value?m():h())}const y=()=>{const g=p();(!g||g&&f())&&(a.value=g)};return yn(n,P0,y,!1),yn(()=>gl(l),P0,y,!1),o&&Es(m),{isSupported:d,isFullscreen:a,enter:h,exit:m,toggle:v}}function Lf(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Df(e,t=Ga,n={}){const{immediate:o=!0,manual:l=!1,type:a="text/javascript",async:r=!0,crossOrigin:s,referrerPolicy:i,noModule:c,defer:d,document:f=Aw,attrs:p={}}=n,m=x(null);let h=null;const v=w=>new Promise((b,C)=>{const _=T=>(m.value=T,b(T),T);if(!f){b(!1);return}let k=!1,$=f.querySelector(`script[src="${En(e)}"]`);$?$.hasAttribute("data-loaded")&&_($):($=f.createElement("script"),$.type=a,$.async=r,$.src=En(e),d&&($.defer=d),s&&($.crossOrigin=s),c&&($.noModule=c),i&&($.referrerPolicy=i),Object.entries(p).forEach(([T,R])=>$==null?void 0:$.setAttribute(T,R)),k=!0),$.addEventListener("error",T=>C(T)),$.addEventListener("abort",T=>C(T)),$.addEventListener("load",()=>{$.setAttribute("data-loaded","true"),t($),_($)}),k&&($=f.head.appendChild($)),w||_($)}),y=(w=!0)=>(h||(h=v(w)),h),g=()=>{if(!f)return;h=null,m.value&&(m.value=null);const w=f.querySelector(`script[src="${En(e)}"]`);w&&f.head.removeChild(w)};return o&&!l&&Dd(y),l||O$(g),{scriptTag:m,load:y,unload:g}}function Lw(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 Hu=new WeakMap;function Dw(e,t=!1){const n=x(t);let o=null;fe(k$(e),r=>{const s=Lf(En(r));if(s){const i=s;Hu.get(i)||Hu.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const l=()=>{const r=Lf(En(e));!r||n.value||(x0&&(o=yn(r,"touchmove",s=>{V$(s)},{passive:!1})),r.style.overflow="hidden",n.value=!0)},a=()=>{var r;const s=Lf(En(e));!s||!n.value||(x0&&(o==null||o()),s.style.overflow=(r=Hu.get(s))!=null?r:"",Hu.delete(s),n.value=!1)};return Es(a),S({get(){return n.value},set(r){r?l():a()}})}function Bw(e,t,n={}){const{window:o=kl}=n;return $s(e,t,o==null?void 0:o.sessionStorage,n)}function H$(e={}){const{window:t=kl,behavior:n="auto"}=e;if(!t)return{x:x(0),y:x(0)};const o=x(t.scrollX),l=x(t.scrollY),a=S({get(){return o.value},set(s){scrollTo({left:s,behavior:n})}}),r=S({get(){return l.value},set(s){scrollTo({top:s,behavior:n})}});return yn(t,"scroll",()=>{o.value=t.scrollX,l.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:r}}function z$(e={}){const{window:t=kl,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:o=Number.POSITIVE_INFINITY,listenOrientation:l=!0,includeScrollbar:a=!0}=e,r=x(n),s=x(o),i=()=>{t&&(a?(r.value=t.innerWidth,s.value=t.innerHeight):(r.value=t.document.documentElement.clientWidth,s.value=t.document.documentElement.clientHeight))};if(i(),Dd(i),yn("resize",i,{passive:!0}),l){const c=Rw("(orientation: portrait)");fe(c,()=>i())}return{width:r,height:s}}var K$=z({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=S(()=>{const o=["font-icon icon"],l=`fas fa-${e.icon}`;return o.push("fa-fw fa-sm"),o.push(e.icon.includes(" ")?e.icon:l),o}),n=S(()=>{const o={};return e.color&&(o.color=e.color),e.size&&(o["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),dr(o).length?o:null});return()=>e.icon?P("span",{key:e.icon,class:t.value,style:n.value}):null}});const Fw=({type:e="info",text:t="",vertical:n,color:o},{slots:l})=>{var a;return P("span",{class:["vp-badge",e,{diy:o}],style:{verticalAlign:n??!1,backgroundColor:o??!1}},((a=l.default)==null?void 0:a.call(l))||t)};Fw.displayName="Badge";const Vw=({title:e,desc:t="",logo:n,background:o,color:l,link:a})=>{const r=[n?P("img",{class:"vp-card-logo",src:Fn(n),loading:"lazy","no-view":""}):null,P("div",{class:"vp-card-content"},[P("div",{class:"vp-card-title",innerHTML:e}),P("hr"),P("div",{class:"vp-card-desc",innerHTML:t})])],s={};return o&&(s.background=o),l&&(s.color=l),a?ns(a)?P("a",{class:"vp-card",href:a,target:"_blank",style:s},r):P(Yn,{to:a,class:"vp-card",style:s},()=>r):P("div",{class:"vp-card",style:s},r)};Vw.displayName="VPCard";const j$=oo({enhance:({app:e})=>{bo("FontIcon")||e.component("FontIcon",K$),bo("Badge")||e.component("Badge",Fw),bo("VPCard")||e.component("VPCard",Vw)},setup:()=>{Df("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Df("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Df("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),R0=async(e,t)=>{const{path:n,query:o}=e.currentRoute.value,{scrollBehavior:l}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:o,hash:t}),e.options.scrollBehavior=l},W$=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:o=5})=>{const l=ir();yn("scroll",_$(()=>{var h,v;const r=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(r-0)f.some(g=>g.hash===y.hash));for(let y=0;y=(((h=g.parentElement)==null?void 0:h.offsetTop)??0)-o,C=!w||r<(((v=w.parentElement)==null?void 0:v.offsetTop)??0)-o;if(!(b&&C))continue;const k=decodeURIComponent(l.currentRoute.value.hash),$=decodeURIComponent(g.hash);if(k===$)return;if(d){for(let T=y+1;Trn(e.title)?{title:e.title}:null;const zw=Symbol(""),Z$=e=>{Hw=e},J$=()=>Pe(zw),Q$=e=>{e.provide(zw,Hw)};var e7={"/":{title:"目录",empty:"暂无目录"}};const t7=z({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=J$(),n=nu(e7),o=on(),l=jE(),a=bw(),s=wt(v$(l.value).map(([c,{meta:d}])=>{const f=t(d);if(!f)return null;const p=c.split("/").length;return{level:p$(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...f}}).filter(c=>_s(c)&&rn(c.title))),i=S(()=>{const c=e.base?M_(rw(e.base)):o.value.path.replace(/\/[^/]+$/,"/"),d=c.split("/").length-2,f=[];return s.value.filter(({level:p,path:m})=>{if(!as(m,c)||m===c)return!1;if(c==="/"){const h=dr(a.value.locales).filter(v=>v!=="/");if(m==="/404.html"||h.some(v=>as(m,v)))return!1}return p-d<=e.level}).sort(({title:p,level:m,order:h},{title:v,level:y,order:g})=>{const w=m-y;return w||(Rf(h)?Rf(g)?h>0?g>0?h-g:-1:g<0?h-g:1:h:Rf(g)?g:p.localeCompare(v))}).forEach(p=>{var v;const{base:m,level:h}=p;switch(h-d){case 1:{f.push(p);break}case 2:{const y=f.find(g=>g.path===m);y&&(y.children??(y.children=[])).push(p);break}default:{const y=f.find(g=>g.path===m.replace(/\/[^/]+\/$/,"/"));if(y){const g=(v=y.children)==null?void 0:v.find(w=>w.path===m);g&&(g.children??(g.children=[])).push(p)}}}}),f});return()=>{const c=i.value.some(d=>d.children);return P("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:P("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?P(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:d=[],title:f,path:p,content:m})=>{const h=P(Yn,{class:"vp-catalog-title",to:p},()=>m?P(m):f);return P("li",{class:"vp-catalog"},c?[P("h3",{id:f,class:["vp-catalog-child-title",{"has-children":d.length}]},[P("a",{href:`#${f}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),h]),d.length?P(e.index?"ol":"ul",{class:"vp-child-catalogs"},d.map(({children:v=[],content:y,path:g,title:w})=>P("li",{class:"vp-child-catalog"},[P("div",{class:["vp-catalog-sub-title",{"has-children":v.length}]},[P("a",{href:`#${w}`,class:"vp-catalog-header-anchor"},"#"),P(Yn,{class:"vp-catalog-title",to:g},()=>y?P(y):w)]),v.length?P(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},v.map(({content:b,path:C,title:_})=>e.index?P("li",{class:"vp-sub-catalog"},P(Yn,{to:C},()=>b?P(b):_)):P(Yn,{class:"vp-sub-catalog-link",to:C},()=>b?P(b):_))):null]))):null]:P("div",{class:"vp-catalog-child-title"},h))})):P("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),n7=oo({enhance:({app:e})=>{Q$(e),bo("Catalog",e)||e.component("Catalog",t7)}});var o7={"/":{backToTop:"返回顶部"}};const l7=z({name:"BackToTop",setup(e){const t=an(),n=nu(o7),o=wt(),{height:l}=F$(o),{height:a}=z$(),{y:r}=H$(),s=S(()=>t.value.backToTop!==!1&&r.value>100),i=S(()=>r.value/(l.value-a.value)*100);return qe(()=>{o.value=document.body}),()=>P(Kt,{name:"back-to-top"},()=>s.value?P("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[P("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},P("svg",P("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)`}}))),P("div",{class:"back-to-top-icon"})]):null)}}),a7=oo({rootComponents:[l7]}),r7=P("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"},[P("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"}),P("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"})]),Kw=z({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=cr(),n=S(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>P("span",[r7,P("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var s7={};const i7=s7,u7=oo({enhance({app:e}){e.component("ExternalLinkIcon",P(Kw,{locales:i7}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const At={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=At.isStarted();e=Bf(e,At.settings.minimum,1),At.status=e===1?null:e;const n=At.render(!t),o=n.querySelector(At.settings.barSelector),l=At.settings.speed,a=At.settings.easing;return n.offsetWidth,c7(r=>{zu(o,{transform:"translate3d("+L0(e)+"%,0,0)",transition:"all "+l+"ms "+a}),e===1?(zu(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){zu(n,{transition:"all "+l+"ms linear",opacity:"0"}),setTimeout(function(){At.remove(),r()},l)},l)):setTimeout(()=>r(),l)}),At},isStarted:()=>typeof At.status=="number",start:()=>{At.status||At.set(0);const e=()=>{setTimeout(()=>{At.status&&(At.trickle(),e())},At.settings.trickleSpeed)};return At.settings.trickle&&e(),At},done:e=>!e&&!At.status?At:At.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=At.status;return t?(typeof e!="number"&&(e=(1-t)*Bf(Math.random()*t,.1,.95)),t=Bf(t+e,0,.994),At.set(t)):At.start()},trickle:()=>At.inc(Math.random()*At.settings.trickleRate),render:e=>{if(At.isRendered())return document.getElementById("nprogress");D0(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=At.settings.template;const n=t.querySelector(At.settings.barSelector),o=e?"-100":L0(At.status||0),l=document.querySelector(At.settings.parent);return zu(n,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),l!==document.body&&D0(l,"nprogress-custom-parent"),l==null||l.appendChild(t),t},remove:()=>{B0(document.documentElement,"nprogress-busy"),B0(document.querySelector(At.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&d7(e)},isRendered:()=>!!document.getElementById("nprogress")},Bf=(e,t,n)=>en?n:e,L0=e=>(-1+e)*100,c7=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),zu=function(){const e=["Webkit","O","Moz","ms"],t={};function n(r){return r.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,i){return i.toUpperCase()})}function o(r){const s=document.body.style;if(r in s)return r;let i=e.length;const c=r.charAt(0).toUpperCase()+r.slice(1);let d;for(;i--;)if(d=e[i]+c,d in s)return d;return r}function l(r){return r=n(r),t[r]??(t[r]=o(r))}function a(r,s,i){s=l(s),r.style[s]=i}return function(r,s){for(const i in s){const c=s[i];c!==void 0&&Object.prototype.hasOwnProperty.call(s,i)&&a(r,i,c)}}}(),jw=(e,t)=>(typeof e=="string"?e:Dh(e)).indexOf(" "+t+" ")>=0,D0=(e,t)=>{const n=Dh(e),o=n+t;jw(n,t)||(e.className=o.substring(1))},B0=(e,t)=>{const n=Dh(e);if(!jw(e,t))return;const o=n.replace(" "+t+" "," ");e.className=o.substring(1,o.length-1)},Dh=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),d7=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},f7=()=>{qe(()=>{const e=ir(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||At.start()}),e.afterEach(n=>{t.add(n.path),At.done()})})},p7=oo({setup(){f7()}}),v7=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$MDqcKZZMqn.ShxtIB7imSO9gpjdvV7ih4vzUp.Bnm.uxKf6Dv/AD."]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.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/resource","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"},{"text":"商店","icon":"store","prefix":"store/","children":"structure"}]}}}}'),h7=x(v7),Ww=()=>h7,Uw=Symbol(""),m7=()=>{const e=Pe(Uw);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},g7=(e,t)=>{const{locales:n,...o}=e;return{...o,...n==null?void 0:n[t]}},y7=oo({enhance({app:e}){const t=Ww(),n=e._context.provides[Mh],o=S(()=>g7(t.value,n.routeLocale.value));e.provide(Uw,o),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return o.value}}})}});var b7={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 w7=b7;let C7=w7;const qw=Symbol(""),Gw=()=>Pe(qw),S7=Gw,k7=e=>{e.provide(qw,C7)},Yw=()=>P("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[P("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},P("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},P("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},P("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Yw.displayName="LoadingIcon";const F0=["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"],_7=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=S7(),n=xh(),o=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:l,repoId:a,category:r,categoryId:s}=t,i=x(!1),c=S(()=>{if(F0.includes(n.value))return n.value;const f=n.value.split("-")[0];return F0.includes(f)?f:"en"}),d=S(()=>({repo:l,repoId:a,category:r,categoryId:s,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 qe(async()=>{await Cn(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>o?P("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?P("giscus-widget",d.value):P(Yw)):null}}),E7=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Gw(),n=on(),o=an(),l=t.comment!==!1,a=S(()=>o.value.comment||l&&o.value.comment!==!1);return()=>P(_7,{id:"vp-comment",identifier:o.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}}),$7=oo({enhance:({app:e})=>{k7(e),e.component("CommentService",E7)}}),T7=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,O7=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&T7.test(navigator.userAgent),I7=({delay:e=500,duration:t=2e3,locales:n,selector:o,showInMobile:l})=>{const{copy:a,copied:r}=x$({legacy:!0,copiedDuring:t}),s=nu(n),i=on(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const m=document.createElement("button");m.type="button",m.classList.add("vp-copy-code-button"),m.innerHTML='
',m.setAttribute("aria-label",s.value.copy),m.setAttribute("data-copied",s.value.copied),p.parentElement&&p.parentElement.insertBefore(m,p),p.setAttribute("copy-code-registered","")}},d=()=>{Ke().then(()=>Ow(e)).then(()=>{o.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},f=(p,m,h)=>{let{innerText:v=""}=m;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(v=v.replace(/^ *(\$|>) /gm,"")),a(v).then(()=>{h.classList.add("copied"),fe(r,()=>{h.classList.remove("copied"),h.blur()},{once:!0})})};qe(()=>{const p=!O7()||l;p&&d(),yn("click",m=>{const h=m.target;if(h.matches('div[class*="language-"] > button.copy')){const v=h.parentElement,y=h.nextElementSibling;y&&f(v,y,h)}else if(h.matches('div[class*="language-"] div.vp-copy-icon')){const v=h.parentElement,y=v.parentElement,g=v.nextElementSibling;g&&f(y,g,v)}}),fe(()=>i.value.path,()=>{p&&d()})})};var M7={"/":{copy:"复制代码",copied:"已复制"}},x7=['.theme-hope-content div[class*="language-"] pre'];const N7=500,A7=2e3,P7=M7,R7=x7,L7=!1,D7=oo({setup:()=>{I7({selector:R7,locales:P7,duration:A7,delay:N7,showInMobile:L7})}}),Ku=$s("VUEPRESS_CODE_TAB_STORE",{});var B7=z({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=x(e.active),o=wt([]),l=()=>{e.tabId&&(Ku.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:o.value.length-1,o.value[n.value].focus()},s=(c,d)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=d):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),r()),e.tabId&&(Ku.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:d})=>Ku.value[e.tabId]===d);if(c!==-1)return c}return e.active};return qe(()=>{n.value=i(),fe(()=>Ku.value[e.tabId],(c,d)=>{if(e.tabId&&c!==d){const f=e.data.findIndex(({id:p})=>p===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?P("div",{class:"vp-code-tabs"},[P("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},d)=>{const f=d===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[d]=p)},class:["vp-code-tab-nav",{active:f}],role:"tab","aria-controls":`codetab-${e.id}-${d}`,"aria-selected":f,onClick:()=>{n.value=d,l()},onKeydown:p=>s(p,d)},t[`title${d}`]({value:c,isActive:f}))})),e.data.map(({id:c},d)=>{const f=d===n.value;return P("div",{class:["vp-code-tab",{active:f}],id:`codetab-${e.id}-${d}`,role:"tabpanel","aria-expanded":f},[P("div",{class:"vp-code-tab-title"},t[`title${d}`]({value:c,isActive:f})),t[`tab${d}`]({value:c,isActive:f})])})]):null}});const Xw=({active:e=!1},{slots:t})=>{var n;return P("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Xw.displayName="CodeGroupItem";const F7=z({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=x(-1),o=wt([]),l=(s=n.value)=>{n.value=s{n.value=s>0?s-1:o.value.length-1,o.value[n.value].focus()},r=(s,i)=>{s.key===" "||s.key==="Enter"?(s.preventDefault(),n.value=i):s.key==="ArrowRight"?(s.preventDefault(),l(i)):s.key==="ArrowLeft"&&(s.preventDefault(),a(i))};return()=>{var i;const s=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return s.length===0?null:(n.value<0||n.value>s.length-1?(n.value=s.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):s.forEach((c,d)=>{c.props.active=d===n.value}),P("div",{class:"code-group"},[P("div",{class:"code-group-nav"},s.map((c,d)=>{const f=d===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[d]=p)},class:["code-group-nav-tab",{active:f}],"aria-pressed":f,"aria-expanded":f,onClick:()=>{n.value=d},onKeydown:p=>r(p,d)},c.props.title)})),s]))}}}),un=({name:e="",color:t="currentColor"},{slots:n})=>{var o;return P("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(o=n.default)==null?void 0:o.call(n))};un.displayName="IconBase";const Zw=({size:e=48,stroke:t=4,wrapper:n=!0,height:o=2*e})=>{const l=P("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[P("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),P("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[P("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),P("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?P("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${o}px`},l):l};Zw.displayName="LoadingIcon";const Jw=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Qw=()=>P(un,{name:"github"},()=>P("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"}));Qw.displayName="GitHubIcon";const e3=()=>P(un,{name:"gitlab"},()=>P("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"}));e3.displayName="GitLabIcon";const t3=()=>P(un,{name:"gitee"},()=>P("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"}));t3.displayName="GiteeIcon";const n3=()=>P(un,{name:"bitbucket"},()=>P("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"}));n3.displayName="BitbucketIcon";const o3=()=>P(un,{name:"source"},()=>P("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"}));o3.displayName="SourceIcon";const l3=(e,t)=>{let n=1;for(let o=0;o>6;return n+=n<<3,n^=n>>11,n%t},a3=/#.*$/u,V7=e=>{const t=a3.exec(e);return t?t[0]:""},V0=e=>decodeURI(e).replace(a3,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),r3=(e,t)=>{if(!Iw(t))return!1;const n=V0(e.path),o=V0(t),l=V7(t);return l?l===e.hash&&(!o||n===o):n===o},H7=e=>sr(e)?e:`https://github.com/${e}`,s3=e=>!sr(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var z7=e=>Object.prototype.toString.call(e)==="[object Object]",$i=e=>typeof e=="string";const i3=Array.isArray,H0=e=>z7(e)&&$i(e.name),z0=(e,t=!1)=>e?i3(e)?e.map(n=>$i(n)?{name:n}:H0(n)?n:null).filter(n=>n!==null):$i(e)?[{name:e}]:H0(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],u3=(e,t)=>{if(e){if(i3(e)&&e.every($i))return e;if($i(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},K7=e=>u3(e,"category"),j7=e=>u3(e,"tag"),W7='',U7='';var q7={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 Ff=q7,K0={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"}}},G7=(e,t,n)=>{const o=document.createElement(e);return _s(t)&&dr(t).forEach(l=>{if(l.indexOf("data"))o[l]=t[l];else{const a=l.replace("data","");o.dataset[a]=t[l]}}),n&&n.forEach(l=>{o.appendChild(l)}),o},Bh=e=>({...Ff,...e,jsLib:Array.from(new Set([...Ff.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Ff.cssLib||[],...e.cssLib||[]]))}),zr=(e,t)=>{if(Iw(e[t]))return e[t];const n=new Promise(o=>{var a;const l=document.createElement("script");l.src=t,(a=document.querySelector("body"))==null||a.appendChild(l),l.onload=()=>{o()}});return e[t]=n,n},Y7=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=G7("style",{innerHTML:t.css});e.appendChild(n)}},X7=(e,t,n)=>{const o=n.getScript();if(o&&Array.from(t.childNodes).every(l=>l.nodeName!=="SCRIPT")){const l=document.createElement("script");l.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; + */const At={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=At.isStarted();e=Bf(e,At.settings.minimum,1),At.status=e===1?null:e;const n=At.render(!t),o=n.querySelector(At.settings.barSelector),l=At.settings.speed,a=At.settings.easing;return n.offsetWidth,c7(r=>{zu(o,{transform:"translate3d("+L0(e)+"%,0,0)",transition:"all "+l+"ms "+a}),e===1?(zu(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){zu(n,{transition:"all "+l+"ms linear",opacity:"0"}),setTimeout(function(){At.remove(),r()},l)},l)):setTimeout(()=>r(),l)}),At},isStarted:()=>typeof At.status=="number",start:()=>{At.status||At.set(0);const e=()=>{setTimeout(()=>{At.status&&(At.trickle(),e())},At.settings.trickleSpeed)};return At.settings.trickle&&e(),At},done:e=>!e&&!At.status?At:At.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=At.status;return t?(typeof e!="number"&&(e=(1-t)*Bf(Math.random()*t,.1,.95)),t=Bf(t+e,0,.994),At.set(t)):At.start()},trickle:()=>At.inc(Math.random()*At.settings.trickleRate),render:e=>{if(At.isRendered())return document.getElementById("nprogress");D0(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=At.settings.template;const n=t.querySelector(At.settings.barSelector),o=e?"-100":L0(At.status||0),l=document.querySelector(At.settings.parent);return zu(n,{transition:"all 0 linear",transform:"translate3d("+o+"%,0,0)"}),l!==document.body&&D0(l,"nprogress-custom-parent"),l==null||l.appendChild(t),t},remove:()=>{B0(document.documentElement,"nprogress-busy"),B0(document.querySelector(At.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&d7(e)},isRendered:()=>!!document.getElementById("nprogress")},Bf=(e,t,n)=>en?n:e,L0=e=>(-1+e)*100,c7=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),zu=function(){const e=["Webkit","O","Moz","ms"],t={};function n(r){return r.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(s,i){return i.toUpperCase()})}function o(r){const s=document.body.style;if(r in s)return r;let i=e.length;const c=r.charAt(0).toUpperCase()+r.slice(1);let d;for(;i--;)if(d=e[i]+c,d in s)return d;return r}function l(r){return r=n(r),t[r]??(t[r]=o(r))}function a(r,s,i){s=l(s),r.style[s]=i}return function(r,s){for(const i in s){const c=s[i];c!==void 0&&Object.prototype.hasOwnProperty.call(s,i)&&a(r,i,c)}}}(),jw=(e,t)=>(typeof e=="string"?e:Dh(e)).indexOf(" "+t+" ")>=0,D0=(e,t)=>{const n=Dh(e),o=n+t;jw(n,t)||(e.className=o.substring(1))},B0=(e,t)=>{const n=Dh(e);if(!jw(e,t))return;const o=n.replace(" "+t+" "," ");e.className=o.substring(1,o.length-1)},Dh=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),d7=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},f7=()=>{qe(()=>{const e=ir(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||At.start()}),e.afterEach(n=>{t.add(n.path),At.done()})})},p7=oo({setup(){f7()}}),v7=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$Tl2SHP6ZsG7lFqnb/GrDXeBfbIxyHfZTZILDrG4FLEopFksOZ8QZ."]}},"author":{"name":"远野千束","url":"https://snowykami.me"},"logo":"https://cdn.liteyuki.icu/static/img/liteyuki_icon_640.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/resource","prefix":"store/"}],"sidebar":{"/":["",{"text":"项目部署","icon":"laptop-code","prefix":"deployment/","children":"structure"},{"text":"使用手册","icon":"book","prefix":"usage/","children":"structure"},{"text":"商店","icon":"store","prefix":"store/","children":"structure"}]}}}}'),h7=x(v7),Ww=()=>h7,Uw=Symbol(""),m7=()=>{const e=Pe(Uw);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},g7=(e,t)=>{const{locales:n,...o}=e;return{...o,...n==null?void 0:n[t]}},y7=oo({enhance({app:e}){const t=Ww(),n=e._context.provides[Mh],o=S(()=>g7(t.value,n.routeLocale.value));e.provide(Uw,o),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return o.value}}})}});var b7={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 w7=b7;let C7=w7;const qw=Symbol(""),Gw=()=>Pe(qw),S7=Gw,k7=e=>{e.provide(qw,C7)},Yw=()=>P("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[P("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},P("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},P("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),P("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},P("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Yw.displayName="LoadingIcon";const F0=["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"],_7=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=S7(),n=xh(),o=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:l,repoId:a,category:r,categoryId:s}=t,i=x(!1),c=S(()=>{if(F0.includes(n.value))return n.value;const f=n.value.split("-")[0];return F0.includes(f)?f:"en"}),d=S(()=>({repo:l,repoId:a,category:r,categoryId:s,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 qe(async()=>{await Cn(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>o?P("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?P("giscus-widget",d.value):P(Yw)):null}}),E7=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Gw(),n=on(),o=an(),l=t.comment!==!1,a=S(()=>o.value.comment||l&&o.value.comment!==!1);return()=>P(_7,{id:"vp-comment",identifier:o.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:a.value?"block":"none"}})}}),$7=oo({enhance:({app:e})=>{k7(e),e.component("CommentService",E7)}}),T7=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,O7=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&T7.test(navigator.userAgent),I7=({delay:e=500,duration:t=2e3,locales:n,selector:o,showInMobile:l})=>{const{copy:a,copied:r}=x$({legacy:!0,copiedDuring:t}),s=nu(n),i=on(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const m=document.createElement("button");m.type="button",m.classList.add("vp-copy-code-button"),m.innerHTML='
',m.setAttribute("aria-label",s.value.copy),m.setAttribute("data-copied",s.value.copied),p.parentElement&&p.parentElement.insertBefore(m,p),p.setAttribute("copy-code-registered","")}},d=()=>{Ke().then(()=>Ow(e)).then(()=>{o.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},f=(p,m,h)=>{let{innerText:v=""}=m;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(v=v.replace(/^ *(\$|>) /gm,"")),a(v).then(()=>{h.classList.add("copied"),fe(r,()=>{h.classList.remove("copied"),h.blur()},{once:!0})})};qe(()=>{const p=!O7()||l;p&&d(),yn("click",m=>{const h=m.target;if(h.matches('div[class*="language-"] > button.copy')){const v=h.parentElement,y=h.nextElementSibling;y&&f(v,y,h)}else if(h.matches('div[class*="language-"] div.vp-copy-icon')){const v=h.parentElement,y=v.parentElement,g=v.nextElementSibling;g&&f(y,g,v)}}),fe(()=>i.value.path,()=>{p&&d()})})};var M7={"/":{copy:"复制代码",copied:"已复制"}},x7=['.theme-hope-content div[class*="language-"] pre'];const N7=500,A7=2e3,P7=M7,R7=x7,L7=!1,D7=oo({setup:()=>{I7({selector:R7,locales:P7,duration:A7,delay:N7,showInMobile:L7})}}),Ku=$s("VUEPRESS_CODE_TAB_STORE",{});var B7=z({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=x(e.active),o=wt([]),l=()=>{e.tabId&&(Ku.value[e.tabId]=e.data[n.value].id)},a=(c=n.value)=>{n.value=c{n.value=c>0?c-1:o.value.length-1,o.value[n.value].focus()},s=(c,d)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=d):c.key==="ArrowRight"?(c.preventDefault(),a()):c.key==="ArrowLeft"&&(c.preventDefault(),r()),e.tabId&&(Ku.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:d})=>Ku.value[e.tabId]===d);if(c!==-1)return c}return e.active};return qe(()=>{n.value=i(),fe(()=>Ku.value[e.tabId],(c,d)=>{if(e.tabId&&c!==d){const f=e.data.findIndex(({id:p})=>p===c);f!==-1&&(n.value=f)}})}),()=>e.data.length?P("div",{class:"vp-code-tabs"},[P("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},d)=>{const f=d===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[d]=p)},class:["vp-code-tab-nav",{active:f}],role:"tab","aria-controls":`codetab-${e.id}-${d}`,"aria-selected":f,onClick:()=>{n.value=d,l()},onKeydown:p=>s(p,d)},t[`title${d}`]({value:c,isActive:f}))})),e.data.map(({id:c},d)=>{const f=d===n.value;return P("div",{class:["vp-code-tab",{active:f}],id:`codetab-${e.id}-${d}`,role:"tabpanel","aria-expanded":f},[P("div",{class:"vp-code-tab-title"},t[`title${d}`]({value:c,isActive:f})),t[`tab${d}`]({value:c,isActive:f})])})]):null}});const Xw=({active:e=!1},{slots:t})=>{var n;return P("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Xw.displayName="CodeGroupItem";const F7=z({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=x(-1),o=wt([]),l=(s=n.value)=>{n.value=s{n.value=s>0?s-1:o.value.length-1,o.value[n.value].focus()},r=(s,i)=>{s.key===" "||s.key==="Enter"?(s.preventDefault(),n.value=i):s.key==="ArrowRight"?(s.preventDefault(),l(i)):s.key==="ArrowLeft"&&(s.preventDefault(),a(i))};return()=>{var i;const s=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return s.length===0?null:(n.value<0||n.value>s.length-1?(n.value=s.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):s.forEach((c,d)=>{c.props.active=d===n.value}),P("div",{class:"code-group"},[P("div",{class:"code-group-nav"},s.map((c,d)=>{const f=d===n.value;return P("button",{type:"button",ref:p=>{p&&(o.value[d]=p)},class:["code-group-nav-tab",{active:f}],"aria-pressed":f,"aria-expanded":f,onClick:()=>{n.value=d},onKeydown:p=>r(p,d)},c.props.title)})),s]))}}}),un=({name:e="",color:t="currentColor"},{slots:n})=>{var o;return P("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(o=n.default)==null?void 0:o.call(n))};un.displayName="IconBase";const Zw=({size:e=48,stroke:t=4,wrapper:n=!0,height:o=2*e})=>{const l=P("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[P("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),P("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[P("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),P("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?P("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${o}px`},l):l};Zw.displayName="LoadingIcon";const Jw=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Qw=()=>P(un,{name:"github"},()=>P("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"}));Qw.displayName="GitHubIcon";const e3=()=>P(un,{name:"gitlab"},()=>P("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"}));e3.displayName="GitLabIcon";const t3=()=>P(un,{name:"gitee"},()=>P("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"}));t3.displayName="GiteeIcon";const n3=()=>P(un,{name:"bitbucket"},()=>P("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"}));n3.displayName="BitbucketIcon";const o3=()=>P(un,{name:"source"},()=>P("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"}));o3.displayName="SourceIcon";const l3=(e,t)=>{let n=1;for(let o=0;o>6;return n+=n<<3,n^=n>>11,n%t},a3=/#.*$/u,V7=e=>{const t=a3.exec(e);return t?t[0]:""},V0=e=>decodeURI(e).replace(a3,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),r3=(e,t)=>{if(!Iw(t))return!1;const n=V0(e.path),o=V0(t),l=V7(t);return l?l===e.hash&&(!o||n===o):n===o},H7=e=>sr(e)?e:`https://github.com/${e}`,s3=e=>!sr(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var z7=e=>Object.prototype.toString.call(e)==="[object Object]",$i=e=>typeof e=="string";const i3=Array.isArray,H0=e=>z7(e)&&$i(e.name),z0=(e,t=!1)=>e?i3(e)?e.map(n=>$i(n)?{name:n}:H0(n)?n:null).filter(n=>n!==null):$i(e)?[{name:e}]:H0(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],u3=(e,t)=>{if(e){if(i3(e)&&e.every($i))return e;if($i(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},K7=e=>u3(e,"category"),j7=e=>u3(e,"tag"),W7='',U7='';var q7={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 Ff=q7,K0={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"}}},G7=(e,t,n)=>{const o=document.createElement(e);return _s(t)&&dr(t).forEach(l=>{if(l.indexOf("data"))o[l]=t[l];else{const a=l.replace("data","");o.dataset[a]=t[l]}}),n&&n.forEach(l=>{o.appendChild(l)}),o},Bh=e=>({...Ff,...e,jsLib:Array.from(new Set([...Ff.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Ff.cssLib||[],...e.cssLib||[]]))}),zr=(e,t)=>{if(Iw(e[t]))return e[t];const n=new Promise(o=>{var a;const l=document.createElement("script");l.src=t,(a=document.querySelector("body"))==null||a.appendChild(l),l.onload=()=>{o()}});return e[t]=n,n},Y7=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=G7("style",{innerHTML:t.css});e.appendChild(n)}},X7=(e,t,n)=>{const o=n.getScript();if(o&&Array.from(t.childNodes).every(l=>l.nodeName!=="SCRIPT")){const l=document.createElement("script");l.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; ${o}}`)),t.appendChild(l)}},Z7=e=>{const t=dr(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(o=>{const l=t.filter(a=>K0[o].types.includes(a));if(l.length){const a=l[0];n[o]=[e[a].replace(/^\n|\n$/g,""),K0[o].map[a]||a]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},c3=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),d3=e=>`
${c3(e)}
`,J7=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; diff --git a/assets/basic_command.html-BFSYzyOU.js b/assets/basic_command.html-D57_hwWQ.js similarity index 99% rename from assets/basic_command.html-BFSYzyOU.js rename to assets/basic_command.html-D57_hwWQ.js index cb45f9c4..6ab9763f 100644 --- a/assets/basic_command.html-BFSYzyOU.js +++ b/assets/basic_command.html-D57_hwWQ.js @@ -1,4 +1,4 @@ -import{_ as n,o as s,c as a,e}from"./app-CM8cxaVt.js";const t={},l=e(`

基础插件

轻雪 liteyuki

# 仅超级用户
+import{_ as n,o as s,c as a,e}from"./app-Dor1UG7c.js";const t={},l=e(`

基础插件

轻雪 liteyuki

# 仅超级用户
 reload-liteyuki  # 重载轻雪
 update-liteyuki  # 更新轻雪
 liteecho # 查看当前bot
diff --git a/assets/config.html-Bk4ffrXE.js b/assets/config.html-4vCoR--K.js
similarity index 99%
rename from assets/config.html-Bk4ffrXE.js
rename to assets/config.html-4vCoR--K.js
index 405a33c3..3beece63 100644
--- a/assets/config.html-Bk4ffrXE.js
+++ b/assets/config.html-4vCoR--K.js
@@ -1,4 +1,4 @@
-import{_ as s,r as t,o,c,b as n,d as e,a as l,e as p}from"./app-CM8cxaVt.js";const i={},r=p(`

首次运行后生成config.yml,你可以修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

基础配置项

command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
+import{_ as s,r as t,o,c,b as n,d as e,a as l,e as p}from"./app-Dor1UG7c.js";const i={},r=p(`

首次运行后生成config.yml,你可以修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

基础配置项

command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
 host: 127.0.0.1 # 监听地址,默认为本机,若要接收外部请求请填写0.0.0.0
 port: 20216 # 绑定端口
 nickname: [ "liteyuki" ]  # 机器人昵称列表
diff --git a/assets/extra_command.html-B3DWwYmi.js b/assets/extra_command.html-Dat4T-7m.js
similarity index 98%
rename from assets/extra_command.html-B3DWwYmi.js
rename to assets/extra_command.html-Dat4T-7m.js
index e0c998b8..02bccc9b 100644
--- a/assets/extra_command.html-B3DWwYmi.js
+++ b/assets/extra_command.html-Dat4T-7m.js
@@ -1,4 +1,4 @@
-import{_ as e,o as t,c as a,e as n}from"./app-CM8cxaVt.js";const s={},o=n(`

功能插件命令

轻雪天气liteyuki_weather

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
+import{_ as e,o as t,c as a,e as n}from"./app-Dor1UG7c.js";const s={},o=n(`

功能插件命令

轻雪天气liteyuki_weather

配置项

weather_key: "" # 和风天气的天气key,会自动判断key版本
 

命令

weather <keywords...> # 查询目标地实时天气,例如:"天气 北京 海淀", "weather Tokyo Shinjuku"
 bind-city <keywords...> # 绑定查询城市,个人全局生效
 

命令别名

weather 天气, bind-city 绑定城市
diff --git a/assets/fandq.html-CBmHXKBm.js b/assets/fandq.html-ht6j8NUh.js
similarity index 99%
rename from assets/fandq.html-CBmHXKBm.js
rename to assets/fandq.html-ht6j8NUh.js
index 32c9c9a6..24de7535 100644
--- a/assets/fandq.html-CBmHXKBm.js
+++ b/assets/fandq.html-ht6j8NUh.js
@@ -1 +1 @@
-import{_ as r,r as l,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-CM8cxaVt.js";const s={},p=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=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而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

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

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),O={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},Q=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},N=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),w=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),v={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},L={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},z={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function G(P,R){const o=l("ExternalLinkIcon");return a(),i("div",null,[p,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",O,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),Q]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),N,w,e("ul",null,[e("li",null,[e("a",v,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",L,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",S,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",z,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const D=r(s,[["render",G],["__file","fandq.html.vue"]]),E=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-23T16:23:05.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-23T16:23:05.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-23T16:23:05.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1711695504000,"updatedTime":1713889385000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":10},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{D as comp,E as data}; +import{_ as r,r as l,o as a,c as i,b as e,d as t,a as n,e as c}from"./app-Dor1UG7c.js";const s={},p=e("h2",{id:"常见问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见问题"},[e("span",null,[e("strong",null,"常见问题")])])],-1),h=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而不是命令
  • 更新轻雪失败,报错InvalidGitRepositoryError

    • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
  • 怎么登录聊天平台,例如QQ?

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

    • 输入playwright install安装浏览器
  • 有的插件安装后报错无法启动

    • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
  • ",6),d=e("h2",{id:"其他问题",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#其他问题"},[e("span",null,"其他问题")])],-1),u={href:"http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726",target:"_blank",rel:"noopener noreferrer"},m=e("h2",{id:"推荐方案-qq",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-qq"},[e("span",null,[e("strong",null,"推荐方案(QQ)")])])],-1),_={href:"https://github.com/KonataDev/Lagrange.Core",target:"_blank",rel:"noopener noreferrer"},g={href:"https://github.com/LLOneBot/LLOneBot",target:"_blank",rel:"noopener noreferrer"},f={href:"https://github.com/whitechi73/OpenShamrock",target:"_blank",rel:"noopener noreferrer"},y={href:"https://github.com/TimeRainStarSky/Yunzai",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"node.js",-1),k=e("code",null,"ws-plugin",-1),B={href:"https://github.com/Mrs4s/go-cqhttp",target:"_blank",rel:"noopener noreferrer"},q=e("code",null,"go",-1),O={href:"https://github.com/Hoshinonyaruko/Gensokyo",target:"_blank",rel:"noopener noreferrer"},Q=e("li",null,[t("人工实现的"),e("code",null,"Onebot"),t("协议,自己整一个WebSocket客户端,看着QQ的消息,然后给轻雪传输数据")],-1),x=e("h2",{id:"推荐方案-minecraft",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#推荐方案-minecraft"},[e("span",null,[e("strong",null,"推荐方案(Minecraft)")])])],-1),M={href:"https://github.com/snowykami/MinecraftOnebot",target:"_blank",rel:"noopener noreferrer"},N=e("p",null,"使用其他项目连接请先自行查阅文档,若有困难请联系对应开发者而不是Liteyuki的开发者",-1),w=e("h2",{id:"鸣谢",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#鸣谢"},[e("span",null,[e("strong",null,"鸣谢")])])],-1),v={href:"https://nonebot.dev",target:"_blank",rel:"noopener noreferrer"},L={href:"https://github.com/kexue-z/nonebot-plugin-htmlrender/tree/master",target:"_blank",rel:"noopener noreferrer"},S={href:"https://github.com/ArcletProject/nonebot-plugin-alconna",target:"_blank",rel:"noopener noreferrer"},T={href:"https://hyperos.mi.com/font/zh/",target:"_blank",rel:"noopener noreferrer"},z={href:"https://gitee.com/mirrors/Maple-Mono",target:"_blank",rel:"noopener noreferrer"};function G(P,R){const o=l("ExternalLinkIcon");return a(),i("div",null,[p,e("ul",null,[h,e("li",null,[d,e("p",null,[t("加入QQ群"),e("a",u,[t("775840726"),n(o)])])])]),m,e("ol",null,[e("li",null,[e("a",_,[t("Lagrange.OneBot"),n(o)]),t(",基于NTQQ的OneBot实现,目前Markdown消息支持Lagrange")]),e("li",null,[e("a",g,[t("LLOneBot"),n(o)]),t(",NTQQ的OneBot插件,需要安装NTQQ")]),e("li",null,[e("a",f,[t("OpenShamrock"),n(o)]),t(",基于Lsposed的OneBot11实现")]),e("li",null,[e("a",y,[t("TRSS-Yunzai"),n(o)]),t(",基于"),b,t(",可使用"),k,t("进行通信")]),e("li",null,[e("a",B,[t("go-cqhttp"),n(o)]),t(","),q,t("语言实现的OneBot11实现端,目前可用性较低")]),e("li",null,[e("a",O,[t("Gensokyo"),n(o)]),t(",基于 OneBot QQ官方机器人Api Golang 原生实现,需要官方机器人权限")]),Q]),x,e("ol",null,[e("li",null,[e("a",M,[t("MinecraftOneBot"),n(o)]),t(",我们专门为Minecraft开发的服务器Bot,支持OneBotV11标准")])]),N,w,e("ul",null,[e("li",null,[e("a",v,[t("Nonebot2"),n(o)]),t("提供的框架支持")]),e("li",null,[e("a",L,[t("nonebot-plugin-htmlrender"),n(o)]),t("提供的渲染功能")]),e("li",null,[e("a",S,[t("nonebot-plugin-alconna"),n(o)]),t("提供的命令解析功能")]),e("li",null,[e("a",T,[t("MiSans"),n(o)]),t(","),e("a",z,[t("MapleMono"),n(o)]),t("提供的字体,且遵守了相关字体开源协议")])])])}const D=r(s,[["render",G],["__file","fandq.html.vue"]]),E=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-23T16:23:05.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-23T16:23:05.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"答疑\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-23T16:23:05.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[]},{"level":2,"title":"推荐方案(QQ)","slug":"推荐方案-qq","link":"#推荐方案-qq","children":[]},{"level":2,"title":"推荐方案(Minecraft)","slug":"推荐方案-minecraft","link":"#推荐方案-minecraft","children":[]},{"level":2,"title":"鸣谢","slug":"鸣谢","link":"#鸣谢","children":[]}],"git":{"createdTime":1711695504000,"updatedTime":1713889385000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":10},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":2.44,"words":731},"filePathRelative":"deployment/fandq.md","localizedDate":"2024年3月29日","autoDesc":true}');export{D as comp,E as data}; diff --git a/assets/foolsday.html-CPFeuODw.js b/assets/foolsday.html-C9jQW0rb.js similarity index 98% rename from assets/foolsday.html-CPFeuODw.js rename to assets/foolsday.html-C9jQW0rb.js index 43e54a7d..bcdaab11 100644 --- a/assets/foolsday.html-CPFeuODw.js +++ b/assets/foolsday.html-C9jQW0rb.js @@ -1 +1 @@ -import{_ as t,o as e,c as o}from"./app-CM8cxaVt.js";const i={};function a(s,n){return e(),o("div")}const c=t(i,[["render",a],["__file","foolsday.html.vue"]]),m=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{c as comp,m as data}; +import{_ as t,o as e,c as o}from"./app-Dor1UG7c.js";const i={};function a(s,n){return e(),o("div")}const c=t(i,[["render",a],["__file","foolsday.html.vue"]]),m=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{c as comp,m as data}; diff --git a/assets/index.html-BZU546BW.js b/assets/index.html-8Y9JEaPU.js similarity index 95% rename from assets/index.html-BZU546BW.js rename to assets/index.html-8Y9JEaPU.js index 3ece1a65..4fbe763d 100644 --- a/assets/index.html-BZU546BW.js +++ b/assets/index.html-8Y9JEaPU.js @@ -1 +1 @@ -import{_ as e,o as t,c as o}from"./app-CM8cxaVt.js";const r={};function a(n,i){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/store/","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"store","index":false,"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:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{p as comp,m as data}; +import{_ as e,o as t,c as o}from"./app-Dor1UG7c.js";const r={};function a(n,i){return t(),o("div")}const p=e(r,[["render",a],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/store/","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"store","index":false,"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:title","content":"资源商店"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1712364501000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":4}]},"readingTime":{"minutes":0.03,"words":9},"filePathRelative":"store/README.md","localizedDate":"2024年4月6日"}');export{p as comp,m as data}; diff --git a/assets/index.html-ImvBqXs7.js b/assets/index.html-B9oKd56v.js similarity index 95% rename from assets/index.html-ImvBqXs7.js rename to assets/index.html-B9oKd56v.js index 32bbccf1..b06f2c14 100644 --- a/assets/index.html-ImvBqXs7.js +++ b/assets/index.html-B9oKd56v.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-CM8cxaVt.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(i,[["render",c],["__file","index.html.vue"]]),d=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{l as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-Dor1UG7c.js";const i={};function c(p,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const l=t(i,[["render",c],["__file","index.html.vue"]]),d=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{l as comp,d as data}; diff --git a/assets/index.html-DRD6Q-Np.js b/assets/index.html-Bx8lv3Rr.js similarity index 98% rename from assets/index.html-DRD6Q-Np.js rename to assets/index.html-Bx8lv3Rr.js index 51b83437..64c84f47 100644 --- a/assets/index.html-DRD6Q-Np.js +++ b/assets/index.html-Bx8lv3Rr.js @@ -1 +1 @@ -import{_ as t,o as e,c as i}from"./app-CM8cxaVt.js";const o={};function n(a,s){return e(),i("div")}const c=t(o,[["render",n],["__file","index.html.vue"]]),m=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","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":"支持多种主题,可自定义资源包,满足你的审美需求","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"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-22T06:05:10.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-22T06:05:10.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1713765910000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":24},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.74,"words":523},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; +import{_ as t,o as e,c as i}from"./app-Dor1UG7c.js";const o={};function n(a,s){return e(),i("div")}const c=t(o,[["render",n],["__file","index.html.vue"]]),m=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","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":"支持多种主题,可自定义资源包,满足你的审美需求","link":"https://bot.liteyuki.icu/usage/resource_pack.html"},{"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-22T06:05:10.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-22T06:05:10.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"首页\\"}"]]},"headers":[],"git":{"createdTime":1711460020000,"updatedTime":1713765910000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":24},{"name":"Snowykami","email":"79104275+snowykami@users.noreply.github.com","commits":1}]},"readingTime":{"minutes":1.74,"words":523},"filePathRelative":"README.md","localizedDate":"2024年3月26日"}');export{c as comp,m as data}; diff --git a/assets/index.html-DkwDBp22.js b/assets/index.html-D-JRdhIE.js similarity index 95% rename from assets/index.html-DkwDBp22.js rename to assets/index.html-D-JRdhIE.js index 5cc80e86..f0c8b9bf 100644 --- a/assets/index.html-DkwDBp22.js +++ b/assets/index.html-D-JRdhIE.js @@ -1 +1 @@ -import{_ as t,r as o,o as a,c as n,a as r}from"./app-CM8cxaVt.js";const p={};function i(c,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",i],["__file","index.html.vue"]]),d=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{s as comp,d as data}; +import{_ as t,r as o,o as a,c as n,a as r}from"./app-Dor1UG7c.js";const p={};function i(c,m){const e=o("Catalog");return a(),n("div",null,[r(e)])}const s=t(p,[["render",i],["__file","index.html.vue"]]),d=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{s as comp,d as data}; diff --git a/assets/install.html-Cn0i5lTU.js b/assets/install.html-BdcuCTmk.js similarity index 98% rename from assets/install.html-Cn0i5lTU.js rename to assets/install.html-BdcuCTmk.js index 28443cde..7810290a 100644 --- a/assets/install.html-Cn0i5lTU.js +++ b/assets/install.html-BdcuCTmk.js @@ -1 +1 @@ -import{_ as i,r as a,o as l,c,b as t,d as e,a as n,e as r}from"./app-CM8cxaVt.js";const s={},d=t("h2",{id:"开始安装",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#开始安装"},[t("span",null,[t("strong",null,"开始安装")])])],-1),p={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=t("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},u=t("code",null,"Python3.10+",-1),y=t("li",null,[e("克隆项目 "),t("code",null,"git clone https://github.com/snowykami/LiteyukiBot")],-1),_=t("li",null,[e("进入轻雪目录 "),t("code",null,"cd LiteyukiBot")],-1),g=t("li",null,[e("安装依赖 "),t("code",null,"pip install -r requirements.txt")],-1),v=t("li",null,[e("启动 "),t("code",null,"python main.py")],-1),k=r('

    设备要求

    • Windows系统版本最低Windows10+/Windows Server 2019+
    • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
    • CPU: 至少1vCPU
    • 内存: Bot无其他插件会占用200~300MB,其他插件占用视具体插件而定,建议1GB以上
    • 硬盘: 至少1GB空间

    注意

    如果设备上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径

    提示

    推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用python -m venv venv来创建虚拟环境,然后使用venv\\Scripts\\activate来激活虚拟环境

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能

    其他问题请移步至答疑

    ',6);function f(w,x){const o=a("ExternalLinkIcon");return l(),c("div",null,[d,t("ol",null,[t("li",null,[e("安装 "),t("a",p,[h,n(o)]),e(" 和 "),t("a",m,[u,n(o)]),e(" 环境")]),y,_,g,v]),k])}const b=i(s,[["render",f],["__file","install.html.vue"]]),L=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版...","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":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]},{"level":2,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":7}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{b as comp,L as data}; +import{_ as i,r as a,o as l,c,b as t,d as e,a as n,e as r}from"./app-Dor1UG7c.js";const s={},d=t("h2",{id:"开始安装",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#开始安装"},[t("span",null,[t("strong",null,"开始安装")])])],-1),p={href:"https://git-scm.com/download/",target:"_blank",rel:"noopener noreferrer"},h=t("code",null,"Git",-1),m={href:"https://www.python.org/downloads/release/python-31010/",target:"_blank",rel:"noopener noreferrer"},u=t("code",null,"Python3.10+",-1),y=t("li",null,[e("克隆项目 "),t("code",null,"git clone https://github.com/snowykami/LiteyukiBot")],-1),_=t("li",null,[e("进入轻雪目录 "),t("code",null,"cd LiteyukiBot")],-1),g=t("li",null,[e("安装依赖 "),t("code",null,"pip install -r requirements.txt")],-1),v=t("li",null,[e("启动 "),t("code",null,"python main.py")],-1),k=r('

    设备要求

    • Windows系统版本最低Windows10+/Windows Server 2019+
    • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
    • CPU: 至少1vCPU
    • 内存: Bot无其他插件会占用200~300MB,其他插件占用视具体插件而定,建议1GB以上
    • 硬盘: 至少1GB空间

    注意

    如果设备上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径

    提示

    推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用python -m venv venv来创建虚拟环境,然后使用venv\\Scripts\\activate来激活虚拟环境

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能

    其他问题请移步至答疑

    ',6);function f(w,x){const o=a("ExternalLinkIcon");return l(),c("div",null,[d,t("ol",null,[t("li",null,[e("安装 "),t("a",p,[h,n(o)]),e(" 和 "),t("a",m,[u,n(o)]),e(" 环境")]),y,_,g,v]),k])}const b=i(s,[["render",f],["__file","install.html.vue"]]),L=JSON.parse('{"path":"/deployment/install.html","title":"安装","lang":"zh-CN","frontmatter":{"title":"安装","icon":"download","order":1,"category":"使用指南","tag":["安装"],"description":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版...","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":"开始安装 安装 Git 和 Python3.10+ 环境 克隆项目 git clone https://github.com/snowykami/LiteyukiBot 进入轻雪目录 cd LiteyukiBot 安装依赖 pip install -r requirements.txt 启动 python main.py 设备要求 Windows系统版..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-12T05:07:19.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"安装"}],["meta",{"property":"article:modified_time","content":"2024-04-12T05:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"安装\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-12T05:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"开始安装","slug":"开始安装","link":"#开始安装","children":[]},{"level":2,"title":"设备要求","slug":"设备要求","link":"#设备要求","children":[]}],"git":{"createdTime":1711589926000,"updatedTime":1712898439000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":7}]},"readingTime":{"minutes":1.05,"words":316},"filePathRelative":"deployment/install.md","localizedDate":"2024年3月28日","autoDesc":true}');export{b as comp,L as data}; diff --git a/assets/lyapi.html-zH_XjkC-.js b/assets/lyapi.html-BBqHSiwl.js similarity index 98% rename from assets/lyapi.html-zH_XjkC-.js rename to assets/lyapi.html-BBqHSiwl.js index 5de65091..186d8898 100644 --- a/assets/lyapi.html-zH_XjkC-.js +++ b/assets/lyapi.html-BBqHSiwl.js @@ -1 +1 @@ -import{_ as e,o,c as t,e as i}from"./app-CM8cxaVt.js";const c={},l=i('

    轻雪API

    轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署

    接口

    • url https://api.liteyuki.icu

    • POST /register 注册一个Bot

      • 参数
        • name string Bot名称
        • version string Bot版本
        • version_id int Bot版本ID
        • python string Python版本
        • os string 操作系统
      • 返回
        • code int 状态码
        • liteyuki_id string 轻雪ID
    • POST /bug_report 上报错误

      • 参数
        • liteyuki_id string 轻雪ID
        • content string 错误信息
        • device_info string 设备信息
      • 返回
        • code int 状态码
        • report_id string 错误ID
    • POST /upload_image 图床上传

      • 参数
        • image file 图片文件
        • liteyuki_id string 轻雪ID,用于鉴权
      • 返回
        • code int 状态码
        • url string 图床链接
    ',4),d=[l];function r(n,a){return o(),t("div",null,d)}const s=e(c,[["render",r],["__file","lyapi.html.vue"]]),u=JSON.parse('{"path":"/usage/lyapi.html","title":"轻雪API","lang":"zh-CN","frontmatter":{"title":"轻雪API","icon":"code","order":4,"category":"使用指南","tag":["配置","部署"],"description":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/lyapi.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"轻雪API"}],["meta",{"property":"og:description","content":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-20T09:02:57.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-20T09:02:57.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"轻雪API\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-20T09:02:57.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"轻雪API","slug":"轻雪api","link":"#轻雪api","children":[]}],"git":{"createdTime":1713603777000,"updatedTime":1713603777000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.67,"words":200},"filePathRelative":"usage/lyapi.md","localizedDate":"2024年4月20日","autoDesc":true}');export{s as comp,u as data}; +import{_ as e,o,c as t,e as i}from"./app-Dor1UG7c.js";const c={},l=i('

    轻雪API

    轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署

    接口

    • url https://api.liteyuki.icu

    • POST /register 注册一个Bot

      • 参数
        • name string Bot名称
        • version string Bot版本
        • version_id int Bot版本ID
        • python string Python版本
        • os string 操作系统
      • 返回
        • code int 状态码
        • liteyuki_id string 轻雪ID
    • POST /bug_report 上报错误

      • 参数
        • liteyuki_id string 轻雪ID
        • content string 错误信息
        • device_info string 设备信息
      • 返回
        • code int 状态码
        • report_id string 错误ID
    • POST /upload_image 图床上传

      • 参数
        • image file 图片文件
        • liteyuki_id string 轻雪ID,用于鉴权
      • 返回
        • code int 状态码
        • url string 图床链接
    ',4),d=[l];function r(n,a){return o(),t("div",null,d)}const s=e(c,[["render",r],["__file","lyapi.html.vue"]]),u=JSON.parse('{"path":"/usage/lyapi.html","title":"轻雪API","lang":"zh-CN","frontmatter":{"title":"轻雪API","icon":"code","order":4,"category":"使用指南","tag":["配置","部署"],"description":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/usage/lyapi.html"}],["meta",{"property":"og:site_name","content":"LiteyukiBot 轻雪机器人"}],["meta",{"property":"og:title","content":"轻雪API"}],["meta",{"property":"og:description","content":"轻雪API 轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 接口 url https://api.liteyuki.icu POST /register 注册一个Bot 参数 name string Bot名称 version string Bot版本 version_id i..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-04-20T09:02:57.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:tag","content":"配置"}],["meta",{"property":"article:tag","content":"部署"}],["meta",{"property":"article:modified_time","content":"2024-04-20T09:02:57.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"轻雪API\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-20T09:02:57.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[{"level":2,"title":"轻雪API","slug":"轻雪api","link":"#轻雪api","children":[]}],"git":{"createdTime":1713603777000,"updatedTime":1713603777000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.67,"words":200},"filePathRelative":"usage/lyapi.md","localizedDate":"2024年4月20日","autoDesc":true}');export{s as comp,u as data}; diff --git a/assets/plugin.html-BfiwTqrq.js b/assets/plugin.html-BzdnDX12.js similarity index 95% rename from assets/plugin.html-BfiwTqrq.js rename to assets/plugin.html-BzdnDX12.js index 91cc23ab..6ebd264a 100644 --- a/assets/plugin.html-BfiwTqrq.js +++ b/assets/plugin.html-BzdnDX12.js @@ -1 +1 @@ -import{_ as t,r as o,o as r,c as n,a}from"./app-CM8cxaVt.js";const p={};function i(m,c){const e=o("pluginStoreComp");return r(),n("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["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-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data}; +import{_ as t,r as o,o as r,c as n,a}from"./app-Dor1UG7c.js";const p={};function i(m,c){const e=o("pluginStoreComp");return r(),n("div",null,[a(e)])}const s=t(p,[["render",i],["__file","plugin.html.vue"]]),d=JSON.parse('{"path":"/store/plugin.html","title":"插件商店","lang":"zh-CN","frontmatter":{"title":"插件商店","icon":"plug","order":2,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/plugin.html"}],["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-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"插件商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/plugin.md","localizedDate":"2024年4月19日"}');export{s as comp,d as data}; diff --git a/assets/resource.html-BX6mi38o.js b/assets/resource.html-xoWBW9lI.js similarity index 96% rename from assets/resource.html-BX6mi38o.js rename to assets/resource.html-xoWBW9lI.js index 98f7db59..b75331b3 100644 --- a/assets/resource.html-BX6mi38o.js +++ b/assets/resource.html-xoWBW9lI.js @@ -1 +1 @@ -import{_ as t,r as o,o as r,c as a,a as n}from"./app-CM8cxaVt.js";const c={};function m(s,p){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",m],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["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-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data}; +import{_ as t,r as o,o as r,c as a,a as n}from"./app-Dor1UG7c.js";const c={};function m(s,p){const e=o("resourceStoreComp");return r(),a("div",null,[n(e)])}const l=t(c,[["render",m],["__file","resource.html.vue"]]),d=JSON.parse('{"path":"/store/resource.html","title":"资源商店","lang":"zh-CN","frontmatter":{"title":"资源商店","icon":"box","order":1,"category":"使用手册","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/store/resource.html"}],["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-04-19T20:10:20.000Z"}],["meta",{"property":"article:author","content":"远野千束"}],["meta",{"property":"article:modified_time","content":"2024-04-19T20:10:20.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"资源商店\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-19T20:10:20.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"远野千束\\",\\"url\\":\\"https://snowykami.me\\"}]}"]]},"headers":[],"git":{"createdTime":1713557420000,"updatedTime":1713557420000,"contributors":[{"name":"snowy","email":"snowykami@outlook.com","commits":1}]},"readingTime":{"minutes":0.05,"words":16},"filePathRelative":"store/resource.md","localizedDate":"2024年4月19日"}');export{l as comp,d as data}; diff --git a/assets/resource_pack.html-Cnasu6k6.js b/assets/resource_pack.html-CJyKyj07.js similarity index 99% rename from assets/resource_pack.html-Cnasu6k6.js rename to assets/resource_pack.html-CJyKyj07.js index aee64585..e486c655 100644 --- a/assets/resource_pack.html-Cnasu6k6.js +++ b/assets/resource_pack.html-CJyKyj07.js @@ -1,4 +1,4 @@ -import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-CM8cxaVt.js";const r={},u=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),p=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),y=d(`

    加载资源包

    • 资源包通常是以.zip格式压缩的,只需要将其解压到根目录resources目录下即可,注意不要嵌套文件夹,正常的路径应该是这样的
    main.py
    +import{_ as a,r as s,o as l,c as o,b as e,a as i,w as c,d as t,e as d}from"./app-Dor1UG7c.js";const r={},u=e("h2",{id:"简介",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#简介"},[e("span",null,"简介")])],-1),p=e("p",null,"资源包,亦可根据用途称为主题包、字体包、语言包等,它允许你一定程度上自定义轻雪的外观,并且不用修改源代码",-1),m=e("li",null,[t("资源包的制作很简单,如果你接触过"),e("code",null,"Minecraft"),t("的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。")],-1),h=e("li",null,[t("部分内容制作需要一点点前端基础,例如"),e("code",null,"html"),t(","),e("code",null,"css")],-1),v=e("li",null,[t("轻雪原版资源包请查看"),e("code",null,"LiteyukiBot/liteyuki/resources"),t(",可以在此基础上进行修改")],-1),_=e("li",null,"欢迎各位投稿资源包到轻雪资源商店",-1),y=d(`

    加载资源包

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

    配置

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

    首次运行后生成config.yml,你可以修改配置项后重启轻雪,绝大多数情况下,你只需要修改superusersnickname字段即可

    基础配置项

    command_start: [ "/", "" ] # 指令前缀,若没有""空命令头,请开启alconna_use_command_start保证alconna解析正常
    @@ -54,6 +54,6 @@
     custom_config_2: "custom_value2"
     ...
     

    提示

    如果要使用dotenv配置文件,请自行创建.env.{ENVIRONMENT},并在config.yml中添加environment:{ENVIRONMENT}字段

    OneBot实现端配置

    生产环境中推荐反向WebSocket 不同的实现端给出的字段可能不同,但是基本上都是一样的,这里给出一个参考值

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

    其他

    • 要使用其他通信方式请访问OneBot Adapteropen in new window获取详细信息
    • 轻雪不局限于OneBot适配器,你可以使用NoneBot2支持的任何适配器
    - + diff --git a/deployment/fandq.html b/deployment/fandq.html index b24ff003..81895533 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而不是命令
    • 更新轻雪失败,报错InvalidGitRepositoryError

      • 请正确安装Git,并使用克隆而非直接下载的方式部署轻雪
    • 怎么登录聊天平台,例如QQ?

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

      • 输入playwright install安装浏览器
    • 有的插件安装后报错无法启动

      • 请先查阅插件文档,确认插件必要配置项完好后,仍然出现问题,请联系插件作者或在安全模式safe_mode: true下启动轻雪,在安全模式下你可以使用npm uninstall卸载问题插件
    • 其他问题

      加入QQ群775840726open in new window

    推荐方案(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 38e5ee83..26b03b90 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 8c0e5d8c..cd53ada7 100644 --- a/deployment/install.html +++ b/deployment/install.html @@ -30,11 +30,11 @@ 安装 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    安装

    远野千束大约 1 分钟使用指南安装

    开始安装

    1. 安装 Gitopen in new windowPython3.10+open in new window 环境
    2. 克隆项目 git clone https://github.com/snowykami/LiteyukiBot
    3. 进入轻雪目录 cd LiteyukiBot
    4. 安装依赖 pip install -r requirements.txt
    5. 启动 python main.py

    设备要求

    • Windows系统版本最低Windows10+/Windows Server 2019+
    • Linux系统要支持Python3.10+,推荐Ubuntu 20.04+(别用你那b CentOS)
    • CPU: 至少1vCPU
    • 内存: Bot无其他插件会占用200~300MB,其他插件占用视具体插件而定,建议1GB以上
    • 硬盘: 至少1GB空间

    注意

    如果设备上有多个环境,请使用path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径

    提示

    推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用python -m venv venv来创建虚拟环境,然后使用venv\Scripts\activate来激活虚拟环境

    注意

    轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能

    其他问题请移步至答疑

    - + diff --git a/foolsday.html b/foolsday.html index 8de92020..dadca8a0 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 6a8ab97d..99c4fbcd 100644 --- a/index.html +++ b/index.html @@ -30,11 +30,11 @@ 首页 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容
    LiteyukiBot

    LiteyukiBot

    轻雪机器人,一个以轻量和简洁为设计理念基于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/store/index.html b/store/index.html index 5e939d42..88d03509 100644 --- a/store/index.html +++ b/store/index.html @@ -30,11 +30,11 @@ 资源商店 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/store/plugin.html b/store/plugin.html index 1155d351..2eb9e11f 100644 --- a/store/plugin.html +++ b/store/plugin.html @@ -30,11 +30,11 @@ 插件商店 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    插件商店

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

    插件商店

    所有内容来自NoneBot插件商店,在此仅作引用,具体请访问NoneBot插件商店

    - + diff --git a/store/resource.html b/store/resource.html index f75b186b..00ce621d 100644 --- a/store/resource.html +++ b/store/resource.html @@ -30,11 +30,11 @@ 资源商店 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/agreement.html b/usage/agreement.html index 2b824e6a..a6df70ee 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 80742a3f..f3c47c65 100644 --- a/usage/basic_command.html +++ b/usage/basic_command.html @@ -30,8 +30,8 @@ 基础命令 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    基础命令

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

    基础插件

    轻雪 liteyuki

    # 仅超级用户
    @@ -84,6 +84,6 @@ profile set <key>  # 获取用户信息
     

    命令别名

    profile 个人信息 | set 设置 | get 查询
     

    提示

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

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

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

    功能命令

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

    功能插件命令

    轻雪天气liteyuki_weather

    配置项

    weather_key: "" # 和风天气的天气key,会自动判断key版本
    @@ -39,6 +39,6 @@
     bind-city <keywords...> # 绑定查询城市,个人全局生效
     

    命令别名

    weather 天气, bind-city 绑定城市
     
    - + diff --git a/usage/index.html b/usage/index.html index 9bab9232..60aecc3e 100644 --- a/usage/index.html +++ b/usage/index.html @@ -30,11 +30,11 @@ 使用手册 | LiteyukiBot 轻雪机器人 - - + + - + diff --git a/usage/lyapi.html b/usage/lyapi.html index 6882db0d..a42e6262 100644 --- a/usage/lyapi.html +++ b/usage/lyapi.html @@ -30,11 +30,11 @@ 轻雪API | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    轻雪API

    远野千束小于 1 分钟使用指南配置部署

    轻雪API

    轻雪API是轻雪运行中部分服务的支持,由go语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署

    接口

    • url https://api.liteyuki.icu

    • POST /register 注册一个Bot

      • 参数
        • name string Bot名称
        • version string Bot版本
        • version_id int Bot版本ID
        • python string Python版本
        • os string 操作系统
      • 返回
        • code int 状态码
        • liteyuki_id string 轻雪ID
    • POST /bug_report 上报错误

      • 参数
        • liteyuki_id string 轻雪ID
        • content string 错误信息
        • device_info string 设备信息
      • 返回
        • code int 状态码
        • report_id string 错误ID
    • POST /upload_image 图床上传

      • 参数
        • image file 图片文件
        • liteyuki_id string 轻雪ID,用于鉴权
      • 返回
        • code int 状态码
        • url string 图床链接
    - + diff --git a/usage/resource_pack.html b/usage/resource_pack.html index f316c22d..5dc8f0e2 100644 --- a/usage/resource_pack.html +++ b/usage/resource_pack.html @@ -30,8 +30,8 @@ 资源包 | LiteyukiBot 轻雪机器人 - - + +
    跳至主要內容

    资源包

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

    简介

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

    • 资源/主题商店提供了一些资源包供你选择,你也可以自己制作资源包
    • 资源包的制作很简单,如果你接触过Minecraft的资源包,那么你能够很快就上手,仅需按照原有路径进行文件替换即可,讲起打包成一个新的资源包。
    • 部分内容制作需要一点点前端基础,例如htmlcss
    • 轻雪原版资源包请查看LiteyukiBot/liteyuki/resources,可以在此基础上进行修改
    • 欢迎各位投稿资源包到轻雪资源商店

    加载资源包

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