diff --git a/404.html b/404.html index 17d69ce..e586bd7 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ Node.js Docs - - + + -
Skip to main content

404

Page not found

That’s a Four-Oh-Four.

- +
Skip to main content

404

Page not found

There’s nothing here.

+ diff --git a/assets/404.html-D-DH5Fga.js b/assets/404.html-B_8LuuF5.js similarity index 94% rename from assets/404.html-D-DH5Fga.js rename to assets/404.html-B_8LuuF5.js index 80f606d..7a990e7 100644 --- a/assets/404.html-D-DH5Fga.js +++ b/assets/404.html-B_8LuuF5.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,b as n}from"./app-DzW0htRv.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const d=t(r,[["render",p],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"en-US","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":"Node.js Docs"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"article:author","content":"Aahil"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true}');export{d as comp,h as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as o,b as n}from"./app-BsibbnN3.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return e(),o("div",null,c)}const d=t(r,[["render",p],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"en-US","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":"Node.js Docs"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"article:author","content":"Aahil"}],["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/Email.html-BWMbkjV7.js b/assets/Email.html-BWMbkjV7.js new file mode 100644 index 0000000..5b61db9 --- /dev/null +++ b/assets/Email.html-BWMbkjV7.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as a}from"./app-BsibbnN3.js";const o={};function i(r,c){return t(),a("div")}const l=e(o,[["render",i],["__file","Email.html.vue"]]),p=JSON.parse('{"path":"/docs/Basics/Email.html","title":"Email","lang":"en-US","frontmatter":{"title":"Email","index":true,"icon":"envelope","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Email.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Email"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Email\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"docs/Basics/Email.md","localizedDate":"April 16, 2024"}');export{l as comp,p as data}; diff --git a/assets/Events.html-BPkdK2xi.js b/assets/Events.html-BPkdK2xi.js new file mode 100644 index 0000000..1e42ccd --- /dev/null +++ b/assets/Events.html-BPkdK2xi.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function n(r,c){return t(),o("div")}const p=e(a,[["render",n],["__file","Events.html.vue"]]),m=JSON.parse('{"path":"/docs/Basics/Events.html","title":"Events","lang":"en-US","frontmatter":{"title":"Events","index":true,"icon":"bell","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Events.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Events"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Events\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"docs/Basics/Events.md","localizedDate":"April 16, 2024"}');export{p as comp,m as data}; diff --git a/assets/File System.html-zAz0M-2I.js b/assets/File System.html-zAz0M-2I.js new file mode 100644 index 0000000..9ce2f4b --- /dev/null +++ b/assets/File System.html-zAz0M-2I.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function i(r,c){return t(),o("div")}const m=e(a,[["render",i],["__file","File System.html.vue"]]),l=JSON.parse('{"path":"/docs/Basics/File%20System.html","title":"File System","lang":"en-US","frontmatter":{"title":"File System","index":true,"icon":"file","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/File%20System.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"File System"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"File System\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"docs/Basics/File System.md","localizedDate":"April 16, 2024"}');export{m as comp,l as data}; diff --git a/assets/HTTP Modules.html-7tdtaOpE.js b/assets/HTTP Modules.html-7tdtaOpE.js new file mode 100644 index 0000000..a9545e5 --- /dev/null +++ b/assets/HTTP Modules.html-7tdtaOpE.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function r(c,i){return t(),o("div")}const l=e(a,[["render",r],["__file","HTTP Modules.html.vue"]]),p=JSON.parse('{"path":"/docs/Basics/HTTP%20Modules.html","title":"HTTP Modules","lang":"en-US","frontmatter":{"title":"HTTP Modules","index":true,"icon":"folder","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/HTTP%20Modules.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"HTTP Modules"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"HTTP Modules\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"docs/Basics/HTTP Modules.md","localizedDate":"April 16, 2024"}');export{l as comp,p as data}; diff --git a/assets/Modules.html-CvmgiyUv.js b/assets/Modules.html-CvmgiyUv.js new file mode 100644 index 0000000..d5ef6d9 --- /dev/null +++ b/assets/Modules.html-CvmgiyUv.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function r(s,c){return t(),o("div")}const l=e(a,[["render",r],["__file","Modules.html.vue"]]),p=JSON.parse('{"path":"/docs/Basics/Modules.html","title":"Modules","lang":"en-US","frontmatter":{"title":"Modules","index":true,"icon":"server","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Modules.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Modules"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Modules\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"docs/Basics/Modules.md","localizedDate":"April 16, 2024"}');export{l as comp,p as data}; diff --git a/assets/NPM.html-Dd3s90c-.js b/assets/NPM.html-Dd3s90c-.js new file mode 100644 index 0000000..5257ce4 --- /dev/null +++ b/assets/NPM.html-Dd3s90c-.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function r(c,i){return t(),o("div")}const p=e(a,[["render",r],["__file","NPM.html.vue"]]),m=JSON.parse('{"path":"/docs/Basics/NPM.html","title":"NPM","lang":"en-US","frontmatter":{"title":"NPM","index":true,"icon":"share-nodes","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/NPM.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"NPM"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"NPM\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":12},"filePathRelative":"docs/Basics/NPM.md","localizedDate":"April 16, 2024"}');export{p as comp,m as data}; diff --git a/assets/URL Module.html-DyQnLMnx.js b/assets/URL Module.html-DyQnLMnx.js new file mode 100644 index 0000000..45ad4a8 --- /dev/null +++ b/assets/URL Module.html-DyQnLMnx.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function r(c,i){return t(),o("div")}const p=e(a,[["render",r],["__file","URL Module.html.vue"]]),s=JSON.parse('{"path":"/docs/Basics/URL%20Module.html","title":"URL Module","lang":"en-US","frontmatter":{"title":"URL Module","index":true,"icon":"file-code","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/URL%20Module.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"URL Module"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"URL Module\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":13},"filePathRelative":"docs/Basics/URL Module.md","localizedDate":"April 16, 2024"}');export{p as comp,s as data}; diff --git a/assets/Upload Files.html-B-WX4OtD.js b/assets/Upload Files.html-B-WX4OtD.js new file mode 100644 index 0000000..132eee1 --- /dev/null +++ b/assets/Upload Files.html-B-WX4OtD.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function i(r,l){return t(),o("div")}const s=e(a,[["render",i],["__file","Upload Files.html.vue"]]),n=JSON.parse('{"path":"/docs/Basics/Upload%20Files.html","title":"Upload Files","lang":"en-US","frontmatter":{"title":"Upload Files","index":true,"icon":"file-export","category":["Docs-Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Upload%20Files.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Upload Files"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Upload Files\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":13},"filePathRelative":"docs/Basics/Upload Files.md","localizedDate":"April 16, 2024"}');export{s as comp,n as data}; diff --git a/assets/app-BsibbnN3.js b/assets/app-BsibbnN3.js new file mode 100644 index 0000000..4e54d6c --- /dev/null +++ b/assets/app-BsibbnN3.js @@ -0,0 +1,30 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/index.html-BYEHDf_T.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/index.html-CV1tT02h.js","assets/index.html-IqEkeXvw.js","assets/installation.html-CmklNE8_.js","assets/quick-start.html-D5plm-kz.js","assets/what-is-nodejs.html-DCOZkEW7.js","assets/Email.html-BWMbkjV7.js","assets/Events.html-BPkdK2xi.js","assets/File System.html-zAz0M-2I.js","assets/HTTP Modules.html-7tdtaOpE.js","assets/Modules.html-CvmgiyUv.js","assets/NPM.html-Dd3s90c-.js","assets/index.html-C30mxC7O.js","assets/URL Module.html-DyQnLMnx.js","assets/Upload Files.html-B-WX4OtD.js","assets/404.html-B_8LuuF5.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function to(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const he={},pn=[],Je=()=>{},eu=()=>!1,tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),no=e=>e.startsWith("onUpdate:"),Ce=Object.assign,ro=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},tu=Object.prototype.hasOwnProperty,le=(e,t)=>tu.call(e,t),X=Array.isArray,Mn=e=>zr(e)==="[object Map]",nu=e=>zr(e)==="[object Set]",te=e=>typeof e=="function",Pe=e=>typeof e=="string",Vr=e=>typeof e=="symbol",me=e=>e!==null&&typeof e=="object",ya=e=>(me(e)||te(e))&&te(e.then)&&te(e.catch),ru=Object.prototype.toString,zr=e=>ru.call(e),su=e=>zr(e).slice(8,-1),ou=e=>zr(e)==="[object Object]",so=e=>Pe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=to(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ur=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},lu=/-(\w)/g,Ze=Ur(e=>e.replace(lu,(t,n)=>n?n.toUpperCase():"")),au=/\B([A-Z])/g,Sn=Ur(e=>e.replace(au,"-$1").toLowerCase()),nr=Ur(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=Ur(e=>e?`on${nr(e)}`:""),Nt=(e,t)=>!Object.is(e,t),as=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},iu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cu=e=>{const t=Pe(e)?Number(e):NaN;return isNaN(t)?e:t};let Wo;const ba=()=>Wo||(Wo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function oo(e){if(X(e)){const t={};for(let n=0;n{if(n){const r=n.split(fu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function lo(e){let t="";if(Pe(e))t=e;else if(X(e))for(let n=0;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Xt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Mt,n=qt;try{return Mt=!0,qt=this,this._runnings++,Go(this),this.fn()}finally{qo(this),this._runnings--,qt=n,Mt=t}}stop(){var t;this.active&&(Go(this),qo(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function bu(e){return e.value}function Go(e){e._trackId++,e._depsLength=0}function qo(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Mr=new WeakMap,Kt=Symbol(""),Is=Symbol("");function Ve(e,t,n){if(Mt&&qt){let r=Mr.get(e);r||Mr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=xa(()=>r.delete(n))),Sa(qt,s)}}function bt(e,t,n,r,s,o){const l=Mr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&X(e)){const i=Number(r);l.forEach((c,f)=>{(f==="length"||!Vr(f)&&f>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":X(e)?so(n)&&a.push(l.get("length")):(a.push(l.get(Kt)),Mn(e)&&a.push(l.get(Is)));break;case"delete":X(e)||(a.push(l.get(Kt)),Mn(e)&&a.push(l.get(Is)));break;case"set":Mn(e)&&a.push(l.get(Kt));break}io();for(const i of a)i&&ka(i,4);co()}function wu(e,t){var n;return(n=Mr.get(e))==null?void 0:n.get(t)}const _u=to("__proto__,__v_isRef,__isVue"),Ta=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vr)),Ko=Eu();function Eu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=se(this);for(let o=0,l=this.length;o{e[t]=function(...n){Qt(),io();const r=se(this)[t].apply(this,n);return co(),Xt(),r}}),e}function Cu(e){const t=se(this);return Ve(t,"has",e),t.hasOwnProperty(e)}class Aa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Nu:Ia:o?Ra:Pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=X(t);if(!s){if(l&&le(Ko,n))return Reflect.get(Ko,n,r);if(n==="hasOwnProperty")return Cu}const a=Reflect.get(t,n,r);return(Vr(n)?Ta.has(n):_u(n))||(s||Ve(t,"get",n),o)?a:Re(a)?l&&so(n)?a:a.value:me(a)?s?sr(a):rr(a):a}}class La extends Aa{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const i=yn(o);if(!$r(r)&&!yn(r)&&(o=se(o),r=se(r)),!X(t)&&Re(o)&&!Re(r))return i?!1:(o.value=r,!0)}const l=X(t)&&so(n)?Number(n)e,Wr=e=>Reflect.getPrototypeOf(e);function mr(e,t,n=!1,r=!1){e=e.__v_raw;const s=se(e),o=se(t);n||(Nt(t,o)&&Ve(s,"get",t),Ve(s,"get",o));const{has:l}=Wr(s),a=r?uo:n?ho:zn;if(l.call(s,t))return a(e.get(t));if(l.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function gr(e,t=!1){const n=this.__v_raw,r=se(n),s=se(e);return t||(Nt(e,s)&&Ve(r,"has",e),Ve(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function yr(e,t=!1){return e=e.__v_raw,!t&&Ve(se(e),"iterate",Kt),Reflect.get(e,"size",e)}function Yo(e){e=se(e);const t=se(this);return Wr(t).has.call(t,e)||(t.add(e),bt(t,"add",e,e)),this}function Jo(e,t){t=se(t);const n=se(this),{has:r,get:s}=Wr(n);let o=r.call(n,e);o||(e=se(e),o=r.call(n,e));const l=s.call(n,e);return n.set(e,t),o?Nt(t,l)&&bt(n,"set",e,t):bt(n,"add",e,t),this}function Qo(e){const t=se(this),{has:n,get:r}=Wr(t);let s=n.call(t,e);s||(e=se(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&bt(t,"delete",e,void 0),o}function Xo(){const e=se(this),t=e.size!==0,n=e.clear();return t&&bt(e,"clear",void 0,void 0),n}function br(e,t){return function(r,s){const o=this,l=o.__v_raw,a=se(l),i=t?uo:e?ho:zn;return!e&&Ve(a,"iterate",Kt),l.forEach((c,f)=>r.call(s,i(c),i(f),o))}}function wr(e,t,n){return function(...r){const s=this.__v_raw,o=se(s),l=Mn(o),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=s[e](...r),f=n?uo:t?ho:zn;return!t&&Ve(o,"iterate",i?Is:Kt),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:a?[f(d[0]),f(d[1])]:f(d),done:p}},[Symbol.iterator](){return this}}}}function St(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Au(){const e={get(o){return mr(this,o)},get size(){return yr(this)},has:gr,add:Yo,set:Jo,delete:Qo,clear:Xo,forEach:br(!1,!1)},t={get(o){return mr(this,o,!1,!0)},get size(){return yr(this)},has:gr,add:Yo,set:Jo,delete:Qo,clear:Xo,forEach:br(!1,!0)},n={get(o){return mr(this,o,!0)},get size(){return yr(this,!0)},has(o){return gr.call(this,o,!0)},add:St("add"),set:St("set"),delete:St("delete"),clear:St("clear"),forEach:br(!0,!1)},r={get(o){return mr(this,o,!0,!0)},get size(){return yr(this,!0)},has(o){return gr.call(this,o,!0)},add:St("add"),set:St("set"),delete:St("delete"),clear:St("clear"),forEach:br(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=wr(o,!1,!1),n[o]=wr(o,!0,!1),t[o]=wr(o,!1,!0),r[o]=wr(o,!0,!0)}),[e,n,t,r]}const[Lu,Pu,Ru,Iu]=Au();function fo(e,t){const n=t?e?Iu:Ru:e?Pu:Lu;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(le(n,s)&&s in r?n:r,s,o)}const Ou={get:fo(!1,!1)},Mu={get:fo(!1,!0)},$u={get:fo(!0,!1)},Pa=new WeakMap,Ra=new WeakMap,Ia=new WeakMap,Nu=new WeakMap;function Fu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Du(e){return e.__v_skip||!Object.isExtensible(e)?0:Fu(su(e))}function rr(e){return yn(e)?e:po(e,!1,ku,Ou,Pa)}function Oa(e){return po(e,!1,Tu,Mu,Ra)}function sr(e){return po(e,!0,xu,$u,Ia)}function po(e,t,n,r,s){if(!me(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const l=Du(e);if(l===0)return e;const a=new Proxy(e,l===2?r:n);return s.set(e,a),a}function vn(e){return yn(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function yn(e){return!!(e&&e.__v_isReadonly)}function $r(e){return!!(e&&e.__v_isShallow)}function Ma(e){return vn(e)||yn(e)}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function $a(e){return Object.isExtensible(e)&&Or(e,"__v_skip",!0),e}const zn=e=>me(e)?rr(e):e,ho=e=>me(e)?sr(e):e;class Na{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ao(()=>t(this._value),()=>$n(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=se(this);return(!t._cacheable||t.effect.dirty)&&Nt(t._value,t._value=t.effect.run())&&$n(t,4),vo(t),t.effect._dirtyLevel>=2&&$n(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Bu(e,t,n=!1){let r,s;const o=te(e);return o?(r=e,s=Je):(r=e.get,s=e.set),new Na(r,s,o||!s,n)}function vo(e){var t;Mt&&qt&&(e=se(e),Sa(qt,(t=e.dep)!=null?t:e.dep=xa(()=>e.dep=void 0,e instanceof Na?e:void 0)))}function $n(e,t=4,n){e=se(e);const r=e.dep;r&&ka(r,t)}function Re(e){return!!(e&&e.__v_isRef===!0)}function Q(e){return Fa(e,!1)}function Ge(e){return Fa(e,!0)}function Fa(e,t){return Re(e)?e:new Hu(e,t)}class Hu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:se(t),this._value=n?t:zn(t)}get value(){return vo(this),this._value}set value(t){const n=this.__v_isShallow||$r(t)||yn(t);t=n?t:se(t),Nt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:zn(t),$n(this,4))}}function Yt(e){return Re(e)?e.value:e}const ju={get:(e,t,n)=>Yt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Re(s)&&!Re(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Da(e){return vn(e)?e:new Proxy(e,ju)}class Vu{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>vo(this),()=>$n(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function mo(e){return new Vu(e)}function zu(e){const t=X(e)?new Array(e.length):{};for(const n in e)t[n]=Ba(e,n);return t}class Uu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return wu(se(this._object),this._key)}}class Wu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Gr(e,t,n){return Re(e)?e:te(e)?new Wu(e):me(e)&&arguments.length>1?Ba(e,t,n):Q(e)}function Ba(e,t,n){const r=e[t];return Re(r)?r:new Uu(e,t,n)}/** +* @vue/runtime-core v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function $t(e,t,n,r){try{return r?e(...r):e()}catch(s){or(s,t,n)}}function Xe(e,t,n,r){if(te(e)){const o=$t(e,t,n,r);return o&&ya(o)&&o.catch(l=>{or(l,t,n)}),o}const s=[];for(let o=0;o>>1,s=Me[r],o=Wn(s);oit&&Me.splice(t,1)}function Yu(e){X(e)?mn.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Ut+1:Ut))&&mn.push(e),ja()}function Zo(e,t,n=Un?it+1:0){for(;nWn(n)-Wn(r));if(mn.length=0,Lt){Lt.push(...t);return}for(Lt=t,Ut=0;Ute.id==null?1/0:e.id,Ju=(e,t)=>{const n=Wn(e)-Wn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Va(e){Os=!1,Un=!0,Me.sort(Ju);try{for(it=0;itPe(v)?v.trim():v)),d&&(s=n.map(iu))}let a,i=r[a=ls(t)]||r[a=ls(Ze(t))];!i&&o&&(i=r[a=ls(Sn(t))]),i&&Xe(i,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(c,e,6,s)}}function za(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let l={},a=!1;if(!te(e)){const i=c=>{const f=za(c,t,!0);f&&(a=!0,Ce(l,f))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!o&&!a?(me(e)&&r.set(e,null),null):(X(o)?o.forEach(i=>l[i]=null):Ce(l,o),me(e)&&r.set(e,l),l)}function Kr(e,t){return!e||!tr(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,Sn(t))||le(e,t))}let Qe=null,Ua=null;function Fr(e){const t=Qe;return Qe=e,Ua=e&&e.type.__scopeId||null,t}function Xu(e,t=Qe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&fl(-1);const o=Fr(t);let l;try{l=e(...s)}finally{Fr(o),r._d&&fl(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function is(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[l],slots:a,attrs:i,emit:c,render:f,renderCache:d,data:p,setupState:v,ctx:g,inheritAttrs:E}=e;let w,b;const C=Fr(e);try{if(n.shapeFlag&4){const x=s||r,M=x;w=nt(f.call(M,x,d,o,v,p,g)),b=i}else{const x=t;w=nt(x.length>1?x(o,{attrs:i,slots:a,emit:c}):x(o,null)),b=t.props?i:Zu(i)}}catch(x){Hn.length=0,or(x,e,1),w=Se(dt)}let y=w;if(b&&E!==!1){const x=Object.keys(b),{shapeFlag:M}=y;x.length&&M&7&&(l&&x.some(no)&&(b=ef(b,l)),y=Ft(y,b))}return n.dirs&&(y=Ft(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),w=y,Fr(C),w}const Zu=e=>{let t;for(const n in e)(n==="class"||n==="style"||tr(n))&&((t||(t={}))[n]=e[n]);return t},ef=(e,t)=>{const n={};for(const r in e)(!no(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tf(e,t,n){const{props:r,children:s,component:o}=e,{props:l,children:a,patchFlag:i}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?el(r,l,c):!!l;if(i&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function Ga(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Yu(e)}const lf=Symbol.for("v-scx"),af=()=>Ae(lf);function qa(e,t){return yo(e,null,t)}const _r={};function ie(e,t,n){return yo(e,t,n)}function yo(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:l,onTrigger:a}=he){if(t&&o){const S=t;t=(...$)=>{S(...$),M()}}const i=Te,c=S=>r===!0?S:fn(S,r===!1?1:void 0);let f,d=!1,p=!1;if(Re(e)?(f=()=>e.value,d=$r(e)):vn(e)?(f=()=>c(e),d=!0):X(e)?(p=!0,d=e.some(S=>vn(S)||$r(S)),f=()=>e.map(S=>{if(Re(S))return S.value;if(vn(S))return c(S);if(te(S))return $t(S,i,2)})):te(e)?t?f=()=>$t(e,i,2):f=()=>(v&&v(),Xe(e,i,3,[g])):f=Je,t&&r){const S=f;f=()=>fn(S())}let v,g=S=>{v=y.onStop=()=>{$t(S,i,4),v=y.onStop=void 0}},E;if(cr)if(g=Je,t?n&&Xe(t,i,3,[f(),p?[]:void 0,g]):f(),s==="sync"){const S=af();E=S.__watcherHandles||(S.__watcherHandles=[])}else return Je;let w=p?new Array(e.length).fill(_r):_r;const b=()=>{if(!(!y.active||!y.dirty))if(t){const S=y.run();(r||d||(p?S.some(($,I)=>Nt($,w[I])):Nt(S,w)))&&(v&&v(),Xe(t,i,3,[S,w===_r?void 0:p&&w[0]===_r?[]:w,g]),w=S)}else y.run()};b.allowRecurse=!!t;let C;s==="sync"?C=b:s==="post"?C=()=>Be(b,i&&i.suspense):(b.pre=!0,i&&(b.id=i.uid),C=()=>qr(b));const y=new ao(f,Je,C),x=_a(),M=()=>{y.stop(),x&&ro(x.effects,y)};return t?n?b():w=y.run():s==="post"?Be(y.run.bind(y),i&&i.suspense):y.run(),E&&E.push(M),M}function cf(e,t,n){const r=this.proxy,s=Pe(e)?e.includes(".")?Ka(r,e):()=>r[e]:e.bind(r,r);let o;te(t)?o=t:(o=t.handler,n=t);const l=ir(this),a=yo(s,o.bind(r),n);return l(),a}function Ka(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Re(e))fn(e.value,t,n,r);else if(X(e))for(let s=0;s{fn(s,t,n,r)});else if(ou(e))for(const s in e)fn(e[s],t,n,r);return e}function at(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let l=0;l{e.isMounted=!0}),wo(()=>{e.isUnmounting=!0}),e}const Ke=[Function,Array],Ja={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ke,onEnter:Ke,onAfterEnter:Ke,onEnterCancelled:Ke,onBeforeLeave:Ke,onLeave:Ke,onAfterLeave:Ke,onLeaveCancelled:Ke,onBeforeAppear:Ke,onAppear:Ke,onAfterAppear:Ke,onAppearCancelled:Ke},uf={name:"BaseTransition",props:Ja,setup(e,{slots:t}){const n=ar(),r=Ya();return()=>{const s=t.default&&bo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const p of s)if(p.type!==dt){o=p;break}}const l=se(e),{mode:a}=l;if(r.isLeaving)return cs(o);const i=nl(o);if(!i)return cs(o);const c=Gn(i,l,r,n);qn(i,c);const f=n.subTree,d=f&&nl(f);if(d&&d.type!==dt&&!Wt(i,d)){const p=Gn(d,l,r,n);if(qn(d,p),a==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},cs(o);a==="in-out"&&i.type!==dt&&(p.delayLeave=(v,g,E)=>{const w=Qa(r,d);w[String(d.key)]=d,v[Pt]=()=>{g(),v[Pt]=void 0,delete c.delayedLeave},c.delayedLeave=E})}return o}}},ff=uf;function Qa(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Gn(e,t,n,r){const{appear:s,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:i,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:v,onLeaveCancelled:g,onBeforeAppear:E,onAppear:w,onAfterAppear:b,onAppearCancelled:C}=t,y=String(e.key),x=Qa(n,e),M=(I,K)=>{I&&Xe(I,r,9,K)},S=(I,K)=>{const R=K[1];M(I,K),X(I)?I.every(Y=>Y.length<=1)&&R():I.length<=1&&R()},$={mode:o,persisted:l,beforeEnter(I){let K=a;if(!n.isMounted)if(s)K=E||a;else return;I[Pt]&&I[Pt](!0);const R=x[y];R&&Wt(e,R)&&R.el[Pt]&&R.el[Pt](),M(K,[I])},enter(I){let K=i,R=c,Y=f;if(!n.isMounted)if(s)K=w||i,R=b||c,Y=C||f;else return;let F=!1;const Z=I[Er]=_e=>{F||(F=!0,_e?M(Y,[I]):M(R,[I]),$.delayedLeave&&$.delayedLeave(),I[Er]=void 0)};K?S(K,[I,Z]):Z()},leave(I,K){const R=String(e.key);if(I[Er]&&I[Er](!0),n.isUnmounting)return K();M(d,[I]);let Y=!1;const F=I[Pt]=Z=>{Y||(Y=!0,K(),Z?M(g,[I]):M(v,[I]),I[Pt]=void 0,x[R]===e&&delete x[R])};x[R]=e,p?S(p,[I,F]):F()},clone(I){return Gn(I,t,n,r)}};return $}function cs(e){if(lr(e))return e=Ft(e),e.children=null,e}function nl(e){return lr(e)?e.children?e.children[0]:void 0:e}function qn(e,t){e.shapeFlag&6&&e.component?qn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function df(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:l=!0,onError:a}=e;let i=null,c,f=0;const d=()=>(f++,i=null,p()),p=()=>{let v;return i||(v=i=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),a)return new Promise((E,w)=>{a(g,()=>E(d()),()=>w(g),f+1)});throw g}).then(g=>v!==i&&i?i:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),c=g,g)))};return z({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const v=Te;if(c)return()=>us(c,v);const g=C=>{i=null,or(C,v,13,!r)};if(l&&v.suspense||cr)return p().then(C=>()=>us(C,v)).catch(C=>(g(C),()=>r?Se(r,{error:C}):null));const E=Q(!1),w=Q(),b=Q(!!s);return s&&setTimeout(()=>{b.value=!1},s),o!=null&&setTimeout(()=>{if(!E.value&&!w.value){const C=new Error(`Async component timed out after ${o}ms.`);g(C),w.value=C}},o),p().then(()=>{E.value=!0,v.parent&&lr(v.parent.vnode)&&(v.parent.effect.dirty=!0,qr(v.parent.update))}).catch(C=>{g(C),w.value=C}),()=>{if(E.value&&c)return us(c,v);if(w.value&&r)return Se(r,{error:w.value});if(n&&!b.value)return Se(n)}}})}function us(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,l=Se(e,r,s);return l.ref=n,l.ce=o,delete t.vnode.ce,l}const lr=e=>e.type.__isKeepAlive;function pf(e,t){Xa(e,"a",t)}function hf(e,t){Xa(e,"da",t)}function Xa(e,t,n=Te){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Yr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)lr(s.parent.vnode)&&vf(r,t,n,s),s=s.parent}}function vf(e,t,n,r){const s=Yr(t,e,r,!0);kn(()=>{ro(r[t],s)},n)}function Yr(e,t,n=Te,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Qt();const a=ir(n),i=Xe(t,n,e,l);return a(),Xt(),i});return r?s.unshift(o):s.push(o),o}}const wt=e=>(t,n=Te)=>(!cr||e==="sp")&&Yr(e,(...r)=>t(...r),n),mf=wt("bm"),ge=wt("m"),gf=wt("bu"),Za=wt("u"),wo=wt("bum"),kn=wt("um"),yf=wt("sp"),bf=wt("rtg"),wf=wt("rtc");function _f(e,t=Te){Yr("ec",e,t)}const Ms=e=>e?pi(e)?So(e)||e.proxy:Ms(e.parent):null,Fn=Ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ms(e.parent),$root:e=>Ms(e.root),$emit:e=>e.emit,$options:e=>_o(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qr(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>cf.bind(e)}),fs=(e,t)=>e!==he&&!e.__isScriptSetup&&le(e,t),Ef={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:l,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(fs(r,t))return l[t]=1,r[t];if(s!==he&&le(s,t))return l[t]=2,s[t];if((c=e.propsOptions[0])&&le(c,t))return l[t]=3,o[t];if(n!==he&&le(n,t))return l[t]=4,n[t];$s&&(l[t]=0)}}const f=Fn[t];let d,p;if(f)return t==="$attrs"&&Ve(e,"get",t),f(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==he&&le(n,t))return l[t]=4,n[t];if(p=i.config.globalProperties,le(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return fs(s,t)?(s[t]=n,!0):r!==he&&le(r,t)?(r[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},l){let a;return!!n[l]||e!==he&&le(e,l)||fs(t,l)||(a=o[0])&&le(a,l)||le(r,l)||le(Fn,l)||le(s.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function rl(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let $s=!0;function Cf(e){const t=_o(e),n=e.proxy,r=e.ctx;$s=!1,t.beforeCreate&&sl(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:l,watch:a,provide:i,inject:c,created:f,beforeMount:d,mounted:p,beforeUpdate:v,updated:g,activated:E,deactivated:w,beforeDestroy:b,beforeUnmount:C,destroyed:y,unmounted:x,render:M,renderTracked:S,renderTriggered:$,errorCaptured:I,serverPrefetch:K,expose:R,inheritAttrs:Y,components:F,directives:Z,filters:_e}=t;if(c&&Sf(c,r,null),l)for(const ne in l){const W=l[ne];te(W)&&(r[ne]=W.bind(n))}if(s){const ne=s.call(n,n);me(ne)&&(e.data=rr(ne))}if($s=!0,o)for(const ne in o){const W=o[ne],et=te(W)?W.bind(n,n):te(W.get)?W.get.bind(n,n):Je,Ct=!te(W)&&te(W.set)?W.set.bind(n):Je,ot=k({get:et,set:Ct});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(a)for(const ne in a)ei(a[ne],r,n,ne);if(i){const ne=te(i)?i.call(n):i;Reflect.ownKeys(ne).forEach(W=>{gn(W,ne[W])})}f&&sl(f,e,"c");function G(ne,W){X(W)?W.forEach(et=>ne(et.bind(n))):W&&ne(W.bind(n))}if(G(mf,d),G(ge,p),G(gf,v),G(Za,g),G(pf,E),G(hf,w),G(_f,I),G(wf,S),G(bf,$),G(wo,C),G(kn,x),G(yf,K),X(R))if(R.length){const ne=e.exposed||(e.exposed={});R.forEach(W=>{Object.defineProperty(ne,W,{get:()=>n[W],set:et=>n[W]=et})})}else e.exposed||(e.exposed={});M&&e.render===Je&&(e.render=M),Y!=null&&(e.inheritAttrs=Y),F&&(e.components=F),Z&&(e.directives=Z)}function Sf(e,t,n=Je){X(e)&&(e=Ns(e));for(const r in e){const s=e[r];let o;me(s)?"default"in s?o=Ae(s.from||r,s.default,!0):o=Ae(s.from||r):o=Ae(s),Re(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function sl(e,t,n){Xe(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ei(e,t,n,r){const s=r.includes(".")?Ka(n,r):()=>n[r];if(Pe(e)){const o=t[e];te(o)&&ie(s,o)}else if(te(e))ie(s,e.bind(n));else if(me(e))if(X(e))e.forEach(o=>ei(o,t,n,r));else{const o=te(e.handler)?e.handler.bind(n):t[e.handler];te(o)&&ie(s,o,e)}}function _o(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,a=o.get(t);let i;return a?i=a:!s.length&&!n&&!r?i=t:(i={},s.length&&s.forEach(c=>Dr(i,c,l,!0)),Dr(i,t,l)),me(t)&&o.set(t,i),i}function Dr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Dr(e,o,n,!0),s&&s.forEach(l=>Dr(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const a=kf[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const kf={data:ol,props:ll,emits:ll,methods:In,computed:In,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:In,directives:In,watch:Tf,provide:ol,inject:xf};function ol(e,t){return t?e?function(){return Ce(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function xf(e,t){return In(Ns(e),Ns(t))}function Ns(e){if(X(e)){const t={};for(let n=0;n1)return n&&te(t)?t.call(r&&r.proxy):t}}function Pf(e,t,n,r=!1){const s={},o={};Or(o,Jr,1),e.propsDefaults=Object.create(null),ni(e,t,s,o);for(const l in e.propsOptions[0])l in s||(s[l]=void 0);n?e.props=r?s:Oa(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Rf(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:l}}=e,a=se(s),[i]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const f=e.vnode.dynamicProps;for(let d=0;d{i=!0;const[p,v]=ri(d,t,!0);Ce(l,p),v&&a.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!i)return me(e)&&r.set(e,pn),pn;if(X(o))for(let f=0;f-1,v[1]=E<0||g-1||le(v,"default"))&&a.push(d)}}}const c=[l,a];return me(e)&&r.set(e,c),c}function al(e){return e[0]!=="$"&&!hn(e)}function il(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cl(e,t){return il(e)===il(t)}function ul(e,t){return X(t)?t.findIndex(n=>cl(n,e)):te(t)&&cl(t,e)?0:-1}const si=e=>e[0]==="_"||e==="$stable",Eo=e=>X(e)?e.map(nt):[nt(e)],If=(e,t,n)=>{if(t._n)return t;const r=Xu((...s)=>Eo(t(...s)),n);return r._c=!1,r},oi=(e,t,n)=>{const r=e._ctx;for(const s in e){if(si(s))continue;const o=e[s];if(te(o))t[s]=If(s,o,r);else if(o!=null){const l=Eo(o);t[s]=()=>l}}},li=(e,t)=>{const n=Eo(t);e.slots.default=()=>n},Of=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=se(t),Or(t,"_",n)):oi(t,e.slots={})}else e.slots={},t&&li(e,t);Or(e.slots,Jr,1)},Mf=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,l=he;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Ce(s,t),!n&&a===1&&delete s._):(o=!t.$stable,oi(t,s)),l=t}else t&&(li(e,t),l={default:1});if(o)for(const a in s)!si(a)&&l[a]==null&&delete s[a]};function Br(e,t,n,r,s=!1){if(X(e)){e.forEach((p,v)=>Br(p,t&&(X(t)?t[v]:t),n,r,s));return}if(Nn(r)&&!s)return;const o=r.shapeFlag&4?So(r.component)||r.component.proxy:r.el,l=s?null:o,{i:a,r:i}=e,c=t&&t.r,f=a.refs===he?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==i&&(Pe(c)?(f[c]=null,le(d,c)&&(d[c]=null)):Re(c)&&(c.value=null)),te(i))$t(i,a,12,[l,f]);else{const p=Pe(i),v=Re(i);if(p||v){const g=()=>{if(e.f){const E=p?le(d,i)?d[i]:f[i]:i.value;s?X(E)&&ro(E,o):X(E)?E.includes(o)||E.push(o):p?(f[i]=[o],le(d,i)&&(d[i]=f[i])):(i.value=[o],e.k&&(f[e.k]=i.value))}else p?(f[i]=l,le(d,i)&&(d[i]=l)):v&&(i.value=l,e.k&&(f[e.k]=l))};l?(g.id=-1,Be(g,n)):g()}}}let kt=!1;const $f=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Nf=e=>e.namespaceURI.includes("MathML"),Cr=e=>{if($f(e))return"svg";if(Nf(e))return"mathml"},Sr=e=>e.nodeType===8;function Ff(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:l,remove:a,insert:i,createComment:c}}=e,f=(y,x)=>{if(!x.hasChildNodes()){n(null,y,x),Nr(),x._vnode=y;return}kt=!1,d(x.firstChild,y,null,null,null),Nr(),x._vnode=y,kt&&console.error("Hydration completed but contains mismatches.")},d=(y,x,M,S,$,I=!1)=>{const K=Sr(y)&&y.data==="[",R=()=>E(y,x,M,S,$,K),{type:Y,ref:F,shapeFlag:Z,patchFlag:_e}=x;let Ee=y.nodeType;x.el=y,_e===-2&&(I=!1,x.dynamicChildren=null);let G=null;switch(Y){case bn:Ee!==3?x.children===""?(i(x.el=s(""),l(y),y),G=y):G=R():(y.data!==x.children&&(kt=!0,y.data=x.children),G=o(y));break;case dt:C(y)?(G=o(y),b(x.el=y.content.firstChild,y,M)):Ee!==8||K?G=R():G=o(y);break;case Bn:if(K&&(y=o(y),Ee=y.nodeType),Ee===1||Ee===3){G=y;const ne=!x.children.length;for(let W=0;W{I=I||!!x.dynamicChildren;const{type:K,props:R,patchFlag:Y,shapeFlag:F,dirs:Z,transition:_e}=x,Ee=K==="input"||K==="option";if(Ee||Y!==-1){Z&&at(x,null,M,"created");let G=!1;if(C(y)){G=ai(S,_e)&&M&&M.vnode.props&&M.vnode.props.appear;const W=y.content.firstChild;G&&_e.beforeEnter(W),b(W,y,M),x.el=y=W}if(F&16&&!(R&&(R.innerHTML||R.textContent))){let W=v(y.firstChild,x,y,M,S,$,I);for(;W;){kt=!0;const et=W;W=W.nextSibling,a(et)}}else F&8&&y.textContent!==x.children&&(kt=!0,y.textContent=x.children);if(R)if(Ee||!I||Y&48)for(const W in R)(Ee&&(W.endsWith("value")||W==="indeterminate")||tr(W)&&!hn(W)||W[0]===".")&&r(y,W,null,R[W],void 0,void 0,M);else R.onClick&&r(y,"onClick",null,R.onClick,void 0,void 0,M);let ne;(ne=R&&R.onVnodeBeforeMount)&&Ye(ne,M,x),Z&&at(x,null,M,"beforeMount"),((ne=R&&R.onVnodeMounted)||Z||G)&&Ga(()=>{ne&&Ye(ne,M,x),G&&_e.enter(y),Z&&at(x,null,M,"mounted")},S)}return y.nextSibling},v=(y,x,M,S,$,I,K)=>{K=K||!!x.dynamicChildren;const R=x.children,Y=R.length;for(let F=0;F{const{slotScopeIds:K}=x;K&&($=$?$.concat(K):K);const R=l(y),Y=v(o(y),x,R,M,S,$,I);return Y&&Sr(Y)&&Y.data==="]"?o(x.anchor=Y):(kt=!0,i(x.anchor=c("]"),R,Y),Y)},E=(y,x,M,S,$,I)=>{if(kt=!0,x.el=null,I){const Y=w(y);for(;;){const F=o(y);if(F&&F!==Y)a(F);else break}}const K=o(y),R=l(y);return a(y),n(null,x,R,K,M,S,Cr(R),$),K},w=(y,x="[",M="]")=>{let S=0;for(;y;)if(y=o(y),y&&Sr(y)&&(y.data===x&&S++,y.data===M)){if(S===0)return o(y);S--}return y},b=(y,x,M)=>{const S=x.parentNode;S&&S.replaceChild(y,x);let $=M;for(;$;)$.vnode.el===x&&($.vnode.el=$.subTree.el=y),$=$.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[f,d]}const Be=Ga;function Df(e){return Bf(e,Ff)}function Bf(e,t){const n=ba();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:l,createText:a,createComment:i,setText:c,setElementText:f,parentNode:d,nextSibling:p,setScopeId:v=Je,insertStaticContent:g}=e,E=(h,m,_,L=null,T=null,N=null,H=void 0,O=null,D=!!m.dynamicChildren)=>{if(h===m)return;h&&!Wt(h,m)&&(L=A(h),De(h,T,N,!0),h=null),m.patchFlag===-2&&(D=!1,m.dynamicChildren=null);const{type:P,ref:V,shapeFlag:J}=m;switch(P){case bn:w(h,m,_,L);break;case dt:b(h,m,_,L);break;case Bn:h==null&&C(m,_,L,H);break;case We:F(h,m,_,L,T,N,H,O,D);break;default:J&1?M(h,m,_,L,T,N,H,O,D):J&6?Z(h,m,_,L,T,N,H,O,D):(J&64||J&128)&&P.process(h,m,_,L,T,N,H,O,D,U)}V!=null&&T&&Br(V,h&&h.ref,N,m||h,!m)},w=(h,m,_,L)=>{if(h==null)r(m.el=a(m.children),_,L);else{const T=m.el=h.el;m.children!==h.children&&c(T,m.children)}},b=(h,m,_,L)=>{h==null?r(m.el=i(m.children||""),_,L):m.el=h.el},C=(h,m,_,L)=>{[h.el,h.anchor]=g(h.children,m,_,L,h.el,h.anchor)},y=({el:h,anchor:m},_,L)=>{let T;for(;h&&h!==m;)T=p(h),r(h,_,L),h=T;r(m,_,L)},x=({el:h,anchor:m})=>{let _;for(;h&&h!==m;)_=p(h),s(h),h=_;s(m)},M=(h,m,_,L,T,N,H,O,D)=>{m.type==="svg"?H="svg":m.type==="math"&&(H="mathml"),h==null?S(m,_,L,T,N,H,O,D):K(h,m,T,N,H,O,D)},S=(h,m,_,L,T,N,H,O)=>{let D,P;const{props:V,shapeFlag:J,transition:q,dirs:ee}=h;if(D=h.el=l(h.type,N,V&&V.is,V),J&8?f(D,h.children):J&16&&I(h.children,D,null,L,T,ds(h,N),H,O),ee&&at(h,null,L,"created"),$(D,h,h.scopeId,H,L),V){for(const ue in V)ue!=="value"&&!hn(ue)&&o(D,ue,null,V[ue],N,h.children,L,T,Oe);"value"in V&&o(D,"value",null,V.value,N),(P=V.onVnodeBeforeMount)&&Ye(P,L,h)}ee&&at(h,null,L,"beforeMount");const re=ai(T,q);re&&q.beforeEnter(D),r(D,m,_),((P=V&&V.onVnodeMounted)||re||ee)&&Be(()=>{P&&Ye(P,L,h),re&&q.enter(D),ee&&at(h,null,L,"mounted")},T)},$=(h,m,_,L,T)=>{if(_&&v(h,_),L)for(let N=0;N{for(let P=D;P{const O=m.el=h.el;let{patchFlag:D,dynamicChildren:P,dirs:V}=m;D|=h.patchFlag&16;const J=h.props||he,q=m.props||he;let ee;if(_&&jt(_,!1),(ee=q.onVnodeBeforeUpdate)&&Ye(ee,_,m,h),V&&at(m,h,_,"beforeUpdate"),_&&jt(_,!0),P?R(h.dynamicChildren,P,O,_,L,ds(m,T),N):H||W(h,m,O,null,_,L,ds(m,T),N,!1),D>0){if(D&16)Y(O,m,J,q,_,L,T);else if(D&2&&J.class!==q.class&&o(O,"class",null,q.class,T),D&4&&o(O,"style",J.style,q.style,T),D&8){const re=m.dynamicProps;for(let ue=0;ue{ee&&Ye(ee,_,m,h),V&&at(m,h,_,"updated")},L)},R=(h,m,_,L,T,N,H)=>{for(let O=0;O{if(_!==L){if(_!==he)for(const O in _)!hn(O)&&!(O in L)&&o(h,O,_[O],null,H,m.children,T,N,Oe);for(const O in L){if(hn(O))continue;const D=L[O],P=_[O];D!==P&&O!=="value"&&o(h,O,P,D,H,m.children,T,N,Oe)}"value"in L&&o(h,"value",_.value,L.value,H)}},F=(h,m,_,L,T,N,H,O,D)=>{const P=m.el=h?h.el:a(""),V=m.anchor=h?h.anchor:a("");let{patchFlag:J,dynamicChildren:q,slotScopeIds:ee}=m;ee&&(O=O?O.concat(ee):ee),h==null?(r(P,_,L),r(V,_,L),I(m.children||[],_,V,T,N,H,O,D)):J>0&&J&64&&q&&h.dynamicChildren?(R(h.dynamicChildren,q,_,T,N,H,O),(m.key!=null||T&&m===T.subTree)&&ii(h,m,!0)):W(h,m,_,V,T,N,H,O,D)},Z=(h,m,_,L,T,N,H,O,D)=>{m.slotScopeIds=O,h==null?m.shapeFlag&512?T.ctx.activate(m,_,L,H,D):_e(m,_,L,T,N,H,D):Ee(h,m,D)},_e=(h,m,_,L,T,N,H)=>{const O=h.component=Yf(h,L,T);if(lr(h)&&(O.ctx.renderer=U),Jf(O),O.asyncDep){if(T&&T.registerDep(O,G),!h.el){const D=O.subTree=Se(dt);b(null,D,m,_)}}else G(O,h,m,_,T,N,H)},Ee=(h,m,_)=>{const L=m.component=h.component;if(tf(h,m,_))if(L.asyncDep&&!L.asyncResolved){ne(L,m,_);return}else L.next=m,Ku(L.update),L.effect.dirty=!0,L.update();else m.el=h.el,L.vnode=m},G=(h,m,_,L,T,N,H)=>{const O=()=>{if(h.isMounted){let{next:V,bu:J,u:q,parent:ee,vnode:re}=h;{const ln=ci(h);if(ln){V&&(V.el=re.el,ne(h,V,H)),ln.asyncDep.then(()=>{h.isUnmounted||O()});return}}let ue=V,pe;jt(h,!1),V?(V.el=re.el,ne(h,V,H)):V=re,J&&as(J),(pe=V.props&&V.props.onVnodeBeforeUpdate)&&Ye(pe,ee,V,re),jt(h,!0);const ke=is(h),tt=h.subTree;h.subTree=ke,E(tt,ke,d(tt.el),A(tt),h,T,N),V.el=ke.el,ue===null&&nf(h,ke.el),q&&Be(q,T),(pe=V.props&&V.props.onVnodeUpdated)&&Be(()=>Ye(pe,ee,V,re),T)}else{let V;const{el:J,props:q}=m,{bm:ee,m:re,parent:ue}=h,pe=Nn(m);if(jt(h,!1),ee&&as(ee),!pe&&(V=q&&q.onVnodeBeforeMount)&&Ye(V,ue,m),jt(h,!0),J&&de){const ke=()=>{h.subTree=is(h),de(J,h.subTree,h,T,null)};pe?m.type.__asyncLoader().then(()=>!h.isUnmounted&&ke()):ke()}else{const ke=h.subTree=is(h);E(null,ke,_,L,h,T,N),m.el=ke.el}if(re&&Be(re,T),!pe&&(V=q&&q.onVnodeMounted)){const ke=m;Be(()=>Ye(V,ue,ke),T)}(m.shapeFlag&256||ue&&Nn(ue.vnode)&&ue.vnode.shapeFlag&256)&&h.a&&Be(h.a,T),h.isMounted=!0,m=_=L=null}},D=h.effect=new ao(O,Je,()=>qr(P),h.scope),P=h.update=()=>{D.dirty&&D.run()};P.id=h.uid,jt(h,!0),P()},ne=(h,m,_)=>{m.component=h;const L=h.vnode.props;h.vnode=m,h.next=null,Rf(h,m.props,L,_),Mf(h,m.children,_),Qt(),Zo(h),Xt()},W=(h,m,_,L,T,N,H,O,D=!1)=>{const P=h&&h.children,V=h?h.shapeFlag:0,J=m.children,{patchFlag:q,shapeFlag:ee}=m;if(q>0){if(q&128){Ct(P,J,_,L,T,N,H,O,D);return}else if(q&256){et(P,J,_,L,T,N,H,O,D);return}}ee&8?(V&16&&Oe(P,T,N),J!==P&&f(_,J)):V&16?ee&16?Ct(P,J,_,L,T,N,H,O,D):Oe(P,T,N,!0):(V&8&&f(_,""),ee&16&&I(J,_,L,T,N,H,O,D))},et=(h,m,_,L,T,N,H,O,D)=>{h=h||pn,m=m||pn;const P=h.length,V=m.length,J=Math.min(P,V);let q;for(q=0;qV?Oe(h,T,N,!0,!1,J):I(m,_,L,T,N,H,O,D,J)},Ct=(h,m,_,L,T,N,H,O,D)=>{let P=0;const V=m.length;let J=h.length-1,q=V-1;for(;P<=J&&P<=q;){const ee=h[P],re=m[P]=D?Rt(m[P]):nt(m[P]);if(Wt(ee,re))E(ee,re,_,null,T,N,H,O,D);else break;P++}for(;P<=J&&P<=q;){const ee=h[J],re=m[q]=D?Rt(m[q]):nt(m[q]);if(Wt(ee,re))E(ee,re,_,null,T,N,H,O,D);else break;J--,q--}if(P>J){if(P<=q){const ee=q+1,re=eeq)for(;P<=J;)De(h[P],T,N,!0),P++;else{const ee=P,re=P,ue=new Map;for(P=re;P<=q;P++){const ze=m[P]=D?Rt(m[P]):nt(m[P]);ze.key!=null&&ue.set(ze.key,P)}let pe,ke=0;const tt=q-re+1;let ln=!1,Vo=0;const An=new Array(tt);for(P=0;P=tt){De(ze,T,N,!0);continue}let lt;if(ze.key!=null)lt=ue.get(ze.key);else for(pe=re;pe<=q;pe++)if(An[pe-re]===0&&Wt(ze,m[pe])){lt=pe;break}lt===void 0?De(ze,T,N,!0):(An[lt-re]=P+1,lt>=Vo?Vo=lt:ln=!0,E(ze,m[lt],_,null,T,N,H,O,D),ke++)}const zo=ln?Hf(An):pn;for(pe=zo.length-1,P=tt-1;P>=0;P--){const ze=re+P,lt=m[ze],Uo=ze+1{const{el:N,type:H,transition:O,children:D,shapeFlag:P}=h;if(P&6){ot(h.component.subTree,m,_,L);return}if(P&128){h.suspense.move(m,_,L);return}if(P&64){H.move(h,m,_,U);return}if(H===We){r(N,m,_);for(let J=0;JO.enter(N),T);else{const{leave:J,delayLeave:q,afterLeave:ee}=O,re=()=>r(N,m,_),ue=()=>{J(N,()=>{re(),ee&&ee()})};q?q(N,re,ue):ue()}else r(N,m,_)},De=(h,m,_,L=!1,T=!1)=>{const{type:N,props:H,ref:O,children:D,dynamicChildren:P,shapeFlag:V,patchFlag:J,dirs:q}=h;if(O!=null&&Br(O,null,_,h,!0),V&256){m.ctx.deactivate(h);return}const ee=V&1&&q,re=!Nn(h);let ue;if(re&&(ue=H&&H.onVnodeBeforeUnmount)&&Ye(ue,m,h),V&6)vr(h.component,_,L);else{if(V&128){h.suspense.unmount(_,L);return}ee&&at(h,null,m,"beforeUnmount"),V&64?h.type.remove(h,m,_,T,U,L):P&&(N!==We||J>0&&J&64)?Oe(P,m,_,!1,!0):(N===We&&J&384||!T&&V&16)&&Oe(D,m,_),L&&sn(h)}(re&&(ue=H&&H.onVnodeUnmounted)||ee)&&Be(()=>{ue&&Ye(ue,m,h),ee&&at(h,null,m,"unmounted")},_)},sn=h=>{const{type:m,el:_,anchor:L,transition:T}=h;if(m===We){on(_,L);return}if(m===Bn){x(h);return}const N=()=>{s(_),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(h.shapeFlag&1&&T&&!T.persisted){const{leave:H,delayLeave:O}=T,D=()=>H(_,N);O?O(h.el,N,D):D()}else N()},on=(h,m)=>{let _;for(;h!==m;)_=p(h),s(h),h=_;s(m)},vr=(h,m,_)=>{const{bum:L,scope:T,update:N,subTree:H,um:O}=h;L&&as(L),T.stop(),N&&(N.active=!1,De(H,h,m,_)),O&&Be(O,m),Be(()=>{h.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Oe=(h,m,_,L=!1,T=!1,N=0)=>{for(let H=N;Hh.shapeFlag&6?A(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el);let j=!1;const B=(h,m,_)=>{h==null?m._vnode&&De(m._vnode,null,null,!0):E(m._vnode||null,h,m,null,null,null,_),j||(j=!0,Zo(),Nr(),j=!1),m._vnode=h},U={p:E,um:De,m:ot,r:sn,mt:_e,mc:I,pc:W,pbc:R,n:A,o:e};let ae,de;return t&&([ae,de]=t(U)),{render:B,hydrate:ae,createApp:Lf(B,ae)}}function ds({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function jt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ai(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ii(e,t,n=!1){const r=e.children,s=t.children;if(X(r)&&X(s))for(let o=0;o>1,e[n[a]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function ci(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ci(t)}const jf=e=>e.__isTeleport,We=Symbol.for("v-fgt"),bn=Symbol.for("v-txt"),dt=Symbol.for("v-cmt"),Bn=Symbol.for("v-stc"),Hn=[];let rt=null;function dh(e=!1){Hn.push(rt=e?null:[])}function Vf(){Hn.pop(),rt=Hn[Hn.length-1]||null}let Kn=1;function fl(e){Kn+=e}function zf(e){return e.dynamicChildren=Kn>0?rt||pn:null,Vf(),Kn>0&&rt&&rt.push(e),e}function ph(e,t,n,r,s,o){return zf(fi(e,t,n,r,s,o,!0))}function Ds(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Jr="__vInternal",ui=({key:e})=>e??null,Rr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Pe(e)||Re(e)||te(e)?{i:Qe,r:e,k:t,f:!!n}:e:null);function fi(e,t=null,n=null,r=0,s=null,o=e===We?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ui(t),ref:t&&Rr(t),scopeId:Ua,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Qe};return a?(Co(i,n),o&128&&e.normalize(i)):n&&(i.shapeFlag|=Pe(n)?8:16),Kn>0&&!l&&rt&&(i.patchFlag>0||o&6)&&i.patchFlag!==32&&rt.push(i),i}const Se=Uf;function Uf(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===rf)&&(e=dt),Ds(e)){const a=Ft(e,t,!0);return n&&Co(a,n),Kn>0&&!o&&rt&&(a.shapeFlag&6?rt[rt.indexOf(e)]=a:rt.push(a)),a.patchFlag|=-2,a}if(t1(e)&&(e=e.__vccOpts),t){t=Wf(t);let{class:a,style:i}=t;a&&!Pe(a)&&(t.class=lo(a)),me(i)&&(Ma(i)&&!X(i)&&(i=Ce({},i)),t.style=oo(i))}const l=Pe(e)?1:of(e)?128:jf(e)?64:me(e)?4:te(e)?2:0;return fi(e,t,n,r,s,l,o,!0)}function Wf(e){return e?Ma(e)||Jr in e?Ce({},e):e:null}function Ft(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:l}=e,a=t?Gf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ui(a),ref:t&&t.ref?n&&s?X(s)?s.concat(Rr(t)):[s,Rr(t)]:Rr(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function di(e=" ",t=0){return Se(bn,null,e,t)}function hh(e,t){const n=Se(Bn,null,e);return n.staticCount=t,n}function nt(e){return e==null||typeof e=="boolean"?Se(dt):X(e)?Se(We,null,e.slice()):typeof e=="object"?Rt(e):Se(bn,null,String(e))}function Rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function Co(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Co(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Jr in t)?t._ctx=Qe:s===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:Qe},n=32):(t=String(t),r&64?(n=16,t=[di(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gf(...e){const t={};for(let n=0;nTe||Qe;let Hr,Bs;{const e=ba(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(l=>l(o)):s[0](o)}};Hr=t("__VUE_INSTANCE_SETTERS__",n=>Te=n),Bs=t("__VUE_SSR_SETTERS__",n=>cr=n)}const ir=e=>{const t=Te;return Hr(e),e.scope.on(),()=>{e.scope.off(),Hr(t)}},dl=()=>{Te&&Te.scope.off(),Hr(null)};function pi(e){return e.vnode.shapeFlag&4}let cr=!1;function Jf(e,t=!1){t&&Bs(t);const{props:n,children:r}=e.vnode,s=pi(e);Pf(e,n,s,t),Of(e,r);const o=s?Qf(e,t):void 0;return t&&Bs(!1),o}function Qf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$a(new Proxy(e.ctx,Ef));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Zf(e):null,o=ir(e);Qt();const l=$t(r,e,0,[e.props,s]);if(Xt(),o(),ya(l)){if(l.then(dl,dl),t)return l.then(a=>{pl(e,a,t)}).catch(a=>{or(a,e,0)});e.asyncDep=l}else pl(e,l,t)}else hi(e,t)}function pl(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:me(t)&&(e.setupState=Da(t)),hi(e,n)}let hl;function hi(e,t,n){const r=e.type;if(!e.render){if(!t&&hl&&!r.render){const s=r.template||_o(e).template;if(s){const{isCustomElement:o,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,c=Ce(Ce({isCustomElement:o,delimiters:a},l),i);r.render=hl(s,c)}}e.render=r.render||Je}{const s=ir(e);Qt();try{Cf(e)}finally{Xt(),s()}}}function Xf(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ve(e,"get","$attrs"),t[n]}}))}function Zf(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Xf(e)},slots:e.slots,emit:e.emit,expose:t}}function So(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Da($a(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Fn)return Fn[n](e)},has(t,n){return n in t||n in Fn}}))}function e1(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function t1(e){return te(e)&&"__vccOpts"in e}const k=(e,t)=>Bu(e,t,cr);function u(e,t,n){const r=arguments.length;return r===2?me(t)&&!X(t)?Ds(t)?Se(e,null,[t]):Se(e,t):Se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ds(n)&&(n=[n]),Se(e,t,n))}const n1="3.4.21";/** +* @vue/runtime-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const r1="http://www.w3.org/2000/svg",s1="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,vl=It&&It.createElement("template"),o1={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?It.createElementNS(r1,e):t==="mathml"?It.createElementNS(s1,e):It.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const l=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{vl.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=vl.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]}},xt="transition",Ln="animation",wn=Symbol("_vtc"),Dt=(e,{slots:t})=>u(ff,mi(e),t);Dt.displayName="Transition";const vi={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},l1=Dt.props=Ce({},Ja,vi),Vt=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},ml=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function mi(e){const t={};for(const F in e)F in vi||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:i=o,appearActiveClass:c=l,appearToClass:f=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,g=a1(s),E=g&&g[0],w=g&&g[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:x,onLeaveCancelled:M,onBeforeAppear:S=b,onAppear:$=C,onAppearCancelled:I=y}=t,K=(F,Z,_e)=>{At(F,Z?f:a),At(F,Z?c:l),_e&&_e()},R=(F,Z)=>{F._isLeaving=!1,At(F,d),At(F,v),At(F,p),Z&&Z()},Y=F=>(Z,_e)=>{const Ee=F?$:C,G=()=>K(Z,F,_e);Vt(Ee,[Z,G]),gl(()=>{At(Z,F?i:o),gt(Z,F?f:a),ml(Ee)||yl(Z,r,E,G)})};return Ce(t,{onBeforeEnter(F){Vt(b,[F]),gt(F,o),gt(F,l)},onBeforeAppear(F){Vt(S,[F]),gt(F,i),gt(F,c)},onEnter:Y(!1),onAppear:Y(!0),onLeave(F,Z){F._isLeaving=!0;const _e=()=>R(F,Z);gt(F,d),yi(),gt(F,p),gl(()=>{F._isLeaving&&(At(F,d),gt(F,v),ml(x)||yl(F,r,w,_e))}),Vt(x,[F,_e])},onEnterCancelled(F){K(F,!1),Vt(y,[F])},onAppearCancelled(F){K(F,!0),Vt(I,[F])},onLeaveCancelled(F){R(F),Vt(M,[F])}})}function a1(e){if(e==null)return null;if(me(e))return[ps(e.enter),ps(e.leave)];{const t=ps(e);return[t,t]}}function ps(e){return cu(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[wn]||(e[wn]=new Set)).add(t)}function At(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[wn];n&&(n.delete(t),n.size||(e[wn]=void 0))}function gl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let i1=0;function yl(e,t,n,r){const s=e._endId=++i1,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:l,timeout:a,propCount:i}=gi(e,t);if(!l)return r();const c=l+"end";let f=0;const d=()=>{e.removeEventListener(c,p),o()},p=v=>{v.target===e&&++f>=i&&d()};setTimeout(()=>{f(n[g]||"").split(", "),s=r(`${xt}Delay`),o=r(`${xt}Duration`),l=bl(s,o),a=r(`${Ln}Delay`),i=r(`${Ln}Duration`),c=bl(a,i);let f=null,d=0,p=0;t===xt?l>0&&(f=xt,d=l,p=o.length):t===Ln?c>0&&(f=Ln,d=c,p=i.length):(d=Math.max(l,c),f=d>0?l>c?xt:Ln:null,p=f?f===xt?o.length:i.length:0);const v=f===xt&&/\b(transform|all)(,|$)/.test(r(`${xt}Property`).toString());return{type:f,timeout:d,propCount:p,hasTransform:v}}function bl(e,t){for(;e.lengthwl(n)+wl(e[r])))}function wl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yi(){return document.body.offsetHeight}function c1(e,t,n){const r=e[wn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _l=Symbol("_vod"),u1=Symbol("_vsh"),f1=Symbol(""),d1=/(^|;)\s*display\s*:/;function p1(e,t,n){const r=e.style,s=Pe(n);let o=!1;if(n&&!s){if(t)if(Pe(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Ir(r,a,"")}else for(const l in t)n[l]==null&&Ir(r,l,"");for(const l in n)l==="display"&&(o=!0),Ir(r,l,n[l])}else if(s){if(t!==n){const l=r[f1];l&&(n+=";"+l),r.cssText=n,o=d1.test(n)}}else t&&e.removeAttribute("style");_l in e&&(e[_l]=o?r.display:"",e[u1]&&(r.display="none"))}const El=/\s*!important$/;function Ir(e,t,n){if(X(n))n.forEach(r=>Ir(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=h1(e,t);El.test(n)?e.setProperty(Sn(r),n.replace(El,""),"important"):e[r]=n}}const Cl=["Webkit","Moz","ms"],hs={};function h1(e,t){const n=hs[t];if(n)return n;let r=Ze(t);if(r!=="filter"&&r in e)return hs[t]=r;r=nr(r);for(let s=0;svs||(_1.then(()=>vs=0),vs=Date.now());function C1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Xe(S1(r,n.value),t,5,[r])};return n.value=e,n.attached=E1(),n}function S1(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Tl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,k1=(e,t,n,r,s,o,l,a,i)=>{const c=s==="svg";t==="class"?c1(e,r,c):t==="style"?p1(e,n,r):tr(t)?no(t)||b1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):x1(e,t,r,c))?m1(e,t,r,o,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),v1(e,t,r,c))};function x1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Tl(t)&&te(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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Tl(t)&&Pe(n)?!1:t in e}const bi=new WeakMap,wi=new WeakMap,jr=Symbol("_moveCb"),Al=Symbol("_enterCb"),_i={name:"TransitionGroup",props:Ce({},l1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ar(),r=Ya();let s,o;return Za(()=>{if(!s.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!I1(s[0].el,n.vnode.el,l))return;s.forEach(L1),s.forEach(P1);const a=s.filter(R1);yi(),a.forEach(i=>{const c=i.el,f=c.style;gt(c,l),f.transform=f.webkitTransform=f.transitionDuration="";const d=c[jr]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[jr]=null,At(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=se(e),a=mi(l);let i=l.tag||We;s=o,o=t.default?bo(t.default()):[];for(let c=0;cdelete e.mode;_i.props;const A1=_i;function L1(e){const t=e.el;t[jr]&&t[jr](),t[Al]&&t[Al]()}function P1(e){wi.set(e,e.el.getBoundingClientRect())}function R1(e){const t=bi.get(e),n=wi.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function I1(e,t,n){const r=e.cloneNode(),s=e[wn];s&&s.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 o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:l}=gi(r);return o.removeChild(r),l}const O1=Ce({patchProp:k1},o1);let ms,Ll=!1;function M1(){return ms=Ll?ms:Df(O1),Ll=!0,ms}const $1=(...e)=>{const t=M1().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=F1(r);if(s)return n(s,!0,N1(s))},t};function N1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function F1(e){return Pe(e)?document.querySelector(e):e}var D1=["link","meta","script","style","noscript","template"],B1=["title","base"],H1=([e,t,n])=>B1.includes(e)?e:D1.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,s])=>typeof s=="boolean"?s?[r,""]:null:[r,s]).filter(r=>r!=null).sort(([r],[s])=>r.localeCompare(s)),n]):null,j1=e=>{const t=new Set,n=[];return e.forEach(r=>{const s=H1(r);s&&!t.has(s)&&(t.add(s),n.push(r))}),n},V1=e=>e[0]==="/"?e:`/${e}`,Ei=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,Zt=e=>/^(https?:)?\/\//.test(e),z1=/.md((\?|#).*)?$/,Qr=(e,t="/")=>!!(Zt(e)||e.startsWith("/")&&!e.startsWith(t)&&!z1.test(e)),Xr=e=>/^[a-z][a-z0-9+.-]*:/.test(e),ur=e=>Object.prototype.toString.call(e)==="[object Object]",U1=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("")},ko=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Ci=e=>e[0]==="/"?e.slice(1):e,W1=(e,t)=>{const n=Object.keys(e).sort((r,s)=>{const o=s.split("/").length-r.split("/").length;return o!==0?o:s.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},ve=e=>typeof e=="string";const G1="modulepreload",q1=function(e){return"/"+e},Pl={},xe=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));s=Promise.all(n.map(i=>{if(i=q1(i),i in Pl)return;Pl[i]=!0;const c=i.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!r)for(let v=o.length-1;v>=0;v--){const g=o[v];if(g.href===i&&(!c||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":G1,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 s.then(()=>t()).catch(o=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o})},K1=JSON.parse("{}"),Y1=Object.fromEntries([["/",{loader:()=>xe(()=>import("./index.html-BYEHDf_T.js"),__vite__mapDeps([0,1])),meta:{t:"Home",i:"home"}}],["/docs/",{loader:()=>xe(()=>import("./index.html-CV1tT02h.js"),__vite__mapDeps([2,1])),meta:{t:"Docs",i:"book"}}],["/get-started/",{loader:()=>xe(()=>import("./index.html-IqEkeXvw.js"),__vite__mapDeps([3,1])),meta:{t:"Get started",i:"lightbulb"}}],["/get-started/installation.html",{loader:()=>xe(()=>import("./installation.html-CmklNE8_.js"),__vite__mapDeps([4,1])),meta:{t:"Installation guide",i:"screwdriver-wrench"}}],["/get-started/quick-start.html",{loader:()=>xe(()=>import("./quick-start.html-D5plm-kz.js"),__vite__mapDeps([5,1])),meta:{t:"Quick start",i:"code"}}],["/get-started/what-is-nodejs.html",{loader:()=>xe(()=>import("./what-is-nodejs.html-DCOZkEW7.js"),__vite__mapDeps([6,1])),meta:{t:"What is Node.js?",i:"book-open"}}],["/docs/Basics/Email.html",{loader:()=>xe(()=>import("./Email.html-BWMbkjV7.js"),__vite__mapDeps([7,1])),meta:{t:"Email",i:"envelope"}}],["/docs/Basics/Events.html",{loader:()=>xe(()=>import("./Events.html-BPkdK2xi.js"),__vite__mapDeps([8,1])),meta:{t:"Events",i:"bell"}}],["/docs/Basics/File%20System.html",{loader:()=>xe(()=>import("./File System.html-zAz0M-2I.js"),__vite__mapDeps([9,1])),meta:{t:"File System",i:"file"}}],["/docs/Basics/HTTP%20Modules.html",{loader:()=>xe(()=>import("./HTTP Modules.html-7tdtaOpE.js"),__vite__mapDeps([10,1])),meta:{t:"HTTP Modules",i:"folder"}}],["/docs/Basics/Modules.html",{loader:()=>xe(()=>import("./Modules.html-CvmgiyUv.js"),__vite__mapDeps([11,1])),meta:{t:"Modules",i:"server"}}],["/docs/Basics/NPM.html",{loader:()=>xe(()=>import("./NPM.html-Dd3s90c-.js"),__vite__mapDeps([12,1])),meta:{t:"NPM",i:"share-nodes"}}],["/docs/Basics/",{loader:()=>xe(()=>import("./index.html-C30mxC7O.js"),__vite__mapDeps([13,1])),meta:{t:"Basics",i:"circle-info"}}],["/docs/Basics/URL%20Module.html",{loader:()=>xe(()=>import("./URL Module.html-DyQnLMnx.js"),__vite__mapDeps([14,1])),meta:{t:"URL Module",i:"file-code"}}],["/docs/Basics/Upload%20Files.html",{loader:()=>xe(()=>import("./Upload Files.html-B-WX4OtD.js"),__vite__mapDeps([15,1])),meta:{t:"Upload Files",i:"file-export"}}],["/404.html",{loader:()=>xe(()=>import("./404.html-B_8LuuF5.js"),__vite__mapDeps([16,1])),meta:{t:""}}]]);/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const cn=typeof document<"u";function J1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function gs(e,t){const n={};for(const r in t){const s=t[r];n[r]=st(s)?s.map(e):e(s)}return n}const jn=()=>{},st=Array.isArray,Si=/#/g,Q1=/&/g,X1=/\//g,Z1=/=/g,ed=/\?/g,ki=/\+/g,td=/%5B/g,nd=/%5D/g,xi=/%5E/g,rd=/%60/g,Ti=/%7B/g,sd=/%7C/g,Ai=/%7D/g,od=/%20/g;function xo(e){return encodeURI(""+e).replace(sd,"|").replace(td,"[").replace(nd,"]")}function ld(e){return xo(e).replace(Ti,"{").replace(Ai,"}").replace(xi,"^")}function Hs(e){return xo(e).replace(ki,"%2B").replace(od,"+").replace(Si,"%23").replace(Q1,"%26").replace(rd,"`").replace(Ti,"{").replace(Ai,"}").replace(xi,"^")}function ad(e){return Hs(e).replace(Z1,"%3D")}function id(e){return xo(e).replace(Si,"%23").replace(ed,"%3F")}function cd(e){return e==null?"":id(e).replace(X1,"%2F")}function Yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ud=/\/$/,fd=e=>e.replace(ud,"");function ys(e,t,n="/"){let r,s={},o="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a=0&&(i=-1),i>-1&&(r=t.slice(0,i),o=t.slice(i+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=vd(r??t,n),{fullPath:r+(o&&"?")+o+l,path:r,query:s,hash:Yn(l)}}function dd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pd(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&_n(t.matched[r],n.matched[s])&&Li(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Li(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hd(e[n],t[n]))return!1;return!0}function hd(e,t){return st(e)?Il(e,t):st(t)?Il(t,e):e===t}function Il(e,t){return st(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,l,a;for(l=0;l1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(l).join("/")}var Jn;(function(e){e.pop="pop",e.push="push"})(Jn||(Jn={}));var Vn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Vn||(Vn={}));function md(e){if(!e)if(cn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),fd(e)}const gd=/^[^#]+#/;function yd(e,t){return e.replace(gd,"#")+t}function bd(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 Zr=()=>({left:window.scrollX,top:window.scrollY});function wd(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=bd(s,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 Ol(e,t){return(history.state?history.state.position-t:-1)+e}const js=new Map;function _d(e,t){js.set(e,t)}function Ed(e){const t=js.get(e);return js.delete(e),t}let Cd=()=>location.protocol+"//"+location.host;function Pi(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,i=s.slice(a);return i[0]!=="/"&&(i="/"+i),Rl(i,"")}return Rl(n,e)+r+s}function Sd(e,t,n,r){let s=[],o=[],l=null;const a=({state:p})=>{const v=Pi(e,location),g=n.value,E=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===g){l=null;return}w=E?p.position-E.position:0}else r(v);s.forEach(b=>{b(n.value,g,{delta:w,type:Jn.pop,direction:w?w>0?Vn.forward:Vn.back:Vn.unknown})})};function i(){l=n.value}function c(p){s.push(p);const v=()=>{const g=s.indexOf(p);g>-1&&s.splice(g,1)};return o.push(v),v}function f(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:Zr()}),"")}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function Ml(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Zr():null}}function kd(e){const{history:t,location:n}=window,r={value:Pi(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(i,c,f){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:Cd()+e+i;try{t[f?"replaceState":"pushState"](c,"",p),s.value=c}catch(v){console.error(v),n[f?"replace":"assign"](p)}}function l(i,c){const f=ce({},t.state,Ml(s.value.back,i,s.value.forward,!0),c,{position:s.value.position});o(i,f,!0),r.value=i}function a(i,c){const f=ce({},s.value,t.state,{forward:i,scroll:Zr()});o(f.current,f,!0);const d=ce({},Ml(r.value,i,null),{position:f.position+1},c);o(i,d,!1),r.value=i}return{location:r,state:s,push:a,replace:l}}function xd(e){e=md(e);const t=kd(e),n=Sd(e,t.state,t.location,t.replace);function r(o,l=!0){l||n.pauseListeners(),history.go(o)}const s=ce({location:"",base:e,go:r,createHref:yd.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Td(e){return typeof e=="string"||e&&typeof e=="object"}function Ri(e){return typeof e=="string"||typeof e=="symbol"}const yt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ii=Symbol("");var $l;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($l||($l={}));function En(e,t){return ce(new Error,{type:e,[Ii]:!0},t)}function mt(e,t){return e instanceof Error&&Ii in e&&(t==null||!!(e.type&t))}const Nl="[^/]+?",Ad={sensitive:!1,strict:!1,start:!0,end:!0},Ld=/[.+*?^${}()[\]/\\]/g;function Pd(e,t){const n=ce({},Ad,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Id(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Od={type:0,value:""},Md=/[a-zA-Z0-9_]/;function $d(e){if(!e)return[[]];if(e==="/")return[[Od]];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 s=[];let o;function l(){o&&s.push(o),o=[]}let a=0,i,c="",f="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:f,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a{l(C)}:jn}function l(f){if(Ri(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(l),f.alias.forEach(l))}}function a(){return n}function i(f){let d=0;for(;d=0&&(f.record.path!==n[d].record.path||!Oi(f,n[d]));)d++;n.splice(d,0,f),f.record.name&&!Bl(f)&&r.set(f.record.name,f)}function c(f,d){let p,v={},g,E;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw En(1,{location:f});E=p.record.name,v=ce(Dl(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&Dl(f.params,p.keys.map(C=>C.name))),g=p.stringify(v)}else if(f.path!=null)g=f.path,p=n.find(C=>C.re.test(g)),p&&(v=p.parse(g),E=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw En(1,{location:f,currentLocation:d});E=p.record.name,v=ce({},d.params,f.params),g=p.stringify(v)}const w=[];let b=p;for(;b;)w.unshift(b.record),b=b.parent;return{name:E,path:g,params:v,matched:w,meta:Hd(w)}}return e.forEach(f=>o(f)),{addRoute:o,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:s}}function Dl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Dd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Bd(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 Bd(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 Bl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Hd(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Hl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Oi(e,t){return t.children.some(n=>n===e||Oi(e,n))}function jd(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&Hs(o)):[r&&Hs(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Vd(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=st(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const zd=Symbol(""),Vl=Symbol(""),es=Symbol(""),To=Symbol(""),Vs=Symbol("");function Pn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,r,s,o=l=>l()){const l=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,i)=>{const c=p=>{p===!1?i(En(4,{from:n,to:t})):p instanceof Error?i(p):Td(p)?i(En(2,{from:t,to:p})):(l&&r.enterCallbacks[s]===l&&typeof p=="function"&&l.push(p),a())},f=o(()=>e.call(r&&r.instances[s],t,n,c));let d=Promise.resolve(f);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function bs(e,t,n,r,s=o=>o()){const o=[];for(const l of e)for(const a in l.components){let i=l.components[a];if(!(t!=="beforeRouteEnter"&&!l.instances[a]))if(Ud(i)){const f=(i.__vccOpts||i)[t];f&&o.push(Ot(f,n,r,l,a,s))}else{let c=i();o.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=J1(f)?f.default:f;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Ot(v,n,r,l,a,s)()}))}}return o}function Ud(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zl(e){const t=Ae(es),n=Ae(To),r=k(()=>t.resolve(Yt(e.to))),s=k(()=>{const{matched:i}=r.value,{length:c}=i,f=i[c-1],d=n.matched;if(!f||!d.length)return-1;const p=d.findIndex(_n.bind(null,f));if(p>-1)return p;const v=Ul(i[c-2]);return c>1&&Ul(f)===v&&d[d.length-1].path!==v?d.findIndex(_n.bind(null,i[c-2])):p}),o=k(()=>s.value>-1&&Kd(n.params,r.value.params)),l=k(()=>s.value>-1&&s.value===n.matched.length-1&&Li(n.params,r.value.params));function a(i={}){return qd(i)?t[Yt(e.replace)?"replace":"push"](Yt(e.to)).catch(jn):Promise.resolve()}return{route:r,href:k(()=>r.value.href),isActive:o,isExactActive:l,navigate:a}}const Wd=z({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zl,setup(e,{slots:t}){const n=rr(zl(e)),{options:r}=Ae(es),s=k(()=>({[Wl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Wl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:u("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Gd=Wd;function qd(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 Kd(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!st(s)||s.length!==r.length||r.some((o,l)=>o!==s[l]))return!1}return!0}function Ul(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wl=(e,t,n)=>e??t??n,Yd=z({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ae(Vs),s=k(()=>e.route||r.value),o=Ae(Vl,0),l=k(()=>{let c=Yt(o);const{matched:f}=s.value;let d;for(;(d=f[c])&&!d.components;)c++;return c}),a=k(()=>s.value.matched[l.value]);gn(Vl,k(()=>l.value+1)),gn(zd,a),gn(Vs,s);const i=Q();return ie(()=>[i.value,a.value,e.name],([c,f,d],[p,v,g])=>{f&&(f.instances[d]=c,v&&v!==f&&c&&c===p&&(f.leaveGuards.size||(f.leaveGuards=v.leaveGuards),f.updateGuards.size||(f.updateGuards=v.updateGuards))),c&&f&&(!v||!_n(f,v)||!p)&&(f.enterCallbacks[d]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=s.value,f=e.name,d=a.value,p=d&&d.components[f];if(!p)return Gl(n.default,{Component:p,route:c});const v=d.props[f],g=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=u(p,ce({},g,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[f]=null)},ref:i}));return Gl(n.default,{Component:w,route:c})||w}}});function Gl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Jd=Yd;function Qd(e){const t=Fd(e.routes,e),n=e.parseQuery||jd,r=e.stringifyQuery||jl,s=e.history,o=Pn(),l=Pn(),a=Pn(),i=Ge(yt);let c=yt;cn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=gs.bind(null,A=>""+A),d=gs.bind(null,cd),p=gs.bind(null,Yn);function v(A,j){let B,U;return Ri(A)?(B=t.getRecordMatcher(A),U=j):U=A,t.addRoute(U,B)}function g(A){const j=t.getRecordMatcher(A);j&&t.removeRoute(j)}function E(){return t.getRoutes().map(A=>A.record)}function w(A){return!!t.getRecordMatcher(A)}function b(A,j){if(j=ce({},j||i.value),typeof A=="string"){const m=ys(n,A,j.path),_=t.resolve({path:m.path},j),L=s.createHref(m.fullPath);return ce(m,_,{params:p(_.params),hash:Yn(m.hash),redirectedFrom:void 0,href:L})}let B;if(A.path!=null)B=ce({},A,{path:ys(n,A.path,j.path).path});else{const m=ce({},A.params);for(const _ in m)m[_]==null&&delete m[_];B=ce({},A,{params:d(m)}),j.params=d(j.params)}const U=t.resolve(B,j),ae=A.hash||"";U.params=f(p(U.params));const de=dd(r,ce({},A,{hash:ld(ae),path:U.path})),h=s.createHref(de);return ce({fullPath:de,hash:ae,query:r===jl?Vd(A.query):A.query||{}},U,{redirectedFrom:void 0,href:h})}function C(A){return typeof A=="string"?ys(n,A,i.value.path):ce({},A)}function y(A,j){if(c!==A)return En(8,{from:j,to:A})}function x(A){return $(A)}function M(A){return x(ce(C(A),{replace:!0}))}function S(A){const j=A.matched[A.matched.length-1];if(j&&j.redirect){const{redirect:B}=j;let U=typeof B=="function"?B(A):B;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=C(U):{path:U},U.params={}),ce({query:A.query,hash:A.hash,params:U.path!=null?{}:A.params},U)}}function $(A,j){const B=c=b(A),U=i.value,ae=A.state,de=A.force,h=A.replace===!0,m=S(B);if(m)return $(ce(C(m),{state:typeof m=="object"?ce({},ae,m.state):ae,force:de,replace:h}),j||B);const _=B;_.redirectedFrom=j;let L;return!de&&pd(r,U,B)&&(L=En(16,{to:_,from:U}),ot(U,U,!0,!1)),(L?Promise.resolve(L):R(_,U)).catch(T=>mt(T)?mt(T,2)?T:Ct(T):W(T,_,U)).then(T=>{if(T){if(mt(T,2))return $(ce({replace:h},C(T.to),{state:typeof T.to=="object"?ce({},ae,T.to.state):ae,force:de}),j||_)}else T=F(_,U,!0,h,ae);return Y(_,U,T),T})}function I(A,j){const B=y(A,j);return B?Promise.reject(B):Promise.resolve()}function K(A){const j=on.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(A):A()}function R(A,j){let B;const[U,ae,de]=Xd(A,j);B=bs(U.reverse(),"beforeRouteLeave",A,j);for(const m of U)m.leaveGuards.forEach(_=>{B.push(Ot(_,A,j))});const h=I.bind(null,A,j);return B.push(h),Oe(B).then(()=>{B=[];for(const m of o.list())B.push(Ot(m,A,j));return B.push(h),Oe(B)}).then(()=>{B=bs(ae,"beforeRouteUpdate",A,j);for(const m of ae)m.updateGuards.forEach(_=>{B.push(Ot(_,A,j))});return B.push(h),Oe(B)}).then(()=>{B=[];for(const m of de)if(m.beforeEnter)if(st(m.beforeEnter))for(const _ of m.beforeEnter)B.push(Ot(_,A,j));else B.push(Ot(m.beforeEnter,A,j));return B.push(h),Oe(B)}).then(()=>(A.matched.forEach(m=>m.enterCallbacks={}),B=bs(de,"beforeRouteEnter",A,j,K),B.push(h),Oe(B))).then(()=>{B=[];for(const m of l.list())B.push(Ot(m,A,j));return B.push(h),Oe(B)}).catch(m=>mt(m,8)?m:Promise.reject(m))}function Y(A,j,B){a.list().forEach(U=>K(()=>U(A,j,B)))}function F(A,j,B,U,ae){const de=y(A,j);if(de)return de;const h=j===yt,m=cn?history.state:{};B&&(U||h?s.replace(A.fullPath,ce({scroll:h&&m&&m.scroll},ae)):s.push(A.fullPath,ae)),i.value=A,ot(A,j,B,h),Ct()}let Z;function _e(){Z||(Z=s.listen((A,j,B)=>{if(!vr.listening)return;const U=b(A),ae=S(U);if(ae){$(ce(ae,{replace:!0}),U).catch(jn);return}c=U;const de=i.value;cn&&_d(Ol(de.fullPath,B.delta),Zr()),R(U,de).catch(h=>mt(h,12)?h:mt(h,2)?($(h.to,U).then(m=>{mt(m,20)&&!B.delta&&B.type===Jn.pop&&s.go(-1,!1)}).catch(jn),Promise.reject()):(B.delta&&s.go(-B.delta,!1),W(h,U,de))).then(h=>{h=h||F(U,de,!1),h&&(B.delta&&!mt(h,8)?s.go(-B.delta,!1):B.type===Jn.pop&&mt(h,20)&&s.go(-1,!1)),Y(U,de,h)}).catch(jn)}))}let Ee=Pn(),G=Pn(),ne;function W(A,j,B){Ct(A);const U=G.list();return U.length?U.forEach(ae=>ae(A,j,B)):console.error(A),Promise.reject(A)}function et(){return ne&&i.value!==yt?Promise.resolve():new Promise((A,j)=>{Ee.add([A,j])})}function Ct(A){return ne||(ne=!A,_e(),Ee.list().forEach(([j,B])=>A?B(A):j()),Ee.reset()),A}function ot(A,j,B,U){const{scrollBehavior:ae}=e;if(!cn||!ae)return Promise.resolve();const de=!B&&Ed(Ol(A.fullPath,0))||(U||!B)&&history.state&&history.state.scroll||null;return Ht().then(()=>ae(A,j,de)).then(h=>h&&wd(h)).catch(h=>W(h,A,j))}const De=A=>s.go(A);let sn;const on=new Set,vr={currentRoute:i,listening:!0,addRoute:v,removeRoute:g,hasRoute:w,getRoutes:E,resolve:b,options:e,push:x,replace:M,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:l.add,afterEach:a.add,onError:G.add,isReady:et,install(A){const j=this;A.component("RouterLink",Gd),A.component("RouterView",Jd),A.config.globalProperties.$router=j,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>Yt(i)}),cn&&!sn&&i.value===yt&&(sn=!0,x(s.location).catch(ae=>{}));const B={};for(const ae in yt)Object.defineProperty(B,ae,{get:()=>i.value[ae],enumerable:!0});A.provide(es,j),A.provide(To,Oa(B)),A.provide(Vs,i);const U=A.unmount;on.add(A),A.unmount=function(){on.delete(A),on.size<1&&(c=yt,Z&&Z(),Z=null,i.value=yt,sn=!1,ne=!1),U()}}};function Oe(A){return A.reduce((j,B)=>j.then(()=>K(B)),Promise.resolve())}return vr}function Xd(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;l_n(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>_n(c,i))||s.push(i))}return[n,r,s]}function en(){return Ae(es)}function _t(){return Ae(To)}var Ao=Symbol(""),vt=()=>{const e=Ae(Ao);if(!e)throw new Error("useClientData() is called without provider.");return e},Zd=()=>vt().pageComponent,ye=()=>vt().pageData,be=()=>vt().pageFrontmatter,e0=()=>vt().pageHead,Lo=()=>vt().pageLang,t0=()=>vt().pageLayout,tn=()=>vt().routeLocale,n0=()=>vt().routes,Mi=()=>vt().siteData,Po=()=>vt().siteLocaleData,r0=Symbol(""),zs=Ge(K1),Qn=Ge(Y1),$i=e=>{const t=U1(e);if(Qn.value[t])return t;const n=encodeURI(t);return Qn.value[n]?n:zs.value[t]||zs.value[n]||t},Bt=e=>{const t=$i(e),n=Qn.value[t]??{...Qn.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},ts=z({name:"ClientOnly",setup(e,t){const n=Q(!1);return ge(()=>{n.value=!0}),()=>{var r,s;return n.value?(s=(r=t.slots).default)==null?void 0:s.call(r):null}}}),Ni=z({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Zd(),n=k(()=>{if(!e.path)return t.value;const r=Bt(e.path);return df(()=>r.loader().then(({comp:s})=>s))});return()=>u(n.value)}}),qe=(e={})=>e,Ne=e=>Zt(e)?e:`/${Ci(e)}`,s0=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}},He=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:s})=>{var i;const o=en(),l=$i(n),a=l.startsWith("#")||l.startsWith("?")?l:Ne(l);return u("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{s0(c)?o.push(n).catch():Promise.resolve()}},(i=s.default)==null?void 0:i.call(s))};He.displayName="RouteLink";He.props={active:Boolean,activeClass:String,to:String};var o0="Layout",l0="en-US",zt=rr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=ve(t.description)?t.description:n.description,s=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return j1(s)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||l0,resolvePageLayout:(e,t)=>{const n=ve(e.frontmatter.layout)?e.frontmatter.layout:o0;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>W1(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 a0={},fr=e=>{const t=tn();return k(()=>e[t.value]??{})},pt=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||ar())==null?void 0:r.appContext.components;return n?e in n||Ze(e)in n||nr(Ze(e))in n:!1},i0=e=>typeof e<"u",ws=e=>typeof e=="number",Us=Array.isArray,Cn=(e,t)=>ve(e)&&e.startsWith(t),c0=(e,t)=>ve(e)&&e.endsWith(t),Ro=Object.entries,u0=Object.fromEntries,xn=Object.keys,f0=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},ns=e=>Cn(e,"/"),d0="http://.",p0=(e,t)=>{if(ns(e)||typeof t!="string")return Bt(e);const n=t.slice(0,t.lastIndexOf("/"));return Bt(new URL(`${n}/${encodeURI(e)}`,d0).pathname)},Fi=e=>new Promise(t=>setTimeout(t,e));function Di(e,t){let n,r,s;const o=Q(!0),l=()=>{o.value=!0,s()};ie(e,l,{flush:"sync"});const a=typeof t=="function"?t:t.get,i=typeof t=="function"?void 0:t.set,c=mo((f,d)=>(r=f,s=d,{get(){return o.value&&(n=a(),o.value=!1),r(),n},set(p){i==null||i(p)}}));return Object.isExtensible(c)&&(c.trigger=l),c}function nn(e){return _a()?(yu(e),!0):!1}function Le(e){return typeof e=="function"?e():Yt(e)}const dr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const h0=e=>e!=null,v0=Object.prototype.toString,m0=e=>v0.call(e)==="[object Object]",Jt=()=>{},ql=g0();function g0(){var e,t;return dr&&((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 Io(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Bi=e=>e();function y0(e,t={}){let n,r,s=Jt;const o=a=>{clearTimeout(a),s(),s=Jt};return a=>{const i=Le(e),c=Le(t.maxWait);return n&&o(n),i<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((f,d)=>{s=t.rejectOnCancel?d:f,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,f(a())},i)})}}function b0(...e){let t=0,n,r=!0,s=Jt,o,l,a,i,c;!Re(e[0])&&typeof e[0]=="object"?{delay:l,trailing:a=!0,leading:i=!0,rejectOnCancel:c=!1}=e[0]:[l,a=!0,i=!0,c=!1]=e;const f=()=>{n&&(clearTimeout(n),n=void 0,s(),s=Jt)};return p=>{const v=Le(l),g=Date.now()-t,E=()=>o=p();return f(),v<=0?(t=Date.now(),E()):(g>v&&(i||!r)?(t=Date.now(),E()):a&&(o=new Promise((w,b)=>{s=c?b:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(E()),f()},Math.max(0,v-g))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,o)}}function w0(e=Bi){const t=Q(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:sr(t),pause:n,resume:r,eventFilter:s}}function _0(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 Hi(e){return e||ar()}function E0(...e){if(e.length!==1)return Gr(...e);const t=e[0];return typeof t=="function"?sr(mo(()=>({get:t,set:Jt}))):Q(t)}function C0(e,t=200,n={}){return Io(y0(t,n),e)}function S0(e,t=200,n=!1,r=!0,s=!1){return Io(b0(t,n,r,s),e)}function k0(e,t,n={}){const{eventFilter:r=Bi,...s}=n;return ie(e,Io(r,t),s)}function x0(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:l,resume:a,isActive:i}=w0(r);return{stop:k0(e,t,{...s,eventFilter:o}),pause:l,resume:a,isActive:i}}function rs(e,t=!0,n){Hi()?ge(e,n):t?e():Ht(e)}function T0(e,t){Hi(t)&&kn(e,t)}function A0(e,t,n={}){const{immediate:r=!0}=n,s=Q(!1);let o=null;function l(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,l()}function i(...c){l(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},Le(t))}return r&&(s.value=!0,dr&&i()),nn(a),{isPending:sr(s),start:i,stop:a}}function Ws(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,s=Re(e),o=Q(e);function l(a){if(arguments.length)return o.value=a,o.value;{const i=Le(n);return o.value=o.value===i?Le(r):i,o.value}}return s?l:[o,l]}function ut(e){var t;const n=Le(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ht=dr?window:void 0,ji=dr?window.document:void 0,Vi=dr?window.navigator:void 0;function Ie(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=ht):[t,n,r,s]=e,!t)return Jt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],l=()=>{o.forEach(f=>f()),o.length=0},a=(f,d,p,v)=>(f.addEventListener(d,p,v),()=>f.removeEventListener(d,p,v)),i=ie(()=>[ut(t),Le(s)],([f,d])=>{if(l(),!f)return;const p=m0(d)?{...d}:d;o.push(...n.flatMap(v=>r.map(g=>a(f,v,g,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return nn(c),c}function L0(){const e=Q(!1),t=ar();return t&&ge(()=>{e.value=!0},t),e}function Tn(e){const t=L0();return k(()=>(t.value,!!e()))}function zi(e,t={}){const{window:n=ht}=t,r=Tn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=Q(!1),l=c=>{o.value=c.matches},a=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",l):s.removeListener(l))},i=qa(()=>{r.value&&(a(),s=n.matchMedia(Le(e)),"addEventListener"in s?s.addEventListener("change",l):s.addListener(l),o.value=s.matches)});return nn(()=>{i(),a(),s=void 0}),o}function Kl(e,t={}){const{controls:n=!1,navigator:r=Vi}=t,s=Tn(()=>r&&"permissions"in r);let o;const l=typeof e=="string"?{name:e}:e,a=Q(),i=()=>{o&&(a.value=o.state)},c=_0(async()=>{if(s.value){if(!o)try{o=await r.permissions.query(l),Ie(o,"change",i),i()}catch{a.value="prompt"}return o}});return c(),n?{state:a,isSupported:s,query:c}:a}function P0(e={}){const{navigator:t=Vi,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,l=Tn(()=>t&&"clipboard"in t),a=Kl("clipboard-read"),i=Kl("clipboard-write"),c=k(()=>l.value||o),f=Q(""),d=Q(!1),p=A0(()=>d.value=!1,s);function v(){l.value&&b(a.value)?t.clipboard.readText().then(C=>{f.value=C}):f.value=w()}c.value&&n&&Ie(["copy","cut"],v);async function g(C=Le(r)){c.value&&C!=null&&(l.value&&b(i.value)?await t.clipboard.writeText(C):E(C),f.value=C,d.value=!0,p.start())}function E(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function w(){var C,y,x;return(x=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?x:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:f,copied:d,copy:g}}const kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xr="__vueuse_ssr_handlers__",R0=I0();function I0(){return xr in kr||(kr[xr]=kr[xr]||{}),kr[xr]}function O0(e,t){return R0[e]||t}function M0(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 $0={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()}},Yl="vueuse-storage";function ss(e,t,n,r={}){var s;const{flush:o="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:f,window:d=ht,eventFilter:p,onError:v=R=>{console.error(R)},initOnMounted:g}=r,E=(f?Ge:Q)(typeof t=="function"?t():t);if(!n)try{n=O0("getDefaultStorage",()=>{var R;return(R=ht)==null?void 0:R.localStorage})()}catch(R){v(R)}if(!n)return E;const w=Le(t),b=M0(w),C=(s=r.serializer)!=null?s:$0[b],{pause:y,resume:x}=x0(E,()=>S(E.value),{flush:o,deep:l,eventFilter:p});d&&a&&rs(()=>{Ie(d,"storage",I),Ie(d,Yl,K),g&&I()}),g||I();function M(R,Y){d&&d.dispatchEvent(new CustomEvent(Yl,{detail:{key:e,oldValue:R,newValue:Y,storageArea:n}}))}function S(R){try{const Y=n.getItem(e);if(R==null)M(Y,null),n.removeItem(e);else{const F=C.write(R);Y!==F&&(n.setItem(e,F),M(Y,F))}}catch(Y){v(Y)}}function $(R){const Y=R?R.newValue:n.getItem(e);if(Y==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!R&&c){const F=C.read(Y);return typeof c=="function"?c(F,w):b==="object"&&!Array.isArray(F)?{...w,...F}:F}else return typeof Y!="string"?Y:C.read(Y)}function I(R){if(!(R&&R.storageArea!==n)){if(R&&R.key==null){E.value=w;return}if(!(R&&R.key!==e)){y();try{(R==null?void 0:R.newValue)!==C.write(E.value)&&(E.value=$(R))}catch(Y){v(Y)}finally{R?Ht(x):x()}}}}function K(R){I(R.detail)}return E}function N0(e){return zi("(prefers-color-scheme: dark)",e)}function F0(e,t,n={}){const{window:r=ht,...s}=n;let o;const l=Tn(()=>r&&"MutationObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},i=k(()=>{const p=Le(e),v=(Array.isArray(p)?p:[p]).map(ut).filter(h0);return new Set(v)}),c=ie(()=>i.value,p=>{a(),l.value&&r&&p.size&&(o=new MutationObserver(t),p.forEach(v=>o.observe(v,s)))},{immediate:!0,flush:"post"}),f=()=>o==null?void 0:o.takeRecords(),d=()=>{a(),c()};return nn(d),{isSupported:l,stop:d,takeRecords:f}}function D0(e,t,n={}){const{window:r=ht,...s}=n;let o;const l=Tn(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},i=k(()=>Array.isArray(e)?e.map(d=>ut(d)):[ut(e)]),c=ie(i,d=>{if(a(),l.value&&r){o=new ResizeObserver(t);for(const p of d)p&&o.observe(p,s)}},{immediate:!0,flush:"post"}),f=()=>{a(),c()};return nn(f),{isSupported:l,stop:f}}function B0(e,t={width:0,height:0},n={}){const{window:r=ht,box:s="content-box"}=n,o=k(()=>{var d,p;return(p=(d=ut(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=Q(t.width),a=Q(t.height),{stop:i}=D0(e,([d])=>{const p=s==="border-box"?d.borderBoxSize:s==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&o.value){const v=ut(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:E})=>g+E,0),a.value=v.reduce((g,{blockSize:E})=>g+E,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);rs(()=>{const d=ut(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>ut(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function f(){i(),c()}return{width:l,height:a,stop:f}}const Jl=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Oo(e,t={}){const{document:n=ji,autoExit:r=!1}=t,s=k(()=>{var b;return(b=ut(e))!=null?b:n==null?void 0:n.querySelector("html")}),o=Q(!1),l=k(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||s.value&&b in s.value)),a=k(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||s.value&&b in s.value)),i=k(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||s.value&&b in s.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),f=Tn(()=>s.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===s.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const b=s.value;if((b==null?void 0:b[i.value])!=null)return!!b[i.value]}}return!1};async function v(){if(!(!f.value||!o.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const b=s.value;(b==null?void 0:b[a.value])!=null&&await b[a.value]()}o.value=!1}}async function g(){if(!f.value||o.value)return;p()&&await v();const b=s.value;l.value&&(b==null?void 0:b[l.value])!=null&&(await b[l.value](),o.value=!0)}async function E(){await(o.value?v():g())}const w=()=>{const b=p();(!b||b&&d())&&(o.value=b)};return Ie(n,Jl,w,!1),Ie(()=>ut(s),Jl,w,!1),r&&nn(v),{isSupported:f,isFullscreen:o,enter:g,exit:v,toggle:E}}function _s(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Es(e,t=Jt,n={}){const{immediate:r=!0,manual:s=!1,type:o="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:f,document:d=ji,attrs:p={}}=n,v=Q(null);let g=null;const E=C=>new Promise((y,x)=>{const M=I=>(v.value=I,y(I),I);if(!d){y(!1);return}let S=!1,$=d.querySelector(`script[src="${Le(e)}"]`);$?$.hasAttribute("data-loaded")&&M($):($=d.createElement("script"),$.type=o,$.async=l,$.src=Le(e),f&&($.defer=f),a&&($.crossOrigin=a),c&&($.noModule=c),i&&($.referrerPolicy=i),Object.entries(p).forEach(([I,K])=>$==null?void 0:$.setAttribute(I,K)),S=!0),$.addEventListener("error",I=>x(I)),$.addEventListener("abort",I=>x(I)),$.addEventListener("load",()=>{$.setAttribute("data-loaded","true"),t($),M($)}),S&&($=d.head.appendChild($)),C||M($)}),w=(C=!0)=>(g||(g=E(C)),g),b=()=>{if(!d)return;g=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Le(e)}"]`);C&&d.head.removeChild(C)};return r&&!s&&rs(w),s||T0(b),{scriptTag:v,load:w,unload:b}}function Ui(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 Tr=new WeakMap;function Wi(e,t=!1){const n=Q(t);let r=null;ie(E0(e),l=>{const a=_s(Le(l));if(a){const i=a;Tr.get(i)||Tr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const s=()=>{const l=_s(Le(e));!l||n.value||(ql&&(r=Ie(l,"touchmove",a=>{H0(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{var l;const a=_s(Le(e));!a||!n.value||(ql&&(r==null||r()),a.style.overflow=(l=Tr.get(a))!=null?l:"",Tr.delete(a),n.value=!1)};return nn(o),k({get(){return n.value},set(l){l?s():o()}})}function Gi(e,t,n={}){const{window:r=ht}=n;return ss(e,t,r==null?void 0:r.sessionStorage,n)}function j0(e={}){const{window:t=ht,behavior:n="auto"}=e;if(!t)return{x:Q(0),y:Q(0)};const r=Q(t.scrollX),s=Q(t.scrollY),o=k({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=k({get(){return s.value},set(a){scrollTo({top:a,behavior:n})}});return Ie(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:l}}function V0(e={}){const{window:t=ht,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,l=Q(n),a=Q(r),i=()=>{t&&(o?(l.value=t.innerWidth,a.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(i(),rs(i),Ie("resize",i,{passive:!0}),s){const c=zi("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var z0=z({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=k(()=>{const r=["font-icon icon"],s=`fas fa-${e.icon}`;return r.push("fa-fw fa-sm"),r.push(e.icon.includes(" ")?e.icon:s),r}),n=k(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),xn(r).length?r:null});return()=>e.icon?u("span",{key:e.icon,class:t.value,style:n.value}):null}});const qi=({type:e="info",text:t="",vertical:n,color:r},{slots:s})=>{var o;return u("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((o=s.default)==null?void 0:o.call(s))||t)};qi.displayName="Badge";const Ki=({title:e,desc:t="",logo:n,background:r,color:s,link:o})=>{const l=[n?u("img",{class:"vp-card-logo",src:Ne(n),loading:"lazy","no-view":""}):null,u("div",{class:"vp-card-content"},[u("div",{class:"vp-card-title",innerHTML:e}),u("hr"),u("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),s&&(a.color=s),o?Qr(o)?u("a",{class:"vp-card",href:o,target:"_blank",style:a},l):u(He,{to:o,class:"vp-card",style:a},()=>l):u("div",{class:"vp-card",style:a},l)};Ki.displayName="VPCard";const U0=qe({enhance:({app:e})=>{pt("FontIcon")||e.component("FontIcon",z0),pt("Badge")||e.component("Badge",qi),pt("VPCard")||e.component("VPCard",Ki)},setup:()=>{Es("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Es("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Es("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Ql=async(e,t)=>{const{path:n,query:r}=e.currentRoute.value,{scrollBehavior:s}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:n,query:r,hash:t}),e.options.scrollBehavior=s},W0=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const s=en();Ie("scroll",C0(()=>{var g,E;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)d.some(b=>b.hash===w.hash));for(let w=0;w=(((g=b.parentElement)==null?void 0:g.offsetTop)??0)-r,x=!C||l<(((E=C.parentElement)==null?void 0:E.offsetTop)??0)-r;if(!(y&&x))continue;const S=decodeURIComponent(s.currentRoute.value.hash),$=decodeURIComponent(b.hash);if(S===$)return;if(f){for(let I=w+1;Ive(e.title)?{title:e.title}:null;const Ji=Symbol(""),Q0=e=>{Yi=e},X0=()=>Ae(Ji),Z0=e=>{e.provide(Ji,Yi)};var e2={"/":{title:"Catalog",empty:"No catalog"}};const t2=z({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=X0(),n=fr(e2),r=ye(),s=n0(),o=Mi(),a=Ge(Ro(s.value).map(([c,{meta:f}])=>{const d=t(f);if(!d)return null;const p=c.split("/").length;return{level:c0(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>ur(c)&&ve(c.title))),i=k(()=>{const c=e.base?V1(Ei(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),f=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!Cn(v,c)||v===c)return!1;if(c==="/"){const g=xn(o.value.locales).filter(E=>E!=="/");if(v==="/404.html"||g.some(E=>Cn(v,E)))return!1}return p-f<=e.level}).sort(({title:p,level:v,order:g},{title:E,level:w,order:b})=>{const C=v-w;return C||(ws(g)?ws(b)?g>0?b>0?g-b:-1:b<0?g-b:1:g:ws(b)?b:p.localeCompare(E))}).forEach(p=>{var E;const{base:v,level:g}=p;switch(g-f){case 1:{d.push(p);break}case 2:{const w=d.find(b=>b.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(b=>b.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const b=(E=w.children)==null?void 0:E.find(C=>C.path===v);b&&(b.children??(b.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(f=>f.children);return u("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:u("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?u(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:f=[],title:d,path:p,content:v})=>{const g=u(He,{class:"vp-catalog-title",to:p},()=>v?u(v):d);return u("li",{class:"vp-catalog"},c?[u("h3",{id:d,class:["vp-catalog-child-title",{"has-children":f.length}]},[u("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),g]),f.length?u(e.index?"ol":"ul",{class:"vp-child-catalogs"},f.map(({children:E=[],content:w,path:b,title:C})=>u("li",{class:"vp-child-catalog"},[u("div",{class:["vp-catalog-sub-title",{"has-children":E.length}]},[u("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),u(He,{class:"vp-catalog-title",to:b},()=>w?u(w):C)]),E.length?u(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},E.map(({content:y,path:x,title:M})=>e.index?u("li",{class:"vp-sub-catalog"},u(He,{to:x},()=>y?u(y):M)):u(He,{class:"vp-sub-catalog-link",to:x},()=>y?u(y):M))):null]))):null]:u("div",{class:"vp-catalog-child-title"},g))})):u("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),n2=qe({enhance:({app:e})=>{Z0(e),pt("Catalog",e)||e.component("Catalog",t2)}});var r2={"/":{backToTop:"Back to top"}};const s2=z({name:"BackToTop",setup(){const e=be(),t=fr(r2),n=Ge(),{height:r}=B0(n),{height:s}=V0(),{y:o}=j0(),l=k(()=>e.value.backToTop!==!1&&o.value>100),a=k(()=>o.value/(r.value-s.value)*100);return ge(()=>{n.value=document.body}),()=>u(Dt,{name:"back-to-top"},()=>l.value?u("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[u("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},u("svg",u("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*a.value*.48} ${Math.PI*(100-a.value)*.48}`}))),u("div",{class:"back-to-top-icon"})]):null)}}),o2=qe({rootComponents:[s2]}),l2=u("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"},[u("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"}),u("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"})]),Qi=z({name:"ExternalLinkIcon",props:{locales:{type:Object,default:()=>({})}},setup(e){const t=tn(),n=k(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>u("span",[l2,u("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var a2={};const i2=a2,c2=qe({enhance({app:e}){e.component("ExternalLinkIcon",u(Qi,{locales:i2}))}});/** + * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT + */const oe={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=oe.isStarted();e=Cs(e,oe.settings.minimum,1),oe.status=e===1?null:e;const n=oe.render(!t),r=n.querySelector(oe.settings.barSelector),s=oe.settings.speed,o=oe.settings.easing;return n.offsetWidth,u2(l=>{Ar(r,{transform:"translate3d("+Xl(e)+"%,0,0)",transition:"all "+s+"ms "+o}),e===1?(Ar(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Ar(n,{transition:"all "+s+"ms linear",opacity:"0"}),setTimeout(function(){oe.remove(),l()},s)},s)):setTimeout(()=>l(),s)}),oe},isStarted:()=>typeof oe.status=="number",start:()=>{oe.status||oe.set(0);const e=()=>{setTimeout(()=>{oe.status&&(oe.trickle(),e())},oe.settings.trickleSpeed)};return oe.settings.trickle&&e(),oe},done:e=>!e&&!oe.status?oe:oe.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=oe.status;return t?(typeof e!="number"&&(e=(1-t)*Cs(Math.random()*t,.1,.95)),t=Cs(t+e,0,.994),oe.set(t)):oe.start()},trickle:()=>oe.inc(Math.random()*oe.settings.trickleRate),render:e=>{if(oe.isRendered())return document.getElementById("nprogress");Zl(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=oe.settings.template;const n=t.querySelector(oe.settings.barSelector),r=e?"-100":Xl(oe.status||0),s=document.querySelector(oe.settings.parent);return Ar(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),s!==document.body&&Zl(s,"nprogress-custom-parent"),s==null||s.appendChild(t),t},remove:()=>{ea(document.documentElement,"nprogress-busy"),ea(document.querySelector(oe.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&f2(e)},isRendered:()=>!!document.getElementById("nprogress")},Cs=(e,t,n)=>en?n:e,Xl=e=>(-1+e)*100,u2=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Ar=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 f;for(;i--;)if(f=e[i]+c,f in a)return f;return l}function s(l){return l=n(l),t[l]??(t[l]=r(l))}function o(l,a,i){a=s(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)&&o(l,i,c)}}}(),Xi=(e,t)=>(typeof e=="string"?e:Mo(e)).indexOf(" "+t+" ")>=0,Zl=(e,t)=>{const n=Mo(e),r=n+t;Xi(n,t)||(e.className=r.substring(1))},ea=(e,t)=>{const n=Mo(e);if(!Xi(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Mo=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),f2=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},d2=()=>{ge(()=>{const e=en(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||oe.start()}),e.afterEach(n=>{t.add(n.path),oe.done()})})},p2=qe({setup(){d2()}}),h2=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$8UQcv7Mq.lIlwA6vjeZ9yOTu9uafWvCt0vKG2Yvj.ACGtIx./j4EG"]}},"author":{"name":"Aahil","url":"https://linktr.ee/thecr3ator"},"logo":"/assets/icon/node.png","repo":"Aahil13/Node-docs","docsDir":"src","footer":"Default footer","displayFooter":true,"fullscreen":true,"locales":{"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/","/get-started/","docs/"],"sidebar":{"/":["",{"text":"Get Started","icon":"lightbulb","prefix":"get-started/","link":"get-started/","children":["installation.md","quick-start.md","what-is-nodejs.md"]},{"text":"Docs","icon":"book","prefix":"docs/","link":"docs/","children":"structure"}]}}}}`),v2=Q(h2),Zi=()=>v2,ec=Symbol(""),m2=()=>{const e=Ae(ec);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},g2=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},y2=qe({enhance({app:e}){const t=Zi(),n=e._context.provides[Ao],r=k(()=>g2(t.value,n.routeLocale.value));e.provide(ec,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var b2={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.36/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.36/templates/giscus/dark.css",repo:"vuepress-theme-hope/giscus-discussions",repoId:"R_kgDOG_Pt2A",category:"Announcements",categoryId:"DIC_kwDOG_Pt2M4COD69"};const w2=b2;let _2=w2;const tc=Symbol(""),nc=()=>Ae(tc),E2=nc,C2=e=>{e.provide(tc,_2)},rc=()=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[u("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},u("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),u("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},u("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),u("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},u("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);rc.displayName="LoadingIcon";const ta=["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"],S2=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=E2(),n=Lo(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:s,repoId:o,category:l,categoryId:a}=t,i=Q(!1),c=k(()=>{if(ta.includes(n.value))return n.value;const d=n.value.split("-")[0];return ta.includes(d)?d:"en"}),f=k(()=>({repo:s,repoId:o,category:l,categoryId:a,lang:c.value,theme:e.darkmode?t.darkTheme||"dark":t.lightTheme||"light",mapping:t.mapping||"pathname",term:e.identifier,inputPosition:t.inputPosition||"top",reactionsEnabled:t.reactionsEnabled===!1?"0":"1",strict:t.strict===!1?"0":"1",loading:t.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return ge(async()=>{await xe(()=>import("./giscus-7BMGhbDA.js"),[]),i.value=!0}),()=>r?u("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?u("giscus-widget",f.value):u(rc)):null}}),k2=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=nc(),n=ye(),r=be(),s=t.comment!==!1,o=k(()=>r.value.comment||s&&r.value.comment!==!1);return()=>u(S2,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:o.value?"block":"none"}})}}),x2=qe({enhance:({app:e})=>{C2(e),e.component("CommentService",k2)}}),T2=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,A2=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&T2.test(navigator.userAgent),L2=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:s})=>{const{copy:o,copied:l}=P0({legacy:!0,copiedDuring:t}),a=fr(n),i=ye(),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","")}},f=()=>{Ht().then(()=>Fi(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,g)=>{let{innerText:E=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(E=E.replace(/^ *(\$|>) /gm,"")),o(E).then(()=>{g.classList.add("copied"),ie(l,()=>{g.classList.remove("copied"),g.blur()},{once:!0})})};ge(()=>{const p=!A2()||s;p&&f(),Ie("click",v=>{const g=v.target;if(g.matches('div[class*="language-"] > button.copy')){const E=g.parentElement,w=g.nextElementSibling;w&&d(E,w,g)}else if(g.matches('div[class*="language-"] div.vp-copy-icon')){const E=g.parentElement,w=E.parentElement,b=E.nextElementSibling;b&&d(w,b,E)}}),ie(()=>i.value.path,()=>{p&&f()})})};var P2={"/":{copy:"Copy code",copied:"Copied"}},R2=['.theme-hope-content div[class*="language-"] pre'];const I2=500,O2=2e3,M2=P2,$2=R2,N2=!1,F2=qe({setup:()=>{L2({selector:$2,locales:M2,duration:O2,delay:I2,showInMobile:N2})}});let D2={};const sc=Symbol(""),B2=()=>Ae(sc),H2=e=>{e.provide(sc,D2)},j2='
',V2=e=>ve(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),oc=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(oc(e)),e.onerror=r=>n(r))}),z2=e=>{const{isSupported:t,toggle:n}=Oo();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(r,s)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),s.on("change",()=>{r.setAttribute("href",s.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,s)=>{const o=[];let l=-1;for(let a=0;a{s.goTo(o.indexOf(c.target))},o.push(i),r.appendChild(i)}s.on("change",()=>{l>=0&&o[l].classList.remove("active"),o[s.currIndex].classList.add("active"),l=s.currIndex})}})})},U2=(e,t,n=!0)=>xe(()=>import("./photoswipe.esm-SzV8tJDW.js"),[]).then(({default:r})=>{let s=null;const o=e.map(l=>({html:j2,element:l,msrc:l.src}));return e.forEach((l,a)=>{const i=()=>{s==null||s.destroy(),s=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:o,index:a,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),z2(s),s.addFilter("thumbEl",()=>l),s.addFilter("placeholderSrc",()=>l.src),s.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{i()}),l.addEventListener("keypress",({key:c})=>{c==="Enter"&&i()}),l.setAttribute("photo-swipe","")),oc(l).then(c=>{o.splice(a,1,c),s==null||s.refreshSlideContent(a)})}),n?Ie("wheel",()=>{s==null||s.close()}):()=>{}}),W2=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const s=B2(),o=fr(t),l=ye(),a=be();let i=null;const c=()=>{const{photoSwipe:f}=a.value;f!==!1&&Ht().then(()=>Fi(n)).then(async()=>{const d=ve(f)?f:e;i=await U2(V2(d),{...s,...o.value},r)})};ge(()=>{c(),ie(()=>l.value.path,()=>{i==null||i(),c()})}),kn(()=>{i==null||i()})};var G2={"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}};const q2=".theme-hope-content :not(a) > img:not([no-view])",K2=G2,Y2=800,J2=!0,Q2=qe({enhance:({app:e})=>{H2(e)},setup:()=>{W2({selector:q2,delay:Y2,locales:K2,scrollToClose:J2})}}),we=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return u("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))};we.displayName="IconBase";const lc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},X2=e=>Zt(e)?e:`https://github.com/${e}`,$o=(e="")=>!Zt(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,ac=()=>u(we,{name:"github"},()=>u("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"}));ac.displayName="GitHubIcon";const ic=()=>u(we,{name:"gitee"},()=>u("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"}));ic.displayName="GiteeIcon";const cc=()=>u(we,{name:"bitbucket"},()=>u("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"}));cc.displayName="BitbucketIcon";const uc=()=>u(we,{name:"source"},()=>u("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"}));uc.displayName="SourceIcon";const Z2=({link:e,type:t=$o(e??"")})=>{if(!t)return null;const n=t.toLowerCase();return u(n==="bitbucket"?cc:n==="github"?ac:n==="gitlab"?"GitLab":n==="gitee"?ic:uc)},ep=(e,t=0)=>{let n=3735928559^t,r=1103547991^t;for(let s=0,o;s>>16,2246822507),n^=Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&r)+(n>>>0)},fc=(e,t)=>ep(e)%t,dc=/#.*$/u,tp=e=>{const t=dc.exec(e);return t?t[0]:""},na=e=>decodeURI(e).replace(dc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),pc=(e,t)=>{if(!i0(t))return!1;const n=na(e.path),r=na(t),s=tp(t);return s?s===e.hash&&(!r||n===r):n===r};var np=e=>Object.prototype.toString.call(e)==="[object Object]",Xn=e=>typeof e=="string";const hc=Array.isArray,ra=e=>np(e)&&Xn(e.name),sa=(e,t=!1)=>e?hc(e)?e.map(n=>Xn(n)?{name:n}:ra(n)?n:null).filter(n=>n!==null):Xn(e)?[{name:e}]:ra(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],vc=(e,t)=>{if(e){if(hc(e)&&e.every(Xn))return e;if(Xn(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},rp=e=>vc(e,"category"),sp=e=>vc(e,"tag"),mc=()=>{const e=ye();return k(()=>e.value.readingTime??null)},op=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:s,word:o,time:l}=t;return{time:n<1?s:l.replace("$time",Math.round(n).toString()),words:o.replace("$word",r.toString())}};var oa={"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}};const la={words:"",time:""},Gs=typeof oa>"u"?null:oa,lp=()=>Gs?fr(Gs):k(()=>null),ap=()=>{if(typeof Gs>"u")return k(()=>la);const e=mc(),t=lp();return k(()=>e.value&&t.value?op(e.value,t.value):la)},rn=()=>Zi(),fe=()=>m2(),Ss=()=>null,ip="719px",cp="1440px",up="true",No={mobileBreakPoint:ip,pcBreakPoint:cp,enableThemeColor:up,"theme-1":"#2196f3","theme-2":"#f26d6d","theme-3":"#3eaf7c","theme-4":"#fb9b5f"},Fo={"/docs/":[{text:"Basics",prefix:"Basics/",collapsible:!0,icon:"circle-info",children:["","Email","Events","File System","HTTP Modules","Modules","NPM","Upload Files","URL Module"]}]},gc=e=>{const{icon:t="",color:n,size:r}=e,s=n||r?{}:null;return n&&(s.color=n),r&&(s.height=Number.isNaN(Number(r))?r:`${r}px`),Zt(t)?u("img",{class:"icon",src:t,alt:"","no-view":"",style:s}):ns(t)?u("img",{class:"icon",src:Ne(t),alt:"","aria-hidden":"","no-view":"",style:s}):u(ft("FontIcon"),e)};gc.displayName="HopeIcon";var Fe=gc;const fp="http://.",Do=()=>{const e=en(),t=_t();return n=>{if(n)if(ns(n))t.path!==n&&e.push(n);else if(Xr(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,fp).pathname)}}},yc=()=>{const e=fe(),t=be();return k(()=>{const{author:n}=t.value;return n?sa(n):n===!1?[]:sa(e.value.author,!1)})},dp=()=>{const e=be();return k(()=>rp(e.value.category).map(t=>({name:t,path:""})))},pp=()=>{const e=be();return k(()=>sp(e.value.tag).map(t=>({name:t,path:""})))},hp=()=>{const e=be(),t=ye();return k(()=>{const n=f0(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},vp=()=>{const e=fe(),t=ye(),n=be(),r=yc(),s=dp(),o=pp(),l=hp(),a=mc(),i=ap(),c=k(()=>({author:r.value,category:s.value,date:l.value,localizedDate:t.value.localizedDate,tag:o.value,isOriginal:n.value.isOriginal||!1,readingTime:a.value,readingTimeLocale:i.value,pageview:"pageview"in n.value?n.value.pageview:!0})),f=k(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:f}},pr=()=>{const e=rn();return k(()=>!!e.value.pure)},{mobileBreakPoint:mp,pcBreakPoint:gp}=No,aa=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,os=()=>{const e=Q(!1),t=Q(!1),n=()=>{e.value=window.innerWidth<=(aa(mp)??719),t.value=window.innerWidth>=(aa(gp)??1440)};return Ie("resize",n,!1),Ie("orientationchange",n,!1),ge(()=>{n()}),{isMobile:e,isPC:t}},bc=Symbol(""),hr=()=>{const e=Ae(bc);if(!e)throw new Error("useDarkmode() is called without provider.");return e},yp=e=>{const t=rn(),n=N0(),r=k(()=>t.value.darkmode||"switch"),s=ss("vuepress-theme-hope-scheme","auto"),o=k(()=>{const a=r.value;return a==="disable"?!1:a==="enable"?!0:a==="auto"?n.value:a==="toggle"?s.value==="dark":s.value==="dark"||s.value==="auto"&&n.value}),l=k(()=>{const a=r.value;return a==="switch"||a==="toggle"});e.provide(bc,{canToggle:l,config:r,isDarkmode:o,status:s}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>o.value}})},bp=()=>{const{config:e,isDarkmode:t,status:n}=hr();qa(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),ge(()=>{ie(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})},Zn=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):pc(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>Zn(e,r)):!1,wc=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?wc(e,n):n.type==="page"&&Zn(e,n,!0))||"prefix"in t&&pc(e,t.prefix):!1,qs=e=>!Qr(e)&&!Xr(e);var ct=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(ct||{}),wp=(e=>(e.type="y",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e))(wp||{}),_p=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(_p||{});const Bo=(e,t=!1,n)=>{const{meta:r,path:s,notFound:o}=p0(e,n);return o?{text:s,link:s}:{text:!t&&r[ct.shortTitle]?r[ct.shortTitle]:r[ct.title]||s,link:s,...r[ct.icon]?{icon:r[ct.icon]}:{}}},Gt=(e="",t="")=>ns(t)||Xr(t)?t:`${Ei(e)}${t}`,Ks=({config:e,prefix:t=""})=>{const n=(r,s=t)=>{const o=ve(r)?Bo(Gt(s,r)):r.link?{...r,...qs(r.link)?{link:Bt(Gt(s,r.link)).path}:{}}:r;if("children"in o){const l=Gt(s,o.prefix),a=o.children==="structure"?Fo[l]:o.children;return{type:"group",...o,prefix:l,children:a.map(i=>n(i,l))}}return{type:"page",...o}};return e.map(r=>n(r))},Ep=({config:e,page:t,headerDepth:n})=>{const r=xn(e).sort((s,o)=>o.length-s.length);for(const s of r)if(Cn(decodeURI(t.path),s)){const o=e[s];return o?Ks({config:o==="structure"?Fo[s]:o,page:t,headerDepth:n,prefix:s}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},Cp=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?Ks({config:Fo[t],page:n,headerDepth:r,prefix:t}):Us(e)?Ks({config:e,page:n,headerDepth:r}):ur(e)?Ep({config:e,page:n,headerDepth:r}):[],_c=Symbol(""),Sp=()=>{const e=be(),t=fe(),n=ye(),r=tn(),s=k(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),o=k(()=>e.value.headerDepth??t.value.headerDepth??2),l=Di(()=>[s.value,o.value,n.value.path,null],()=>Cp({config:s.value,routeLocale:r.value,page:n.value,headerDepth:o.value}));gn(_c,l)},Ho=()=>{const e=Ae(_c);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var kp=z({name:"PageFooter",setup(){const e=rn(),t=fe(),n=be(),r=yc(),s=k(()=>{const{copyright:c,footer:f}=n.value;return f!==!1&&!!(c||f||t.value.displayFooter)}),o=k(()=>{const{footer:c}=n.value;return c===!1?!1:ve(c)?c:t.value.footer||""}),l=k(()=>r.value.map(({name:c})=>c).join(", ")),a=c=>`Copyright © ${new Date().getFullYear()} ${l.value} ${c?`${c} Licensed`:""}`,i=k(()=>{const{copyright:c,license:f=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(f?a(f):ve(p)?p:l.value||d?a(d):!1)});return()=>s.value?u("footer",{class:"vp-footer-wrapper"},[o.value?u("div",{class:"vp-footer",innerHTML:o.value}):null,i.value?u("div",{class:"vp-copyright",innerHTML:i.value}):null]):null}}),je=z({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const s=_t(),o=Mi(),l=Gr(e,"config"),a=k(()=>Zt(l.value.link)),i=k(()=>!a.value&&Xr(l.value.link)),c=k(()=>l.value.target||(a.value?"_blank":void 0)),f=k(()=>c.value==="_blank"),d=k(()=>!a.value&&!i.value&&!f.value),p=k(()=>l.value.rel||(f.value?"noopener noreferrer":null)),v=k(()=>l.value.ariaLabel||l.value.text),g=k(()=>{if(e.exact)return!1;const w=xn(o.value.locales);return w.length?w.every(b=>b!==l.value.link):l.value.link!=="/"}),E=k(()=>d.value?l.value.activeMatch?new RegExp(l.value.activeMatch,"u").test(s.path):g.value?Cn(s.path,l.value.link):s.path===l.value.link:!1);return()=>{const{before:w,after:b,default:C}=r,{text:y,icon:x,link:M}=l.value;return d.value?u(He,{to:M,"aria-label":v.value,...t,class:["nav-link",{active:E.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[w?w():u(Fe,{icon:x}),y,b==null?void 0:b()]):u("a",{href:M,rel:p.value,target:c.value,"aria-label":v.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[w?w():u(Fe,{icon:x}),y,e.noExternalLinkIcon?null:u(Qi),b==null?void 0:b()])}}}),xp=z({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=ye(),r=Gr(e,"config"),s=k(()=>r.value.ariaLabel||r.value.text),o=Q(!1);ie(()=>n.value.path,()=>{o.value=!1});const l=a=>{a.detail===0&&(o.value=!o.value)};return()=>{var a;return u("div",{class:["dropdown-wrapper",{open:o.value}]},[u("button",{type:"button",class:"dropdown-title","aria-label":s.value,onClick:l},[((a=t.title)==null?void 0:a.call(t))||u("span",{class:"title"},[u(Fe,{icon:r.value.icon}),e.config.text]),u("span",{class:"arrow"}),u("ul",{class:"nav-dropdown"},r.value.children.map((i,c)=>{const f=c===r.value.children.length-1;return u("li",{class:"dropdown-item"},"children"in i?[u("h4",{class:"dropdown-subtitle"},i.link?u(je,{config:i,onFocusout:()=>{i.children.length===0&&f&&(o.value=!1)}}):u("span",i.text)),u("ul",{class:"dropdown-subitem-wrapper"},i.children.map((d,p)=>u("li",{class:"dropdown-subitem"},u(je,{config:d,onFocusout:()=>{p===i.children.length-1&&f&&(o.value=!1)}}))))]:u(je,{config:i,onFocusout:()=>{f&&(o.value=!1)}}))}))])])}}});const Ec=(e,t="")=>ve(e)?Bo(Gt(t,e)):"children"in e?{...e,...e.link&&qs(e.link)?{link:Bt(Gt(t,e.link)).path}:{},children:e.children.map(n=>Ec(n,Gt(t,e.prefix)))}:{...e,link:qs(e.link)?Bt(Gt(t,e.link)).path:e.link},Cc=()=>{const e=fe(),t=()=>(e.value.navbar||[]).map(n=>Ec(n));return Di(()=>e.value.navbar,()=>t())},Tp=()=>{const e=fe(),t=k(()=>e.value.repo||null),n=k(()=>t.value?X2(t.value):null),r=k(()=>t.value?$o(t.value):null),s=k(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return k(()=>!n.value||!s.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:s.value,link:n.value})};var Ap=z({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=ye(),n=Gr(e,"config"),r=k(()=>n.value.ariaLabel||n.value.text),s=Q(!1);ie(()=>t.value.path,()=>{s.value=!1});const o=(l,a)=>a[a.length-1]===l;return()=>[u("button",{type:"button",class:["nav-screen-dropdown-title",{active:s.value}],"aria-label":r.value,onClick:()=>{s.value=!s.value}},[u("span",{class:"title"},[u(Fe,{icon:n.value.icon}),e.config.text]),u("span",{class:["arrow",s.value?"down":"end"]})]),u("ul",{class:["nav-screen-dropdown",{hide:!s.value}]},n.value.children.map(l=>u("li",{class:"dropdown-item"},"children"in l?[u("h4",{class:"dropdown-subtitle"},l.link?u(je,{config:l,onFocusout:()=>{o(l,n.value.children)&&l.children.length===0&&(s.value=!1)}}):u("span",l.text)),u("ul",{class:"dropdown-subitem-wrapper"},l.children.map(a=>u("li",{class:"dropdown-subitem"},u(je,{config:a,onFocusout:()=>{o(a,l.children)&&o(l,n.value.children)&&(s.value=!1)}}))))]:u(je,{config:l,onFocusout:()=>{o(l,n.value.children)&&(s.value=!1)}}))))]}}),Lp=z({name:"NavScreenLinks",setup(){const e=Cc();return()=>e.value.length?u("nav",{class:"nav-screen-links"},e.value.map(t=>u("div",{class:"navbar-links-item"},"children"in t?u(Ap,{config:t}):u(je,{config:t})))):null}});const Sc=()=>u(we,{name:"dark"},()=>u("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));Sc.displayName="DarkIcon";const kc=()=>u(we,{name:"light"},()=>u("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));kc.displayName="LightIcon";const xc=()=>u(we,{name:"auto"},()=>u("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));xc.displayName="AutoIcon";const Tc=()=>u(we,{name:"enter-fullscreen"},()=>u("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Tc.displayName="EnterFullScreenIcon";const Ac=()=>u(we,{name:"cancel-fullscreen"},()=>u("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Ac.displayName="CancelFullScreenIcon";const Lc=()=>u(we,{name:"outlook"},()=>[u("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Lc.displayName="OutlookIcon";var Pc=z({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=hr(),r=pr(),s=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},o=async l=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!l){s();return}const a=l.clientX,i=l.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(i,innerHeight-i)),f=t.value;await document.startViewTransition(async()=>{s(),await Ht()}).ready,t.value!==f&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${a}px ${i}px)`,`circle(0px at ${a}px ${i}px)`]:[`circle(0px at ${a}px ${i}px)`,`circle(${c}px at ${a}px ${i}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>u("button",{type:"button",id:"appearance-switch",onClick:o},[u(xc,{style:{display:n.value==="auto"?"block":"none"}}),u(Sc,{style:{display:n.value==="dark"?"block":"none"}}),u(kc,{style:{display:n.value==="light"?"block":"none"}})])}}),Pp=z({name:"AppearanceMode",setup(){const e=fe(),{canToggle:t}=hr(),n=k(()=>e.value.outlookLocales.darkmode);return()=>t.value?u("div",{class:"appearance-wrapper"},[u("label",{class:"appearance-title",for:"appearance-switch"},n.value),u(Pc)]):null}});const ks="VUEPRESS_THEME_COLOR";var Rp=z({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(e){const t=(n="")=>{const r=document.documentElement.classList,s=xn(e.themeColor);if(!n){localStorage.removeItem(ks),r.remove(...s);return}r.remove(...s.filter(o=>o!==n)),r.add(n),localStorage.setItem(ks,n)};return ge(()=>{const n=localStorage.getItem(ks);n&&t(n)}),()=>u("ul",{id:"theme-color-picker"},[u("li",u("span",{class:"theme-color",onClick:()=>t()})),Ro(e.themeColor).map(([n,r])=>u("li",u("span",{style:{background:r},onClick:()=>t(n)})))])}});const xs=No.enableThemeColor==="true",Ip=u0(Ro(No).filter(([e])=>e.startsWith("theme-")));var Op=z({name:"ThemeColor",setup(){const e=fe(),t=k(()=>e.value.outlookLocales.themeColor);return()=>u("div",{class:"theme-color-wrapper"},[u("label",{class:"theme-color-title",for:"theme-color-picker"},t.value),u(Rp,{themeColor:Ip})])}}),Rc=z({name:"ToggleFullScreenButton",setup(){const e=fe(),{isSupported:t,isFullscreen:n,toggle:r}=Oo(),s=k(()=>e.value.outlookLocales.fullscreen);return()=>t?u("div",{class:"full-screen-wrapper"},[u("label",{class:"full-screen-title",for:"full-screen-switch"},s.value),u("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?u(Ac):u(Tc))]):null}}),Ic=z({name:"OutlookSettings",setup(){const e=rn(),t=pr(),n=k(()=>!t.value&&e.value.fullscreen);return()=>u(ts,()=>[u(Op),u(Pp),n.value?u(Rc):null])}}),Mp=z({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=ye(),{isMobile:s}=os(),o=Ge(),l=Wi(o);return ge(()=>{o.value=document.body,ie(s,a=>{!a&&e.show&&(l.value=!1,t("close"))}),ie(()=>r.value.path,()=>{l.value=!1,t("close")})}),kn(()=>{l.value=!1}),()=>u(Dt,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var a,i;return e.show?u("div",{id:"nav-screen"},u("div",{class:"vp-nav-screen-container"},[(a=n.before)==null?void 0:a.call(n),u(Lp),u("div",{class:"vp-outlook-wrapper"},u(Ic)),(i=n.after)==null?void 0:i.call(n)])):null})}}),$p=z({name:"NavbarBrand",setup(){const e=tn(),t=Po(),n=fe(),r=k(()=>n.value.home||e.value),s=k(()=>t.value.title),o=k(()=>n.value.navTitle??s.value),l=k(()=>n.value.logo?Ne(n.value.logo):null),a=k(()=>n.value.logoDark?Ne(n.value.logoDark):null);return()=>u(He,{to:r.value,class:"vp-brand"},()=>[l.value?u("img",{class:["vp-nav-logo",{light:!!a.value}],src:l.value,alt:""}):null,a.value?u("img",{class:["vp-nav-logo dark"],src:a.value,alt:""}):null,o.value?u("span",{class:["vp-site-name",{"hide-in-pad":l.value&&n.value.hideSiteNameOnMobile!==!1}]},o.value):null])}}),Np=z({name:"NavbarLinks",setup(){const e=Cc();return()=>e.value.length?u("nav",{class:"vp-nav-links"},e.value.map(t=>u("div",{class:"vp-nav-item hide-in-mobile"},"children"in t?u(xp,{config:t}):u(je,{config:t})))):null}}),Fp=z({name:"RepoLink",setup(){const e=Tp();return()=>e.value?u("div",{class:"vp-nav-item vp-action"},u("a",{class:"vp-action-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},u(Z2,{type:e.value.type,style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Oc=({active:e=!1},{emit:t})=>u("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},u("span",[u("span",{class:"vp-top"}),u("span",{class:"vp-middle"}),u("span",{class:"vp-bottom"})]));Oc.displayName="ToggleNavbarButton";var Dp=Oc;const Ys=(e,{emit:t})=>u("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},u("span",{class:"icon"}));Ys.displayName="ToggleSidebarButton",Ys.emits=["toggle"];var Bp=Ys,Hp=z({name:"OutlookButton",setup(){const{isSupported:e}=Oo(),t=rn(),n=pr(),r=ye(),{canToggle:s}=hr(),o=Q(!1),l=k(()=>!n.value&&t.value.fullscreen&&e);return ie(()=>r.value.path,()=>{o.value=!1}),()=>s.value||l.value||xs?u("div",{class:"vp-nav-item hide-in-mobile"},s.value&&!l.value&&!xs?u(Pc):l.value&&!s.value&&!xs?u(Rc):u("button",{type:"button",class:["outlook-button",{open:o.value}],tabindex:"-1","aria-hidden":!0},[u(Lc),u("div",{class:"outlook-dropdown"},u(Ic))])):null}}),jp=z({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=fe(),{isMobile:s}=os(),o=Q(!1),l=k(()=>{const{navbarAutoHide:f="mobile"}=r.value;return f!=="none"&&(f==="always"||s.value)}),a=k(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:$p,Language:Ss,Links:Np,Repo:Fp,Outlook:Hp,Search:pt("Docsearch")?ft("Docsearch"):pt("SearchBox")?ft("SearchBox"):Ss},c=f=>i[f]??(pt(f)?ft(f):Ss);return()=>{var f,d,p,v,g,E;return[u("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}]},[u("div",{class:"vp-navbar-start"},[u(Bp,{onToggle:()=>{o.value&&(o.value=!1),t("toggleSidebar")}}),(f=n.startBefore)==null?void 0:f.call(n),(a.value.start||[]).map(w=>u(c(w))),(d=n.startAfter)==null?void 0:d.call(n)]),u("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(a.value.center||[]).map(w=>u(c(w))),(v=n.centerAfter)==null?void 0:v.call(n)]),u("div",{class:"vp-navbar-end"},[(g=n.endBefore)==null?void 0:g.call(n),(a.value.end||[]).map(w=>u(c(w))),(E=n.endAfter)==null?void 0:E.call(n),u(Dp,{active:o.value,onToggle:()=>{o.value=!o.value}})])]),u(Mp,{show:o.value,onClose:()=>{o.value=!1}},{before:()=>{var w;return(w=n.screenTop)==null?void 0:w.call(n)},after:()=>{var w;return(w=n.screenBottom)==null?void 0:w.call(n)}})]}}}),Vp=z({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=_t();return()=>ve(e.config.link)?u(je,{class:["vp-sidebar-link","vp-sidebar-page",{active:Zn(t,e.config,!0)}],exact:!0,config:e.config}):u("p",e,[u(Fe,{icon:e.config.icon}),e.config.text])}}),zp=z({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=_t(),r=k(()=>Zn(n,e.config)),s=k(()=>Zn(n,e.config,!0));return()=>{const{collapsible:o,children:l=[],icon:a,prefix:i,link:c,text:f}=e.config;return u("section",{class:"vp-sidebar-group"},[u(o?"button":"p",{class:["vp-sidebar-header",{clickable:o||c,exact:s.value,active:r.value}],...o?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[u(Fe,{icon:a}),c?u(je,{class:"vp-sidebar-title",config:{text:f,link:c},noExternalLinkIcon:!0}):u("span",{class:"vp-sidebar-title"},f),o?u("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!o?u(Mc,{key:i,config:l}):null])}}}),Mc=z({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=_t(),n=Q(-1),r=s=>{n.value=s===n.value?-1:s};return ie(()=>t.path,()=>{const s=e.config.findIndex(o=>wc(t,o));n.value=s},{immediate:!0,flush:"post"}),()=>u("ul",{class:"vp-sidebar-links"},e.config.map((s,o)=>u("li",s.type==="group"?u(zp,{config:s,open:o===n.value,onToggle:()=>r(o)}):u(Vp,{config:s}))))}}),Up=z({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=_t(),r=fe(),s=Ho(),o=Ge();return ge(()=>{ie(()=>n.hash,l=>{const a=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${l}"]`);if(!a)return;const{top:i,height:c}=o.value.getBoundingClientRect(),{top:f,height:d}=a.getBoundingClientRect();fi+c&&a.scrollIntoView(!1)},{immediate:!0})}),()=>{var l,a,i;return u("aside",{ref:o,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(l=t.top)==null?void 0:l.call(t),((a=t.default)==null?void 0:a.call(t))||u(Mc,{config:s.value}),(i=t.bottom)==null?void 0:i.call(t)])}}}),$c=z({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=en(),r=ye(),s=be(),o=fe(),{isMobile:l,isPC:a}=os(),[i,c]=Ws(!1),[f,d]=Ws(!1),p=Ho(),v=Q(!1),g=k(()=>e.noNavbar||s.value.navbar===!1||o.value.navbar===!1?!1:!!(r.value.title||o.value.logo||o.value.repo||o.value.navbar)),E=k(()=>e.noSidebar?!1:s.value.sidebar!==!1&&p.value.length!==0&&!s.value.home),w=k(()=>e.noToc||s.value.home?!1:s.value.toc||o.value.toc!==!1&&s.value.toc!==!1),b={x:0,y:0},C=S=>{b.x=S.changedTouches[0].clientX,b.y=S.changedTouches[0].clientY},y=S=>{const $=S.changedTouches[0].clientX-b.x,I=S.changedTouches[0].clientY-b.y;Math.abs($)>Math.abs(I)*1.5&&Math.abs($)>40&&($>0&&b.x<=80?c(!0):c(!1))},x=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let M=0;return Ie("scroll",S0(()=>{const S=x();S<=58||S{S||c(!1)}),ge(()=>{const S=Wi(document.body);ie(i,I=>{S.value=I});const $=n.afterEach(()=>{c(!1)});kn(()=>{S.value=!1,$()})}),()=>u(pt("GlobalEncrypt")?ft("GlobalEncrypt"):lc,()=>u("div",{class:["theme-container",{"no-navbar":!g.value,"no-sidebar":!E.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":w.value,"hide-navbar":v.value,"sidebar-collapsed":!l.value&&!a.value&&f.value,"sidebar-open":l.value&&i.value},e.containerClass,s.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[g.value?u(jp,{onToggleSidebar:()=>c()},{startBefore:()=>{var S;return(S=t.navbarStartBefore)==null?void 0:S.call(t)},startAfter:()=>{var S;return(S=t.navbarStartAfter)==null?void 0:S.call(t)},centerBefore:()=>{var S;return(S=t.navbarCenterBefore)==null?void 0:S.call(t)},centerAfter:()=>{var S;return(S=t.navbarCenterAfter)==null?void 0:S.call(t)},endBefore:()=>{var S;return(S=t.navbarEndBefore)==null?void 0:S.call(t)},endAfter:()=>{var S;return(S=t.navbarEndAfter)==null?void 0:S.call(t)},screenTop:()=>{var S;return(S=t.navScreenTop)==null?void 0:S.call(t)},screenBottom:()=>{var S;return(S=t.navScreenBottom)==null?void 0:S.call(t)}}):null,u(Dt,{name:"fade"},()=>i.value?u("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),u(Dt,{name:"fade"},()=>l.value?null:u("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},u("span",{class:["arrow",f.value?"end":"start"]}))),u(Up,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var S;return(S=t.sidebarTop)==null?void 0:S.call(t)},bottom:()=>{var S;return(S=t.sidebarBottom)==null?void 0:S.call(t)}}),t.default(),u(kp)]))}});const dn=z({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=s=>{s.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,s.style.transform="translateY(-20px)",s.style.opacity="0"},r=s=>{s.style.transform="translateY(0)",s.style.opacity="1"};return()=>u(e.type==="single"?Dt:A1,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}}),Js=({custom:e})=>u(Ni,{class:["theme-hope-content",{custom:e}]});Js.displayName="MarkdownContent",Js.props={custom:Boolean};var Nc=Js;const Fc=()=>u(we,{name:"author"},()=>u("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Fc.displayName="AuthorIcon";const Dc=()=>u(we,{name:"calendar"},()=>u("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Dc.displayName="CalendarIcon";const Bc=()=>u(we,{name:"category"},()=>u("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Bc.displayName="CategoryIcon";const Hc=()=>u(we,{name:"eye"},()=>u("path",{d:"M992 512.096c0-5.76-.992-10.592-1.28-11.136-.192-2.88-1.152-8.064-2.08-10.816-.256-.672-.544-1.376-.832-2.08-.48-1.568-1.024-3.104-1.6-4.32C897.664 290.112 707.104 160 512 160c-195.072 0-385.632 130.016-473.76 322.592-1.056 2.112-1.792 4.096-2.272 5.856a55.512 55.512 0 00-.64 1.6c-1.76 5.088-1.792 8.64-1.632 7.744-.832 3.744-1.568 11.168-1.568 11.168-.224 2.272-.224 4.032.032 6.304 0 0 .736 6.464 1.088 7.808.128 1.824.576 4.512 1.12 6.976h-.032c.448 2.08 1.12 4.096 1.984 6.08.48 1.536.992 2.976 1.472 4.032C126.432 733.856 316.992 864 512 864c195.136 0 385.696-130.048 473.216-321.696 1.376-2.496 2.24-4.832 2.848-6.912.256-.608.48-1.184.672-1.728 1.536-4.48 1.856-8.32 1.728-8.32l-.032.032c.608-3.104 1.568-7.744 1.568-13.28zM512 672c-88.224 0-160-71.776-160-160s71.776-160 160-160 160 71.776 160 160-71.776 160-160 160z"}));Hc.displayName="EyeIcon";const jc=()=>u(we,{name:"fire"},()=>u("path",{d:"M726.4 201.6c-12.8-9.6-28.8-6.4-38.4 0-9.6 9.6-16 25.6-9.6 38.4 6.4 12.8 9.6 28.8 12.8 44.8C604.8 83.2 460.8 38.4 454.4 35.2c-9.6-3.2-22.4 0-28.8 6.4-9.6 6.4-12.8 19.2-9.6 28.8 12.8 86.4-25.6 188.8-115.2 310.4-6.4-25.6-16-51.2-32-80-9.6-9.6-22.4-16-35.2-12.8-16 3.2-25.6 12.8-25.6 28.8-3.2 48-25.6 92.8-51.2 140.8C134.4 499.2 112 544 102.4 592c-32 150.4 99.2 329.6 233.6 380.8 9.6 3.2 19.2 6.4 32 9.6-25.6-19.2-41.6-51.2-48-96C294.4 691.2 505.6 640 515.2 460.8c153.6 105.6 224 336 137.6 505.6 3.2 0 6.4-3.2 9.6-3.2 0 0 3.2 0 3.2-3.2 163.2-89.6 252.8-208 259.2-345.6 16-211.2-163.2-390.4-198.4-412.8z"}));jc.displayName="FireIcon";const Vc=()=>u(we,{name:"print"},()=>u("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Vc.displayName="PrintIcon";const zc=()=>u(we,{name:"tag"},()=>u("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));zc.displayName="TagIcon";const Uc=()=>u(we,{name:"timer"},()=>u("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));Uc.displayName="TimerIcon";const Wc=()=>u(we,{name:"word"},()=>[u("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),u("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Wc.displayName="WordIcon";const Et=()=>{const e=fe();return k(()=>e.value.metaLocales)};var Wp=z({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=Et();return()=>e.author.length?u("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Fc),u("span",e.author.map(n=>n.url?u("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):u("span",{class:"page-author-item"},n.name))),u("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Gp=z({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=Et(),n=Do();return()=>e.category.length?u("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Bc),e.category.map(({name:r,path:s})=>u("span",{class:["page-category-item",{[`category${fc(r,9)}`]:!e.pure,clickable:s}],role:s?"navigation":"",onClick:()=>{s&&n(s)}},r)),u("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),qp=z({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=Lo(),n=Et();return()=>e.date?u("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Dc),u("span",u(ts,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),u("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),Kp=z({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=Et();return()=>e.isOriginal?u("span",{class:"page-original-info"},t.value.origin):null}}),Yp=z({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(e){const t=_t(),n=Et(),r=Ge(),s=Q(0);return F0(r,()=>{},{childList:!0}),()=>e.pageview?u("span",{class:"page-pageview-info","aria-label":`${n.value.views}${e.pure?"":"🔢"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(s.value<1e3?Hc:jc),u("span",{ref:r,id:"ArtalkPV",class:"vp-pageview waline-pageview-count","data-path":ve(e.pageview)?e.pageview:t.path,"data-page-key":ve(e.pageview)?e.pageview:t.path},"...")]):null}}),Jp=z({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Et(),n=k(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,s;return(r=e.readingTimeLocale)!=null&&r.time?u("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Uc),u("span",(s=e.readingTimeLocale)==null?void 0:s.time),u("meta",{property:"timeRequired",content:n.value})]):null}}}),Qp=z({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=Et(),n=Do();return()=>e.tag.length?u("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(zc),e.tag.map(({name:r,path:s})=>u("span",{class:["page-tag-item",{[`tag${fc(r,9)}`]:!e.pure,clickable:s}],role:s?"navigation":"",onClick:()=>{s&&n(s)}},r)),u("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),Xp=z({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Et();return()=>{var n,r,s;return(n=e.readingTimeLocale)!=null&&n.words?u("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Wc),u("span",(r=e.readingTimeLocale)==null?void 0:r.words),u("meta",{property:"wordCount",content:(s=e.readingTime)==null?void 0:s.words})]):null}}}),Zp=z({name:"PageInfo",components:{AuthorInfo:Wp,CategoryInfo:Gp,DateInfo:qp,OriginalInfo:Kp,PageViewInfo:Yp,ReadingTimeInfo:Jp,TagInfo:Qp,WordInfo:Xp},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=pr();return()=>e.items?u("div",{class:"page-info"},e.items.map(n=>u(ft(`${n}Info`),{...e.info,pure:t.value}))):null}}),e3=z({name:"PrintButton",setup(){const e=rn(),t=fe();return()=>e.value.print===!1?null:u("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},u(Vc))}}),t3=z({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=_t(),r=ye(),s=Et(),[o,l]=Ws(),a=Ge(),i=Q("-1.7rem"),c=d=>{var p;(p=a.value)==null||p.scrollTo({top:d,behavior:"smooth"})},f=()=>{if(a.value){const d=document.querySelector(".vp-toc-item.active");d?i.value=`${d.getBoundingClientRect().top-a.value.getBoundingClientRect().top+a.value.scrollTop}px`:i.value="-1.7rem"}else i.value="-1.7rem"};return ge(()=>{ie(()=>n.hash,d=>{if(a.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:v,height:g}=a.value.getBoundingClientRect(),{top:E,height:w}=p.getBoundingClientRect();Ev+g&&c(a.value.scrollTop+E+w-v-g)}}),ie(()=>n.fullPath,f,{flush:"post",immediate:!0})}),()=>{var g,E;const d=({title:w,level:b,slug:C})=>u(He,{to:`#${C}`,class:["vp-toc-link",`level${b}`],onClick:()=>{l()}},()=>w),p=(w,b)=>w.length&&b>0?u("ul",{class:"vp-toc-list"},w.map(C=>{const y=p(C.children,b-1);return[u("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},d(C)),y?u("li",y):null]})):null,v=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return v?u("div",{class:"vp-toc-placeholder"},[u("aside",{id:"toc"},[(g=t.before)==null?void 0:g.call(t),u("div",{class:"vp-toc-header",onClick:()=>{l()}},[s.value.toc,u(e3),u("div",{class:["arrow",o.value?"down":"end"]})]),u("div",{class:["vp-toc-wrapper",o.value?"open":""],ref:a},[v,u("div",{class:"vp-toc-marker",style:{top:i.value}})]),(E=t.after)==null?void 0:E.call(t)])]):null}}}),Gc=z({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=ye(),n=fe(),r=Ge(),s=({target:o})=>{const l=document.querySelector(o.hash);if(l){const a=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",a)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",a),l.focus(),window.scrollTo(0,0)}};return ge(()=>{ie(()=>t.value.path,()=>r.value.focus())}),()=>[u("span",{ref:r,tabindex:"-1"}),u("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:s},n.value.routeLocales.skipToContent)]}});let Ts=null,Rn=null;const Qs={wait:()=>Ts,pending:()=>{Ts=new Promise(e=>{Rn=e})},resolve:()=>{Rn==null||Rn(),Ts=null,Rn=null}},jo=(e,{slots:t})=>u(Dt,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:Qs.resolve,onBeforeLeave:Qs.pending},()=>{var n;return(n=t.default)==null?void 0:n.call(t)});jo.displayName="FadeSlideY";const n3=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let s=ko(t);return n.forEach((o,l)=>{l!==n.length-1?(s+=`${o}/`,r.push({link:s,name:o||"Home"})):o!==""&&(s+=o,r.push({link:s,name:o}))}),r},qc=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:s,color:o,description:l,image:a,imageDark:i,header:c,features:f=[]}=e;return u("div",{class:"vp-feature-wrapper"},[n?u("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},s]}):null,r?u("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},s]}):null,u("div",{class:"vp-feature",style:o?{color:o}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[a?u("img",{class:["vp-feature-image",{light:i}],src:Ne(a),alt:""}):null,i?u("img",{class:"vp-feature-image dark",src:Ne(i),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?u("h2",{class:"vp-feature-header"},c):null,l?u("p",{class:"vp-feature-description",innerHTML:l}):null],f.length?u("div",{class:"vp-features"},f.map(({icon:v,title:g,details:E,link:w})=>{const b=[u("h3",{class:"vp-feature-title"},[u(Fe,{icon:v}),u("span",{innerHTML:g})]),u("p",{class:"vp-feature-details",innerHTML:E})];return w?Qr(w)?u("a",{class:"vp-feature-item link",href:w,"aria-label":g,target:"_blank"},b):u(He,{class:"vp-feature-item link",to:w,"aria-label":g},()=>b):u("div",{class:"vp-feature-item"},b)})):null])])};qc.displayName="FeaturePanel";var ia=qc,r3=z({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=be(),r=Po(),s=k(()=>n.value.heroFullScreen??!1),o=k(()=>{const{heroText:c,tagline:f}=n.value;return{text:c??r.value.title??"Hello",tagline:f??r.value.description??"",isFullScreen:s.value}}),l=k(()=>{const{heroText:c,heroImage:f,heroImageDark:d,heroAlt:p,heroImageStyle:v}=n.value;return{image:f?Ne(f):null,imageDark:d?Ne(d):null,style:v,alt:p||c||"",isFullScreen:s.value}}),a=k(()=>{const{bgImage:c,bgImageDark:f,bgImageStyle:d}=n.value;return{image:ve(c)?Ne(c):null,imageDark:ve(f)?Ne(f):null,bgStyle:d,isFullScreen:s.value}}),i=k(()=>n.value.actions??[]);return()=>{var c,f,d;return u("header",{class:["vp-hero-info-wrapper",{fullscreen:s.value}]},[((c=t.heroBg)==null?void 0:c.call(t,a.value))||[a.value.image?u("div",{class:["vp-hero-mask",{light:a.value.imageDark}],style:[{"background-image":`url(${a.value.image})`},a.value.bgStyle]}):null,a.value.imageDark?u("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${a.value.imageDark})`},a.value.bgStyle]}):null],u("div",{class:"vp-hero-info"},[((f=t.heroImage)==null?void 0:f.call(t,l.value))||u(dn,{appear:!0,type:"group"},()=>[l.value.image?u("img",{key:"light",class:["vp-hero-image",{light:l.value.imageDark}],style:l.value.style,src:l.value.image,alt:l.value.alt}):null,l.value.imageDark?u("img",{key:"dark",class:"vp-hero-image dark",style:l.value.style,src:l.value.imageDark,alt:l.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,o.value))??u("div",{class:"vp-hero-infos"},[o.value.text?u(dn,{appear:!0,delay:.04},()=>u("h1",{id:"main-title"},o.value.text)):null,o.value.tagline?u(dn,{appear:!0,delay:.08},()=>u("p",{id:"main-description",innerHTML:o.value.tagline})):null,i.value.length?u(dn,{appear:!0,delay:.12},()=>u("p",{class:"vp-hero-actions"},i.value.map(p=>u(je,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>u(Fe,{icon:p.icon})}:{})))):null])])])}}});const Kc=(e,{slots:t})=>{var p,v,g;const{bgImage:n,bgImageDark:r,bgImageStyle:s,color:o,description:l,image:a,imageDark:i,header:c,highlights:f=[],type:d="un-order"}=e;return u("div",{class:"vp-highlight-wrapper",style:o?{color:o}:{}},[n?u("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},s]}):null,r?u("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},s]}):null,u("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[a?u("img",{class:["vp-highlight-image",{light:i}],src:Ne(a),alt:""}):null,i?u("img",{class:"vp-highlight-image dark",src:Ne(i),alt:""}):null],((v=t.info)==null?void 0:v.call(t,e))||[u("div",{class:"vp-highlight-info-wrapper"},u("div",{class:"vp-highlight-info"},[c?u("h2",{class:"vp-highlight-header",innerHTML:c}):null,l?u("p",{class:"vp-highlight-description",innerHTML:l}):null,((g=t.highlights)==null?void 0:g.call(t,f))||u(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},f.map(({icon:E,title:w,details:b,link:C})=>{const y=[u(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[E?u(Fe,{class:"vp-highlight-icon",icon:E}):null,u("span",{innerHTML:w})]),b?u(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:b}):null];return u(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?Qr(C)?u("a",{class:"vp-highlight-item link",href:C,"aria-label":w,target:"_blank"},y):u(He,{class:"vp-highlight-item link",to:C,"aria-label":w},()=>y):u("div",{class:"vp-highlight-item"},y))}))]))]])])};Kc.displayName="HighlightPanel";var s3=Kc,o3=z({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=pr(),r=be(),s=k(()=>{const{features:l}=r.value;return Us(l)?l:null}),o=k(()=>{const{highlights:l}=r.value;return Us(l)?l:null});return()=>{var l,a,i,c;return u("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(l=t.top)==null?void 0:l.call(t),u(r3),((a=o.value)==null?void 0:a.map(f=>"features"in f?u(ia,f):u(s3,f)))||(s.value?u(dn,{appear:!0,delay:.24},()=>u(ia,{features:s.value})):null),(i=t.center)==null?void 0:i.call(t),u(dn,{appear:!0,delay:.32},()=>u(Nc)),(c=t.bottom)==null?void 0:c.call(t)])}}}),l3=z({name:"BreadCrumb",setup(){const e=ye(),t=tn(),n=be(),r=fe(),s=Ge([]),o=k(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&s.value.length>1),l=k(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),a=()=>{const i=n3(e.value.path,t.value).map(({link:c,name:f})=>{const{path:d,meta:p,notFound:v}=Bt(c);return v||p[ct.breadcrumbExclude]?null:{title:p[ct.shortTitle]||p[ct.title]||f,icon:p[ct.icon],path:d}}).filter(c=>c!==null);i.length>1&&(s.value=i)};return ge(()=>{ie(()=>e.value.path,a,{immediate:!0})}),()=>u("nav",{class:["vp-breadcrumb",{disable:!o.value}]},o.value?u("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},s.value.map((i,c)=>u("li",{class:{"is-active":s.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[u(He,{to:i.path,property:"item",typeof:"WebPage"},()=>[l.value?u(Fe,{icon:i.icon}):null,u("span",{property:"name"},i.title||"Unknown")]),u("meta",{property:"position",content:c+1})]))):[])}});const ca=(e,t)=>e===!1||ur(e)?e:ve(e)?Bo(e,!0,t):null,Xs=(e,t,n)=>{const r=e.findIndex(s=>s.link===t);if(r!==-1){const s=e[r+n];return s!=null&&s.link?s:null}for(const s of e)if("children"in s){const o=Xs(s.children,t,n);if(o)return o}return null};var a3=z({name:"PageNav",setup(){const e=fe(),t=be(),n=Ho(),r=ye(),s=Do(),o=_t(),l=k(()=>{const i=ca(t.value.prev,o.path);return i===!1?null:i||(e.value.prevLink===!1?null:Xs(n.value,r.value.path,-1))}),a=k(()=>{const i=ca(t.value.next,o.path);return i===!1?null:i||(e.value.nextLink===!1?null:Xs(n.value,r.value.path,1))});return Ie("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?a.value&&(s(a.value.link),i.preventDefault()):i.key==="ArrowLeft"&&l.value&&(s(l.value.link),i.preventDefault()))}),()=>l.value||a.value?u("nav",{class:"vp-page-nav"},[l.value?u(je,{class:"prev",config:l.value},()=>{var i,c;return[u("div",{class:"hint"},[u("span",{class:"arrow start"}),e.value.metaLocales.prev]),u("div",{class:"link"},[u(Fe,{icon:(i=l.value)==null?void 0:i.icon}),(c=l.value)==null?void 0:c.text])]}):null,a.value?u(je,{class:"next",config:a.value},()=>{var i,c;return[u("div",{class:"hint"},[e.value.metaLocales.next,u("span",{class:"arrow end"})]),u("div",{class:"link"},[(i=a.value)==null?void 0:i.text,u(Fe,{icon:(c=a.value)==null?void 0:c.icon})])]}):null]):null}});const i3=()=>{const e=fe(),t=ye(),n=be();return k(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})},c3={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},u3=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:s})=>{if(!r)return null;const o=$o(e);let l;return s?l=s:o!==null&&(l=c3[o]),l?l.replace(/:repo/u,Zt(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,Ci(`${ko(n)}/${r}`)):null},f3=()=>{const e=fe(),t=ye(),n=be();return k(()=>{const{repo:r,docsRepo:s=r,docsBranch:o="main",docsDir:l="",editLink:a,editLinkPattern:i=""}=e.value;if(!(n.value.editLink??a??!0)||!s)return null;const c=u3({docsRepo:s,docsBranch:o,docsDir:l,editLinkPattern:i,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},d3=()=>{const e=Po(),t=fe(),n=ye(),r=be();return k(()=>{var s,o;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((s=n.value.git)!=null&&s.updatedTime)?null:new Date((o=n.value.git)==null?void 0:o.updatedTime).toLocaleString(e.value.lang)})};var p3=z({name:"PageTitle",setup(){const e=ye(),t=be(),n=fe(),{info:r,items:s}=vp();return()=>u("div",{class:"vp-page-title"},[u("h1",[n.value.titleIcon===!1?null:u(Fe,{icon:t.value.icon}),e.value.title]),u(Zp,{info:r.value,...s.value===null?{}:{items:s.value}}),u("hr")])}});const Yc=()=>u(we,{name:"edit"},()=>[u("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),u("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Yc.displayName="EditIcon";var h3=z({name:"PageMeta",setup(){const e=fe(),t=f3(),n=d3(),r=i3();return()=>{const{metaLocales:s}=e.value;return u("footer",{class:"vp-page-meta"},[t.value?u("div",{class:"vp-meta-item edit-link"},u(je,{class:"vp-meta-label",config:t.value},{before:()=>u(Yc)})):null,u("div",{class:"vp-meta-item git-info"},[n.value?u("div",{class:"update-time"},[u("span",{class:"vp-meta-label"},`${s.lastUpdated}: `),u(ts,()=>u("span",{class:"vp-meta-info"},n.value))]):null,r.value&&r.value.length?u("div",{class:"contributors"},[u("span",{class:"vp-meta-label"},`${s.contributors}: `),r.value.map(({email:o,name:l},a)=>[u("span",{class:"vp-meta-info",title:`email: ${o}`},l),a!==r.value.length-1?",":""])]):null])])}}}),v3=z({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=be(),{isDarkmode:r}=hr(),s=fe(),o=k(()=>n.value.toc||n.value.toc!==!1&&s.value.toc!==!1);return()=>u("main",{id:"main-content",class:"vp-page"},u(pt("LocalEncrypt")?ft("LocalEncrypt"):lc,()=>{var l,a,i,c;return[(l=t.top)==null?void 0:l.call(t),n.value.cover?u("div",{class:"page-cover"},u("img",{src:Ne(n.value.cover),alt:"","no-view":""})):null,u(l3),u(p3),o.value?u(t3,{headerDepth:n.value.headerDepth??s.value.headerDepth??2},{before:()=>{var f;return(f=t.tocBefore)==null?void 0:f.call(t)},after:()=>{var f;return(f=t.tocAfter)==null?void 0:f.call(t)}}):null,(a=t.contentBefore)==null?void 0:a.call(t),u(Nc),(i=t.contentAfter)==null?void 0:i.call(t),u(h3),u(a3),pt("CommentService")?u(ft("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),m3=z({name:"Layout",slots:Object,setup(e,{slots:t}){fe();const n=ye(),r=be(),{isMobile:s}=os(),o=k(()=>"none");return()=>[u(Gc),u($c,{},{default:()=>{var l;return((l=t.default)==null?void 0:l.call(t))||(r.value.home?u(o3):u(jo,()=>u(v3,{key:n.value.path},{top:()=>{var a;return(a=t.top)==null?void 0:a.call(t)},bottom:()=>{var a;return(a=t.bottom)==null?void 0:a.call(t)},contentBefore:()=>{var a;return(a=t.contentBefore)==null?void 0:a.call(t)},contentAfter:()=>{var a;return(a=t.contentAfter)==null?void 0:a.call(t)},tocBefore:()=>{var a;return(a=t.tocBefore)==null?void 0:a.call(t)},tocAfter:()=>{var a;return(a=t.tocAfter)==null?void 0:a.call(t)}})))},...o.value==="none"?{}:{navScreenBottom:()=>u(ft("BloggerInfo"))},...!s.value&&o.value==="always"?{sidebar:()=>u(ft("BloggerInfo"))}:{}})]}}),g3=z({name:"NotFoundHint",setup(){const e=fe(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>u("div",{class:"not-found-hint"},[u("p",{class:"error-code"},"404"),u("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),u("p",{class:"error-hint"},t())])}}),y3=z({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=en(),r=tn(),s=fe();return()=>[u(Gc),u($c,{noSidebar:!0},()=>{var o;return u("main",{id:"main-content",class:"vp-page not-found"},((o=t.default)==null?void 0:o.call(t))||[u(g3),u("div",{class:"actions"},[u("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},s.value.routeLocales.back),u("button",{type:"button",class:"action-button",onClick:()=>{n.push(s.value.home??r.value)}},s.value.routeLocales.home)])])})]}});const Jc=()=>u(we,{name:"lock"},()=>u("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));Jc.displayName="LockIcon";var b3={};const an="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),As=Array.from({length:64},(e,t)=>t),Lr=e=>Array(e).fill(-1),Tt=[...Lr(46),0,1,...As.slice(54,64),...Lr(7),...As.slice(2,28),...Lr(6),...As.slice(28,54),...Lr(5)],ua=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],fa=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],Qc=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Zs=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,s;const o=[];for(;n>2&63]),r=(r&3)<<4,n>=t){o.push(an[r&63]);break}if(s=e[n++]&255,r|=s>>4&15,o.push(an[r&63]),r=(s&15)<<2,n>=t){o.push(an[r&63]);break}s=e[n++]&255,r|=s>>6&3,o.push(an[r&63]),o.push(an[s&63])}return o.join("")},w3=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let r=0,s=0,o,l,a,i,c,f;const d=[];for(;r>>0,c|=(l&48)>>4,d.push(String.fromCharCode(c)),++s>=t||r>=n)||(f=e.charCodeAt(r++),a=f>>0,c|=(a&60)>>2,d.push(String.fromCharCode(c)),++s>=t||r>=n)));)f=e.charCodeAt(r++),i=f>>0,c|=i,d.push(String.fromCharCode(c)),++s;return d.map(p=>p.charCodeAt(0))},_3=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},E3=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},C3=(e,t)=>{E3(e,function(n){_3(n,t)})},S3=typeof process=="object"&&b3.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,k3=e=>{const t=[];let n=0;return C3(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},er=(e,t,n,r)=>{let s,o=e[t],l=e[t+1];return o^=n[0],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[1],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[2],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[3],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[4],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[5],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[6],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[7],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[8],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[9],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[10],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[11],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[12],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[13],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[14],s=r[o>>>24],s+=r[256|o>>16&255],s^=r[512|o>>8&255],s+=r[768|o&255],l^=s^n[15],s=r[l>>>24],s+=r[256|l>>16&255],s^=r[512|l>>8&255],s+=r[768|l&255],o^=s^n[16],e[t]=l^n[17],e[t+1]=o,e},un=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},da=(e,t,n)=>{const r=t.length,s=n.length;let o=0,l=[0,0],a;for(let i=0;i{const s=n.length,o=r.length;let l=0,a=[0,0],i;for(let c=0;c{const o=Qc.slice(),l=o.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(p);throw p}n=1<>>0;let a,i,c=0,f;Int32Array?(a=new Int32Array(ua),i=new Int32Array(fa)):(a=ua.slice(),i=fa.slice()),x3(t,e,a,i);const d=()=>{if(s&&s(c/n),c100)););}else{for(c=0;c<64;c++)for(f=0;f>1;f++)er(o,f<<1,a,i);const p=[];for(c=0;c>24&255)>>>0),p.push((o[c]>>16&255)>>>0),p.push((o[c]>>8&255)>>>0),p.push((o[c]&255)>>>0);return r===!1?Promise.resolve(p):p}if(r===!1)return new Promise(p=>S3(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},T3=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},A3=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Zs(T3(16),16)),t.join("")};function L3(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const v=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(v);throw v}let s,o;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const v=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(v);throw v}if(t.charAt(2)==="$")s="\0",o=3;else{if(s=t.charAt(2),s!=="a"&&s!=="b"&&s!=="y"||t.charAt(3)!=="$"){const v=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(v);throw v}o=4}if(t.charAt(o+2)>"$"){const v=new Error("Missing salt rounds");if(n===!1)return Promise.reject(v);throw v}const l=parseInt(t.substring(o,o+1),10)*10,a=parseInt(t.substring(o+1,o+2),10),i=l+a,c=t.substring(o+3,o+25);e+=s>="a"?"\0":"";const f=k3(e),d=w3(c,16),p=v=>{const g=[];return g.push("$2"),s>="a"&&g.push(s),g.push("$"),i<10&&g.push("0"),g.push(i.toString()),g.push("$"),g.push(Zs(d,d.length)),g.push(Zs(v,Qc.length*4-1)),g.join("")};return n===!1?pa(f,d,i,!1,r).then(v=>p(v)):p(pa(f,d,i,!0,r))}const P3=(e,t=10)=>{if(typeof t=="number"&&(t=A3(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return L3(e,t,!0)},eo=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:P3(e,t.substring(0,t.length-31))===t};var Xc=z({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=be(),r=fe(),s=Q(""),o=Q(!1),l=Q(!1),a=k(()=>r.value.encryptLocales);let i=null;const c=()=>{i&&clearTimeout(i),o.value=!1,t("verify",s.value,l.value),Ht().then(()=>{o.value=!0,i=setTimeout(()=>{o.value=!1},1e3)})};return()=>u("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},u("div",{class:"vp-decrypt-modal"},[u("div",{class:["vp-decrypt-hint",{tried:o.value}]},o.value?a.value.errorHint:u(Jc,{"aria-label":a.value.iconLabel})),u("div",{class:"vp-decrypt-input"},[u("input",{type:"password",value:s.value,placeholder:a.value.placeholder,onInput:({target:f})=>{s.value=f.value},onKeydown:({key:f})=>{f==="Enter"&&c()}})]),u("div",{class:"vp-remember-password"},[u("input",{type:"checkbox",value:l.value,onChange:()=>l.value=!l.value}),a.value.remember]),u("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const Zc=()=>{const e=rn();return k(()=>e.value.encrypt||{})},ha="VUEPRESS_HOPE_GLOBAL_TOKEN",R3=()=>{const e=Zc(),t=ss(ha,""),n=Gi(ha,""),r=k(()=>{const{global:o=!1,admin:l=[]}=e.value;return o&&l.length>0}),s=k(()=>{if(r.value){if(t.value)return e.value.admin.some(o=>eo(t.value,o));if(n.value)return e.value.admin.some(o=>eo(n.value,o))}return!1});return{isEncrypted:r,isDecrypted:s,validate:(o,l=!1)=>{(l?t:n).value=o}}},Ls=(e="",t)=>!!e&&eo(e,t),va="VUEPRESS_HOPE_PATH_TOKEN",I3=()=>{const e=ye(),t=Zc(),n=ss(va,{}),r=Gi(va,{}),s=l=>ur(t.value.config)?xn(t.value.config).filter(a=>Cn(decodeURI(l),a)).sort((a,i)=>i.length-a.length):[],o=l=>{const a=s(l);if(a.length>0){const{config:i={}}=t.value;return{isEncrypted:!0,isDecrypted:a.some(c=>n.value[c]&&i[c].some(f=>Ls(n.value[c],f))||r.value[c]&&i[c].some(f=>Ls(r.value[c],f)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:k(()=>o(e.value.path)),getStatus:o,validate:(l,a=!1)=>{const{config:i={}}=t.value,c=s(e.value.path);for(const f of c)if(i[f].filter(d=>Ls(l,d))){(a?n:r).value[f]=l;break}}}};var O3=z({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:s}=R3(),o=Q(!1);return ge(()=>{o.value=!0}),()=>u(jo,()=>r.value?o.value?n.value?t.default():u(Xc,{full:!0,onVerify:s}):null:t.default())}}),M3=z({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=I3(),s=Q(!1);return ge(()=>{s.value=!0}),()=>{const{isEncrypted:o,isDecrypted:l}=n.value;return o?s.value?l?t.default():u(Xc,{full:!0,onVerify:r}):null:t.default()}}});Q0(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[u(Fe,{icon:r}),t]:null,order:e.O,index:e.I}:null});const $3=qe({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Qs.wait(),n(...r)),yp(e),e.component("HopeIcon",Fe),e.component("GlobalEncrypt",O3),e.component("LocalEncrypt",M3)},setup:()=>{bp(),Sp()},layouts:{Layout:m3,NotFound:y3}}),N3=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,F3=(e,t)=>t.some(n=>{if(ve(n))return n===e.key;const{key:r,ctrl:s=!1,shift:o=!1,alt:l=!1}=n;return r===e.key&&s===e.ctrlKey&&o===e.shiftKey&&l===e.altKey}),D3=/[^\x00-\x7F]/,B3=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),ma=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),ga=(e,t)=>{const n=t.join(" "),r=B3(e);if(D3.test(e))return r.some(l=>n.toLowerCase().indexOf(l)>-1);const s=e.endsWith(" ");return new RegExp(r.map((l,a)=>r.length===a+1&&!s?`(?=.*\\b${ma(l)})`:`(?=.*\\b${ma(l)}\\b)`).join("")+".+","gi").test(n)},H3=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&F3(r,t.value)&&!N3(r.target)&&(r.preventDefault(),e.value.focus())};ge(()=>{document.addEventListener("keydown",n)}),wo(()=>{document.removeEventListener("keydown",n)})},j3=[{title:"Home",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"Docs",headers:[],path:"/docs/",pathLocale:"/",extraFields:[]},{title:"Get started",headers:[{level:2,title:"How to Use This Guide",slug:"how-to-use-this-guide",link:"#how-to-use-this-guide",children:[{level:3,title:"Guides",slug:"guides",link:"#guides",children:[]},{level:3,title:"Docs",slug:"docs",link:"#docs",children:[]},{level:3,title:"Examples",slug:"examples",link:"#examples",children:[]}]}],path:"/get-started/",pathLocale:"/",extraFields:[]},{title:"Installation guide",headers:[{level:3,title:"Download Node.js",slug:"download-node-js",link:"#download-node-js",children:[]},{level:3,title:"Run the Installer",slug:"run-the-installer",link:"#run-the-installer",children:[]},{level:3,title:"Verify Installation",slug:"verify-installation",link:"#verify-installation",children:[]},{level:3,title:"Update npm (Optional)",slug:"update-npm-optional",link:"#update-npm-optional",children:[]}],path:"/get-started/installation.html",pathLocale:"/",extraFields:[]},{title:"Quick start",headers:[{level:2,title:"Prerequisites",slug:"prerequisites",link:"#prerequisites",children:[{level:3,title:"Create a New File",slug:"create-a-new-file",link:"#create-a-new-file",children:[]},{level:3,title:"Write Some Code",slug:"write-some-code",link:"#write-some-code",children:[]},{level:3,title:"Run the Program",slug:"run-the-program",link:"#run-the-program",children:[]},{level:3,title:"Access the Web Server",slug:"access-the-web-server",link:"#access-the-web-server",children:[]}]}],path:"/get-started/quick-start.html",pathLocale:"/",extraFields:[]},{title:"What is Node.js?",headers:[{level:2,title:"Understanding Node.js",slug:"understanding-node-js",link:"#understanding-node-js",children:[{level:3,title:"How Does Node.js Work?",slug:"how-does-node-js-work",link:"#how-does-node-js-work",children:[]},{level:3,title:"Why Node.js?",slug:"why-node-js",link:"#why-node-js",children:[]},{level:3,title:"Use Cases of Node.js",slug:"use-cases-of-node-js",link:"#use-cases-of-node-js",children:[]},{level:3,title:"Anatomy of a Node.js File",slug:"anatomy-of-a-node-js-file",link:"#anatomy-of-a-node-js-file",children:[]}]}],path:"/get-started/what-is-nodejs.html",pathLocale:"/",extraFields:[]},{title:"Email",headers:[],path:"/docs/Basics/Email.html",pathLocale:"/",extraFields:[]},{title:"Events",headers:[],path:"/docs/Basics/Events.html",pathLocale:"/",extraFields:[]},{title:"File System",headers:[],path:"/docs/Basics/File%20System.html",pathLocale:"/",extraFields:[]},{title:"HTTP Modules",headers:[],path:"/docs/Basics/HTTP%20Modules.html",pathLocale:"/",extraFields:[]},{title:"Modules",headers:[],path:"/docs/Basics/Modules.html",pathLocale:"/",extraFields:[]},{title:"NPM",headers:[],path:"/docs/Basics/NPM.html",pathLocale:"/",extraFields:[]},{title:"Basics",headers:[],path:"/docs/Basics/",pathLocale:"/",extraFields:[]},{title:"URL Module",headers:[],path:"/docs/Basics/URL%20Module.html",pathLocale:"/",extraFields:[]},{title:"Upload Files",headers:[],path:"/docs/Basics/Upload%20Files.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],V3=Q(j3),z3=()=>V3,U3=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const s=k(()=>e.value.filter(o=>o.pathLocale===t.value));return k(()=>{const o=n.value.trim().toLowerCase();if(!o)return[];const l=[],a=(i,c)=>{ga(o,[c.title])&&l.push({link:`${i.path}#${c.slug}`,title:i.title,header:c.title});for(const f of c.children){if(l.length>=r.value)return;a(i,f)}};for(const i of s.value){if(l.length>=r.value)break;if(ga(o,[i.title,...i.extraFields])){l.push({link:i.path,title:i.title});continue}for(const c of i.headers){if(l.length>=r.value)break;a(i,c)}}return l})},W3=e=>{const t=Q(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},G3=z({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=zu(e),s=en(),o=tn(),l=z3(),a=Q(null),i=Q(!1),c=Q(""),f=k(()=>t.value[o.value]??{}),d=U3({searchIndex:l,routeLocale:o,query:c,maxSuggestions:r}),{focusIndex:p,focusNext:v,focusPrev:g}=W3(d);H3({input:a,hotKeys:n});const E=k(()=>i.value&&!!d.value.length),w=()=>{E.value&&g()},b=()=>{E.value&&v()},C=y=>{if(!E.value)return;const x=d.value[y];x&&s.push(x.link).then(()=>{c.value="",p.value=0})};return()=>u("form",{class:"search-box",role:"search"},[u("input",{ref:a,type:"search",placeholder:f.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>i.value=!0,onBlur:()=>i.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{w();break}case"ArrowDown":{b();break}case"Enter":{y.preventDefault(),C(p.value);break}}}}),E.value&&u("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},d.value.map(({link:y,title:x,header:M},S)=>u("li",{class:["suggestion",{focus:p.value===S}],onMouseenter:()=>p.value=S,onMousedown:()=>C(S)},u("a",{href:y,onClick:$=>$.preventDefault()},[u("span",{class:"page-title"},x),M&&u("span",{class:"page-header"},`> ${M}`)]))))])}});var q3=["s","/"],K3={};const Y3=K3,J3=q3,Q3=5,X3=qe({enhance({app:e}){e.component("SearchBox",t=>u(G3,{locales:Y3,hotKeys:J3,maxSuggestions:Q3,...t}))}}),Z3=()=>{Ie("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},eh=qe({enhance:({app:e})=>{},setup:()=>{Z3()}}),th={},Pr=[a0,U0,J0,n2,o2,c2,p2,y2,x2,F2,Q2,$3,X3,eh,th],nh=JSON.parse('{"base":"/","lang":"en-US","title":"Node.js Docs","description":"A docs demo for vuepress-theme-hope","head":[["link",{"rel":"icon","href":"/assets/icon/node.png"}]],"locales":{}}');var On=Ge(nh),rh=xd,sh=()=>{const e=Qd({history:rh(ko("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===yt){const r=Bt(t.path);if(r.path!==t.path)return r.path;const s=await r.loader();t.meta={...r.meta,_pageChunk:s}}else t.path===n.path&&(t.meta=n.meta)}),e},oh=e=>{e.component("ClientOnly",ts),e.component("Content",Ni),e.component("RouteLink",He)},lh=(e,t,n)=>{const r=k(()=>t.currentRoute.value.path),s=mo((w,b)=>({get(){return w(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,b()}})),o=k(()=>zt.resolveLayouts(n)),l=k(()=>zt.resolveRouteLocale(On.value.locales,r.value)),a=k(()=>zt.resolveSiteLocaleData(On.value,l.value)),i=k(()=>s.value.comp),c=k(()=>s.value.data),f=k(()=>c.value.frontmatter),d=k(()=>zt.resolvePageHeadTitle(c.value,a.value)),p=k(()=>zt.resolvePageHead(d.value,f.value,a.value)),v=k(()=>zt.resolvePageLang(c.value,a.value)),g=k(()=>zt.resolvePageLayout(c.value,o.value)),E={layouts:o,pageData:c,pageComponent:i,pageFrontmatter:f,pageHead:p,pageHeadTitle:d,pageLang:v,pageLayout:g,redirects:zs,routeLocale:l,routePath:r,routes:Qn,siteData:On,siteLocaleData:a};return e.provide(Ao,E),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>f.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>v.value},$page:{get:()=>c.value},$routeLocale:{get:()=>l.value},$site:{get:()=>On.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>Ne}}),E},ah=()=>{const e=e0(),t=Lo();let n=[];const r=()=>{e.value.forEach(l=>{const a=ih(l);a&&n.push(a)})},s=()=>{const l=[];return e.value.forEach(a=>{const i=ch(a);i&&l.push(i)}),l},o=()=>{document.documentElement.lang=t.value;const l=s();n.forEach((a,i)=>{const c=l.findIndex(f=>a.isEqualNode(f));c===-1?(a.remove(),delete n[i]):l.splice(c,1)}),l.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...l]};gn(r0,o),ge(()=>{r(),ie(e,o,{immediate:!1})})},ih=([e,t,n=""])=>{const r=Object.entries(t).map(([a,i])=>ve(i)?`[${a}=${JSON.stringify(i)}]`:i===!0?`[${a}]`:"").join(""),s=`head > ${e}${r}`;return Array.from(document.querySelectorAll(s)).find(a=>a.innerText===n)||null},ch=([e,t,n])=>{if(!ve(e))return null;const r=document.createElement(e);return ur(t)&&Object.entries(t).forEach(([s,o])=>{ve(o)?r.setAttribute(s,o):o===!0&&r.setAttribute(s,"")}),ve(n)&&r.appendChild(document.createTextNode(n)),r},uh=$1,fh=async()=>{var n;const e=uh({name:"Vuepress",setup(){var o;ah();for(const l of Pr)(o=l.setup)==null||o.call(l);const r=Pr.flatMap(({rootComponents:l=[]})=>l.map(a=>u(a))),s=t0();return()=>[u(s.value),r]}}),t=sh();oh(e),lh(e,t,Pr);for(const r of Pr)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:On}));return e.use(t),{app:e,router:t}};fh().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Se as a,fi as b,ph as c,fh as createVueApp,di as d,hh as e,dh as o,ft as r,Xu as w}; diff --git a/assets/app-DzW0htRv.js b/assets/app-DzW0htRv.js deleted file mode 100644 index f70b1b0..0000000 --- a/assets/app-DzW0htRv.js +++ /dev/null @@ -1,30 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index.html-CIDLPtno.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/index.html-CgwPMnPY.js","assets/index.html-B4D8VHZe.js","assets/installation.html-BcNhzQKt.js","assets/quick-start.html-CYSwFgxl.js","assets/what-is-nodejs.html-BEgMaJRv.js","assets/404.html-D-DH5Fga.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function ns(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const he={},pn=[],Ye=()=>{},eu=()=>!1,tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rs=e=>e.startsWith("onUpdate:"),Ce=Object.assign,os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},tu=Object.prototype.hasOwnProperty,le=(e,t)=>tu.call(e,t),Q=Array.isArray,Mn=e=>zr(e)==="[object Map]",nu=e=>zr(e)==="[object Set]",te=e=>typeof e=="function",Le=e=>typeof e=="string",Vr=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",ya=e=>(ge(e)||te(e))&&te(e.then)&&te(e.catch),ru=Object.prototype.toString,zr=e=>ru.call(e),ou=e=>zr(e).slice(8,-1),su=e=>zr(e)==="[object Object]",ss=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=ns(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ur=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},lu=/-(\w)/g,Qe=Ur(e=>e.replace(lu,(t,n)=>n?n.toUpperCase():"")),au=/\B([A-Z])/g,kn=Ur(e=>e.replace(au,"-$1").toLowerCase()),nr=Ur(e=>e.charAt(0).toUpperCase()+e.slice(1)),lo=Ur(e=>e?`on${nr(e)}`:""),Nt=(e,t)=>!Object.is(e,t),ao=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},iu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},cu=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let Ws;const ba=()=>Ws||(Ws=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ls(e){if(Q(e)){const t={};for(let n=0;n{if(n){const r=n.split(fu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function as(e){let t="";if(Le(e))t=e;else if(Q(e))for(let n=0;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Qt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Mt,n=qt;try{return Mt=!0,qt=this,this._runnings++,Gs(this),this.fn()}finally{qs(this),this._runnings--,qt=n,Mt=t}}stop(){var t;this.active&&(Gs(this),qs(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function bu(e){return e.value}function Gs(e){e._trackId++,e._depsLength=0}function qs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Mr=new WeakMap,Kt=Symbol(""),Oo=Symbol("");function je(e,t,n){if(Mt&&qt){let r=Mr.get(e);r||Mr.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=xa(()=>r.delete(n))),ka(qt,o)}}function bt(e,t,n,r,o,s){const l=Mr.get(e);if(!l)return;let a=[];if(t==="clear")a=[...l.values()];else if(n==="length"&&Q(e)){const i=Number(r);l.forEach((c,f)=>{(f==="length"||!Vr(f)&&f>=i)&&a.push(c)})}else switch(n!==void 0&&a.push(l.get(n)),t){case"add":Q(e)?ss(n)&&a.push(l.get("length")):(a.push(l.get(Kt)),Mn(e)&&a.push(l.get(Oo)));break;case"delete":Q(e)||(a.push(l.get(Kt)),Mn(e)&&a.push(l.get(Oo)));break;case"set":Mn(e)&&a.push(l.get(Kt));break}cs();for(const i of a)i&&Sa(i,4);us()}function wu(e,t){var n;return(n=Mr.get(e))==null?void 0:n.get(t)}const _u=ns("__proto__,__v_isRef,__isVue"),Ta=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Vr)),Ks=Eu();function Eu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=oe(this);for(let s=0,l=this.length;s{e[t]=function(...n){Xt(),cs();const r=oe(this)[t].apply(this,n);return us(),Qt(),r}}),e}function Cu(e){const t=oe(this);return je(t,"has",e),t.hasOwnProperty(e)}class Aa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Nu:Ia:s?Ra:Pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=Q(t);if(!o){if(l&&le(Ks,n))return Reflect.get(Ks,n,r);if(n==="hasOwnProperty")return Cu}const a=Reflect.get(t,n,r);return(Vr(n)?Ta.has(n):_u(n))||(o||je(t,"get",n),s)?a:Pe(a)?l&&ss(n)?a:a.value:ge(a)?o?or(a):rr(a):a}}class La extends Aa{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const i=yn(s);if(!$r(r)&&!yn(r)&&(s=oe(s),r=oe(r)),!Q(t)&&Pe(s)&&!Pe(r))return i?!1:(s.value=r,!0)}const l=Q(t)&&ss(n)?Number(n)e,Wr=e=>Reflect.getPrototypeOf(e);function gr(e,t,n=!1,r=!1){e=e.__v_raw;const o=oe(e),s=oe(t);n||(Nt(t,s)&&je(o,"get",t),je(o,"get",s));const{has:l}=Wr(o),a=r?fs:n?hs:zn;if(l.call(o,t))return a(e.get(t));if(l.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function mr(e,t=!1){const n=this.__v_raw,r=oe(n),o=oe(e);return t||(Nt(e,o)&&je(r,"has",e),je(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function yr(e,t=!1){return e=e.__v_raw,!t&&je(oe(e),"iterate",Kt),Reflect.get(e,"size",e)}function Ys(e){e=oe(e);const t=oe(this);return Wr(t).has.call(t,e)||(t.add(e),bt(t,"add",e,e)),this}function Js(e,t){t=oe(t);const n=oe(this),{has:r,get:o}=Wr(n);let s=r.call(n,e);s||(e=oe(e),s=r.call(n,e));const l=o.call(n,e);return n.set(e,t),s?Nt(t,l)&&bt(n,"set",e,t):bt(n,"add",e,t),this}function Xs(e){const t=oe(this),{has:n,get:r}=Wr(t);let o=n.call(t,e);o||(e=oe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&bt(t,"delete",e,void 0),s}function Qs(){const e=oe(this),t=e.size!==0,n=e.clear();return t&&bt(e,"clear",void 0,void 0),n}function br(e,t){return function(r,o){const s=this,l=s.__v_raw,a=oe(l),i=t?fs:e?hs:zn;return!e&&je(a,"iterate",Kt),l.forEach((c,f)=>r.call(o,i(c),i(f),s))}}function wr(e,t,n){return function(...r){const o=this.__v_raw,s=oe(o),l=Mn(s),a=e==="entries"||e===Symbol.iterator&&l,i=e==="keys"&&l,c=o[e](...r),f=n?fs:t?hs:zn;return!t&&je(s,"iterate",i?Oo:Kt),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:a?[f(d[0]),f(d[1])]:f(d),done:p}},[Symbol.iterator](){return this}}}}function kt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Au(){const e={get(s){return gr(this,s)},get size(){return yr(this)},has:mr,add:Ys,set:Js,delete:Xs,clear:Qs,forEach:br(!1,!1)},t={get(s){return gr(this,s,!1,!0)},get size(){return yr(this)},has:mr,add:Ys,set:Js,delete:Xs,clear:Qs,forEach:br(!1,!0)},n={get(s){return gr(this,s,!0)},get size(){return yr(this,!0)},has(s){return mr.call(this,s,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:br(!0,!1)},r={get(s){return gr(this,s,!0,!0)},get size(){return yr(this,!0)},has(s){return mr.call(this,s,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:br(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=wr(s,!1,!1),n[s]=wr(s,!0,!1),t[s]=wr(s,!1,!0),r[s]=wr(s,!0,!0)}),[e,n,t,r]}const[Lu,Pu,Ru,Iu]=Au();function ds(e,t){const n=t?e?Iu:Ru:e?Pu:Lu;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(le(n,o)&&o in r?n:r,o,s)}const Ou={get:ds(!1,!1)},Mu={get:ds(!1,!0)},$u={get:ds(!0,!1)},Pa=new WeakMap,Ra=new WeakMap,Ia=new WeakMap,Nu=new WeakMap;function Du(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fu(e){return e.__v_skip||!Object.isExtensible(e)?0:Du(ou(e))}function rr(e){return yn(e)?e:ps(e,!1,Su,Ou,Pa)}function Oa(e){return ps(e,!1,Tu,Mu,Ra)}function or(e){return ps(e,!0,xu,$u,Ia)}function ps(e,t,n,r,o){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const l=Fu(e);if(l===0)return e;const a=new Proxy(e,l===2?r:n);return o.set(e,a),a}function vn(e){return yn(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function yn(e){return!!(e&&e.__v_isReadonly)}function $r(e){return!!(e&&e.__v_isShallow)}function Ma(e){return vn(e)||yn(e)}function oe(e){const t=e&&e.__v_raw;return t?oe(t):e}function $a(e){return Object.isExtensible(e)&&Or(e,"__v_skip",!0),e}const zn=e=>ge(e)?rr(e):e,hs=e=>ge(e)?or(e):e;class Na{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new is(()=>t(this._value),()=>$n(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=oe(this);return(!t._cacheable||t.effect.dirty)&&Nt(t._value,t._value=t.effect.run())&&$n(t,4),vs(t),t.effect._dirtyLevel>=2&&$n(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Hu(e,t,n=!1){let r,o;const s=te(e);return s?(r=e,o=Ye):(r=e.get,o=e.set),new Na(r,o,s||!o,n)}function vs(e){var t;Mt&&qt&&(e=oe(e),ka(qt,(t=e.dep)!=null?t:e.dep=xa(()=>e.dep=void 0,e instanceof Na?e:void 0)))}function $n(e,t=4,n){e=oe(e);const r=e.dep;r&&Sa(r,t)}function Pe(e){return!!(e&&e.__v_isRef===!0)}function X(e){return Da(e,!1)}function We(e){return Da(e,!0)}function Da(e,t){return Pe(e)?e:new Bu(e,t)}class Bu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:oe(t),this._value=n?t:zn(t)}get value(){return vs(this),this._value}set value(t){const n=this.__v_isShallow||$r(t)||yn(t);t=n?t:oe(t),Nt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:zn(t),$n(this,4))}}function Yt(e){return Pe(e)?e.value:e}const ju={get:(e,t,n)=>Yt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Fa(e){return vn(e)?e:new Proxy(e,ju)}class Vu{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>vs(this),()=>$n(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function gs(e){return new Vu(e)}function zu(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Ha(e,n);return t}class Uu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return wu(oe(this._object),this._key)}}class Wu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Gr(e,t,n){return Pe(e)?e:te(e)?new Wu(e):ge(e)&&arguments.length>1?Ha(e,t,n):X(e)}function Ha(e,t,n){const r=e[t];return Pe(r)?r:new Uu(e,t,n)}/** -* @vue/runtime-core v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function $t(e,t,n,r){try{return r?e(...r):e()}catch(o){sr(o,t,n)}}function Xe(e,t,n,r){if(te(e)){const s=$t(e,t,n,r);return s&&ya(s)&&s.catch(l=>{sr(l,t,n)}),s}const o=[];for(let s=0;s>>1,o=Oe[r],s=Wn(o);sat&&Oe.splice(t,1)}function Yu(e){Q(e)?gn.push(...e):(!Lt||!Lt.includes(e,e.allowRecurse?Ut+1:Ut))&&gn.push(e),ja()}function Zs(e,t,n=Un?at+1:0){for(;nWn(n)-Wn(r));if(gn.length=0,Lt){Lt.push(...t);return}for(Lt=t,Ut=0;Ute.id==null?1/0:e.id,Ju=(e,t)=>{const n=Wn(e)-Wn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Va(e){Mo=!1,Un=!0,Oe.sort(Ju);try{for(at=0;atLe(v)?v.trim():v)),d&&(o=n.map(iu))}let a,i=r[a=lo(t)]||r[a=lo(Qe(t))];!i&&s&&(i=r[a=lo(kn(t))]),i&&Xe(i,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(c,e,6,o)}}function za(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let l={},a=!1;if(!te(e)){const i=c=>{const f=za(c,t,!0);f&&(a=!0,Ce(l,f))};!n&&t.mixins.length&&t.mixins.forEach(i),e.extends&&i(e.extends),e.mixins&&e.mixins.forEach(i)}return!s&&!a?(ge(e)&&r.set(e,null),null):(Q(s)?s.forEach(i=>l[i]=null):Ce(l,s),ge(e)&&r.set(e,l),l)}function Kr(e,t){return!e||!tr(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,kn(t))||le(e,t))}let Je=null,Ua=null;function Dr(e){const t=Je;return Je=e,Ua=e&&e.type.__scopeId||null,t}function Qu(e,t=Je,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&fl(-1);const s=Dr(t);let l;try{l=e(...o)}finally{Dr(s),r._d&&fl(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function io(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[l],slots:a,attrs:i,emit:c,render:f,renderCache:d,data:p,setupState:v,ctx:m,inheritAttrs:E}=e;let w,b;const C=Dr(e);try{if(n.shapeFlag&4){const x=o||r,M=x;w=tt(f.call(M,x,d,s,v,p,m)),b=i}else{const x=t;w=tt(x.length>1?x(s,{attrs:i,slots:a,emit:c}):x(s,null)),b=t.props?i:Zu(i)}}catch(x){Bn.length=0,sr(x,e,1),w=ke(ft)}let y=w;if(b&&E!==!1){const x=Object.keys(b),{shapeFlag:M}=y;x.length&&M&7&&(l&&x.some(rs)&&(b=ef(b,l)),y=Dt(y,b))}return n.dirs&&(y=Dt(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),w=y,Dr(C),w}const Zu=e=>{let t;for(const n in e)(n==="class"||n==="style"||tr(n))&&((t||(t={}))[n]=e[n]);return t},ef=(e,t)=>{const n={};for(const r in e)(!rs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function tf(e,t,n){const{props:r,children:o,component:s}=e,{props:l,children:a,patchFlag:i}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&i>=0){if(i&1024)return!0;if(i&16)return r?el(r,l,c):!!l;if(i&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function Ga(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Yu(e)}const lf=Symbol.for("v-scx"),af=()=>Te(lf);function qa(e,t){return ys(e,null,t)}const _r={};function ie(e,t,n){return ys(e,t,n)}function ys(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:l,onTrigger:a}=he){if(t&&s){const k=t;t=(...$)=>{k(...$),M()}}const i=xe,c=k=>r===!0?k:fn(k,r===!1?1:void 0);let f,d=!1,p=!1;if(Pe(e)?(f=()=>e.value,d=$r(e)):vn(e)?(f=()=>c(e),d=!0):Q(e)?(p=!0,d=e.some(k=>vn(k)||$r(k)),f=()=>e.map(k=>{if(Pe(k))return k.value;if(vn(k))return c(k);if(te(k))return $t(k,i,2)})):te(e)?t?f=()=>$t(e,i,2):f=()=>(v&&v(),Xe(e,i,3,[m])):f=Ye,t&&r){const k=f;f=()=>fn(k())}let v,m=k=>{v=y.onStop=()=>{$t(k,i,4),v=y.onStop=void 0}},E;if(cr)if(m=Ye,t?n&&Xe(t,i,3,[f(),p?[]:void 0,m]):f(),o==="sync"){const k=af();E=k.__watcherHandles||(k.__watcherHandles=[])}else return Ye;let w=p?new Array(e.length).fill(_r):_r;const b=()=>{if(!(!y.active||!y.dirty))if(t){const k=y.run();(r||d||(p?k.some(($,I)=>Nt($,w[I])):Nt(k,w)))&&(v&&v(),Xe(t,i,3,[k,w===_r?void 0:p&&w[0]===_r?[]:w,m]),w=k)}else y.run()};b.allowRecurse=!!t;let C;o==="sync"?C=b:o==="post"?C=()=>Fe(b,i&&i.suspense):(b.pre=!0,i&&(b.id=i.uid),C=()=>qr(b));const y=new is(f,Ye,C),x=_a(),M=()=>{y.stop(),x&&os(x.effects,y)};return t?n?b():w=y.run():o==="post"?Fe(y.run.bind(y),i&&i.suspense):y.run(),E&&E.push(M),M}function cf(e,t,n){const r=this.proxy,o=Le(e)?e.includes(".")?Ka(r,e):()=>r[e]:e.bind(r,r);let s;te(t)?s=t:(s=t.handler,n=t);const l=ir(this),a=ys(o,s.bind(r),n);return l(),a}function Ka(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Pe(e))fn(e.value,t,n,r);else if(Q(e))for(let o=0;o{fn(o,t,n,r)});else if(su(e))for(const o in e)fn(e[o],t,n,r);return e}function lt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let l=0;l{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const qe=[Function,Array],Ja={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:qe,onEnter:qe,onAfterEnter:qe,onEnterCancelled:qe,onBeforeLeave:qe,onLeave:qe,onAfterLeave:qe,onLeaveCancelled:qe,onBeforeAppear:qe,onAppear:qe,onAfterAppear:qe,onAppearCancelled:qe},uf={name:"BaseTransition",props:Ja,setup(e,{slots:t}){const n=ar(),r=Ya();return()=>{const o=t.default&&bs(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const p of o)if(p.type!==ft){s=p;break}}const l=oe(e),{mode:a}=l;if(r.isLeaving)return co(s);const i=nl(s);if(!i)return co(s);const c=Gn(i,l,r,n);qn(i,c);const f=n.subTree,d=f&&nl(f);if(d&&d.type!==ft&&!Wt(i,d)){const p=Gn(d,l,r,n);if(qn(d,p),a==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},co(s);a==="in-out"&&i.type!==ft&&(p.delayLeave=(v,m,E)=>{const w=Xa(r,d);w[String(d.key)]=d,v[Pt]=()=>{m(),v[Pt]=void 0,delete c.delayedLeave},c.delayedLeave=E})}return s}}},ff=uf;function Xa(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Gn(e,t,n,r){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:a,onEnter:i,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:E,onAppear:w,onAfterAppear:b,onAppearCancelled:C}=t,y=String(e.key),x=Xa(n,e),M=(I,K)=>{I&&Xe(I,r,9,K)},k=(I,K)=>{const R=K[1];M(I,K),Q(I)?I.every(Y=>Y.length<=1)&&R():I.length<=1&&R()},$={mode:s,persisted:l,beforeEnter(I){let K=a;if(!n.isMounted)if(o)K=E||a;else return;I[Pt]&&I[Pt](!0);const R=x[y];R&&Wt(e,R)&&R.el[Pt]&&R.el[Pt](),M(K,[I])},enter(I){let K=i,R=c,Y=f;if(!n.isMounted)if(o)K=w||i,R=b||c,Y=C||f;else return;let D=!1;const Z=I[Er]=_e=>{D||(D=!0,_e?M(Y,[I]):M(R,[I]),$.delayedLeave&&$.delayedLeave(),I[Er]=void 0)};K?k(K,[I,Z]):Z()},leave(I,K){const R=String(e.key);if(I[Er]&&I[Er](!0),n.isUnmounting)return K();M(d,[I]);let Y=!1;const D=I[Pt]=Z=>{Y||(Y=!0,K(),Z?M(m,[I]):M(v,[I]),I[Pt]=void 0,x[R]===e&&delete x[R])};x[R]=e,p?k(p,[I,D]):D()},clone(I){return Gn(I,t,n,r)}};return $}function co(e){if(lr(e))return e=Dt(e),e.children=null,e}function nl(e){return lr(e)?e.children?e.children[0]:void 0:e}function qn(e,t){e.shapeFlag&6&&e.component?qn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function bs(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function df(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:l=!0,onError:a}=e;let i=null,c,f=0;const d=()=>(f++,i=null,p()),p=()=>{let v;return i||(v=i=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((E,w)=>{a(m,()=>E(d()),()=>w(m),f+1)});throw m}).then(m=>v!==i&&i?i:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return z({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const v=xe;if(c)return()=>uo(c,v);const m=C=>{i=null,sr(C,v,13,!r)};if(l&&v.suspense||cr)return p().then(C=>()=>uo(C,v)).catch(C=>(m(C),()=>r?ke(r,{error:C}):null));const E=X(!1),w=X(),b=X(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!E.value&&!w.value){const C=new Error(`Async component timed out after ${s}ms.`);m(C),w.value=C}},s),p().then(()=>{E.value=!0,v.parent&&lr(v.parent.vnode)&&(v.parent.effect.dirty=!0,qr(v.parent.update))}).catch(C=>{m(C),w.value=C}),()=>{if(E.value&&c)return uo(c,v);if(w.value&&r)return ke(r,{error:w.value});if(n&&!b.value)return ke(n)}}})}function uo(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,l=ke(e,r,o);return l.ref=n,l.ce=s,delete t.vnode.ce,l}const lr=e=>e.type.__isKeepAlive;function pf(e,t){Qa(e,"a",t)}function hf(e,t){Qa(e,"da",t)}function Qa(e,t,n=xe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Yr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)lr(o.parent.vnode)&&vf(r,t,n,o),o=o.parent}}function vf(e,t,n,r){const o=Yr(t,e,r,!0);Sn(()=>{os(r[t],o)},n)}function Yr(e,t,n=xe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...l)=>{if(n.isUnmounted)return;Xt();const a=ir(n),i=Xe(t,n,e,l);return a(),Qt(),i});return r?o.unshift(s):o.push(s),s}}const wt=e=>(t,n=xe)=>(!cr||e==="sp")&&Yr(e,(...r)=>t(...r),n),gf=wt("bm"),me=wt("m"),mf=wt("bu"),Za=wt("u"),ws=wt("bum"),Sn=wt("um"),yf=wt("sp"),bf=wt("rtg"),wf=wt("rtc");function _f(e,t=xe){Yr("ec",e,t)}const $o=e=>e?pi(e)?ks(e)||e.proxy:$o(e.parent):null,Dn=Ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>$o(e.parent),$root:e=>$o(e.root),$emit:e=>e.emit,$options:e=>_s(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qr(e.update)}),$nextTick:e=>e.n||(e.n=Bt.bind(e.proxy)),$watch:e=>cf.bind(e)}),fo=(e,t)=>e!==he&&!e.__isScriptSetup&&le(e,t),Ef={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:l,type:a,appContext:i}=e;let c;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(fo(r,t))return l[t]=1,r[t];if(o!==he&&le(o,t))return l[t]=2,o[t];if((c=e.propsOptions[0])&&le(c,t))return l[t]=3,s[t];if(n!==he&&le(n,t))return l[t]=4,n[t];No&&(l[t]=0)}}const f=Dn[t];let d,p;if(f)return t==="$attrs"&&je(e,"get",t),f(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==he&&le(n,t))return l[t]=4,n[t];if(p=i.config.globalProperties,le(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return fo(o,t)?(o[t]=n,!0):r!==he&&le(r,t)?(r[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},l){let a;return!!n[l]||e!==he&&le(e,l)||fo(t,l)||(a=s[0])&&le(a,l)||le(r,l)||le(Dn,l)||le(o.config.globalProperties,l)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function rl(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let No=!0;function Cf(e){const t=_s(e),n=e.proxy,r=e.ctx;No=!1,t.beforeCreate&&ol(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:l,watch:a,provide:i,inject:c,created:f,beforeMount:d,mounted:p,beforeUpdate:v,updated:m,activated:E,deactivated:w,beforeDestroy:b,beforeUnmount:C,destroyed:y,unmounted:x,render:M,renderTracked:k,renderTriggered:$,errorCaptured:I,serverPrefetch:K,expose:R,inheritAttrs:Y,components:D,directives:Z,filters:_e}=t;if(c&&kf(c,r,null),l)for(const ne in l){const W=l[ne];te(W)&&(r[ne]=W.bind(n))}if(o){const ne=o.call(n,n);ge(ne)&&(e.data=rr(ne))}if(No=!0,s)for(const ne in s){const W=s[ne],Ze=te(W)?W.bind(n,n):te(W.get)?W.get.bind(n,n):Ye,Ct=!te(W)&&te(W.set)?W.set.bind(n):Ye,ot=S({get:Ze,set:Ct});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>ot.value,set:De=>ot.value=De})}if(a)for(const ne in a)ei(a[ne],r,n,ne);if(i){const ne=te(i)?i.call(n):i;Reflect.ownKeys(ne).forEach(W=>{mn(W,ne[W])})}f&&ol(f,e,"c");function G(ne,W){Q(W)?W.forEach(Ze=>ne(Ze.bind(n))):W&&ne(W.bind(n))}if(G(gf,d),G(me,p),G(mf,v),G(Za,m),G(pf,E),G(hf,w),G(_f,I),G(wf,k),G(bf,$),G(ws,C),G(Sn,x),G(yf,K),Q(R))if(R.length){const ne=e.exposed||(e.exposed={});R.forEach(W=>{Object.defineProperty(ne,W,{get:()=>n[W],set:Ze=>n[W]=Ze})})}else e.exposed||(e.exposed={});M&&e.render===Ye&&(e.render=M),Y!=null&&(e.inheritAttrs=Y),D&&(e.components=D),Z&&(e.directives=Z)}function kf(e,t,n=Ye){Q(e)&&(e=Do(e));for(const r in e){const o=e[r];let s;ge(o)?"default"in o?s=Te(o.from||r,o.default,!0):s=Te(o.from||r):s=Te(o),Pe(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:l=>s.value=l}):t[r]=s}}function ol(e,t,n){Xe(Q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ei(e,t,n,r){const o=r.includes(".")?Ka(n,r):()=>n[r];if(Le(e)){const s=t[e];te(s)&&ie(o,s)}else if(te(e))ie(o,e.bind(n));else if(ge(e))if(Q(e))e.forEach(s=>ei(s,t,n,r));else{const s=te(e.handler)?e.handler.bind(n):t[e.handler];te(s)&&ie(o,s,e)}}function _s(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:l}}=e.appContext,a=s.get(t);let i;return a?i=a:!o.length&&!n&&!r?i=t:(i={},o.length&&o.forEach(c=>Fr(i,c,l,!0)),Fr(i,t,l)),ge(t)&&s.set(t,i),i}function Fr(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Fr(e,s,n,!0),o&&o.forEach(l=>Fr(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const a=Sf[l]||n&&n[l];e[l]=a?a(e[l],t[l]):t[l]}return e}const Sf={data:sl,props:ll,emits:ll,methods:In,computed:In,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:In,directives:In,watch:Tf,provide:sl,inject:xf};function sl(e,t){return t?e?function(){return Ce(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function xf(e,t){return In(Do(e),Do(t))}function Do(e){if(Q(e)){const t={};for(let n=0;n1)return n&&te(t)?t.call(r&&r.proxy):t}}function Pf(e,t,n,r=!1){const o={},s={};Or(s,Jr,1),e.propsDefaults=Object.create(null),ni(e,t,o,s);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);n?e.props=r?o:Oa(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Rf(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:l}}=e,a=oe(o),[i]=e.propsOptions;let c=!1;if((r||l>0)&&!(l&16)){if(l&8){const f=e.vnode.dynamicProps;for(let d=0;d{i=!0;const[p,v]=ri(d,t,!0);Ce(l,p),v&&a.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!s&&!i)return ge(e)&&r.set(e,pn),pn;if(Q(s))for(let f=0;f-1,v[1]=E<0||m-1||le(v,"default"))&&a.push(d)}}}const c=[l,a];return ge(e)&&r.set(e,c),c}function al(e){return e[0]!=="$"&&!hn(e)}function il(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cl(e,t){return il(e)===il(t)}function ul(e,t){return Q(t)?t.findIndex(n=>cl(n,e)):te(t)&&cl(t,e)?0:-1}const oi=e=>e[0]==="_"||e==="$stable",Es=e=>Q(e)?e.map(tt):[tt(e)],If=(e,t,n)=>{if(t._n)return t;const r=Qu((...o)=>Es(t(...o)),n);return r._c=!1,r},si=(e,t,n)=>{const r=e._ctx;for(const o in e){if(oi(o))continue;const s=e[o];if(te(s))t[o]=If(o,s,r);else if(s!=null){const l=Es(s);t[o]=()=>l}}},li=(e,t)=>{const n=Es(t);e.slots.default=()=>n},Of=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=oe(t),Or(t,"_",n)):si(t,e.slots={})}else e.slots={},t&&li(e,t);Or(e.slots,Jr,1)},Mf=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,l=he;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Ce(o,t),!n&&a===1&&delete o._):(s=!t.$stable,si(t,o)),l=t}else t&&(li(e,t),l={default:1});if(s)for(const a in o)!oi(a)&&l[a]==null&&delete o[a]};function Hr(e,t,n,r,o=!1){if(Q(e)){e.forEach((p,v)=>Hr(p,t&&(Q(t)?t[v]:t),n,r,o));return}if(Nn(r)&&!o)return;const s=r.shapeFlag&4?ks(r.component)||r.component.proxy:r.el,l=o?null:s,{i:a,r:i}=e,c=t&&t.r,f=a.refs===he?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==i&&(Le(c)?(f[c]=null,le(d,c)&&(d[c]=null)):Pe(c)&&(c.value=null)),te(i))$t(i,a,12,[l,f]);else{const p=Le(i),v=Pe(i);if(p||v){const m=()=>{if(e.f){const E=p?le(d,i)?d[i]:f[i]:i.value;o?Q(E)&&os(E,s):Q(E)?E.includes(s)||E.push(s):p?(f[i]=[s],le(d,i)&&(d[i]=f[i])):(i.value=[s],e.k&&(f[e.k]=i.value))}else p?(f[i]=l,le(d,i)&&(d[i]=l)):v&&(i.value=l,e.k&&(f[e.k]=l))};l?(m.id=-1,Fe(m,n)):m()}}}let St=!1;const $f=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Nf=e=>e.namespaceURI.includes("MathML"),Cr=e=>{if($f(e))return"svg";if(Nf(e))return"mathml"},kr=e=>e.nodeType===8;function Df(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:l,remove:a,insert:i,createComment:c}}=e,f=(y,x)=>{if(!x.hasChildNodes()){n(null,y,x),Nr(),x._vnode=y;return}St=!1,d(x.firstChild,y,null,null,null),Nr(),x._vnode=y,St&&console.error("Hydration completed but contains mismatches.")},d=(y,x,M,k,$,I=!1)=>{const K=kr(y)&&y.data==="[",R=()=>E(y,x,M,k,$,K),{type:Y,ref:D,shapeFlag:Z,patchFlag:_e}=x;let Ee=y.nodeType;x.el=y,_e===-2&&(I=!1,x.dynamicChildren=null);let G=null;switch(Y){case bn:Ee!==3?x.children===""?(i(x.el=o(""),l(y),y),G=y):G=R():(y.data!==x.children&&(St=!0,y.data=x.children),G=s(y));break;case ft:C(y)?(G=s(y),b(x.el=y.content.firstChild,y,M)):Ee!==8||K?G=R():G=s(y);break;case Hn:if(K&&(y=s(y),Ee=y.nodeType),Ee===1||Ee===3){G=y;const ne=!x.children.length;for(let W=0;W{I=I||!!x.dynamicChildren;const{type:K,props:R,patchFlag:Y,shapeFlag:D,dirs:Z,transition:_e}=x,Ee=K==="input"||K==="option";if(Ee||Y!==-1){Z&<(x,null,M,"created");let G=!1;if(C(y)){G=ai(k,_e)&&M&&M.vnode.props&&M.vnode.props.appear;const W=y.content.firstChild;G&&_e.beforeEnter(W),b(W,y,M),x.el=y=W}if(D&16&&!(R&&(R.innerHTML||R.textContent))){let W=v(y.firstChild,x,y,M,k,$,I);for(;W;){St=!0;const Ze=W;W=W.nextSibling,a(Ze)}}else D&8&&y.textContent!==x.children&&(St=!0,y.textContent=x.children);if(R)if(Ee||!I||Y&48)for(const W in R)(Ee&&(W.endsWith("value")||W==="indeterminate")||tr(W)&&!hn(W)||W[0]===".")&&r(y,W,null,R[W],void 0,void 0,M);else R.onClick&&r(y,"onClick",null,R.onClick,void 0,void 0,M);let ne;(ne=R&&R.onVnodeBeforeMount)&&Ke(ne,M,x),Z&<(x,null,M,"beforeMount"),((ne=R&&R.onVnodeMounted)||Z||G)&&Ga(()=>{ne&&Ke(ne,M,x),G&&_e.enter(y),Z&<(x,null,M,"mounted")},k)}return y.nextSibling},v=(y,x,M,k,$,I,K)=>{K=K||!!x.dynamicChildren;const R=x.children,Y=R.length;for(let D=0;D{const{slotScopeIds:K}=x;K&&($=$?$.concat(K):K);const R=l(y),Y=v(s(y),x,R,M,k,$,I);return Y&&kr(Y)&&Y.data==="]"?s(x.anchor=Y):(St=!0,i(x.anchor=c("]"),R,Y),Y)},E=(y,x,M,k,$,I)=>{if(St=!0,x.el=null,I){const Y=w(y);for(;;){const D=s(y);if(D&&D!==Y)a(D);else break}}const K=s(y),R=l(y);return a(y),n(null,x,R,K,M,k,Cr(R),$),K},w=(y,x="[",M="]")=>{let k=0;for(;y;)if(y=s(y),y&&kr(y)&&(y.data===x&&k++,y.data===M)){if(k===0)return s(y);k--}return y},b=(y,x,M)=>{const k=x.parentNode;k&&k.replaceChild(y,x);let $=M;for(;$;)$.vnode.el===x&&($.vnode.el=$.subTree.el=y),$=$.parent},C=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[f,d]}const Fe=Ga;function Ff(e){return Hf(e,Df)}function Hf(e,t){const n=ba();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:l,createText:a,createComment:i,setText:c,setElementText:f,parentNode:d,nextSibling:p,setScopeId:v=Ye,insertStaticContent:m}=e,E=(h,g,_,L=null,T=null,N=null,B=void 0,O=null,F=!!g.dynamicChildren)=>{if(h===g)return;h&&!Wt(h,g)&&(L=A(h),De(h,T,N,!0),h=null),g.patchFlag===-2&&(F=!1,g.dynamicChildren=null);const{type:P,ref:V,shapeFlag:J}=g;switch(P){case bn:w(h,g,_,L);break;case ft:b(h,g,_,L);break;case Hn:h==null&&C(g,_,L,B);break;case Ue:D(h,g,_,L,T,N,B,O,F);break;default:J&1?M(h,g,_,L,T,N,B,O,F):J&6?Z(h,g,_,L,T,N,B,O,F):(J&64||J&128)&&P.process(h,g,_,L,T,N,B,O,F,U)}V!=null&&T&&Hr(V,h&&h.ref,N,g||h,!g)},w=(h,g,_,L)=>{if(h==null)r(g.el=a(g.children),_,L);else{const T=g.el=h.el;g.children!==h.children&&c(T,g.children)}},b=(h,g,_,L)=>{h==null?r(g.el=i(g.children||""),_,L):g.el=h.el},C=(h,g,_,L)=>{[h.el,h.anchor]=m(h.children,g,_,L,h.el,h.anchor)},y=({el:h,anchor:g},_,L)=>{let T;for(;h&&h!==g;)T=p(h),r(h,_,L),h=T;r(g,_,L)},x=({el:h,anchor:g})=>{let _;for(;h&&h!==g;)_=p(h),o(h),h=_;o(g)},M=(h,g,_,L,T,N,B,O,F)=>{g.type==="svg"?B="svg":g.type==="math"&&(B="mathml"),h==null?k(g,_,L,T,N,B,O,F):K(h,g,T,N,B,O,F)},k=(h,g,_,L,T,N,B,O)=>{let F,P;const{props:V,shapeFlag:J,transition:q,dirs:ee}=h;if(F=h.el=l(h.type,N,V&&V.is,V),J&8?f(F,h.children):J&16&&I(h.children,F,null,L,T,po(h,N),B,O),ee&<(h,null,L,"created"),$(F,h,h.scopeId,B,L),V){for(const ue in V)ue!=="value"&&!hn(ue)&&s(F,ue,null,V[ue],N,h.children,L,T,Ie);"value"in V&&s(F,"value",null,V.value,N),(P=V.onVnodeBeforeMount)&&Ke(P,L,h)}ee&<(h,null,L,"beforeMount");const re=ai(T,q);re&&q.beforeEnter(F),r(F,g,_),((P=V&&V.onVnodeMounted)||re||ee)&&Fe(()=>{P&&Ke(P,L,h),re&&q.enter(F),ee&<(h,null,L,"mounted")},T)},$=(h,g,_,L,T)=>{if(_&&v(h,_),L)for(let N=0;N{for(let P=F;P{const O=g.el=h.el;let{patchFlag:F,dynamicChildren:P,dirs:V}=g;F|=h.patchFlag&16;const J=h.props||he,q=g.props||he;let ee;if(_&&jt(_,!1),(ee=q.onVnodeBeforeUpdate)&&Ke(ee,_,g,h),V&<(g,h,_,"beforeUpdate"),_&&jt(_,!0),P?R(h.dynamicChildren,P,O,_,L,po(g,T),N):B||W(h,g,O,null,_,L,po(g,T),N,!1),F>0){if(F&16)Y(O,g,J,q,_,L,T);else if(F&2&&J.class!==q.class&&s(O,"class",null,q.class,T),F&4&&s(O,"style",J.style,q.style,T),F&8){const re=g.dynamicProps;for(let ue=0;ue{ee&&Ke(ee,_,g,h),V&<(g,h,_,"updated")},L)},R=(h,g,_,L,T,N,B)=>{for(let O=0;O{if(_!==L){if(_!==he)for(const O in _)!hn(O)&&!(O in L)&&s(h,O,_[O],null,B,g.children,T,N,Ie);for(const O in L){if(hn(O))continue;const F=L[O],P=_[O];F!==P&&O!=="value"&&s(h,O,P,F,B,g.children,T,N,Ie)}"value"in L&&s(h,"value",_.value,L.value,B)}},D=(h,g,_,L,T,N,B,O,F)=>{const P=g.el=h?h.el:a(""),V=g.anchor=h?h.anchor:a("");let{patchFlag:J,dynamicChildren:q,slotScopeIds:ee}=g;ee&&(O=O?O.concat(ee):ee),h==null?(r(P,_,L),r(V,_,L),I(g.children||[],_,V,T,N,B,O,F)):J>0&&J&64&&q&&h.dynamicChildren?(R(h.dynamicChildren,q,_,T,N,B,O),(g.key!=null||T&&g===T.subTree)&&ii(h,g,!0)):W(h,g,_,V,T,N,B,O,F)},Z=(h,g,_,L,T,N,B,O,F)=>{g.slotScopeIds=O,h==null?g.shapeFlag&512?T.ctx.activate(g,_,L,B,F):_e(g,_,L,T,N,B,F):Ee(h,g,F)},_e=(h,g,_,L,T,N,B)=>{const O=h.component=Yf(h,L,T);if(lr(h)&&(O.ctx.renderer=U),Jf(O),O.asyncDep){if(T&&T.registerDep(O,G),!h.el){const F=O.subTree=ke(ft);b(null,F,g,_)}}else G(O,h,g,_,T,N,B)},Ee=(h,g,_)=>{const L=g.component=h.component;if(tf(h,g,_))if(L.asyncDep&&!L.asyncResolved){ne(L,g,_);return}else L.next=g,Ku(L.update),L.effect.dirty=!0,L.update();else g.el=h.el,L.vnode=g},G=(h,g,_,L,T,N,B)=>{const O=()=>{if(h.isMounted){let{next:V,bu:J,u:q,parent:ee,vnode:re}=h;{const ln=ci(h);if(ln){V&&(V.el=re.el,ne(h,V,B)),ln.asyncDep.then(()=>{h.isUnmounted||O()});return}}let ue=V,pe;jt(h,!1),V?(V.el=re.el,ne(h,V,B)):V=re,J&&ao(J),(pe=V.props&&V.props.onVnodeBeforeUpdate)&&Ke(pe,ee,V,re),jt(h,!0);const Se=io(h),et=h.subTree;h.subTree=Se,E(et,Se,d(et.el),A(et),h,T,N),V.el=Se.el,ue===null&&nf(h,Se.el),q&&Fe(q,T),(pe=V.props&&V.props.onVnodeUpdated)&&Fe(()=>Ke(pe,ee,V,re),T)}else{let V;const{el:J,props:q}=g,{bm:ee,m:re,parent:ue}=h,pe=Nn(g);if(jt(h,!1),ee&&ao(ee),!pe&&(V=q&&q.onVnodeBeforeMount)&&Ke(V,ue,g),jt(h,!0),J&&de){const Se=()=>{h.subTree=io(h),de(J,h.subTree,h,T,null)};pe?g.type.__asyncLoader().then(()=>!h.isUnmounted&&Se()):Se()}else{const Se=h.subTree=io(h);E(null,Se,_,L,h,T,N),g.el=Se.el}if(re&&Fe(re,T),!pe&&(V=q&&q.onVnodeMounted)){const Se=g;Fe(()=>Ke(V,ue,Se),T)}(g.shapeFlag&256||ue&&Nn(ue.vnode)&&ue.vnode.shapeFlag&256)&&h.a&&Fe(h.a,T),h.isMounted=!0,g=_=L=null}},F=h.effect=new is(O,Ye,()=>qr(P),h.scope),P=h.update=()=>{F.dirty&&F.run()};P.id=h.uid,jt(h,!0),P()},ne=(h,g,_)=>{g.component=h;const L=h.vnode.props;h.vnode=g,h.next=null,Rf(h,g.props,L,_),Mf(h,g.children,_),Xt(),Zs(h),Qt()},W=(h,g,_,L,T,N,B,O,F=!1)=>{const P=h&&h.children,V=h?h.shapeFlag:0,J=g.children,{patchFlag:q,shapeFlag:ee}=g;if(q>0){if(q&128){Ct(P,J,_,L,T,N,B,O,F);return}else if(q&256){Ze(P,J,_,L,T,N,B,O,F);return}}ee&8?(V&16&&Ie(P,T,N),J!==P&&f(_,J)):V&16?ee&16?Ct(P,J,_,L,T,N,B,O,F):Ie(P,T,N,!0):(V&8&&f(_,""),ee&16&&I(J,_,L,T,N,B,O,F))},Ze=(h,g,_,L,T,N,B,O,F)=>{h=h||pn,g=g||pn;const P=h.length,V=g.length,J=Math.min(P,V);let q;for(q=0;qV?Ie(h,T,N,!0,!1,J):I(g,_,L,T,N,B,O,F,J)},Ct=(h,g,_,L,T,N,B,O,F)=>{let P=0;const V=g.length;let J=h.length-1,q=V-1;for(;P<=J&&P<=q;){const ee=h[P],re=g[P]=F?Rt(g[P]):tt(g[P]);if(Wt(ee,re))E(ee,re,_,null,T,N,B,O,F);else break;P++}for(;P<=J&&P<=q;){const ee=h[J],re=g[q]=F?Rt(g[q]):tt(g[q]);if(Wt(ee,re))E(ee,re,_,null,T,N,B,O,F);else break;J--,q--}if(P>J){if(P<=q){const ee=q+1,re=eeq)for(;P<=J;)De(h[P],T,N,!0),P++;else{const ee=P,re=P,ue=new Map;for(P=re;P<=q;P++){const Ve=g[P]=F?Rt(g[P]):tt(g[P]);Ve.key!=null&&ue.set(Ve.key,P)}let pe,Se=0;const et=q-re+1;let ln=!1,Vs=0;const An=new Array(et);for(P=0;P=et){De(Ve,T,N,!0);continue}let st;if(Ve.key!=null)st=ue.get(Ve.key);else for(pe=re;pe<=q;pe++)if(An[pe-re]===0&&Wt(Ve,g[pe])){st=pe;break}st===void 0?De(Ve,T,N,!0):(An[st-re]=P+1,st>=Vs?Vs=st:ln=!0,E(Ve,g[st],_,null,T,N,B,O,F),Se++)}const zs=ln?Bf(An):pn;for(pe=zs.length-1,P=et-1;P>=0;P--){const Ve=re+P,st=g[Ve],Us=Ve+1{const{el:N,type:B,transition:O,children:F,shapeFlag:P}=h;if(P&6){ot(h.component.subTree,g,_,L);return}if(P&128){h.suspense.move(g,_,L);return}if(P&64){B.move(h,g,_,U);return}if(B===Ue){r(N,g,_);for(let J=0;JO.enter(N),T);else{const{leave:J,delayLeave:q,afterLeave:ee}=O,re=()=>r(N,g,_),ue=()=>{J(N,()=>{re(),ee&&ee()})};q?q(N,re,ue):ue()}else r(N,g,_)},De=(h,g,_,L=!1,T=!1)=>{const{type:N,props:B,ref:O,children:F,dynamicChildren:P,shapeFlag:V,patchFlag:J,dirs:q}=h;if(O!=null&&Hr(O,null,_,h,!0),V&256){g.ctx.deactivate(h);return}const ee=V&1&&q,re=!Nn(h);let ue;if(re&&(ue=B&&B.onVnodeBeforeUnmount)&&Ke(ue,g,h),V&6)vr(h.component,_,L);else{if(V&128){h.suspense.unmount(_,L);return}ee&<(h,null,g,"beforeUnmount"),V&64?h.type.remove(h,g,_,T,U,L):P&&(N!==Ue||J>0&&J&64)?Ie(P,g,_,!1,!0):(N===Ue&&J&384||!T&&V&16)&&Ie(F,g,_),L&&on(h)}(re&&(ue=B&&B.onVnodeUnmounted)||ee)&&Fe(()=>{ue&&Ke(ue,g,h),ee&<(h,null,g,"unmounted")},_)},on=h=>{const{type:g,el:_,anchor:L,transition:T}=h;if(g===Ue){sn(_,L);return}if(g===Hn){x(h);return}const N=()=>{o(_),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(h.shapeFlag&1&&T&&!T.persisted){const{leave:B,delayLeave:O}=T,F=()=>B(_,N);O?O(h.el,N,F):F()}else N()},sn=(h,g)=>{let _;for(;h!==g;)_=p(h),o(h),h=_;o(g)},vr=(h,g,_)=>{const{bum:L,scope:T,update:N,subTree:B,um:O}=h;L&&ao(L),T.stop(),N&&(N.active=!1,De(B,h,g,_)),O&&Fe(O,g),Fe(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},Ie=(h,g,_,L=!1,T=!1,N=0)=>{for(let B=N;Bh.shapeFlag&6?A(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el);let j=!1;const H=(h,g,_)=>{h==null?g._vnode&&De(g._vnode,null,null,!0):E(g._vnode||null,h,g,null,null,null,_),j||(j=!0,Zs(),Nr(),j=!1),g._vnode=h},U={p:E,um:De,m:ot,r:on,mt:_e,mc:I,pc:W,pbc:R,n:A,o:e};let ae,de;return t&&([ae,de]=t(U)),{render:H,hydrate:ae,createApp:Lf(H,ae)}}function po({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function jt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ai(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ii(e,t,n=!1){const r=e.children,o=t.children;if(Q(r)&&Q(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,l=n[s-1];s-- >0;)n[s]=l,l=t[l];return n}function ci(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ci(t)}const jf=e=>e.__isTeleport,Ue=Symbol.for("v-fgt"),bn=Symbol.for("v-txt"),ft=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),Bn=[];let nt=null;function dh(e=!1){Bn.push(nt=e?null:[])}function Vf(){Bn.pop(),nt=Bn[Bn.length-1]||null}let Kn=1;function fl(e){Kn+=e}function zf(e){return e.dynamicChildren=Kn>0?nt||pn:null,Vf(),Kn>0&&nt&&nt.push(e),e}function ph(e,t,n,r,o,s){return zf(fi(e,t,n,r,o,s,!0))}function Ho(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Jr="__vInternal",ui=({key:e})=>e??null,Rr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Pe(e)||te(e)?{i:Je,r:e,k:t,f:!!n}:e:null);function fi(e,t=null,n=null,r=0,o=null,s=e===Ue?0:1,l=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ui(t),ref:t&&Rr(t),scopeId:Ua,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Je};return a?(Cs(i,n),s&128&&e.normalize(i)):n&&(i.shapeFlag|=Le(n)?8:16),Kn>0&&!l&&nt&&(i.patchFlag>0||s&6)&&i.patchFlag!==32&&nt.push(i),i}const ke=Uf;function Uf(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===rf)&&(e=ft),Ho(e)){const a=Dt(e,t,!0);return n&&Cs(a,n),Kn>0&&!s&&nt&&(a.shapeFlag&6?nt[nt.indexOf(e)]=a:nt.push(a)),a.patchFlag|=-2,a}if(t1(e)&&(e=e.__vccOpts),t){t=Wf(t);let{class:a,style:i}=t;a&&!Le(a)&&(t.class=as(a)),ge(i)&&(Ma(i)&&!Q(i)&&(i=Ce({},i)),t.style=ls(i))}const l=Le(e)?1:sf(e)?128:jf(e)?64:ge(e)?4:te(e)?2:0;return fi(e,t,n,r,o,l,s,!0)}function Wf(e){return e?Ma(e)||Jr in e?Ce({},e):e:null}function Dt(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:l}=e,a=t?Gf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ui(a),ref:t&&t.ref?n&&o?Q(o)?o.concat(Rr(t)):[o,Rr(t)]:Rr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ue?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function di(e=" ",t=0){return ke(bn,null,e,t)}function hh(e,t){const n=ke(Hn,null,e);return n.staticCount=t,n}function tt(e){return e==null||typeof e=="boolean"?ke(ft):Q(e)?ke(Ue,null,e.slice()):typeof e=="object"?Rt(e):ke(bn,null,String(e))}function Rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function Cs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Cs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Jr in t)?t._ctx=Je:o===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),r&64?(n=16,t=[di(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gf(...e){const t={};for(let n=0;nxe||Je;let Br,Bo;{const e=ba(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(l=>l(s)):o[0](s)}};Br=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),Bo=t("__VUE_SSR_SETTERS__",n=>cr=n)}const ir=e=>{const t=xe;return Br(e),e.scope.on(),()=>{e.scope.off(),Br(t)}},dl=()=>{xe&&xe.scope.off(),Br(null)};function pi(e){return e.vnode.shapeFlag&4}let cr=!1;function Jf(e,t=!1){t&&Bo(t);const{props:n,children:r}=e.vnode,o=pi(e);Pf(e,n,o,t),Of(e,r);const s=o?Xf(e,t):void 0;return t&&Bo(!1),s}function Xf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=$a(new Proxy(e.ctx,Ef));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Zf(e):null,s=ir(e);Xt();const l=$t(r,e,0,[e.props,o]);if(Qt(),s(),ya(l)){if(l.then(dl,dl),t)return l.then(a=>{pl(e,a,t)}).catch(a=>{sr(a,e,0)});e.asyncDep=l}else pl(e,l,t)}else hi(e,t)}function pl(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Fa(t)),hi(e,n)}let hl;function hi(e,t,n){const r=e.type;if(!e.render){if(!t&&hl&&!r.render){const o=r.template||_s(e).template;if(o){const{isCustomElement:s,compilerOptions:l}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,c=Ce(Ce({isCustomElement:s,delimiters:a},l),i);r.render=hl(o,c)}}e.render=r.render||Ye}{const o=ir(e);Xt();try{Cf(e)}finally{Qt(),o()}}}function Qf(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return je(e,"get","$attrs"),t[n]}}))}function Zf(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Qf(e)},slots:e.slots,emit:e.emit,expose:t}}function ks(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Fa($a(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Dn)return Dn[n](e)},has(t,n){return n in t||n in Dn}}))}function e1(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function t1(e){return te(e)&&"__vccOpts"in e}const S=(e,t)=>Hu(e,t,cr);function u(e,t,n){const r=arguments.length;return r===2?ge(t)&&!Q(t)?Ho(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ho(n)&&(n=[n]),ke(e,t,n))}const n1="3.4.21";/** -* @vue/runtime-dom v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const r1="http://www.w3.org/2000/svg",o1="http://www.w3.org/1998/Math/MathML",It=typeof document<"u"?document:null,vl=It&&It.createElement("template"),s1={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"?It.createElementNS(r1,e):t==="mathml"?It.createElementNS(o1,e):It.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>It.createTextNode(e),createComment:e=>It.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>It.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{vl.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=vl.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]}},xt="transition",Ln="animation",wn=Symbol("_vtc"),Ft=(e,{slots:t})=>u(ff,gi(e),t);Ft.displayName="Transition";const vi={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},l1=Ft.props=Ce({},Ja,vi),Vt=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},gl=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function gi(e){const t={};for(const D in e)D in vi||(t[D]=e[D]);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:f=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,m=a1(o),E=m&&m[0],w=m&&m[1],{onBeforeEnter:b,onEnter:C,onEnterCancelled:y,onLeave:x,onLeaveCancelled:M,onBeforeAppear:k=b,onAppear:$=C,onAppearCancelled:I=y}=t,K=(D,Z,_e)=>{At(D,Z?f:a),At(D,Z?c:l),_e&&_e()},R=(D,Z)=>{D._isLeaving=!1,At(D,d),At(D,v),At(D,p),Z&&Z()},Y=D=>(Z,_e)=>{const Ee=D?$:C,G=()=>K(Z,D,_e);Vt(Ee,[Z,G]),ml(()=>{At(Z,D?i:s),gt(Z,D?f:a),gl(Ee)||yl(Z,r,E,G)})};return Ce(t,{onBeforeEnter(D){Vt(b,[D]),gt(D,s),gt(D,l)},onBeforeAppear(D){Vt(k,[D]),gt(D,i),gt(D,c)},onEnter:Y(!1),onAppear:Y(!0),onLeave(D,Z){D._isLeaving=!0;const _e=()=>R(D,Z);gt(D,d),yi(),gt(D,p),ml(()=>{D._isLeaving&&(At(D,d),gt(D,v),gl(x)||yl(D,r,w,_e))}),Vt(x,[D,_e])},onEnterCancelled(D){K(D,!1),Vt(y,[D])},onAppearCancelled(D){K(D,!0),Vt(I,[D])},onLeaveCancelled(D){R(D),Vt(M,[D])}})}function a1(e){if(e==null)return null;if(ge(e))return[ho(e.enter),ho(e.leave)];{const t=ho(e);return[t,t]}}function ho(e){return cu(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[wn]||(e[wn]=new Set)).add(t)}function At(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[wn];n&&(n.delete(t),n.size||(e[wn]=void 0))}function ml(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let i1=0;function yl(e,t,n,r){const o=e._endId=++i1,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:l,timeout:a,propCount:i}=mi(e,t);if(!l)return r();const c=l+"end";let f=0;const d=()=>{e.removeEventListener(c,p),s()},p=v=>{v.target===e&&++f>=i&&d()};setTimeout(()=>{f(n[m]||"").split(", "),o=r(`${xt}Delay`),s=r(`${xt}Duration`),l=bl(o,s),a=r(`${Ln}Delay`),i=r(`${Ln}Duration`),c=bl(a,i);let f=null,d=0,p=0;t===xt?l>0&&(f=xt,d=l,p=s.length):t===Ln?c>0&&(f=Ln,d=c,p=i.length):(d=Math.max(l,c),f=d>0?l>c?xt:Ln:null,p=f?f===xt?s.length:i.length:0);const v=f===xt&&/\b(transform|all)(,|$)/.test(r(`${xt}Property`).toString());return{type:f,timeout:d,propCount:p,hasTransform:v}}function bl(e,t){for(;e.lengthwl(n)+wl(e[r])))}function wl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yi(){return document.body.offsetHeight}function c1(e,t,n){const r=e[wn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _l=Symbol("_vod"),u1=Symbol("_vsh"),f1=Symbol(""),d1=/(^|;)\s*display\s*:/;function p1(e,t,n){const r=e.style,o=Le(n);let s=!1;if(n&&!o){if(t)if(Le(t))for(const l of t.split(";")){const a=l.slice(0,l.indexOf(":")).trim();n[a]==null&&Ir(r,a,"")}else for(const l in t)n[l]==null&&Ir(r,l,"");for(const l in n)l==="display"&&(s=!0),Ir(r,l,n[l])}else if(o){if(t!==n){const l=r[f1];l&&(n+=";"+l),r.cssText=n,s=d1.test(n)}}else t&&e.removeAttribute("style");_l in e&&(e[_l]=s?r.display:"",e[u1]&&(r.display="none"))}const El=/\s*!important$/;function Ir(e,t,n){if(Q(n))n.forEach(r=>Ir(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=h1(e,t);El.test(n)?e.setProperty(kn(r),n.replace(El,""),"important"):e[r]=n}}const Cl=["Webkit","Moz","ms"],vo={};function h1(e,t){const n=vo[t];if(n)return n;let r=Qe(t);if(r!=="filter"&&r in e)return vo[t]=r;r=nr(r);for(let o=0;ogo||(_1.then(()=>go=0),go=Date.now());function C1(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Xe(k1(r,n.value),t,5,[r])};return n.value=e,n.attached=E1(),n}function k1(e,t){if(Q(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 Tl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,S1=(e,t,n,r,o,s,l,a,i)=>{const c=o==="svg";t==="class"?c1(e,r,c):t==="style"?p1(e,n,r):tr(t)?rs(t)||b1(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):x1(e,t,r,c))?g1(e,t,r,s,l,a,i):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),v1(e,t,r,c))};function x1(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Tl(t)&&te(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 Tl(t)&&Le(n)?!1:t in e}const bi=new WeakMap,wi=new WeakMap,jr=Symbol("_moveCb"),Al=Symbol("_enterCb"),_i={name:"TransitionGroup",props:Ce({},l1,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ar(),r=Ya();let o,s;return Za(()=>{if(!o.length)return;const l=e.moveClass||`${e.name||"v"}-move`;if(!I1(o[0].el,n.vnode.el,l))return;o.forEach(L1),o.forEach(P1);const a=o.filter(R1);yi(),a.forEach(i=>{const c=i.el,f=c.style;gt(c,l),f.transform=f.webkitTransform=f.transitionDuration="";const d=c[jr]=p=>{p&&p.target!==c||(!p||/transform$/.test(p.propertyName))&&(c.removeEventListener("transitionend",d),c[jr]=null,At(c,l))};c.addEventListener("transitionend",d)})}),()=>{const l=oe(e),a=gi(l);let i=l.tag||Ue;o=s,s=t.default?bs(t.default()):[];for(let c=0;cdelete e.mode;_i.props;const A1=_i;function L1(e){const t=e.el;t[jr]&&t[jr](),t[Al]&&t[Al]()}function P1(e){wi.set(e,e.el.getBoundingClientRect())}function R1(e){const t=bi.get(e),n=wi.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 I1(e,t,n){const r=e.cloneNode(),o=e[wn];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}=mi(r);return s.removeChild(r),l}const O1=Ce({patchProp:S1},s1);let mo,Ll=!1;function M1(){return mo=Ll?mo:Ff(O1),Ll=!0,mo}const $1=(...e)=>{const t=M1().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=D1(r);if(o)return n(o,!0,N1(o))},t};function N1(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function D1(e){return Le(e)?document.querySelector(e):e}var F1=["link","meta","script","style","noscript","template"],H1=["title","base"],B1=([e,t,n])=>H1.includes(e)?e:F1.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,j1=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=B1(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},V1=e=>e[0]==="/"?e:`/${e}`,Ei=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,Zt=e=>/^(https?:)?\/\//.test(e),z1=/.md((\?|#).*)?$/,Xr=(e,t="/")=>!!(Zt(e)||e.startsWith("/")&&!e.startsWith(t)&&!z1.test(e)),Qr=e=>/^[a-z][a-z0-9+.-]*:/.test(e),ur=e=>Object.prototype.toString.call(e)==="[object Object]",U1=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("")},Ss=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Ci=e=>e[0]==="/"?e.slice(1):e,W1=(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"/"},ve=e=>typeof e=="string";const G1="modulepreload",q1=function(e){return"/"+e},Pl={},yt=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=q1(i),i in Pl)return;Pl[i]=!0;const c=i.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!r)for(let v=s.length-1;v>=0;v--){const m=s[v];if(m.href===i&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":G1,c||(p.as="script",p.crossOrigin=""),p.href=i,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((v,m)=>{p.addEventListener("load",v),p.addEventListener("error",()=>m(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})},K1=JSON.parse("{}"),Y1=Object.fromEntries([["/",{loader:()=>yt(()=>import("./index.html-CIDLPtno.js"),__vite__mapDeps([0,1])),meta:{t:"Home",i:"home"}}],["/docs/",{loader:()=>yt(()=>import("./index.html-CgwPMnPY.js"),__vite__mapDeps([2,1])),meta:{t:"Docs",i:"book"}}],["/get-started/",{loader:()=>yt(()=>import("./index.html-B4D8VHZe.js"),__vite__mapDeps([3,1])),meta:{t:"Get started",i:"lightbulb"}}],["/get-started/installation.html",{loader:()=>yt(()=>import("./installation.html-BcNhzQKt.js"),__vite__mapDeps([4,1])),meta:{t:"Installation guide",i:"screwdriver-wrench"}}],["/get-started/quick-start.html",{loader:()=>yt(()=>import("./quick-start.html-CYSwFgxl.js"),__vite__mapDeps([5,1])),meta:{t:"Quick start",i:"code"}}],["/get-started/what-is-nodejs.html",{loader:()=>yt(()=>import("./what-is-nodejs.html-BEgMaJRv.js"),__vite__mapDeps([6,1])),meta:{t:"What is Node.js?",i:"book-open"}}],["/404.html",{loader:()=>yt(()=>import("./404.html-D-DH5Fga.js"),__vite__mapDeps([7,1])),meta:{t:""}}]]);/*! - * vue-router v4.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const cn=typeof document<"u";function J1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ce=Object.assign;function yo(e,t){const n={};for(const r in t){const o=t[r];n[r]=rt(o)?o.map(e):e(o)}return n}const jn=()=>{},rt=Array.isArray,ki=/#/g,X1=/&/g,Q1=/\//g,Z1=/=/g,ed=/\?/g,Si=/\+/g,td=/%5B/g,nd=/%5D/g,xi=/%5E/g,rd=/%60/g,Ti=/%7B/g,od=/%7C/g,Ai=/%7D/g,sd=/%20/g;function xs(e){return encodeURI(""+e).replace(od,"|").replace(td,"[").replace(nd,"]")}function ld(e){return xs(e).replace(Ti,"{").replace(Ai,"}").replace(xi,"^")}function jo(e){return xs(e).replace(Si,"%2B").replace(sd,"+").replace(ki,"%23").replace(X1,"%26").replace(rd,"`").replace(Ti,"{").replace(Ai,"}").replace(xi,"^")}function ad(e){return jo(e).replace(Z1,"%3D")}function id(e){return xs(e).replace(ki,"%23").replace(ed,"%3F")}function cd(e){return e==null?"":id(e).replace(Q1,"%2F")}function Yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ud=/\/$/,fd=e=>e.replace(ud,"");function bo(e,t,n="/"){let r,o={},s="",l="";const a=t.indexOf("#");let i=t.indexOf("?");return a=0&&(i=-1),i>-1&&(r=t.slice(0,i),s=t.slice(i+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=vd(r??t,n),{fullPath:r+(s&&"?")+s+l,path:r,query:o,hash:Yn(l)}}function dd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pd(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&_n(t.matched[r],n.matched[o])&&Li(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Li(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hd(e[n],t[n]))return!1;return!0}function hd(e,t){return rt(e)?Il(e,t):rt(t)?Il(t,e):e===t}function Il(e,t){return rt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function vd(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,l,a;for(l=0;l1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(l).join("/")}var Jn;(function(e){e.pop="pop",e.push="push"})(Jn||(Jn={}));var Vn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Vn||(Vn={}));function gd(e){if(!e)if(cn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),fd(e)}const md=/^[^#]+#/;function yd(e,t){return e.replace(md,"#")+t}function bd(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 Zr=()=>({left:window.scrollX,top:window.scrollY});function wd(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=bd(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 Ol(e,t){return(history.state?history.state.position-t:-1)+e}const Vo=new Map;function _d(e,t){Vo.set(e,t)}function Ed(e){const t=Vo.get(e);return Vo.delete(e),t}let Cd=()=>location.protocol+"//"+location.host;function Pi(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),Rl(i,"")}return Rl(n,e)+r+o}function kd(e,t,n,r){let o=[],s=[],l=null;const a=({state:p})=>{const v=Pi(e,location),m=n.value,E=t.value;let w=0;if(p){if(n.value=v,t.value=p,l&&l===m){l=null;return}w=E?p.position-E.position:0}else r(v);o.forEach(b=>{b(n.value,m,{delta:w,type:Jn.pop,direction:w?w>0?Vn.forward:Vn.back:Vn.unknown})})};function i(){l=n.value}function c(p){o.push(p);const v=()=>{const m=o.indexOf(p);m>-1&&o.splice(m,1)};return s.push(v),v}function f(){const{history:p}=window;p.state&&p.replaceState(ce({},p.state,{scroll:Zr()}),"")}function d(){for(const p of s)p();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:i,listen:c,destroy:d}}function Ml(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Zr():null}}function Sd(e){const{history:t,location:n}=window,r={value:Pi(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,f){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+i:Cd()+e+i;try{t[f?"replaceState":"pushState"](c,"",p),o.value=c}catch(v){console.error(v),n[f?"replace":"assign"](p)}}function l(i,c){const f=ce({},t.state,Ml(o.value.back,i,o.value.forward,!0),c,{position:o.value.position});s(i,f,!0),r.value=i}function a(i,c){const f=ce({},o.value,t.state,{forward:i,scroll:Zr()});s(f.current,f,!0);const d=ce({},Ml(r.value,i,null),{position:f.position+1},c);s(i,d,!1),r.value=i}return{location:r,state:o,push:a,replace:l}}function xd(e){e=gd(e);const t=Sd(e),n=kd(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 Td(e){return typeof e=="string"||e&&typeof e=="object"}function Ri(e){return typeof e=="string"||typeof e=="symbol"}const mt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ii=Symbol("");var $l;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($l||($l={}));function En(e,t){return ce(new Error,{type:e,[Ii]:!0},t)}function vt(e,t){return e instanceof Error&&Ii in e&&(t==null||!!(e.type&t))}const Nl="[^/]+?",Ad={sensitive:!1,strict:!1,start:!0,end:!0},Ld=/[.+*?^${}()[\]/\\]/g;function Pd(e,t){const n=ce({},Ad,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Id(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Od={type:0,value:""},Md=/[a-zA-Z0-9_]/;function $d(e){if(!e)return[[]];if(e==="/")return[[Od]];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="",f="";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:f,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=i}for(;a{l(C)}:jn}function l(f){if(Ri(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(l),d.alias.forEach(l))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(l),f.alias.forEach(l))}}function a(){return n}function i(f){let d=0;for(;d=0&&(f.record.path!==n[d].record.path||!Oi(f,n[d]));)d++;n.splice(d,0,f),f.record.name&&!Hl(f)&&r.set(f.record.name,f)}function c(f,d){let p,v={},m,E;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw En(1,{location:f});E=p.record.name,v=ce(Fl(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),f.params&&Fl(f.params,p.keys.map(C=>C.name))),m=p.stringify(v)}else if(f.path!=null)m=f.path,p=n.find(C=>C.re.test(m)),p&&(v=p.parse(m),E=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw En(1,{location:f,currentLocation:d});E=p.record.name,v=ce({},d.params,f.params),m=p.stringify(v)}const w=[];let b=p;for(;b;)w.unshift(b.record),b=b.parent;return{name:E,path:m,params:v,matched:w,meta:Bd(w)}}return e.forEach(f=>s(f)),{addRoute:s,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:o}}function Fl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Fd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Hd(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 Hd(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 Hl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Bd(e){return e.reduce((t,n)=>ce(t,n.meta),{})}function Bl(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Oi(e,t){return t.children.some(n=>n===e||Oi(e,n))}function jd(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&jo(s)):[r&&jo(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Vd(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=rt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const zd=Symbol(""),Vl=Symbol(""),eo=Symbol(""),Ts=Symbol(""),zo=Symbol("");function Pn(){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 Ot(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(En(4,{from:n,to:t})):p instanceof Error?i(p):Td(p)?i(En(2,{from:t,to:p})):(l&&r.enterCallbacks[o]===l&&typeof p=="function"&&l.push(p),a())},f=s(()=>e.call(r&&r.instances[o],t,n,c));let d=Promise.resolve(f);e.length<3&&(d=d.then(c)),d.catch(p=>i(p))})}function wo(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(Ud(i)){const f=(i.__vccOpts||i)[t];f&&s.push(Ot(f,n,r,l,a,o))}else{let c=i();s.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${l.path}"`));const d=J1(f)?f.default:f;l.components[a]=d;const v=(d.__vccOpts||d)[t];return v&&Ot(v,n,r,l,a,o)()}))}}return s}function Ud(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zl(e){const t=Te(eo),n=Te(Ts),r=S(()=>t.resolve(Yt(e.to))),o=S(()=>{const{matched:i}=r.value,{length:c}=i,f=i[c-1],d=n.matched;if(!f||!d.length)return-1;const p=d.findIndex(_n.bind(null,f));if(p>-1)return p;const v=Ul(i[c-2]);return c>1&&Ul(f)===v&&d[d.length-1].path!==v?d.findIndex(_n.bind(null,i[c-2])):p}),s=S(()=>o.value>-1&&Kd(n.params,r.value.params)),l=S(()=>o.value>-1&&o.value===n.matched.length-1&&Li(n.params,r.value.params));function a(i={}){return qd(i)?t[Yt(e.replace)?"replace":"push"](Yt(e.to)).catch(jn):Promise.resolve()}return{route:r,href:S(()=>r.value.href),isActive:s,isExactActive:l,navigate:a}}const Wd=z({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zl,setup(e,{slots:t}){const n=rr(zl(e)),{options:r}=Te(eo),o=S(()=>({[Wl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Wl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:u("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Gd=Wd;function qd(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 Kd(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(!rt(o)||o.length!==r.length||r.some((s,l)=>s!==o[l]))return!1}return!0}function Ul(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wl=(e,t,n)=>e??t??n,Yd=z({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Te(zo),o=S(()=>e.route||r.value),s=Te(Vl,0),l=S(()=>{let c=Yt(s);const{matched:f}=o.value;let d;for(;(d=f[c])&&!d.components;)c++;return c}),a=S(()=>o.value.matched[l.value]);mn(Vl,S(()=>l.value+1)),mn(zd,a),mn(zo,o);const i=X();return ie(()=>[i.value,a.value,e.name],([c,f,d],[p,v,m])=>{f&&(f.instances[d]=c,v&&v!==f&&c&&c===p&&(f.leaveGuards.size||(f.leaveGuards=v.leaveGuards),f.updateGuards.size||(f.updateGuards=v.updateGuards))),c&&f&&(!v||!_n(f,v)||!p)&&(f.enterCallbacks[d]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=o.value,f=e.name,d=a.value,p=d&&d.components[f];if(!p)return Gl(n.default,{Component:p,route:c});const v=d.props[f],m=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=u(p,ce({},m,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[f]=null)},ref:i}));return Gl(n.default,{Component:w,route:c})||w}}});function Gl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Jd=Yd;function Xd(e){const t=Dd(e.routes,e),n=e.parseQuery||jd,r=e.stringifyQuery||jl,o=e.history,s=Pn(),l=Pn(),a=Pn(),i=We(mt);let c=mt;cn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=yo.bind(null,A=>""+A),d=yo.bind(null,cd),p=yo.bind(null,Yn);function v(A,j){let H,U;return Ri(A)?(H=t.getRecordMatcher(A),U=j):U=A,t.addRoute(U,H)}function m(A){const j=t.getRecordMatcher(A);j&&t.removeRoute(j)}function E(){return t.getRoutes().map(A=>A.record)}function w(A){return!!t.getRecordMatcher(A)}function b(A,j){if(j=ce({},j||i.value),typeof A=="string"){const g=bo(n,A,j.path),_=t.resolve({path:g.path},j),L=o.createHref(g.fullPath);return ce(g,_,{params:p(_.params),hash:Yn(g.hash),redirectedFrom:void 0,href:L})}let H;if(A.path!=null)H=ce({},A,{path:bo(n,A.path,j.path).path});else{const g=ce({},A.params);for(const _ in g)g[_]==null&&delete g[_];H=ce({},A,{params:d(g)}),j.params=d(j.params)}const U=t.resolve(H,j),ae=A.hash||"";U.params=f(p(U.params));const de=dd(r,ce({},A,{hash:ld(ae),path:U.path})),h=o.createHref(de);return ce({fullPath:de,hash:ae,query:r===jl?Vd(A.query):A.query||{}},U,{redirectedFrom:void 0,href:h})}function C(A){return typeof A=="string"?bo(n,A,i.value.path):ce({},A)}function y(A,j){if(c!==A)return En(8,{from:j,to:A})}function x(A){return $(A)}function M(A){return x(ce(C(A),{replace:!0}))}function k(A){const j=A.matched[A.matched.length-1];if(j&&j.redirect){const{redirect:H}=j;let U=typeof H=="function"?H(A):H;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=C(U):{path:U},U.params={}),ce({query:A.query,hash:A.hash,params:U.path!=null?{}:A.params},U)}}function $(A,j){const H=c=b(A),U=i.value,ae=A.state,de=A.force,h=A.replace===!0,g=k(H);if(g)return $(ce(C(g),{state:typeof g=="object"?ce({},ae,g.state):ae,force:de,replace:h}),j||H);const _=H;_.redirectedFrom=j;let L;return!de&&pd(r,U,H)&&(L=En(16,{to:_,from:U}),ot(U,U,!0,!1)),(L?Promise.resolve(L):R(_,U)).catch(T=>vt(T)?vt(T,2)?T:Ct(T):W(T,_,U)).then(T=>{if(T){if(vt(T,2))return $(ce({replace:h},C(T.to),{state:typeof T.to=="object"?ce({},ae,T.to.state):ae,force:de}),j||_)}else T=D(_,U,!0,h,ae);return Y(_,U,T),T})}function I(A,j){const H=y(A,j);return H?Promise.reject(H):Promise.resolve()}function K(A){const j=sn.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(A):A()}function R(A,j){let H;const[U,ae,de]=Qd(A,j);H=wo(U.reverse(),"beforeRouteLeave",A,j);for(const g of U)g.leaveGuards.forEach(_=>{H.push(Ot(_,A,j))});const h=I.bind(null,A,j);return H.push(h),Ie(H).then(()=>{H=[];for(const g of s.list())H.push(Ot(g,A,j));return H.push(h),Ie(H)}).then(()=>{H=wo(ae,"beforeRouteUpdate",A,j);for(const g of ae)g.updateGuards.forEach(_=>{H.push(Ot(_,A,j))});return H.push(h),Ie(H)}).then(()=>{H=[];for(const g of de)if(g.beforeEnter)if(rt(g.beforeEnter))for(const _ of g.beforeEnter)H.push(Ot(_,A,j));else H.push(Ot(g.beforeEnter,A,j));return H.push(h),Ie(H)}).then(()=>(A.matched.forEach(g=>g.enterCallbacks={}),H=wo(de,"beforeRouteEnter",A,j,K),H.push(h),Ie(H))).then(()=>{H=[];for(const g of l.list())H.push(Ot(g,A,j));return H.push(h),Ie(H)}).catch(g=>vt(g,8)?g:Promise.reject(g))}function Y(A,j,H){a.list().forEach(U=>K(()=>U(A,j,H)))}function D(A,j,H,U,ae){const de=y(A,j);if(de)return de;const h=j===mt,g=cn?history.state:{};H&&(U||h?o.replace(A.fullPath,ce({scroll:h&&g&&g.scroll},ae)):o.push(A.fullPath,ae)),i.value=A,ot(A,j,H,h),Ct()}let Z;function _e(){Z||(Z=o.listen((A,j,H)=>{if(!vr.listening)return;const U=b(A),ae=k(U);if(ae){$(ce(ae,{replace:!0}),U).catch(jn);return}c=U;const de=i.value;cn&&_d(Ol(de.fullPath,H.delta),Zr()),R(U,de).catch(h=>vt(h,12)?h:vt(h,2)?($(h.to,U).then(g=>{vt(g,20)&&!H.delta&&H.type===Jn.pop&&o.go(-1,!1)}).catch(jn),Promise.reject()):(H.delta&&o.go(-H.delta,!1),W(h,U,de))).then(h=>{h=h||D(U,de,!1),h&&(H.delta&&!vt(h,8)?o.go(-H.delta,!1):H.type===Jn.pop&&vt(h,20)&&o.go(-1,!1)),Y(U,de,h)}).catch(jn)}))}let Ee=Pn(),G=Pn(),ne;function W(A,j,H){Ct(A);const U=G.list();return U.length?U.forEach(ae=>ae(A,j,H)):console.error(A),Promise.reject(A)}function Ze(){return ne&&i.value!==mt?Promise.resolve():new Promise((A,j)=>{Ee.add([A,j])})}function Ct(A){return ne||(ne=!A,_e(),Ee.list().forEach(([j,H])=>A?H(A):j()),Ee.reset()),A}function ot(A,j,H,U){const{scrollBehavior:ae}=e;if(!cn||!ae)return Promise.resolve();const de=!H&&Ed(Ol(A.fullPath,0))||(U||!H)&&history.state&&history.state.scroll||null;return Bt().then(()=>ae(A,j,de)).then(h=>h&&wd(h)).catch(h=>W(h,A,j))}const De=A=>o.go(A);let on;const sn=new Set,vr={currentRoute:i,listening:!0,addRoute:v,removeRoute:m,hasRoute:w,getRoutes:E,resolve:b,options:e,push:x,replace:M,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:s.add,beforeResolve:l.add,afterEach:a.add,onError:G.add,isReady:Ze,install(A){const j=this;A.component("RouterLink",Gd),A.component("RouterView",Jd),A.config.globalProperties.$router=j,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>Yt(i)}),cn&&!on&&i.value===mt&&(on=!0,x(o.location).catch(ae=>{}));const H={};for(const ae in mt)Object.defineProperty(H,ae,{get:()=>i.value[ae],enumerable:!0});A.provide(eo,j),A.provide(Ts,Oa(H)),A.provide(zo,i);const U=A.unmount;sn.add(A),A.unmount=function(){sn.delete(A),sn.size<1&&(c=mt,Z&&Z(),Z=null,i.value=mt,on=!1,ne=!1),U()}}};function Ie(A){return A.reduce((j,H)=>j.then(()=>K(H)),Promise.resolve())}return vr}function Qd(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let l=0;l_n(c,a))?r.push(a):n.push(a));const i=e.matched[l];i&&(t.matched.find(c=>_n(c,i))||o.push(i))}return[n,r,o]}function en(){return Te(eo)}function _t(){return Te(Ts)}var As=Symbol(""),ht=()=>{const e=Te(As);if(!e)throw new Error("useClientData() is called without provider.");return e},Zd=()=>ht().pageComponent,ye=()=>ht().pageData,be=()=>ht().pageFrontmatter,e2=()=>ht().pageHead,Ls=()=>ht().pageLang,t2=()=>ht().pageLayout,tn=()=>ht().routeLocale,n2=()=>ht().routes,Mi=()=>ht().siteData,Ps=()=>ht().siteLocaleData,r2=Symbol(""),Uo=We(K1),Xn=We(Y1),$i=e=>{const t=U1(e);if(Xn.value[t])return t;const n=encodeURI(t);return Xn.value[n]?n:Uo.value[t]||Uo.value[n]||t},Ht=e=>{const t=$i(e),n=Xn.value[t]??{...Xn.value["/404.html"],notFound:!0};return{path:t,notFound:!1,...n}},to=z({name:"ClientOnly",setup(e,t){const n=X(!1);return me(()=>{n.value=!0}),()=>{var r,o;return n.value?(o=(r=t.slots).default)==null?void 0:o.call(r):null}}}),Ni=z({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=Zd(),n=S(()=>{if(!e.path)return t.value;const r=Ht(e.path);return df(()=>r.loader().then(({comp:o})=>o))});return()=>u(n.value)}}),Ge=(e={})=>e,$e=e=>Zt(e)?e:`/${Ci(e)}`,o2=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}},He=({active:e=!1,activeClass:t="route-link-active",to:n,...r},{slots:o})=>{var i;const s=en(),l=$i(n),a=l.startsWith("#")||l.startsWith("?")?l:$e(l);return u("a",{...r,class:["route-link",{[t]:e}],href:a,onClick:(c={})=>{o2(c)?s.push(n).catch():Promise.resolve()}},(i=o.default)==null?void 0:i.call(o))};He.displayName="RouteLink";He.props={active:Boolean,activeClass:String,to:String};var s2="Layout",l2="en-US",zt=rr({resolveLayouts:e=>e.reduce((t,n)=>({...t,...n.layouts}),{}),resolvePageHead:(e,t,n)=>{const r=ve(t.description)?t.description:n.description,o=[...Array.isArray(t.head)?t.head:[],...n.head,["title",{},e],["meta",{name:"description",content:r}]];return j1(o)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(n=>!!n).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||l2,resolvePageLayout:(e,t)=>{const n=ve(e.frontmatter.layout)?e.frontmatter.layout:s2;if(!t[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return t[n]},resolveRouteLocale:(e,t)=>W1(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 a2={},fr=e=>{const t=tn();return S(()=>e[t.value]??{})},dt=(e,t)=>{var r;const n=(r=(t==null?void 0:t._instance)||ar())==null?void 0:r.appContext.components;return n?e in n||Qe(e)in n||nr(Qe(e))in n:!1},i2=e=>typeof e<"u",_o=e=>typeof e=="number",Wo=Array.isArray,Cn=(e,t)=>ve(e)&&e.startsWith(t),c2=(e,t)=>ve(e)&&e.endsWith(t),Rs=Object.entries,u2=Object.fromEntries,xn=Object.keys,f2=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},no=e=>Cn(e,"/"),d2="http://.",p2=(e,t)=>{if(no(e)||typeof t!="string")return Ht(e);const n=t.slice(0,t.lastIndexOf("/"));return Ht(new URL(`${n}/${encodeURI(e)}`,d2).pathname)},Di=e=>new Promise(t=>setTimeout(t,e));function Fi(e,t){let n,r,o;const s=X(!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=gs((f,d)=>(r=f,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 nn(e){return _a()?(yu(e),!0):!1}function Ae(e){return typeof e=="function"?e():Yt(e)}const dr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const h2=e=>e!=null,v2=Object.prototype.toString,g2=e=>v2.call(e)==="[object Object]",Jt=()=>{},ql=m2();function m2(){var e,t;return dr&&((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 Is(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 Hi=e=>e();function y2(e,t={}){let n,r,o=Jt;const s=a=>{clearTimeout(a),o(),o=Jt};return a=>{const i=Ae(e),c=Ae(t.maxWait);return n&&s(n),i<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,f(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,f(a())},i)})}}function b2(...e){let t=0,n,r=!0,o=Jt,s,l,a,i,c;!Pe(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 f=()=>{n&&(clearTimeout(n),n=void 0,o(),o=Jt)};return p=>{const v=Ae(l),m=Date.now()-t,E=()=>s=p();return f(),v<=0?(t=Date.now(),E()):(m>v&&(i||!r)?(t=Date.now(),E()):a&&(s=new Promise((w,b)=>{o=c?b:w,n=setTimeout(()=>{t=Date.now(),r=!0,w(E()),f()},Math.max(0,v-m))})),!i&&!n&&(n=setTimeout(()=>r=!0,v)),r=!1,s)}}function w2(e=Hi){const t=X(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:or(t),pause:n,resume:r,eventFilter:o}}function _2(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 Bi(e){return e||ar()}function E2(...e){if(e.length!==1)return Gr(...e);const t=e[0];return typeof t=="function"?or(gs(()=>({get:t,set:Jt}))):X(t)}function C2(e,t=200,n={}){return Is(y2(t,n),e)}function k2(e,t=200,n=!1,r=!0,o=!1){return Is(b2(t,n,r,o),e)}function S2(e,t,n={}){const{eventFilter:r=Hi,...o}=n;return ie(e,Is(r,t),o)}function x2(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:l,resume:a,isActive:i}=w2(r);return{stop:S2(e,t,{...o,eventFilter:s}),pause:l,resume:a,isActive:i}}function ro(e,t=!0,n){Bi()?me(e,n):t?e():Bt(e)}function T2(e,t){Bi(t)&&Sn(e,t)}function A2(e,t,n={}){const{immediate:r=!0}=n,o=X(!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)},Ae(t))}return r&&(o.value=!0,dr&&i()),nn(a),{isPending:or(o),start:i,stop:a}}function Go(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Pe(e),s=X(e);function l(a){if(arguments.length)return s.value=a,s.value;{const i=Ae(n);return s.value=s.value===i?Ae(r):i,s.value}}return o?l:[s,l]}function ct(e){var t;const n=Ae(e);return(t=n==null?void 0:n.$el)!=null?t:n}const pt=dr?window:void 0,ji=dr?window.document:void 0,Vi=dr?window.navigator:void 0;function Re(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=pt):[t,n,r,o]=e,!t)return Jt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],l=()=>{s.forEach(f=>f()),s.length=0},a=(f,d,p,v)=>(f.addEventListener(d,p,v),()=>f.removeEventListener(d,p,v)),i=ie(()=>[ct(t),Ae(o)],([f,d])=>{if(l(),!f)return;const p=g2(d)?{...d}:d;s.push(...n.flatMap(v=>r.map(m=>a(f,v,m,p))))},{immediate:!0,flush:"post"}),c=()=>{i(),l()};return nn(c),c}function L2(){const e=X(!1),t=ar();return t&&me(()=>{e.value=!0},t),e}function Tn(e){const t=L2();return S(()=>(t.value,!!e()))}function zi(e,t={}){const{window:n=pt}=t,r=Tn(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=X(!1),l=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},i=qa(()=>{r.value&&(a(),o=n.matchMedia(Ae(e)),"addEventListener"in o?o.addEventListener("change",l):o.addListener(l),s.value=o.matches)});return nn(()=>{i(),a(),o=void 0}),s}function Kl(e,t={}){const{controls:n=!1,navigator:r=Vi}=t,o=Tn(()=>r&&"permissions"in r);let s;const l=typeof e=="string"?{name:e}:e,a=X(),i=()=>{s&&(a.value=s.state)},c=_2(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(l),Re(s,"change",i),i()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function P2(e={}){const{navigator:t=Vi,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,l=Tn(()=>t&&"clipboard"in t),a=Kl("clipboard-read"),i=Kl("clipboard-write"),c=S(()=>l.value||s),f=X(""),d=X(!1),p=A2(()=>d.value=!1,o);function v(){l.value&&b(a.value)?t.clipboard.readText().then(C=>{f.value=C}):f.value=w()}c.value&&n&&Re(["copy","cut"],v);async function m(C=Ae(r)){c.value&&C!=null&&(l.value&&b(i.value)?await t.clipboard.writeText(C):E(C),f.value=C,d.value=!0,p.start())}function E(C){const y=document.createElement("textarea");y.value=C??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function w(){var C,y,x;return(x=(y=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:y.toString())!=null?x:""}function b(C){return C==="granted"||C==="prompt"}return{isSupported:c,text:f,copied:d,copy:m}}const Sr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xr="__vueuse_ssr_handlers__",R2=I2();function I2(){return xr in Sr||(Sr[xr]=Sr[xr]||{}),Sr[xr]}function O2(e,t){return R2[e]||t}function M2(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const $2={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Yl="vueuse-storage";function oo(e,t,n,r={}){var o;const{flush:s="pre",deep:l=!0,listenToStorageChanges:a=!0,writeDefaults:i=!0,mergeDefaults:c=!1,shallow:f,window:d=pt,eventFilter:p,onError:v=R=>{console.error(R)},initOnMounted:m}=r,E=(f?We:X)(typeof t=="function"?t():t);if(!n)try{n=O2("getDefaultStorage",()=>{var R;return(R=pt)==null?void 0:R.localStorage})()}catch(R){v(R)}if(!n)return E;const w=Ae(t),b=M2(w),C=(o=r.serializer)!=null?o:$2[b],{pause:y,resume:x}=x2(E,()=>k(E.value),{flush:s,deep:l,eventFilter:p});d&&a&&ro(()=>{Re(d,"storage",I),Re(d,Yl,K),m&&I()}),m||I();function M(R,Y){d&&d.dispatchEvent(new CustomEvent(Yl,{detail:{key:e,oldValue:R,newValue:Y,storageArea:n}}))}function k(R){try{const Y=n.getItem(e);if(R==null)M(Y,null),n.removeItem(e);else{const D=C.write(R);Y!==D&&(n.setItem(e,D),M(Y,D))}}catch(Y){v(Y)}}function $(R){const Y=R?R.newValue:n.getItem(e);if(Y==null)return i&&w!=null&&n.setItem(e,C.write(w)),w;if(!R&&c){const D=C.read(Y);return typeof c=="function"?c(D,w):b==="object"&&!Array.isArray(D)?{...w,...D}:D}else return typeof Y!="string"?Y:C.read(Y)}function I(R){if(!(R&&R.storageArea!==n)){if(R&&R.key==null){E.value=w;return}if(!(R&&R.key!==e)){y();try{(R==null?void 0:R.newValue)!==C.write(E.value)&&(E.value=$(R))}catch(Y){v(Y)}finally{R?Bt(x):x()}}}}function K(R){I(R.detail)}return E}function N2(e){return zi("(prefers-color-scheme: dark)",e)}function D2(e,t,n={}){const{window:r=pt,...o}=n;let s;const l=Tn(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=S(()=>{const p=Ae(e),v=(Array.isArray(p)?p:[p]).map(ct).filter(h2);return new Set(v)}),c=ie(()=>i.value,p=>{a(),l.value&&r&&p.size&&(s=new MutationObserver(t),p.forEach(v=>s.observe(v,o)))},{immediate:!0,flush:"post"}),f=()=>s==null?void 0:s.takeRecords(),d=()=>{a(),c()};return nn(d),{isSupported:l,stop:d,takeRecords:f}}function F2(e,t,n={}){const{window:r=pt,...o}=n;let s;const l=Tn(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},i=S(()=>Array.isArray(e)?e.map(d=>ct(d)):[ct(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"}),f=()=>{a(),c()};return nn(f),{isSupported:l,stop:f}}function H2(e,t={width:0,height:0},n={}){const{window:r=pt,box:o="content-box"}=n,s=S(()=>{var d,p;return(p=(d=ct(e))==null?void 0:d.namespaceURI)==null?void 0:p.includes("svg")}),l=X(t.width),a=X(t.height),{stop:i}=F2(e,([d])=>{const p=o==="border-box"?d.borderBoxSize:o==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(r&&s.value){const v=ct(e);if(v){const m=r.getComputedStyle(v);l.value=Number.parseFloat(m.width),a.value=Number.parseFloat(m.height)}}else if(p){const v=Array.isArray(p)?p:[p];l.value=v.reduce((m,{inlineSize:E})=>m+E,0),a.value=v.reduce((m,{blockSize:E})=>m+E,0)}else l.value=d.contentRect.width,a.value=d.contentRect.height},n);ro(()=>{const d=ct(e);d&&(l.value="offsetWidth"in d?d.offsetWidth:t.width,a.value="offsetHeight"in d?d.offsetHeight:t.height)});const c=ie(()=>ct(e),d=>{l.value=d?t.width:0,a.value=d?t.height:0});function f(){i(),c()}return{width:l,height:a,stop:f}}const Jl=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Os(e,t={}){const{document:n=ji,autoExit:r=!1}=t,o=S(()=>{var b;return(b=ct(e))!=null?b:n==null?void 0:n.querySelector("html")}),s=X(!1),l=S(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),a=S(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||o.value&&b in o.value)),i=S(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||o.value&&b in o.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),f=Tn(()=>o.value&&n&&l.value!==void 0&&a.value!==void 0&&i.value!==void 0),d=()=>c?(n==null?void 0:n[c])===o.value:!1,p=()=>{if(i.value){if(n&&n[i.value]!=null)return n[i.value];{const b=o.value;if((b==null?void 0:b[i.value])!=null)return!!b[i.value]}}return!1};async function v(){if(!(!f.value||!s.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const b=o.value;(b==null?void 0:b[a.value])!=null&&await b[a.value]()}s.value=!1}}async function m(){if(!f.value||s.value)return;p()&&await v();const b=o.value;l.value&&(b==null?void 0:b[l.value])!=null&&(await b[l.value](),s.value=!0)}async function E(){await(s.value?v():m())}const w=()=>{const b=p();(!b||b&&d())&&(s.value=b)};return Re(n,Jl,w,!1),Re(()=>ct(o),Jl,w,!1),r&&nn(v),{isSupported:f,isFullscreen:s,enter:m,exit:v,toggle:E}}function Eo(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Co(e,t=Jt,n={}){const{immediate:r=!0,manual:o=!1,type:s="text/javascript",async:l=!0,crossOrigin:a,referrerPolicy:i,noModule:c,defer:f,document:d=ji,attrs:p={}}=n,v=X(null);let m=null;const E=C=>new Promise((y,x)=>{const M=I=>(v.value=I,y(I),I);if(!d){y(!1);return}let k=!1,$=d.querySelector(`script[src="${Ae(e)}"]`);$?$.hasAttribute("data-loaded")&&M($):($=d.createElement("script"),$.type=s,$.async=l,$.src=Ae(e),f&&($.defer=f),a&&($.crossOrigin=a),c&&($.noModule=c),i&&($.referrerPolicy=i),Object.entries(p).forEach(([I,K])=>$==null?void 0:$.setAttribute(I,K)),k=!0),$.addEventListener("error",I=>x(I)),$.addEventListener("abort",I=>x(I)),$.addEventListener("load",()=>{$.setAttribute("data-loaded","true"),t($),M($)}),k&&($=d.head.appendChild($)),C||M($)}),w=(C=!0)=>(m||(m=E(C)),m),b=()=>{if(!d)return;m=null,v.value&&(v.value=null);const C=d.querySelector(`script[src="${Ae(e)}"]`);C&&d.head.removeChild(C)};return r&&!o&&ro(w),o||T2(b),{scriptTag:v,load:w,unload:b}}function Ui(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 Tr=new WeakMap;function Wi(e,t=!1){const n=X(t);let r=null;ie(E2(e),l=>{const a=Eo(Ae(l));if(a){const i=a;Tr.get(i)||Tr.set(i,i.style.overflow),n.value&&(i.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Eo(Ae(e));!l||n.value||(ql&&(r=Re(l,"touchmove",a=>{B2(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},s=()=>{var l;const a=Eo(Ae(e));!a||!n.value||(ql&&(r==null||r()),a.style.overflow=(l=Tr.get(a))!=null?l:"",Tr.delete(a),n.value=!1)};return nn(s),S({get(){return n.value},set(l){l?o():s()}})}function Gi(e,t,n={}){const{window:r=pt}=n;return oo(e,t,r==null?void 0:r.sessionStorage,n)}function j2(e={}){const{window:t=pt,behavior:n="auto"}=e;if(!t)return{x:X(0),y:X(0)};const r=X(t.scrollX),o=X(t.scrollY),s=S({get(){return r.value},set(a){scrollTo({left:a,behavior:n})}}),l=S({get(){return o.value},set(a){scrollTo({top:a,behavior:n})}});return Re(t,"scroll",()=>{r.value=t.scrollX,o.value=t.scrollY},{capture:!1,passive:!0}),{x:s,y:l}}function V2(e={}){const{window:t=pt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,l=X(n),a=X(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(),ro(i),Re("resize",i,{passive:!0}),o){const c=zi("(orientation: portrait)");ie(c,()=>i())}return{width:l,height:a}}var z2=z({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(e){const t=S(()=>{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=S(()=>{const r={};return e.color&&(r.color=e.color),e.size&&(r["font-size"]=Number.isNaN(Number(e.size))?e.size:`${e.size}px`),xn(r).length?r:null});return()=>e.icon?u("span",{key:e.icon,class:t.value,style:n.value}):null}});const qi=({type:e="info",text:t="",vertical:n,color:r},{slots:o})=>{var s;return u("span",{class:["vp-badge",e,{diy:r}],style:{verticalAlign:n??!1,backgroundColor:r??!1}},((s=o.default)==null?void 0:s.call(o))||t)};qi.displayName="Badge";const Ki=({title:e,desc:t="",logo:n,background:r,color:o,link:s})=>{const l=[n?u("img",{class:"vp-card-logo",src:$e(n),loading:"lazy","no-view":""}):null,u("div",{class:"vp-card-content"},[u("div",{class:"vp-card-title",innerHTML:e}),u("hr"),u("div",{class:"vp-card-desc",innerHTML:t})])],a={};return r&&(a.background=r),o&&(a.color=o),s?Xr(s)?u("a",{class:"vp-card",href:s,target:"_blank",style:a},l):u(He,{to:s,class:"vp-card",style:a},()=>l):u("div",{class:"vp-card",style:a},l)};Ki.displayName="VPCard";const U2=Ge({enhance:({app:e})=>{dt("FontIcon")||e.component("FontIcon",z2),dt("Badge")||e.component("Badge",qi),dt("VPCard")||e.component("VPCard",Ki)},setup:()=>{Co("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Co("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Co("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),Xl=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},W2=({headerLinkSelector:e,headerAnchorSelector:t,delay:n,offset:r=5})=>{const o=en();Re("scroll",C2(()=>{var m,E;const l=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(l-0)d.some(b=>b.hash===w.hash));for(let w=0;w=(((m=b.parentElement)==null?void 0:m.offsetTop)??0)-r,x=!C||l<(((E=C.parentElement)==null?void 0:E.offsetTop)??0)-r;if(!(y&&x))continue;const k=decodeURIComponent(o.currentRoute.value.hash),$=decodeURIComponent(b.hash);if(k===$)return;if(f){for(let I=w+1;Ive(e.title)?{title:e.title}:null;const Ji=Symbol(""),X2=e=>{Yi=e},Q2=()=>Te(Ji),Z2=e=>{e.provide(Ji,Yi)};var e0={"/":{title:"Catalog",empty:"No catalog"}};const t0=z({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(e){const t=Q2(),n=fr(e0),r=ye(),o=n2(),s=Mi(),a=We(Rs(o.value).map(([c,{meta:f}])=>{const d=t(f);if(!d)return null;const p=c.split("/").length;return{level:c2(c,"/")?p-2:p-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>ur(c)&&ve(c.title))),i=S(()=>{const c=e.base?V1(Ei(e.base)):r.value.path.replace(/\/[^/]+$/,"/"),f=c.split("/").length-2,d=[];return a.value.filter(({level:p,path:v})=>{if(!Cn(v,c)||v===c)return!1;if(c==="/"){const m=xn(s.value.locales).filter(E=>E!=="/");if(v==="/404.html"||m.some(E=>Cn(v,E)))return!1}return p-f<=e.level}).sort(({title:p,level:v,order:m},{title:E,level:w,order:b})=>{const C=v-w;return C||(_o(m)?_o(b)?m>0?b>0?m-b:-1:b<0?m-b:1:m:_o(b)?b:p.localeCompare(E))}).forEach(p=>{var E;const{base:v,level:m}=p;switch(m-f){case 1:{d.push(p);break}case 2:{const w=d.find(b=>b.path===v);w&&(w.children??(w.children=[])).push(p);break}default:{const w=d.find(b=>b.path===v.replace(/\/[^/]+\/$/,"/"));if(w){const b=(E=w.children)==null?void 0:E.find(C=>C.path===v);b&&(b.children??(b.children=[])).push(p)}}}}),d});return()=>{const c=i.value.some(f=>f.children);return u("div",{class:["vp-catalog-wrapper",{index:e.index}]},[e.hideHeading?null:u("h2",{class:"vp-catalog-main-title"},n.value.title),i.value.length?u(e.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},i.value.map(({children:f=[],title:d,path:p,content:v})=>{const m=u(He,{class:"vp-catalog-title",to:p},()=>v?u(v):d);return u("li",{class:"vp-catalog"},c?[u("h3",{id:d,class:["vp-catalog-child-title",{"has-children":f.length}]},[u("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),f.length?u(e.index?"ol":"ul",{class:"vp-child-catalogs"},f.map(({children:E=[],content:w,path:b,title:C})=>u("li",{class:"vp-child-catalog"},[u("div",{class:["vp-catalog-sub-title",{"has-children":E.length}]},[u("a",{href:`#${C}`,class:"vp-catalog-header-anchor"},"#"),u(He,{class:"vp-catalog-title",to:b},()=>w?u(w):C)]),E.length?u(e.index?"ol":"div",{class:e.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},E.map(({content:y,path:x,title:M})=>e.index?u("li",{class:"vp-sub-catalog"},u(He,{to:x},()=>y?u(y):M)):u(He,{class:"vp-sub-catalog-link",to:x},()=>y?u(y):M))):null]))):null]:u("div",{class:"vp-catalog-child-title"},m))})):u("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),n0=Ge({enhance:({app:e})=>{Z2(e),dt("Catalog",e)||e.component("Catalog",t0)}});var r0={"/":{backToTop:"Back to top"}};const o0=z({name:"BackToTop",setup(){const e=be(),t=fr(r0),n=We(),{height:r}=H2(n),{height:o}=V2(),{y:s}=j2(),l=S(()=>e.value.backToTop!==!1&&s.value>100),a=S(()=>s.value/(r.value-o.value)*100);return me(()=>{n.value=document.body}),()=>u(Ft,{name:"back-to-top"},()=>l.value?u("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[u("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},u("svg",u("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*a.value*.48} ${Math.PI*(100-a.value)*.48}`}))),u("div",{class:"back-to-top-icon"})]):null)}}),s0=Ge({rootComponents:[o0]}),l0=u("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"},[u("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"}),u("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"})]),Xi=z({name:"ExternalLinkIcon",props:{locales:{type:Object,default:()=>({})}},setup(e){const t=tn(),n=S(()=>e.locales[t.value]??{openInNewWindow:"open in new window"});return()=>u("span",[l0,u("span",{class:"external-link-icon-sr-only"},n.value.openInNewWindow)])}});var a0={};const i0=a0,c0=Ge({enhance({app:e}){e.component("ExternalLinkIcon",u(Xi,{locales:i0}))}});/** - * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress - * @license MIT - */const se={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=se.isStarted();e=ko(e,se.settings.minimum,1),se.status=e===1?null:e;const n=se.render(!t),r=n.querySelector(se.settings.barSelector),o=se.settings.speed,s=se.settings.easing;return n.offsetWidth,u0(l=>{Ar(r,{transform:"translate3d("+Ql(e)+"%,0,0)",transition:"all "+o+"ms "+s}),e===1?(Ar(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(function(){Ar(n,{transition:"all "+o+"ms linear",opacity:"0"}),setTimeout(function(){se.remove(),l()},o)},o)):setTimeout(()=>l(),o)}),se},isStarted:()=>typeof se.status=="number",start:()=>{se.status||se.set(0);const e=()=>{setTimeout(()=>{se.status&&(se.trickle(),e())},se.settings.trickleSpeed)};return se.settings.trickle&&e(),se},done:e=>!e&&!se.status?se:se.inc(.3+.5*Math.random()).set(1),inc:e=>{let t=se.status;return t?(typeof e!="number"&&(e=(1-t)*ko(Math.random()*t,.1,.95)),t=ko(t+e,0,.994),se.set(t)):se.start()},trickle:()=>se.inc(Math.random()*se.settings.trickleRate),render:e=>{if(se.isRendered())return document.getElementById("nprogress");Zl(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=se.settings.template;const n=t.querySelector(se.settings.barSelector),r=e?"-100":Ql(se.status||0),o=document.querySelector(se.settings.parent);return Ar(n,{transition:"all 0 linear",transform:"translate3d("+r+"%,0,0)"}),o!==document.body&&Zl(o,"nprogress-custom-parent"),o==null||o.appendChild(t),t},remove:()=>{ea(document.documentElement,"nprogress-busy"),ea(document.querySelector(se.settings.parent),"nprogress-custom-parent");const e=document.getElementById("nprogress");e&&f0(e)},isRendered:()=>!!document.getElementById("nprogress")},ko=(e,t,n)=>en?n:e,Ql=e=>(-1+e)*100,u0=function(){const e=[];function t(){const n=e.shift();n&&n(t)}return function(n){e.push(n),e.length===1&&t()}}(),Ar=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 f;for(;i--;)if(f=e[i]+c,f in a)return f;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)}}}(),Qi=(e,t)=>(typeof e=="string"?e:Ms(e)).indexOf(" "+t+" ")>=0,Zl=(e,t)=>{const n=Ms(e),r=n+t;Qi(n,t)||(e.className=r.substring(1))},ea=(e,t)=>{const n=Ms(e);if(!Qi(e,t))return;const r=n.replace(" "+t+" "," ");e.className=r.substring(1,r.length-1)},Ms=e=>(" "+(e.className||"")+" ").replace(/\s+/gi," "),f0=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},d0=()=>{me(()=>{const e=en(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||se.start()}),e.afterEach(n=>{t.add(n.path),se.done()})})},p0=Ge({setup(){d0()}}),h0=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$kAMDwc8oAFzS/fPf.GyFruibXo7OaTfDk0JqOKH59RMTEfpX.i9Pe"]}},"author":{"name":"Aahil","url":"https://linktr.ee/thecr3ator"},"logo":"/assets/icon/node.png","repo":"Aahil13/Node-docs","docsDir":"src","footer":"Default footer","displayFooter":true,"fullscreen":true,"locales":{"/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/","/get-started/","docs/"],"sidebar":{"/":["",{"text":"Get Started","icon":"lightbulb","prefix":"get-started/","link":"get-started/","children":["installation.md","quick-start.md","what-is-nodejs.md"]},{"text":"Docs","icon":"book","prefix":"docs/","link":"docs/","children":"structure"}]}}}}`),v0=X(h0),Zi=()=>v0,ec=Symbol(""),g0=()=>{const e=Te(ec);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},m0=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},y0=Ge({enhance({app:e}){const t=Zi(),n=e._context.provides[As],r=S(()=>m0(t.value,n.routeLocale.value));e.provide(ec,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}})}});var b0={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.36/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.36/templates/giscus/dark.css",repo:"vuepress-theme-hope/giscus-discussions",repoId:"R_kgDOG_Pt2A",category:"Announcements",categoryId:"DIC_kwDOG_Pt2M4COD69"};const w0=b0;let _0=w0;const tc=Symbol(""),nc=()=>Te(tc),E0=nc,C0=e=>{e.provide(tc,_0)},rc=()=>u("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[u("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},u("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),u("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},u("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),u("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},u("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);rc.displayName="LoadingIcon";const ta=["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"],k0=z({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(e){const t=E0(),n=Ls(),r=!!(t.repo&&t.repoId&&t.category&&t.categoryId),{repo:o,repoId:s,category:l,categoryId:a}=t,i=X(!1),c=S(()=>{if(ta.includes(n.value))return n.value;const d=n.value.split("-")[0];return ta.includes(d)?d:"en"}),f=S(()=>({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 me(async()=>{await yt(()=>import("./giscus-7BMGhbDA.js"),[]),i.value=!0}),()=>r?u("div",{id:"comment",class:["giscus-wrapper",{"input-top":t.inputPosition!=="bottom"}]},i.value?u("giscus-widget",f.value):u(rc)):null}}),S0=z({name:"CommentService",props:{darkmode:Boolean},setup(e){const t=nc(),n=ye(),r=be(),o=t.comment!==!1,s=S(()=>r.value.comment||o&&r.value.comment!==!1);return()=>u(k0,{id:"vp-comment",identifier:r.value.commentID||n.value.path,darkmode:e.darkmode,style:{display:s.value?"block":"none"}})}}),x0=Ge({enhance:({app:e})=>{C0(e),e.component("CommentService",S0)}}),T0=/\b(?:Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini)/i,A0=()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator&&T0.test(navigator.userAgent),L0=({delay:e=500,duration:t=2e3,locales:n,selector:r,showInMobile:o})=>{const{copy:s,copied:l}=P2({legacy:!0,copiedDuring:t}),a=fr(n),i=ye(),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","")}},f=()=>{Bt().then(()=>Di(e)).then(()=>{r.forEach(p=>{document.querySelectorAll(p).forEach(c)})})},d=(p,v,m)=>{let{innerText:E=""}=v;/language-(shellscript|shell|bash|sh|zsh)/.test(p.classList.toString())&&(E=E.replace(/^ *(\$|>) /gm,"")),s(E).then(()=>{m.classList.add("copied"),ie(l,()=>{m.classList.remove("copied"),m.blur()},{once:!0})})};me(()=>{const p=!A0()||o;p&&f(),Re("click",v=>{const m=v.target;if(m.matches('div[class*="language-"] > button.copy')){const E=m.parentElement,w=m.nextElementSibling;w&&d(E,w,m)}else if(m.matches('div[class*="language-"] div.vp-copy-icon')){const E=m.parentElement,w=E.parentElement,b=E.nextElementSibling;b&&d(w,b,E)}}),ie(()=>i.value.path,()=>{p&&f()})})};var P0={"/":{copy:"Copy code",copied:"Copied"}},R0=['.theme-hope-content div[class*="language-"] pre'];const I0=500,O0=2e3,M0=P0,$0=R0,N0=!1,D0=Ge({setup:()=>{L0({selector:$0,locales:M0,duration:O0,delay:I0,showInMobile:N0})}});let F0={};const oc=Symbol(""),H0=()=>Te(oc),B0=e=>{e.provide(oc,F0)},j0='
',V0=e=>ve(e)?Array.from(document.querySelectorAll(e)):e.map(t=>Array.from(document.querySelectorAll(t))).flat(),sc=e=>new Promise((t,n)=>{e.complete?t({type:"image",element:e,src:e.src,width:e.naturalWidth,height:e.naturalHeight,alt:e.alt,msrc:e.src}):(e.onload=()=>t(sc(e)),e.onerror=r=>n(r))}),z0=e=>{const{isSupported:t,toggle:n}=Os();e.on("uiRegister",()=>{t.value&&e.ui.registerElement({name:"fullscreen",order:7,isButton:!0,html:'',onClick:()=>{n()}}),e.ui.registerElement({name:"download",order:8,isButton:!0,tagName:"a",html:{isCustomSVG:!0,inner:'',outlineID:"pswp__icn-download"},onInit:(r,o)=>{r.setAttribute("download",""),r.setAttribute("target","_blank"),r.setAttribute("rel","noopener"),o.on("change",()=>{r.setAttribute("href",o.currSlide.data.src)})}}),e.ui.registerElement({name:"bulletsIndicator",className:"photo-swipe-bullets-indicator",appendTo:"wrapper",onInit:(r,o)=>{const s=[];let l=-1;for(let a=0;a{o.goTo(s.indexOf(c.target))},s.push(i),r.appendChild(i)}o.on("change",()=>{l>=0&&s[l].classList.remove("active"),s[o.currIndex].classList.add("active"),l=o.currIndex})}})})},U0=(e,t,n=!0)=>yt(()=>import("./photoswipe.esm-SzV8tJDW.js"),[]).then(({default:r})=>{let o=null;const s=e.map(l=>({html:j0,element:l,msrc:l.src}));return e.forEach((l,a)=>{const i=()=>{o==null||o.destroy(),o=new r({preloaderDelay:0,showHideAnimationType:"zoom",...t,dataSource:s,index:a,...n?{closeOnVerticalDrag:!0,wheelToZoom:!1}:{}}),z0(o),o.addFilter("thumbEl",()=>l),o.addFilter("placeholderSrc",()=>l.src),o.init()};l.getAttribute("photo-swipe")||(l.style.cursor="zoom-in",l.addEventListener("click",()=>{i()}),l.addEventListener("keypress",({key:c})=>{c==="Enter"&&i()}),l.setAttribute("photo-swipe","")),sc(l).then(c=>{s.splice(a,1,c),o==null||o.refreshSlideContent(a)})}),n?Re("wheel",()=>{o==null||o.close()}):()=>{}}),W0=({selector:e,locales:t,delay:n=500,scrollToClose:r=!0})=>{const o=H0(),s=fr(t),l=ye(),a=be();let i=null;const c=()=>{const{photoSwipe:f}=a.value;f!==!1&&Bt().then(()=>Di(n)).then(async()=>{const d=ve(f)?f:e;i=await U0(V0(d),{...o,...s.value},r)})};me(()=>{c(),ie(()=>l.value.path,()=>{i==null||i(),c()})}),Sn(()=>{i==null||i()})};var G0={"/":{closeTitle:"Close",downloadTitle:"Download Image",fullscreenTitle:"Switch to full screen",zoomTitle:"Zoom in/out",arrowPrevTitle:"Prev (Arrow Left)",arrowNextTitle:"Next (Arrow Right)"}};const q0=".theme-hope-content :not(a) > img:not([no-view])",K0=G0,Y0=800,J0=!0,X0=Ge({enhance:({app:e})=>{B0(e)},setup:()=>{W0({selector:q0,delay:Y0,locales:K0,scrollToClose:J0})}}),we=({name:e="",color:t="currentColor"},{slots:n})=>{var r;return u("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))};we.displayName="IconBase";const lc=(e,{slots:t})=>{var n;return(n=t.default)==null?void 0:n.call(t)},Q0=e=>Zt(e)?e:`https://github.com/${e}`,$s=(e="")=>!Zt(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,ac=()=>u(we,{name:"github"},()=>u("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"}));ac.displayName="GitHubIcon";const ic=()=>u(we,{name:"gitee"},()=>u("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"}));ic.displayName="GiteeIcon";const cc=()=>u(we,{name:"bitbucket"},()=>u("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"}));cc.displayName="BitbucketIcon";const uc=()=>u(we,{name:"source"},()=>u("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"}));uc.displayName="SourceIcon";const Z0=({link:e,type:t=$s(e??"")})=>{if(!t)return null;const n=t.toLowerCase();return u(n==="bitbucket"?cc:n==="github"?ac:n==="gitlab"?"GitLab":n==="gitee"?ic:uc)},ep=(e,t=0)=>{let n=3735928559^t,r=1103547991^t;for(let o=0,s;o>>16,2246822507),n^=Math.imul(r^r>>>13,3266489909),r=Math.imul(r^r>>>16,2246822507),r^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&r)+(n>>>0)},fc=(e,t)=>ep(e)%t,dc=/#.*$/u,tp=e=>{const t=dc.exec(e);return t?t[0]:""},na=e=>decodeURI(e).replace(dc,"").replace(/\/index\.html$/iu,"/").replace(/\.html$/iu,"").replace(/(README|index)?\.md$/iu,""),pc=(e,t)=>{if(!i2(t))return!1;const n=na(e.path),r=na(t),o=tp(t);return o?o===e.hash&&(!r||n===r):n===r};var np=e=>Object.prototype.toString.call(e)==="[object Object]",Qn=e=>typeof e=="string";const hc=Array.isArray,ra=e=>np(e)&&Qn(e.name),oa=(e,t=!1)=>e?hc(e)?e.map(n=>Qn(n)?{name:n}:ra(n)?n:null).filter(n=>n!==null):Qn(e)?[{name:e}]:ra(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],vc=(e,t)=>{if(e){if(hc(e)&&e.every(Qn))return e;if(Qn(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},rp=e=>vc(e,"category"),op=e=>vc(e,"tag"),gc=()=>{const e=ye();return S(()=>e.value.readingTime??null)},sp=(e,t)=>{const{minutes:n,words:r}=e,{less1Minute:o,word:s,time:l}=t;return{time:n<1?o:l.replace("$time",Math.round(n).toString()),words:s.replace("$word",r.toString())}};var sa={"/":{word:"About $word words",less1Minute:"Less than 1 minute",time:"About $time min"}};const la={words:"",time:""},qo=typeof sa>"u"?null:sa,lp=()=>qo?fr(qo):S(()=>null),ap=()=>{if(typeof qo>"u")return S(()=>la);const e=gc(),t=lp();return S(()=>e.value&&t.value?sp(e.value,t.value):la)},rn=()=>Zi(),fe=()=>g0(),So=()=>null,ip="719px",cp="1440px",up="true",Ns={mobileBreakPoint:ip,pcBreakPoint:cp,enableThemeColor:up,"theme-1":"#2196f3","theme-2":"#f26d6d","theme-3":"#3eaf7c","theme-4":"#fb9b5f"},Ds={"/docs/":[]},mc=e=>{const{icon:t="",color:n,size:r}=e,o=n||r?{}:null;return n&&(o.color=n),r&&(o.height=Number.isNaN(Number(r))?r:`${r}px`),Zt(t)?u("img",{class:"icon",src:t,alt:"","no-view":"",style:o}):no(t)?u("img",{class:"icon",src:$e(t),alt:"","aria-hidden":"","no-view":"",style:o}):u(ut("FontIcon"),e)};mc.displayName="HopeIcon";var Ne=mc;const fp="http://.",Fs=()=>{const e=en(),t=_t();return n=>{if(n)if(no(n))t.path!==n&&e.push(n);else if(Qr(n))window&&window.open(n);else{const r=t.path.slice(0,t.path.lastIndexOf("/"));e.push(new URL(`${r}/${encodeURI(n)}`,fp).pathname)}}},yc=()=>{const e=fe(),t=be();return S(()=>{const{author:n}=t.value;return n?oa(n):n===!1?[]:oa(e.value.author,!1)})},dp=()=>{const e=be();return S(()=>rp(e.value.category).map(t=>({name:t,path:""})))},pp=()=>{const e=be();return S(()=>op(e.value.tag).map(t=>({name:t,path:""})))},hp=()=>{const e=be(),t=ye();return S(()=>{const n=f2(e.value.date);if(n)return n;const{createdTime:r}=t.value.git||{};return r?new Date(r):null})},vp=()=>{const e=fe(),t=ye(),n=be(),r=yc(),o=dp(),s=pp(),l=hp(),a=gc(),i=ap(),c=S(()=>({author:r.value,category:o.value,date:l.value,localizedDate:t.value.localizedDate,tag:s.value,isOriginal:n.value.isOriginal||!1,readingTime:a.value,readingTimeLocale:i.value,pageview:"pageview"in n.value?n.value.pageview:!0})),f=S(()=>"pageInfo"in n.value?n.value.pageInfo:"pageInfo"in e.value?e.value.pageInfo:null);return{info:c,items:f}},pr=()=>{const e=rn();return S(()=>!!e.value.pure)},{mobileBreakPoint:gp,pcBreakPoint:mp}=Ns,aa=e=>e.endsWith("px")?Number(e.slice(0,-2)):null,so=()=>{const e=X(!1),t=X(!1),n=()=>{e.value=window.innerWidth<=(aa(gp)??719),t.value=window.innerWidth>=(aa(mp)??1440)};return Re("resize",n,!1),Re("orientationchange",n,!1),me(()=>{n()}),{isMobile:e,isPC:t}},bc=Symbol(""),hr=()=>{const e=Te(bc);if(!e)throw new Error("useDarkmode() is called without provider.");return e},yp=e=>{const t=rn(),n=N2(),r=S(()=>t.value.darkmode||"switch"),o=oo("vuepress-theme-hope-scheme","auto"),s=S(()=>{const a=r.value;return a==="disable"?!1:a==="enable"?!0:a==="auto"?n.value:a==="toggle"?o.value==="dark":o.value==="dark"||o.value==="auto"&&n.value}),l=S(()=>{const a=r.value;return a==="switch"||a==="toggle"});e.provide(bc,{canToggle:l,config:r,isDarkmode:s,status:o}),Object.defineProperties(e.config.globalProperties,{$isDarkmode:{get:()=>s.value}})},bp=()=>{const{config:e,isDarkmode:t,status:n}=hr();qa(()=>{e.value==="disable"?n.value="light":e.value==="enable"?n.value="dark":e.value==="toggle"&&n.value==="auto"&&(n.value="light")}),me(()=>{ie(t,r=>document.documentElement.setAttribute("data-theme",r?"dark":"light"),{immediate:!0})})},Zn=(e,t,n=!1)=>"activeMatch"in t?new RegExp(t.activeMatch,"u").test(e.path):pc(e,t.link)?!0:"children"in t&&!n?t.children.some(r=>Zn(e,r)):!1,wc=(e,t)=>t.type==="group"?t.children.some(n=>n.type==="group"?wc(e,n):n.type==="page"&&Zn(e,n,!0))||"prefix"in t&&pc(e,t.prefix):!1,Ko=e=>!Xr(e)&&!Qr(e);var it=(e=>(e.title="t",e.shortTitle="s",e.icon="i",e.index="I",e.order="O",e.breadcrumbExclude="b",e))(it||{}),wp=(e=>(e.type="y",e.author="a",e.date="d",e.localizedDate="l",e.category="c",e.tag="g",e.isEncrypted="n",e.isOriginal="o",e.readingTime="r",e.excerpt="e",e.sticky="u",e.cover="v",e))(wp||{}),_p=(e=>(e.article="a",e.home="h",e.slide="s",e.page="p",e))(_p||{});const Hs=(e,t=!1,n)=>{const{meta:r,path:o,notFound:s}=p2(e,n);return s?{text:o,link:o}:{text:!t&&r[it.shortTitle]?r[it.shortTitle]:r[it.title]||o,link:o,...r[it.icon]?{icon:r[it.icon]}:{}}},Gt=(e="",t="")=>no(t)||Qr(t)?t:`${Ei(e)}${t}`,Yo=({config:e,prefix:t=""})=>{const n=(r,o=t)=>{const s=ve(r)?Hs(Gt(o,r)):r.link?{...r,...Ko(r.link)?{link:Ht(Gt(o,r.link)).path}:{}}:r;if("children"in s){const l=Gt(o,s.prefix),a=s.children==="structure"?Ds[l]:s.children;return{type:"group",...s,prefix:l,children:a.map(i=>n(i,l))}}return{type:"page",...s}};return e.map(r=>n(r))},Ep=({config:e,page:t,headerDepth:n})=>{const r=xn(e).sort((o,s)=>s.length-o.length);for(const o of r)if(Cn(decodeURI(t.path),o)){const s=e[o];return s?Yo({config:s==="structure"?Ds[o]:s,page:t,headerDepth:n,prefix:o}):[]}return console.warn(`${t.path} is missing sidebar config.`),[]},Cp=({config:e,routeLocale:t,page:n,headerDepth:r})=>e==="structure"?Yo({config:Ds[t],page:n,headerDepth:r,prefix:t}):Wo(e)?Yo({config:e,page:n,headerDepth:r}):ur(e)?Ep({config:e,page:n,headerDepth:r}):[],_c=Symbol(""),kp=()=>{const e=be(),t=fe(),n=ye(),r=tn(),o=S(()=>e.value.home?!1:e.value.sidebar??t.value.sidebar??"structure"),s=S(()=>e.value.headerDepth??t.value.headerDepth??2),l=Fi(()=>[o.value,s.value,n.value.path,null],()=>Cp({config:o.value,routeLocale:r.value,page:n.value,headerDepth:s.value}));mn(_c,l)},Bs=()=>{const e=Te(_c);if(!e)throw new Error("useSidebarItems() is called without provider.");return e};var Sp=z({name:"PageFooter",setup(){const e=rn(),t=fe(),n=be(),r=yc(),o=S(()=>{const{copyright:c,footer:f}=n.value;return f!==!1&&!!(c||f||t.value.displayFooter)}),s=S(()=>{const{footer:c}=n.value;return c===!1?!1:ve(c)?c:t.value.footer||""}),l=S(()=>r.value.map(({name:c})=>c).join(", ")),a=c=>`Copyright © ${new Date().getFullYear()} ${l.value} ${c?`${c} Licensed`:""}`,i=S(()=>{const{copyright:c,license:f=""}=n.value,{license:d}=e.value,{copyright:p}=t.value;return c??(f?a(f):ve(p)?p:l.value||d?a(d):!1)});return()=>o.value?u("footer",{class:"vp-footer-wrapper"},[s.value?u("div",{class:"vp-footer",innerHTML:s.value}):null,i.value?u("div",{class:"vp-copyright",innerHTML:i.value}):null]):null}}),Be=z({name:"AutoLink",inheritAttrs:!1,props:{config:{type:Object,required:!0},exact:Boolean,noExternalLinkIcon:Boolean},emits:["focusout"],slots:Object,setup(e,{attrs:t,emit:n,slots:r}){const o=_t(),s=Mi(),l=Gr(e,"config"),a=S(()=>Zt(l.value.link)),i=S(()=>!a.value&&Qr(l.value.link)),c=S(()=>l.value.target||(a.value?"_blank":void 0)),f=S(()=>c.value==="_blank"),d=S(()=>!a.value&&!i.value&&!f.value),p=S(()=>l.value.rel||(f.value?"noopener noreferrer":null)),v=S(()=>l.value.ariaLabel||l.value.text),m=S(()=>{if(e.exact)return!1;const w=xn(s.value.locales);return w.length?w.every(b=>b!==l.value.link):l.value.link!=="/"}),E=S(()=>d.value?l.value.activeMatch?new RegExp(l.value.activeMatch,"u").test(o.path):m.value?Cn(o.path,l.value.link):o.path===l.value.link:!1);return()=>{const{before:w,after:b,default:C}=r,{text:y,icon:x,link:M}=l.value;return d.value?u(He,{to:M,"aria-label":v.value,...t,class:["nav-link",{active:E.value},t.class],onFocusout:()=>n("focusout")},()=>C?C():[w?w():u(Ne,{icon:x}),y,b==null?void 0:b()]):u("a",{href:M,rel:p.value,target:c.value,"aria-label":v.value,...t,class:["nav-link",t.class],onFocusout:()=>n("focusout")},C?C():[w?w():u(Ne,{icon:x}),y,e.noExternalLinkIcon?null:u(Xi),b==null?void 0:b()])}}}),xp=z({name:"NavbarDropdownLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const n=ye(),r=Gr(e,"config"),o=S(()=>r.value.ariaLabel||r.value.text),s=X(!1);ie(()=>n.value.path,()=>{s.value=!1});const l=a=>{a.detail===0&&(s.value=!s.value)};return()=>{var a;return u("div",{class:["dropdown-wrapper",{open:s.value}]},[u("button",{type:"button",class:"dropdown-title","aria-label":o.value,onClick:l},[((a=t.title)==null?void 0:a.call(t))||u("span",{class:"title"},[u(Ne,{icon:r.value.icon}),e.config.text]),u("span",{class:"arrow"}),u("ul",{class:"nav-dropdown"},r.value.children.map((i,c)=>{const f=c===r.value.children.length-1;return u("li",{class:"dropdown-item"},"children"in i?[u("h4",{class:"dropdown-subtitle"},i.link?u(Be,{config:i,onFocusout:()=>{i.children.length===0&&f&&(s.value=!1)}}):u("span",i.text)),u("ul",{class:"dropdown-subitem-wrapper"},i.children.map((d,p)=>u("li",{class:"dropdown-subitem"},u(Be,{config:d,onFocusout:()=>{p===i.children.length-1&&f&&(s.value=!1)}}))))]:u(Be,{config:i,onFocusout:()=>{f&&(s.value=!1)}}))}))])])}}});const Ec=(e,t="")=>ve(e)?Hs(Gt(t,e)):"children"in e?{...e,...e.link&&Ko(e.link)?{link:Ht(Gt(t,e.link)).path}:{},children:e.children.map(n=>Ec(n,Gt(t,e.prefix)))}:{...e,link:Ko(e.link)?Ht(Gt(t,e.link)).path:e.link},Cc=()=>{const e=fe(),t=()=>(e.value.navbar||[]).map(n=>Ec(n));return Fi(()=>e.value.navbar,()=>t())},Tp=()=>{const e=fe(),t=S(()=>e.value.repo||null),n=S(()=>t.value?Q0(t.value):null),r=S(()=>t.value?$s(t.value):null),o=S(()=>n.value?e.value.repoLabel??(r.value===null?"Source":r.value):null);return S(()=>!n.value||!o.value||e.value.repoDisplay===!1?null:{type:r.value||"Source",label:o.value,link:n.value})};var Ap=z({name:"NavScreenDropdown",props:{config:{type:Object,required:!0}},setup(e){const t=ye(),n=Gr(e,"config"),r=S(()=>n.value.ariaLabel||n.value.text),o=X(!1);ie(()=>t.value.path,()=>{o.value=!1});const s=(l,a)=>a[a.length-1]===l;return()=>[u("button",{type:"button",class:["nav-screen-dropdown-title",{active:o.value}],"aria-label":r.value,onClick:()=>{o.value=!o.value}},[u("span",{class:"title"},[u(Ne,{icon:n.value.icon}),e.config.text]),u("span",{class:["arrow",o.value?"down":"end"]})]),u("ul",{class:["nav-screen-dropdown",{hide:!o.value}]},n.value.children.map(l=>u("li",{class:"dropdown-item"},"children"in l?[u("h4",{class:"dropdown-subtitle"},l.link?u(Be,{config:l,onFocusout:()=>{s(l,n.value.children)&&l.children.length===0&&(o.value=!1)}}):u("span",l.text)),u("ul",{class:"dropdown-subitem-wrapper"},l.children.map(a=>u("li",{class:"dropdown-subitem"},u(Be,{config:a,onFocusout:()=>{s(a,l.children)&&s(l,n.value.children)&&(o.value=!1)}}))))]:u(Be,{config:l,onFocusout:()=>{s(l,n.value.children)&&(o.value=!1)}}))))]}}),Lp=z({name:"NavScreenLinks",setup(){const e=Cc();return()=>e.value.length?u("nav",{class:"nav-screen-links"},e.value.map(t=>u("div",{class:"navbar-links-item"},"children"in t?u(Ap,{config:t}):u(Be,{config:t})))):null}});const kc=()=>u(we,{name:"dark"},()=>u("path",{d:"M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z"}));kc.displayName="DarkIcon";const Sc=()=>u(we,{name:"light"},()=>u("path",{d:"M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z"}));Sc.displayName="LightIcon";const xc=()=>u(we,{name:"auto"},()=>u("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z"}));xc.displayName="AutoIcon";const Tc=()=>u(we,{name:"enter-fullscreen"},()=>u("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));Tc.displayName="EnterFullScreenIcon";const Ac=()=>u(we,{name:"cancel-fullscreen"},()=>u("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));Ac.displayName="CancelFullScreenIcon";const Lc=()=>u(we,{name:"outlook"},()=>[u("path",{d:"M224 800c0 9.6 3.2 44.8 6.4 54.4 6.4 48-48 76.8-48 76.8s80 41.6 147.2 0 134.4-134.4 38.4-195.2c-22.4-12.8-41.6-19.2-57.6-19.2C259.2 716.8 227.2 761.6 224 800zM560 675.2l-32 51.2c-51.2 51.2-83.2 32-83.2 32 25.6 67.2 0 112-12.8 128 25.6 6.4 51.2 9.6 80 9.6 54.4 0 102.4-9.6 150.4-32l0 0c3.2 0 3.2-3.2 3.2-3.2 22.4-16 12.8-35.2 6.4-44.8-9.6-12.8-12.8-25.6-12.8-41.6 0-54.4 60.8-99.2 137.6-99.2 6.4 0 12.8 0 22.4 0 12.8 0 38.4 9.6 48-25.6 0-3.2 0-3.2 3.2-6.4 0-3.2 3.2-6.4 3.2-6.4 6.4-16 6.4-16 6.4-19.2 9.6-35.2 16-73.6 16-115.2 0-105.6-41.6-198.4-108.8-268.8C704 396.8 560 675.2 560 675.2zM224 419.2c0-28.8 22.4-51.2 51.2-51.2 28.8 0 51.2 22.4 51.2 51.2 0 28.8-22.4 51.2-51.2 51.2C246.4 470.4 224 448 224 419.2zM320 284.8c0-22.4 19.2-41.6 41.6-41.6 22.4 0 41.6 19.2 41.6 41.6 0 22.4-19.2 41.6-41.6 41.6C339.2 326.4 320 307.2 320 284.8zM457.6 208c0-12.8 12.8-25.6 25.6-25.6 12.8 0 25.6 12.8 25.6 25.6 0 12.8-12.8 25.6-25.6 25.6C470.4 233.6 457.6 220.8 457.6 208zM128 505.6C128 592 153.6 672 201.6 736c28.8-60.8 112-60.8 124.8-60.8-16-51.2 16-99.2 16-99.2l316.8-422.4c-48-19.2-99.2-32-150.4-32C297.6 118.4 128 291.2 128 505.6zM764.8 86.4c-22.4 19.2-390.4 518.4-390.4 518.4-22.4 28.8-12.8 76.8 22.4 99.2l9.6 6.4c35.2 22.4 80 12.8 99.2-25.6 0 0 6.4-12.8 9.6-19.2 54.4-105.6 275.2-524.8 288-553.6 6.4-19.2-3.2-32-19.2-32C777.6 76.8 771.2 80 764.8 86.4z"})]);Lc.displayName="OutlookIcon";var Pc=z({name:"AppearanceSwitch",setup(){const{config:e,isDarkmode:t,status:n}=hr(),r=pr(),o=()=>{e.value==="switch"?n.value={light:"dark",dark:"auto",auto:"light"}[n.value]:n.value=n.value==="light"?"dark":"light"},s=async l=>{if(!(document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches&&!r.value)||!l){o();return}const a=l.clientX,i=l.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(i,innerHeight-i)),f=t.value;await document.startViewTransition(async()=>{o(),await Bt()}).ready,t.value!==f&&document.documentElement.animate({clipPath:t.value?[`circle(${c}px at ${a}px ${i}px)`,`circle(0px at ${a}px ${i}px)`]:[`circle(0px at ${a}px ${i}px)`,`circle(${c}px at ${a}px ${i}px)`]},{duration:400,pseudoElement:t.value?"::view-transition-old(root)":"::view-transition-new(root)"})};return()=>u("button",{type:"button",id:"appearance-switch",onClick:s},[u(xc,{style:{display:n.value==="auto"?"block":"none"}}),u(kc,{style:{display:n.value==="dark"?"block":"none"}}),u(Sc,{style:{display:n.value==="light"?"block":"none"}})])}}),Pp=z({name:"AppearanceMode",setup(){const e=fe(),{canToggle:t}=hr(),n=S(()=>e.value.outlookLocales.darkmode);return()=>t.value?u("div",{class:"appearance-wrapper"},[u("label",{class:"appearance-title",for:"appearance-switch"},n.value),u(Pc)]):null}});const xo="VUEPRESS_THEME_COLOR";var Rp=z({name:"ThemeColorPicker",props:{themeColor:{type:Object,required:!0}},setup(e){const t=(n="")=>{const r=document.documentElement.classList,o=xn(e.themeColor);if(!n){localStorage.removeItem(xo),r.remove(...o);return}r.remove(...o.filter(s=>s!==n)),r.add(n),localStorage.setItem(xo,n)};return me(()=>{const n=localStorage.getItem(xo);n&&t(n)}),()=>u("ul",{id:"theme-color-picker"},[u("li",u("span",{class:"theme-color",onClick:()=>t()})),Rs(e.themeColor).map(([n,r])=>u("li",u("span",{style:{background:r},onClick:()=>t(n)})))])}});const To=Ns.enableThemeColor==="true",Ip=u2(Rs(Ns).filter(([e])=>e.startsWith("theme-")));var Op=z({name:"ThemeColor",setup(){const e=fe(),t=S(()=>e.value.outlookLocales.themeColor);return()=>u("div",{class:"theme-color-wrapper"},[u("label",{class:"theme-color-title",for:"theme-color-picker"},t.value),u(Rp,{themeColor:Ip})])}}),Rc=z({name:"ToggleFullScreenButton",setup(){const e=fe(),{isSupported:t,isFullscreen:n,toggle:r}=Os(),o=S(()=>e.value.outlookLocales.fullscreen);return()=>t?u("div",{class:"full-screen-wrapper"},[u("label",{class:"full-screen-title",for:"full-screen-switch"},o.value),u("button",{type:"button",id:"full-screen-switch",class:"full-screen",ariaPressed:n.value,onClick:()=>r()},n.value?u(Ac):u(Tc))]):null}}),Ic=z({name:"OutlookSettings",setup(){const e=rn(),t=pr(),n=S(()=>!t.value&&e.value.fullscreen);return()=>u(to,()=>[u(Op),u(Pp),n.value?u(Rc):null])}}),Mp=z({name:"NavScreen",props:{show:Boolean},emits:["close"],slots:Object,setup(e,{emit:t,slots:n}){const r=ye(),{isMobile:o}=so(),s=We(),l=Wi(s);return me(()=>{s.value=document.body,ie(o,a=>{!a&&e.show&&(l.value=!1,t("close"))}),ie(()=>r.value.path,()=>{l.value=!1,t("close")})}),Sn(()=>{l.value=!1}),()=>u(Ft,{name:"fade",onEnter:()=>{l.value=!0},onAfterLeave:()=>{l.value=!1}},()=>{var a,i;return e.show?u("div",{id:"nav-screen"},u("div",{class:"vp-nav-screen-container"},[(a=n.before)==null?void 0:a.call(n),u(Lp),u("div",{class:"vp-outlook-wrapper"},u(Ic)),(i=n.after)==null?void 0:i.call(n)])):null})}}),$p=z({name:"NavbarBrand",setup(){const e=tn(),t=Ps(),n=fe(),r=S(()=>n.value.home||e.value),o=S(()=>t.value.title),s=S(()=>n.value.navTitle??o.value),l=S(()=>n.value.logo?$e(n.value.logo):null),a=S(()=>n.value.logoDark?$e(n.value.logoDark):null);return()=>u(He,{to:r.value,class:"vp-brand"},()=>[l.value?u("img",{class:["vp-nav-logo",{light:!!a.value}],src:l.value,alt:""}):null,a.value?u("img",{class:["vp-nav-logo dark"],src:a.value,alt:""}):null,s.value?u("span",{class:["vp-site-name",{"hide-in-pad":l.value&&n.value.hideSiteNameOnMobile!==!1}]},s.value):null])}}),Np=z({name:"NavbarLinks",setup(){const e=Cc();return()=>e.value.length?u("nav",{class:"vp-nav-links"},e.value.map(t=>u("div",{class:"vp-nav-item hide-in-mobile"},"children"in t?u(xp,{config:t}):u(Be,{config:t})))):null}}),Dp=z({name:"RepoLink",setup(){const e=Tp();return()=>e.value?u("div",{class:"vp-nav-item vp-action"},u("a",{class:"vp-action-link",href:e.value.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.value.label},u(Z0,{type:e.value.type,style:{width:"1.25rem",height:"1.25rem",verticalAlign:"middle"}}))):null}});const Oc=({active:e=!1},{emit:t})=>u("button",{type:"button",class:["vp-toggle-navbar-button",{"is-active":e}],"aria-label":"Toggle Navbar","aria-expanded":e,"aria-controls":"nav-screen",onClick:()=>t("toggle")},u("span",[u("span",{class:"vp-top"}),u("span",{class:"vp-middle"}),u("span",{class:"vp-bottom"})]));Oc.displayName="ToggleNavbarButton";var Fp=Oc;const Jo=(e,{emit:t})=>u("button",{type:"button",class:"vp-toggle-sidebar-button",title:"Toggle Sidebar",onClick:()=>t("toggle")},u("span",{class:"icon"}));Jo.displayName="ToggleSidebarButton",Jo.emits=["toggle"];var Hp=Jo,Bp=z({name:"OutlookButton",setup(){const{isSupported:e}=Os(),t=rn(),n=pr(),r=ye(),{canToggle:o}=hr(),s=X(!1),l=S(()=>!n.value&&t.value.fullscreen&&e);return ie(()=>r.value.path,()=>{s.value=!1}),()=>o.value||l.value||To?u("div",{class:"vp-nav-item hide-in-mobile"},o.value&&!l.value&&!To?u(Pc):l.value&&!o.value&&!To?u(Rc):u("button",{type:"button",class:["outlook-button",{open:s.value}],tabindex:"-1","aria-hidden":!0},[u(Lc),u("div",{class:"outlook-dropdown"},u(Ic))])):null}}),jp=z({name:"NavBar",emits:["toggleSidebar"],slots:Object,setup(e,{emit:t,slots:n}){const r=fe(),{isMobile:o}=so(),s=X(!1),l=S(()=>{const{navbarAutoHide:f="mobile"}=r.value;return f!=="none"&&(f==="always"||o.value)}),a=S(()=>r.value.navbarLayout||{start:["Brand"],center:["Links"],end:["Language","Repo","Outlook","Search"]}),i={Brand:$p,Language:So,Links:Np,Repo:Dp,Outlook:Bp,Search:dt("Docsearch")?ut("Docsearch"):dt("SearchBox")?ut("SearchBox"):So},c=f=>i[f]??(dt(f)?ut(f):So);return()=>{var f,d,p,v,m,E;return[u("header",{key:"navbar",id:"navbar",class:["vp-navbar",{"auto-hide":l.value,"hide-icon":r.value.navbarIcon===!1}]},[u("div",{class:"vp-navbar-start"},[u(Hp,{onToggle:()=>{s.value&&(s.value=!1),t("toggleSidebar")}}),(f=n.startBefore)==null?void 0:f.call(n),(a.value.start||[]).map(w=>u(c(w))),(d=n.startAfter)==null?void 0:d.call(n)]),u("div",{class:"vp-navbar-center"},[(p=n.centerBefore)==null?void 0:p.call(n),(a.value.center||[]).map(w=>u(c(w))),(v=n.centerAfter)==null?void 0:v.call(n)]),u("div",{class:"vp-navbar-end"},[(m=n.endBefore)==null?void 0:m.call(n),(a.value.end||[]).map(w=>u(c(w))),(E=n.endAfter)==null?void 0:E.call(n),u(Fp,{active:s.value,onToggle:()=>{s.value=!s.value}})])]),u(Mp,{show:s.value,onClose:()=>{s.value=!1}},{before:()=>{var w;return(w=n.screenTop)==null?void 0:w.call(n)},after:()=>{var w;return(w=n.screenBottom)==null?void 0:w.call(n)}})]}}}),Vp=z({name:"SidebarChild",props:{config:{type:Object,required:!0}},setup(e){const t=_t();return()=>ve(e.config.link)?u(Be,{class:["vp-sidebar-link","vp-sidebar-page",{active:Zn(t,e.config,!0)}],exact:!0,config:e.config}):u("p",e,[u(Ne,{icon:e.config.icon}),e.config.text])}}),zp=z({name:"SidebarGroup",props:{config:{type:Object,required:!0},open:{type:Boolean,required:!0}},emits:["toggle"],setup(e,{emit:t}){const n=_t(),r=S(()=>Zn(n,e.config)),o=S(()=>Zn(n,e.config,!0));return()=>{const{collapsible:s,children:l=[],icon:a,prefix:i,link:c,text:f}=e.config;return u("section",{class:"vp-sidebar-group"},[u(s?"button":"p",{class:["vp-sidebar-header",{clickable:s||c,exact:o.value,active:r.value}],...s?{type:"button",onClick:()=>t("toggle"),onKeydown:d=>{d.key==="Enter"&&t("toggle")}}:{}},[u(Ne,{icon:a}),c?u(Be,{class:"vp-sidebar-title",config:{text:f,link:c},noExternalLinkIcon:!0}):u("span",{class:"vp-sidebar-title"},f),s?u("span",{class:["vp-arrow",e.open?"down":"end"]}):null]),e.open||!s?u(Mc,{key:i,config:l}):null])}}}),Mc=z({name:"SidebarLinks",props:{config:{type:Array,required:!0}},setup(e){const t=_t(),n=X(-1),r=o=>{n.value=o===n.value?-1:o};return ie(()=>t.path,()=>{const o=e.config.findIndex(s=>wc(t,s));n.value=o},{immediate:!0,flush:"post"}),()=>u("ul",{class:"vp-sidebar-links"},e.config.map((o,s)=>u("li",o.type==="group"?u(zp,{config:o,open:s===n.value,onToggle:()=>r(s)}):u(Vp,{config:o}))))}}),Up=z({name:"SideBar",slots:Object,setup(e,{slots:t}){const n=_t(),r=fe(),o=Bs(),s=We();return me(()=>{ie(()=>n.hash,l=>{const a=document.querySelector(`.vp-sidebar a.vp-sidebar-link[href="${n.path}${l}"]`);if(!a)return;const{top:i,height:c}=s.value.getBoundingClientRect(),{top:f,height:d}=a.getBoundingClientRect();fi+c&&a.scrollIntoView(!1)},{immediate:!0})}),()=>{var l,a,i;return u("aside",{ref:s,id:"sidebar",class:["vp-sidebar",{"hide-icon":r.value.sidebarIcon===!1}],key:"sidebar"},[(l=t.top)==null?void 0:l.call(t),((a=t.default)==null?void 0:a.call(t))||u(Mc,{config:o.value}),(i=t.bottom)==null?void 0:i.call(t)])}}}),$c=z({name:"CommonWrapper",props:{containerClass:{type:String,default:""},noNavbar:Boolean,noSidebar:Boolean,noToc:Boolean},slots:Object,setup(e,{slots:t}){const n=en(),r=ye(),o=be(),s=fe(),{isMobile:l,isPC:a}=so(),[i,c]=Go(!1),[f,d]=Go(!1),p=Bs(),v=X(!1),m=S(()=>e.noNavbar||o.value.navbar===!1||s.value.navbar===!1?!1:!!(r.value.title||s.value.logo||s.value.repo||s.value.navbar)),E=S(()=>e.noSidebar?!1:o.value.sidebar!==!1&&p.value.length!==0&&!o.value.home),w=S(()=>e.noToc||o.value.home?!1:o.value.toc||s.value.toc!==!1&&o.value.toc!==!1),b={x:0,y:0},C=k=>{b.x=k.changedTouches[0].clientX,b.y=k.changedTouches[0].clientY},y=k=>{const $=k.changedTouches[0].clientX-b.x,I=k.changedTouches[0].clientY-b.y;Math.abs($)>Math.abs(I)*1.5&&Math.abs($)>40&&($>0&&b.x<=80?c(!0):c(!1))},x=()=>window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;let M=0;return Re("scroll",k2(()=>{const k=x();k<=58||k{k||c(!1)}),me(()=>{const k=Wi(document.body);ie(i,I=>{k.value=I});const $=n.afterEach(()=>{c(!1)});Sn(()=>{k.value=!1,$()})}),()=>u(dt("GlobalEncrypt")?ut("GlobalEncrypt"):lc,()=>u("div",{class:["theme-container",{"no-navbar":!m.value,"no-sidebar":!E.value&&!(t.sidebar||t.sidebarTop||t.sidebarBottom),"has-toc":w.value,"hide-navbar":v.value,"sidebar-collapsed":!l.value&&!a.value&&f.value,"sidebar-open":l.value&&i.value},e.containerClass,o.value.containerClass||""],onTouchStart:C,onTouchEnd:y},[m.value?u(jp,{onToggleSidebar:()=>c()},{startBefore:()=>{var k;return(k=t.navbarStartBefore)==null?void 0:k.call(t)},startAfter:()=>{var k;return(k=t.navbarStartAfter)==null?void 0:k.call(t)},centerBefore:()=>{var k;return(k=t.navbarCenterBefore)==null?void 0:k.call(t)},centerAfter:()=>{var k;return(k=t.navbarCenterAfter)==null?void 0:k.call(t)},endBefore:()=>{var k;return(k=t.navbarEndBefore)==null?void 0:k.call(t)},endAfter:()=>{var k;return(k=t.navbarEndAfter)==null?void 0:k.call(t)},screenTop:()=>{var k;return(k=t.navScreenTop)==null?void 0:k.call(t)},screenBottom:()=>{var k;return(k=t.navScreenBottom)==null?void 0:k.call(t)}}):null,u(Ft,{name:"fade"},()=>i.value?u("div",{class:"vp-sidebar-mask",onClick:()=>c(!1)}):null),u(Ft,{name:"fade"},()=>l.value?null:u("div",{class:"toggle-sidebar-wrapper",onClick:()=>d()},u("span",{class:["arrow",f.value?"end":"start"]}))),u(Up,{},{...t.sidebar?{default:()=>t.sidebar()}:{},top:()=>{var k;return(k=t.sidebarTop)==null?void 0:k.call(t)},bottom:()=>{var k;return(k=t.sidebarBottom)==null?void 0:k.call(t)}}),t.default(),u(Sp)]))}});const dn=z({name:"DropTransition",props:{type:{type:String,default:"single"},delay:{type:Number,default:0},duration:{type:Number,default:.25},appear:Boolean},slots:Object,setup(e,{slots:t}){const n=o=>{o.style.transition=`transform ${e.duration}s ease-in-out ${e.delay}s, opacity ${e.duration}s ease-in-out ${e.delay}s`,o.style.transform="translateY(-20px)",o.style.opacity="0"},r=o=>{o.style.transform="translateY(0)",o.style.opacity="1"};return()=>u(e.type==="single"?Ft:A1,{name:"drop",appear:e.appear,onAppear:n,onAfterAppear:r,onEnter:n,onAfterEnter:r,onBeforeLeave:n},()=>t.default())}}),Xo=({custom:e})=>u(Ni,{class:["theme-hope-content",{custom:e}]});Xo.displayName="MarkdownContent",Xo.props={custom:Boolean};var Nc=Xo;const Dc=()=>u(we,{name:"author"},()=>u("path",{d:"M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z"}));Dc.displayName="AuthorIcon";const Fc=()=>u(we,{name:"calendar"},()=>u("path",{d:"M716.4 110.137c0-18.753-14.72-33.473-33.472-33.473-18.753 0-33.473 14.72-33.473 33.473v33.473h66.993v-33.473zm-334.87 0c0-18.753-14.72-33.473-33.473-33.473s-33.52 14.72-33.52 33.473v33.473h66.993v-33.473zm468.81 33.52H716.4v100.465c0 18.753-14.72 33.473-33.472 33.473a33.145 33.145 0 01-33.473-33.473V143.657H381.53v100.465c0 18.753-14.72 33.473-33.473 33.473a33.145 33.145 0 01-33.473-33.473V143.657H180.6A134.314 134.314 0 0046.66 277.595v535.756A134.314 134.314 0 00180.6 947.289h669.74a134.36 134.36 0 00133.94-133.938V277.595a134.314 134.314 0 00-133.94-133.938zm33.473 267.877H147.126a33.145 33.145 0 01-33.473-33.473c0-18.752 14.72-33.473 33.473-33.473h736.687c18.752 0 33.472 14.72 33.472 33.473a33.145 33.145 0 01-33.472 33.473z"}));Fc.displayName="CalendarIcon";const Hc=()=>u(we,{name:"category"},()=>u("path",{d:"M148.41 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H148.41c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.311-40.31zM147.556 553.478H429.73c22.263 0 40.311 18.048 40.311 40.31v282.176c0 22.263-18.048 40.312-40.31 40.312H147.555c-22.263 0-40.311-18.049-40.311-40.312V593.79c0-22.263 18.048-40.311 40.31-40.311zM593.927 106.992h282.176c22.263 0 40.31 18.048 40.31 40.31V429.48c0 22.263-18.047 40.31-40.31 40.31H593.927c-22.263 0-40.311-18.047-40.311-40.31V147.302c0-22.263 18.048-40.31 40.31-40.31zM730.22 920.502H623.926c-40.925 0-74.22-33.388-74.22-74.425V623.992c0-41.038 33.387-74.424 74.425-74.424h222.085c41.038 0 74.424 33.226 74.424 74.067v114.233c0 10.244-8.304 18.548-18.547 18.548s-18.548-8.304-18.548-18.548V623.635c0-20.388-16.746-36.974-37.33-36.974H624.13c-20.585 0-37.331 16.747-37.331 37.33v222.086c0 20.585 16.654 37.331 37.126 37.331H730.22c10.243 0 18.547 8.304 18.547 18.547 0 10.244-8.304 18.547-18.547 18.547z"}));Hc.displayName="CategoryIcon";const Bc=()=>u(we,{name:"eye"},()=>u("path",{d:"M992 512.096c0-5.76-.992-10.592-1.28-11.136-.192-2.88-1.152-8.064-2.08-10.816-.256-.672-.544-1.376-.832-2.08-.48-1.568-1.024-3.104-1.6-4.32C897.664 290.112 707.104 160 512 160c-195.072 0-385.632 130.016-473.76 322.592-1.056 2.112-1.792 4.096-2.272 5.856a55.512 55.512 0 00-.64 1.6c-1.76 5.088-1.792 8.64-1.632 7.744-.832 3.744-1.568 11.168-1.568 11.168-.224 2.272-.224 4.032.032 6.304 0 0 .736 6.464 1.088 7.808.128 1.824.576 4.512 1.12 6.976h-.032c.448 2.08 1.12 4.096 1.984 6.08.48 1.536.992 2.976 1.472 4.032C126.432 733.856 316.992 864 512 864c195.136 0 385.696-130.048 473.216-321.696 1.376-2.496 2.24-4.832 2.848-6.912.256-.608.48-1.184.672-1.728 1.536-4.48 1.856-8.32 1.728-8.32l-.032.032c.608-3.104 1.568-7.744 1.568-13.28zM512 672c-88.224 0-160-71.776-160-160s71.776-160 160-160 160 71.776 160 160-71.776 160-160 160z"}));Bc.displayName="EyeIcon";const jc=()=>u(we,{name:"fire"},()=>u("path",{d:"M726.4 201.6c-12.8-9.6-28.8-6.4-38.4 0-9.6 9.6-16 25.6-9.6 38.4 6.4 12.8 9.6 28.8 12.8 44.8C604.8 83.2 460.8 38.4 454.4 35.2c-9.6-3.2-22.4 0-28.8 6.4-9.6 6.4-12.8 19.2-9.6 28.8 12.8 86.4-25.6 188.8-115.2 310.4-6.4-25.6-16-51.2-32-80-9.6-9.6-22.4-16-35.2-12.8-16 3.2-25.6 12.8-25.6 28.8-3.2 48-25.6 92.8-51.2 140.8C134.4 499.2 112 544 102.4 592c-32 150.4 99.2 329.6 233.6 380.8 9.6 3.2 19.2 6.4 32 9.6-25.6-19.2-41.6-51.2-48-96C294.4 691.2 505.6 640 515.2 460.8c153.6 105.6 224 336 137.6 505.6 3.2 0 6.4-3.2 9.6-3.2 0 0 3.2 0 3.2-3.2 163.2-89.6 252.8-208 259.2-345.6 16-211.2-163.2-390.4-198.4-412.8z"}));jc.displayName="FireIcon";const Vc=()=>u(we,{name:"print"},()=>u("path",{d:"M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z"}));Vc.displayName="PrintIcon";const zc=()=>u(we,{name:"tag"},()=>u("path",{d:"M939.902 458.563L910.17 144.567c-1.507-16.272-14.465-29.13-30.737-30.737L565.438 84.098h-.402c-3.215 0-5.726 1.005-7.634 2.913l-470.39 470.39a10.004 10.004 0 000 14.164l365.423 365.424c1.909 1.908 4.42 2.913 7.132 2.913s5.223-1.005 7.132-2.913l470.39-470.39c2.01-2.11 3.014-5.023 2.813-8.036zm-240.067-72.121c-35.458 0-64.286-28.828-64.286-64.286s28.828-64.285 64.286-64.285 64.286 28.828 64.286 64.285-28.829 64.286-64.286 64.286z"}));zc.displayName="TagIcon";const Uc=()=>u(we,{name:"timer"},()=>u("path",{d:"M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z"}));Uc.displayName="TimerIcon";const Wc=()=>u(we,{name:"word"},()=>[u("path",{d:"M518.217 432.64V73.143A73.143 73.143 0 01603.43 1.097a512 512 0 01419.474 419.474 73.143 73.143 0 01-72.046 85.212H591.36a73.143 73.143 0 01-73.143-73.143z"}),u("path",{d:"M493.714 566.857h340.297a73.143 73.143 0 0173.143 85.577A457.143 457.143 0 11371.566 117.76a73.143 73.143 0 0185.577 73.143v339.383a36.571 36.571 0 0036.571 36.571z"})]);Wc.displayName="WordIcon";const Et=()=>{const e=fe();return S(()=>e.value.metaLocales)};var Wp=z({name:"AuthorInfo",inheritAttrs:!1,props:{author:{type:Array,required:!0},pure:Boolean},setup(e){const t=Et();return()=>e.author.length?u("span",{class:"page-author-info","aria-label":`${t.value.author}${e.pure?"":"🖊"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Dc),u("span",e.author.map(n=>n.url?u("a",{class:"page-author-item",href:n.url,target:"_blank",rel:"noopener noreferrer"},n.name):u("span",{class:"page-author-item"},n.name))),u("span",{property:"author",content:e.author.map(n=>n.name).join(", ")})]):null}}),Gp=z({name:"CategoryInfo",inheritAttrs:!1,props:{category:{type:Array,required:!0},pure:Boolean},setup(e){const t=Et(),n=Fs();return()=>e.category.length?u("span",{class:"page-category-info","aria-label":`${t.value.category}${e.pure?"":"🌈"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Hc),e.category.map(({name:r,path:o})=>u("span",{class:["page-category-item",{[`category${fc(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),u("meta",{property:"articleSection",content:e.category.map(({name:r})=>r).join(",")})]):null}}),qp=z({name:"DateInfo",inheritAttrs:!1,props:{date:{type:Object,default:null},localizedDate:{type:String,default:""},pure:Boolean},setup(e){const t=Ls(),n=Et();return()=>e.date?u("span",{class:"page-date-info","aria-label":`${n.value.date}${e.pure?"":"📅"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Fc),u("span",u(to,()=>e.localizedDate||e.date.toLocaleDateString(t.value))),u("meta",{property:"datePublished",content:e.date.toISOString()||""})]):null}}),Kp=z({name:"OriginalInfo",inheritAttrs:!1,props:{isOriginal:Boolean},setup(e){const t=Et();return()=>e.isOriginal?u("span",{class:"page-original-info"},t.value.origin):null}}),Yp=z({name:"PageViewInfo",inheritAttrs:!1,props:{pageview:{type:[Boolean,String],default:!1},pure:Boolean},setup(e){const t=_t(),n=Et(),r=We(),o=X(0);return D2(r,()=>{},{childList:!0}),()=>e.pageview?u("span",{class:"page-pageview-info","aria-label":`${n.value.views}${e.pure?"":"🔢"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(o.value<1e3?Bc:jc),u("span",{ref:r,id:"ArtalkPV",class:"vp-pageview waline-pageview-count","data-path":ve(e.pageview)?e.pageview:t.path,"data-page-key":ve(e.pageview)?e.pageview:t.path},"...")]):null}}),Jp=z({name:"ReadingTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Et(),n=S(()=>{if(!e.readingTime)return null;const{minutes:r}=e.readingTime;return r<1?"PT1M":`PT${Math.round(r)}M`});return()=>{var r,o;return(r=e.readingTimeLocale)!=null&&r.time?u("span",{class:"page-reading-time-info","aria-label":`${t.value.readingTime}${e.pure?"":"⌛"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Uc),u("span",(o=e.readingTimeLocale)==null?void 0:o.time),u("meta",{property:"timeRequired",content:n.value})]):null}}}),Xp=z({name:"TagInfo",inheritAttrs:!1,props:{tag:{type:Array,default:()=>[]},pure:Boolean},setup(e){const t=Et(),n=Fs();return()=>e.tag.length?u("span",{class:"page-tag-info","aria-label":`${t.value.tag}${e.pure?"":"🏷"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(zc),e.tag.map(({name:r,path:o})=>u("span",{class:["page-tag-item",{[`tag${fc(r,9)}`]:!e.pure,clickable:o}],role:o?"navigation":"",onClick:()=>{o&&n(o)}},r)),u("meta",{property:"keywords",content:e.tag.map(({name:r})=>r).join(",")})]):null}}),Qp=z({name:"ReadTimeInfo",inheritAttrs:!1,props:{readingTime:{type:Object,default:()=>null},readingTimeLocale:{type:Object,default:()=>null},pure:Boolean},setup(e){const t=Et();return()=>{var n,r,o;return(n=e.readingTimeLocale)!=null&&n.words?u("span",{class:"page-word-info","aria-label":`${t.value.words}${e.pure?"":"🔠"}`,...e.pure?{}:{"data-balloon-pos":"up"}},[u(Wc),u("span",(r=e.readingTimeLocale)==null?void 0:r.words),u("meta",{property:"wordCount",content:(o=e.readingTime)==null?void 0:o.words})]):null}}}),Zp=z({name:"PageInfo",components:{AuthorInfo:Wp,CategoryInfo:Gp,DateInfo:qp,OriginalInfo:Kp,PageViewInfo:Yp,ReadingTimeInfo:Jp,TagInfo:Xp,WordInfo:Qp},props:{items:{type:[Array,Boolean],default:()=>["Author","Original","Date","PageView","ReadingTime","Category","Tag"]},info:{type:Object,required:!0}},setup(e){const t=pr();return()=>e.items?u("div",{class:"page-info"},e.items.map(n=>u(ut(`${n}Info`),{...e.info,pure:t.value}))):null}}),e3=z({name:"PrintButton",setup(){const e=rn(),t=fe();return()=>e.value.print===!1?null:u("button",{type:"button",class:"print-button",title:t.value.metaLocales.print,onClick:()=>{window.print()}},u(Vc))}}),t3=z({name:"TOC",props:{items:{type:Array,default:()=>[]},headerDepth:{type:Number,default:2}},slots:Object,setup(e,{slots:t}){const n=_t(),r=ye(),o=Et(),[s,l]=Go(),a=We(),i=X("-1.7rem"),c=d=>{var p;(p=a.value)==null||p.scrollTo({top:d,behavior:"smooth"})},f=()=>{if(a.value){const d=document.querySelector(".vp-toc-item.active");d?i.value=`${d.getBoundingClientRect().top-a.value.getBoundingClientRect().top+a.value.scrollTop}px`:i.value="-1.7rem"}else i.value="-1.7rem"};return me(()=>{ie(()=>n.hash,d=>{if(a.value){const p=document.querySelector(`#toc a.toc-link[href$="${d}"]`);if(!p)return;const{top:v,height:m}=a.value.getBoundingClientRect(),{top:E,height:w}=p.getBoundingClientRect();Ev+m&&c(a.value.scrollTop+E+w-v-m)}}),ie(()=>n.fullPath,f,{flush:"post",immediate:!0})}),()=>{var m,E;const d=({title:w,level:b,slug:C})=>u(He,{to:`#${C}`,class:["vp-toc-link",`level${b}`],onClick:()=>{l()}},()=>w),p=(w,b)=>w.length&&b>0?u("ul",{class:"vp-toc-list"},w.map(C=>{const y=p(C.children,b-1);return[u("li",{class:["vp-toc-item",{active:n.hash===`#${C.slug}`}]},d(C)),y?u("li",y):null]})):null,v=e.items.length?p(e.items,e.headerDepth):r.value.headers?p(r.value.headers,e.headerDepth):null;return v?u("div",{class:"vp-toc-placeholder"},[u("aside",{id:"toc"},[(m=t.before)==null?void 0:m.call(t),u("div",{class:"vp-toc-header",onClick:()=>{l()}},[o.value.toc,u(e3),u("div",{class:["arrow",s.value?"down":"end"]})]),u("div",{class:["vp-toc-wrapper",s.value?"open":""],ref:a},[v,u("div",{class:"vp-toc-marker",style:{top:i.value}})]),(E=t.after)==null?void 0:E.call(t)])]):null}}}),Gc=z({name:"SkipLink",props:{content:{type:String,default:"main-content"}},setup(e){const t=ye(),n=fe(),r=We(),o=({target:s})=>{const l=document.querySelector(s.hash);if(l){const a=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",a)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",a),l.focus(),window.scrollTo(0,0)}};return me(()=>{ie(()=>t.value.path,()=>r.value.focus())}),()=>[u("span",{ref:r,tabindex:"-1"}),u("a",{href:`#${e.content}`,class:"vp-skip-link sr-only",onClick:o},n.value.routeLocales.skipToContent)]}});let Ao=null,Rn=null;const Qo={wait:()=>Ao,pending:()=>{Ao=new Promise(e=>{Rn=e})},resolve:()=>{Rn==null||Rn(),Ao=null,Rn=null}},js=(e,{slots:t})=>u(Ft,{name:"fade-slide-y",mode:"out-in",onBeforeEnter:Qo.resolve,onBeforeLeave:Qo.pending},()=>{var n;return(n=t.default)==null?void 0:n.call(t)});js.displayName="FadeSlideY";const n3=(e,t)=>{const n=e.replace(t,"/").split("/"),r=[];let o=Ss(t);return n.forEach((s,l)=>{l!==n.length-1?(o+=`${s}/`,r.push({link:o,name:s||"Home"})):s!==""&&(o+=s,r.push({link:o,name:s}))}),r},qc=(e,{slots:t})=>{var d,p;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:a,imageDark:i,header:c,features:f=[]}=e;return u("div",{class:"vp-feature-wrapper"},[n?u("div",{class:["vp-feature-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?u("div",{class:"vp-feature-bg dark",style:[{"background-image":`url(${r})`},o]}):null,u("div",{class:"vp-feature",style:s?{color:s}:{}},[((d=t.image)==null?void 0:d.call(t,e))||[a?u("img",{class:["vp-feature-image",{light:i}],src:$e(a),alt:""}):null,i?u("img",{class:"vp-feature-image dark",src:$e(i),alt:""}):null],((p=t.info)==null?void 0:p.call(t,e))||[c?u("h2",{class:"vp-feature-header"},c):null,l?u("p",{class:"vp-feature-description",innerHTML:l}):null],f.length?u("div",{class:"vp-features"},f.map(({icon:v,title:m,details:E,link:w})=>{const b=[u("h3",{class:"vp-feature-title"},[u(Ne,{icon:v}),u("span",{innerHTML:m})]),u("p",{class:"vp-feature-details",innerHTML:E})];return w?Xr(w)?u("a",{class:"vp-feature-item link",href:w,"aria-label":m,target:"_blank"},b):u(He,{class:"vp-feature-item link",to:w,"aria-label":m},()=>b):u("div",{class:"vp-feature-item"},b)})):null])])};qc.displayName="FeaturePanel";var ia=qc,r3=z({name:"HeroInfo",slots:Object,setup(e,{slots:t}){const n=be(),r=Ps(),o=S(()=>n.value.heroFullScreen??!1),s=S(()=>{const{heroText:c,tagline:f}=n.value;return{text:c??r.value.title??"Hello",tagline:f??r.value.description??"",isFullScreen:o.value}}),l=S(()=>{const{heroText:c,heroImage:f,heroImageDark:d,heroAlt:p,heroImageStyle:v}=n.value;return{image:f?$e(f):null,imageDark:d?$e(d):null,style:v,alt:p||c||"",isFullScreen:o.value}}),a=S(()=>{const{bgImage:c,bgImageDark:f,bgImageStyle:d}=n.value;return{image:ve(c)?$e(c):null,imageDark:ve(f)?$e(f):null,bgStyle:d,isFullScreen:o.value}}),i=S(()=>n.value.actions??[]);return()=>{var c,f,d;return u("header",{class:["vp-hero-info-wrapper",{fullscreen:o.value}]},[((c=t.heroBg)==null?void 0:c.call(t,a.value))||[a.value.image?u("div",{class:["vp-hero-mask",{light:a.value.imageDark}],style:[{"background-image":`url(${a.value.image})`},a.value.bgStyle]}):null,a.value.imageDark?u("div",{class:"vp-hero-mask dark",style:[{"background-image":`url(${a.value.imageDark})`},a.value.bgStyle]}):null],u("div",{class:"vp-hero-info"},[((f=t.heroImage)==null?void 0:f.call(t,l.value))||u(dn,{appear:!0,type:"group"},()=>[l.value.image?u("img",{key:"light",class:["vp-hero-image",{light:l.value.imageDark}],style:l.value.style,src:l.value.image,alt:l.value.alt}):null,l.value.imageDark?u("img",{key:"dark",class:"vp-hero-image dark",style:l.value.style,src:l.value.imageDark,alt:l.value.alt}):null]),((d=t.heroInfo)==null?void 0:d.call(t,s.value))??u("div",{class:"vp-hero-infos"},[s.value.text?u(dn,{appear:!0,delay:.04},()=>u("h1",{id:"main-title"},s.value.text)):null,s.value.tagline?u(dn,{appear:!0,delay:.08},()=>u("p",{id:"main-description",innerHTML:s.value.tagline})):null,i.value.length?u(dn,{appear:!0,delay:.12},()=>u("p",{class:"vp-hero-actions"},i.value.map(p=>u(Be,{class:["vp-hero-action",p.type||"default"],config:p,noExternalLinkIcon:!0},p.icon?{before:()=>u(Ne,{icon:p.icon})}:{})))):null])])])}}});const Kc=(e,{slots:t})=>{var p,v,m;const{bgImage:n,bgImageDark:r,bgImageStyle:o,color:s,description:l,image:a,imageDark:i,header:c,highlights:f=[],type:d="un-order"}=e;return u("div",{class:"vp-highlight-wrapper",style:s?{color:s}:{}},[n?u("div",{class:["vp-highlight-bg",{light:r}],style:[{"background-image":`url(${n})`},o]}):null,r?u("div",{class:"vp-highlight-bg dark",style:[{"background-image":`url(${r})`},o]}):null,u("div",{class:"vp-highlight"},[((p=t.image)==null?void 0:p.call(t,e))||[a?u("img",{class:["vp-highlight-image",{light:i}],src:$e(a),alt:""}):null,i?u("img",{class:"vp-highlight-image dark",src:$e(i),alt:""}):null],((v=t.info)==null?void 0:v.call(t,e))||[u("div",{class:"vp-highlight-info-wrapper"},u("div",{class:"vp-highlight-info"},[c?u("h2",{class:"vp-highlight-header",innerHTML:c}):null,l?u("p",{class:"vp-highlight-description",innerHTML:l}):null,((m=t.highlights)==null?void 0:m.call(t,f))||u(d==="order"?"ol":d==="no-order"?"dl":"ul",{class:"vp-highlights"},f.map(({icon:E,title:w,details:b,link:C})=>{const y=[u(d==="no-order"?"dt":"h3",{class:"vp-highlight-title"},[E?u(Ne,{class:"vp-highlight-icon",icon:E}):null,u("span",{innerHTML:w})]),b?u(d==="no-order"?"dd":"p",{class:"vp-highlight-details",innerHTML:b}):null];return u(d==="no-order"?"div":"li",{class:["vp-highlight-item-wrapper",{link:C}]},C?Xr(C)?u("a",{class:"vp-highlight-item link",href:C,"aria-label":w,target:"_blank"},y):u(He,{class:"vp-highlight-item link",to:C,"aria-label":w},()=>y):u("div",{class:"vp-highlight-item"},y))}))]))]])])};Kc.displayName="HighlightPanel";var o3=Kc,s3=z({name:"HomePage",slots:Object,setup(e,{slots:t}){const n=pr(),r=be(),o=S(()=>{const{features:l}=r.value;return Wo(l)?l:null}),s=S(()=>{const{highlights:l}=r.value;return Wo(l)?l:null});return()=>{var l,a,i,c;return u("main",{id:"main-content",class:["vp-project-home ",{pure:n.value}],"aria-labelledby":r.value.heroText===null?"":"main-title"},[(l=t.top)==null?void 0:l.call(t),u(r3),((a=s.value)==null?void 0:a.map(f=>"features"in f?u(ia,f):u(o3,f)))||(o.value?u(dn,{appear:!0,delay:.24},()=>u(ia,{features:o.value})):null),(i=t.center)==null?void 0:i.call(t),u(dn,{appear:!0,delay:.32},()=>u(Nc)),(c=t.bottom)==null?void 0:c.call(t)])}}}),l3=z({name:"BreadCrumb",setup(){const e=ye(),t=tn(),n=be(),r=fe(),o=We([]),s=S(()=>(n.value.breadcrumb||n.value.breadcrumb!==!1&&r.value.breadcrumb!==!1)&&o.value.length>1),l=S(()=>n.value.breadcrumbIcon||n.value.breadcrumbIcon!==!1&&r.value.breadcrumbIcon!==!1),a=()=>{const i=n3(e.value.path,t.value).map(({link:c,name:f})=>{const{path:d,meta:p,notFound:v}=Ht(c);return v||p[it.breadcrumbExclude]?null:{title:p[it.shortTitle]||p[it.title]||f,icon:p[it.icon],path:d}}).filter(c=>c!==null);i.length>1&&(o.value=i)};return me(()=>{ie(()=>e.value.path,a,{immediate:!0})}),()=>u("nav",{class:["vp-breadcrumb",{disable:!s.value}]},s.value?u("ol",{vocab:"https://schema.org/",typeof:"BreadcrumbList"},o.value.map((i,c)=>u("li",{class:{"is-active":o.value.length-1===c},property:"itemListElement",typeof:"ListItem"},[u(He,{to:i.path,property:"item",typeof:"WebPage"},()=>[l.value?u(Ne,{icon:i.icon}):null,u("span",{property:"name"},i.title||"Unknown")]),u("meta",{property:"position",content:c+1})]))):[])}});const ca=(e,t)=>e===!1||ur(e)?e:ve(e)?Hs(e,!0,t):null,Zo=(e,t,n)=>{const r=e.findIndex(o=>o.link===t);if(r!==-1){const o=e[r+n];return o!=null&&o.link?o:null}for(const o of e)if("children"in o){const s=Zo(o.children,t,n);if(s)return s}return null};var a3=z({name:"PageNav",setup(){const e=fe(),t=be(),n=Bs(),r=ye(),o=Fs(),s=_t(),l=S(()=>{const i=ca(t.value.prev,s.path);return i===!1?null:i||(e.value.prevLink===!1?null:Zo(n.value,r.value.path,-1))}),a=S(()=>{const i=ca(t.value.next,s.path);return i===!1?null:i||(e.value.nextLink===!1?null:Zo(n.value,r.value.path,1))});return Re("keydown",i=>{i.altKey&&(i.key==="ArrowRight"?a.value&&(o(a.value.link),i.preventDefault()):i.key==="ArrowLeft"&&l.value&&(o(l.value.link),i.preventDefault()))}),()=>l.value||a.value?u("nav",{class:"vp-page-nav"},[l.value?u(Be,{class:"prev",config:l.value},()=>{var i,c;return[u("div",{class:"hint"},[u("span",{class:"arrow start"}),e.value.metaLocales.prev]),u("div",{class:"link"},[u(Ne,{icon:(i=l.value)==null?void 0:i.icon}),(c=l.value)==null?void 0:c.text])]}):null,a.value?u(Be,{class:"next",config:a.value},()=>{var i,c;return[u("div",{class:"hint"},[e.value.metaLocales.next,u("span",{class:"arrow end"})]),u("div",{class:"link"},[(i=a.value)==null?void 0:i.text,u(Ne,{icon:(c=a.value)==null?void 0:c.icon})])]}):null]):null}});const i3=()=>{const e=fe(),t=ye(),n=be();return S(()=>{var r;return n.value.contributors??e.value.contributors??!0?((r=t.value.git)==null?void 0:r.contributors)??null:null})},c3={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},u3=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=$s(e);let l;return o?l=o:s!==null&&(l=c3[s]),l?l.replace(/:repo/u,Zt(e)?e:`https://github.com/${e}`).replace(/:branch/u,t).replace(/:path/u,Ci(`${Ss(n)}/${r}`)):null},f3=()=>{const e=fe(),t=ye(),n=be();return S(()=>{const{repo:r,docsRepo:o=r,docsBranch:s="main",docsDir:l="",editLink:a,editLinkPattern:i=""}=e.value;if(!(n.value.editLink??a??!0)||!o)return null;const c=u3({docsRepo:o,docsBranch:s,docsDir:l,editLinkPattern:i,filePathRelative:t.value.filePathRelative});return c?{text:e.value.metaLocales.editLink,link:c}:null})},d3=()=>{const e=Ps(),t=fe(),n=ye(),r=be();return S(()=>{var o,s;return!(r.value.lastUpdated??t.value.lastUpdated??!0)||!((o=n.value.git)!=null&&o.updatedTime)?null:new Date((s=n.value.git)==null?void 0:s.updatedTime).toLocaleString(e.value.lang)})};var p3=z({name:"PageTitle",setup(){const e=ye(),t=be(),n=fe(),{info:r,items:o}=vp();return()=>u("div",{class:"vp-page-title"},[u("h1",[n.value.titleIcon===!1?null:u(Ne,{icon:t.value.icon}),e.value.title]),u(Zp,{info:r.value,...o.value===null?{}:{items:o.value}}),u("hr")])}});const Yc=()=>u(we,{name:"edit"},()=>[u("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),u("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})]);Yc.displayName="EditIcon";var h3=z({name:"PageMeta",setup(){const e=fe(),t=f3(),n=d3(),r=i3();return()=>{const{metaLocales:o}=e.value;return u("footer",{class:"vp-page-meta"},[t.value?u("div",{class:"vp-meta-item edit-link"},u(Be,{class:"vp-meta-label",config:t.value},{before:()=>u(Yc)})):null,u("div",{class:"vp-meta-item git-info"},[n.value?u("div",{class:"update-time"},[u("span",{class:"vp-meta-label"},`${o.lastUpdated}: `),u(to,()=>u("span",{class:"vp-meta-info"},n.value))]):null,r.value&&r.value.length?u("div",{class:"contributors"},[u("span",{class:"vp-meta-label"},`${o.contributors}: `),r.value.map(({email:s,name:l},a)=>[u("span",{class:"vp-meta-info",title:`email: ${s}`},l),a!==r.value.length-1?",":""])]):null])])}}}),v3=z({name:"NormalPage",slots:Object,setup(e,{slots:t}){const n=be(),{isDarkmode:r}=hr(),o=fe(),s=S(()=>n.value.toc||n.value.toc!==!1&&o.value.toc!==!1);return()=>u("main",{id:"main-content",class:"vp-page"},u(dt("LocalEncrypt")?ut("LocalEncrypt"):lc,()=>{var l,a,i,c;return[(l=t.top)==null?void 0:l.call(t),n.value.cover?u("div",{class:"page-cover"},u("img",{src:$e(n.value.cover),alt:"","no-view":""})):null,u(l3),u(p3),s.value?u(t3,{headerDepth:n.value.headerDepth??o.value.headerDepth??2},{before:()=>{var f;return(f=t.tocBefore)==null?void 0:f.call(t)},after:()=>{var f;return(f=t.tocAfter)==null?void 0:f.call(t)}}):null,(a=t.contentBefore)==null?void 0:a.call(t),u(Nc),(i=t.contentAfter)==null?void 0:i.call(t),u(h3),u(a3),dt("CommentService")?u(ut("CommentService"),{darkmode:r.value}):null,(c=t.bottom)==null?void 0:c.call(t)]}))}}),g3=z({name:"Layout",slots:Object,setup(e,{slots:t}){fe();const n=ye(),r=be(),{isMobile:o}=so(),s=S(()=>"none");return()=>[u(Gc),u($c,{},{default:()=>{var l;return((l=t.default)==null?void 0:l.call(t))||(r.value.home?u(s3):u(js,()=>u(v3,{key:n.value.path},{top:()=>{var a;return(a=t.top)==null?void 0:a.call(t)},bottom:()=>{var a;return(a=t.bottom)==null?void 0:a.call(t)},contentBefore:()=>{var a;return(a=t.contentBefore)==null?void 0:a.call(t)},contentAfter:()=>{var a;return(a=t.contentAfter)==null?void 0:a.call(t)},tocBefore:()=>{var a;return(a=t.tocBefore)==null?void 0:a.call(t)},tocAfter:()=>{var a;return(a=t.tocAfter)==null?void 0:a.call(t)}})))},...s.value==="none"?{}:{navScreenBottom:()=>u(ut("BloggerInfo"))},...!o.value&&s.value==="always"?{sidebar:()=>u(ut("BloggerInfo"))}:{}})]}}),m3=z({name:"NotFoundHint",setup(){const e=fe(),t=()=>{const n=e.value.routeLocales.notFoundMsg;return n[Math.floor(Math.random()*n.length)]};return()=>u("div",{class:"not-found-hint"},[u("p",{class:"error-code"},"404"),u("h1",{class:"error-title"},e.value.routeLocales.notFoundTitle),u("p",{class:"error-hint"},t())])}}),y3=z({name:"NotFound",slots:Object,setup(e,{slots:t}){const n=en(),r=tn(),o=fe();return()=>[u(Gc),u($c,{noSidebar:!0},()=>{var s;return u("main",{id:"main-content",class:"vp-page not-found"},((s=t.default)==null?void 0:s.call(t))||[u(m3),u("div",{class:"actions"},[u("button",{type:"button",class:"action-button",onClick:()=>{window.history.go(-1)}},o.value.routeLocales.back),u("button",{type:"button",class:"action-button",onClick:()=>{n.push(o.value.home??r.value)}},o.value.routeLocales.home)])])})]}});const Jc=()=>u(we,{name:"lock"},()=>u("path",{d:"M787.168 952.268H236.832c-30.395 0-55.033-24.638-55.033-55.033V429.45c0-30.395 24.638-55.034 55.033-55.034h82.55V264.35c0-106.38 86.238-192.618 192.618-192.618S704.618 157.97 704.618 264.35v110.066h82.55c30.395 0 55.033 24.639 55.033 55.034v467.785c0 30.395-24.639 55.033-55.033 55.033zM484.483 672.046v115.122h55.034V672.046c31.99-11.373 55.033-41.605 55.033-77.496 0-45.592-36.958-82.55-82.55-82.55s-82.55 36.958-82.55 82.55c0 35.89 23.042 66.123 55.033 77.496zM622.067 264.35c0-60.788-49.28-110.067-110.067-110.067s-110.067 49.28-110.067 110.067v110.066h220.135V264.35z"}));Jc.displayName="LockIcon";var b3={};const an="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),Lo=Array.from({length:64},(e,t)=>t),Lr=e=>Array(e).fill(-1),Tt=[...Lr(46),0,1,...Lo.slice(54,64),...Lr(7),...Lo.slice(2,28),...Lr(6),...Lo.slice(28,54),...Lr(5)],ua=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],fa=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],Xc=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],es=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let n=0,r,o;const s=[];for(;n>2&63]),r=(r&3)<<4,n>=t){s.push(an[r&63]);break}if(o=e[n++]&255,r|=o>>4&15,s.push(an[r&63]),r=(o&15)<<2,n>=t){s.push(an[r&63]);break}o=e[n++]&255,r|=o>>6&3,s.push(an[r&63]),s.push(an[o&63])}return s.join("")},w3=(e,t)=>{if(t<=0)throw Error(`Illegal len: ${t}`);const n=e.length;let r=0,o=0,s,l,a,i,c,f;const d=[];for(;r>>0,c|=(l&48)>>4,d.push(String.fromCharCode(c)),++o>=t||r>=n)||(f=e.charCodeAt(r++),a=f>>0,c|=(a&60)>>2,d.push(String.fromCharCode(c)),++o>=t||r>=n)));)f=e.charCodeAt(r++),i=f>>0,c|=i,d.push(String.fromCharCode(c)),++o;return d.map(p=>p.charCodeAt(0))},_3=(e,t)=>{let n=null;for(typeof e=="number"&&(n=e,e=()=>null);n!==null||(n=e())!==null;)n<128?t(n&127):n<2048?(t(n>>6&31|192),t(n&63|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(n&63|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(n&63|128)),n=null},E3=(e,t)=>{let n,r=null;for(;(n=r!==null?r:e())!==null;){if(n>=55296&&n<=57343&&(r=e())!==null&&r>=56320&&r<=57343){t((n-55296)*1024+r-56320+65536),r=null;continue}t(n)}r!==null&&t(r)},C3=(e,t)=>{E3(e,function(n){_3(n,t)})},k3=typeof process=="object"&&b3.NEXT_RUNTIME==="edge"?setTimeout:typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:setTimeout,S3=e=>{const t=[];let n=0;return C3(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t},er=(e,t,n,r)=>{let o,s=e[t],l=e[t+1];return s^=n[0],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[1],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[2],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[3],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[4],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[5],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[6],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[7],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[8],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[9],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[10],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[11],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[12],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[13],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[14],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|s&255],l^=o^n[15],o=r[l>>>24],o+=r[256|l>>16&255],o^=r[512|l>>8&255],o+=r[768|l&255],s^=o^n[16],e[t]=l^n[17],e[t+1]=s,e},un=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|e[t]&255,t=(t+1)%e.length;return{key:n,offp:t}},da=(e,t,n)=>{const r=t.length,o=n.length;let s=0,l=[0,0],a;for(let i=0;i{const o=n.length,s=r.length;let l=0,a=[0,0],i;for(let c=0;c{const s=Xc.slice(),l=s.length;if(n<4||n>31){const p=new Error(`Illegal number of rounds (4-31): ${n}`);if(r===!1)return Promise.reject(p);throw p}if(t.length!==16){const p=new Error(`Illegal salt length: ${t.length} != 16`);if(r===!1)return Promise.reject(p);throw p}n=1<>>0;let a,i,c=0,f;Int32Array?(a=new Int32Array(ua),i=new Int32Array(fa)):(a=ua.slice(),i=fa.slice()),x3(t,e,a,i);const d=()=>{if(o&&o(c/n),c100)););}else{for(c=0;c<64;c++)for(f=0;f>1;f++)er(s,f<<1,a,i);const p=[];for(c=0;c>24&255)>>>0),p.push((s[c]>>16&255)>>>0),p.push((s[c]>>8&255)>>>0),p.push((s[c]&255)>>>0);return r===!1?Promise.resolve(p):p}if(r===!1)return new Promise(p=>k3(()=>{d().then(p)}))};if(r===!1)return d();{let p;for(;;)if(typeof(p=d())<"u")return p||[]}},T3=e=>{try{let t;typeof window<"u"?t=window.crypto??window.msCrypto:t=globalThis.crypto;const n=new Uint32Array(e);return t==null||t.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}},A3=(e=10)=>{if(typeof e!="number")throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(es(T3(16),16)),t.join("")};function L3(e,t,n,r){if(typeof e!="string"||typeof t!="string"){const v=new Error("Invalid string / salt: Not a string");if(n===!1)return Promise.reject(v);throw v}let o,s;if(t.charAt(0)!=="$"||t.charAt(1)!=="2"){const v=new Error("Invalid salt version: "+t.substring(0,2));if(n===!1)return Promise.reject(v);throw v}if(t.charAt(2)==="$")o="\0",s=3;else{if(o=t.charAt(2),o!=="a"&&o!=="b"&&o!=="y"||t.charAt(3)!=="$"){const v=Error("Invalid salt revision: "+t.substring(2,4));if(n===!1)return Promise.reject(v);throw v}s=4}if(t.charAt(s+2)>"$"){const v=new Error("Missing salt rounds");if(n===!1)return Promise.reject(v);throw v}const l=parseInt(t.substring(s,s+1),10)*10,a=parseInt(t.substring(s+1,s+2),10),i=l+a,c=t.substring(s+3,s+25);e+=o>="a"?"\0":"";const f=S3(e),d=w3(c,16),p=v=>{const m=[];return m.push("$2"),o>="a"&&m.push(o),m.push("$"),i<10&&m.push("0"),m.push(i.toString()),m.push("$"),m.push(es(d,d.length)),m.push(es(v,Xc.length*4-1)),m.join("")};return n===!1?pa(f,d,i,!1,r).then(v=>p(v)):p(pa(f,d,i,!0,r))}const P3=(e,t=10)=>{if(typeof t=="number"&&(t=A3(t)),typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return L3(e,t,!0)},ts=(e,t)=>{if(typeof e!="string"||typeof t!="string")throw Error("Illegal arguments: "+typeof e+", "+typeof t);return t.length!==60?!1:P3(e,t.substring(0,t.length-31))===t};var Qc=z({name:"PasswordModal",props:{full:Boolean},emits:["verify"],setup(e,{emit:t}){const n=be(),r=fe(),o=X(""),s=X(!1),l=X(!1),a=S(()=>r.value.encryptLocales);let i=null;const c=()=>{i&&clearTimeout(i),s.value=!1,t("verify",o.value,l.value),Bt().then(()=>{s.value=!0,i=setTimeout(()=>{s.value=!1},1e3)})};return()=>u("div",{class:["vp-decrypt-layer",{expand:e.full||n.value.home}]},u("div",{class:"vp-decrypt-modal"},[u("div",{class:["vp-decrypt-hint",{tried:s.value}]},s.value?a.value.errorHint:u(Jc,{"aria-label":a.value.iconLabel})),u("div",{class:"vp-decrypt-input"},[u("input",{type:"password",value:o.value,placeholder:a.value.placeholder,onInput:({target:f})=>{o.value=f.value},onKeydown:({key:f})=>{f==="Enter"&&c()}})]),u("div",{class:"vp-remember-password"},[u("input",{type:"checkbox",value:l.value,onChange:()=>l.value=!l.value}),a.value.remember]),u("button",{type:"button",class:"vp-decrypt-submit",onClick:()=>c()},"OK")]))}});const Zc=()=>{const e=rn();return S(()=>e.value.encrypt||{})},ha="VUEPRESS_HOPE_GLOBAL_TOKEN",R3=()=>{const e=Zc(),t=oo(ha,""),n=Gi(ha,""),r=S(()=>{const{global:s=!1,admin:l=[]}=e.value;return s&&l.length>0}),o=S(()=>{if(r.value){if(t.value)return e.value.admin.some(s=>ts(t.value,s));if(n.value)return e.value.admin.some(s=>ts(n.value,s))}return!1});return{isEncrypted:r,isDecrypted:o,validate:(s,l=!1)=>{(l?t:n).value=s}}},Po=(e="",t)=>!!e&&ts(e,t),va="VUEPRESS_HOPE_PATH_TOKEN",I3=()=>{const e=ye(),t=Zc(),n=oo(va,{}),r=Gi(va,{}),o=l=>ur(t.value.config)?xn(t.value.config).filter(a=>Cn(decodeURI(l),a)).sort((a,i)=>i.length-a.length):[],s=l=>{const a=o(l);if(a.length>0){const{config:i={}}=t.value;return{isEncrypted:!0,isDecrypted:a.some(c=>n.value[c]&&i[c].some(f=>Po(n.value[c],f))||r.value[c]&&i[c].some(f=>Po(r.value[c],f)))}}return{isDecrypted:!1,isEncrypted:!1}};return{status:S(()=>s(e.value.path)),getStatus:s,validate:(l,a=!1)=>{const{config:i={}}=t.value,c=o(e.value.path);for(const f of c)if(i[f].filter(d=>Po(l,d))){(a?n:r).value[f]=l;break}}}};var O3=z({name:"GlobalEncrypt",slots:Object,setup(e,{slots:t}){const{isDecrypted:n,isEncrypted:r,validate:o}=R3(),s=X(!1);return me(()=>{s.value=!0}),()=>u(js,()=>r.value?s.value?n.value?t.default():u(Qc,{full:!0,onVerify:o}):null:t.default())}}),M3=z({name:"LocalEncrypt",slots:Object,setup(e,{slots:t}){const{status:n,validate:r}=I3(),o=X(!1);return me(()=>{o.value=!0}),()=>{const{isEncrypted:s,isDecrypted:l}=n.value;return s?o.value?l?t.default():u(Qc,{full:!0,onVerify:r}):null:t.default()}}});X2(e=>{const t=e.t,n=e.I!==!1,r=e.i;return n?{title:t,content:r?()=>[u(Ne,{icon:r}),t]:null,order:e.O,index:e.I}:null});const $3=Ge({enhance:({app:e,router:t})=>{const{scrollBehavior:n}=t.options;t.options.scrollBehavior=async(...r)=>(await Qo.wait(),n(...r)),yp(e),e.component("HopeIcon",Ne),e.component("GlobalEncrypt",O3),e.component("LocalEncrypt",M3)},setup:()=>{bp(),kp()},layouts:{Layout:g3,NotFound:y3}}),N3=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,D3=(e,t)=>t.some(n=>{if(ve(n))return n===e.key;const{key:r,ctrl:o=!1,shift:s=!1,alt:l=!1}=n;return r===e.key&&o===e.ctrlKey&&s===e.shiftKey&&l===e.altKey}),F3=/[^\x00-\x7F]/,H3=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),ga=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),ma=(e,t)=>{const n=t.join(" "),r=H3(e);if(F3.test(e))return r.some(l=>n.toLowerCase().indexOf(l)>-1);const o=e.endsWith(" ");return new RegExp(r.map((l,a)=>r.length===a+1&&!o?`(?=.*\\b${ga(l)})`:`(?=.*\\b${ga(l)}\\b)`).join("")+".+","gi").test(n)},B3=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&D3(r,t.value)&&!N3(r.target)&&(r.preventDefault(),e.value.focus())};me(()=>{document.addEventListener("keydown",n)}),ws(()=>{document.removeEventListener("keydown",n)})},j3=[{title:"Home",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"Docs",headers:[],path:"/docs/",pathLocale:"/",extraFields:[]},{title:"Get started",headers:[{level:2,title:"How to Use This Guide",slug:"how-to-use-this-guide",link:"#how-to-use-this-guide",children:[{level:3,title:"Guides",slug:"guides",link:"#guides",children:[]},{level:3,title:"Docs",slug:"docs",link:"#docs",children:[]},{level:3,title:"Examples",slug:"examples",link:"#examples",children:[]}]}],path:"/get-started/",pathLocale:"/",extraFields:[]},{title:"Installation guide",headers:[{level:3,title:"Download Node.js",slug:"download-node-js",link:"#download-node-js",children:[]},{level:3,title:"Run the Installer",slug:"run-the-installer",link:"#run-the-installer",children:[]},{level:3,title:"Verify Installation",slug:"verify-installation",link:"#verify-installation",children:[]},{level:3,title:"Update npm (Optional)",slug:"update-npm-optional",link:"#update-npm-optional",children:[]}],path:"/get-started/installation.html",pathLocale:"/",extraFields:[]},{title:"Quick start",headers:[{level:2,title:"Prerequisites",slug:"prerequisites",link:"#prerequisites",children:[{level:3,title:"Create a New File",slug:"create-a-new-file",link:"#create-a-new-file",children:[]},{level:3,title:"Write Some Code",slug:"write-some-code",link:"#write-some-code",children:[]},{level:3,title:"Run the Program",slug:"run-the-program",link:"#run-the-program",children:[]},{level:3,title:"Access the Web Server",slug:"access-the-web-server",link:"#access-the-web-server",children:[]}]}],path:"/get-started/quick-start.html",pathLocale:"/",extraFields:[]},{title:"What is Node.js?",headers:[{level:2,title:"Understanding Node.js",slug:"understanding-node-js",link:"#understanding-node-js",children:[{level:3,title:"How Does Node.js Work?",slug:"how-does-node-js-work",link:"#how-does-node-js-work",children:[]},{level:3,title:"Why Node.js?",slug:"why-node-js",link:"#why-node-js",children:[]},{level:3,title:"Use Cases of Node.js",slug:"use-cases-of-node-js",link:"#use-cases-of-node-js",children:[]},{level:3,title:"Anatomy of a Node.js File",slug:"anatomy-of-a-node-js-file",link:"#anatomy-of-a-node-js-file",children:[]}]}],path:"/get-started/what-is-nodejs.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],V3=X(j3),z3=()=>V3,U3=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=S(()=>e.value.filter(s=>s.pathLocale===t.value));return S(()=>{const s=n.value.trim().toLowerCase();if(!s)return[];const l=[],a=(i,c)=>{ma(s,[c.title])&&l.push({link:`${i.path}#${c.slug}`,title:i.title,header:c.title});for(const f of c.children){if(l.length>=r.value)return;a(i,f)}};for(const i of o.value){if(l.length>=r.value)break;if(ma(s,[i.title,...i.extraFields])){l.push({link:i.path,title:i.title});continue}for(const c of i.headers){if(l.length>=r.value)break;a(i,c)}}return l})},W3=e=>{const t=X(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},G3=z({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=zu(e),o=en(),s=tn(),l=z3(),a=X(null),i=X(!1),c=X(""),f=S(()=>t.value[s.value]??{}),d=U3({searchIndex:l,routeLocale:s,query:c,maxSuggestions:r}),{focusIndex:p,focusNext:v,focusPrev:m}=W3(d);B3({input:a,hotKeys:n});const E=S(()=>i.value&&!!d.value.length),w=()=>{E.value&&m()},b=()=>{E.value&&v()},C=y=>{if(!E.value)return;const x=d.value[y];x&&o.push(x.link).then(()=>{c.value="",p.value=0})};return()=>u("form",{class:"search-box",role:"search"},[u("input",{ref:a,type:"search",placeholder:f.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>i.value=!0,onBlur:()=>i.value=!1,onInput:y=>c.value=y.target.value,onKeydown:y=>{switch(y.key){case"ArrowUp":{w();break}case"ArrowDown":{b();break}case"Enter":{y.preventDefault(),C(p.value);break}}}}),E.value&&u("ul",{class:"suggestions",onMouseleave:()=>p.value=-1},d.value.map(({link:y,title:x,header:M},k)=>u("li",{class:["suggestion",{focus:p.value===k}],onMouseenter:()=>p.value=k,onMousedown:()=>C(k)},u("a",{href:y,onClick:$=>$.preventDefault()},[u("span",{class:"page-title"},x),M&&u("span",{class:"page-header"},`> ${M}`)]))))])}});var q3=["s","/"],K3={};const Y3=K3,J3=q3,X3=5,Q3=Ge({enhance({app:e}){e.component("SearchBox",t=>u(G3,{locales:Y3,hotKeys:J3,maxSuggestions:X3,...t}))}}),Z3=()=>{Re("beforeprint",()=>{document.querySelectorAll("details").forEach(e=>{e.open=!0})})},eh=Ge({enhance:({app:e})=>{},setup:()=>{Z3()}}),th={},Pr=[a2,U2,J2,n0,s0,c0,p0,y0,x0,D0,X0,$3,Q3,eh,th],nh=JSON.parse('{"base":"/","lang":"en-US","title":"Node.js Docs","description":"A docs demo for vuepress-theme-hope","head":[["link",{"rel":"icon","href":"/assets/icon/node.png"}]],"locales":{}}');var On=We(nh),rh=xd,oh=()=>{const e=Xd({history:rh(Ss("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===mt){const r=Ht(t.path);if(r.path!==t.path)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},sh=e=>{e.component("ClientOnly",to),e.component("Content",Ni),e.component("RouteLink",He)},lh=(e,t,n)=>{const r=S(()=>t.currentRoute.value.path),o=gs((w,b)=>({get(){return w(),t.currentRoute.value.meta._pageChunk},set(C){t.currentRoute.value.meta._pageChunk=C,b()}})),s=S(()=>zt.resolveLayouts(n)),l=S(()=>zt.resolveRouteLocale(On.value.locales,r.value)),a=S(()=>zt.resolveSiteLocaleData(On.value,l.value)),i=S(()=>o.value.comp),c=S(()=>o.value.data),f=S(()=>c.value.frontmatter),d=S(()=>zt.resolvePageHeadTitle(c.value,a.value)),p=S(()=>zt.resolvePageHead(d.value,f.value,a.value)),v=S(()=>zt.resolvePageLang(c.value,a.value)),m=S(()=>zt.resolvePageLayout(c.value,s.value)),E={layouts:s,pageData:c,pageComponent:i,pageFrontmatter:f,pageHead:p,pageHeadTitle:d,pageLang:v,pageLayout:m,redirects:Uo,routeLocale:l,routePath:r,routes:Xn,siteData:On,siteLocaleData:a};return e.provide(As,E),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>f.value},$head:{get:()=>p.value},$headTitle:{get:()=>d.value},$lang:{get:()=>v.value},$page:{get:()=>c.value},$routeLocale:{get:()=>l.value},$site:{get:()=>On.value},$siteLocale:{get:()=>a.value},$withBase:{get:()=>$e}}),E},ah=()=>{const e=e2(),t=Ls();let n=[];const r=()=>{e.value.forEach(l=>{const a=ih(l);a&&n.push(a)})},o=()=>{const l=[];return e.value.forEach(a=>{const i=ch(a);i&&l.push(i)}),l},s=()=>{document.documentElement.lang=t.value;const l=o();n.forEach((a,i)=>{const c=l.findIndex(f=>a.isEqualNode(f));c===-1?(a.remove(),delete n[i]):l.splice(c,1)}),l.forEach(a=>document.head.appendChild(a)),n=[...n.filter(a=>!!a),...l]};mn(r2,s),me(()=>{r(),ie(e,s,{immediate:!1})})},ih=([e,t,n=""])=>{const r=Object.entries(t).map(([a,i])=>ve(i)?`[${a}=${JSON.stringify(i)}]`:i===!0?`[${a}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(a=>a.innerText===n)||null},ch=([e,t,n])=>{if(!ve(e))return null;const r=document.createElement(e);return ur(t)&&Object.entries(t).forEach(([o,s])=>{ve(s)?r.setAttribute(o,s):s===!0&&r.setAttribute(o,"")}),ve(n)&&r.appendChild(document.createTextNode(n)),r},uh=$1,fh=async()=>{var n;const e=uh({name:"Vuepress",setup(){var s;ah();for(const l of Pr)(s=l.setup)==null||s.call(l);const r=Pr.flatMap(({rootComponents:l=[]})=>l.map(a=>u(a))),o=t2();return()=>[u(o.value),r]}}),t=oh();sh(e),lh(e,t,Pr);for(const r of Pr)await((n=r.enhance)==null?void 0:n.call(r,{app:e,router:t,siteData:On}));return e.use(t),{app:e,router:t}};fh().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{ke as a,fi as b,ph as c,fh as createVueApp,di as d,hh as e,dh as o,ut as r,Qu as w}; diff --git a/assets/index.html-CIDLPtno.js b/assets/index.html-BYEHDf_T.js similarity index 96% rename from assets/index.html-CIDLPtno.js rename to assets/index.html-BYEHDf_T.js index f895a9d..4621c47 100644 --- a/assets/index.html-CIDLPtno.js +++ b/assets/index.html-BYEHDf_T.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-DzW0htRv.js";const a={};function n(r,s){return t(),o("div")}const p=e(a,[["render",n],["__file","index.html.vue"]]),c=JSON.parse(`{"path":"/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/4-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/4-dark.svg","heroFullScreen":true,"heroImage":"/assets/icon/node.png","heroText":"Node.Js","tagline":"A comprehensive companion for understanding JavaScript's runtime environment ⚡️","actions":[{"text":"Get started","icon":"lightbulb","link":"./get-started/","type":"primary"},{"text":"Docs","link":"./docs/","icon":"book"}],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-15T15:45:15.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-15T15:45:15.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1713021032000,"updatedTime":1713195915000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":3}]},"readingTime":{"minutes":0.18,"words":55},"filePathRelative":"README.md","localizedDate":"April 13, 2024"}`);export{p as comp,c as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function n(r,s){return t(),o("div")}const p=e(a,[["render",n],["__file","index.html.vue"]]),c=JSON.parse(`{"path":"/","title":"Home","lang":"en-US","frontmatter":{"home":true,"icon":"home","title":"Home","image":"/assets/image/layout.svg","bgImage":"https://theme-hope-assets.vuejs.press/bg/4-light.svg","bgImageDark":"https://theme-hope-assets.vuejs.press/bg/4-dark.svg","heroFullScreen":true,"heroImage":"/assets/icon/node.png","heroText":"Node.Js","tagline":"A comprehensive companion for understanding JavaScript's runtime environment ⚡️","actions":[{"text":"Get started","icon":"lightbulb","link":"./get-started/","type":"primary"},{"text":"Docs","link":"./docs/","icon":"book"}],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Home"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-15T15:45:15.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-15T15:45:15.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"Home\\"}"]]},"headers":[],"git":{"createdTime":1713021032000,"updatedTime":1713195915000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":3}]},"readingTime":{"minutes":0.18,"words":55},"filePathRelative":"README.md","localizedDate":"April 13, 2024"}`);export{p as comp,c as data}; diff --git a/assets/index.html-C30mxC7O.js b/assets/index.html-C30mxC7O.js new file mode 100644 index 0000000..78451d3 --- /dev/null +++ b/assets/index.html-C30mxC7O.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{o as t,c as o}from"./app-BsibbnN3.js";const a={};function i(r,c){return t(),o("div")}const p=e(a,[["render",i],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/docs/Basics/","title":"Basics","lang":"en-US","frontmatter":{"title":"Basics","index":true,"icon":"circle-info","category":["Basics"],"footer":false,"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Basics"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-16T10:33:52.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-16T10:33:52.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Basics\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-16T10:33:52.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713263632000,"updatedTime":1713263632000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":1}]},"readingTime":{"minutes":0.04,"words":11},"filePathRelative":"docs/Basics/README.md","localizedDate":"April 16, 2024"}');export{p as comp,m as data}; diff --git a/assets/index.html-CgwPMnPY.js b/assets/index.html-CV1tT02h.js similarity index 95% rename from assets/index.html-CgwPMnPY.js rename to assets/index.html-CV1tT02h.js index 6f9d5e5..591f06d 100644 --- a/assets/index.html-CgwPMnPY.js +++ b/assets/index.html-CV1tT02h.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-DzW0htRv.js";const c={};function i(p,m){const e=o("AutoCatalog");return a(),n("div",null,[r(e)])}const d=t(c,[["render",i],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/docs/","title":"Docs","lang":"en-US","frontmatter":{"title":"Docs","icon":"book","index":false,"category":["Documentation"],"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Docs"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-15T15:45:15.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-15T15:45:15.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Docs\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-15T15:45:15.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713192717000,"updatedTime":1713195915000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":2}]},"readingTime":{"minutes":0.03,"words":10},"filePathRelative":"docs/README.md","localizedDate":"April 15, 2024"}');export{d as comp,h as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as o,o as a,c as n,a as r}from"./app-BsibbnN3.js";const c={};function i(p,m){const e=o("AutoCatalog");return a(),n("div",null,[r(e)])}const d=t(c,[["render",i],["__file","index.html.vue"]]),h=JSON.parse('{"path":"/docs/","title":"Docs","lang":"en-US","frontmatter":{"title":"Docs","icon":"book","index":false,"category":["Documentation"],"head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/docs/"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Docs"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-15T15:45:15.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-15T15:45:15.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Docs\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-15T15:45:15.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[],"git":{"createdTime":1713192717000,"updatedTime":1713195915000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":2}]},"readingTime":{"minutes":0.03,"words":10},"filePathRelative":"docs/README.md","localizedDate":"April 15, 2024"}');export{d as comp,h as data}; diff --git a/assets/index.html-B4D8VHZe.js b/assets/index.html-IqEkeXvw.js similarity index 99% rename from assets/index.html-B4D8VHZe.js rename to assets/index.html-IqEkeXvw.js index ff6b2a0..e6cb77e 100644 --- a/assets/index.html-B4D8VHZe.js +++ b/assets/index.html-IqEkeXvw.js @@ -1,4 +1,4 @@ -import{_ as l}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as i,o as p,c,b as e,d as t,a as n,w as a,e as r}from"./app-DzW0htRv.js";const u={},d=e("p",null,"Hello there! 👋🏾 Welcome to the Node.js documentation! Let's get you started on how to navigate through this resource.",-1),h=e("h2",{id:"how-to-use-this-guide",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-use-this-guide"},[e("span",null,"How to Use This Guide")])],-1),m=e("h3",{id:"guides",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#guides"},[e("span",null,"Guides")])],-1),g=e("h3",{id:"docs",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#docs"},[e("span",null,"Docs")])],-1),k=e("h3",{id:"examples",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#examples"},[e("span",null,"Examples")])],-1),f=r(`
var http = require('http');
+import{_ as l}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as i,o as p,c,b as e,d as t,a as n,w as a,e as r}from"./app-BsibbnN3.js";const u={},d=e("p",null,"Hello there! 👋🏾 Welcome to the Node.js documentation! Let's get you started on how to navigate through this resource.",-1),h=e("h2",{id:"how-to-use-this-guide",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#how-to-use-this-guide"},[e("span",null,"How to Use This Guide")])],-1),m=e("h3",{id:"guides",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#guides"},[e("span",null,"Guides")])],-1),g=e("h3",{id:"docs",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#docs"},[e("span",null,"Docs")])],-1),k=e("h3",{id:"examples",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#examples"},[e("span",null,"Examples")])],-1),f=r(`
var http = require('http');
 
 http.createServer(function (req, res) {
   res.writeHead(200, {'Content-Type': 'text/plain'});
diff --git a/assets/installation.html-BcNhzQKt.js b/assets/installation.html-CmklNE8_.js
similarity index 97%
rename from assets/installation.html-BcNhzQKt.js
rename to assets/installation.html-CmklNE8_.js
index 910df4d..932801f 100644
--- a/assets/installation.html-BcNhzQKt.js
+++ b/assets/installation.html-CmklNE8_.js
@@ -1,4 +1,4 @@
-import{_ as o}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as s,o as i,c as l,b as e,d as t,a,e as r}from"./app-DzW0htRv.js";const d={},p=e("p",null,"In this guide, we'll walk you through the process of installing Node.js on your system so you can start building awesome applications.",-1),c={href:"https://nodejs.org/en/download/package-manager",target:"_blank",rel:"noopener noreferrer"},h={href:"https://nodejs.org/en/download/prebuilt-binaries",target:"_blank",rel:"noopener noreferrer"},u={href:"https://nodejs.org/en/download/source-code",target:"_blank",rel:"noopener noreferrer"},m=e("h3",{id:"download-node-js",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#download-node-js"},[e("span",null,"Download Node.js")])],-1),g={href:"https://nodejs.org/en/download",target:"_blank",rel:"noopener noreferrer"},y=r(`

Run the Installer

Once the download is complete, run the installer and follow the on-screen instructions. The installer will guide you through the installation process, including selecting the installation directory and any additional options you may want to configure.

Verify Installation

After the installation is complete, you can verify that Node.js and npm (Node Package Manager) are installed correctly by opening a terminal or command prompt and typing the following commands:

node -v
+import{_ as o}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as s,o as i,c as l,b as e,d as t,a,e as r}from"./app-BsibbnN3.js";const d={},p=e("p",null,"In this guide, we'll walk you through the process of installing Node.js on your system so you can start building awesome applications.",-1),c={href:"https://nodejs.org/en/download/package-manager",target:"_blank",rel:"noopener noreferrer"},h={href:"https://nodejs.org/en/download/prebuilt-binaries",target:"_blank",rel:"noopener noreferrer"},u={href:"https://nodejs.org/en/download/source-code",target:"_blank",rel:"noopener noreferrer"},m=e("h3",{id:"download-node-js",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#download-node-js"},[e("span",null,"Download Node.js")])],-1),g={href:"https://nodejs.org/en/download",target:"_blank",rel:"noopener noreferrer"},y=r(`

Run the Installer

Once the download is complete, run the installer and follow the on-screen instructions. The installer will guide you through the installation process, including selecting the installation directory and any additional options you may want to configure.

Verify Installation

After the installation is complete, you can verify that Node.js and npm (Node Package Manager) are installed correctly by opening a terminal or command prompt and typing the following commands:

node -v
 npm -v
 

These commands will display the versions of Node.js and npm installed on your system. If you see version numbers displayed, congratulations! You've successfully installed Node.js.

Update npm (Optional)

It's a good idea to keep npm up to date. You can do this by running the following command:

npm install npm@latest -g
 

This will update npm to the latest version available.

That's it! You've now installed Node.js on your system. You're ready to write your first Node.js program.

`,11),f={class:"hint-container note"},v=e("p",{class:"hint-container-title"},"Note",-1),_={href:"https://github.com/nodejs/node/issues/",target:"_blank",rel:"noopener noreferrer"};function b(w,k){const n=s("ExternalLinkIcon");return i(),l("div",null,[p,e("p",null,[t("There are several way to install Node.js, including using a "),e("a",c,[t("package manager"),a(n)]),t(", downloading "),e("a",h,[t("prebuilt binaries"),a(n)]),t(", or "),e("a",u,[t("building from source"),a(n)]),t(". In this guide, we'll cover the most common method of installing Node.js using the official installer.")]),m,e("p",null,[t("Visit "),e("a",g,[t("nodejs.org"),a(n)]),t(" and download the appropriate installer for your operating system (Windows, macOS, or Linux).")]),y,e("div",f,[v,e("p",null,[t("If you ran into any issues during the installation process, feel free to report them on the "),e("a",_,[t("Node.js GitHub repository"),a(n)])])])])}const I=o(d,[["render",b],["__file","installation.html.vue"]]),x=JSON.parse(`{"path":"/get-started/installation.html","title":"Installation guide","lang":"en-US","frontmatter":{"title":"Installation guide","index":true,"icon":"screwdriver-wrench","category":["Guides"],"footer":false,"description":"In this guide, we'll walk you through the process of installing Node.js on your system so you can start building awesome applications. There are several way to install Node.js, ...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/get-started/installation.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"Installation guide"}],["meta",{"property":"og:description","content":"In this guide, we'll walk you through the process of installing Node.js on your system so you can start building awesome applications. There are several way to install Node.js, ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-15T20:12:13.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-15T20:12:13.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Installation guide\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-15T20:12:13.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[{"level":3,"title":"Download Node.js","slug":"download-node-js","link":"#download-node-js","children":[]},{"level":3,"title":"Run the Installer","slug":"run-the-installer","link":"#run-the-installer","children":[]},{"level":3,"title":"Verify Installation","slug":"verify-installation","link":"#verify-installation","children":[]},{"level":3,"title":"Update npm (Optional)","slug":"update-npm-optional","link":"#update-npm-optional","children":[]}],"git":{"createdTime":1713203996000,"updatedTime":1713211933000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":2}]},"readingTime":{"minutes":0.96,"words":287},"filePathRelative":"get-started/installation.md","localizedDate":"April 15, 2024","autoDesc":true}`);export{I as comp,x as data}; diff --git a/assets/quick-start.html-CYSwFgxl.js b/assets/quick-start.html-D5plm-kz.js similarity index 99% rename from assets/quick-start.html-CYSwFgxl.js rename to assets/quick-start.html-D5plm-kz.js index 95b48bc..f815f6c 100644 --- a/assets/quick-start.html-CYSwFgxl.js +++ b/assets/quick-start.html-D5plm-kz.js @@ -1,4 +1,4 @@ -import{_ as a}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as n,o as s,c as o,b as r,d as e,a as i,w as p,e as l}from"./app-DzW0htRv.js";const c={},u=l(`

In this guide, we'll help you write your first program in Node.js. You'll create a simple HTTP server that listens on port 8080 and responds with "Hello, World!" when you visit http://localhost:8080 in your browser.

Prerequisites

Before you begin, make sure you have Node.js installed on your machine. If you haven't installed Node.js yet, you can follow the steps in the installation guide.

Create a New File

Open your favorite text editor and create a new file. You can name it whatever you like, but for this example, let's call it hello.js.

Write Some Code

In your hello.js file, type the following code:

var http = require('http');
+import{_ as a}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as n,o as s,c as o,b as r,d as e,a as i,w as p,e as l}from"./app-BsibbnN3.js";const c={},u=l(`

In this guide, we'll help you write your first program in Node.js. You'll create a simple HTTP server that listens on port 8080 and responds with "Hello, World!" when you visit http://localhost:8080 in your browser.

Prerequisites

Before you begin, make sure you have Node.js installed on your machine. If you haven't installed Node.js yet, you can follow the steps in the installation guide.

Create a New File

Open your favorite text editor and create a new file. You can name it whatever you like, but for this example, let's call it hello.js.

Write Some Code

In your hello.js file, type the following code:

var http = require('http');
 
 http.createServer(function (req, res) {
   res.writeHead(200, {'Content-Type': 'text/html'});
diff --git a/assets/what-is-nodejs.html-BEgMaJRv.js b/assets/what-is-nodejs.html-DCOZkEW7.js
similarity index 98%
rename from assets/what-is-nodejs.html-BEgMaJRv.js
rename to assets/what-is-nodejs.html-DCOZkEW7.js
index 8d0f6ae..e857027 100644
--- a/assets/what-is-nodejs.html-BEgMaJRv.js
+++ b/assets/what-is-nodejs.html-DCOZkEW7.js
@@ -1 +1 @@
-import{_ as o}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as s,o as n,c as a,b as i,d as e,a as r,w as d,e as l}from"./app-DzW0htRv.js";const c={},h=l('

In this guide, we'll explore what Node.js is, how it works, and its various use cases.

Understanding Node.js

Node.js is an open-source server environment that enables the execution of JavaScript code outside of a web browser. It's free, versatile, and runs seamlessly on various platforms including Windows, Linux, Unix, and macOS.

Unlike traditional web development, where JavaScript is mainly used for client-side scripting, Node.js enables you to execute JavaScript on the server-side.

How Does Node.js Work?

At its core, Node.js is built on Chrome's V8 JavaScript engine, which makes it fast and efficient. It uses an event-driven, non-blocking I/O model, which means that it can handle thousands of simultaneous connections without getting bogged down by blocking operations.

Why Node.js?

One of the key reasons Node.js stands out is its asynchronous programming model. Traditionally, web servers would wait while performing tasks like opening files.

Node.js, however, sends tasks to the computer's file system and proceeds to handle the next request without waiting. This non-blocking, asynchronous approach enhances efficiency and responsiveness, making Node.js an excellent choice for handling concurrent operations.

Use Cases of Node.js

  • Generate Dynamic Page Content: Node.js can dynamically generate web page content, making it a powerful tool for building dynamic web applications.
  • File System Operations: With Node.js, you can perform various file system operations such as creating, opening, reading, writing, and deleting files on the server.
  • Handle Form Data: Node.js can collect form data submitted by users on web forms.
  • Database Operations: Node.js facilitates database operations, allowing you to add, delete, and modify data in your database.

Anatomy of a Node.js File

Node.js files contain tasks that execute in response to specific events, such as a user attempting to access a port on the server. These files, typically denoted with a ".js" extension, must be initiated on the server to take effect.

',13);function p(u,m){const t=s("RouteLink");return n(),a("div",null,[h,i("p",null,[e("With this foundational understanding of Node.js, you're ready to dive deeper into its capabilities and explore "),r(t,{to:"/docs/"},{default:d(()=>[e("server-side JavaScript development")]),_:1}),e(".")])])}const j=o(c,[["render",p],["__file","what-is-nodejs.html.vue"]]),w=JSON.parse(`{"path":"/get-started/what-is-nodejs.html","title":"What is Node.js?","lang":"en-US","frontmatter":{"title":"What is Node.js?","index":true,"icon":"book-open","category":["Getting started"],"footer":false,"description":"In this guide, we'll explore what Node.js is, how it works, and its various use cases. Understanding Node.js Node.js is an open-source server environment that enables the execut...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/get-started/what-is-nodejs.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"What is Node.js?"}],["meta",{"property":"og:description","content":"In this guide, we'll explore what Node.js is, how it works, and its various use cases. Understanding Node.js Node.js is an open-source server environment that enables the execut..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-15T20:12:13.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-15T20:12:13.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"What is Node.js?\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-15T20:12:13.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[{"level":2,"title":"Understanding Node.js","slug":"understanding-node-js","link":"#understanding-node-js","children":[{"level":3,"title":"How Does Node.js Work?","slug":"how-does-node-js-work","link":"#how-does-node-js-work","children":[]},{"level":3,"title":"Why Node.js?","slug":"why-node-js","link":"#why-node-js","children":[]},{"level":3,"title":"Use Cases of Node.js","slug":"use-cases-of-node-js","link":"#use-cases-of-node-js","children":[]},{"level":3,"title":"Anatomy of a Node.js File","slug":"anatomy-of-a-node-js-file","link":"#anatomy-of-a-node-js-file","children":[]}]}],"git":{"createdTime":1713203996000,"updatedTime":1713211933000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":2}]},"readingTime":{"minutes":1.17,"words":350},"filePathRelative":"get-started/what-is-nodejs.md","localizedDate":"April 15, 2024","autoDesc":true}`);export{j as comp,w as data}; +import{_ as o}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r as s,o as n,c as a,b as i,d as e,a as r,w as d,e as l}from"./app-BsibbnN3.js";const c={},h=l('

In this guide, we'll explore what Node.js is, how it works, and its various use cases.

Understanding Node.js

Node.js is an open-source server environment that enables the execution of JavaScript code outside of a web browser. It's free, versatile, and runs seamlessly on various platforms including Windows, Linux, Unix, and macOS.

Unlike traditional web development, where JavaScript is mainly used for client-side scripting, Node.js enables you to execute JavaScript on the server-side.

How Does Node.js Work?

At its core, Node.js is built on Chrome's V8 JavaScript engine, which makes it fast and efficient. It uses an event-driven, non-blocking I/O model, which means that it can handle thousands of simultaneous connections without getting bogged down by blocking operations.

Why Node.js?

One of the key reasons Node.js stands out is its asynchronous programming model. Traditionally, web servers would wait while performing tasks like opening files.

Node.js, however, sends tasks to the computer's file system and proceeds to handle the next request without waiting. This non-blocking, asynchronous approach enhances efficiency and responsiveness, making Node.js an excellent choice for handling concurrent operations.

Use Cases of Node.js

  • Generate Dynamic Page Content: Node.js can dynamically generate web page content, making it a powerful tool for building dynamic web applications.
  • File System Operations: With Node.js, you can perform various file system operations such as creating, opening, reading, writing, and deleting files on the server.
  • Handle Form Data: Node.js can collect form data submitted by users on web forms.
  • Database Operations: Node.js facilitates database operations, allowing you to add, delete, and modify data in your database.

Anatomy of a Node.js File

Node.js files contain tasks that execute in response to specific events, such as a user attempting to access a port on the server. These files, typically denoted with a ".js" extension, must be initiated on the server to take effect.

',13);function p(u,m){const t=s("RouteLink");return n(),a("div",null,[h,i("p",null,[e("With this foundational understanding of Node.js, you're ready to dive deeper into its capabilities and explore "),r(t,{to:"/docs/"},{default:d(()=>[e("server-side JavaScript development")]),_:1}),e(".")])])}const j=o(c,[["render",p],["__file","what-is-nodejs.html.vue"]]),w=JSON.parse(`{"path":"/get-started/what-is-nodejs.html","title":"What is Node.js?","lang":"en-US","frontmatter":{"title":"What is Node.js?","index":true,"icon":"book-open","category":["Getting started"],"footer":false,"description":"In this guide, we'll explore what Node.js is, how it works, and its various use cases. Understanding Node.js Node.js is an open-source server environment that enables the execut...","head":[["meta",{"property":"og:url","content":"https://vuepress-theme-hope-docs-demo.netlify.app/get-started/what-is-nodejs.html"}],["meta",{"property":"og:site_name","content":"Node.js Docs"}],["meta",{"property":"og:title","content":"What is Node.js?"}],["meta",{"property":"og:description","content":"In this guide, we'll explore what Node.js is, how it works, and its various use cases. Understanding Node.js Node.js is an open-source server environment that enables the execut..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-04-15T20:12:13.000Z"}],["meta",{"property":"article:author","content":"Aahil"}],["meta",{"property":"article:modified_time","content":"2024-04-15T20:12:13.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"What is Node.js?\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-04-15T20:12:13.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"Aahil\\",\\"url\\":\\"https://linktr.ee/thecr3ator\\"}]}"]]},"headers":[{"level":2,"title":"Understanding Node.js","slug":"understanding-node-js","link":"#understanding-node-js","children":[{"level":3,"title":"How Does Node.js Work?","slug":"how-does-node-js-work","link":"#how-does-node-js-work","children":[]},{"level":3,"title":"Why Node.js?","slug":"why-node-js","link":"#why-node-js","children":[]},{"level":3,"title":"Use Cases of Node.js","slug":"use-cases-of-node-js","link":"#use-cases-of-node-js","children":[]},{"level":3,"title":"Anatomy of a Node.js File","slug":"anatomy-of-a-node-js-file","link":"#anatomy-of-a-node-js-file","children":[]}]}],"git":{"createdTime":1713203996000,"updatedTime":1713211933000,"contributors":[{"name":"Aahil","email":"onyeanunaprince@gmail.com","commits":2}]},"readingTime":{"minutes":1.17,"words":350},"filePathRelative":"get-started/what-is-nodejs.md","localizedDate":"April 15, 2024","autoDesc":true}`);export{j as comp,w as data}; diff --git a/docs/Basics/Email.html b/docs/Basics/Email.html new file mode 100644 index 0000000..602362f --- /dev/null +++ b/docs/Basics/Email.html @@ -0,0 +1,40 @@ + + + + + + + + + + Email | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/Events.html b/docs/Basics/Events.html new file mode 100644 index 0000000..dd4a4d5 --- /dev/null +++ b/docs/Basics/Events.html @@ -0,0 +1,40 @@ + + + + + + + + + + Events | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/File System.html b/docs/Basics/File System.html new file mode 100644 index 0000000..be7fdbe --- /dev/null +++ b/docs/Basics/File System.html @@ -0,0 +1,40 @@ + + + + + + + + + + File System | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/HTTP Modules.html b/docs/Basics/HTTP Modules.html new file mode 100644 index 0000000..25c5129 --- /dev/null +++ b/docs/Basics/HTTP Modules.html @@ -0,0 +1,40 @@ + + + + + + + + + + HTTP Modules | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/Modules.html b/docs/Basics/Modules.html new file mode 100644 index 0000000..ca9f434 --- /dev/null +++ b/docs/Basics/Modules.html @@ -0,0 +1,40 @@ + + + + + + + + + + Modules | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/NPM.html b/docs/Basics/NPM.html new file mode 100644 index 0000000..eed465d --- /dev/null +++ b/docs/Basics/NPM.html @@ -0,0 +1,40 @@ + + + + + + + + + + NPM | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/URL Module.html b/docs/Basics/URL Module.html new file mode 100644 index 0000000..8adf7b1 --- /dev/null +++ b/docs/Basics/URL Module.html @@ -0,0 +1,40 @@ + + + + + + + + + + URL Module | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/Upload Files.html b/docs/Basics/Upload Files.html new file mode 100644 index 0000000..cb11987 --- /dev/null +++ b/docs/Basics/Upload Files.html @@ -0,0 +1,40 @@ + + + + + + + + + + Upload Files | Node.js Docs + + + + + + + + + diff --git a/docs/Basics/index.html b/docs/Basics/index.html new file mode 100644 index 0000000..bf361b0 --- /dev/null +++ b/docs/Basics/index.html @@ -0,0 +1,40 @@ + + + + + + + + + + Basics | Node.js Docs + + + + + + + + + diff --git a/docs/index.html b/docs/index.html index 4ac5f78..0462ad4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -30,11 +30,11 @@ Docs | Node.js Docs - - + + - - + + diff --git a/get-started/index.html b/get-started/index.html index 01c0372..3c86e87 100644 --- a/get-started/index.html +++ b/get-started/index.html @@ -30,11 +30,11 @@ Get started | Node.js Docs - - + + -
Skip to main content

Get started

Aahil...About 1 minGetting started

Hello there! 👋🏾 Welcome to the Node.js documentation! Let's get you started on how to navigate through this resource.

How to Use This Guide

Guides

In the Get started section, you'll find helpful guides to assist you in your Node.js journey. Whether you're looking to install Node.js, get started quickly with running your first application, or understand the core concepts of Node.js, you'll find everything you need here.

  • Installation Guides: Need help setting up Node.js on your system? This guide has got you covered with step-by-step instructions.
  • Quick Start: Dive right into coding with Node.js! This quick start guide will have you up and running with your first Node.js application in no time.
  • Understanding Node.js: Curious about what Node.js is and how it works? This guide provides a straightforward explanation of the core concepts behind Node.js.

Docs

In the Docs section, you'll find detailed explanations of the fundamental concepts of Node.js. Whether you're interested in learning about Node.js modules, file system operations, or events, you'll find everything you need here.

Examples

This course is structured to help you learn Node.js by doing. Under each concept in the Docs section, you'll find examples that demonstrate how to apply the concepts in practice. The examples will look like this:

var http = require('http');
+    
Skip to main content

Get started

Aahil...About 1 minGetting started

Hello there! 👋🏾 Welcome to the Node.js documentation! Let's get you started on how to navigate through this resource.

How to Use This Guide

Guides

In the Get started section, you'll find helpful guides to assist you in your Node.js journey. Whether you're looking to install Node.js, get started quickly with running your first application, or understand the core concepts of Node.js, you'll find everything you need here.

  • Installation Guides: Need help setting up Node.js on your system? This guide has got you covered with step-by-step instructions.
  • Quick Start: Dive right into coding with Node.js! This quick start guide will have you up and running with your first Node.js application in no time.
  • Understanding Node.js: Curious about what Node.js is and how it works? This guide provides a straightforward explanation of the core concepts behind Node.js.

Docs

In the Docs section, you'll find detailed explanations of the fundamental concepts of Node.js. Whether you're interested in learning about Node.js modules, file system operations, or events, you'll find everything you need here.

Examples

This course is structured to help you learn Node.js by doing. Under each concept in the Docs section, you'll find examples that demonstrate how to apply the concepts in practice. The examples will look like this:

var http = require('http');
 
 http.createServer(function (req, res) {
   res.writeHead(200, {'Content-Type': 'text/plain'});
@@ -43,6 +43,6 @@
 

There are also some types of examples that you'll need to run via the command line. These examples will look like this:

console.log('This example is different!');
 console.log('The result is displayed in the Command Line Interface');
 

And that's it! You're all set to start your Node.js journey. If you have any questions or need help, feel free to reach out to us on Twitteropen in new window or GitHubopen in new window - we're here to help! 🚀

- + diff --git a/get-started/installation.html b/get-started/installation.html index 9ad8268..997a525 100644 --- a/get-started/installation.html +++ b/get-started/installation.html @@ -30,14 +30,14 @@ Installation guide | Node.js Docs - - + + -
Skip to main content

Installation guide

Aahil...Less than 1 minuteGuides

In this guide, we'll walk you through the process of installing Node.js on your system so you can start building awesome applications.

There are several way to install Node.js, including using a package manageropen in new window, downloading prebuilt binariesopen in new window, or building from sourceopen in new window. In this guide, we'll cover the most common method of installing Node.js using the official installer.

Download Node.js

Visit nodejs.orgopen in new window and download the appropriate installer for your operating system (Windows, macOS, or Linux).

Run the Installer

Once the download is complete, run the installer and follow the on-screen instructions. The installer will guide you through the installation process, including selecting the installation directory and any additional options you may want to configure.

Verify Installation

After the installation is complete, you can verify that Node.js and npm (Node Package Manager) are installed correctly by opening a terminal or command prompt and typing the following commands:

node -v
+    
Skip to main content

Installation guide

Aahil...Less than 1 minuteGuides

In this guide, we'll walk you through the process of installing Node.js on your system so you can start building awesome applications.

There are several way to install Node.js, including using a package manageropen in new window, downloading prebuilt binariesopen in new window, or building from sourceopen in new window. In this guide, we'll cover the most common method of installing Node.js using the official installer.

Download Node.js

Visit nodejs.orgopen in new window and download the appropriate installer for your operating system (Windows, macOS, or Linux).

Run the Installer

Once the download is complete, run the installer and follow the on-screen instructions. The installer will guide you through the installation process, including selecting the installation directory and any additional options you may want to configure.

Verify Installation

After the installation is complete, you can verify that Node.js and npm (Node Package Manager) are installed correctly by opening a terminal or command prompt and typing the following commands:

node -v
 npm -v
 

These commands will display the versions of Node.js and npm installed on your system. If you see version numbers displayed, congratulations! You've successfully installed Node.js.

Update npm (Optional)

It's a good idea to keep npm up to date. You can do this by running the following command:

npm install npm@latest -g
 

This will update npm to the latest version available.

That's it! You've now installed Node.js on your system. You're ready to write your first Node.js program.

Note

If you ran into any issues during the installation process, feel free to report them on the Node.js GitHub repositoryopen in new window

- + diff --git a/get-started/quick-start.html b/get-started/quick-start.html index b7273ff..6579724 100644 --- a/get-started/quick-start.html +++ b/get-started/quick-start.html @@ -30,11 +30,11 @@ Quick start | Node.js Docs - - + + -
Skip to main content

Quick start

Aahil...Less than 1 minuteGetting started

In this guide, we'll help you write your first program in Node.js. You'll create a simple HTTP server that listens on port 8080 and responds with "Hello, World!" when you visit http://localhost:8080 in your browser.

Prerequisites

Before you begin, make sure you have Node.js installed on your machine. If you haven't installed Node.js yet, you can follow the steps in the installation guide.

Create a New File

Open your favorite text editor and create a new file. You can name it whatever you like, but for this example, let's call it hello.js.

Write Some Code

In your hello.js file, type the following code:

var http = require('http');
+    
Skip to main content

Quick start

Aahil...Less than 1 minuteGetting started

In this guide, we'll help you write your first program in Node.js. You'll create a simple HTTP server that listens on port 8080 and responds with "Hello, World!" when you visit http://localhost:8080 in your browser.

Prerequisites

Before you begin, make sure you have Node.js installed on your machine. If you haven't installed Node.js yet, you can follow the steps in the installation guide.

Create a New File

Open your favorite text editor and create a new file. You can name it whatever you like, but for this example, let's call it hello.js.

Write Some Code

In your hello.js file, type the following code:

var http = require('http');
 
 http.createServer(function (req, res) {
   res.writeHead(200, {'Content-Type': 'text/html'});
@@ -42,6 +42,6 @@
 }).listen(8080);
 

After writing the code, save the file.

Run the Program

Open a terminal or command prompt and navigate to the directory where you saved hello.js. Then, type the following command:

node hello.js
 

Access the Web Server

After running the command, your web server will start listening on port 8080. Open a web browser and navigate to http://localhost:8080. You should see the text "Hello World!" displayed in the browser.

Congratulations! 🎉 You've just created and ran your first Node.js web server. Now get ready to understand how Node.js works

- + diff --git a/get-started/what-is-nodejs.html b/get-started/what-is-nodejs.html index 09fecdc..1b43753 100644 --- a/get-started/what-is-nodejs.html +++ b/get-started/what-is-nodejs.html @@ -30,11 +30,11 @@ What is Node.js? | Node.js Docs - - + + -
Skip to main content

What is Node.js?

Aahil...About 1 minGetting started

In this guide, we'll explore what Node.js is, how it works, and its various use cases.

Understanding Node.js

Node.js is an open-source server environment that enables the execution of JavaScript code outside of a web browser. It's free, versatile, and runs seamlessly on various platforms including Windows, Linux, Unix, and macOS.

Unlike traditional web development, where JavaScript is mainly used for client-side scripting, Node.js enables you to execute JavaScript on the server-side.

How Does Node.js Work?

At its core, Node.js is built on Chrome's V8 JavaScript engine, which makes it fast and efficient. It uses an event-driven, non-blocking I/O model, which means that it can handle thousands of simultaneous connections without getting bogged down by blocking operations.

Why Node.js?

One of the key reasons Node.js stands out is its asynchronous programming model. Traditionally, web servers would wait while performing tasks like opening files.

Node.js, however, sends tasks to the computer's file system and proceeds to handle the next request without waiting. This non-blocking, asynchronous approach enhances efficiency and responsiveness, making Node.js an excellent choice for handling concurrent operations.

Use Cases of Node.js

  • Generate Dynamic Page Content: Node.js can dynamically generate web page content, making it a powerful tool for building dynamic web applications.
  • File System Operations: With Node.js, you can perform various file system operations such as creating, opening, reading, writing, and deleting files on the server.
  • Handle Form Data: Node.js can collect form data submitted by users on web forms.
  • Database Operations: Node.js facilitates database operations, allowing you to add, delete, and modify data in your database.

Anatomy of a Node.js File

Node.js files contain tasks that execute in response to specific events, such as a user attempting to access a port on the server. These files, typically denoted with a ".js" extension, must be initiated on the server to take effect.

With this foundational understanding of Node.js, you're ready to dive deeper into its capabilities and explore server-side JavaScript development.

- +
Skip to main content

What is Node.js?

Aahil...About 1 minGetting started

In this guide, we'll explore what Node.js is, how it works, and its various use cases.

Understanding Node.js

Node.js is an open-source server environment that enables the execution of JavaScript code outside of a web browser. It's free, versatile, and runs seamlessly on various platforms including Windows, Linux, Unix, and macOS.

Unlike traditional web development, where JavaScript is mainly used for client-side scripting, Node.js enables you to execute JavaScript on the server-side.

How Does Node.js Work?

At its core, Node.js is built on Chrome's V8 JavaScript engine, which makes it fast and efficient. It uses an event-driven, non-blocking I/O model, which means that it can handle thousands of simultaneous connections without getting bogged down by blocking operations.

Why Node.js?

One of the key reasons Node.js stands out is its asynchronous programming model. Traditionally, web servers would wait while performing tasks like opening files.

Node.js, however, sends tasks to the computer's file system and proceeds to handle the next request without waiting. This non-blocking, asynchronous approach enhances efficiency and responsiveness, making Node.js an excellent choice for handling concurrent operations.

Use Cases of Node.js

  • Generate Dynamic Page Content: Node.js can dynamically generate web page content, making it a powerful tool for building dynamic web applications.
  • File System Operations: With Node.js, you can perform various file system operations such as creating, opening, reading, writing, and deleting files on the server.
  • Handle Form Data: Node.js can collect form data submitted by users on web forms.
  • Database Operations: Node.js facilitates database operations, allowing you to add, delete, and modify data in your database.

Anatomy of a Node.js File

Node.js files contain tasks that execute in response to specific events, such as a user attempting to access a port on the server. These files, typically denoted with a ".js" extension, must be initiated on the server to take effect.

With this foundational understanding of Node.js, you're ready to dive deeper into its capabilities and explore server-side JavaScript development.

+ diff --git a/index.html b/index.html index 8f3b701..d7cab9e 100644 --- a/index.html +++ b/index.html @@ -30,11 +30,11 @@ Home | Node.js Docs - - + +
Skip to main content
Node.Js

Node.Js

A comprehensive companion for understanding JavaScript's runtime environment ⚡️

Get startedDocs

- + diff --git a/sitemap.xml b/sitemap.xml index e870262..e48cb53 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,3 +1,3 @@ -https://vuepress-theme-hope-docs-demo.netlify.app/2024-04-15T15:45:15.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/2024-04-15T15:45:15.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/2024-04-15T20:12:13.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/installation.html2024-04-15T20:12:13.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/quick-start.html2024-04-15T20:12:13.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/what-is-nodejs.html2024-04-15T20:12:13.000Zdaily \ No newline at end of file +https://vuepress-theme-hope-docs-demo.netlify.app/2024-04-15T15:45:15.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/2024-04-15T15:45:15.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/2024-04-15T20:12:13.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/installation.html2024-04-15T20:12:13.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/quick-start.html2024-04-15T20:12:13.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/get-started/what-is-nodejs.html2024-04-15T20:12:13.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Email.html2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Events.html2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/File%20System.html2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/HTTP%20Modules.html2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Modules.html2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/NPM.html2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/URL%20Module.html2024-04-16T10:33:52.000Zdailyhttps://vuepress-theme-hope-docs-demo.netlify.app/docs/Basics/Upload%20Files.html2024-04-16T10:33:52.000Zdaily \ No newline at end of file