From 69732ffdc62301c2a7147e9b59fc74d6c8ef8240 Mon Sep 17 00:00:00 2001 From: snowykami <79104275+snowykami@users.noreply.github.com> Date: Thu, 28 Mar 2024 00:34:37 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20snowykam?= =?UTF-8?q?i/LiteyukiBot@d44b5ea1432ae6a93d09301f20348e66e4c86669=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 12 ++++++------ assets/404.html-CGEyd3Jw.js | 1 + assets/404.html-Dq4CCI7U.js | 1 - assets/{app-DWrNKq41.js => app-BYnUfdg1.js} | 10 +++++----- assets/baz.html-CG8XCitk.js | 1 - assets/baz.html-aCuC0nt8.js | 1 + assets/disable.html-CbhAOH3W.js | 1 - assets/disable.html-OPQl2VYW.js | 1 + ...t.html-PAcI9gSH.js => encrypt.html-C4mjmBNR.js} | 2 +- assets/index.html-BGqtMrmu.js | 1 + assets/index.html-BK-fZbfa.js | 1 + assets/index.html-C1y5mnR6.js | 1 - assets/index.html-CAlHzZ3b.js | 1 - ...dex.html-BdEcrsSE.js => index.html-CXXUcnPs.js} | 2 +- assets/index.html-CkY4_Ula.js | 1 - assets/index.html-DDB0PI-4.js | 1 + assets/index.html-DF8veFzg.js | 1 - assets/index.html-DwdAzt6b.js | 1 + ...ut.html-B1rZBSH6.js => layout.html-Bx03pogv.js} | 2 +- ....html-DTvqD_fi.js => markdown.html-DpbWIrbc.js} | 10 +++++----- ...page.html-DZ8A3Ekl.js => page.html-DH07K8Qr.js} | 4 ++-- assets/ray.html-BWF03gSh.js | 1 - assets/ray.html-D7XHrIsG.js | 1 + demo/disable.html | 10 +++++----- demo/encrypt.html | 10 +++++----- demo/index.html | 12 ++++++------ demo/layout.html | 12 ++++++------ demo/markdown.html | 14 +++++++------- demo/page.html | 14 +++++++------- guide/bar/baz.html | 12 ++++++------ guide/bar/index.html | 12 ++++++------ guide/foo/index.html | 12 ++++++------ guide/foo/ray.html | 12 ++++++------ guide/index.html | 12 ++++++------ index.html | 12 ++++++------ robots.txt | 2 +- sitemap.xml | 4 ++-- 37 files changed, 104 insertions(+), 104 deletions(-) create mode 100644 assets/404.html-CGEyd3Jw.js delete mode 100644 assets/404.html-Dq4CCI7U.js rename assets/{app-DWrNKq41.js => app-BYnUfdg1.js} (85%) delete mode 100644 assets/baz.html-CG8XCitk.js create mode 100644 assets/baz.html-aCuC0nt8.js delete mode 100644 assets/disable.html-CbhAOH3W.js create mode 100644 assets/disable.html-OPQl2VYW.js rename assets/{encrypt.html-PAcI9gSH.js => encrypt.html-C4mjmBNR.js} (95%) create mode 100644 assets/index.html-BGqtMrmu.js create mode 100644 assets/index.html-BK-fZbfa.js delete mode 100644 assets/index.html-C1y5mnR6.js delete mode 100644 assets/index.html-CAlHzZ3b.js rename assets/{index.html-BdEcrsSE.js => index.html-CXXUcnPs.js} (86%) delete mode 100644 assets/index.html-CkY4_Ula.js create mode 100644 assets/index.html-DDB0PI-4.js delete mode 100644 assets/index.html-DF8veFzg.js create mode 100644 assets/index.html-DwdAzt6b.js rename assets/{layout.html-B1rZBSH6.js => layout.html-Bx03pogv.js} (57%) rename assets/{markdown.html-DTvqD_fi.js => markdown.html-DpbWIrbc.js} (84%) rename assets/{page.html-DZ8A3Ekl.js => page.html-DH07K8Qr.js} (54%) delete mode 100644 assets/ray.html-BWF03gSh.js create mode 100644 assets/ray.html-D7XHrIsG.js diff --git a/404.html b/404.html index d18e795e..7360c071 100644 --- a/404.html +++ b/404.html @@ -28,13 +28,13 @@ document.documentElement.setAttribute("data-theme", "dark"); } - 文档演示 - - - + 文档演示 + + + -
跳至主要內容

404

页面不存在

看起来你访问了一个失效的链接

- +
跳至主要內容

404

页面不存在

这里什么也没有

+ diff --git a/assets/404.html-CGEyd3Jw.js b/assets/404.html-CGEyd3Jw.js new file mode 100644 index 00000000..5d7c5f07 --- /dev/null +++ b/assets/404.html-CGEyd3Jw.js @@ -0,0 +1 @@ +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,a as n}from"./app-BYnUfdg1.js";const r={},a=n("p",null,"404 Not Found",-1),p=[a];function c(s,i){return e(),o("div",null,p)}const d=t(r,[["render",c],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/LiteyukiBot/404.html"}],["meta",{"property":"og:site_name","content":"文档演示"}],["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":"Mr.Hope"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,h as data}; diff --git a/assets/404.html-Dq4CCI7U.js b/assets/404.html-Dq4CCI7U.js deleted file mode 100644 index 1be0ac4d..00000000 --- a/assets/404.html-Dq4CCI7U.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,a as n}from"./app-DWrNKq41.js";const r={},a=n("p",null,"404 Not Found",-1),p=[a];function c(s,i){return e(),o("div",null,p)}const d=t(r,[["render",c],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/404.html"}],["meta",{"property":"og:site_name","content":"文档演示"}],["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":"Mr.Hope"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,h as data}; diff --git a/assets/app-DWrNKq41.js b/assets/app-BYnUfdg1.js similarity index 85% rename from assets/app-DWrNKq41.js rename to assets/app-BYnUfdg1.js index 27bf14c4..306b8d3e 100644 --- a/assets/app-DWrNKq41.js +++ b/assets/app-BYnUfdg1.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index.html-BdEcrsSE.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/index.html-C1y5mnR6.js","assets/disable.html-CbhAOH3W.js","assets/encrypt.html-PAcI9gSH.js","assets/layout.html-B1rZBSH6.js","assets/markdown.html-DTvqD_fi.js","assets/page.html-DZ8A3Ekl.js","assets/index.html-CAlHzZ3b.js","assets/index.html-DF8veFzg.js","assets/baz.html-CG8XCitk.js","assets/index.html-CkY4_Ula.js","assets/ray.html-BWF03gSh.js","assets/404.html-Dq4CCI7U.js"] + __vite__mapDeps.viteFileDeps = ["assets/index.html-CXXUcnPs.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/index.html-DDB0PI-4.js","assets/disable.html-OPQl2VYW.js","assets/encrypt.html-C4mjmBNR.js","assets/layout.html-Bx03pogv.js","assets/markdown.html-DpbWIrbc.js","assets/page.html-DH07K8Qr.js","assets/index.html-BK-fZbfa.js","assets/index.html-DwdAzt6b.js","assets/baz.html-aCuC0nt8.js","assets/index.html-BGqtMrmu.js","assets/ray.html-D7XHrIsG.js","assets/404.html-CGEyd3Jw.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -20,15 +20,15 @@ function __vite__mapDeps(indexes) { * @vue/runtime-dom v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const O1="http://www.w3.org/2000/svg",M1="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,kl=jt&&jt.createElement("template"),N1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?jt.createElementNS(O1,e):t==="mathml"?jt.createElementNS(M1,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{kl.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=kl.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$t="transition",zn="animation",An=Symbol("_vtc"),qt=(e,{slots:t})=>f(Hf,Ri(e),t);qt.displayName="Transition";const Pi={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},D1=qt.props=Ae({},fi,Pi),Kt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function Ri(e){const t={};for(const R in e)R in Pi||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=j1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:y,onEnter:C,onEnterCancelled:b,onLeave:k,onLeaveCancelled:M,onBeforeAppear:S=y,onAppear:N=C,onAppearCancelled:P=b}=t,K=(R,Z,ye)=>{Ot(R,Z?u:a),Ot(R,Z?c:l),ye&&ye()},$=(R,Z)=>{R._isLeaving=!1,Ot(R,d),Ot(R,v),Ot(R,p),Z&&Z()},V=R=>(Z,ye)=>{const ve=R?N:C,q=()=>K(Z,R,ye);Kt(ve,[Z,q]),Al(()=>{Ot(Z,R?i:s),Ct(Z,R?u:a),Tl(ve)||Ll(Z,r,_,q)})};return Ae(t,{onBeforeEnter(R){Kt(y,[R]),Ct(R,s),Ct(R,l)},onBeforeAppear(R){Kt(S,[R]),Ct(R,i),Ct(R,c)},onEnter:V(!1),onAppear:V(!0),onLeave(R,Z){R._isLeaving=!0;const ye=()=>$(R,Z);Ct(R,d),Mi(),Ct(R,p),Al(()=>{R._isLeaving&&(Ot(R,d),Ct(R,v),Tl(k)||Ll(R,r,w,ye))}),Kt(k,[R,ye])},onEnterCancelled(R){K(R,!1),Kt(b,[R])},onAppearCancelled(R){K(R,!0),Kt(P,[R])},onLeaveCancelled(R){$(R),Kt(M,[R])}})}function j1(e){if(e==null)return null;if(pe(e))return[Ao(e.enter),Ao(e.leave)];{const t=Ao(e);return[t,t]}}function Ao(e){return Bu(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[An]||(e[An]=new Set)).add(t)}function Ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[An];n&&(n.delete(t),n.size||(e[An]=void 0))}function Al(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let B1=0;function Ll(e,t,n,r){const o=e._endId=++B1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Oi(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u(n[g]||"").split(", "),o=r(`${$t}Delay`),s=r(`${$t}Duration`),l=Il(o,s),a=r(`${zn}Delay`),i=r(`${zn}Duration`),c=Il(a,i);let u=null,d=0,p=0;t===$t?l>0&&(u=$t,d=l,p=s.length):t===zn?c>0&&(u=zn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?$t:zn:null,p=u?u===$t?s.length:i.length:0);const v=u===$t&&/\b(transform|all)(,|$)/.test(r(`${$t}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Il(e,t){for(;e.length$l(n)+$l(e[r])))}function $l(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Mi(){return document.body.offsetHeight}function F1(e,t,n){const r=e[An];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Pl=Symbol("_vod"),H1=Symbol("_vsh"),z1=Symbol(""),V1=/(^|;)\s*display\s*:/;function q1(e,t,n){const r=e.style,o=Ce(n);let s=!1;if(n&&!o){if(t)if(Ce(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Gr(r,a,"")}else for(const l in t)n[l]==null&&Gr(r,l,"");for(const l in n)l==="display"&&(s=!0),Gr(r,l,n[l])}else if(o){if(t!==n){const l=r[z1];l&&(n+=";"+l),r.cssText=n,s=V1.test(n)}}else t&&e.removeAttribute("style");Pl in e&&(e[Pl]=s?r.display:"",e[H1]&&(r.display="none"))}const Rl=/\s*!important$/;function Gr(e,t,n){if(X(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=U1(e,t);Rl.test(n)?e.setProperty(On(r),n.replace(Rl,""),"important"):e[r]=n}}const Ol=["Webkit","Moz","ms"],Lo={};function U1(e,t){const n=Lo[t];if(n)return n;let r=lt(t);if(r!=="filter"&&r in e)return Lo[t]=r;r=mr(r);for(let o=0;oIo||(X1.then(()=>Io=0),Io=Date.now());function ed(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;rt(td(r,n.value),t,5,[r])};return n.value=e,n.attached=Z1(),n}function td(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const jl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nd=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?F1(e,r,c):t==="style"?q1(e,n,r):vr(t)?ys(t)||J1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rd(e,t,r,c))?G1(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),W1(e,t,r,c))};function rd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&jl(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return jl(t)&&Ce(n)?!1:t in e}const Ni=new WeakMap,Di=new WeakMap,no=Symbol("_moveCb"),Bl=Symbol("_enterCb"),ji={name:"TransitionGroup",props:Ae({},D1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=_r(),r=ui();let o,s;return hi(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!cd(o[0].el,n.vnode.el,l))return;o.forEach(ld),o.forEach(ad);const a=o.filter(id);Mi(),a.forEach(i=>{const c=i.el,u=c.style;Ct(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[no]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[no]=null,Ot(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=Ri(l);let i=l.tag||Je;o=s,s=t.default?Rs(t.default()):[];for(let c=0;cdelete e.mode;ji.props;const sd=ji;function ld(e){const t=e.el;t[no]&&t[no](),t[Bl]&&t[Bl]()}function ad(e){Di.set(e,e.el.getBoundingClientRect())}function id(e){const t=Ni.get(e),n=Di.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function cd(e,t,n){const r=e.cloneNode(),o=e[An];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=Oi(r);return s.removeChild(r),l}const ud=Ae({patchProp:nd},N1);let $o,Fl=!1;function fd(){return $o=Fl?$o:h1(ud),Fl=!0,$o}const dd=(...e)=>{const t=fd().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=hd(r);if(o)return n(o,!0,pd(o))},t};function pd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hd(e){return Ce(e)?document.querySelector(e):e}var vd=["link","meta","script","style","noscript","template"],md=["title","base"],gd=([e,t,n])=>md.includes(e)?e:vd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,bd=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=gd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},yd=e=>e[0]==="/"?e:`/${e}`,Bi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sn=e=>/^(https?:)?\/\//.test(e),wd=/.md((\?|#).*)?$/,Ln=(e,t="/")=>!!(sn(e)||e.startsWith("/")&&!e.startsWith(t)&&!wd.test(e)),Fi=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Nn=e=>Object.prototype.toString.call(e)==="[object Object]",_d=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},js=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Hi=e=>e[0]==="/"?e.slice(1):e,Ed=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Te=e=>typeof e=="string";const Cd="modulepreload",Sd=function(e){return"/"+e},Hl={},Be=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=Sd(i),i in Hl)return;Hl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Cd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},xd=JSON.parse("{}"),kd=Object.fromEntries([["/",{loader:()=>Be(()=>import("./index.html-BdEcrsSE.js"),__vite__mapDeps([0,1])),meta:{t:"项目主页",i:"home"}}],["/demo/",{loader:()=>Be(()=>import("./index.html-C1y5mnR6.js"),__vite__mapDeps([2,1])),meta:{t:"主要功能与配置演示",i:"laptop-code"}}],["/demo/disable.html",{loader:()=>Be(()=>import("./disable.html-CbhAOH3W.js"),__vite__mapDeps([3,1])),meta:{t:"布局与功能禁用",i:"gears",O:4}}],["/demo/encrypt.html",{loader:()=>Be(()=>import("./encrypt.html-PAcI9gSH.js"),__vite__mapDeps([4,1])),meta:{t:"密码加密的文章",i:"lock"}}],["/demo/layout.html",{loader:()=>Be(()=>import("./layout.html-B1rZBSH6.js"),__vite__mapDeps([5,1])),meta:{t:"布局",i:"object-group",O:2}}],["/demo/markdown.html",{loader:()=>Be(()=>import("./markdown.html-DTvqD_fi.js"),__vite__mapDeps([6,1])),meta:{t:"Markdown 展示",i:"fab fa-markdown",O:2}}],["/demo/page.html",{loader:()=>Be(()=>import("./page.html-DZ8A3Ekl.js"),__vite__mapDeps([7,1])),meta:{t:"页面配置",i:"file",O:3}}],["/guide/",{loader:()=>Be(()=>import("./index.html-CAlHzZ3b.js"),__vite__mapDeps([8,1])),meta:{t:"指南",i:"lightbulb"}}],["/guide/bar/",{loader:()=>Be(()=>import("./index.html-DF8veFzg.js"),__vite__mapDeps([9,1])),meta:{t:"Bar 功能",i:"lightbulb"}}],["/guide/bar/baz.html",{loader:()=>Be(()=>import("./baz.html-CG8XCitk.js"),__vite__mapDeps([10,1])),meta:{t:"Baz",i:"circle-info"}}],["/guide/foo/",{loader:()=>Be(()=>import("./index.html-CkY4_Ula.js"),__vite__mapDeps([11,1])),meta:{t:"Foo 功能",i:"lightbulb"}}],["/guide/foo/ray.html",{loader:()=>Be(()=>import("./ray.html-BWF03gSh.js"),__vite__mapDeps([12,1])),meta:{t:"Ray",i:"circle-info"}}],["/404.html",{loader:()=>Be(()=>import("./404.html-Dq4CCI7U.js"),__vite__mapDeps([13,1])),meta:{t:""}}]]);/*! +**/const O1="http://www.w3.org/2000/svg",M1="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,kl=jt&&jt.createElement("template"),N1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?jt.createElementNS(O1,e):t==="mathml"?jt.createElementNS(M1,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const l=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{kl.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=kl.content;if(r==="svg"||r==="mathml"){const i=a.firstChild;for(;i.firstChild;)a.appendChild(i.firstChild);a.removeChild(i)}t.insertBefore(a,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},$t="transition",zn="animation",An=Symbol("_vtc"),qt=(e,{slots:t})=>f(Hf,Ri(e),t);qt.displayName="Transition";const Pi={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},D1=qt.props=Ae({},fi,Pi),Kt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tl=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function Ri(e){const t={};for(const R in e)R in Pi||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=s,appearActiveClass:c=l,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=j1(o),_=g&&g[0],w=g&&g[1],{onBeforeEnter:y,onEnter:C,onEnterCancelled:b,onLeave:k,onLeaveCancelled:M,onBeforeAppear:S=y,onAppear:N=C,onAppearCancelled:P=b}=t,K=(R,Z,ye)=>{Ot(R,Z?u:a),Ot(R,Z?c:l),ye&&ye()},$=(R,Z)=>{R._isLeaving=!1,Ot(R,d),Ot(R,v),Ot(R,p),Z&&Z()},V=R=>(Z,ye)=>{const ve=R?N:C,q=()=>K(Z,R,ye);Kt(ve,[Z,q]),Al(()=>{Ot(Z,R?i:s),Ct(Z,R?u:a),Tl(ve)||Ll(Z,r,_,q)})};return Ae(t,{onBeforeEnter(R){Kt(y,[R]),Ct(R,s),Ct(R,l)},onBeforeAppear(R){Kt(S,[R]),Ct(R,i),Ct(R,c)},onEnter:V(!1),onAppear:V(!0),onLeave(R,Z){R._isLeaving=!0;const ye=()=>$(R,Z);Ct(R,d),Mi(),Ct(R,p),Al(()=>{R._isLeaving&&(Ot(R,d),Ct(R,v),Tl(k)||Ll(R,r,w,ye))}),Kt(k,[R,ye])},onEnterCancelled(R){K(R,!1),Kt(b,[R])},onAppearCancelled(R){K(R,!0),Kt(P,[R])},onLeaveCancelled(R){$(R),Kt(M,[R])}})}function j1(e){if(e==null)return null;if(pe(e))return[Ao(e.enter),Ao(e.leave)];{const t=Ao(e);return[t,t]}}function Ao(e){return Bu(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[An]||(e[An]=new Set)).add(t)}function Ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[An];n&&(n.delete(t),n.size||(e[An]=void 0))}function Al(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let B1=0;function Ll(e,t,n,r){const o=e._endId=++B1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=Oi(e,t);if(!l)return r();const c=l+"end";let u=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++u>=i&&d()};setTimeout(()=>{u(n[g]||"").split(", "),o=r(`${$t}Delay`),s=r(`${$t}Duration`),l=Il(o,s),a=r(`${zn}Delay`),i=r(`${zn}Duration`),c=Il(a,i);let u=null,d=0,p=0;t===$t?l>0&&(u=$t,d=l,p=s.length):t===zn?c>0&&(u=zn,d=c,p=i.length):(d=Math.max(l,c),u=d>0?l>c?$t:zn:null,p=u?u===$t?s.length:i.length:0);const v=u===$t&&/\b(transform|all)(,|$)/.test(r(`${$t}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:v}}function Il(e,t){for(;e.length$l(n)+$l(e[r])))}function $l(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Mi(){return document.body.offsetHeight}function F1(e,t,n){const r=e[An];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Pl=Symbol("_vod"),H1=Symbol("_vsh"),z1=Symbol(""),V1=/(^|;)\s*display\s*:/;function q1(e,t,n){const r=e.style,o=Ce(n);let s=!1;if(n&&!o){if(t)if(Ce(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Gr(r,a,"")}else for(const l in t)n[l]==null&&Gr(r,l,"");for(const l in n)l==="display"&&(s=!0),Gr(r,l,n[l])}else if(o){if(t!==n){const l=r[z1];l&&(n+=";"+l),r.cssText=n,s=V1.test(n)}}else t&&e.removeAttribute("style");Pl in e&&(e[Pl]=s?r.display:"",e[H1]&&(r.display="none"))}const Rl=/\s*!important$/;function Gr(e,t,n){if(X(n))n.forEach(r=>Gr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=U1(e,t);Rl.test(n)?e.setProperty(On(r),n.replace(Rl,""),"important"):e[r]=n}}const Ol=["Webkit","Moz","ms"],Lo={};function U1(e,t){const n=Lo[t];if(n)return n;let r=lt(t);if(r!=="filter"&&r in e)return Lo[t]=r;r=mr(r);for(let o=0;oIo||(X1.then(()=>Io=0),Io=Date.now());function ed(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;rt(td(r,n.value),t,5,[r])};return n.value=e,n.attached=Z1(),n}function td(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const jl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,nd=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?F1(e,r,c):t==="style"?q1(e,n,r):vr(t)?ys(t)||J1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):rd(e,t,r,c))?G1(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),W1(e,t,r,c))};function rd(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&jl(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return jl(t)&&Ce(n)?!1:t in e}const Ni=new WeakMap,Di=new WeakMap,no=Symbol("_moveCb"),Bl=Symbol("_enterCb"),ji={name:"TransitionGroup",props:Ae({},D1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=_r(),r=ui();let o,s;return hi(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!cd(o[0].el,n.vnode.el,l))return;o.forEach(ld),o.forEach(ad);const a=o.filter(id);Mi(),a.forEach(i=>{const c=i.el,u=c.style;Ct(c,l),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[no]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[no]=null,Ot(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=Ri(l);let i=l.tag||Je;o=s,s=t.default?Rs(t.default()):[];for(let c=0;cdelete e.mode;ji.props;const sd=ji;function ld(e){const t=e.el;t[no]&&t[no](),t[Bl]&&t[Bl]()}function ad(e){Di.set(e,e.el.getBoundingClientRect())}function id(e){const t=Ni.get(e),n=Di.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function cd(e,t,n){const r=e.cloneNode(),o=e[An];o&&o.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:l}=Oi(r);return s.removeChild(r),l}const ud=Ae({patchProp:nd},N1);let $o,Fl=!1;function fd(){return $o=Fl?$o:h1(ud),Fl=!0,$o}const dd=(...e)=>{const t=fd().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=hd(r);if(o)return n(o,!0,pd(o))},t};function pd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hd(e){return Ce(e)?document.querySelector(e):e}var vd=["link","meta","script","style","noscript","template"],md=["title","base"],gd=([e,t,n])=>md.includes(e)?e:vd.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,bd=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=gd(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},yd=e=>e[0]==="/"?e:`/${e}`,Bi=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,sn=e=>/^(https?:)?\/\//.test(e),wd=/.md((\?|#).*)?$/,Ln=(e,t="/")=>!!(sn(e)||e.startsWith("/")&&!e.startsWith(t)&&!wd.test(e)),Fi=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Nn=e=>Object.prototype.toString.call(e)==="[object Object]",_d=e=>{const[t,...n]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let r=t.replace(/(^|\/)README.md$/i,"$1index.html");return r.endsWith(".md")?r=r.substring(0,r.length-3)+".html":r.endsWith(".html")||(r=r+".html"),r.endsWith("/index.html")&&(r=r.substring(0,r.length-10)),r+n.join("")},js=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Hi=e=>e[0]==="/"?e.slice(1):e,Ed=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Te=e=>typeof e=="string";const Cd="modulepreload",Sd=function(e){return"/LiteyukiBot/"+e},Hl={},Be=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=Promise.all(n.map(i=>{if(i=Sd(i),i in Hl)return;Hl[i]=!0;const c=i.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const g=s[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${u}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Cd,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,g)=>{p.addEventListener("load",v),p.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${i}`)))})}))}return o.then(()=>t()).catch(s=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s})},xd=JSON.parse("{}"),kd=Object.fromEntries([["/",{loader:()=>Be(()=>import("./index.html-CXXUcnPs.js"),__vite__mapDeps([0,1])),meta:{t:"项目主页",i:"home"}}],["/demo/",{loader:()=>Be(()=>import("./index.html-DDB0PI-4.js"),__vite__mapDeps([2,1])),meta:{t:"主要功能与配置演示",i:"laptop-code"}}],["/demo/disable.html",{loader:()=>Be(()=>import("./disable.html-OPQl2VYW.js"),__vite__mapDeps([3,1])),meta:{t:"布局与功能禁用",i:"gears",O:4}}],["/demo/encrypt.html",{loader:()=>Be(()=>import("./encrypt.html-C4mjmBNR.js"),__vite__mapDeps([4,1])),meta:{t:"密码加密的文章",i:"lock"}}],["/demo/layout.html",{loader:()=>Be(()=>import("./layout.html-Bx03pogv.js"),__vite__mapDeps([5,1])),meta:{t:"布局",i:"object-group",O:2}}],["/demo/markdown.html",{loader:()=>Be(()=>import("./markdown.html-DpbWIrbc.js"),__vite__mapDeps([6,1])),meta:{t:"Markdown 展示",i:"fab fa-markdown",O:2}}],["/demo/page.html",{loader:()=>Be(()=>import("./page.html-DH07K8Qr.js"),__vite__mapDeps([7,1])),meta:{t:"页面配置",i:"file",O:3}}],["/guide/",{loader:()=>Be(()=>import("./index.html-BK-fZbfa.js"),__vite__mapDeps([8,1])),meta:{t:"指南",i:"lightbulb"}}],["/guide/bar/",{loader:()=>Be(()=>import("./index.html-DwdAzt6b.js"),__vite__mapDeps([9,1])),meta:{t:"Bar 功能",i:"lightbulb"}}],["/guide/bar/baz.html",{loader:()=>Be(()=>import("./baz.html-aCuC0nt8.js"),__vite__mapDeps([10,1])),meta:{t:"Baz",i:"circle-info"}}],["/guide/foo/",{loader:()=>Be(()=>import("./index.html-BGqtMrmu.js"),__vite__mapDeps([11,1])),meta:{t:"Foo 功能",i:"lightbulb"}}],["/guide/foo/ray.html",{loader:()=>Be(()=>import("./ray.html-D7XHrIsG.js"),__vite__mapDeps([12,1])),meta:{t:"Ray",i:"circle-info"}}],["/404.html",{loader:()=>Be(()=>import("./404.html-CGEyd3Jw.js"),__vite__mapDeps([13,1])),meta:{t:""}}]]);/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const dn=typeof document<"u";function Td(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Po(e,t){const n={};for(const r in t){const o=t[r];n[r]=pt(o)?o.map(e):e(o)}return n}const Zn=()=>{},pt=Array.isArray,zi=/#/g,Ad=/&/g,Ld=/\//g,Id=/=/g,$d=/\?/g,Vi=/\+/g,Pd=/%5B/g,Rd=/%5D/g,qi=/%5E/g,Od=/%60/g,Ui=/%7B/g,Md=/%7C/g,Wi=/%7D/g,Nd=/%20/g;function Bs(e){return encodeURI(""+e).replace(Md,"|").replace(Pd,"[").replace(Rd,"]")}function Dd(e){return Bs(e).replace(Ui,"{").replace(Wi,"}").replace(qi,"^")}function os(e){return Bs(e).replace(Vi,"%2B").replace(Nd,"+").replace(zi,"%23").replace(Ad,"%26").replace(Od,"`").replace(Ui,"{").replace(Wi,"}").replace(qi,"^")}function jd(e){return os(e).replace(Id,"%3D")}function Bd(e){return Bs(e).replace(zi,"%23").replace($d,"%3F")}function Fd(e){return e==null?"":Bd(e).replace(Ld,"%2F")}function ir(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Hd=/\/$/,zd=e=>e.replace(Hd,"");function Ro(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=Wd(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:ir(l)}}function Vd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function zl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qd(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&In(t.matched[r],n.matched[o])&&Gi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function In(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ud(e[n],t[n]))return!1;return!0}function Ud(e,t){return pt(e)?Vl(e,t):pt(t)?Vl(t,e):e===t}function Vl(e,t){return pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Wd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}var cr;(function(e){e.pop="pop",e.push="push"})(cr||(cr={}));var er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(er||(er={}));function Gd(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zd(e)}const Kd=/^[^#]+#/;function Yd(e,t){return e.replace(Kd,"#")+t}function Jd(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ho=()=>({left:window.scrollX,top:window.scrollY});function Qd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Jd(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ql(e,t){return(history.state?history.state.position-t:-1)+e}const ss=new Map;function Xd(e,t){ss.set(e,t)}function Zd(e){const t=ss.get(e);return ss.delete(e),t}let e0=()=>location.protocol+"//"+location.host;function Ki(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),zl(i,"")}return zl(n,e)+r+o}function t0(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=Ki(e,location),g=n.value,_=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===g){l=null;return}w=_?p.position-_.position:0}else r(v);o.forEach(y=>{y(n.value,g,{delta:w,type:cr.pop,direction:w?w>0?er.forward:er.back:er.unknown})})};function i(){l=n.value}function c(p){o.push(p);const v=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(v),v}function u(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:ho()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function Ul(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ho():null}}function n0(e){const{history:t,location:n}=window,r={value:Ki(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:e0()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(v){console.error(v),n[u?"replace":"assign"](p)}}function l(i,c){const u=ce({},t.state,Ul(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,u,!0),r.value=i}function a(i,c){const u=ce({},o.value,t.state,{forward:i,scroll:ho()});s(u.current,u,!0);const d=ce({},Ul(r.value,i,null),{position:u.position+1},c);s(i,d,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function r0(e){e=Gd(e);const t=n0(e),n=t0(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:Yd.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function o0(e){return typeof e=="string"||e&&typeof e=="object"}function Yi(e){return typeof e=="string"||typeof e=="symbol"}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ji=Symbol("");var Wl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wl||(Wl={}));function $n(e,t){return ce(new Error,{type:e,[Ji]:!0},t)}function Et(e,t){return e instanceof Error&&Ji in e&&(t==null||!!(e.type&t))}const Gl="[^/]+?",s0={sensitive:!1,strict:!1,start:!0,end:!0},l0=/[.+*?^${}()[\]/\\]/g;function a0(e,t){const n=ce({},s0,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function c0(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const u0={type:0,value:""},f0=/[a-zA-Z0-9_]/;function d0(e){if(!e)return[[]];if(e==="/")return[[u0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let a=0,i,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a{l(C)}:Zn}function l(u){if(Yi(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function i(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Qi(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Jl(u)&&r.set(u.record.name,u)}function c(u,d){let p,v={},g,_;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw $n(1,{location:u});_=p.record.name,v=ce(Yl(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&Yl(u.params,p.keys.map(C=>C.name))),g=p.stringify(v)}else if(u.path!=null)g=u.path,p=n.find(C=>C.re.test(g)),p&&(v=p.parse(g),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw $n(1,{location:u,currentLocation:d});_=p.record.name,v=ce({},d.params,u.params),g=p.stringify(v)}const w=[];let y=p;for(;y;)w.unshift(y.record),y=y.parent;return{name:_,path:g,params:v,matched:w,meta:g0(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function Yl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function v0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:m0(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 m0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Jl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function g0(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Ql(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Qi(e,t){return t.children.some(n=>n===e||Qi(e,n))}function b0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&os(s)):[r&&os(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function y0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=pt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const w0=Symbol(""),Zl=Symbol(""),vo=Symbol(""),Fs=Symbol(""),ls=Symbol("");function Vn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bt(e,t,n,r,o,s=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const c=p=>{p===!1?i($n(4,{from:n,to:t})):p instanceof Error?i(p):o0(p)?i($n(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function Oo(e,t,n,r,o=s=>s()){const s=[];for(const l of e)for(const a in l.components){let i=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if(_0(i)){const u=(i.__vccOpts||i)[t];u&&s.push(Bt(u,n,r,l,a,o))}else{let c=i();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=Td(u)?u.default:u;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Bt(v,n,r,l,a,o)()}))}}return s}function _0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ea(e){const t=Re(vo),n=Re(Fs),r=x(()=>t.resolve(tn(e.to))),o=x(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(In.bind(null,u));if(p>-1)return p;const v=ta(i[c-2]);return c>1&&ta(u)===v&&d[d.length-1].path!==v?d.findIndex(In.bind(null,i[c-2])):p}),s=x(()=>o.value>-1&&x0(n.params,r.value.params)),l=x(()=>o.value>-1&&o.value===n.matched.length-1&&Gi(n.params,r.value.params));function a(i={}){return S0(i)?t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(Zn):Promise.resolve()}return{route:r,href:x(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const E0=U({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ea,setup(e,{slots:t}){const n=gr(ea(e)),{options:r}=Re(vo),o=x(()=>({[na(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[na(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),C0=E0;function S0(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 x0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!pt(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function ta(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const na=(e,t,n)=>e??t??n,k0=U({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Re(ls),o=x(()=>e.route||r.value),s=Re(Zl,0),l=x(()=>{let c=tn(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=x(()=>o.value.matched[l.value]);En(Zl,x(()=>l.value+1)),En(w0,a),En(ls,o);const i=Q();return ie(()=>[i.value,a.value,e.name],([c,u,d],[p,v,g])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!In(u,v)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return ra(n.default,{Component:p,route:c});const v=d.props[u],g=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=f(p,ce({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:i}));return ra(n.default,{Component:w,route:c})||w}}});function ra(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const T0=k0;function A0(e){const t=h0(e.routes,e),n=e.parseQuery||b0,r=e.stringifyQuery||Xl,o=e.history,s=Vn(),l=Vn(),a=Vn(),i=Me(St);let c=St;dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Po.bind(null,T=>""+T),d=Po.bind(null,Fd),p=Po.bind(null,ir);function v(T,H){let B,G;return Yi(T)?(B=t.getRecordMatcher(T),G=H):G=T,t.addRoute(G,B)}function g(T){const H=t.getRecordMatcher(T);H&&t.removeRoute(H)}function _(){return t.getRoutes().map(T=>T.record)}function w(T){return!!t.getRecordMatcher(T)}function y(T,H){if(H=ce({},H||i.value),typeof T=="string"){const m=Ro(n,T,H.path),E=t.resolve({path:m.path},H),L=o.createHref(m.fullPath);return ce(m,E,{params:p(E.params),hash:ir(m.hash),redirectedFrom:void 0,href:L})}let B;if(T.path!=null)B=ce({},T,{path:Ro(n,T.path,H.path).path});else{const m=ce({},T.params);for(const E in m)m[E]==null&&delete m[E];B=ce({},T,{params:d(m)}),H.params=d(H.params)}const G=t.resolve(B,H),se=T.hash||"";G.params=u(p(G.params));const fe=Vd(r,ce({},T,{hash:Dd(se),path:G.path})),h=o.createHref(fe);return ce({fullPath:fe,hash:se,query:r===Xl?y0(T.query):T.query||{}},G,{redirectedFrom:void 0,href:h})}function C(T){return typeof T=="string"?Ro(n,T,i.value.path):ce({},T)}function b(T,H){if(c!==T)return $n(8,{from:H,to:T})}function k(T){return N(T)}function M(T){return k(ce(C(T),{replace:!0}))}function S(T){const H=T.matched[T.matched.length-1];if(H&&H.redirect){const{redirect:B}=H;let G=typeof B=="function"?B(T):B;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=C(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function N(T,H){const B=c=y(T),G=i.value,se=T.state,fe=T.force,h=T.replace===!0,m=S(B);if(m)return N(ce(C(m),{state:typeof m=="object"?ce({},se,m.state):se,force:fe,replace:h}),H||B);const E=B;E.redirectedFrom=H;let L;return!fe&&qd(r,G,B)&&(L=$n(16,{to:E,from:G}),Qe(G,G,!0,!1)),(L?Promise.resolve(L):$(E,G)).catch(A=>Et(A)?Et(A,2)?A:ht(A):W(A,E,G)).then(A=>{if(A){if(Et(A,2))return N(ce({replace:h},C(A.to),{state:typeof A.to=="object"?ce({},se,A.to.state):se,force:fe}),H||E)}else A=R(E,G,!0,h,se);return V(E,G,A),A})}function P(T,H){const B=b(T,H);return B?Promise.reject(B):Promise.resolve()}function K(T){const H=_t.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(T):T()}function $(T,H){let B;const[G,se,fe]=L0(T,H);B=Oo(G.reverse(),"beforeRouteLeave",T,H);for(const m of G)m.leaveGuards.forEach(E=>{B.push(Bt(E,T,H))});const h=P.bind(null,T,H);return B.push(h),ke(B).then(()=>{B=[];for(const m of s.list())B.push(Bt(m,T,H));return B.push(h),ke(B)}).then(()=>{B=Oo(se,"beforeRouteUpdate",T,H);for(const m of se)m.updateGuards.forEach(E=>{B.push(Bt(E,T,H))});return B.push(h),ke(B)}).then(()=>{B=[];for(const m of fe)if(m.beforeEnter)if(pt(m.beforeEnter))for(const E of m.beforeEnter)B.push(Bt(E,T,H));else B.push(Bt(m.beforeEnter,T,H));return B.push(h),ke(B)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),B=Oo(fe,"beforeRouteEnter",T,H,K),B.push(h),ke(B))).then(()=>{B=[];for(const m of l.list())B.push(Bt(m,T,H));return B.push(h),ke(B)}).catch(m=>Et(m,8)?m:Promise.reject(m))}function V(T,H,B){a.list().forEach(G=>K(()=>G(T,H,B)))}function R(T,H,B,G,se){const fe=b(T,H);if(fe)return fe;const h=H===St,m=dn?history.state:{};B&&(G||h?o.replace(T.fullPath,ce({scroll:h&&m&&m.scroll},se)):o.push(T.fullPath,se)),i.value=T,Qe(T,H,B,h),ht()}let Z;function ye(){Z||(Z=o.listen((T,H,B)=>{if(!vt.listening)return;const G=y(T),se=S(G);if(se){N(ce(se,{replace:!0}),G).catch(Zn);return}c=G;const fe=i.value;dn&&Xd(ql(fe.fullPath,B.delta),ho()),$(G,fe).catch(h=>Et(h,12)?h:Et(h,2)?(N(h.to,G).then(m=>{Et(m,20)&&!B.delta&&B.type===cr.pop&&o.go(-1,!1)}).catch(Zn),Promise.reject()):(B.delta&&o.go(-B.delta,!1),W(h,G,fe))).then(h=>{h=h||R(G,fe,!1),h&&(B.delta&&!Et(h,8)?o.go(-B.delta,!1):B.type===cr.pop&&Et(h,20)&&o.go(-1,!1)),V(G,fe,h)}).catch(Zn)}))}let ve=Vn(),q=Vn(),ee;function W(T,H,B){ht(T);const G=q.list();return G.length?G.forEach(se=>se(T,H,B)):console.error(T),Promise.reject(T)}function xe(){return ee&&i.value!==St?Promise.resolve():new Promise((T,H)=>{ve.add([T,H])})}function ht(T){return ee||(ee=!T,ye(),ve.list().forEach(([H,B])=>T?B(T):H()),ve.reset()),T}function Qe(T,H,B,G){const{scrollBehavior:se}=e;if(!dn||!se)return Promise.resolve();const fe=!B&&Zd(ql(T.fullPath,0))||(G||!B)&&history.state&&history.state.scroll||null;return Ut().then(()=>se(T,H,fe)).then(h=>h&&Qd(h)).catch(h=>W(h,T,H))}const Ie=T=>o.go(T);let Ge;const _t=new Set,vt={currentRoute:i,listening:!0,addRoute:v,removeRoute:g,hasRoute:w,getRoutes:_,resolve:y,options:e,push:k,replace:M,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:q.add,isReady:xe,install(T){const H=this;T.component("RouterLink",C0),T.component("RouterView",T0),T.config.globalProperties.$router=H,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(i)}),dn&&!Ge&&i.value===St&&(Ge=!0,k(o.location).catch(se=>{}));const B={};for(const se in St)Object.defineProperty(B,se,{get:()=>i.value[se],enumerable:!0});T.provide(vo,H),T.provide(Fs,Ya(B)),T.provide(ls,i);const G=T.unmount;_t.add(T),T.unmount=function(){_t.delete(T),_t.size<1&&(c=St,Z&&Z(),Z=null,i.value=St,Ge=!1,ee=!1),G()}}};function ke(T){return T.reduce((H,B)=>H.then(()=>K(B)),Promise.resolve())}return vt}function L0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;lIn(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>In(c,i))||o.push(i))}return[n,r,o]}function Dn(){return Re(vo)}function ln(){return Re(Fs)}var Hs=Symbol(""),wt=()=>{const e=Re(Hs);if(!e)throw new Error("useClientData() is called without provider.");return e},I0=()=>wt().pageComponent,we=()=>wt().pageData,_e=()=>wt().pageFrontmatter,$0=()=>wt().pageHead,zs=()=>wt().pageLang,P0=()=>wt().pageLayout,jn=()=>wt().routeLocale,R0=()=>wt().routes,Xi=()=>wt().siteData,Vs=()=>wt().siteLocaleData,O0=Symbol(""),as=Me(xd),ur=Me(kd),Zi=e=>{const t=_d(e);if(ur.value[t])return t;const n=encodeURI(t);return ur.value[n]?n:as.value[t]||as.value[n]||t},mo=e=>{const t=Zi(e),n=ur.value[t]??{...ur.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},go=U({name:"ClientOnly",setup(e,t){const n=Q(!1);return be(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),ec=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=I0(),n=x(()=>{if(!e.path)return t.value;const r=mo(e.path);return zf(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),at=(e={})=>e,He=e=>sn(e)?e:`/${Hi(e)}`,M0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},qe=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=Dn(),l=Zi(n),a=l.startsWith("#")||l.startsWith("?")?l:He(l);return f("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{M0(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};qe.displayName="RouteLink";qe.props={active:Boolean,activeClass:String,to:String};var N0="Layout",D0="en-US",Yt=gr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Te(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return bd(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||D0,resolvePageLayout:(e,t)=>{const n=Te(e.frontmatter.layout)?e.frontmatter.layout:N0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Ed(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 j0={},Sr=e=>{const t=jn();return x(()=>e[t.value]??{})};var Fe=Uint8Array,vn=Uint16Array,B0=Int32Array,tc=new Fe([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]),nc=new Fe([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]),F0=new Fe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),rc=function(e,t){for(var n=new vn(31),r=0;r<31;++r)n[r]=t+=1<>1|(he&21845)<<1;Pt=(Pt&52428)>>2|(Pt&13107)<<2,Pt=(Pt&61680)>>4|(Pt&3855)<<4,is[he]=((Pt&65280)>>8|(Pt&255)<<8)>>1}var tr=function(e,t,n){for(var r=e.length,o=0,s=new vn(t);o>i]=c}else for(a=new vn(r),o=0;o>15-e[o]);return a},xr=new Fe(288);for(var he=0;he<144;++he)xr[he]=8;for(var he=144;he<256;++he)xr[he]=9;for(var he=256;he<280;++he)xr[he]=7;for(var he=280;he<288;++he)xr[he]=8;var lc=new Fe(32);for(var he=0;he<32;++he)lc[he]=5;var q0=tr(xr,9,1),U0=tr(lc,5,1),Mo=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},ct=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},No=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},W0=function(e){return(e+7)/8|0},qs=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Fe(e.subarray(t,n))},G0=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],et=function(e,t,n){var r=new Error(t||G0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,et),!n)throw r;return r},K0=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new Fe(0);var l=!n,a=l||t.i!=2,i=t.i;l&&(n=new Fe(o*3));var c=function(se){var fe=n.length;if(se>fe){var h=new Fe(Math.max(fe*2,se));h.set(n),n=h}},u=t.f||0,d=t.p||0,p=t.b||0,v=t.l,g=t.d,_=t.m,w=t.n,y=o*8;do{if(!v){u=ct(e,d,1);var C=ct(e,d+1,3);if(d+=3,C)if(C==1)v=q0,g=U0,_=9,w=5;else if(C==2){var S=ct(e,d,31)+257,N=ct(e,d+10,15)+4,P=S+ct(e,d+5,31)+1;d+=14;for(var K=new Fe(P),$=new Fe(19),V=0;V>4;if(b<16)K[V++]=b;else{var q=0,ee=0;for(b==16?(ee=3+ct(e,d,3),d+=2,q=K[V-1]):b==17?(ee=3+ct(e,d,7),d+=3):b==18&&(ee=11+ct(e,d,127),d+=7);ee--;)K[V++]=q}}var W=K.subarray(0,S),xe=K.subarray(S);_=Mo(W),w=Mo(xe),v=tr(W,_,1),g=tr(xe,w,1)}else et(1);else{var b=W0(d)+4,k=e[b-4]|e[b-3]<<8,M=b+k;if(M>o){i&&et(0);break}a&&c(p+k),n.set(e.subarray(b,M),p),t.b=p+=k,t.p=d=M*8,t.f=u;continue}if(d>y){i&&et(0);break}}a&&c(p+131072);for(var ht=(1<<_)-1,Qe=(1<>4;if(d+=q&15,d>y){i&&et(0);break}if(q||et(2),Ge<256)n[p++]=Ge;else if(Ge==256){Ie=d,v=null;break}else{var _t=Ge-254;if(Ge>264){var V=Ge-257,vt=tc[V];_t=ct(e,d,(1<>4;ke||et(3),d+=ke&15;var xe=V0[T];if(T>3){var vt=nc[T];xe+=No(e,d)&(1<y){i&&et(0);break}a&&c(p+131072);var H=p+_t;if(p>4>7||(e[0]<<8|e[1])%31)&&et(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&et(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Q0(e,t){return K0(e.subarray(J0(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var oa=typeof TextEncoder<"u"&&new TextEncoder,cs=typeof TextDecoder<"u"&&new TextDecoder,X0=0;try{cs.decode(Y0,{stream:!0}),X0=1}catch{}var Z0=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:qs(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function e2(e,t){if(t){for(var n=new Fe(e.length),r=0;r>1)),l=0,a=function(u){s[l++]=u},r=0;rs.length){var i=new Fe(l+8+(o-r<<1));i.set(s),s=i}var c=e.charCodeAt(r);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,a(240|c>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|c&63)):(a(224|c>>12),a(128|c>>6&63),a(128|c&63))}return qs(s,0,l)}function t2(e,t){if(t){for(var n="",r=0;r{const t=atob(e);return t2(Q0(e2(t,!0)))},st=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||_r())==null?void 0:r.appContext.components;return n?e in n||lt(e)in n||mr(lt(e))in n:!1},ac=e=>new Promise(t=>setTimeout(t,e)),ic=e=>typeof e<"u",Do=e=>typeof e=="number",us=Array.isArray,Pn=(e,t)=>Te(e)&&e.startsWith(t),n2=(e,t)=>Te(e)&&e.endsWith(t),r2=Object.entries,an=Object.keys,o2=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},Us=e=>Pn(e,"/");function cc(e,t){let n,r,o;const s=Q(!0),l=()=>{s.value=!0,o()};ie(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Is((u,d)=>(r=u,o=d,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function Bn(e){return Da()?(Ku(e),!0):!1}function Ne(e){return typeof e=="function"?e():tn(e)}const kr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const s2=Object.prototype.toString,l2=e=>s2.call(e)==="[object Object]",nn=()=>{},la=a2();function a2(){var e,t;return kr&&((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 Ws(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const uc=e=>e();function i2(e,t={}){let n,r,o=nn;const s=a=>{clearTimeout(a),o(),o=nn};return a=>{const i=Ne(e),c=Ne(t.maxWait);return n&&s(n),i<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},i)})}}function c2(...e){let t=0,n,r=!0,o=nn,s,l,a,i,c;!Oe(e[0])&&typeof e[0]=="object"?{delay:l,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[l,a=!0,i=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=nn)};return p=>{const v=Ne(l),g=Date.now()-t,_=()=>s=p();return u(),v<=0?(t=Date.now(),_()):(g>v&&(i||!r)?(t=Date.now(),_()):a&&(s=new Promise((w,y)=>{o=c?y:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(_()),u()},Math.max(0,v-g))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,s)}}function u2(e=uc){const t=Q(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:br(t),pause:n,resume:r,eventFilter:o}}function f2(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function fc(e){return e||_r()}function d2(...e){if(e.length!==1)return io(...e);const t=e[0];return typeof t=="function"?br(Is(()=>({get:t,set:nn}))):Q(t)}function p2(e,t=200,n={}){return Ws(i2(t,n),e)}function h2(e,t=200,n=!1,r=!0,o=!1){return Ws(c2(t,n,r,o),e)}function v2(e,t,n={}){const{eventFilter:r=uc,...o}=n;return ie(e,Ws(r,t),o)}function m2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=u2(r);return{stop:v2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function bo(e,t=!0,n){fc()?be(e,n):t?e():Ut(e)}function g2(e,t){fc(t)&&Mn(e,t)}function b2(e,t,n={}){const{immediate:r=!0}=n,o=Q(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,l()}function i(...c){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ne(t))}return r&&(o.value=!0,kr&&i()),Bn(a),{isPending:br(o),start:i,stop:a}}function fr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Oe(e),s=Q(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=Ne(n);return s.value=s.value===i?Ne(r):i,s.value}}return o?l:[s,l]}function xt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Tt=kr?window:void 0,dc=kr?window.document:void 0,pc=kr?window.navigator:void 0;function Le(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Tt):[t,n,r,o]=e,!t)return nn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,p,v)=>(u.addEventListener(d,p,v),()=>u.removeEventListener(d,p,v)),i=ie(()=>[xt(t),Ne(o)],([u,d])=>{if(l(),!u)return;const p=l2(d)?{...d}:d;s.push(...n.flatMap(v=>r.map(g=>a(u,v,g,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return Bn(c),c}function y2(){const e=Q(!1),t=_r();return t&&be(()=>{e.value=!0},t),e}function Tr(e){const t=y2();return x(()=>(t.value,!!e()))}function hc(e,t={}){const{window:n=Tt}=t,r=Tr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Q(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=ii(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Bn(()=>{i(),a(),o=void 0}),s}function aa(e,t={}){const{controls:n=!1,navigator:r=pc}=t,o=Tr(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=Q(),i=()=>{s&&(a.value=s.state)},c=f2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Le(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function w2(e={}){const{navigator:t=pc,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=Tr(()=>t&&"clipboard"in t),a=aa("clipboard-read"),i=aa("clipboard-write"),c=x(()=>l.value||s),u=Q(""),d=Q(!1),p=b2(()=>d.value=!1,o);function v(){l.value&&y(a.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=w()}c.value&&n&&Le(["copy","cut"],v);async function g(C=Ne(r)){c.value&&C!=null&&(l.value&&y(i.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const b=document.createElement("textarea");b.value=C??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function w(){var C,b,k;return(k=(b=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:b.toString())!=null?k:""}function y(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:g}}const Br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fr="__vueuse_ssr_handlers__",_2=E2();function E2(){return Fr in Br||(Br[Fr]=Br[Fr]||{}),Br[Fr]}function C2(e,t){return _2[e]||t}function S2(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 x2={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()}},ia="vueuse-storage";function Fn(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:d=Tt,eventFilter:p,onError:v=$=>{console.error($)},initOnMounted:g}=r,_=(u?Me:Q)(typeof t=="function"?t():t);if(!n)try{n=C2("getDefaultStorage",()=>{var $;return($=Tt)==null?void 0:$.localStorage})()}catch($){v($)}if(!n)return _;const w=Ne(t),y=S2(w),C=(o=r.serializer)!=null?o:x2[y],{pause:b,resume:k}=m2(_,()=>S(_.value),{flush:s,deep:l,eventFilter:p});d&&a&&bo(()=>{Le(d,"storage",P),Le(d,ia,K),g&&P()}),g||P();function M($,V){d&&d.dispatchEvent(new CustomEvent(ia,{detail:{key:e,oldValue:$,newValue:V,storageArea:n}}))}function S($){try{const V=n.getItem(e);if($==null)M(V,null),n.removeItem(e);else{const R=C.write($);V!==R&&(n.setItem(e,R),M(V,R))}}catch(V){v(V)}}function N($){const V=$?$.newValue:n.getItem(e);if(V==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!$&&c){const R=C.read(V);return typeof c=="function"?c(R,w):y==="object"&&!Array.isArray(R)?{...w,...R}:R}else return typeof V!="string"?V:C.read(V)}function P($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=w;return}if(!($&&$.key!==e)){b();try{($==null?void 0:$.newValue)!==C.write(_.value)&&(_.value=N($))}catch(V){v(V)}finally{$?Ut(k):k()}}}}function K($){P($.detail)}return _}function k2(e){return hc("(prefers-color-scheme: dark)",e)}function T2(e,t,n={}){const{window:r=Tt,...o}=n;let s;const l=Tr(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=x(()=>Array.isArray(e)?e.map(d=>xt(d)):[xt(e)]),c=ie(i,d=>{if(a(),l.value&&r){s=new ResizeObserver(t);for(const p of d)p&&s.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Bn(u),{isSupported:l,stop:u}}function A2(e,t={width:0,height:0},n={}){const{window:r=Tt,box:o="content-box"}=n,s=x(()=>{var d,p;return(p=(d=xt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Q(t.width),a=Q(t.height),{stop:i}=T2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const v=xt(e);if(v){const g=r.getComputedStyle(v);l.value=Number.parseFloat(g.width),a.value=Number.parseFloat(g.height)}}else if(p){const v=Array.isArray(p)?p:[p];l.value=v.reduce((g,{inlineSize:_})=>g+_,0),a.value=v.reduce((g,{blockSize:_})=>g+_,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);bo(()=>{const d=xt(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>xt(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function u(){i(),c()}return{width:l,height:a,stop:u}}const ca=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Gs(e,t={}){const{document:n=dc,autoExit:r=!1}=t,o=x(()=>{var y;return(y=xt(e))!=null?y:n==null?void 0:n.querySelector("html")}),s=Q(!1),l=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),i=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||o.value&&y in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),u=Tr(()=>o.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const y=o.value;if((y==null?void 0:y[i.value])!=null)return!!y[i.value]}}return!1};async function v(){if(!(!u.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const y=o.value;(y==null?void 0:y[a.value])!=null&&await y[a.value]()}s.value=!1}}async function g(){if(!u.value||s.value)return;p()&&await v();const y=o.value;l.value&&(y==null?void 0:y[l.value])!=null&&(await y[l.value](),s.value=!0)}async function _(){await(s.value?v():g())}const w=()=>{const y=p();(!y||y&&d())&&(s.value=y)};return Le(n,ca,w,!1),Le(()=>xt(o),ca,w,!1),r&&Bn(v),{isSupported:u,isFullscreen:s,enter:g,exit:v,toggle:_}}function jo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Bo(e,t=nn,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:u,document:d=dc,attrs:p={}}=n,v=Q(null);let g=null;const _=C=>new Promise((b,k)=>{const M=P=>(v.value=P,b(P),P);if(!d){b(!1);return}let S=!1,N=d.querySelector(`script[src="${Ne(e)}"]`);N?N.hasAttribute("data-loaded")&&M(N):(N=d.createElement("script"),N.type=s,N.async=l,N.src=Ne(e),u&&(N.defer=u),a&&(N.crossOrigin=a),c&&(N.noModule=c),i&&(N.referrerPolicy=i),Object.entries(p).forEach(([P,K])=>N==null?void 0:N.setAttribute(P,K)),S=!0),N.addEventListener("error",P=>k(P)),N.addEventListener("abort",P=>k(P)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),M(N)}),S&&(N=d.head.appendChild(N)),C||M(N)}),w=(C=!0)=>(g||(g=_(C)),g),y=()=>{if(!d)return;g=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Ne(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&bo(w),o||g2(y),{scriptTag:v,load:w,unload:y}}function vc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Hr=new WeakMap;function mc(e,t=!1){const n=Q(t);let r=null;ie(d2(e),l=>{const a=jo(Ne(l));if(a){const i=a;Hr.get(i)||Hr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=jo(Ne(e));!l||n.value||(la&&(r=Le(l,"touchmove",a=>{L2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=jo(Ne(e));!a||!n.value||(la&&(r==null||r()),a.style.overflow=(l=Hr.get(a))!=null?l:"",Hr.delete(a),n.value=!1)};return Bn(s),x({get(){return n.value},set(l){l?o():s()}})}function gc(e,t,n={}){const{window:r=Tt}=n;return Fn(e,t,r==null?void 0:r.sessionStorage,n)}function I2(e={}){const{window:t=Tt,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const r=Q(t.scrollX),o=Q(t.scrollY),s=x({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=x({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Le(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function $2(e={}){const{window:t=Tt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Q(n),a=Q(r),i=()=>{t&&(s?(l.value=t.innerWidth,a.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),bo(i),Le("resize",i,{passive:!0}),o){const c=hc("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var P2=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=x(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),an(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const bc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};bc.displayName="Badge";const yc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:He(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),o&&(a.color=o),s?Ln(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:a},l):f(qe,{to:s,class:"vp-card",style:a},()=>l):f("div",{class:"vp-card",style:a},l)};yc.displayName="VPCard";const R2=at({enhance:({app:e})=>{st("FontIcon")||e.component("FontIcon",P2),st("Badge")||e.component("Badge",bc),st("VPCard")||e.component("VPCard",yc)},setup:()=>{Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),ua=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},O2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Dn();Le("scroll",p2(()=>{var g,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)d.some(y=>y.hash===w.hash));for(let w=0;w=(((g=y.parentElement)==null?void 0:g.offsetTop)??0)-r,k=!C||l<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(b&&k))continue;const S=decodeURIComponent(o.currentRoute.value.hash),N=decodeURIComponent(y.hash);if(S===N)return;if(u){for(let P=w+1;PTe(e.title)?{title:e.title}:null;const _c=Symbol(""),F2=e=>{wc=e},H2=()=>Re(_c),z2=e=>{e.provide(_c,wc)};var V2={"/":{title:"目录",empty:"暂无目录"}};const q2=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=H2(),n=Sr(V2),r=we(),o=R0(),s=Xi(),a=Me(r2(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:n2(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Nn(c)&&Te(c.title))),i=x(()=>{const c=e.base?yd(Bi(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!Pn(v,c)||v===c)return!1;if(c==="/"){const g=an(s.value.locales).filter(_=>_!=="/");if(v==="/404.html"||g.some(_=>Pn(v,_)))return!1}return p-u<=e.level}).sort(({title:p,level:v,order:g},{title:_,level:w,order:y})=>{const C=v-w;return C||(Do(g)?Do(y)?g>0?y>0?g-y:-1:y<0?g-y:1:g:Do(y)?y:p.localeCompare(_))}).forEach(p=>{var _;const{base:v,level:g}=p;switch(g-u){case 1:{d.push(p);break}case 2:{const w=d.find(y=>y.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(y=>y.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const y=(_=w.children)==null?void 0:_.find(C=>C.path===v);y&&(y.children??(y.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:u=[],title:d,path:p,content:v})=>{const g=f(qe,{class:"vp-catalog-title",to:p},()=>v?f(v):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:w,path:y,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(qe,{class:"vp-catalog-title",to:y},()=>w?f(w):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:b,path:k,title:M})=>e.index?f("li",{class:"vp-sub-catalog"},f(qe,{to:k},()=>b?f(b):M)):f(qe,{class:"vp-sub-catalog-link",to:k},()=>b?f(b):M))):null]))):null]:f("div",{class:"vp-catalog-child-title"},g))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),U2=at({enhance:({app:e})=>{z2(e),st("Catalog",e)||e.component("Catalog",q2)}});var W2={"/":{backToTop:"返回顶部"}};const G2=U({name:"BackToTop",setup(e){const t=_e(),n=Sr(W2),r=Me(),{height:o}=A2(r),{height:s}=$2(),{y:l}=I2(),a=x(()=>t.value.backToTop!==!1&&l.value>100),i=x(()=>l.value/(o.value-s.value)*100);return be(()=>{r.value=document.body}),()=>f(qt,{name:"back-to-top"},()=>a.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*i.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),K2=at({rootComponents:[G2]}),Y2=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Ec=U({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=jn(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[Y2,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var J2={};const Q2=J2,X2=at({enhance({app:e}){e.component("ExternalLinkIcon",f(Ec,{locales:Q2}))}});/** + */const dn=typeof document<"u";function Td(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function Po(e,t){const n={};for(const r in t){const o=t[r];n[r]=pt(o)?o.map(e):e(o)}return n}const Zn=()=>{},pt=Array.isArray,zi=/#/g,Ad=/&/g,Ld=/\//g,Id=/=/g,$d=/\?/g,Vi=/\+/g,Pd=/%5B/g,Rd=/%5D/g,qi=/%5E/g,Od=/%60/g,Ui=/%7B/g,Md=/%7C/g,Wi=/%7D/g,Nd=/%20/g;function Bs(e){return encodeURI(""+e).replace(Md,"|").replace(Pd,"[").replace(Rd,"]")}function Dd(e){return Bs(e).replace(Ui,"{").replace(Wi,"}").replace(qi,"^")}function os(e){return Bs(e).replace(Vi,"%2B").replace(Nd,"+").replace(zi,"%23").replace(Ad,"%26").replace(Od,"`").replace(Ui,"{").replace(Wi,"}").replace(qi,"^")}function jd(e){return os(e).replace(Id,"%3D")}function Bd(e){return Bs(e).replace(zi,"%23").replace($d,"%3F")}function Fd(e){return e==null?"":Bd(e).replace(Ld,"%2F")}function ir(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Hd=/\/$/,zd=e=>e.replace(Hd,"");function Ro(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=Wd(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:ir(l)}}function Vd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function zl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qd(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&In(t.matched[r],n.matched[o])&&Gi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function In(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Gi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ud(e[n],t[n]))return!1;return!0}function Ud(e,t){return pt(e)?Vl(e,t):pt(t)?Vl(t,e):e===t}function Vl(e,t){return pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Wd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}var cr;(function(e){e.pop="pop",e.push="push"})(cr||(cr={}));var er;(function(e){e.back="back",e.forward="forward",e.unknown=""})(er||(er={}));function Gd(e){if(!e)if(dn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zd(e)}const Kd=/^[^#]+#/;function Yd(e,t){return e.replace(Kd,"#")+t}function Jd(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ho=()=>({left:window.scrollX,top:window.scrollY});function Qd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Jd(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ql(e,t){return(history.state?history.state.position-t:-1)+e}const ss=new Map;function Xd(e,t){ss.set(e,t)}function Zd(e){const t=ss.get(e);return ss.delete(e),t}let e0=()=>location.protocol+"//"+location.host;function Ki(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,i=o.slice(a);return i[0]!=="/"&&(i="/"+i),zl(i,"")}return zl(n,e)+r+o}function t0(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=Ki(e,location),g=n.value,_=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===g){l=null;return}w=_?p.position-_.position:0}else r(v);o.forEach(y=>{y(n.value,g,{delta:w,type:cr.pop,direction:w?w>0?er.forward:er.back:er.unknown})})};function i(){l=n.value}function c(p){o.push(p);const v=()=>{const g=o.indexOf(p);g>-1&&o.splice(g,1)};return s.push(v),v}function u(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:ho()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function Ul(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ho():null}}function n0(e){const{history:t,location:n}=window,r={value:Ki(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(i,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:e0()+e+i;try{t[u?"replaceState":"pushState"](c,"",p),o.value=c}catch(v){console.error(v),n[u?"replace":"assign"](p)}}function l(i,c){const u=ce({},t.state,Ul(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,u,!0),r.value=i}function a(i,c){const u=ce({},o.value,t.state,{forward:i,scroll:ho()});s(u.current,u,!0);const d=ce({},Ul(r.value,i,null),{position:u.position+1},c);s(i,d,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function r0(e){e=Gd(e);const t=n0(e),n=t0(e,t.state,t.location,t.replace);function r(s,l=!0){l||n.pauseListeners(),history.go(s)}const o=ce({location:"",base:e,go:r,createHref:Yd.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function o0(e){return typeof e=="string"||e&&typeof e=="object"}function Yi(e){return typeof e=="string"||typeof e=="symbol"}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ji=Symbol("");var Wl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wl||(Wl={}));function $n(e,t){return ce(new Error,{type:e,[Ji]:!0},t)}function Et(e,t){return e instanceof Error&&Ji in e&&(t==null||!!(e.type&t))}const Gl="[^/]+?",s0={sensitive:!1,strict:!1,start:!0,end:!0},l0=/[.+*?^${}()[\]/\\]/g;function a0(e,t){const n=ce({},s0,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function c0(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const u0={type:0,value:""},f0=/[a-zA-Z0-9_]/;function d0(e){if(!e)return[[]];if(e==="/")return[[u0]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,r=n;const o=[];let s;function l(){s&&o.push(s),s=[]}let a=0,i,c="",u="";function d(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a{l(C)}:Zn}function l(u){if(Yi(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function i(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Qi(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Jl(u)&&r.set(u.record.name,u)}function c(u,d){let p,v={},g,_;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw $n(1,{location:u});_=p.record.name,v=ce(Yl(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),u.params&&Yl(u.params,p.keys.map(C=>C.name))),g=p.stringify(v)}else if(u.path!=null)g=u.path,p=n.find(C=>C.re.test(g)),p&&(v=p.parse(g),_=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw $n(1,{location:u,currentLocation:d});_=p.record.name,v=ce({},d.params,u.params),g=p.stringify(v)}const w=[];let y=p;for(;y;)w.unshift(y.record),y=y.parent;return{name:_,path:g,params:v,matched:w,meta:g0(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function Yl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function v0(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:m0(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 m0(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Jl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function g0(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Ql(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Qi(e,t){return t.children.some(n=>n===e||Qi(e,n))}function b0(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&os(s)):[r&&os(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function y0(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=pt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const w0=Symbol(""),Zl=Symbol(""),vo=Symbol(""),Fs=Symbol(""),ls=Symbol("");function Vn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Bt(e,t,n,r,o,s=l=>l()){const l=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const c=p=>{p===!1?i($n(4,{from:n,to:t})):p instanceof Error?i(p):o0(p)?i($n(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function Oo(e,t,n,r,o=s=>s()){const s=[];for(const l of e)for(const a in l.components){let i=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if(_0(i)){const u=(i.__vccOpts||i)[t];u&&s.push(Bt(u,n,r,l,a,o))}else{let c=i();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=Td(u)?u.default:u;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Bt(v,n,r,l,a,o)()}))}}return s}function _0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ea(e){const t=Re(vo),n=Re(Fs),r=x(()=>t.resolve(tn(e.to))),o=x(()=>{const{matched:i}=r.value,{length:c}=i,u=i[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(In.bind(null,u));if(p>-1)return p;const v=ta(i[c-2]);return c>1&&ta(u)===v&&d[d.length-1].path!==v?d.findIndex(In.bind(null,i[c-2])):p}),s=x(()=>o.value>-1&&x0(n.params,r.value.params)),l=x(()=>o.value>-1&&o.value===n.matched.length-1&&Gi(n.params,r.value.params));function a(i={}){return S0(i)?t[tn(e.replace)?"replace":"push"](tn(e.to)).catch(Zn):Promise.resolve()}return{route:r,href:x(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const E0=U({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ea,setup(e,{slots:t}){const n=gr(ea(e)),{options:r}=Re(vo),o=x(()=>({[na(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[na(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:f("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),C0=E0;function S0(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 x0(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!pt(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function ta(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const na=(e,t,n)=>e??t??n,k0=U({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Re(ls),o=x(()=>e.route||r.value),s=Re(Zl,0),l=x(()=>{let c=tn(s);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=x(()=>o.value.matched[l.value]);En(Zl,x(()=>l.value+1)),En(w0,a),En(ls,o);const i=Q();return ie(()=>[i.value,a.value,e.name],([c,u,d],[p,v,g])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!In(u,v)||!p)&&(u.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return ra(n.default,{Component:p,route:c});const v=d.props[u],g=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=f(p,ce({},g,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:i}));return ra(n.default,{Component:w,route:c})||w}}});function ra(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const T0=k0;function A0(e){const t=h0(e.routes,e),n=e.parseQuery||b0,r=e.stringifyQuery||Xl,o=e.history,s=Vn(),l=Vn(),a=Vn(),i=Me(St);let c=St;dn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Po.bind(null,T=>""+T),d=Po.bind(null,Fd),p=Po.bind(null,ir);function v(T,H){let B,G;return Yi(T)?(B=t.getRecordMatcher(T),G=H):G=T,t.addRoute(G,B)}function g(T){const H=t.getRecordMatcher(T);H&&t.removeRoute(H)}function _(){return t.getRoutes().map(T=>T.record)}function w(T){return!!t.getRecordMatcher(T)}function y(T,H){if(H=ce({},H||i.value),typeof T=="string"){const m=Ro(n,T,H.path),E=t.resolve({path:m.path},H),L=o.createHref(m.fullPath);return ce(m,E,{params:p(E.params),hash:ir(m.hash),redirectedFrom:void 0,href:L})}let B;if(T.path!=null)B=ce({},T,{path:Ro(n,T.path,H.path).path});else{const m=ce({},T.params);for(const E in m)m[E]==null&&delete m[E];B=ce({},T,{params:d(m)}),H.params=d(H.params)}const G=t.resolve(B,H),se=T.hash||"";G.params=u(p(G.params));const fe=Vd(r,ce({},T,{hash:Dd(se),path:G.path})),h=o.createHref(fe);return ce({fullPath:fe,hash:se,query:r===Xl?y0(T.query):T.query||{}},G,{redirectedFrom:void 0,href:h})}function C(T){return typeof T=="string"?Ro(n,T,i.value.path):ce({},T)}function b(T,H){if(c!==T)return $n(8,{from:H,to:T})}function k(T){return N(T)}function M(T){return k(ce(C(T),{replace:!0}))}function S(T){const H=T.matched[T.matched.length-1];if(H&&H.redirect){const{redirect:B}=H;let G=typeof B=="function"?B(T):B;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=C(G):{path:G},G.params={}),ce({query:T.query,hash:T.hash,params:G.path!=null?{}:T.params},G)}}function N(T,H){const B=c=y(T),G=i.value,se=T.state,fe=T.force,h=T.replace===!0,m=S(B);if(m)return N(ce(C(m),{state:typeof m=="object"?ce({},se,m.state):se,force:fe,replace:h}),H||B);const E=B;E.redirectedFrom=H;let L;return!fe&&qd(r,G,B)&&(L=$n(16,{to:E,from:G}),Qe(G,G,!0,!1)),(L?Promise.resolve(L):$(E,G)).catch(A=>Et(A)?Et(A,2)?A:ht(A):W(A,E,G)).then(A=>{if(A){if(Et(A,2))return N(ce({replace:h},C(A.to),{state:typeof A.to=="object"?ce({},se,A.to.state):se,force:fe}),H||E)}else A=R(E,G,!0,h,se);return V(E,G,A),A})}function P(T,H){const B=b(T,H);return B?Promise.reject(B):Promise.resolve()}function K(T){const H=_t.values().next().value;return H&&typeof H.runWithContext=="function"?H.runWithContext(T):T()}function $(T,H){let B;const[G,se,fe]=L0(T,H);B=Oo(G.reverse(),"beforeRouteLeave",T,H);for(const m of G)m.leaveGuards.forEach(E=>{B.push(Bt(E,T,H))});const h=P.bind(null,T,H);return B.push(h),ke(B).then(()=>{B=[];for(const m of s.list())B.push(Bt(m,T,H));return B.push(h),ke(B)}).then(()=>{B=Oo(se,"beforeRouteUpdate",T,H);for(const m of se)m.updateGuards.forEach(E=>{B.push(Bt(E,T,H))});return B.push(h),ke(B)}).then(()=>{B=[];for(const m of fe)if(m.beforeEnter)if(pt(m.beforeEnter))for(const E of m.beforeEnter)B.push(Bt(E,T,H));else B.push(Bt(m.beforeEnter,T,H));return B.push(h),ke(B)}).then(()=>(T.matched.forEach(m=>m.enterCallbacks={}),B=Oo(fe,"beforeRouteEnter",T,H,K),B.push(h),ke(B))).then(()=>{B=[];for(const m of l.list())B.push(Bt(m,T,H));return B.push(h),ke(B)}).catch(m=>Et(m,8)?m:Promise.reject(m))}function V(T,H,B){a.list().forEach(G=>K(()=>G(T,H,B)))}function R(T,H,B,G,se){const fe=b(T,H);if(fe)return fe;const h=H===St,m=dn?history.state:{};B&&(G||h?o.replace(T.fullPath,ce({scroll:h&&m&&m.scroll},se)):o.push(T.fullPath,se)),i.value=T,Qe(T,H,B,h),ht()}let Z;function ye(){Z||(Z=o.listen((T,H,B)=>{if(!vt.listening)return;const G=y(T),se=S(G);if(se){N(ce(se,{replace:!0}),G).catch(Zn);return}c=G;const fe=i.value;dn&&Xd(ql(fe.fullPath,B.delta),ho()),$(G,fe).catch(h=>Et(h,12)?h:Et(h,2)?(N(h.to,G).then(m=>{Et(m,20)&&!B.delta&&B.type===cr.pop&&o.go(-1,!1)}).catch(Zn),Promise.reject()):(B.delta&&o.go(-B.delta,!1),W(h,G,fe))).then(h=>{h=h||R(G,fe,!1),h&&(B.delta&&!Et(h,8)?o.go(-B.delta,!1):B.type===cr.pop&&Et(h,20)&&o.go(-1,!1)),V(G,fe,h)}).catch(Zn)}))}let ve=Vn(),q=Vn(),ee;function W(T,H,B){ht(T);const G=q.list();return G.length?G.forEach(se=>se(T,H,B)):console.error(T),Promise.reject(T)}function xe(){return ee&&i.value!==St?Promise.resolve():new Promise((T,H)=>{ve.add([T,H])})}function ht(T){return ee||(ee=!T,ye(),ve.list().forEach(([H,B])=>T?B(T):H()),ve.reset()),T}function Qe(T,H,B,G){const{scrollBehavior:se}=e;if(!dn||!se)return Promise.resolve();const fe=!B&&Zd(ql(T.fullPath,0))||(G||!B)&&history.state&&history.state.scroll||null;return Ut().then(()=>se(T,H,fe)).then(h=>h&&Qd(h)).catch(h=>W(h,T,H))}const Ie=T=>o.go(T);let Ge;const _t=new Set,vt={currentRoute:i,listening:!0,addRoute:v,removeRoute:g,hasRoute:w,getRoutes:_,resolve:y,options:e,push:k,replace:M,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:q.add,isReady:xe,install(T){const H=this;T.component("RouterLink",C0),T.component("RouterView",T0),T.config.globalProperties.$router=H,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>tn(i)}),dn&&!Ge&&i.value===St&&(Ge=!0,k(o.location).catch(se=>{}));const B={};for(const se in St)Object.defineProperty(B,se,{get:()=>i.value[se],enumerable:!0});T.provide(vo,H),T.provide(Fs,Ya(B)),T.provide(ls,i);const G=T.unmount;_t.add(T),T.unmount=function(){_t.delete(T),_t.size<1&&(c=St,Z&&Z(),Z=null,i.value=St,Ge=!1,ee=!1),G()}}};function ke(T){return T.reduce((H,B)=>H.then(()=>K(B)),Promise.resolve())}return vt}function L0(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;lIn(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>In(c,i))||o.push(i))}return[n,r,o]}function Dn(){return Re(vo)}function ln(){return Re(Fs)}var Hs=Symbol(""),wt=()=>{const e=Re(Hs);if(!e)throw new Error("useClientData() is called without provider.");return e},I0=()=>wt().pageComponent,we=()=>wt().pageData,_e=()=>wt().pageFrontmatter,$0=()=>wt().pageHead,zs=()=>wt().pageLang,P0=()=>wt().pageLayout,jn=()=>wt().routeLocale,R0=()=>wt().routes,Xi=()=>wt().siteData,Vs=()=>wt().siteLocaleData,O0=Symbol(""),as=Me(xd),ur=Me(kd),Zi=e=>{const t=_d(e);if(ur.value[t])return t;const n=encodeURI(t);return ur.value[n]?n:as.value[t]||as.value[n]||t},mo=e=>{const t=Zi(e),n=ur.value[t]??{...ur.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},go=U({name:"ClientOnly",setup(e,t){const n=Q(!1);return be(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),ec=U({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=I0(),n=x(()=>{if(!e.path)return t.value;const r=mo(e.path);return zf(()=>r.loader().then(({comp:o})=>o))});return()=>f(n.value)}}),at=(e={})=>e,He=e=>sn(e)?e:`/LiteyukiBot/${Hi(e)}`,M0=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},qe=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=Dn(),l=Zi(n),a=l.startsWith("#")||l.startsWith("?")?l:He(l);return f("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{M0(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};qe.displayName="RouteLink";qe.props={active:Boolean,activeClass:String,to:String};var N0="Layout",D0="en-US",Yt=gr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=Te(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return bd(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||D0,resolvePageLayout:(e,t)=>{const n=Te(e.frontmatter.layout)?e.frontmatter.layout:N0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>Ed(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 j0={},Sr=e=>{const t=jn();return x(()=>e[t.value]??{})};var Fe=Uint8Array,vn=Uint16Array,B0=Int32Array,tc=new Fe([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]),nc=new Fe([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]),F0=new Fe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),rc=function(e,t){for(var n=new vn(31),r=0;r<31;++r)n[r]=t+=1<>1|(he&21845)<<1;Pt=(Pt&52428)>>2|(Pt&13107)<<2,Pt=(Pt&61680)>>4|(Pt&3855)<<4,is[he]=((Pt&65280)>>8|(Pt&255)<<8)>>1}var tr=function(e,t,n){for(var r=e.length,o=0,s=new vn(t);o>i]=c}else for(a=new vn(r),o=0;o>15-e[o]);return a},xr=new Fe(288);for(var he=0;he<144;++he)xr[he]=8;for(var he=144;he<256;++he)xr[he]=9;for(var he=256;he<280;++he)xr[he]=7;for(var he=280;he<288;++he)xr[he]=8;var lc=new Fe(32);for(var he=0;he<32;++he)lc[he]=5;var q0=tr(xr,9,1),U0=tr(lc,5,1),Mo=function(e){for(var t=e[0],n=1;nt&&(t=e[n]);return t},ct=function(e,t,n){var r=t/8|0;return(e[r]|e[r+1]<<8)>>(t&7)&n},No=function(e,t){var n=t/8|0;return(e[n]|e[n+1]<<8|e[n+2]<<16)>>(t&7)},W0=function(e){return(e+7)/8|0},qs=function(e,t,n){return(t==null||t<0)&&(t=0),(n==null||n>e.length)&&(n=e.length),new Fe(e.subarray(t,n))},G0=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],et=function(e,t,n){var r=new Error(t||G0[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,et),!n)throw r;return r},K0=function(e,t,n,r){var o=e.length,s=r?r.length:0;if(!o||t.f&&!t.l)return n||new Fe(0);var l=!n,a=l||t.i!=2,i=t.i;l&&(n=new Fe(o*3));var c=function(se){var fe=n.length;if(se>fe){var h=new Fe(Math.max(fe*2,se));h.set(n),n=h}},u=t.f||0,d=t.p||0,p=t.b||0,v=t.l,g=t.d,_=t.m,w=t.n,y=o*8;do{if(!v){u=ct(e,d,1);var C=ct(e,d+1,3);if(d+=3,C)if(C==1)v=q0,g=U0,_=9,w=5;else if(C==2){var S=ct(e,d,31)+257,N=ct(e,d+10,15)+4,P=S+ct(e,d+5,31)+1;d+=14;for(var K=new Fe(P),$=new Fe(19),V=0;V>4;if(b<16)K[V++]=b;else{var q=0,ee=0;for(b==16?(ee=3+ct(e,d,3),d+=2,q=K[V-1]):b==17?(ee=3+ct(e,d,7),d+=3):b==18&&(ee=11+ct(e,d,127),d+=7);ee--;)K[V++]=q}}var W=K.subarray(0,S),xe=K.subarray(S);_=Mo(W),w=Mo(xe),v=tr(W,_,1),g=tr(xe,w,1)}else et(1);else{var b=W0(d)+4,k=e[b-4]|e[b-3]<<8,M=b+k;if(M>o){i&&et(0);break}a&&c(p+k),n.set(e.subarray(b,M),p),t.b=p+=k,t.p=d=M*8,t.f=u;continue}if(d>y){i&&et(0);break}}a&&c(p+131072);for(var ht=(1<<_)-1,Qe=(1<>4;if(d+=q&15,d>y){i&&et(0);break}if(q||et(2),Ge<256)n[p++]=Ge;else if(Ge==256){Ie=d,v=null;break}else{var _t=Ge-254;if(Ge>264){var V=Ge-257,vt=tc[V];_t=ct(e,d,(1<>4;ke||et(3),d+=ke&15;var xe=V0[T];if(T>3){var vt=nc[T];xe+=No(e,d)&(1<y){i&&et(0);break}a&&c(p+131072);var H=p+_t;if(p>4>7||(e[0]<<8|e[1])%31)&&et(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&et(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function Q0(e,t){return K0(e.subarray(J0(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var oa=typeof TextEncoder<"u"&&new TextEncoder,cs=typeof TextDecoder<"u"&&new TextDecoder,X0=0;try{cs.decode(Y0,{stream:!0}),X0=1}catch{}var Z0=function(e){for(var t="",n=0;;){var r=e[n++],o=(r>127)+(r>223)+(r>239);if(n+o>e.length)return{s:t,r:qs(e,n-1)};o?o==3?(r=((r&15)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?t+=String.fromCharCode((r&31)<<6|e[n++]&63):t+=String.fromCharCode((r&15)<<12|(e[n++]&63)<<6|e[n++]&63):t+=String.fromCharCode(r)}};function e2(e,t){if(t){for(var n=new Fe(e.length),r=0;r>1)),l=0,a=function(u){s[l++]=u},r=0;rs.length){var i=new Fe(l+8+(o-r<<1));i.set(s),s=i}var c=e.charCodeAt(r);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|e.charCodeAt(++r)&1023,a(240|c>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|c&63)):(a(224|c>>12),a(128|c>>6&63),a(128|c&63))}return qs(s,0,l)}function t2(e,t){if(t){for(var n="",r=0;r{const t=atob(e);return t2(Q0(e2(t,!0)))},st=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||_r())==null?void 0:r.appContext.components;return n?e in n||lt(e)in n||mr(lt(e))in n:!1},ac=e=>new Promise(t=>setTimeout(t,e)),ic=e=>typeof e<"u",Do=e=>typeof e=="number",us=Array.isArray,Pn=(e,t)=>Te(e)&&e.startsWith(t),n2=(e,t)=>Te(e)&&e.endsWith(t),r2=Object.entries,an=Object.keys,o2=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},Us=e=>Pn(e,"/");function cc(e,t){let n,r,o;const s=Q(!0),l=()=>{s.value=!0,o()};ie(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=Is((u,d)=>(r=u,o=d,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function Bn(e){return Da()?(Ku(e),!0):!1}function Ne(e){return typeof e=="function"?e():tn(e)}const kr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const s2=Object.prototype.toString,l2=e=>s2.call(e)==="[object Object]",nn=()=>{},la=a2();function a2(){var e,t;return kr&&((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 Ws(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const uc=e=>e();function i2(e,t={}){let n,r,o=nn;const s=a=>{clearTimeout(a),o(),o=nn};return a=>{const i=Ne(e),c=Ne(t.maxWait);return n&&s(n),i<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,d)=>{o=t.rejectOnCancel?d:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},i)})}}function c2(...e){let t=0,n,r=!0,o=nn,s,l,a,i,c;!Oe(e[0])&&typeof e[0]=="object"?{delay:l,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[l,a=!0,i=!0,c=!1]=e;const u=()=>{n&&(clearTimeout(n),n=void 0,o(),o=nn)};return p=>{const v=Ne(l),g=Date.now()-t,_=()=>s=p();return u(),v<=0?(t=Date.now(),_()):(g>v&&(i||!r)?(t=Date.now(),_()):a&&(s=new Promise((w,y)=>{o=c?y:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(_()),u()},Math.max(0,v-g))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,s)}}function u2(e=uc){const t=Q(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:br(t),pause:n,resume:r,eventFilter:o}}function f2(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function fc(e){return e||_r()}function d2(...e){if(e.length!==1)return io(...e);const t=e[0];return typeof t=="function"?br(Is(()=>({get:t,set:nn}))):Q(t)}function p2(e,t=200,n={}){return Ws(i2(t,n),e)}function h2(e,t=200,n=!1,r=!0,o=!1){return Ws(c2(t,n,r,o),e)}function v2(e,t,n={}){const{eventFilter:r=uc,...o}=n;return ie(e,Ws(r,t),o)}function m2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=u2(r);return{stop:v2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function bo(e,t=!0,n){fc()?be(e,n):t?e():Ut(e)}function g2(e,t){fc(t)&&Mn(e,t)}function b2(e,t,n={}){const{immediate:r=!0}=n,o=Q(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,l()}function i(...c){l(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ne(t))}return r&&(o.value=!0,kr&&i()),Bn(a),{isPending:br(o),start:i,stop:a}}function fr(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Oe(e),s=Q(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=Ne(n);return s.value=s.value===i?Ne(r):i,s.value}}return o?l:[s,l]}function xt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Tt=kr?window:void 0,dc=kr?window.document:void 0,pc=kr?window.navigator:void 0;function Le(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=Tt):[t,n,r,o]=e,!t)return nn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(u=>u()),s.length=0},a=(u,d,p,v)=>(u.addEventListener(d,p,v),()=>u.removeEventListener(d,p,v)),i=ie(()=>[xt(t),Ne(o)],([u,d])=>{if(l(),!u)return;const p=l2(d)?{...d}:d;s.push(...n.flatMap(v=>r.map(g=>a(u,v,g,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return Bn(c),c}function y2(){const e=Q(!1),t=_r();return t&&be(()=>{e.value=!0},t),e}function Tr(e){const t=y2();return x(()=>(t.value,!!e()))}function hc(e,t={}){const{window:n=Tt}=t,r=Tr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=Q(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=ii(()=>{r.value&&(a(),o=n.matchMedia(Ne(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return Bn(()=>{i(),a(),o=void 0}),s}function aa(e,t={}){const{controls:n=!1,navigator:r=pc}=t,o=Tr(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=Q(),i=()=>{s&&(a.value=s.state)},c=f2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Le(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function w2(e={}){const{navigator:t=pc,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=Tr(()=>t&&"clipboard"in t),a=aa("clipboard-read"),i=aa("clipboard-write"),c=x(()=>l.value||s),u=Q(""),d=Q(!1),p=b2(()=>d.value=!1,o);function v(){l.value&&y(a.value)?t.clipboard.readText().then(C=>{u.value=C}):u.value=w()}c.value&&n&&Le(["copy","cut"],v);async function g(C=Ne(r)){c.value&&C!=null&&(l.value&&y(i.value)?await t.clipboard.writeText(C):_(C),u.value=C,d.value=!0,p.start())}function _(C){const b=document.createElement("textarea");b.value=C??"",b.style.position="absolute",b.style.opacity="0",document.body.appendChild(b),b.select(),document.execCommand("copy"),b.remove()}function w(){var C,b,k;return(k=(b=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:b.toString())!=null?k:""}function y(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:u,copied:d,copy:g}}const Br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fr="__vueuse_ssr_handlers__",_2=E2();function E2(){return Fr in Br||(Br[Fr]=Br[Fr]||{}),Br[Fr]}function C2(e,t){return _2[e]||t}function S2(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 x2={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()}},ia="vueuse-storage";function Fn(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:u,window:d=Tt,eventFilter:p,onError:v=$=>{console.error($)},initOnMounted:g}=r,_=(u?Me:Q)(typeof t=="function"?t():t);if(!n)try{n=C2("getDefaultStorage",()=>{var $;return($=Tt)==null?void 0:$.localStorage})()}catch($){v($)}if(!n)return _;const w=Ne(t),y=S2(w),C=(o=r.serializer)!=null?o:x2[y],{pause:b,resume:k}=m2(_,()=>S(_.value),{flush:s,deep:l,eventFilter:p});d&&a&&bo(()=>{Le(d,"storage",P),Le(d,ia,K),g&&P()}),g||P();function M($,V){d&&d.dispatchEvent(new CustomEvent(ia,{detail:{key:e,oldValue:$,newValue:V,storageArea:n}}))}function S($){try{const V=n.getItem(e);if($==null)M(V,null),n.removeItem(e);else{const R=C.write($);V!==R&&(n.setItem(e,R),M(V,R))}}catch(V){v(V)}}function N($){const V=$?$.newValue:n.getItem(e);if(V==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!$&&c){const R=C.read(V);return typeof c=="function"?c(R,w):y==="object"&&!Array.isArray(R)?{...w,...R}:R}else return typeof V!="string"?V:C.read(V)}function P($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=w;return}if(!($&&$.key!==e)){b();try{($==null?void 0:$.newValue)!==C.write(_.value)&&(_.value=N($))}catch(V){v(V)}finally{$?Ut(k):k()}}}}function K($){P($.detail)}return _}function k2(e){return hc("(prefers-color-scheme: dark)",e)}function T2(e,t,n={}){const{window:r=Tt,...o}=n;let s;const l=Tr(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=x(()=>Array.isArray(e)?e.map(d=>xt(d)):[xt(e)]),c=ie(i,d=>{if(a(),l.value&&r){s=new ResizeObserver(t);for(const p of d)p&&s.observe(p,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return Bn(u),{isSupported:l,stop:u}}function A2(e,t={width:0,height:0},n={}){const{window:r=Tt,box:o="content-box"}=n,s=x(()=>{var d,p;return(p=(d=xt(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Q(t.width),a=Q(t.height),{stop:i}=T2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const v=xt(e);if(v){const g=r.getComputedStyle(v);l.value=Number.parseFloat(g.width),a.value=Number.parseFloat(g.height)}}else if(p){const v=Array.isArray(p)?p:[p];l.value=v.reduce((g,{inlineSize:_})=>g+_,0),a.value=v.reduce((g,{blockSize:_})=>g+_,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);bo(()=>{const d=xt(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>xt(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function u(){i(),c()}return{width:l,height:a,stop:u}}const ca=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Gs(e,t={}){const{document:n=dc,autoExit:r=!1}=t,o=x(()=>{var y;return(y=xt(e))!=null?y:n==null?void 0:n.querySelector("html")}),s=Q(!1),l=x(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),a=x(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(y=>n&&y in n||o.value&&y in o.value)),i=x(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(y=>n&&y in n||o.value&&y in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(y=>n&&y in n),u=Tr(()=>o.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const y=o.value;if((y==null?void 0:y[i.value])!=null)return!!y[i.value]}}return!1};async function v(){if(!(!u.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const y=o.value;(y==null?void 0:y[a.value])!=null&&await y[a.value]()}s.value=!1}}async function g(){if(!u.value||s.value)return;p()&&await v();const y=o.value;l.value&&(y==null?void 0:y[l.value])!=null&&(await y[l.value](),s.value=!0)}async function _(){await(s.value?v():g())}const w=()=>{const y=p();(!y||y&&d())&&(s.value=y)};return Le(n,ca,w,!1),Le(()=>xt(o),ca,w,!1),r&&Bn(v),{isSupported:u,isFullscreen:s,enter:g,exit:v,toggle:_}}function jo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Bo(e,t=nn,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:u,document:d=dc,attrs:p={}}=n,v=Q(null);let g=null;const _=C=>new Promise((b,k)=>{const M=P=>(v.value=P,b(P),P);if(!d){b(!1);return}let S=!1,N=d.querySelector(`script[src="${Ne(e)}"]`);N?N.hasAttribute("data-loaded")&&M(N):(N=d.createElement("script"),N.type=s,N.async=l,N.src=Ne(e),u&&(N.defer=u),a&&(N.crossOrigin=a),c&&(N.noModule=c),i&&(N.referrerPolicy=i),Object.entries(p).forEach(([P,K])=>N==null?void 0:N.setAttribute(P,K)),S=!0),N.addEventListener("error",P=>k(P)),N.addEventListener("abort",P=>k(P)),N.addEventListener("load",()=>{N.setAttribute("data-loaded","true"),t(N),M(N)}),S&&(N=d.head.appendChild(N)),C||M(N)}),w=(C=!0)=>(g||(g=_(C)),g),y=()=>{if(!d)return;g=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Ne(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&bo(w),o||g2(y),{scriptTag:v,load:w,unload:y}}function vc(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Hr=new WeakMap;function mc(e,t=!1){const n=Q(t);let r=null;ie(d2(e),l=>{const a=jo(Ne(l));if(a){const i=a;Hr.get(i)||Hr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=jo(Ne(e));!l||n.value||(la&&(r=Le(l,"touchmove",a=>{L2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=jo(Ne(e));!a||!n.value||(la&&(r==null||r()),a.style.overflow=(l=Hr.get(a))!=null?l:"",Hr.delete(a),n.value=!1)};return Bn(s),x({get(){return n.value},set(l){l?o():s()}})}function gc(e,t,n={}){const{window:r=Tt}=n;return Fn(e,t,r==null?void 0:r.sessionStorage,n)}function I2(e={}){const{window:t=Tt,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const r=Q(t.scrollX),o=Q(t.scrollY),s=x({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=x({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Le(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function $2(e={}){const{window:t=Tt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=Q(n),a=Q(r),i=()=>{t&&(s?(l.value=t.innerWidth,a.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),bo(i),Le("resize",i,{passive:!0}),o){const c=hc("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var P2=U({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=x(()=>{const r=["font-icon icon"],o=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:o),r}),n=x(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),an(r).length?r:null});return()=>e.icon?f("span",{key:e.icon,class:t.value,style:n.value}):null}});const bc=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return f("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};bc.displayName="Badge";const yc=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?f("img",{class:"vp-card-logo",src:He(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:e}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),o&&(a.color=o),s?Ln(s)?f("a",{class:"vp-card",href:s,target:"_blank",style:a},l):f(qe,{to:s,class:"vp-card",style:a},()=>l):f("div",{class:"vp-card",style:a},l)};yc.displayName="VPCard";const R2=at({enhance:({app:e})=>{st("FontIcon")||e.component("FontIcon",P2),st("Badge")||e.component("Badge",bc),st("VPCard")||e.component("VPCard",yc)},setup:()=>{Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Bo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),ua=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:o}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=o},O2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=Dn();Le("scroll",p2(()=>{var g,_;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)d.some(y=>y.hash===w.hash));for(let w=0;w=(((g=y.parentElement)==null?void 0:g.offsetTop)??0)-r,k=!C||l<(((_=C.parentElement)==null?void 0:_.offsetTop)??0)-r;if(!(b&&k))continue;const S=decodeURIComponent(o.currentRoute.value.hash),N=decodeURIComponent(y.hash);if(S===N)return;if(u){for(let P=w+1;PTe(e.title)?{title:e.title}:null;const _c=Symbol(""),F2=e=>{wc=e},H2=()=>Re(_c),z2=e=>{e.provide(_c,wc)};var V2={"/":{title:"目录",empty:"暂无目录"}};const q2=U({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=H2(),n=Sr(V2),r=we(),o=R0(),s=Xi(),a=Me(r2(o.value).map(([c,{meta:u}])=>{const d=t(u);if(!d)return null;const p=c.split("/").length;return{level:n2(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>Nn(c)&&Te(c.title))),i=x(()=>{const c=e.base?yd(Bi(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!Pn(v,c)||v===c)return!1;if(c==="/"){const g=an(s.value.locales).filter(_=>_!=="/");if(v==="/404.html"||g.some(_=>Pn(v,_)))return!1}return p-u<=e.level}).sort(({title:p,level:v,order:g},{title:_,level:w,order:y})=>{const C=v-w;return C||(Do(g)?Do(y)?g>0?y>0?g-y:-1:y<0?g-y:1:g:Do(y)?y:p.localeCompare(_))}).forEach(p=>{var _;const{base:v,level:g}=p;switch(g-u){case 1:{d.push(p);break}case 2:{const w=d.find(y=>y.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(y=>y.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const y=(_=w.children)==null?void 0:_.find(C=>C.path===v);y&&(y.children??(y.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?f(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:u=[],title:d,path:p,content:v})=>{const g=f(qe,{class:"vp-catalog-title",to:p},()=>v?f(v):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),u.length?f(e.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:_=[],content:w,path:y,title:C})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":_.length}]},[f("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),f(qe,{class:"vp-catalog-title",to:y},()=>w?f(w):C)]),_.length?f(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},_.map(({content:b,path:k,title:M})=>e.index?f("li",{class:"vp-sub-catalog"},f(qe,{to:k},()=>b?f(b):M)):f(qe,{class:"vp-sub-catalog-link",to:k},()=>b?f(b):M))):null]))):null]:f("div",{class:"vp-catalog-child-title"},g))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),U2=at({enhance:({app:e})=>{z2(e),st("Catalog",e)||e.component("Catalog",q2)}});var W2={"/":{backToTop:"返回顶部"}};const G2=U({name:"BackToTop",setup(e){const t=_e(),n=Sr(W2),r=Me(),{height:o}=A2(r),{height:s}=$2(),{y:l}=I2(),a=x(()=>t.value.backToTop!==!1&&l.value>100),i=x(()=>l.value/(o.value-s.value)*100);return be(()=>{r.value=document.body}),()=>f(qt,{name:"back-to-top"},()=>a.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":n.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":i.value},f("svg",f("circle",{cx:"50%",cy:"50%",style:{"stroke-dasharray":`calc(${Math.PI*i.value}% - ${4*Math.PI}px) calc(${Math.PI*100}% - ${4*Math.PI}px)`}}))),f("div",{class:"back-to-top-icon"})]):null)}}),K2=at({rootComponents:[G2]}),Y2=f("svg",{class:"external-link-icon",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"},[f("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),f("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})]),Ec=U({name:"ExternalLinkIcon",props:{locales:{type:Object,required:!1,default:()=>({})}},setup(e){const t=jn(),n=x(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>f("span",[Y2,f("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var J2={};const Q2=J2,X2=at({enhance({app:e}){e.component("ExternalLinkIcon",f(Ec,{locales:Q2}))}});/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const le={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=le.isStarted();e=Fo(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,Z2(l=>{zr(r,{transform:"translate3d("+fa(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(zr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){zr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Fo(Math.random()*t,.1,.95)),t=Fo(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");da(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":fa(le.status||0),o=document.querySelector(le.settings.parent);return zr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&da(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{pa(document.documentElement,"nprogress-busy"),pa(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&ep(e)},isRendered:()=>!!document.getElementById("nprogress")},Fo=(e,t,n)=>en?n:e,fa=e=>(-1+e)*100,Z2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),zr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),Cc=(e,t)=>(typeof e=="string"?e:Ks(e)).indexOf(" "+t+" ")>=0,da=(e,t)=>{const n=Ks(e),r=n+t;Cc(n,t)||(e.className=r.substring(1))},pa=(e,t)=>{const n=Ks(e);if(!Cc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Ks=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),ep=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},tp=()=>{be(()=>{const e=Dn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},np=at({setup(){tp()}}),rp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$rq/UQ8vpvK6Evb08LneMOOUSQRRewkzEPg619ice17xOlCfTS9s7q"]}},"author":{"name":"Mr.Hope","url":"https://mister-hope.com"},"logo":"https://theme-hope-assets.vuejs.press/logo.svg","repo":"vuepress-theme-hope/vuepress-theme-hope","docsDir":"src","footer":"默认页脚","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":["/","/demo/",{"text":"指南","icon":"lightbulb","prefix":"/guide/","children":[{"text":"Bar","icon":"lightbulb","prefix":"bar/","children":["baz",{"text":"...","icon":"ellipsis","link":""}]},{"text":"Foo","icon":"lightbulb","prefix":"foo/","children":["ray",{"text":"...","icon":"ellipsis","link":""}]}]},{"text":"V2 文档","icon":"book","link":"https://theme-hope.vuejs.press/zh/"}],"sidebar":{"/":["",{"text":"案例","icon":"laptop-code","prefix":"demo/","link":"demo/","children":"structure"},{"text":"文档","icon":"book","prefix":"guide/","children":"structure"},{"text":"幻灯片","icon":"person-chalkboard","link":"https://plugin-md-enhance.vuejs.press/zh/guide/content/revealjs/demo.html"}]}}}}'),op=Q(rp),Sc=()=>op,xc=Symbol(""),sp=()=>{const e=Re(xc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},lp=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},ap=at({enhance({app:e}){const t=Sc(),n=e._context.provides[Hs],r=x(()=>lp(t.value,n.routeLocale.value));e.provide(xc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var ip={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:"vuepress-theme-hope/giscus-discussions",repoId:"R_kgDOG_Pt2A",category:"Announcements",categoryId:"DIC_kwDOG_Pt2M4COD69"};const cp=ip;let up=cp;const kc=Symbol(""),Tc=()=>Re(kc),fp=Tc,dp=e=>{e.provide(kc,up)},Ac=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Ac.displayName="LoadingIcon";const ha=["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"],pp=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=fp(),n=zs(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Q(!1),c=x(()=>{if(ha.includes(n.value))return n.value;const d=n.value.split("-")[0];return ha.includes(d)?d:"en"}),u=x(()=>({repo:o,repoId:s,category:l,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return be(async()=>{await Be(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(Ac)):null}}),hp=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Tc(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(pp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),vp=at({enhance:({app:e})=>{dp(e),e.component("CommentService",hp)}}),mp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,gp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&mp.test(navigator.userAgent),bp=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=w2({legacy:!0,copiedDuring:t}),a=Sr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='
',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Ut().then(()=>ac(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};be(()=>{const p=!gp()||o;p&&u(),Le("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,y=_.nextElementSibling;y&&d(w,y,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var yp={"/":{copy:"复制代码",copied:"已复制"}},wp=['.theme-hope-content div[class*="language-"] pre'];const _p=500,Ep=2e3,Cp=yp,Sp=wp,xp=!1,kp=at({setup:()=>{bp({selector:Sp,locales:Cp,duration:Ep,delay:_p,showInMobile:xp})}}),Vr=Fn("VUEPRESS_CODE_TAB_STORE",{});var Tp=U({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),r=Me([]),o=()=>{e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Vr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return be(()=>{n.value=i(),ie(()=>Vr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Lc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Lc.displayName="CodeGroupItem";const Ap=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),r=Me([]),o=(a=n.value)=>{n.value=a{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),Se=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Se.displayName="IconBase";const Ic=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Ic.displayName="LoadingIcon";const $c=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Pc=()=>f(Se,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Pc.displayName="GitHubIcon";const Rc=()=>f(Se,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Rc.displayName="GitLabIcon";const Oc=()=>f(Se,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Oc.displayName="GiteeIcon";const Mc=()=>f(Se,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Mc.displayName="BitbucketIcon";const Nc=()=>f(Se,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Nc.displayName="SourceIcon";const Dc=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},jc=/#.*$/u,Lp=e=>{const t=jc.exec(e);return t?t[0]:""},va=e=>decodeURI(e).replace(jc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Bc=(e,t)=>{if(!ic(t))return!1;const n=va(e.path),r=va(t),o=Lp(t);return o?o===e.hash&&(!r||n===r):n===r},Ip=e=>sn(e)?e:`https://github.com/${e}`,Fc=e=>!sn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var $p=e=>Object.prototype.toString.call(e)==="[object Object]",dr=e=>typeof e=="string";const Hc=Array.isArray,ma=e=>$p(e)&&dr(e.name),ga=(e,t=!1)=>e?Hc(e)?e.map(n=>dr(n)?{name:n}:ma(n)?n:null).filter(n=>n!==null):dr(e)?[{name:e}]:ma(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],zc=(e,t)=>{if(e){if(Hc(e)&&e.every(dr))return e;if(dr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Pp=e=>zc(e,"category"),Rp=e=>zc(e,"tag"),Op='',Mp='';var Np={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 Ho=Np,ba={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"}}},Dp=(e,t,n)=>{const r=document.createElement(e);return Nn(t)&&an(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},Ys=e=>({...Ho,...e,jsLib:Array.from(new Set([...Ho.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Ho.cssLib||[],...e.cssLib||[]]))}),Cn=(e,t)=>{if(ic(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},jp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Dp("style",{innerHTML:t.css});e.appendChild(n)}},Bp=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; + */const le={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:e=>{const t=le.isStarted();e=Fo(e,le.settings.minimum,1),le.status=e===1?null:e;const n=le.render(!t),r=n.querySelector(le.settings.barSelector),o=le.settings.speed,s=le.settings.easing;return n.offsetWidth,Z2(l=>{zr(r,{transform:"translate3d("+fa(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(zr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){zr(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){le.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),le},isStarted:()=>typeof le.status=="number",start:()=>{le.status||le.set(0);const e=()=>{setTimeout(()=>{le.status&&(le.trickle(),e())},le.settings.trickleSpeed)};return le.settings.trickle&&e(),le},done:e=>!e&&!le.status?le:le.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=le.status;return t?(typeof e!="number"&&(e=(1-t)*Fo(Math.random()*t,.1,.95)),t=Fo(t+e,0,.994),le.set(t)):le.start()},trickle:()=>le.inc(Math.random()*le.settings.trickleRate),render:e=>{if(le.isRendered())return document.getElementById("nprogress");da(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=le.settings.template;const n=t.querySelector(le.settings.barSelector),r=e?"-100":fa(le.status||0),o=document.querySelector(le.settings.parent);return zr(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&da(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{pa(document.documentElement,"nprogress-busy"),pa(document.querySelector(le.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&ep(e)},isRendered:()=>!!document.getElementById("nprogress")},Fo=(e,t,n)=>en?n:e,fa=e=>(-1+e)*100,Z2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),zr=function(){const e=["Webkit","O","Moz","ms"],t={};function n(l){return l.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,i){return i.toUpperCase()})}function r(l){const a=document.body.style;if(l in a)return l;let i=e.length;const c=l.charAt(0).toUpperCase()+l.slice(1);let u;for(;i--;)if(u=e[i]+c,u in a)return u;return l}function o(l){return l=n(l),t[l]??(t[l]=r(l))}function s(l,a,i){a=o(a),l.style[a]=i}return function(l,a){for(const i in a){const c=a[i];c!==void 0&&Object.prototype.hasOwnProperty.call(a,i)&&s(l,i,c)}}}(),Cc=(e,t)=>(typeof e=="string"?e:Ks(e)).indexOf(" "+t+" ")>=0,da=(e,t)=>{const n=Ks(e),r=n+t;Cc(n,t)||(e.className=r.substring(1))},pa=(e,t)=>{const n=Ks(e);if(!Cc(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Ks=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),ep=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},tp=()=>{be(()=>{const e=Dn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||le.start()}),e.afterEach(n=>{t.add(n.path),le.done()})})},np=at({setup(){tp()}}),rp=JSON.parse('{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$.z.Wa6lcFmgjbCqkKhUr/O3yPqbCms.IMdB3ZHA7GZ2tGUerz7wuy"]}},"author":{"name":"Mr.Hope","url":"https://mister-hope.com"},"logo":"https://theme-hope-assets.vuejs.press/logo.svg","repo":"vuepress-theme-hope/vuepress-theme-hope","docsDir":"src","footer":"默认页脚","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":["/","/demo/",{"text":"指南","icon":"lightbulb","prefix":"/guide/","children":[{"text":"Bar","icon":"lightbulb","prefix":"bar/","children":["baz",{"text":"...","icon":"ellipsis","link":""}]},{"text":"Foo","icon":"lightbulb","prefix":"foo/","children":["ray",{"text":"...","icon":"ellipsis","link":""}]}]},{"text":"V2 文档","icon":"book","link":"https://theme-hope.vuejs.press/zh/"}],"sidebar":{"/":["",{"text":"案例","icon":"laptop-code","prefix":"demo/","link":"demo/","children":"structure"},{"text":"文档","icon":"book","prefix":"guide/","children":"structure"},{"text":"幻灯片","icon":"person-chalkboard","link":"https://plugin-md-enhance.vuejs.press/zh/guide/content/revealjs/demo.html"}]}}}}'),op=Q(rp),Sc=()=>op,xc=Symbol(""),sp=()=>{const e=Re(xc);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},lp=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},ap=at({enhance({app:e}){const t=Sc(),n=e._context.provides[Hs],r=x(()=>lp(t.value,n.routeLocale.value));e.provide(xc,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var ip={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:"vuepress-theme-hope/giscus-discussions",repoId:"R_kgDOG_Pt2A",category:"Announcements",categoryId:"DIC_kwDOG_Pt2M4COD69"};const cp=ip;let up=cp;const kc=Symbol(""),Tc=()=>Re(kc),fp=Tc,dp=e=>{e.provide(kc,up)},Ac=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);Ac.displayName="LoadingIcon";const ha=["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"],pp=U({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=fp(),n=zs(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=Q(!1),c=x(()=>{if(ha.includes(n.value))return n.value;const d=n.value.split("-")[0];return ha.includes(d)?d:"en"}),u=x(()=>({repo:o,repoId:s,category:l,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return be(async()=>{await Be(()=>import("./giscus-7BMGhbDA.js"),__vite__mapDeps([])),i.value=!0}),()=>r?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?f("giscus-widget",u.value):f(Ac)):null}}),hp=U({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=Tc(),n=we(),r=_e(),o=t.comment!==!1,s=x(()=>r.value.comment||o&&r.value.comment!==!1);return()=>f(pp,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),vp=at({enhance:({app:e})=>{dp(e),e.component("CommentService",hp)}}),mp=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,gp=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&mp.test(navigator.userAgent),bp=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=w2({legacy:!0,copiedDuring:t}),a=Sr(n),i=we(),c=p=>{if(!p.hasAttribute("copy-code-registered")){const v=document.createElement("button");v.type="button",v.classList.add("vp-copy-code-button"),v.innerHTML='
',v.setAttribute("aria-label",a.value.copy),v.setAttribute("data-copied",a.value.copied),p.parentElement&&p.parentElement.insertBefore(v,p),p.setAttribute("copy-code-registered","")}},u=()=>{Ut().then(()=>ac(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:_=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(_=_.replace(/^ *(\$|>) /gm,"")),s(_).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};be(()=>{const p=!gp()||o;p&&u(),Le("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const _=g.parentElement,w=g.nextElementSibling;w&&d(_,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const _=g.parentElement,w=_.parentElement,y=_.nextElementSibling;y&&d(w,y,_)}}),ie(()=>i.value.path,()=>{p&&u()})})};var yp={"/":{copy:"复制代码",copied:"已复制"}},wp=['.theme-hope-content div[class*="language-"] pre'];const _p=500,Ep=2e3,Cp=yp,Sp=wp,xp=!1,kp=at({setup:()=>{bp({selector:Sp,locales:Cp,duration:Ep,delay:_p,showInMobile:xp})}}),Vr=Fn("VUEPRESS_CODE_TAB_STORE",{});var Tp=U({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=Q(e.active),r=Me([]),o=()=>{e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),l()),e.tabId&&(Vr.value[e.tabId]=e.data[n.value].id)},i=()=>{if(e.tabId){const c=e.data.findIndex(({id:u})=>Vr.value[e.tabId]===u);if(c!==-1)return c}return e.active};return be(()=>{n.value=i(),ie(()=>Vr.value[e.tabId],(c,u)=>{if(e.tabId&&c!==u){const d=e.data.findIndex(({id:p})=>p===c);d!==-1&&(n.value=d)}})}),()=>e.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${e.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,o()},onKeydown:p=>a(p,u)},t[`title${u}`]({value:c,isActive:d}))})),e.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${e.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},t[`title${u}`]({value:c,isActive:d})),t[`tab${u}`]({value:c,isActive:d})])})]):null}});const Lc=({active:e=!1},{slots:t})=>{var n;return f("div",{class:["code-group-item",{active:e}],"aria-selected":e},(n=t.default)==null?void 0:n.call(t))};Lc.displayName="CodeGroupItem";const Ap=U({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const n=Q(-1),r=Me([]),o=(a=n.value)=>{n.value=a{n.value=a>0?a-1:r.value.length-1,r.value[n.value].focus()},l=(a,i)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=i):a.key==="ArrowRight"?(a.preventDefault(),o(i)):a.key==="ArrowLeft"&&(a.preventDefault(),s(i))};return()=>{var i;const a=(((i=t.default)==null?void 0:i.call(t))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:p=>{p&&(r.value[u]=p)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:p=>l(p,u)},c.props.title)})),a]))}}}),Se=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},(r=n.default)==null?void 0:r.call(n))};Se.displayName="IconBase";const Ic=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Ic.displayName="LoadingIcon";const $c=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Pc=()=>f(Se,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));Pc.displayName="GitHubIcon";const Rc=()=>f(Se,{name:"gitlab"},()=>f("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));Rc.displayName="GitLabIcon";const Oc=()=>f(Se,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));Oc.displayName="GiteeIcon";const Mc=()=>f(Se,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));Mc.displayName="BitbucketIcon";const Nc=()=>f(Se,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Nc.displayName="SourceIcon";const Dc=(e,t)=>{let n=1;for(let r=0;r>6;return n+=n<<3,n^=n>>11,n%t},jc=/#.*$/u,Lp=e=>{const t=jc.exec(e);return t?t[0]:""},va=e=>decodeURI(e).replace(jc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),Bc=(e,t)=>{if(!ic(t))return!1;const n=va(e.path),r=va(t),o=Lp(t);return o?o===e.hash&&(!r||n===r):n===r},Ip=e=>sn(e)?e:`https://github.com/${e}`,Fc=e=>!sn(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null;var $p=e=>Object.prototype.toString.call(e)==="[object Object]",dr=e=>typeof e=="string";const Hc=Array.isArray,ma=e=>$p(e)&&dr(e.name),ga=(e,t=!1)=>e?Hc(e)?e.map(n=>dr(n)?{name:n}:ma(n)?n:null).filter(n=>n!==null):dr(e)?[{name:e}]:ma(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],zc=(e,t)=>{if(e){if(Hc(e)&&e.every(dr))return e;if(dr(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Pp=e=>zc(e,"category"),Rp=e=>zc(e,"tag"),Op='',Mp='';var Np={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 Ho=Np,ba={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"}}},Dp=(e,t,n)=>{const r=document.createElement(e);return Nn(t)&&an(t).forEach(o=>{if(o.indexOf("data"))r[o]=t[o];else{const s=o.replace("data","");r.dataset[s]=t[o]}}),n&&n.forEach(o=>{r.appendChild(o)}),r},Ys=e=>({...Ho,...e,jsLib:Array.from(new Set([...Ho.jsLib||[],...e.jsLib||[]])),cssLib:Array.from(new Set([...Ho.cssLib||[],...e.cssLib||[]]))}),Cn=(e,t)=>{if(ic(e[t]))return e[t];const n=new Promise(r=>{var s;const o=document.createElement("script");o.src=t,(s=document.querySelector("body"))==null||s.appendChild(o),o.onload=()=>{r()}});return e[t]=n,n},jp=(e,t)=>{if(t.css&&Array.from(e.childNodes).every(n=>n.nodeName!=="STYLE")){const n=Dp("style",{innerHTML:t.css});e.appendChild(n)}},Bp=(e,t,n)=>{const r=n.getScript();if(r&&Array.from(t.childNodes).every(o=>o.nodeName!=="SCRIPT")){const o=document.createElement("script");o.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${e} .vp-code-demo-display').shadowRoot; ${r}}`)),t.appendChild(o)}},Fp=e=>{const t=an(e),n={html:[],js:[],css:[],isLegal:!1};return["html","js","css"].forEach(r=>{const o=t.filter(s=>ba[r].types.includes(s));if(o.length){const s=o[0];n[r]=[e[s].replace(/^\n|\n$/g,""),ba[r].map[s]||s]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},Vc=e=>e.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),qc=e=>`
${Vc(e)}
`,Hp=e=>`${e.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; -ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,zp=e=>e.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),Uc=e=>`(function(exports){var module={};module.exports=exports;${e};return module.exports.__esModule?module.exports.default:module.exports;})({})`,Vp=(e,t)=>{const n=Ys(t),r=e.js[0]||"";return{...n,html:Vc(e.html[0]||""),js:r,css:e.css[0]||"",isLegal:e.isLegal,getScript:()=>{var o;return n.useBabel?((o=window.Babel.transform(r,{presets:["es2015"]}))==null?void 0:o.code)||"":r}}},qp=/