From e4c1914e6680ce5e25039f046a99827750600266 Mon Sep 17 00:00:00 2001 From: Meqn Date: Sun, 29 Oct 2023 03:41:17 +0000 Subject: [PATCH] deploy: 3678672c8977acf7bc1cb1920baf4b24766c08d8 --- 404.html | 4 +- api-examples.html | 16 ++-- ...e179dd4.js => api-examples.md.0c33dfdd.js} | 4 +- ...an.js => api-examples.md.0c33dfdd.lean.js} | 2 +- assets/{app.2e668e98.js => app.96a4cd99.js} | 2 +- .../chunks/@localSearchIndexroot.a2d52ff7.js | 1 + .../chunks/@localSearchIndexroot.d09a9331.js | 1 - assets/chunks/VPLocalSearchBox.5904400c.js | 7 -- assets/chunks/VPLocalSearchBox.8fe2480c.js | 7 ++ assets/chunks/framework.38a791dd.js | 2 - assets/chunks/framework.e1e0b12f.js | 2 + .../{theme.058d283b.js => theme.8477e444.js} | 2 +- assets/config_build-options.md.4c9e59db.js | 1 - .../config_build-options.md.4c9e59db.lean.js | 1 - assets/config_build-options.md.fdbc3a76.js | 1 + .../config_build-options.md.fdbc3a76.lean.js | 1 + ...81a41ee.js => config_index.md.419bb6cb.js} | 2 +- ...an.js => config_index.md.419bb6cb.lean.js} | 2 +- ...s => config_server-options.md.d674f251.js} | 2 +- ...config_server-options.md.d674f251.lean.js} | 2 +- ...s => config_shared-options.md.5441c144.js} | 2 +- ...config_shared-options.md.5441c144.lean.js} | 2 +- ....js => config_task-options.md.c567d294.js} | 2 +- ...> config_task-options.md.c567d294.lean.js} | 2 +- ...311d559.js => guide_assets.md.b79c2dfe.js} | 2 +- ...an.js => guide_assets.md.b79c2dfe.lean.js} | 2 +- ...cd87829e.js => guide_build.md.40b7054e.js} | 2 +- ...ean.js => guide_build.md.40b7054e.lean.js} | 2 +- ...d.ae96431e.js => guide_cli.md.ba2cf263.js} | 2 +- ....lean.js => guide_cli.md.ba2cf263.lean.js} | 2 +- assets/guide_env-and-mode.md.96d5abee.js | 27 +++++++ assets/guide_env-and-mode.md.96d5abee.lean.js | 1 + assets/guide_env-and-mode.md.9760ec67.js | 1 - assets/guide_env-and-mode.md.9760ec67.lean.js | 1 - ....b055bf74.js => guide_help.md.eb140209.js} | 2 +- ...lean.js => guide_help.md.eb140209.lean.js} | 2 +- assets/guide_index.md.0fc3b888.lean.js | 1 - ...0fc3b888.js => guide_index.md.fcecd5ed.js} | 4 +- assets/guide_index.md.fcecd5ed.lean.js | 1 + assets/guide_task-assets.md.1771cdae.lean.js | 1 - ...ae.js => guide_task-assets.md.7c420f8f.js} | 2 +- assets/guide_task-assets.md.7c420f8f.lean.js | 1 + ...be42.js => guide_task-html.md.3fba7211.js} | 2 +- ...js => guide_task-html.md.3fba7211.lean.js} | 2 +- ...71b4.js => guide_task-more.md.c1da7fa9.js} | 2 +- ...js => guide_task-more.md.c1da7fa9.lean.js} | 2 +- ...0a.js => guide_task-script.md.0125f4b2.js} | 2 +- assets/guide_task-script.md.0125f4b2.lean.js | 1 + assets/guide_task-script.md.70d16c0a.lean.js | 1 - assets/guide_task-style.md.7cf8fe3f.lean.js | 1 - ...e3f.js => guide_task-style.md.9a248d4f.js} | 2 +- assets/guide_task-style.md.9a248d4f.lean.js | 1 + assets/guide_task-user.md.1a1ae04b.js | 27 ------- assets/guide_task-user.md.1a1ae04b.lean.js | 1 - assets/guide_task-user.md.5d9122db.js | 75 +++++++++++++++++++ assets/guide_task-user.md.5d9122db.lean.js | 1 + assets/guide_task.md.32d2fa1f.js | 1 - assets/guide_task.md.c4654cc0.js | 1 + ...lean.js => guide_task.md.c4654cc0.lean.js} | 2 +- ...ex.md.7e1de573.js => index.md.da6dba14.js} | 2 +- ...e573.lean.js => index.md.da6dba14.lean.js} | 2 +- ...7f.js => markdown-examples.md.53b5e870.js} | 2 +- ... => markdown-examples.md.53b5e870.lean.js} | 2 +- config/build-options.html | 12 +-- config/index.html | 12 +-- config/server-options.html | 14 ++-- config/shared-options.html | 12 +-- config/task-options.html | 12 +-- guide/assets.html | 14 ++-- guide/build.html | 14 ++-- guide/cli.html | 14 ++-- guide/env-and-mode.html | 40 ++++++++-- guide/help.html | 12 +-- guide/index.html | 14 ++-- guide/task-assets.html | 14 ++-- guide/task-html.html | 14 ++-- guide/task-more.html | 14 ++-- guide/task-script.html | 14 ++-- guide/task-style.html | 12 +-- guide/task-user.html | 62 +++++++++++++-- guide/task.html | 12 +-- hashmap.json | 2 +- index.html | 10 +-- markdown-examples.html | 12 +-- sitemap.xml | 2 +- 85 files changed, 372 insertions(+), 224 deletions(-) rename assets/{api-examples.md.4e179dd4.js => api-examples.md.0c33dfdd.js} (95%) rename assets/{api-examples.md.4e179dd4.lean.js => api-examples.md.0c33dfdd.lean.js} (89%) rename assets/{app.2e668e98.js => app.96a4cd99.js} (90%) create mode 100644 assets/chunks/@localSearchIndexroot.a2d52ff7.js delete mode 100644 assets/chunks/@localSearchIndexroot.d09a9331.js delete mode 100644 assets/chunks/VPLocalSearchBox.5904400c.js create mode 100644 assets/chunks/VPLocalSearchBox.8fe2480c.js delete mode 100644 assets/chunks/framework.38a791dd.js create mode 100644 assets/chunks/framework.e1e0b12f.js rename assets/chunks/{theme.058d283b.js => theme.8477e444.js} (93%) delete mode 100644 assets/config_build-options.md.4c9e59db.js delete mode 100644 assets/config_build-options.md.4c9e59db.lean.js create mode 100644 assets/config_build-options.md.fdbc3a76.js create mode 100644 assets/config_build-options.md.fdbc3a76.lean.js rename assets/{config_index.md.181a41ee.js => config_index.md.419bb6cb.js} (98%) rename assets/{config_index.md.181a41ee.lean.js => config_index.md.419bb6cb.lean.js} (56%) rename assets/{config_server-options.md.ad4a83fc.js => config_server-options.md.d674f251.js} (93%) rename assets/{config_server-options.md.ad4a83fc.lean.js => config_server-options.md.d674f251.lean.js} (57%) rename assets/{config_shared-options.md.4215ea58.js => config_shared-options.md.5441c144.js} (94%) rename assets/{config_shared-options.md.4215ea58.lean.js => config_shared-options.md.5441c144.lean.js} (56%) rename assets/{config_task-options.md.324d3e7b.js => config_task-options.md.c567d294.js} (97%) rename assets/{config_task-options.md.324d3e7b.lean.js => config_task-options.md.c567d294.lean.js} (55%) rename assets/{guide_assets.md.7311d559.js => guide_assets.md.b79c2dfe.js} (97%) rename assets/{guide_assets.md.7311d559.lean.js => guide_assets.md.b79c2dfe.lean.js} (54%) rename assets/{guide_build.md.cd87829e.js => guide_build.md.40b7054e.js} (98%) rename assets/{guide_build.md.cd87829e.lean.js => guide_build.md.40b7054e.lean.js} (54%) rename assets/{guide_cli.md.ae96431e.js => guide_cli.md.ba2cf263.js} (99%) rename assets/{guide_cli.md.ae96431e.lean.js => guide_cli.md.ba2cf263.lean.js} (53%) create mode 100644 assets/guide_env-and-mode.md.96d5abee.js create mode 100644 assets/guide_env-and-mode.md.96d5abee.lean.js delete mode 100644 assets/guide_env-and-mode.md.9760ec67.js delete mode 100644 assets/guide_env-and-mode.md.9760ec67.lean.js rename assets/{guide_help.md.b055bf74.js => guide_help.md.eb140209.js} (86%) rename assets/{guide_help.md.b055bf74.lean.js => guide_help.md.eb140209.lean.js} (53%) delete mode 100644 assets/guide_index.md.0fc3b888.lean.js rename assets/{guide_index.md.0fc3b888.js => guide_index.md.fcecd5ed.js} (93%) create mode 100644 assets/guide_index.md.fcecd5ed.lean.js delete mode 100644 assets/guide_task-assets.md.1771cdae.lean.js rename assets/{guide_task-assets.md.1771cdae.js => guide_task-assets.md.7c420f8f.js} (96%) create mode 100644 assets/guide_task-assets.md.7c420f8f.lean.js rename assets/{guide_task-html.md.35a4be42.js => guide_task-html.md.3fba7211.js} (98%) rename assets/{guide_task-html.md.35a4be42.lean.js => guide_task-html.md.3fba7211.lean.js} (54%) rename assets/{guide_task-more.md.d77d71b4.js => guide_task-more.md.c1da7fa9.js} (95%) rename assets/{guide_task-more.md.d77d71b4.lean.js => guide_task-more.md.c1da7fa9.lean.js} (54%) rename assets/{guide_task-script.md.70d16c0a.js => guide_task-script.md.0125f4b2.js} (97%) create mode 100644 assets/guide_task-script.md.0125f4b2.lean.js delete mode 100644 assets/guide_task-script.md.70d16c0a.lean.js delete mode 100644 assets/guide_task-style.md.7cf8fe3f.lean.js rename assets/{guide_task-style.md.7cf8fe3f.js => guide_task-style.md.9a248d4f.js} (83%) create mode 100644 assets/guide_task-style.md.9a248d4f.lean.js delete mode 100644 assets/guide_task-user.md.1a1ae04b.js delete mode 100644 assets/guide_task-user.md.1a1ae04b.lean.js create mode 100644 assets/guide_task-user.md.5d9122db.js create mode 100644 assets/guide_task-user.md.5d9122db.lean.js delete mode 100644 assets/guide_task.md.32d2fa1f.js create mode 100644 assets/guide_task.md.c4654cc0.js rename assets/{guide_task.md.32d2fa1f.lean.js => guide_task.md.c4654cc0.lean.js} (51%) rename assets/{index.md.7e1de573.js => index.md.da6dba14.js} (92%) rename assets/{index.md.7e1de573.lean.js => index.md.da6dba14.lean.js} (92%) rename assets/{markdown-examples.md.11f46d7f.js => markdown-examples.md.53b5e870.js} (97%) rename assets/{markdown-examples.md.11f46d7f.lean.js => markdown-examples.md.53b5e870.lean.js} (57%) diff --git a/404.html b/404.html index d206d09..68283cc 100644 --- a/404.html +++ b/404.html @@ -7,14 +7,14 @@ - +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MIT License.

- + \ No newline at end of file diff --git a/api-examples.html b/api-examples.html index 931dafa..a269e4a 100644 --- a/api-examples.html +++ b/api-examples.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -93,7 +93,7 @@ "link": "/guide/build" }, { - "text": "环境变量与模式", + "text": "模式与环境变量", "link": "/guide/env-and-mode" } ] @@ -183,11 +183,11 @@ "headers": [], "relativePath": "api-examples.md", "filePath": "api-examples.md", - "lastUpdated": 1697424975000 + "lastUpdated": 1698550829000 }

Page Frontmatter

{
   "outline": "deep"
-}

More

Check out the documentation for the full list of runtime APIs.

- +}

More

Check out the documentation for the full list of runtime APIs.

+ \ No newline at end of file diff --git a/assets/api-examples.md.4e179dd4.js b/assets/api-examples.md.0c33dfdd.js similarity index 95% rename from assets/api-examples.md.4e179dd4.js rename to assets/api-examples.md.0c33dfdd.js index 0213282..41c98ef 100644 --- a/assets/api-examples.md.4e179dd4.js +++ b/assets/api-examples.md.0c33dfdd.js @@ -1,4 +1,4 @@ -import{u as o,o as r,c as i,k as a,t as s,l as n,Q as c,a as e}from"./chunks/framework.38a791dd.js";const d=c(`

Runtime API Examples

This page demonstrates usage of some of the runtime APIs provided by VitePress.

The main useData() API can be used to access site, theme, and page data for the current page. It works in both .md and .vue files:

md
<script setup>
+import{u as o,o as r,c as i,k as a,t as s,l as n,Q as c,a as e}from"./chunks/framework.e1e0b12f.js";const d=c(`

Runtime API Examples

This page demonstrates usage of some of the runtime APIs provided by VitePress.

The main useData() API can be used to access site, theme, and page data for the current page. It works in both .md and .vue files:

md
<script setup>
 import { useData } from 'vitepress'
 
 const { theme, page, frontmatter } = useData()
@@ -28,4 +28,4 @@ import{u as o,o as r,c as i,k as a,t as s,l as n,Q as c,a as e}from"./chunks/fra
 <pre>{{ page }}</pre>
 
 ### Page Frontmatter
-<pre>{{ frontmatter }}</pre>

Results

Theme Data

`,6),h=a("h3",{id:"page-data",tabindex:"-1"},[e("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"​")],-1),m=a("h3",{id:"page-frontmatter",tabindex:"-1"},[e("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"​")],-1),g=a("h2",{id:"more",tabindex:"-1"},[e("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"​")],-1),u=a("p",null,[e("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),e(".")],-1),x=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md","lastUpdated":1697424975000}'),f={name:"api-examples.md"},D=Object.assign(f,{setup(_){const{site:E,theme:t,page:l,frontmatter:p}=o();return(b,y)=>(r(),i("div",null,[d,a("pre",null,s(n(t)),1),h,a("pre",null,s(n(l)),1),m,a("pre",null,s(n(p)),1),g,u]))}});export{x as __pageData,D as default}; +<pre>{{ frontmatter }}</pre>

Results

Theme Data

`,6),h=a("h3",{id:"page-data",tabindex:"-1"},[e("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"​")],-1),m=a("h3",{id:"page-frontmatter",tabindex:"-1"},[e("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"​")],-1),g=a("h2",{id:"more",tabindex:"-1"},[e("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"​")],-1),u=a("p",null,[e("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),e(".")],-1),x=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md","lastUpdated":1698550829000}'),f={name:"api-examples.md"},D=Object.assign(f,{setup(_){const{site:E,theme:t,page:l,frontmatter:p}=o();return(b,y)=>(r(),i("div",null,[d,a("pre",null,s(n(t)),1),h,a("pre",null,s(n(l)),1),m,a("pre",null,s(n(p)),1),g,u]))}});export{x as __pageData,D as default}; diff --git a/assets/api-examples.md.4e179dd4.lean.js b/assets/api-examples.md.0c33dfdd.lean.js similarity index 89% rename from assets/api-examples.md.4e179dd4.lean.js rename to assets/api-examples.md.0c33dfdd.lean.js index 8a9f71b..907073e 100644 --- a/assets/api-examples.md.4e179dd4.lean.js +++ b/assets/api-examples.md.0c33dfdd.lean.js @@ -1 +1 @@ -import{u as o,o as r,c as i,k as a,t as s,l as n,Q as c,a as e}from"./chunks/framework.38a791dd.js";const d=c("",6),h=a("h3",{id:"page-data",tabindex:"-1"},[e("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"​")],-1),m=a("h3",{id:"page-frontmatter",tabindex:"-1"},[e("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"​")],-1),g=a("h2",{id:"more",tabindex:"-1"},[e("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"​")],-1),u=a("p",null,[e("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),e(".")],-1),x=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md","lastUpdated":1697424975000}'),f={name:"api-examples.md"},D=Object.assign(f,{setup(_){const{site:E,theme:t,page:l,frontmatter:p}=o();return(b,y)=>(r(),i("div",null,[d,a("pre",null,s(n(t)),1),h,a("pre",null,s(n(l)),1),m,a("pre",null,s(n(p)),1),g,u]))}});export{x as __pageData,D as default}; +import{u as o,o as r,c as i,k as a,t as s,l as n,Q as c,a as e}from"./chunks/framework.e1e0b12f.js";const d=c("",6),h=a("h3",{id:"page-data",tabindex:"-1"},[e("Page Data "),a("a",{class:"header-anchor",href:"#page-data","aria-label":'Permalink to "Page Data"'},"​")],-1),m=a("h3",{id:"page-frontmatter",tabindex:"-1"},[e("Page Frontmatter "),a("a",{class:"header-anchor",href:"#page-frontmatter","aria-label":'Permalink to "Page Frontmatter"'},"​")],-1),g=a("h2",{id:"more",tabindex:"-1"},[e("More "),a("a",{class:"header-anchor",href:"#more","aria-label":'Permalink to "More"'},"​")],-1),u=a("p",null,[e("Check out the documentation for the "),a("a",{href:"https://vitepress.dev/reference/runtime-api#usedata",target:"_blank",rel:"noreferrer"},"full list of runtime APIs"),e(".")],-1),x=JSON.parse('{"title":"Runtime API Examples","description":"","frontmatter":{"outline":"deep"},"headers":[],"relativePath":"api-examples.md","filePath":"api-examples.md","lastUpdated":1698550829000}'),f={name:"api-examples.md"},D=Object.assign(f,{setup(_){const{site:E,theme:t,page:l,frontmatter:p}=o();return(b,y)=>(r(),i("div",null,[d,a("pre",null,s(n(t)),1),h,a("pre",null,s(n(l)),1),m,a("pre",null,s(n(p)),1),g,u]))}});export{x as __pageData,D as default}; diff --git a/assets/app.2e668e98.js b/assets/app.96a4cd99.js similarity index 90% rename from assets/app.2e668e98.js rename to assets/app.96a4cd99.js index 4b7a9f5..17d028b 100644 --- a/assets/app.2e668e98.js +++ b/assets/app.96a4cd99.js @@ -1 +1 @@ -import{s,a1 as i,a2 as u,a3 as c,a4 as l,a5 as d,a6 as f,a7 as m,a8 as h,a9 as A,aa as g,V as P,d as v,u as y,j as w,y as C,ab as _,ac as b,ad as E,ae as R}from"./chunks/framework.38a791dd.js";import{t as D}from"./chunks/theme.058d283b.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=p(D),j=v({name:"VitePressApp",setup(){const{site:e}=y();return w(()=>{C(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function O(){const e=T(),a=S();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",d),a.component("ClientOnly",f),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function S(){return h(j)}function T(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=P(()=>import(n),[])),s&&(e=!1),r},o.NotFound)}s&&O().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{O as createApp}; +import{s,a1 as i,a2 as u,a3 as c,a4 as l,a5 as d,a6 as f,a7 as m,a8 as h,a9 as A,aa as g,V as P,d as v,u as y,j as w,y as C,ab as _,ac as b,ad as E,ae as R}from"./chunks/framework.e1e0b12f.js";import{t as D}from"./chunks/theme.8477e444.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=p(D),j=v({name:"VitePressApp",setup(){const{site:e}=y();return w(()=>{C(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function O(){const e=T(),a=S();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",d),a.component("ClientOnly",f),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function S(){return h(j)}function T(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=P(()=>import(n),[])),s&&(e=!1),r},o.NotFound)}s&&O().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{O as createApp}; diff --git a/assets/chunks/@localSearchIndexroot.a2d52ff7.js b/assets/chunks/@localSearchIndexroot.a2d52ff7.js new file mode 100644 index 0000000..6965200 --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.a2d52ff7.js @@ -0,0 +1 @@ +const t='{"documentCount":132,"nextId":132,"documentIds":{"0":"/api-examples.html#runtime-api-examples","1":"/api-examples.html#results","2":"/api-examples.html#theme-data","3":"/api-examples.html#page-data","4":"/api-examples.html#page-frontmatter","5":"/api-examples.html#more","6":"/config/build-options.html#build-options","7":"/config/build-options.html#build-outdir","8":"/config/build-options.html#build-fileHash","9":"/config/build-options.html#build-sourcemap","10":"/config/build-options.html#build-minify","11":"/config/build-options.html#build-htmlminify","12":"/config/build-options.html#build-jsminify","13":"/config/build-options.html#build-cssminify","14":"/config/build-options.html#build-imageminify","15":"/config/#configuring-pipflow","16":"/config/#配置智能提示","17":"/config/#情景配置","18":"/config/server-options.html#server-options","19":"/config/server-options.html#server-host","20":"/config/server-options.html#server-port","21":"/config/server-options.html#server-https","22":"/config/server-options.html#server-open","23":"/config/server-options.html#server-server","24":"/config/server-options.html#server-proxy","25":"/config/server-options.html#server-middleware","26":"/config/server-options.html#server-cors","27":"/config/server-options.html#server-browser","28":"/config/server-options.html#server-ghostmode","29":"/config/server-options.html#server-notify","30":"/config/shared-options.html#shared-options","31":"/config/shared-options.html#base","32":"/config/shared-options.html#public-dir","33":"/config/shared-options.html#alias","34":"/config/shared-options.html#env-dir","35":"/config/task-options.html#task-options","36":"/config/task-options.html#name","37":"/config/task-options.html#type","38":"/config/task-options.html#input","39":"/config/task-options.html#dest","40":"/config/task-options.html#base","41":"/config/task-options.html#compiler","42":"/config/task-options.html#compiler-options","43":"/config/task-options.html#minify","44":"/config/task-options.html#plugins","45":"/config/task-options.html#file-hash","46":"/config/task-options.html#sourcemap","47":"/config/task-options.html#alias","48":"/config/task-options.html#watch","49":"/config/task-options.html#filename","50":"/guide/assets.html#静态资源处理","51":"/guide/assets.html#资源文件url","52":"/guide/assets.html#public-目录","53":"/guide/assets.html#文件指纹","54":"/guide/build.html#构建生产版本","55":"/guide/build.html#浏览器兼容性","56":"/guide/build.html#browserslist","57":"/guide/build.html#polyfill","58":"/guide/build.html#自定义构建","59":"/guide/cli.html#cli","60":"/guide/cli.html#cli-create","61":"/guide/cli.html#pipflow-create","62":"/guide/cli.html#使用","63":"/guide/cli.html#选项","64":"/guide/cli.html#项目目录结构","65":"/guide/cli.html#cli-dev","66":"/guide/cli.html#pipflow-dev","67":"/guide/cli.html#使用-1","68":"/guide/cli.html#选项-1","69":"/guide/cli.html#cli-build","70":"/guide/cli.html#pipflow-build","71":"/guide/cli.html#使用-2","72":"/guide/cli.html#选项-2","73":"/guide/cli.html#cli-other","74":"/guide/cli.html#cli-task","75":"/guide/cli.html#使用-3","76":"/guide/cli.html#选项-3","77":"/guide/cli.html#cli-server","78":"/guide/cli.html#使用-4","79":"/guide/cli.html#选项-4","80":"/guide/cli.html#cli-info","81":"/guide/cli.html#使用-5","82":"/guide/env-and-mode.html#模式与环境变量","83":"/guide/env-and-mode.html#模式","84":"/guide/env-and-mode.html#环境变量","85":"/guide/env-and-mode.html#env文件","86":"/guide/help.html#常见问题","87":"/guide/help.html#安装依赖时间过长","88":"/guide/help.html#安装依赖失败","89":"/guide/#开始","90":"/guide/#总览","91":"/guide/#搭建-pipflow-项目","92":"/guide/#命令行界面","93":"/guide/#配置","94":"/guide/task-assets.html#静态资源","95":"/guide/task-assets.html#静态文件任务","96":"/guide/task-assets.html#图片任务","97":"/guide/task-assets.html#图片压缩","98":"/guide/task-html.html#html-任务","99":"/guide/task-html.html#process-flow","100":"/guide/task-html.html#环境变量处理","101":"/guide/task-html.html#html-templater","102":"/guide/task-html.html#configuration","103":"/guide/task-html.html#example","104":"/guide/task-html.html#content-compress","105":"/guide/task-more.html#其他任务","106":"/guide/task-more.html#zip压缩任务-archive","107":"/guide/task-more.html#options","108":"/guide/task-script.html#script-任务","109":"/guide/task-script.html#process-flow","110":"/guide/task-script.html#文件入口","111":"/guide/task-script.html#_1-字符串通配符","112":"/guide/task-script.html#_2-数组方式","113":"/guide/task-script.html#_3-对象方式","114":"/guide/task-script.html#babel-转译","115":"/guide/task-script.html#terser","116":"/guide/task-style.html#style-任务","117":"/guide/task-style.html#处理流程","118":"/guide/task-style.html#css-preprocessor","119":"/guide/task-style.html#postcss集成","120":"/guide/task-style.html#remtopx","121":"/guide/task-style.html#pxtorem","122":"/guide/task-style.html#pxtoview","123":"/guide/task-user.html#自定义任务和流程","124":"/guide/task-user.html#extend-task","125":"/guide/task-user.html#create-task","126":"/guide/task-user.html#compose-task","127":"/guide/task.html#概要","128":"/markdown-examples.html#markdown-extension-examples","129":"/markdown-examples.html#syntax-highlighting","130":"/markdown-examples.html#custom-containers","131":"/markdown-examples.html#more"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,52],"1":[1,3,1],"2":[2,4,2],"3":[2,4,2],"4":[2,4,2],"5":[1,3,11],"6":[1,1,1],"7":[2,1,7],"8":[2,1,21],"9":[2,1,18],"10":[2,1,29],"11":[2,1,20],"12":[2,1,18],"13":[2,1,18],"14":[2,1,41],"15":[2,1,31],"16":[1,2,26],"17":[1,2,24],"18":[1,1,10],"19":[2,1,8],"20":[2,1,12],"21":[2,1,28],"22":[2,1,7],"23":[1,1,26],"24":[2,1,49],"25":[2,1,20],"26":[2,1,7],"27":[2,1,13],"28":[2,1,29],"29":[2,1,6],"30":[1,1,1],"31":[1,1,35],"32":[1,1,21],"33":[1,1,19],"34":[1,1,13],"35":[1,1,3],"36":[1,1,11],"37":[1,1,16],"38":[1,1,6],"39":[1,1,12],"40":[1,1,15],"41":[1,1,19],"42":[1,1,9],"43":[1,1,17],"44":[1,1,6],"45":[1,1,7],"46":[1,1,15],"47":[1,1,12],"48":[1,1,9],"49":[1,1,16],"50":[1,1,1],"51":[1,1,29],"52":[2,1,36],"53":[1,1,16],"54":[1,1,15],"55":[1,1,1],"56":[1,2,29],"57":[1,2,36],"58":[1,1,85],"59":[1,1,23],"60":[1,1,1],"61":[2,2,2],"62":[1,4,48],"63":[1,4,75],"64":[1,2,53],"65":[1,1,1],"66":[2,2,5],"67":[1,4,6],"68":[1,4,62],"69":[1,1,1],"70":[2,2,5],"71":[1,4,15],"72":[1,4,34],"73":[1,1,1],"74":[2,2,2],"75":[1,4,14],"76":[1,4,23],"77":[2,2,7],"78":[1,4,4],"79":[1,4,82],"80":[2,2,2],"81":[1,4,4],"82":[1,1,1],"83":[1,1,78],"84":[1,1,33],"85":[2,2,57],"86":[1,1,1],"87":[1,1,17],"88":[1,1,7],"89":[1,1,1],"90":[1,1,51],"91":[3,1,25],"92":[1,1,37],"93":[1,1,1],"94":[1,1,1],"95":[1,1,1],"96":[1,1,1],"97":[1,2,47],"98":[2,1,1],"99":[1,2,37],"100":[1,2,6],"101":[1,2,60],"102":[1,3,1],"103":[1,3,42],"104":[1,2,22],"105":[1,1,1],"106":[3,1,25],"107":[1,4,3],"108":[2,1,1],"109":[1,2,28],"110":[1,2,7],"111":[2,3,7],"112":[2,3,9],"113":[2,3,16],"114":[2,2,17],"115":[1,2,8],"116":[2,1,1],"117":[1,2,1],"118":[2,2,1],"119":[1,2,1],"120":[1,3,1],"121":[1,3,1],"122":[1,3,1],"123":[1,1,1],"124":[1,1,21],"125":[1,1,1],"126":[1,1,99],"127":[1,1,34],"128":[3,1,14],"129":[2,3,28],"130":[2,3,21],"131":[1,3,11]},"averageFieldLength":[1.3636363636363633,1.7196969696969697,18.227272727272727],"storedFields":{"0":{"title":"Runtime API Examples","titles":[]},"1":{"title":"Results","titles":["Runtime API Examples"]},"2":{"title":"Theme Data","titles":["Runtime API Examples","Results"]},"3":{"title":"Page Data","titles":["Runtime API Examples","Results"]},"4":{"title":"Page Frontmatter","titles":["Runtime API Examples","Results"]},"5":{"title":"More","titles":["Runtime API Examples"]},"6":{"title":"构建选项","titles":[]},"7":{"title":"build.outDir","titles":["构建选项"]},"8":{"title":"build.fileHash","titles":["构建选项"]},"9":{"title":"build.sourcemap","titles":["构建选项"]},"10":{"title":"build.minify","titles":["构建选项"]},"11":{"title":"build.htmlMinify","titles":["构建选项"]},"12":{"title":"build.jsMinify","titles":["构建选项"]},"13":{"title":"build.cssMinify","titles":["构建选项"]},"14":{"title":"build.imageMinify","titles":["构建选项"]},"15":{"title":"配置 pipflow","titles":[]},"16":{"title":"配置智能提示","titles":["配置 pipflow"]},"17":{"title":"情景配置","titles":["配置 pipflow"]},"18":{"title":"开发服务器选项","titles":[]},"19":{"title":"server.host","titles":["开发服务器选项"]},"20":{"title":"server.port","titles":["开发服务器选项"]},"21":{"title":"server.https","titles":["开发服务器选项"]},"22":{"title":"server.open","titles":["开发服务器选项"]},"23":{"title":"server.server","titles":["开发服务器选项"]},"24":{"title":"server.proxy","titles":["开发服务器选项"]},"25":{"title":"server.middleware","titles":["开发服务器选项"]},"26":{"title":"server.cors","titles":["开发服务器选项"]},"27":{"title":"server.browser","titles":["开发服务器选项"]},"28":{"title":"server.ghostMode","titles":["开发服务器选项"]},"29":{"title":"server.notify","titles":["开发服务器选项"]},"30":{"title":"共享配置","titles":[]},"31":{"title":"base","titles":["共享配置"]},"32":{"title":"publicDir","titles":["共享配置"]},"33":{"title":"alias","titles":["共享配置"]},"34":{"title":"envDir","titles":["共享配置"]},"35":{"title":"任务配置","titles":[]},"36":{"title":"name","titles":["任务配置"]},"37":{"title":"type","titles":["任务配置"]},"38":{"title":"input","titles":["任务配置"]},"39":{"title":"dest","titles":["任务配置"]},"40":{"title":"base","titles":["任务配置"]},"41":{"title":"compiler","titles":["任务配置"]},"42":{"title":"compilerOptions","titles":["任务配置"]},"43":{"title":"minify","titles":["任务配置"]},"44":{"title":"plugins","titles":["任务配置"]},"45":{"title":"fileHash","titles":["任务配置"]},"46":{"title":"sourcemap","titles":["任务配置"]},"47":{"title":"alias","titles":["任务配置"]},"48":{"title":"watch","titles":["任务配置"]},"49":{"title":"filename","titles":["任务配置"]},"50":{"title":"静态资源处理","titles":[]},"51":{"title":"资源文件URL","titles":["静态资源处理"]},"52":{"title":"public 目录","titles":["静态资源处理"]},"53":{"title":"文件指纹","titles":["静态资源处理"]},"54":{"title":"构建生产版本","titles":[]},"55":{"title":"浏览器兼容性","titles":["构建生产版本"]},"56":{"title":"browserslist","titles":["构建生产版本","浏览器兼容性"]},"57":{"title":"Polyfill","titles":["构建生产版本","浏览器兼容性"]},"58":{"title":"自定义构建","titles":["构建生产版本"]},"59":{"title":"命令行界面","titles":[]},"60":{"title":"创建项目","titles":["命令行界面"]},"61":{"title":"pipflow create","titles":["命令行界面","创建项目"]},"62":{"title":"使用","titles":["命令行界面","创建项目","pipflow create"]},"63":{"title":"选项","titles":["命令行界面","创建项目","pipflow create"]},"64":{"title":"项目目录结构","titles":["命令行界面","创建项目"]},"65":{"title":"开发服务器","titles":["命令行界面"]},"66":{"title":"pipflow dev","titles":["命令行界面","开发服务器"]},"67":{"title":"使用","titles":["命令行界面","开发服务器","pipflow dev"]},"68":{"title":"选项","titles":["命令行界面","开发服务器","pipflow dev"]},"69":{"title":"构建","titles":["命令行界面"]},"70":{"title":"pipflow build","titles":["命令行界面","构建"]},"71":{"title":"使用","titles":["命令行界面","构建","pipflow build"]},"72":{"title":"选项","titles":["命令行界面","构建","pipflow build"]},"73":{"title":"其他","titles":["命令行界面"]},"74":{"title":"pipflow task","titles":["命令行界面","其他"]},"75":{"title":"使用","titles":["命令行界面","其他","pipflow task"]},"76":{"title":"选项","titles":["命令行界面","其他","pipflow task"]},"77":{"title":"pipflow server","titles":["命令行界面","其他"]},"78":{"title":"使用","titles":["命令行界面","其他","pipflow server"]},"79":{"title":"选项","titles":["命令行界面","其他","pipflow server"]},"80":{"title":"pipflow-info","titles":["命令行界面","其他"]},"81":{"title":"使用","titles":["命令行界面","其他","pipflow-info"]},"82":{"title":"模式与环境变量","titles":[]},"83":{"title":"模式","titles":["模式与环境变量"]},"84":{"title":"环境变量","titles":["模式与环境变量"]},"85":{"title":".env文件","titles":["模式与环境变量","环境变量"]},"86":{"title":"常见问题","titles":[]},"87":{"title":"安装依赖时间过长","titles":["常见问题"]},"88":{"title":"安装依赖失败","titles":["常见问题"]},"89":{"title":"开始","titles":[]},"90":{"title":"总览","titles":["开始"]},"91":{"title":"搭建 pipflow 项目","titles":["开始"]},"92":{"title":"命令行界面","titles":["开始"]},"93":{"title":"配置","titles":["开始"]},"94":{"title":"静态资源","titles":[]},"95":{"title":"静态文件任务","titles":["静态资源"]},"96":{"title":"图片任务","titles":["静态资源"]},"97":{"title":"图片压缩","titles":["静态资源","图片任务"]},"98":{"title":"HTML 任务","titles":[]},"99":{"title":"处理流程","titles":["HTML 任务"]},"100":{"title":"环境变量处理","titles":["HTML 任务"]},"101":{"title":"模板渲染","titles":["HTML 任务"]},"102":{"title":"渲染配置项","titles":["HTML 任务","模板渲染"]},"103":{"title":"示例","titles":["HTML 任务","模板渲染"]},"104":{"title":"内容压缩","titles":["HTML 任务"]},"105":{"title":"其他任务","titles":[]},"106":{"title":"ZIP压缩任务 (archive)","titles":["其他任务"]},"107":{"title":"options","titles":["其他任务","ZIP压缩任务 (archive)"]},"108":{"title":"script 任务","titles":[]},"109":{"title":"处理流程","titles":["script 任务"]},"110":{"title":"文件入口","titles":["script 任务"]},"111":{"title":"1. 字符串通配符","titles":["script 任务","文件入口"]},"112":{"title":"2. 数组方式","titles":["script 任务","文件入口"]},"113":{"title":"3. 对象方式","titles":["script 任务","文件入口"]},"114":{"title":"babel 转译","titles":["script 任务"]},"115":{"title":"terser","titles":["script 任务"]},"116":{"title":"style 任务","titles":[]},"117":{"title":"处理流程","titles":["style 任务"]},"118":{"title":"CSS 预处理器","titles":["style 任务"]},"119":{"title":"postcss集成","titles":["style 任务"]},"120":{"title":"remtopx","titles":["style 任务","postcss集成"]},"121":{"title":"pxtorem","titles":["style 任务","postcss集成"]},"122":{"title":"pxtoview","titles":["style 任务","postcss集成"]},"123":{"title":"自定义任务和流程","titles":[]},"124":{"title":"扩展任务","titles":["自定义任务和流程"]},"125":{"title":"创建新任务","titles":["自定义任务和流程"]},"126":{"title":"组合任务","titles":["自定义任务和流程"]},"127":{"title":"概要","titles":[]},"128":{"title":"Markdown Extension Examples","titles":[]},"129":{"title":"Syntax Highlighting","titles":["Markdown Extension Examples"]},"130":{"title":"Custom Containers","titles":["Markdown Extension Examples"]},"131":{"title":"More","titles":["Markdown Extension Examples"]}},"dirtCount":0,"index":[["及其使用方法",{"2":{"127":1}}],["既可以在已有的任务上扩展",{"2":{"127":1}}],["删除文件任务",{"2":{"127":1}}],["删除package",{"2":{"87":1}}],["复制文件任务",{"2":{"127":1}}],["复用",{"2":{"103":2}}],["主要任务类型包含",{"2":{"127":1}}],["实现资源的自动化处理",{"2":{"127":1}}],["实例是用",{"2":{"31":1}}],["概要",{"0":{"127":1}}],["未知或不等于",{"2":{"126":1}}],["脚本",{"2":{"126":1}}],["方法执行的",{"2":{"126":2}}],["值是一个二维数组",{"2":{"126":1}}],["值为",{"2":{"8":3}}],["入口说明",{"2":{"126":1}}],["从列显的任务中选择一些任务组合为一个新的任务",{"2":{"126":1}}],["先查看项目下的所有任务",{"2":{"126":1}}],["才会执行下一个任务",{"2":{"126":1}}],["组合任务",{"0":{"126":1},"2":{"127":1}}],["扩展任务",{"0":{"124":1}}],["扩展名",{"2":{"15":1}}],["修改支持的目标浏览器",{"2":{"114":1}}],["转译",{"0":{"114":1},"2":{"114":1}}],["转译配置项",{"2":{"42":1}}],["个js文件",{"2":{"113":1}}],["个人推荐",{"2":{"101":1}}],["种方式",{"2":{"110":1}}],["数组的子项表示一个并行任务",{"2":{"126":1}}],["数组的每一项是一个任务名",{"2":{"126":1}}],["数组列表表示一个串联任务",{"2":{"126":1}}],["数组方式",{"0":{"112":1}}],["数组",{"2":{"110":1}}],["数量的最小化",{"2":{"57":1}}],["单一字符串",{"2":{"110":1}}],["单独执行某个任务",{"2":{"74":1}}],["两种方式",{"2":{"109":1}}],["zip`在dist目录中",{"2":{"106":1}}],["zip`在dist目录中pipflow",{"2":{"106":1}}],["zip`在项目的根目录",{"2":{"106":2}}],["zip",{"2":{"106":4}}],["zip压缩任务",{"0":{"106":1},"1":{"107":1}}],["参见",{"2":{"104":1}}],["参数",{"2":{"58":1}}],["您可以根据自己的需求和偏好选择适合的模板引擎来开发您的项目",{"2":{"101":1}}],["标准语法类似",{"2":{"101":1}}],["原始语法兼容",{"2":{"101":1}}],["非常适合前端开发和服务器端渲染",{"2":{"101":1}}],["非常适合快速构建静态页面",{"2":{"101":1}}],["循环和继承等高级功能",{"2":{"101":1}}],["可将javascript代码嵌入到模板中",{"2":{"101":1}}],["可以快速生成html代码",{"2":{"101":1}}],["可以指定额外的命令行选项",{"2":{"92":1}}],["可以指定当前服务基本目录以及索引文件",{"2":{"23":1}}],["可以直接运行",{"2":{"92":1}}],["可以直接删除",{"2":{"87":1}}],["可以扩展已有任务",{"2":{"90":1}}],["可以包含敏感变量",{"2":{"85":1}}],["可以帮助优化浏览器缓存和文件更新的管理",{"2":{"53":1}}],["可以使用",{"2":{"49":1}}],["可以是一个绝对路径",{"2":{"34":1}}],["可以关闭此项功能",{"2":{"32":1}}],["可以统一禁用最小化混淆或压缩",{"2":{"10":1}}],["文档",{"2":{"101":5}}],["文件是基于",{"2":{"115":1}}],["文件来配置",{"2":{"114":1}}],["文件入口配置支持",{"2":{"110":1}}],["文件入口",{"0":{"110":1},"1":{"111":1,"112":1,"113":1}}],["文件监视",{"2":{"90":1}}],["文件应是本地的",{"2":{"85":1}}],["文件覆写",{"2":{"85":1}}],["文件配置来改变它",{"2":{"83":1}}],["文件里配置",{"2":{"56":1}}],["文件指纹",{"0":{"53":1}}],["文件哈希和版本控制",{"2":{"45":1}}],["文件最小化混淆或压缩",{"2":{"43":1}}],["文件转译工具",{"2":{"41":1}}],["文件的目录",{"2":{"34":1}}],["文件时",{"2":{"33":1}}],["文件",{"2":{"8":1,"9":2,"46":1,"56":1,"83":1,"103":2,"109":1}}],["具有简洁的语法和强大的功能",{"2":{"101":1}}],["具体配置可以查阅",{"2":{"115":1}}],["具体步骤如下",{"2":{"97":1}}],["具体参数说明请参见",{"2":{"91":1}}],["简洁而且可扩展的模板引擎",{"2":{"101":1}}],["简介",{"2":{"101":5}}],["简单易用和预设功能",{"2":{"90":1}}],["让我们来逐一介绍它们",{"2":{"101":1}}],["🤪",{"2":{"101":1}}],["写入的环境变量将会被静态替换",{"2":{"100":1}}],["写入文件系统时",{"2":{"31":1}}],["过的资源文件版本的映射",{"2":{"99":1}}],["内容压缩",{"0":{"104":1},"2":{"99":1}}],["内置一套完整的构建流程和多类型构建任务",{"2":{"127":1}}],["内置了5款流行的模板引擎",{"2":{"101":1}}],["内置5款流行的模板引擎",{"2":{"90":1}}],["内置任务类型",{"2":{"37":1}}],["内置静态服务器配置",{"2":{"23":1}}],["渲染配置项",{"0":{"102":1}}],["渲染html模板引擎",{"2":{"99":1}}],["渲染标题",{"2":{"83":1}}],["处理",{"2":{"99":1,"109":1}}],["处理流程",{"0":{"99":1,"109":1,"117":1}}],["处提供",{"2":{"32":1}}],["8及以上版本仅支持",{"2":{"97":1}}],["7",{"2":{"97":1}}],["7npm",{"2":{"97":1}}],["鉴于此会影响整个工程的安装运行",{"2":{"97":1}}],["且",{"2":{"97":1}}],["且图片压缩是一项耗时的一次性任务",{"2":{"14":1}}],["了解更多细节",{"2":{"92":1}}],["了解如何指定浏览器范围",{"2":{"56":1}}],["查看",{"2":{"92":1}}],["查看所有任务",{"2":{"75":2}}],["获得完整的命令行选项列表",{"2":{"92":1}}],["进行压缩混淆",{"2":{"115":1}}],["进行",{"2":{"114":1}}],["进行引入链接的替换",{"2":{"99":1}}],["进行便捷开发",{"2":{"59":1}}],["进入项目根目录后",{"2":{"92":1}}],["版本才能正常运行",{"2":{"91":1}}],["版本",{"2":{"91":2}}],["需要",{"2":{"91":1}}],["兼容性注意",{"2":{"91":1}}],["兼容老版本浏览器",{"2":{"90":1}}],["搭建",{"0":{"91":1}}],["使其成为基于gulp工作流的理想选择",{"2":{"90":1}}],["使用简单",{"2":{"101":1}}],["使用",{"0":{"62":1,"67":1,"71":1,"75":1,"78":1,"81":1},"2":{"20":1,"87":1}}],["温馨说明",{"2":{"90":1}}],["温馨提示",{"2":{"49":1,"57":1,"59":1}}],["极大地提升了项目之间的一致性和开发效率",{"2":{"90":1}}],["极大地简化了前端开发流程",{"2":{"90":1}}],["满足各种需求",{"2":{"90":1}}],["支持",{"2":{"99":1,"109":1}}],["支持https和浏览器同步测试",{"2":{"90":1}}],["支持less",{"2":{"90":1}}],["本地预览生产构建产物",{"2":{"92":2}}],["本地开发服务器",{"2":{"90":1}}],["本身附带",{"2":{"16":1}}],["更容易调试和版本控制",{"2":{"90":1}}],["图片资源处理任务",{"2":{"127":1}}],["图片任务",{"0":{"96":1},"1":{"97":1}}],["图片优化",{"2":{"90":1}}],["图片压缩",{"0":{"97":1},"2":{"87":1}}],["图片压缩是基于",{"2":{"14":1}}],["图片压缩配置项",{"2":{"14":1}}],["校验",{"2":{"90":1}}],["合并",{"2":{"90":2}}],["打包压缩任务",{"2":{"127":1}}],["打包",{"2":{"90":1}}],["打印当前项目的运行环境信息",{"2":{"80":1}}],["编译",{"2":{"90":1}}],["编译阶段会被统一静态替换",{"2":{"51":1}}],["总览",{"0":{"90":1}}],["国内可能会被墙",{"2":{"88":1}}],["国内环境",{"2":{"14":1,"97":1}}],["服务器上",{"2":{"88":1}}],["很多包将源码托管在",{"2":{"88":1}}],["多数是因为网络原因",{"2":{"88":1}}],["经常碰到安装依赖失败",{"2":{"88":1}}],["我把部分依赖包抽离到外部",{"2":{"87":1}}],["我们推荐以这种方式添加",{"2":{"57":1}}],["安装",{"2":{"97":1}}],["安装依赖失败",{"0":{"88":1}}],["安装依赖时间过长",{"0":{"87":1}}],["安全注意事项",{"2":{"85":1}}],["常见问题",{"0":{"86":1},"1":{"87":1,"88":1}}],["源码的变量最终都将出现在客户端包中",{"2":{"85":1}}],["源码文件夹",{"2":{"64":2}}],["检入",{"2":{"85":1}}],["添加到你的",{"2":{"85":1}}],["想要了解解析环境文件规则的细节",{"2":{"85":1}}],["想要了解更多配置细节",{"2":{"18":1}}],["启动开发服务器",{"2":{"92":2}}],["启动一开始时被加载",{"2":{"85":1}}],["启动一个本地http服务器",{"2":{"77":1}}],["启动时已经存在的环境变量拥有最高优先级",{"2":{"85":1}}],["此外",{"2":{"85":1}}],["此选项配置后会覆盖",{"2":{"11":1,"12":1,"13":1,"14":1}}],["拥有更高的优先级",{"2":{"85":1}}],["键=值",{"2":{"85":1}}],["忽略",{"2":{"85":4}}],["相反",{"2":{"84":1}}],["相对于",{"2":{"15":1}}],["相对于项目根目录",{"2":{"7":1}}],["永远与",{"2":{"84":1}}],["应用程序包的任务",{"2":{"126":1}}],["应用是否运行在开发环境",{"2":{"84":1}}],["应用是否运行在生产环境",{"2":{"84":1}}],["应用运行的模式",{"2":{"84":1}}],["应该始终把",{"2":{"83":1}}],["应该在源码中被引用为",{"2":{"52":1}}],["比如在js文件中",{"2":{"84":1}}],["如",{"2":{"84":1,"92":1}}],["如果当前主机的环境变量",{"2":{"126":1}}],["如果开启",{"2":{"114":1}}],["如果需要则手动安装依赖并引入插件即可",{"2":{"97":1}}],["如果需要创建压缩包",{"2":{"49":1}}],["如果项目中不使用的话",{"2":{"87":1}}],["如果在本机全局安装了",{"2":{"92":1}}],["如果在环境中有默认的",{"2":{"83":1}}],["如果在未修改配置文件",{"2":{"58":1}}],["如果文件内部不包含",{"2":{"83":1}}],["如果要构建",{"2":{"58":1}}],["如果你想在",{"2":{"83":1}}],["如果你想自定义构建流程",{"2":{"58":1}}],["如果你在执行",{"2":{"83":1}}],["如果你在创建项目时",{"2":{"63":1}}],["如果你在配置文件中开启了文件指纹",{"2":{"53":1}}],["如果你有下列这些资源",{"2":{"52":1}}],["如果你的项目不需要",{"2":{"14":1}}],["如果配置文件需要基于",{"2":{"17":1}}],["如果为",{"2":{"9":2}}],["也不会混淆压缩",{"2":{"83":1}}],["也可以创建新的任务",{"2":{"127":1}}],["也可以是相对于项目根的路径",{"2":{"34":1}}],["也可以是相对于项目根目录的相对路径",{"2":{"32":1}}],["也可以通过",{"2":{"20":1}}],["也可以在每个任务项内单独配置",{"2":{"10":1}}],["那么请在执行的命令前加上",{"2":{"126":1}}],["那么我们来写一个",{"2":{"103":1}}],["那么构建的应用程序包的资源文件将不会进行",{"2":{"83":1}}],["那么你可以将该资源放在指定的",{"2":{"52":1}}],["还可以将已有任务和新增任务组合成新的构建任务",{"2":{"127":1}}],["还是生产",{"2":{"83":1}}],["还需要新建一个",{"2":{"83":1}}],["变量",{"2":{"83":1}}],["预处理器",{"0":{"118":1}}],["预发布环境",{"2":{"126":1}}],["预发布",{"2":{"83":1}}],["预设",{"2":{"57":1}}],["若想在",{"2":{"83":1}}],["生成文件hash",{"2":{"109":1}}],["生成",{"2":{"109":1}}],["生成雪碧图",{"2":{"90":1}}],["生成的文件名",{"2":{"49":1}}],["生成的",{"2":{"31":1}}],["生产环境",{"2":{"84":2}}],["生产",{"2":{"83":1}}],["而不必等待一个任务完成后再执行下一个任务",{"2":{"126":1}}],["而不是在源代码中直接导入它们",{"2":{"57":1}}],["而",{"2":{"83":2}}],["💡",{"2":{"90":1}}],["👉",{"2":{"79":2}}],["🚨",{"2":{"14":1}}],["无需浪费时间在重复的工程配置上",{"2":{"90":1}}],["无需其他配置",{"2":{"77":1}}],["无损压缩图片",{"2":{"90":1}}],["无论你要部署到哪个环境",{"2":{"83":1}}],["无法将其检测出来",{"2":{"57":1}}],["执行如下命令",{"2":{"126":1}}],["执行新任务",{"2":{"126":1}}],["执行",{"2":{"75":2}}],["其内部是通过",{"2":{"126":2}}],["其",{"2":{"126":1}}],["其他配置项",{"2":{"126":2}}],["其他项目是打包的目标路径",{"2":{"107":1}}],["其他任务",{"0":{"105":1},"1":{"106":1,"107":1},"2":{"126":2}}],["其他",{"0":{"73":1},"1":{"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1}}],["其构建过程任务如下",{"2":{"58":1}}],["```",{"2":{"129":1}}],["``````js",{"2":{"129":1}}],["```js",{"2":{"129":1}}],["`source",{"2":{"106":2}}],["`src",{"2":{"106":2}}],["`ico`文件",{"2":{"106":2}}],["`pipflow",{"2":{"92":2}}],["`",{"2":{"72":2,"106":4}}],["`dist",{"2":{"72":2,"106":4}}],["里的",{"2":{"68":1}}],["除了通过命令行参数",{"2":{"68":1}}],["除去不可抗拒因素外",{"2":{"63":2}}],["基于以上任务类型",{"2":{"127":1}}],["基于",{"2":{"66":1,"99":1,"109":1}}],["资源文件指纹",{"2":{"99":1}}],["资源文件夹",{"2":{"64":2}}],["资源文件url",{"0":{"51":1}}],["公共静态资源服务文件夹",{"2":{"64":2}}],[">",{"2":{"63":1}}],["真不想评价",{"2":{"63":2}}],["吐槽",{"2":{"63":2}}],["环境文件是在",{"2":{"85":1}}],["环境文件加载优先级",{"2":{"85":1}}],["环境目录",{"2":{"85":1}}],["环境变量注入",{"2":{"109":1}}],["环境变量在构建时会被静态替换",{"2":{"99":1}}],["环境变量处理",{"0":{"100":1},"2":{"99":1,"109":1}}],["环境变量",{"0":{"84":1},"1":{"85":1}}],["环境",{"2":{"63":1}}],["但会被",{"2":{"85":4}}],["但是本地一定要安装",{"2":{"63":1}}],["但可以通过",{"2":{"52":1}}],["拉取模板",{"2":{"63":1}}],["拉取模板源码一直处于",{"2":{"63":1}}],["建议从",{"2":{"63":1}}],["建议用绝对路径",{"2":{"51":1}}],["状态",{"2":{"63":1}}],["◯",{"2":{"62":10}}],["0",{"2":{"62":2}}],["运行",{"2":{"91":1,"92":1}}],["运行在",{"2":{"83":1}}],["运行环境变量",{"2":{"64":2}}],["运行以下命令创建新项目",{"2":{"63":1}}],["运行以下命令来创建一个新项目",{"2":{"62":1}}],["运行下面命令即可构建生产环境应用程序包",{"2":{"58":1}}],["创建本地服务器任务",{"2":{"127":1}}],["创建新任务",{"0":{"125":1}}],["创建一个新项目",{"2":{"61":1}}],["创建项目",{"0":{"60":1},"1":{"61":1,"62":1,"63":1,"64":1}}],["创建的项目",{"2":{"56":1,"57":1}}],["下面我将详细介绍每一个任务类型",{"2":{"127":1}}],["下面我们将通过",{"2":{"126":1}}],["下面我们来深入介绍每个命令的使用",{"2":{"59":1}}],["下面是通过脚手架创建的",{"2":{"92":1}}],["下面是一些内建变量",{"2":{"84":1}}],["下名为",{"2":{"15":1}}],["快速搭建一个新项目",{"2":{"59":1}}],["包",{"2":{"59":1}}],["完整命令如下",{"2":{"58":1}}],["确保构建主机的环境变量",{"2":{"58":1,"126":1}}],["即可启动当前项目",{"2":{"92":1}}],["即可",{"2":{"58":1}}],["然后按照提示操作即可",{"2":{"91":1}}],["然后运行",{"2":{"58":1,"59":1}}],["然而",{"2":{"57":1,"91":1}}],["代码片段复用的示例",{"2":{"103":1}}],["代码检查",{"2":{"92":2}}],["代指你的组合任务名称",{"2":{"58":1}}],["代理选项不需要这样做",{"2":{"21":1}}],["16+",{"2":{"91":1}}],["13+",{"2":{"91":1}}],["14",{"2":{"91":1}}],["1",{"0":{"111":1},"2":{"58":1}}],["1└─┬",{"2":{"58":1}}],["2",{"0":{"112":1},"2":{"58":2}}],["4",{"2":{"58":2,"62":2,"129":2}}],["4567",{"2":{"24":2}}],["└──",{"2":{"58":6,"64":12}}],["└─┬",{"2":{"58":5}}],["│",{"2":{"58":8,"64":14}}],["├─┬",{"2":{"58":4}}],["├──",{"2":{"58":6,"64":38}}],["一份用于指定模式的环境文件",{"2":{"85":1}}],["一个环境文件只包含环境变量的",{"2":{"85":1}}],["一个基于",{"2":{"57":1}}],["一致",{"2":{"11":1,"12":1,"13":1}}],["现在查阅",{"2":{"56":1}}],["特性和需要添加的",{"2":{"56":1}}],["用户自定义任务",{"2":{"127":1}}],["用以运行开发模式的构建",{"2":{"83":1}}],["用来确定需要转译的",{"2":{"56":1}}],["用于并行执行任务",{"2":{"126":1}}],["用于按顺序串联执行任务",{"2":{"126":1}}],["用于指定项目支持的浏览器范围",{"2":{"56":1}}],["用于加载",{"2":{"34":1}}],["字符串通配符",{"0":{"111":1}}],["字符串中任何特殊字符之前的路径段",{"2":{"31":1}}],["字段内添加",{"2":{"126":1}}],["字段配置开发服务器",{"2":{"68":1}}],["字段的",{"2":{"58":1}}],["字段",{"2":{"56":1}}],["你应该将",{"2":{"85":1}}],["你应该移除它或在运行",{"2":{"83":1}}],["你需要重启服务",{"2":{"85":1}}],["你也可以通过使用不同的模式和对应的",{"2":{"83":1}}],["你也可以使用",{"2":{"68":1}}],["你也可以在终端里使用",{"2":{"59":1}}],["你也可以在",{"2":{"56":1}}],["你会被提示选取需要的特性",{"2":{"62":1}}],["你可以很容易的实现各种构建任务",{"2":{"127":1}}],["你可以同时执行一系列的任务",{"2":{"126":1}}],["你可以按照顺序依次执行一系列的任务",{"2":{"126":1}}],["你可以这样写",{"2":{"84":1}}],["你可以使用",{"2":{"83":1}}],["你可以通过传递",{"2":{"83":1}}],["你可以通过运行以下命令进行探索",{"2":{"63":1}}],["你可以通过",{"2":{"59":1,"84":1,"104":1}}],["你可以通过修改项目中的",{"2":{"57":1,"114":1}}],["你可以将",{"2":{"58":1}}],["你可以创建一个",{"2":{"58":1}}],["你可以在任何目录下运行该命令",{"2":{"77":1}}],["你可以在",{"2":{"51":1,"126":1}}],["你可以显式地通过",{"2":{"15":1}}],["通过下面命令可列显所有任务",{"2":{"126":1}}],["通过parallel方法",{"2":{"126":1}}],["通过pipflow",{"2":{"90":1}}],["通过series方法",{"2":{"126":1}}],["通过",{"2":{"56":1}}],["浏览器支持列表",{"2":{"64":2}}],["浏览器前缀",{"2":{"56":1}}],["浏览器兼容性",{"0":{"55":1},"1":{"56":1,"57":1}}],["浏览器右上角的小弹窗通知",{"2":{"29":1}}],["作为其入口",{"2":{"54":1}}],["作为静态资源服务的文件夹",{"2":{"32":1}}],["只能安装",{"2":{"97":1}}],["只在指定模式下加载",{"2":{"85":4}}],["只需运行",{"2":{"54":1}}],["只是想得到其",{"2":{"52":1}}],["阶段有效",{"2":{"53":1}}],["阶段是否监视文件变动并重新编译",{"2":{"48":1}}],["之后引入的文件路径会携带文件指纹",{"2":{"53":1}}],["则使用",{"2":{"114":1}}],["则它会被自动排除",{"2":{"57":1}}],["则在",{"2":{"53":1}}],["则可以选择导出这样一个函数",{"2":{"17":1}}],["同时提高网站的性能和用户体验",{"2":{"53":1}}],["同时也会生成对应的",{"2":{"8":1}}],["静态替换",{"2":{"99":1,"109":1}}],["静态文件任务",{"0":{"95":1}}],["静态文件指纹是为了解决缓存问题",{"2":{"53":1}}],["静态资源",{"0":{"94":1},"1":{"95":1,"96":1,"97":1}}],["静态资源处理任务",{"2":{"127":1}}],["静态资源处理",{"0":{"50":1},"1":{"51":1,"52":1,"53":1}}],["举个例子",{"2":{"52":1}}],["选项标志来覆盖命令使用的默认模式",{"2":{"83":1}}],["选项时",{"2":{"58":1}}],["选项",{"0":{"63":1,"68":1,"72":1,"76":1,"79":1},"2":{"52":1}}],["根路径访问到",{"2":{"52":1}}],["它同时支持两种模板语法",{"2":{"101":1}}],["它支持javascript语法和自定义扩展",{"2":{"101":1}}],["它支持条件语句",{"2":{"101":1}}],["它被广泛用于javascript开发中的模板渲染",{"2":{"101":1}}],["它具有易学易用的特点",{"2":{"101":1}}],["它允许您动态生成html页面",{"2":{"101":1}}],["它采用缩进和标签语法",{"2":{"101":1}}],["它们曾经都是主流",{"2":{"101":1}}],["它提供了一组开箱即用的gulp任务和功能",{"2":{"90":1}}],["它内置了诸如合并",{"2":{"90":1}}],["它的值将取决于模式",{"2":{"83":1}}],["它会自动加载",{"2":{"83":1}}],["它是基于",{"2":{"77":1}}],["它是",{"2":{"59":1}}],["它通过",{"2":{"57":1}}],["它使用标签和表达式来生成html",{"2":{"101":1}}],["它使用简单的命令就可以完成复杂的前端构建工作",{"2":{"90":1}}],["它使用",{"2":{"54":1}}],["它可以确保用户获得最新的文件版本",{"2":{"53":1}}],["它应位于你的项目根目录",{"2":{"52":1}}],["它为开发过程提供自动化",{"2":{"18":1}}],["没有经过",{"2":{"52":1}}],["必须保持原有文件名",{"2":{"52":1}}],["例如",{"2":{"52":1,"83":3,"85":2}}],["不求上进的xx",{"2":{"63":2}}],["不为",{"2":{"58":1}}],["不会被源码引用",{"2":{"52":1}}],["不同于",{"2":{"33":1}}],["目录打包",{"2":{"106":4}}],["目录产生一个可用于生产环境的包",{"2":{"71":1}}],["目录默认是",{"2":{"52":1}}],["目录中",{"2":{"52":1}}],["目录",{"0":{"52":1}}],["目前仅对",{"2":{"49":1}}],["引入",{"2":{"51":1,"52":1}}],["开箱即用的前端开发工作流",{"2":{"103":2}}],["开箱即用",{"2":{"90":1}}],["开始",{"0":{"89":1},"1":{"90":1,"91":1,"92":1,"93":1}}],["开发者可以专注于代码编写",{"2":{"90":1}}],["开发者无需从零开始配置就可以立即启动前端项目的开发",{"2":{"90":1}}],["开发环境",{"2":{"84":2}}],["开发",{"2":{"83":1}}],["开发服务器",{"0":{"65":1},"1":{"66":1,"67":1,"68":1},"2":{"83":1}}],["开发服务器启动时",{"2":{"22":1}}],["开发服务器选项",{"0":{"18":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1}}],["开头",{"2":{"51":1}}],["刷新页面",{"2":{"48":1,"90":1}}],["在gulp中",{"2":{"126":1}}],["在所有情况下都可以使用",{"2":{"84":1}}],["在项目中",{"2":{"84":1}}],["在项目根目录下有一个单独的",{"2":{"56":1}}],["在某些情况下",{"2":{"83":1}}],["在你的应用中",{"2":{"83":1}}],["在当前项目下启动一个开发服务器",{"2":{"66":1}}],["在页面内通过别名+路径引入文件",{"2":{"51":1}}],["在页面中引入资源文件",{"2":{"51":1}}],["在",{"2":{"48":1,"57":1,"83":2,"97":1,"126":1}}],["在处理html",{"2":{"33":1}}],["会从你的",{"2":{"85":1}}],["会合并全局",{"2":{"47":1}}],["会自动解析",{"2":{"15":1}}],["别名替换",{"2":{"47":1,"99":1,"109":1}}],["自动检测文件变动并重新编译",{"2":{"90":1}}],["自动添加浏览器前缀",{"2":{"90":1}}],["自动在浏览器中打开应用程序",{"2":{"22":1}}],["自身也是一塌糊涂",{"2":{"63":2}}],["自定义处理流程",{"2":{"99":1,"109":1}}],["自定义任务和流程",{"0":{"123":1},"1":{"124":1,"125":1,"126":1}}],["自定义任务",{"2":{"90":1}}],["自定义任务处理流程",{"2":{"44":1}}],["自定义",{"2":{"58":1}}],["自定义构建",{"0":{"58":1}}],["压缩混淆",{"2":{"109":2}}],["压缩包",{"2":{"106":4}}],["压缩默认配置",{"2":{"104":1}}],["压缩",{"2":{"90":1}}],["压缩等",{"2":{"90":1}}],["压缩等功能",{"2":{"90":1}}],["压缩配置项",{"2":{"43":1}}],["压缩图片或者手动一次性压缩",{"2":{"14":1}}],["对应的字符串",{"2":{"99":1,"109":1}}],["对应的混淆",{"2":{"43":1}}],["对",{"2":{"85":1}}],["对象方式",{"0":{"113":1}}],["对象来获取环境变量",{"2":{"84":1}}],["对象上设置",{"2":{"31":1,"40":1}}],["继承",{"2":{"39":1,"40":1,"43":1,"46":1,"47":1}}],["+",{"2":{"36":1}}],["每一款都有自己独特的特点和用法",{"2":{"101":1}}],["每一项将会被静态替换",{"2":{"33":1}}],["每个任务的单独配置项",{"2":{"35":1}}],["任务中",{"2":{"126":1}}],["任务入口",{"2":{"126":2}}],["任务名",{"2":{"126":4}}],["任务名称",{"2":{"36":1}}],["任务",{"0":{"98":1,"108":1,"116":1},"1":{"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"75":2}}],["任务索引",{"2":{"36":1}}],["任务类型有效",{"2":{"49":1}}],["任务类型",{"2":{"36":1,"37":1,"126":2}}],["任务配置",{"0":{"35":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1}}],["任何设备上的点击",{"2":{"28":1}}],["关于",{"2":{"53":1}}],["关于环境文件的更多信息",{"2":{"34":1}}],["关闭文件哈希",{"2":{"8":1}}],["功能强大",{"2":{"101":1}}],["功能",{"2":{"33":1}}],["等",{"2":{"33":1}}],["友情提醒",{"2":{"33":1}}],["全局",{"2":{"40":1,"47":1}}],["全局字符串别名",{"2":{"33":1}}],["全局配置",{"2":{"10":1}}],["设置",{"2":{"87":2}}],["设置后会覆盖全局配置",{"2":{"35":1}}],["设置为",{"2":{"10":1,"83":1}}],["设定为",{"2":{"32":1}}],["并加入以下代码",{"2":{"97":1}}],["并未内置图片压缩功能",{"2":{"97":1}}],["并标准化了构建流程",{"2":{"90":1}}],["并不会被",{"2":{"85":1}}],["并附带开箱即用的热重载功能",{"2":{"66":1}}],["并生成能够静态部署的应用程序包",{"2":{"54":1}}],["并且打包时会被完整复制到目标目录的根目录下",{"2":{"52":1}}],["并且始终按原样提供或复制而无需进行转换",{"2":{"32":1}}],["并在构建期间复制到",{"2":{"32":1}}],["并将",{"2":{"14":1}}],["库",{"2":{"31":1}}],["以避免它们被",{"2":{"85":1}}],["以文件名或url参数形式",{"2":{"53":1}}],["以",{"2":{"51":1}}],["以保留目录结构",{"2":{"31":1}}],["以便更好的控制缓存",{"2":{"8":1}}],["当一个任务完成后",{"2":{"126":1}}],["当你的包管理器发出警告时",{"2":{"91":1}}],["当运行",{"2":{"83":1}}],["当配置完成之后",{"2":{"58":1}}],["当需要将应用部署到生产环境时",{"2":{"54":1}}],["当",{"2":{"41":3}}],["当使用",{"2":{"31":1}}],["当以命令行方式运行",{"2":{"15":1}}],["集作为它们的",{"2":{"31":1}}],["由于图片压缩是一个耗时任务",{"2":{"97":1}}],["由于任何暴露给",{"2":{"85":1}}],["由于",{"2":{"83":1}}],["由于安装",{"2":{"14":1}}],["由",{"2":{"31":1,"59":1}}],["该命令会在",{"2":{"71":1}}],["该目录中的资源在开发时能直接通过",{"2":{"52":1}}],["该目录中的文件在开发期间在",{"2":{"32":1}}],["该值可以是文件系统的绝对路径",{"2":{"32":1}}],["该路径段不能是可变的",{"2":{"31":1}}],["该配置项仅对任务类型",{"2":{"10":1}}],["所有的任务会并行执行",{"2":{"126":1}}],["所有的环境变量都从对应的环境文件中载入",{"2":{"83":1}}],["所有情况下都会加载",{"2":{"85":4}}],["所有匹配",{"2":{"31":1}}],["所以当你运行",{"2":{"83":1}}],["所以你可以通过",{"2":{"16":1}}],["所以",{"2":{"14":1,"97":1}}],["因此环境变量应该不包含任何敏感信息",{"2":{"85":1}}],["因此环境文件发生变化",{"2":{"85":1}}],["因此",{"2":{"31":1}}],["因为如果这里列出的",{"2":{"57":1}}],["因为它会从目标网址中推断出来",{"2":{"21":1}}],["因为",{"2":{"16":1}}],["是用于定义任务执行顺序的两个方法",{"2":{"126":1}}],["是一种简单而灵活的模板引擎",{"2":{"101":1}}],["是一个基于gulp的前端开发工作流",{"2":{"90":1}}],["是一个全局安装的",{"2":{"59":1}}],["是开发",{"2":{"83":1}}],["是否生成",{"2":{"46":1}}],["是",{"2":{"31":2}}],["有些模板需要依赖更高的",{"2":{"91":1}}],["有关更深入的信息",{"2":{"31":1}}],["有时称为",{"2":{"31":1}}],["有效",{"2":{"10":1,"41":1}}],["属性构造的",{"2":{"31":1}}],["属性",{"2":{"31":1,"40":1}}],["显式地在创建的",{"2":{"31":1,"40":1}}],["共享配置",{"0":{"30":1},"1":{"31":1,"32":1,"33":1,"34":1}}],["you",{"2":{"28":2}}],["yourlocal",{"2":{"24":2}}],["your",{"2":{"24":2,"62":2}}],["滚动和表单输入都将镜像到所有其他设备",{"2":{"28":1}}],["示例",{"0":{"103":1},"2":{"27":1,"124":1}}],["要打开的浏览器",{"2":{"27":1}}],["中包含",{"2":{"99":1}}],["中添加的自定义",{"2":{"99":1,"109":1}}],["中找到当前任务",{"2":{"97":1}}],["中",{"2":{"85":1}}],["中可能存在的环境变量",{"2":{"83":1}}],["中间件函数或插件",{"2":{"25":1}}],["中的下列文件加载额外的环境变量",{"2":{"85":1}}],["中的资源永远应该使用根绝对路径",{"2":{"52":1}}],["中的",{"2":{"14":1,"58":1}}],["xxx",{"2":{"100":1}}],["x",{"2":{"24":2}}],["key",{"2":{"21":4,"33":1,"47":1}}],["warning",{"2":{"130":9}}],["watch",{"0":{"48":1},"2":{"79":6}}],["w",{"2":{"79":2}}],["which",{"2":{"79":2}}],["when",{"2":{"63":2}}],["web",{"2":{"79":2}}],["webpack",{"2":{"33":1,"114":1}}],["workflow",{"2":{"90":1}}],["works",{"2":{"0":1}}],["world",{"2":{"62":1}}],["worldpipflow",{"2":{"62":1}}],["with",{"2":{"21":2,"23":2,"68":2,"129":1}}],["注",{"2":{"58":1}}],["注意",{"2":{"21":1,"97":1}}],["注解也可以获取类型提示",{"2":{"16":1}}],["来获取可用于部署的应用程序",{"2":{"83":1}}],["来配置",{"2":{"52":1}}],["来设置",{"2":{"20":1}}],["来决定选项",{"2":{"17":1}}],["3",{"0":{"113":1},"2":{"58":2,"110":1,"113":1}}],["3000",{"2":{"20":1,"79":2}}],["39",{"2":{"0":4,"16":8,"17":8,"24":14,"27":4,"84":4,"97":8,"103":24,"111":4,"112":12,"113":28,"124":24,"126":40,"129":8}}],["9527",{"2":{"20":1,"68":2}}],["nunjucks文档",{"2":{"101":1}}],["nunjucks是一款功能强大的模板引擎",{"2":{"101":1}}],["nunjucks",{"2":{"99":1,"101":2}}],["number",{"2":{"20":1}}],["n",{"2":{"63":2}}],["new",{"2":{"63":2}}],["needed",{"2":{"62":2}}],["next",{"2":{"24":4,"25":2}}],["npm",{"2":{"58":1,"59":1,"92":1}}],["name",{"0":{"36":1},"2":{"58":7,"63":6,"75":2,"76":2,"109":2,"126":2}}],["not",{"2":{"68":2,"79":2}}],["notify",{"0":{"29":1},"2":{"68":4,"79":4}}],["normalize",{"2":{"64":2}}],["no",{"2":{"63":2,"68":4,"79":4,"92":1}}],["node",{"2":{"10":1,"58":4,"83":9,"84":2,"85":2,"91":3,"126":5}}],["地址",{"2":{"19":1}}],["指定任务输出路径",{"2":{"39":1}}],["指定任务入口文件",{"2":{"38":1}}],["指定开发服务器端口",{"2":{"20":1}}],["指定服务器应该监听哪个",{"2":{"19":1}}],["指定输出路径",{"2":{"7":1}}],["请点击查看文档",{"2":{"97":1}}],["请在命令开头加上",{"2":{"58":1}}],["请注意升级你的",{"2":{"91":1}}],["请注意",{"2":{"52":1}}],["请参见",{"2":{"34":1,"39":1,"40":1,"41":2,"42":2,"43":1,"44":1,"46":1,"47":1,"49":1,"52":1}}],["请参阅",{"2":{"31":1}}],["请参考",{"2":{"18":1,"85":1}}],["请删除项目的",{"2":{"14":1}}],["高效的同步与调试功能",{"2":{"18":1}}],["工具",{"2":{"18":1}}],["工具函数",{"2":{"16":1}}],["独有配置",{"2":{"17":4}}],["模板配置",{"2":{"103":1}}],["模板文件",{"2":{"103":1}}],["模板",{"2":{"101":1}}],["模板渲染",{"0":{"101":1},"1":{"102":1,"103":1},"2":{"99":1}}],["模块化",{"2":{"97":1}}],["模块化规范",{"2":{"15":1}}],["模式下被设置为",{"2":{"83":2}}],["模式下构建应用",{"2":{"83":1}}],["模式与环境变量",{"0":{"82":1},"1":{"83":1,"84":1,"85":1}}],["模式",{"0":{"83":1},"2":{"17":1,"83":2}}],["情景配置",{"0":{"17":1}}],["这些模板引擎在过去都很流行",{"2":{"101":1}}],["这意味着当执行",{"2":{"83":1}}],["这也意味着如果其中一个依赖需要特殊的",{"2":{"57":1}}],["这确保了最终包里",{"2":{"57":1}}],["这样它会根据源代码中出现的语言特性自动检测需要的",{"2":{"57":1}}],["这样不用",{"2":{"16":1}}],["这个值会被",{"2":{"56":1}}],["这里的",{"2":{"33":1}}],["这里",{"2":{"11":1,"12":1,"13":1,"14":1,"18":1,"34":1,"39":1,"40":1,"41":2,"42":2,"43":1,"44":1,"46":1,"47":1,"49":1,"52":1,"53":1,"56":1,"58":1,"91":1,"104":2,"115":1}}],["这里是全局配置",{"2":{"10":1}}],["另外你可以使用",{"2":{"16":1}}],["路径进行解析",{"2":{"15":1}}],["命令创建新项目",{"2":{"91":1}}],["命令的时候明确地设置",{"2":{"83":1}}],["命令的缩写",{"2":{"59":1}}],["命令时",{"2":{"83":2}}],["命令则运行在",{"2":{"83":1}}],["命令有一些可选项",{"2":{"63":1}}],["命令行界面",{"0":{"59":1,"92":1},"1":{"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1},"2":{"92":1}}],["命令行选项指定一个配置文件",{"2":{"15":1}}],["命令必须使用",{"2":{"58":1}}],["命令更改为",{"2":{"58":1}}],["命令来完成的",{"2":{"58":1}}],["命令",{"2":{"54":1,"59":2,"83":1}}],["命令快速生成压缩包",{"2":{"49":1}}],["命令或者不同的",{"2":{"17":1}}],["命令构建后生成的静态资源在它们的文件名中包含了",{"2":{"8":1}}],["项目中默认的",{"2":{"92":1}}],["项目",{"0":{"91":1}}],["项目目录结构",{"0":{"64":1}}],["项目配置文件仅支持",{"2":{"15":1}}],["项目根目录",{"2":{"15":1}}],["最后生成",{"2":{"113":1}}],["最后一项是打包输出的路径",{"2":{"107":1}}],["最基础的配置文件是这样的",{"2":{"15":1}}],["最小化混淆配置项",{"2":{"12":1}}],["最小化压缩配置项",{"2":{"11":1,"13":1}}],["和对象",{"2":{"110":1}}],["和为更好的缓存而做的自动的",{"2":{"71":1}}],["和",{"2":{"15":1,"16":1,"56":1,"57":1,"106":2,"109":1,"126":1}}],["仅在",{"2":{"53":1}}],["仅对任务类型为",{"2":{"41":1}}],["仅仅是字符串的别名替换",{"2":{"33":1}}],["仅支持",{"2":{"15":1}}],["仅生成版本映射文件manifest",{"2":{"8":1}}],["的值转换后的结果",{"2":{"126":1}}],["的转译选项",{"2":{"114":1}}],["的使用相对复杂一些",{"2":{"103":1}}],["的内容压缩",{"2":{"99":1}}],["的版本",{"2":{"97":1}}],["的压缩",{"2":{"71":1}}],["的首尾字母组合而成",{"2":{"59":1}}],["的其他平台环境的部署包",{"2":{"58":1}}],["的目标中不需要",{"2":{"57":1}}],["的根目录",{"2":{"32":1}}],["的路径都保证共享",{"2":{"31":1}}],["的",{"2":{"31":1,"58":1,"77":1,"126":1}}],["的本地开发服务器是基于",{"2":{"18":1}}],["的配合来实现智能提示",{"2":{"16":1}}],["的配置文件",{"2":{"15":1}}],["的安装提取到项目的依赖中",{"2":{"14":1}}],["配置自定义构建流程",{"2":{"58":1}}],["配置来自行调整",{"2":{"57":1}}],["配置来决定项目需要的",{"2":{"57":1}}],["配置请参见",{"2":{"53":1}}],["配置文件中设置路径别名",{"2":{"51":1}}],["配置项请点",{"2":{"115":1}}],["配置项来指定压缩选项",{"2":{"104":1}}],["配置项",{"2":{"42":2}}],["配置项的值设置为",{"2":{"14":1}}],["配置智能提示",{"0":{"16":1}}],["配置选项",{"2":{"15":2}}],["配置",{"0":{"15":1,"93":1},"1":{"16":1,"17":1},"2":{"39":1,"40":1,"43":1,"46":1,"47":2}}],["依赖",{"2":{"14":1,"87":1,"97":1}}],["依赖经常失败",{"2":{"14":1}}],["提供了终端里的",{"2":{"59":1}}],["提醒",{"2":{"14":1,"58":1,"63":1}}],["提示",{"2":{"10":1,"15":1}}],["git忽略",{"2":{"64":2}}],["gitignore",{"2":{"64":2,"85":1}}],["gitee",{"2":{"63":3}}],["github",{"2":{"63":2}}],["git",{"2":{"63":9,"85":5}}],["glob",{"2":{"31":7}}],["go",{"2":{"28":2}}],["google",{"2":{"27":2}}],["ghostmode",{"0":{"28":1},"2":{"28":4}}],["gulp",{"2":{"14":4,"87":1,"97":8,"101":5,"124":2}}],["gt",{"2":{"0":16,"17":2,"51":8,"52":1,"54":1,"58":15,"62":8,"63":4,"68":6,"72":4,"75":2,"79":6,"103":36}}],["javascript处理任务",{"2":{"127":1}}],["javascript语法转换",{"2":{"90":1}}],["javascript",{"2":{"12":1,"33":1,"56":1,"101":1,"114":1,"115":1}}],["jsexport",{"2":{"129":1}}],["jsseries",{"2":{"126":1}}],["jsdist",{"2":{"113":1}}],["jsdoc",{"2":{"16":2}}],["jsconst",{"2":{"97":1,"124":1}}],["jsif",{"2":{"84":1}}],["jsimport",{"2":{"16":1}}],["js文件夹",{"2":{"64":2}}],["jsmodule",{"2":{"17":1}}],["jsminify",{"0":{"12":1}}],["jspipflow",{"2":{"15":1}}],["js",{"2":{"15":6,"16":1,"21":1,"23":1,"24":1,"25":1,"27":1,"28":1,"31":3,"51":1,"57":2,"58":1,"64":10,"68":1,"71":1,"91":1,"97":1,"99":1,"103":3,"104":1,"109":1,"111":3,"112":7,"113":14,"114":1,"126":5}}],["js最小化混淆是基于",{"2":{"12":1}}],["json中的",{"2":{"87":1}}],["json",{"2":{"8":3,"14":1,"15":1,"51":3,"56":1,"58":2,"64":2,"92":1,"99":1,"126":2}}],["详细配置请参见",{"2":{"11":1,"12":1,"13":1,"14":1,"58":1,"104":1}}],["插件文档",{"2":{"101":5}}],["插件在压缩图片过程中会自动过滤非图片文件",{"2":{"97":1}}],["插件安装依赖经常失败",{"2":{"97":1}}],["插件",{"2":{"11":1,"12":1,"13":1,"14":1,"104":1}}],["与",{"2":{"11":1,"12":1,"13":1}}],["highlighted",{"2":{"129":4}}],["highlighting",{"0":{"129":1},"2":{"129":2}}],["hits",{"2":{"24":2}}],["h1",{"2":{"103":4}}],["hbs",{"2":{"103":8}}],["hb",{"2":{"101":1}}],["hmr",{"2":{"68":2}}],["h",{"2":{"63":2,"68":2,"72":2,"76":2,"79":2}}],["head",{"2":{"103":4}}],["headers",{"2":{"79":2}}],["header",{"2":{"24":2,"103":10}}],["help",{"2":{"63":5,"68":6,"72":6,"76":6,"79":6,"92":1}}],["helppipflow",{"2":{"63":1}}],["hello",{"2":{"62":2,"103":2}}],["here",{"2":{"28":2}}],["handlebars文档",{"2":{"101":1}}],["handlebars是一种语法简洁的模板引擎",{"2":{"101":1}}],["handlebars",{"2":{"99":1,"101":1,"103":4}}],["handle",{"2":{"25":4}}],["hash",{"2":{"8":1,"52":1,"71":1,"83":1,"99":1,"109":2}}],["http",{"2":{"24":4,"79":2}}],["https",{"0":{"21":1},"2":{"21":9,"68":2,"79":4}}],["html处理任务",{"2":{"127":1}}],["html的压缩是基于",{"2":{"104":1}}],["html内容中的以",{"2":{"100":1}}],["html模板渲染",{"2":{"90":1}}],["html模板引擎",{"2":{"41":1,"42":1}}],["html文件夹",{"2":{"64":2}}],["html压缩是基于",{"2":{"11":1}}],["htmlminifyoptions",{"2":{"11":1}}],["htmlminify",{"0":{"11":1},"2":{"104":1}}],["html",{"0":{"98":1},"1":{"99":1,"100":1,"101":1,"102":1,"103":1,"104":1},"2":{"10":1,"11":2,"23":2,"37":1,"41":2,"51":3,"54":1,"58":2,"62":2,"64":2,"71":1,"99":1,"103":13,"104":1,"124":4,"126":2,"127":1}}],["hostname",{"2":{"68":2,"79":2}}],["host",{"0":{"19":1},"2":{"68":2,"79":4}}],["为了方便发布",{"2":{"126":1}}],["为生产环境构建产物",{"2":{"92":2}}],["为开发服务器配置",{"2":{"26":1}}],["为开发服务器配置自定义代理规则",{"2":{"24":1}}],["为本地主机开发启用",{"2":{"21":1}}],["为",{"2":{"10":1,"41":6,"58":1,"87":1,"126":1}}],["⚠️",{"2":{"10":1}}],["quot",{"2":{"10":2,"21":12,"23":12,"24":8,"25":4,"32":2,"51":28,"57":2,"58":36,"63":4,"68":4,"72":4,"79":4,"83":6,"92":36,"126":28}}],["embedded",{"2":{"101":1}}],["ejs文档",{"2":{"101":1}}],["ejs",{"2":{"99":1,"101":4}}],["esmodule",{"2":{"97":1}}],["eslint配置",{"2":{"64":2}}],["eslintrc",{"2":{"64":2}}],["eslint忽略",{"2":{"64":2}}],["eslintignore",{"2":{"64":2}}],["every",{"2":{"79":2}}],["element",{"2":{"68":2,"79":2}}],["else",{"2":{"17":2,"84":2}}],["each",{"2":{"28":2}}],["enter",{"2":{"62":2}}],["enable",{"2":{"21":4,"28":2,"68":4,"79":2}}],["env文件",{"0":{"85":1}}],["env=staging",{"2":{"126":2}}],["env=developmentapp",{"2":{"85":1}}],["env=development",{"2":{"83":3,"85":1}}],["env=production",{"2":{"58":3,"126":1}}],["envdir",{"0":{"34":1}}],["env",{"2":{"10":2,"34":1,"56":2,"57":1,"58":4,"64":2,"68":2,"72":2,"83":16,"84":10,"85":13,"100":1,"126":4}}],["export",{"2":{"129":3}}],["exports",{"2":{"15":2,"16":4,"17":2,"97":2,"103":2,"124":2,"126":2}}],["extensions",{"2":{"128":1,"131":1}}],["extension",{"0":{"128":1},"1":{"129":1,"130":1,"131":1}}],["example",{"2":{"75":2,"106":2}}],["examples",{"0":{"0":1,"128":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"129":1,"130":1,"131":1}}],["exists",{"2":{"63":4}}],["附加在输出文件中",{"2":{"9":1}}],["utils",{"2":{"112":2,"113":2}}],["underscore",{"2":{"101":1}}],["url=http",{"2":{"85":2}}],["url",{"2":{"52":1}}],["uri",{"2":{"9":1}}],["using",{"2":{"24":2}}],["use",{"2":{"63":2,"79":4}}],["usebuiltins",{"2":{"57":1}}],["user",{"2":{"37":1,"127":1}}],["userconfig",{"2":{"16":2}}],["used",{"2":{"0":1,"79":2}}],["usedata",{"2":{"0":5}}],["usage",{"2":{"0":1,"57":1,"68":2,"72":2,"76":2,"79":2}}],["将构建后通过生成的",{"2":{"99":1}}],["将会比一般的环境文件",{"2":{"85":1}}],["将会创建一个独立的",{"2":{"9":1}}],["将决定您的应用运行的模式",{"2":{"83":1}}],["将从输出路径中删除",{"2":{"31":1}}],["将",{"2":{"14":1,"32":1,"106":4}}],["将作为一个",{"2":{"9":1}}],["将生成文件名哈希和版本映射文件manifest",{"2":{"8":1}}],["构建用于预发布环境的应用程序包",{"2":{"126":1}}],["构建",{"0":{"69":1},"1":{"70":1,"71":1,"72":1},"2":{"114":1}}],["构建生产环境应用程序包默认是通过",{"2":{"58":1}}],["构建生产版本",{"0":{"54":1},"1":{"55":1,"56":1,"57":1,"58":1},"2":{"70":1}}],["构建后的内容",{"2":{"51":2}}],["构建后是否生成",{"2":{"9":1}}],["构建选项",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1}}],["或者调整",{"2":{"114":1}}],["或者",{"2":{"67":2}}],["或者超时失败",{"2":{"63":1}}],["或者你压根不想引入该资源",{"2":{"52":1}}],["或",{"2":{"8":1,"17":1,"43":1,"92":1}}],["时将环境变量设定为",{"2":{"83":1}}],["时运行不同的模式来渲染不同的标题",{"2":{"83":1}}],["时",{"2":{"8":3,"15":1,"41":3,"83":1}}],["|",{"2":{"8":2,"9":1,"11":1,"12":1,"13":1,"14":1,"23":2,"24":1,"25":1,"27":1,"32":1,"37":9,"38":2,"43":1,"45":2}}],["默认运行生产模式构建",{"2":{"83":1}}],["默认带有",{"2":{"71":1}}],["默认入口页面",{"2":{"64":2}}],["默认情况下",{"2":{"54":1,"57":2,"83":1}}],["默认为",{"2":{"36":1,"70":1}}],["默认",{"2":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"31":1,"32":1,"34":1,"36":1,"39":1,"40":1,"43":1,"45":1,"46":1,"48":1,"49":1}}],["类型的组合任务来创建一个构建",{"2":{"126":1}}],["类型的组合任务",{"2":{"58":1}}],["类型",{"2":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"16":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"31":1,"32":1,"33":1,"34":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1}}],["l",{"2":{"76":2}}],["lodash",{"2":{"101":1}}],["local",{"2":{"68":2,"79":4,"85":6}}],["localhost",{"2":{"19":1,"24":4}}],["logo",{"2":{"64":4}}],["loading",{"2":{"63":1}}],["like",{"2":{"129":1}}],["line",{"2":{"79":2,"129":1}}],["lint",{"2":{"75":4,"92":4}}],["linter",{"2":{"62":2}}],["listpipflow",{"2":{"75":1,"126":1}}],["list",{"2":{"5":1,"75":1,"76":6,"126":1,"131":1}}],["lt",{"2":{"0":16,"51":8,"52":1,"54":1,"58":15,"62":8,"63":4,"68":6,"72":4,"75":2,"79":6,"97":1,"103":34}}],["on",{"2":{"68":4,"79":6}}],["one",{"2":{"28":2}}],["overwrite",{"2":{"63":2}}],["or",{"2":{"28":2}}],["object",{"2":{"23":1,"38":1,"42":1}}],["open",{"0":{"22":1},"2":{"68":8,"79":8,"92":1}}],["options",{"0":{"107":1},"2":{"14":2,"63":4,"68":4,"72":4,"76":4,"79":4,"97":2,"106":2}}],["output",{"2":{"129":1,"130":1}}],["outdir",{"0":{"7":1},"2":{"32":1,"39":1}}],["out",{"2":{"5":1,"131":1}}],["off",{"2":{"28":2}}],["of",{"2":{"0":2,"5":1,"128":1,"131":1}}],["run",{"2":{"58":1,"76":2}}],["runtime",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1},"2":{"0":1,"5":1}}],["robots",{"2":{"52":1,"64":2}}],["root",{"2":{"34":1,"52":1,"54":1,"79":2}}],["route",{"2":{"25":4}}],["replace",{"2":{"124":6}}],["repo=gitee",{"2":{"63":1}}],["repository",{"2":{"63":2}}],["repo",{"2":{"63":2}}],["remtopx",{"0":{"120":1}}],["remote",{"2":{"63":2}}],["removeemptyattributes",{"2":{"104":2}}],["removecomments",{"2":{"104":2}}],["remove",{"2":{"37":1,"127":1}}],["ready",{"2":{"72":2}}],["readme",{"2":{"64":2}}],["require",{"2":{"97":2,"124":4,"126":2}}],["requests",{"2":{"25":2}}],["request",{"2":{"24":2,"79":2}}],["req",{"2":{"24":4,"25":2}}],["res",{"2":{"24":4,"25":2}}],["response",{"2":{"24":4}}],["results",{"0":{"1":1},"1":{"2":1,"3":1,"4":1},"2":{"0":2}}],["returned",{"2":{"24":2}}],["return",{"2":{"17":4,"129":4}}],["==",{"2":{"126":1}}],["===",{"2":{"10":1,"17":4,"84":2}}],["=7",{"2":{"97":1}}],["=",{"2":{"0":2,"15":2,"16":4,"17":4,"97":4,"103":2,"124":6,"126":4}}],["favicon",{"2":{"64":2,"106":2}}],["false",{"2":{"8":1,"9":1,"10":1,"14":1,"21":1,"24":1,"25":1,"26":1,"28":5,"32":2,"43":1,"45":1,"46":1,"48":1,"68":2,"79":2,"87":1}}],["fetching",{"2":{"63":2}}],["features",{"2":{"62":2,"129":1}}],["feature",{"2":{"28":2}}],["f",{"2":{"63":2,"79":2}}],["foobar",{"2":{"24":2}}],["force",{"2":{"63":2}}],["formatter",{"2":{"62":1}}],["formatterpipflow",{"2":{"62":1}}],["forms",{"2":{"28":2}}],["for",{"2":{"0":1,"5":1,"21":2,"62":2,"63":2,"68":6,"72":2,"76":2,"79":6,"131":1}}],["function",{"2":{"24":6,"25":4,"44":1}}],["full",{"2":{"5":1,"131":1}}],["file",{"2":{"68":2,"71":1,"72":2,"79":4}}],["filename",{"0":{"49":1},"2":{"23":2,"79":2}}],["filehash",{"0":{"8":1,"45":1},"2":{"53":1}}],["files",{"2":{"0":1,"23":4,"79":4}}],["frontmatter",{"0":{"4":1},"2":{"0":6,"4":1}}],["from",{"2":{"0":2,"16":2,"23":4,"24":2}}],["v0",{"2":{"62":2}}],["views",{"2":{"64":2,"103":4}}],["vite",{"2":{"33":1}}],["vitepress",{"2":{"0":3,"128":1,"129":1}}],["vinyl",{"2":{"31":2,"40":1}}],["vue",{"2":{"0":1}}],["msg",{"2":{"129":4}}],["mjs",{"2":{"111":2}}],["mustache",{"2":{"101":1}}],["mpmrc",{"2":{"87":1}}],["merge",{"2":{"63":4}}],["middleware",{"0":{"25":1},"2":{"24":2,"25":4}}],["minifier",{"2":{"11":1,"99":1,"104":1}}],["minifycss",{"2":{"104":2}}],["minifyjs",{"2":{"104":2}}],["minifyoptions",{"2":{"43":1}}],["minify",{"0":{"10":1,"43":1},"2":{"10":1,"11":2,"12":2,"13":2,"14":1,"43":1}}],["my",{"2":{"15":2,"63":1,"91":2}}],["modify",{"2":{"24":6}}],["mode=stagingpipflow",{"2":{"126":1}}],["mode=staging",{"2":{"58":1,"126":3}}],["mode=stagingcross",{"2":{"58":1}}],["mode=production",{"2":{"58":4}}],["mode=productionpipflow",{"2":{"58":1}}],["mode",{"2":{"17":2,"21":4,"58":1,"68":6,"70":1,"72":6,"83":3,"84":1,"85":4}}],["module",{"2":{"15":2,"16":4,"17":1,"97":2,"103":2,"124":2,"126":2}}],["more",{"0":{"5":1,"131":1},"2":{"79":2}}],["markdown",{"0":{"128":1},"1":{"129":1,"130":1,"131":1},"2":{"128":1,"131":1}}],["map",{"2":{"9":3,"46":1,"109":1}}],["manifest",{"2":{"8":1,"99":1}}],["main",{"2":{"0":1}}],["md",{"2":{"0":2,"64":2,"130":1}}],["is",{"2":{"130":15}}],["io",{"2":{"79":2}}],["ico",{"2":{"64":2,"106":2}}],["icon",{"2":{"52":2}}],["i",{"2":{"62":2}}],["ip",{"2":{"19":1}}],["if",{"2":{"17":2,"63":4,"84":1}}],["ide",{"2":{"16":1}}],["img",{"2":{"51":8}}],["images",{"2":{"51":4}}],["imagemin",{"2":{"14":4,"87":1,"97":12}}],["imageminify",{"0":{"14":1},"2":{"14":1,"87":1}}],["image",{"2":{"10":1,"37":1,"62":2,"126":2,"127":1}}],["import",{"2":{"0":2,"16":3}}],["includes",{"2":{"103":4}}],["install",{"2":{"97":2}}],["infopipflow",{"2":{"81":1}}],["info",{"0":{"80":1},"1":{"81":1},"2":{"81":1,"130":6}}],["initialization",{"2":{"63":2}}],["invert",{"2":{"62":2}}],["input入口和其他类型任务有些不同",{"2":{"126":1}}],["input",{"0":{"38":1},"2":{"103":2,"111":2,"112":2,"113":2,"124":2,"126":4,"129":1,"130":1}}],["individually",{"2":{"28":2}}],["index",{"2":{"23":6,"36":1,"54":1,"64":6,"68":4,"79":4,"103":2,"113":10}}],["inline",{"2":{"9":2}}],["in",{"2":{"0":1,"28":2,"68":4,"72":2,"79":2,"128":1}}],["it",{"2":{"0":1,"24":4,"63":4}}],["cnpm",{"2":{"87":1}}],["clone",{"2":{"63":5}}],["clicks",{"2":{"28":2}}],["cli",{"2":{"20":1,"57":1,"59":2,"62":2,"63":2,"92":1}}],["c",{"2":{"63":2}}],["cross",{"2":{"58":2,"126":3}}],["create",{"0":{"61":1},"1":{"62":1,"63":1},"2":{"56":1,"59":1,"62":2,"63":8,"91":3}}],["crt",{"2":{"21":2}}],["changes",{"2":{"79":2}}],["chrome",{"2":{"27":2}}],["check",{"2":{"5":1,"62":2,"131":1}}],["cert",{"2":{"21":2}}],["certificates",{"2":{"21":2}}],["custom",{"0":{"130":1},"2":{"21":6}}],["current",{"2":{"0":1,"68":2}}],["cwd",{"2":{"15":1}}],["collapsebooleanattributes",{"2":{"104":2}}],["collapsewhitespace",{"2":{"104":2}}],["com",{"2":{"85":2}}],["compileoptions",{"2":{"103":2}}],["compileroptions",{"0":{"42":1}}],["compiler",{"0":{"41":1},"2":{"41":3,"103":2}}],["compress",{"2":{"62":2}}],["compose",{"2":{"58":8,"126":4,"127":1}}],["comm",{"2":{"113":4}}],["command➜",{"2":{"68":1,"72":1,"76":1,"79":1}}],["commandusage",{"2":{"63":1}}],["command",{"2":{"17":6,"63":1,"68":1,"72":1,"76":1,"79":3}}],["commonjs",{"2":{"15":1}}],["copy",{"2":{"37":1,"58":2,"126":2,"127":1}}],["cors",{"0":{"26":1},"2":{"26":1,"68":4,"79":2}}],["containers",{"0":{"130":1}}],["control",{"2":{"79":2}}],["configuration",{"2":{"68":2,"72":2}}],["config",{"2":{"15":8,"51":3,"57":2,"58":1,"64":6,"68":3,"72":2,"97":1,"99":1,"103":2,"109":1,"114":1,"126":2}}],["const",{"2":{"0":2,"97":1,"124":3,"126":2}}],["css处理任务",{"2":{"127":1}}],["css预处理",{"2":{"90":1}}],["css预处理器",{"2":{"41":1,"42":1}}],["css文件夹",{"2":{"64":2}}],["cssnano",{"2":{"13":1}}],["cssnanooptions",{"2":{"13":1}}],["css压缩是基于",{"2":{"13":1}}],["css",{"0":{"118":1},"2":{"13":1,"33":1,"51":2,"56":1,"62":2,"64":2,"71":1,"126":2}}],["cssminify",{"0":{"13":1}}],["can",{"2":{"0":1,"28":2}}],["dangerous",{"2":{"130":3}}],["danger",{"2":{"130":3}}],["data",{"0":{"2":1,"3":1},"2":{"0":5,"9":1,"103":2,"129":4}}],["d",{"2":{"97":2}}],["dotenv",{"2":{"85":1}}],["docs",{"2":{"79":2}}],["documentation",{"2":{"5":1,"131":1}}],["display",{"2":{"63":2,"68":2,"72":2,"76":2,"79":2}}],["disable",{"2":{"28":2,"68":2,"79":2}}],["dist",{"2":{"7":1,"14":1,"23":1,"39":1,"71":1,"106":6,"113":5}}],["directories",{"2":{"24":2}}],["directory",{"2":{"23":4,"63":4,"72":2}}],["details",{"2":{"130":6}}],["description",{"2":{"103":4}}],["dest",{"0":{"39":1},"2":{"31":1,"58":2,"126":2}}],["del",{"2":{"58":2,"126":2}}],["demo",{"2":{"51":2}}],["demonstrates",{"2":{"0":1,"128":1}}],["default",{"2":{"27":1,"63":2,"68":6,"72":2,"79":6,"129":4}}],["defineconfig",{"2":{"16":5,"17":2,"124":4,"126":4}}],["dev`",{"2":{"92":2}}],["dev`或`pw",{"2":{"92":2}}],["development",{"2":{"68":6,"79":2,"83":2}}],["dev|serve",{"2":{"68":2}}],["devpipflow",{"2":{"67":1}}],["dev",{"0":{"66":1},"1":{"67":1,"68":1},"2":{"17":3,"24":2,"58":4,"59":1,"67":3,"68":4,"83":2,"84":1,"92":5,"126":4}}],["syntax",{"0":{"129":1},"2":{"129":1}}],["sync",{"2":{"79":2}}],["shiki",{"2":{"129":1}}],["shellnpm",{"2":{"97":1}}],["should",{"2":{"79":2}}],["sass",{"2":{"90":1}}],["s3",{"2":{"88":1}}],["ssl",{"2":{"68":2,"79":2}}],["scss",{"2":{"64":2,"90":1}}],["scroll",{"2":{"28":2}}],["scripts",{"2":{"58":3,"64":2,"92":3,"111":2,"112":6,"113":14,"126":3}}],["script",{"0":{"108":1},"1":{"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1},"2":{"0":4,"10":1,"37":1,"41":2,"58":2,"127":1}}],["skip",{"2":{"63":2}}],["svg",{"2":{"62":2,"64":2}}],["space",{"2":{"62":2}}],["specify",{"2":{"68":8,"72":2,"79":6}}],["specific",{"2":{"23":2,"76":2}}],["special",{"2":{"24":2}}],["src=",{"2":{"51":4}}],["src",{"2":{"31":4,"40":1,"64":2,"103":8,"106":2,"111":2,"112":6,"113":8,"124":2}}],["switch",{"2":{"28":2}}],["s",{"2":{"24":2,"79":2}}],["sub",{"2":{"24":2}}],["snippet",{"2":{"21":2}}],["see",{"2":{"79":2}}],["selection",{"2":{"62":2}}],["select",{"2":{"62":2}}],["service",{"2":{"79":2}}],["serverpipflow",{"2":{"78":1}}],["server",{"0":{"19":1,"20":1,"21":1,"22":1,"23":2,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"77":1},"1":{"78":1,"79":1},"2":{"21":2,"23":4,"24":6,"37":1,"58":2,"68":5,"78":1,"79":8,"127":1}}],["serve",{"2":{"17":3,"23":4,"48":1}}],["series",{"2":{"58":2,"126":4}}],["setheader",{"2":{"24":2}}],["setup",{"2":{"0":2}}],["stylus",{"2":{"90":1}}],["styles",{"2":{"51":2,"64":2,"124":4}}],["style",{"0":{"116":1},"1":{"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"10":1,"37":1,"41":2,"58":2,"127":1}}],["stag",{"2":{"126":9}}],["stagingpipflow",{"2":{"83":1}}],["staging",{"2":{"83":7}}],["startup",{"2":{"68":4}}],["start",{"2":{"68":2,"79":6}}],["static",{"2":{"10":1,"37":1,"58":2,"124":2,"127":1}}],["string",{"2":{"7":1,"19":1,"23":1,"24":1,"27":2,"31":1,"32":1,"33":2,"34":1,"36":1,"37":1,"38":2,"39":1,"40":1,"41":1,"47":2,"49":1,"84":1,"126":1}}],["source",{"2":{"9":3,"46":1,"63":2,"106":2,"109":1}}],["sourcemap和文件指纹",{"2":{"90":1}}],["sourcemap",{"0":{"9":1,"46":1},"2":{"46":1}}],["some",{"2":{"0":1,"128":1}}],["site",{"2":{"0":1}}],["art",{"2":{"99":1,"101":4}}],["archive",{"0":{"106":1},"1":{"107":1},"2":{"37":1,"49":2,"127":1}}],["additional",{"2":{"129":1}}],["add",{"2":{"79":2}}],["as",{"2":{"79":2}}],["assets",{"2":{"51":4,"64":2,"97":2}}],["amp",{"2":{"62":2}}],["alias",{"0":{"33":1,"47":1},"2":{"33":2,"47":2,"51":2,"99":1,"109":1}}],["all",{"2":{"28":2,"62":2,"76":4}}],["at",{"2":{"25":2}}],["an",{"2":{"130":3}}],["any",{"2":{"25":2}}],["and",{"2":{"0":2,"24":2,"62":2}}],["after",{"2":{"24":2}}],["a",{"2":{"23":2,"62":2,"63":2,"72":2,"76":2,"79":6,"130":12}}],["application",{"2":{"24":2}}],["app",{"2":{"21":2,"23":8,"63":2,"83":5,"84":1,"85":1}}],["apis",{"2":{"0":1,"5":1}}],["api",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1},"2":{"0":1,"25":4,"85":4}}],["access",{"2":{"0":1,"79":2}}],["tpl",{"2":{"101":1}}],["tip",{"2":{"83":1,"126":1,"130":6}}],["title",{"2":{"83":5,"84":1,"85":2,"103":8}}],["title=app",{"2":{"83":4,"85":2}}],["t",{"2":{"76":2}}],["template文档",{"2":{"101":1}}],["template是一种快速",{"2":{"101":1}}],["template",{"2":{"99":1,"101":1}}],["templater",{"2":{"62":2}}],["test",{"2":{"85":2}}],["testing",{"2":{"83":2}}],["terserminifyoptions",{"2":{"12":1}}],["terser",{"0":{"115":1},"2":{"11":1,"12":1,"99":1,"104":1,"109":1,"115":2}}],["task",{"0":{"74":1},"1":{"75":1,"76":1},"2":{"58":8,"75":8,"76":8,"92":4,"126":6}}],["tasks",{"2":{"58":1,"76":6,"97":2,"124":2,"126":2}}],["target",{"2":{"24":6,"63":4}}],["txt",{"2":{"52":1,"64":2}}],["typescript",{"2":{"16":1}}],["type",{"0":{"37":1},"2":{"10":1,"16":2,"36":1,"41":3,"97":2,"103":2,"124":2,"126":2}}],["true",{"2":{"8":1,"9":1,"21":2,"22":1,"28":4,"29":1,"104":12}}],["toggle",{"2":{"62":2}}],["to",{"2":{"0":1,"21":4,"62":8,"79":8}}],["that",{"2":{"68":2}}],["them",{"2":{"28":2}}],["theme",{"0":{"2":1},"2":{"0":7,"2":1}}],["the",{"2":{"0":3,"5":2,"23":4,"24":8,"62":2,"68":8,"72":4,"79":6,"128":1,"131":2}}],["this",{"2":{"0":1,"128":1,"130":15}}],["block",{"2":{"130":3}}],["blob",{"2":{"31":1}}],["built",{"2":{"128":1}}],["buildpipflow",{"2":{"71":1}}],["build",{"0":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"70":1},"1":{"71":1,"72":1},"2":{"8":1,"11":2,"12":2,"13":2,"14":1,"17":5,"39":1,"43":1,"46":1,"53":3,"54":1,"58":19,"71":1,"72":4,"83":8,"92":4,"104":1,"126":21}}],["bundle",{"2":{"72":2}}],["background",{"2":{"51":4}}],["babel转译",{"2":{"109":1}}],["babel配置",{"2":{"64":2}}],["babel",{"0":{"114":1},"2":{"41":1,"56":1,"57":4,"62":2,"64":2,"114":3}}],["bash➜",{"2":{"68":1,"72":1,"76":1,"79":1}}],["bashusage",{"2":{"63":1}}],["bashpipflow",{"2":{"15":1,"58":1,"62":2,"63":1,"67":1,"71":1,"75":1,"78":1,"81":1,"83":1,"91":1,"106":1,"126":2}}],["base",{"0":{"31":1,"40":1},"2":{"31":7,"40":2,"79":2,"85":2,"112":2,"113":2}}],["basedir",{"2":{"23":2}}],["browserslistrc",{"2":{"56":1,"64":2,"114":1}}],["browserslist",{"0":{"56":1},"2":{"56":1,"57":2}}],["browsersync",{"2":{"18":1,"66":1,"77":1,"79":2}}],["browser",{"0":{"27":1},"2":{"27":2,"68":6,"79":8}}],["box",{"2":{"130":3}}],["body",{"2":{"103":4}}],["boolean",{"2":{"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"21":1,"22":1,"23":1,"26":1,"28":1,"29":1,"43":1,"45":1,"46":1,"48":1,"84":2}}],["both",{"2":{"0":1}}],["before",{"2":{"24":2}}],["be",{"2":{"0":1,"79":2}}],["by",{"2":{"0":1,"63":2,"128":1,"129":1}}],["pxtoview",{"0":{"122":1}}],["pxtorem",{"0":{"121":1}}],["p",{"2":{"103":4}}],["pug文档",{"2":{"101":1}}],["pug是一种高度可读性的模板引擎",{"2":{"101":1}}],["pug",{"2":{"99":1,"101":2}}],["public",{"0":{"52":1},"2":{"32":1,"52":4,"58":2,"64":2,"106":2,"126":2}}],["publicdir",{"0":{"32":1},"2":{"32":1,"52":1}}],["pipe",{"2":{"90":1}}],["pipflow内置的模板引擎中",{"2":{"103":1}}],["pipflow的主要功能包括",{"2":{"90":1}}],["pipflow配置",{"2":{"64":2}}],["pipflow",{"0":{"15":1,"61":1,"66":1,"70":1,"74":1,"77":1,"80":1,"91":1},"1":{"16":1,"17":1,"62":1,"63":1,"67":1,"68":1,"71":1,"72":1,"75":1,"76":1,"78":1,"79":1,"81":1},"2":{"14":1,"15":6,"16":5,"18":1,"49":1,"51":3,"54":1,"56":1,"57":1,"58":12,"59":6,"63":6,"64":2,"68":5,"72":4,"75":4,"76":4,"79":2,"83":7,"85":4,"90":1,"91":1,"92":12,"97":2,"99":1,"101":1,"103":6,"106":4,"109":1,"124":2,"126":10,"127":1}}],["pw",{"2":{"59":1,"67":2,"79":2}}],["powered",{"2":{"63":2,"129":1}}],["polyfill",{"0":{"57":1},"2":{"57":7}}],["postcss集成",{"0":{"119":1},"1":{"120":1,"121":1,"122":1}}],["postcss配置",{"2":{"64":2}}],["postcss",{"2":{"56":1,"64":2}}],["port",{"0":{"20":1},"2":{"20":1,"68":6,"79":6,"92":1}}],["png",{"2":{"51":4,"52":2,"64":2}}],["per",{"2":{"25":2}}],["partials",{"2":{"103":2}}],["parallel",{"2":{"58":6,"126":7}}],["parent",{"2":{"31":2}}],["pack",{"2":{"49":1,"106":6}}],["package",{"2":{"14":1,"56":1,"58":1,"64":2,"126":1}}],["paths",{"2":{"79":2}}],["path",{"2":{"21":4,"68":4,"72":4,"79":2}}],["pages",{"2":{"112":2,"113":6}}],["page",{"0":{"3":1,"4":1},"2":{"0":11,"3":1,"68":2,"79":2,"128":1}}],["plugin",{"2":{"14":1}}],["plugins",{"0":{"44":1},"2":{"14":1,"97":2,"99":1,"103":2,"109":1,"124":2}}],["provides",{"2":{"129":1}}],["provided",{"2":{"0":1,"128":1}}],["prod",{"2":{"84":2}}],["produces",{"2":{"72":2}}],["production",{"2":{"10":1,"58":2,"70":1,"72":4,"83":7,"84":2,"85":1,"126":2}}],["proceed",{"2":{"62":2}}],["processors",{"2":{"62":2}}],["process",{"2":{"10":1,"83":1,"84":8,"100":1}}],["projectpipflow",{"2":{"91":1}}],["project",{"2":{"62":2,"63":3,"68":2,"91":1}}],["proxyres",{"2":{"24":4}}],["proxyreq",{"2":{"24":6}}],["proxyoptions",{"2":{"24":1}}],["proxy",{"0":{"24":1},"2":{"24":10}}],["prettier配置",{"2":{"64":2}}],["prettierrc",{"2":{"64":2}}],["press",{"2":{"62":2}}],["preset",{"2":{"56":2,"57":1,"63":2}}],["preview",{"2":{"58":4,"79":2,"92":4}}],["pre",{"2":{"0":12,"62":2}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/@localSearchIndexroot.d09a9331.js b/assets/chunks/@localSearchIndexroot.d09a9331.js deleted file mode 100644 index 5f536c4..0000000 --- a/assets/chunks/@localSearchIndexroot.d09a9331.js +++ /dev/null @@ -1 +0,0 @@ -const t='{"documentCount":131,"nextId":131,"documentIds":{"0":"/api-examples.html#runtime-api-examples","1":"/api-examples.html#results","2":"/api-examples.html#theme-data","3":"/api-examples.html#page-data","4":"/api-examples.html#page-frontmatter","5":"/api-examples.html#more","6":"/config/build-options.html#build-options","7":"/config/build-options.html#build-outdir","8":"/config/build-options.html#build-fileHash","9":"/config/build-options.html#build-sourcemap","10":"/config/build-options.html#build-minify","11":"/config/build-options.html#build-htmlminify","12":"/config/build-options.html#build-jsminify","13":"/config/build-options.html#build-cssminify","14":"/config/build-options.html#build-imageminify","15":"/config/#configuring-pipflow","16":"/config/#配置智能提示","17":"/config/#情景配置","18":"/config/server-options.html#server-options","19":"/config/server-options.html#server-host","20":"/config/server-options.html#server-port","21":"/config/server-options.html#server-https","22":"/config/server-options.html#server-open","23":"/config/server-options.html#server-server","24":"/config/server-options.html#server-proxy","25":"/config/server-options.html#server-middleware","26":"/config/server-options.html#server-cors","27":"/config/server-options.html#server-browser","28":"/config/server-options.html#server-ghostmode","29":"/config/server-options.html#server-notify","30":"/config/shared-options.html#shared-options","31":"/config/shared-options.html#base","32":"/config/shared-options.html#public-dir","33":"/config/shared-options.html#alias","34":"/config/shared-options.html#env-dir","35":"/config/task-options.html#task-options","36":"/config/task-options.html#name","37":"/config/task-options.html#type","38":"/config/task-options.html#input","39":"/config/task-options.html#dest","40":"/config/task-options.html#base","41":"/config/task-options.html#compiler","42":"/config/task-options.html#compiler-options","43":"/config/task-options.html#minify","44":"/config/task-options.html#plugins","45":"/config/task-options.html#file-hash","46":"/config/task-options.html#sourcemap","47":"/config/task-options.html#alias","48":"/config/task-options.html#watch","49":"/config/task-options.html#filename","50":"/guide/assets.html#静态资源处理","51":"/guide/assets.html#资源文件url","52":"/guide/assets.html#public-目录","53":"/guide/assets.html#文件指纹","54":"/guide/build.html#构建生产版本","55":"/guide/build.html#浏览器兼容性","56":"/guide/build.html#browserslist","57":"/guide/build.html#polyfill","58":"/guide/build.html#自定义构建","59":"/guide/cli.html#cli","60":"/guide/cli.html#cli-create","61":"/guide/cli.html#pipflow-create","62":"/guide/cli.html#使用","63":"/guide/cli.html#选项","64":"/guide/cli.html#项目目录结构","65":"/guide/cli.html#cli-dev","66":"/guide/cli.html#pipflow-dev","67":"/guide/cli.html#使用-1","68":"/guide/cli.html#选项-1","69":"/guide/cli.html#cli-build","70":"/guide/cli.html#pipflow-build","71":"/guide/cli.html#使用-2","72":"/guide/cli.html#选项-2","73":"/guide/cli.html#cli-other","74":"/guide/cli.html#cli-task","75":"/guide/cli.html#使用-3","76":"/guide/cli.html#选项-3","77":"/guide/cli.html#cli-server","78":"/guide/cli.html#使用-4","79":"/guide/cli.html#选项-4","80":"/guide/cli.html#cli-info","81":"/guide/cli.html#使用-5","82":"/guide/env-and-mode.html#环境变量和模式","83":"/guide/env-and-mode.html#环境变量","84":"/guide/env-and-mode.html#env文件","85":"/guide/env-and-mode.html#模式","86":"/guide/help.html#常见问题","87":"/guide/help.html#安装依赖时间过长","88":"/guide/help.html#安装依赖失败","89":"/guide/#开始","90":"/guide/#总览","91":"/guide/#搭建-pipflow-项目","92":"/guide/#命令行界面","93":"/guide/task-assets.html#静态资源","94":"/guide/task-assets.html#静态文件任务","95":"/guide/task-assets.html#图片任务","96":"/guide/task-assets.html#图片压缩","97":"/guide/task-html.html#html-任务","98":"/guide/task-html.html#process-flow","99":"/guide/task-html.html#环境变量处理","100":"/guide/task-html.html#html-templater","101":"/guide/task-html.html#configuration","102":"/guide/task-html.html#example","103":"/guide/task-html.html#content-compress","104":"/guide/task-more.html#其他任务","105":"/guide/task-more.html#zip压缩任务-archive","106":"/guide/task-more.html#options","107":"/guide/task-script.html#script-任务","108":"/guide/task-script.html#process-flow","109":"/guide/task-script.html#文件入口","110":"/guide/task-script.html#_1-字符串通配符","111":"/guide/task-script.html#_2-数组方式","112":"/guide/task-script.html#_3-对象方式","113":"/guide/task-script.html#babel-转译","114":"/guide/task-script.html#terser","115":"/guide/task-style.html#style-任务","116":"/guide/task-style.html#处理流程","117":"/guide/task-style.html#css-preprocessor","118":"/guide/task-style.html#postcss集成","119":"/guide/task-style.html#remtopx","120":"/guide/task-style.html#pxtorem","121":"/guide/task-style.html#pxtoview","122":"/guide/task-user.html#自定义任务和流程","123":"/guide/task-user.html#extend-task","124":"/guide/task-user.html#create-task","125":"/guide/task-user.html#compose-task","126":"/guide/task.html#概要","127":"/markdown-examples.html#markdown-extension-examples","128":"/markdown-examples.html#syntax-highlighting","129":"/markdown-examples.html#custom-containers","130":"/markdown-examples.html#more"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,52],"1":[1,3,1],"2":[2,4,2],"3":[2,4,2],"4":[2,4,2],"5":[1,3,11],"6":[1,1,1],"7":[2,1,7],"8":[2,1,21],"9":[2,1,13],"10":[2,1,29],"11":[2,1,20],"12":[2,1,18],"13":[2,1,18],"14":[2,1,41],"15":[2,1,31],"16":[1,2,26],"17":[1,2,24],"18":[1,1,9],"19":[2,1,8],"20":[2,1,12],"21":[2,1,28],"22":[2,1,7],"23":[1,1,26],"24":[2,1,49],"25":[2,1,20],"26":[2,1,7],"27":[2,1,13],"28":[2,1,29],"29":[2,1,6],"30":[1,1,1],"31":[1,1,35],"32":[1,1,21],"33":[1,1,19],"34":[1,1,13],"35":[1,1,3],"36":[1,1,11],"37":[1,1,16],"38":[1,1,6],"39":[1,1,12],"40":[1,1,15],"41":[1,1,19],"42":[1,1,9],"43":[1,1,17],"44":[1,1,6],"45":[1,1,7],"46":[1,1,15],"47":[1,1,12],"48":[1,1,9],"49":[1,1,16],"50":[1,1,1],"51":[1,1,29],"52":[2,1,36],"53":[1,1,16],"54":[1,1,15],"55":[1,1,1],"56":[1,2,29],"57":[1,2,36],"58":[1,1,85],"59":[1,1,23],"60":[1,1,1],"61":[2,2,2],"62":[1,4,48],"63":[1,4,75],"64":[1,2,53],"65":[1,1,1],"66":[2,2,5],"67":[1,4,6],"68":[1,4,62],"69":[1,1,1],"70":[2,2,5],"71":[1,4,15],"72":[1,4,34],"73":[1,1,1],"74":[2,2,2],"75":[1,4,14],"76":[1,4,23],"77":[2,2,7],"78":[1,4,4],"79":[1,4,82],"80":[2,2,2],"81":[1,4,4],"82":[1,1,1],"83":[1,1,1],"84":[2,1,1],"85":[1,1,1],"86":[1,1,1],"87":[1,1,17],"88":[1,1,7],"89":[1,1,1],"90":[1,1,51],"91":[3,1,25],"92":[1,1,37],"93":[1,1,1],"94":[1,1,1],"95":[1,1,1],"96":[1,2,47],"97":[2,1,1],"98":[1,2,37],"99":[1,2,6],"100":[1,2,60],"101":[1,3,1],"102":[1,3,42],"103":[1,2,22],"104":[1,1,1],"105":[3,1,25],"106":[1,4,3],"107":[2,1,1],"108":[1,2,28],"109":[1,2,7],"110":[2,3,7],"111":[2,3,9],"112":[2,3,16],"113":[2,2,17],"114":[1,2,8],"115":[2,1,1],"116":[1,2,1],"117":[2,2,1],"118":[1,2,1],"119":[1,3,1],"120":[1,3,1],"121":[1,3,1],"122":[1,1,1],"123":[1,1,21],"124":[1,1,1],"125":[1,1,1],"126":[1,1,28],"127":[3,1,14],"128":[2,3,28],"129":[2,3,21],"130":[1,3,11]},"averageFieldLength":[1.3664122137404577,1.717557251908397,16.25954198473283],"storedFields":{"0":{"title":"Runtime API Examples","titles":[]},"1":{"title":"Results","titles":["Runtime API Examples"]},"2":{"title":"Theme Data","titles":["Runtime API Examples","Results"]},"3":{"title":"Page Data","titles":["Runtime API Examples","Results"]},"4":{"title":"Page Frontmatter","titles":["Runtime API Examples","Results"]},"5":{"title":"More","titles":["Runtime API Examples"]},"6":{"title":"构建选项","titles":[]},"7":{"title":"build.outDir","titles":["构建选项"]},"8":{"title":"build.fileHash","titles":["构建选项"]},"9":{"title":"build.sourcemap","titles":["构建选项"]},"10":{"title":"build.minify","titles":["构建选项"]},"11":{"title":"build.htmlMinify","titles":["构建选项"]},"12":{"title":"build.jsMinify","titles":["构建选项"]},"13":{"title":"build.cssMinify","titles":["构建选项"]},"14":{"title":"build.imageMinify","titles":["构建选项"]},"15":{"title":"配置 pipflow","titles":[]},"16":{"title":"配置智能提示","titles":["配置 pipflow"]},"17":{"title":"情景配置","titles":["配置 pipflow"]},"18":{"title":"开发服务器选项","titles":[]},"19":{"title":"server.host","titles":["开发服务器选项"]},"20":{"title":"server.port","titles":["开发服务器选项"]},"21":{"title":"server.https","titles":["开发服务器选项"]},"22":{"title":"server.open","titles":["开发服务器选项"]},"23":{"title":"server.server","titles":["开发服务器选项"]},"24":{"title":"server.proxy","titles":["开发服务器选项"]},"25":{"title":"server.middleware","titles":["开发服务器选项"]},"26":{"title":"server.cors","titles":["开发服务器选项"]},"27":{"title":"server.browser","titles":["开发服务器选项"]},"28":{"title":"server.ghostMode","titles":["开发服务器选项"]},"29":{"title":"server.notify","titles":["开发服务器选项"]},"30":{"title":"共享配置","titles":[]},"31":{"title":"base","titles":["共享配置"]},"32":{"title":"publicDir","titles":["共享配置"]},"33":{"title":"alias","titles":["共享配置"]},"34":{"title":"envDir","titles":["共享配置"]},"35":{"title":"任务配置","titles":[]},"36":{"title":"name","titles":["任务配置"]},"37":{"title":"type","titles":["任务配置"]},"38":{"title":"input","titles":["任务配置"]},"39":{"title":"dest","titles":["任务配置"]},"40":{"title":"base","titles":["任务配置"]},"41":{"title":"compiler","titles":["任务配置"]},"42":{"title":"compilerOptions","titles":["任务配置"]},"43":{"title":"minify","titles":["任务配置"]},"44":{"title":"plugins","titles":["任务配置"]},"45":{"title":"fileHash","titles":["任务配置"]},"46":{"title":"sourcemap","titles":["任务配置"]},"47":{"title":"alias","titles":["任务配置"]},"48":{"title":"watch","titles":["任务配置"]},"49":{"title":"filename","titles":["任务配置"]},"50":{"title":"静态资源处理","titles":[]},"51":{"title":"资源文件URL","titles":["静态资源处理"]},"52":{"title":"public 目录","titles":["静态资源处理"]},"53":{"title":"文件指纹","titles":["静态资源处理"]},"54":{"title":"构建生产版本","titles":[]},"55":{"title":"浏览器兼容性","titles":["构建生产版本"]},"56":{"title":"browserslist","titles":["构建生产版本","浏览器兼容性"]},"57":{"title":"Polyfill","titles":["构建生产版本","浏览器兼容性"]},"58":{"title":"自定义构建","titles":["构建生产版本"]},"59":{"title":"命令行界面","titles":[]},"60":{"title":"创建项目","titles":["命令行界面"]},"61":{"title":"pipflow create","titles":["命令行界面","创建项目"]},"62":{"title":"使用","titles":["命令行界面","创建项目","pipflow create"]},"63":{"title":"选项","titles":["命令行界面","创建项目","pipflow create"]},"64":{"title":"项目目录结构","titles":["命令行界面","创建项目"]},"65":{"title":"开发服务器","titles":["命令行界面"]},"66":{"title":"pipflow dev","titles":["命令行界面","开发服务器"]},"67":{"title":"使用","titles":["命令行界面","开发服务器","pipflow dev"]},"68":{"title":"选项","titles":["命令行界面","开发服务器","pipflow dev"]},"69":{"title":"构建","titles":["命令行界面"]},"70":{"title":"pipflow build","titles":["命令行界面","构建"]},"71":{"title":"使用","titles":["命令行界面","构建","pipflow build"]},"72":{"title":"选项","titles":["命令行界面","构建","pipflow build"]},"73":{"title":"其他","titles":["命令行界面"]},"74":{"title":"pipflow task","titles":["命令行界面","其他"]},"75":{"title":"使用","titles":["命令行界面","其他","pipflow task"]},"76":{"title":"选项","titles":["命令行界面","其他","pipflow task"]},"77":{"title":"pipflow server","titles":["命令行界面","其他"]},"78":{"title":"使用","titles":["命令行界面","其他","pipflow server"]},"79":{"title":"选项","titles":["命令行界面","其他","pipflow server"]},"80":{"title":"pipflow-info","titles":["命令行界面","其他"]},"81":{"title":"使用","titles":["命令行界面","其他","pipflow-info"]},"82":{"title":"环境变量和模式","titles":[]},"83":{"title":"环境变量","titles":["环境变量和模式"]},"84":{"title":".env文件","titles":["环境变量和模式"]},"85":{"title":"模式","titles":["环境变量和模式"]},"86":{"title":"常见问题","titles":[]},"87":{"title":"安装依赖时间过长","titles":["常见问题"]},"88":{"title":"安装依赖失败","titles":["常见问题"]},"89":{"title":"开始","titles":[]},"90":{"title":"总览","titles":["开始"]},"91":{"title":"搭建 pipflow 项目","titles":["开始"]},"92":{"title":"命令行界面","titles":["开始"]},"93":{"title":"静态资源","titles":[]},"94":{"title":"静态文件任务","titles":["静态资源"]},"95":{"title":"图片任务","titles":["静态资源"]},"96":{"title":"图片压缩","titles":["静态资源","图片任务"]},"97":{"title":"HTML 任务","titles":[]},"98":{"title":"处理流程","titles":["HTML 任务"]},"99":{"title":"环境变量处理","titles":["HTML 任务"]},"100":{"title":"模板渲染","titles":["HTML 任务"]},"101":{"title":"渲染配置项","titles":["HTML 任务","模板渲染"]},"102":{"title":"示例","titles":["HTML 任务","模板渲染"]},"103":{"title":"内容压缩","titles":["HTML 任务"]},"104":{"title":"其他任务","titles":[]},"105":{"title":"ZIP压缩任务 (archive)","titles":["其他任务"]},"106":{"title":"options","titles":["其他任务","ZIP压缩任务 (archive)"]},"107":{"title":"script 任务","titles":[]},"108":{"title":"处理流程","titles":["script 任务"]},"109":{"title":"文件入口","titles":["script 任务"]},"110":{"title":"1. 字符串通配符","titles":["script 任务","文件入口"]},"111":{"title":"2. 数组方式","titles":["script 任务","文件入口"]},"112":{"title":"3. 对象方式","titles":["script 任务","文件入口"]},"113":{"title":"babel 转译","titles":["script 任务"]},"114":{"title":"terser","titles":["script 任务"]},"115":{"title":"style 任务","titles":[]},"116":{"title":"处理流程","titles":["style 任务"]},"117":{"title":"CSS 预处理器","titles":["style 任务"]},"118":{"title":"postcss集成","titles":["style 任务"]},"119":{"title":"remtopx","titles":["style 任务","postcss集成"]},"120":{"title":"pxtorem","titles":["style 任务","postcss集成"]},"121":{"title":"pxtoview","titles":["style 任务","postcss集成"]},"122":{"title":"自定义任务和流程","titles":[]},"123":{"title":"扩展任务","titles":["自定义任务和流程"]},"124":{"title":"创建新任务","titles":["自定义任务和流程"]},"125":{"title":"组合任务","titles":["自定义任务和流程"]},"126":{"title":"概要","titles":[]},"127":{"title":"Markdown Extension Examples","titles":[]},"128":{"title":"Syntax Highlighting","titles":["Markdown Extension Examples"]},"129":{"title":"Custom Containers","titles":["Markdown Extension Examples"]},"130":{"title":"More","titles":["Markdown Extension Examples"]}},"dirtCount":0,"index":[["删除文件任务",{"2":{"126":1}}],["删除package",{"2":{"87":1}}],["复制文件任务",{"2":{"126":1}}],["复用",{"2":{"102":2}}],["待开发",{"2":{"126":1}}],["主要任务类型包含",{"2":{"126":1}}],["实现资源的自动化处理",{"2":{"126":1}}],["实例是用",{"2":{"31":1}}],["概要",{"0":{"126":1}}],["组合任务",{"0":{"125":1},"2":{"126":1}}],["扩展任务",{"0":{"123":1}}],["扩展名",{"2":{"15":1}}],["预处理器",{"0":{"117":1}}],["预设",{"2":{"57":1}}],["修改支持的目标浏览器",{"2":{"113":1}}],["转译",{"0":{"113":1},"2":{"113":1}}],["转译配置项",{"2":{"42":1}}],["个js文件",{"2":{"112":1}}],["个人推荐",{"2":{"100":1}}],["种方式",{"2":{"109":1}}],["数组方式",{"0":{"111":1}}],["数组",{"2":{"109":1}}],["数量的最小化",{"2":{"57":1}}],["单一字符串",{"2":{"109":1}}],["单独执行某个任务",{"2":{"74":1}}],["两种方式",{"2":{"108":1}}],["zip`在dist目录中",{"2":{"105":1}}],["zip`在dist目录中pipflow",{"2":{"105":1}}],["zip`在项目的根目录",{"2":{"105":2}}],["zip",{"2":{"105":4}}],["zip压缩任务",{"0":{"105":1},"1":{"106":1}}],["参见",{"2":{"103":1}}],["参数",{"2":{"58":1}}],["那么我们来写一个",{"2":{"102":1}}],["那么你可以将该资源放在指定的",{"2":{"52":1}}],["渲染配置项",{"0":{"101":1}}],["渲染html模板引擎",{"2":{"98":1}}],["您可以根据自己的需求和偏好选择适合的模板引擎来开发您的项目",{"2":{"100":1}}],["标准语法类似",{"2":{"100":1}}],["原始语法兼容",{"2":{"100":1}}],["非常适合前端开发和服务器端渲染",{"2":{"100":1}}],["非常适合快速构建静态页面",{"2":{"100":1}}],["循环和继承等高级功能",{"2":{"100":1}}],["可将javascript代码嵌入到模板中",{"2":{"100":1}}],["可以快速生成html代码",{"2":{"100":1}}],["可以指定额外的命令行选项",{"2":{"92":1}}],["可以指定当前服务基本目录以及索引文件",{"2":{"23":1}}],["可以直接运行",{"2":{"92":1}}],["可以直接删除",{"2":{"87":1}}],["可以扩展已有任务",{"2":{"90":1}}],["可以帮助优化浏览器缓存和文件更新的管理",{"2":{"53":1}}],["可以使用",{"2":{"49":1}}],["可以是一个绝对路径",{"2":{"34":1}}],["可以关闭此项功能",{"2":{"32":1}}],["可以统一禁用最小化混淆或压缩",{"2":{"10":1}}],["文档",{"2":{"100":5}}],["文件是基于",{"2":{"114":1}}],["文件来配置",{"2":{"113":1}}],["文件入口配置支持",{"2":{"109":1}}],["文件入口",{"0":{"109":1},"1":{"110":1,"111":1,"112":1}}],["文件监视",{"2":{"90":1}}],["文件里配置",{"2":{"56":1}}],["文件指纹",{"0":{"53":1}}],["文件哈希和版本控制",{"2":{"45":1}}],["文件最小化混淆或压缩",{"2":{"43":1}}],["文件转译工具",{"2":{"41":1}}],["文件的目录",{"2":{"34":1}}],["文件时",{"2":{"33":1}}],["文件",{"2":{"8":1,"9":2,"46":1,"56":1,"102":2,"108":1}}],["具有简洁的语法和强大的功能",{"2":{"100":1}}],["具体配置可以查阅",{"2":{"114":1}}],["具体步骤如下",{"2":{"96":1}}],["具体参数说明请参见",{"2":{"91":1}}],["简洁而且可扩展的模板引擎",{"2":{"100":1}}],["简介",{"2":{"100":5}}],["简单易用和预设功能",{"2":{"90":1}}],["让我们来逐一介绍它们",{"2":{"100":1}}],["🤪",{"2":{"100":1}}],["写入的环境变量将会被静态替换",{"2":{"99":1}}],["写入文件系统时",{"2":{"31":1}}],["过的资源文件版本的映射",{"2":{"98":1}}],["内容压缩",{"0":{"103":1},"2":{"98":1}}],["内置一套完整的构建流程和多类型构建任务",{"2":{"126":1}}],["内置了5款流行的模板引擎",{"2":{"100":1}}],["内置5款流行的模板引擎",{"2":{"90":1}}],["内置任务类型",{"2":{"37":1}}],["内置静态服务器配置",{"2":{"23":1}}],["处理",{"2":{"98":1,"108":1}}],["处理流程",{"0":{"98":1,"108":1,"116":1}}],["处提供",{"2":{"32":1}}],["8及以上版本仅支持",{"2":{"96":1}}],["7",{"2":{"96":1}}],["7npm",{"2":{"96":1}}],["安装",{"2":{"96":1}}],["安装依赖失败",{"0":{"88":1}}],["安装依赖时间过长",{"0":{"87":1}}],["鉴于此会影响整个工程的安装运行",{"2":{"96":1}}],["且",{"2":{"96":1}}],["且图片压缩是一项耗时的一次性任务",{"2":{"14":1}}],["了解更多细节",{"2":{"92":1}}],["了解如何指定浏览器范围",{"2":{"56":1}}],["查看",{"2":{"92":1}}],["查看所有任务",{"2":{"75":2}}],["获得完整的命令行选项列表",{"2":{"92":1}}],["如",{"2":{"92":1}}],["如果开启",{"2":{"113":1}}],["如果需要则手动安装依赖并引入插件即可",{"2":{"96":1}}],["如果需要创建压缩包",{"2":{"49":1}}],["如果在本机全局安装了",{"2":{"92":1}}],["如果在未修改配置文件",{"2":{"58":1}}],["如果项目中不使用的话",{"2":{"87":1}}],["如果要构建",{"2":{"58":1}}],["如果你在创建项目时",{"2":{"63":1}}],["如果你在配置文件中开启了文件指纹",{"2":{"53":1}}],["如果你想自定义构建流程",{"2":{"58":1}}],["如果你有下列这些资源",{"2":{"52":1}}],["如果你的项目不需要",{"2":{"14":1}}],["如果配置文件需要基于",{"2":{"17":1}}],["如果为",{"2":{"9":1}}],["启动开发服务器",{"2":{"92":2}}],["启动一个本地http服务器",{"2":{"77":1}}],["进行压缩混淆",{"2":{"114":1}}],["进行",{"2":{"113":1}}],["进行引入链接的替换",{"2":{"98":1}}],["进行便捷开发",{"2":{"59":1}}],["进入项目根目录后",{"2":{"92":1}}],["版本才能正常运行",{"2":{"91":1}}],["版本",{"2":{"91":2}}],["需要",{"2":{"91":1}}],["兼容性注意",{"2":{"91":1}}],["兼容老版本浏览器",{"2":{"90":1}}],["搭建",{"0":{"91":1}}],["使其成为基于gulp工作流的理想选择",{"2":{"90":1}}],["使用简单",{"2":{"100":1}}],["使用",{"0":{"62":1,"67":1,"71":1,"75":1,"78":1,"81":1},"2":{"20":1,"87":1}}],["温馨说明",{"2":{"90":1}}],["温馨提示",{"2":{"49":1,"57":1,"59":1}}],["极大地提升了项目之间的一致性和开发效率",{"2":{"90":1}}],["极大地简化了前端开发流程",{"2":{"90":1}}],["满足各种需求",{"2":{"90":1}}],["支持",{"2":{"98":1,"108":1}}],["支持https和浏览器同步测试",{"2":{"90":1}}],["支持less",{"2":{"90":1}}],["本地预览生产构建产物",{"2":{"92":2}}],["本地开发服务器",{"2":{"90":1}}],["本身附带",{"2":{"16":1}}],["更容易调试和版本控制",{"2":{"90":1}}],["生成文件hash",{"2":{"108":1}}],["生成",{"2":{"108":1}}],["生成雪碧图",{"2":{"90":1}}],["生成的文件名",{"2":{"49":1}}],["生成的",{"2":{"31":1}}],["图片资源处理任务",{"2":{"126":1}}],["图片任务",{"0":{"95":1},"1":{"96":1}}],["图片优化",{"2":{"90":1}}],["图片压缩",{"0":{"96":1},"2":{"87":1}}],["图片压缩是基于",{"2":{"14":1}}],["图片压缩配置项",{"2":{"14":1}}],["校验",{"2":{"90":1}}],["合并",{"2":{"90":2}}],["打包压缩任务",{"2":{"126":1}}],["打包",{"2":{"90":1}}],["打印当前项目的运行环境信息",{"2":{"80":1}}],["编译",{"2":{"90":1}}],["编译阶段会被统一静态替换",{"2":{"51":1}}],["总览",{"0":{"90":1}}],["国内可能会被墙",{"2":{"88":1}}],["国内环境",{"2":{"14":1,"96":1}}],["服务器上",{"2":{"88":1}}],["很多包将源码托管在",{"2":{"88":1}}],["多数是因为网络原因",{"2":{"88":1}}],["经常碰到安装依赖失败",{"2":{"88":1}}],["我把部分依赖包抽离到外部",{"2":{"87":1}}],["我们推荐以这种方式添加",{"2":{"57":1}}],["常见问题",{"0":{"86":1},"1":{"87":1,"88":1}}],["💡",{"2":{"90":1}}],["👉",{"2":{"79":2}}],["🚨",{"2":{"14":1}}],["无需浪费时间在重复的工程配置上",{"2":{"90":1}}],["无需其他配置",{"2":{"77":1}}],["无损压缩图片",{"2":{"90":1}}],["无法将其检测出来",{"2":{"57":1}}],["执行",{"2":{"75":2}}],["其他项目是打包的目标路径",{"2":{"106":1}}],["其他任务",{"0":{"104":1},"1":{"105":1,"106":1}}],["其他",{"0":{"73":1},"1":{"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1}}],["其构建过程任务如下",{"2":{"58":1}}],["```",{"2":{"128":1}}],["``````js",{"2":{"128":1}}],["```js",{"2":{"128":1}}],["`source",{"2":{"105":2}}],["`src",{"2":{"105":2}}],["`ico`文件",{"2":{"105":2}}],["`pipflow",{"2":{"92":2}}],["`",{"2":{"72":2,"105":4}}],["`dist",{"2":{"72":2,"105":4}}],["里的",{"2":{"68":1}}],["除了通过命令行参数",{"2":{"68":1}}],["除去不可抗拒因素外",{"2":{"63":2}}],["基于",{"2":{"66":1,"98":1,"108":1}}],["资源文件指纹",{"2":{"98":1}}],["资源文件夹",{"2":{"64":2}}],["资源文件url",{"0":{"51":1}}],["源码文件夹",{"2":{"64":2}}],["公共静态资源服务文件夹",{"2":{"64":2}}],[">",{"2":{"63":1}}],["真不想评价",{"2":{"63":2}}],["吐槽",{"2":{"63":2}}],["环境变量注入",{"2":{"108":1}}],["环境变量在构建时会被静态替换",{"2":{"98":1}}],["环境变量处理",{"0":{"99":1},"2":{"98":1,"108":1}}],["环境变量",{"0":{"83":1}}],["环境变量和模式",{"0":{"82":1},"1":{"83":1,"84":1,"85":1}}],["环境",{"2":{"63":1}}],["但是本地一定要安装",{"2":{"63":1}}],["但可以通过",{"2":{"52":1}}],["拉取模板",{"2":{"63":1}}],["拉取模板源码一直处于",{"2":{"63":1}}],["建议从",{"2":{"63":1}}],["建议用绝对路径",{"2":{"51":1}}],["状态",{"2":{"63":1}}],["◯",{"2":{"62":10}}],["0",{"2":{"62":2}}],["运行",{"2":{"91":1,"92":1}}],["运行环境变量",{"2":{"64":2}}],["运行以下命令创建新项目",{"2":{"63":1}}],["运行以下命令来创建一个新项目",{"2":{"62":1}}],["运行下面命令即可构建生产环境应用程序包",{"2":{"58":1}}],["创建本地服务器任务",{"2":{"126":1}}],["创建新任务",{"0":{"124":1}}],["创建一个新项目",{"2":{"61":1}}],["创建项目",{"0":{"60":1},"1":{"61":1,"62":1,"63":1,"64":1}}],["创建的项目",{"2":{"56":1,"57":1}}],["下面是通过脚手架创建的",{"2":{"92":1}}],["下面我们来深入介绍每个命令的使用",{"2":{"59":1}}],["下名为",{"2":{"15":1}}],["快速搭建一个新项目",{"2":{"59":1}}],["包",{"2":{"59":1}}],["完整命令如下",{"2":{"58":1}}],["确保构建主机的环境变量",{"2":{"58":1}}],["即可启动当前项目",{"2":{"92":1}}],["即可",{"2":{"58":1}}],["然后按照提示操作即可",{"2":{"91":1}}],["然后运行",{"2":{"58":1,"59":1}}],["然而",{"2":{"57":1,"91":1}}],["代码片段复用的示例",{"2":{"102":1}}],["代码检查",{"2":{"92":2}}],["代指你的组合任务名称",{"2":{"58":1}}],["代理选项不需要这样做",{"2":{"21":1}}],["16+",{"2":{"91":1}}],["13+",{"2":{"91":1}}],["14",{"2":{"91":1}}],["1",{"0":{"110":1},"2":{"58":1}}],["1└─┬",{"2":{"58":1}}],["2",{"0":{"111":1},"2":{"58":2}}],["4",{"2":{"58":2,"62":2,"128":2}}],["4567",{"2":{"24":2}}],["└──",{"2":{"58":6,"64":12}}],["└─┬",{"2":{"58":5}}],["│",{"2":{"58":8,"64":14}}],["├─┬",{"2":{"58":4}}],["├──",{"2":{"58":6,"64":38}}],["而不是在源代码中直接导入它们",{"2":{"57":1}}],["一个基于",{"2":{"57":1}}],["一致",{"2":{"11":1,"12":1,"13":1}}],["现在查阅",{"2":{"56":1}}],["特性和需要添加的",{"2":{"56":1}}],["用户自定义任务",{"2":{"126":1}}],["用来确定需要转译的",{"2":{"56":1}}],["用于指定项目支持的浏览器范围",{"2":{"56":1}}],["用于加载",{"2":{"34":1}}],["字符串通配符",{"0":{"110":1}}],["字符串中任何特殊字符之前的路径段",{"2":{"31":1}}],["字段配置开发服务器",{"2":{"68":1}}],["字段的",{"2":{"58":1}}],["字段",{"2":{"56":1}}],["你也可以使用",{"2":{"68":1}}],["你也可以在终端里使用",{"2":{"59":1}}],["你也可以在",{"2":{"56":1}}],["你会被提示选取需要的特性",{"2":{"62":1}}],["你可以通过运行以下命令进行探索",{"2":{"63":1}}],["你可以通过",{"2":{"59":1,"103":1}}],["你可以通过修改项目中的",{"2":{"57":1,"113":1}}],["你可以将",{"2":{"58":1}}],["你可以创建一个",{"2":{"58":1}}],["你可以在任何目录下运行该命令",{"2":{"77":1}}],["你可以在",{"2":{"51":1}}],["你可以显式地通过",{"2":{"15":1}}],["通过pipflow",{"2":{"90":1}}],["通过",{"2":{"56":1}}],["浏览器支持列表",{"2":{"64":2}}],["浏览器前缀",{"2":{"56":1}}],["浏览器兼容性",{"0":{"55":1},"1":{"56":1,"57":1}}],["浏览器右上角的小弹窗通知",{"2":{"29":1}}],["作为其入口",{"2":{"54":1}}],["作为静态资源服务的文件夹",{"2":{"32":1}}],["只能安装",{"2":{"96":1}}],["只需运行",{"2":{"54":1}}],["只是想得到其",{"2":{"52":1}}],["阶段有效",{"2":{"53":1}}],["阶段是否监视文件变动并重新编译",{"2":{"48":1}}],["之后引入的文件路径会携带文件指纹",{"2":{"53":1}}],["则使用",{"2":{"113":1}}],["则它会被自动排除",{"2":{"57":1}}],["则在",{"2":{"53":1}}],["则可以选择导出这样一个函数",{"2":{"17":1}}],["同时提高网站的性能和用户体验",{"2":{"53":1}}],["同时也会生成对应的",{"2":{"8":1}}],["静态替换",{"2":{"98":1,"108":1}}],["静态文件任务",{"0":{"94":1}}],["静态文件指纹是为了解决缓存问题",{"2":{"53":1}}],["静态资源",{"0":{"93":1},"1":{"94":1,"95":1,"96":1}}],["静态资源处理任务",{"2":{"126":1}}],["静态资源处理",{"0":{"50":1},"1":{"51":1,"52":1,"53":1}}],["应该在源码中被引用为",{"2":{"52":1}}],["举个例子",{"2":{"52":1}}],["选项时",{"2":{"58":1}}],["选项",{"0":{"63":1,"68":1,"72":1,"76":1,"79":1},"2":{"52":1}}],["根路径访问到",{"2":{"52":1}}],["它同时支持两种模板语法",{"2":{"100":1}}],["它支持javascript语法和自定义扩展",{"2":{"100":1}}],["它支持条件语句",{"2":{"100":1}}],["它被广泛用于javascript开发中的模板渲染",{"2":{"100":1}}],["它具有易学易用的特点",{"2":{"100":1}}],["它允许您动态生成html页面",{"2":{"100":1}}],["它采用缩进和标签语法",{"2":{"100":1}}],["它们曾经都是主流",{"2":{"100":1}}],["它提供了一组开箱即用的gulp任务和功能",{"2":{"90":1}}],["它内置了诸如合并",{"2":{"90":1}}],["它是基于",{"2":{"77":1}}],["它是",{"2":{"59":1}}],["它通过",{"2":{"57":1}}],["它使用标签和表达式来生成html",{"2":{"100":1}}],["它使用简单的命令就可以完成复杂的前端构建工作",{"2":{"90":1}}],["它使用",{"2":{"54":1}}],["它可以确保用户获得最新的文件版本",{"2":{"53":1}}],["它应位于你的项目根目录",{"2":{"52":1}}],["它为开发过程提供自动化",{"2":{"18":1}}],["utils",{"2":{"111":2,"112":2}}],["underscore",{"2":{"100":1}}],["url",{"2":{"52":1}}],["using",{"2":{"24":2}}],["use",{"2":{"63":2,"79":4}}],["usebuiltins",{"2":{"57":1}}],["user",{"2":{"37":1,"126":1}}],["userconfig",{"2":{"16":2}}],["used",{"2":{"0":1,"79":2}}],["usedata",{"2":{"0":5}}],["usage",{"2":{"0":1,"57":1,"68":2,"72":2,"76":2,"79":2}}],["没有经过",{"2":{"52":1}}],["必须保持原有文件名",{"2":{"52":1}}],["例如",{"2":{"52":1}}],["不求上进的xx",{"2":{"63":2}}],["不为",{"2":{"58":1}}],["不会被源码引用",{"2":{"52":1}}],["不同于",{"2":{"33":1}}],["目录打包",{"2":{"105":4}}],["目录产生一个可用于生产环境的包",{"2":{"71":1}}],["目录默认是",{"2":{"52":1}}],["目录中",{"2":{"52":1}}],["目录",{"0":{"52":1}}],["目前仅对",{"2":{"49":1}}],["构建",{"0":{"69":1},"1":{"70":1,"71":1,"72":1},"2":{"113":1}}],["构建生产环境应用程序包默认是通过",{"2":{"58":1}}],["构建生产版本",{"0":{"54":1},"1":{"55":1,"56":1,"57":1,"58":1},"2":{"70":1}}],["构建后的内容",{"2":{"51":2}}],["构建选项",{"0":{"6":1},"1":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1}}],["引入",{"2":{"51":1,"52":1}}],["开箱即用的前端开发工作流",{"2":{"102":2}}],["开箱即用",{"2":{"90":1}}],["开发者可以专注于代码编写",{"2":{"90":1}}],["开发者无需从零开始配置就可以立即启动前端项目的开发",{"2":{"90":1}}],["开发服务器",{"0":{"65":1},"1":{"66":1,"67":1,"68":1}}],["开发服务器启动时",{"2":{"22":1}}],["开发服务器选项",{"0":{"18":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1}}],["开始",{"0":{"89":1},"1":{"90":1,"91":1,"92":1}}],["开头",{"2":{"51":1}}],["刷新页面",{"2":{"48":1,"90":1}}],["在当前项目下启动一个开发服务器",{"2":{"66":1}}],["在项目根目录下有一个单独的",{"2":{"56":1}}],["在页面内通过别名+路径引入文件",{"2":{"51":1}}],["在页面中引入资源文件",{"2":{"51":1}}],["在",{"2":{"48":1,"57":1,"96":1}}],["在处理html",{"2":{"33":1}}],["会合并全局",{"2":{"47":1}}],["会自动解析",{"2":{"15":1}}],["别名替换",{"2":{"47":1,"98":1,"108":1}}],["自动检测文件变动并重新编译",{"2":{"90":1}}],["自动添加浏览器前缀",{"2":{"90":1}}],["自动在浏览器中打开应用程序",{"2":{"22":1}}],["自身也是一塌糊涂",{"2":{"63":2}}],["自定义处理流程",{"2":{"98":1,"108":1}}],["自定义任务和流程",{"0":{"122":1},"1":{"123":1,"124":1,"125":1}}],["自定义任务",{"2":{"90":1}}],["自定义任务处理流程",{"2":{"44":1}}],["自定义",{"2":{"58":1}}],["自定义构建",{"0":{"58":1}}],["压缩混淆",{"2":{"108":2}}],["压缩包",{"2":{"105":4}}],["压缩默认配置",{"2":{"103":1}}],["压缩",{"2":{"90":1}}],["压缩等",{"2":{"90":1}}],["压缩等功能",{"2":{"90":1}}],["压缩配置项",{"2":{"43":1}}],["压缩图片或者手动一次性压缩",{"2":{"14":1}}],["对象方式",{"0":{"112":1}}],["对象上设置",{"2":{"31":1,"40":1}}],["对应的字符串",{"2":{"98":1,"108":1}}],["对应的混淆",{"2":{"43":1}}],["继承",{"2":{"39":1,"40":1,"43":1,"46":1,"47":1}}],["+",{"2":{"36":1}}],["每一款都有自己独特的特点和用法",{"2":{"100":1}}],["每一项将会被静态替换",{"2":{"33":1}}],["每个任务的单独配置项",{"2":{"35":1}}],["任务",{"0":{"97":1,"107":1,"115":1},"1":{"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"75":2}}],["任务索引",{"2":{"36":1}}],["任务类型有效",{"2":{"49":1}}],["任务类型",{"2":{"36":1,"37":1}}],["任务名称",{"2":{"36":1}}],["任务配置",{"0":{"35":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1}}],["任何设备上的点击",{"2":{"28":1}}],["关于",{"2":{"53":1}}],["关于环境文件的更多信息",{"2":{"34":1}}],["关闭文件哈希",{"2":{"8":1}}],["功能强大",{"2":{"100":1}}],["功能",{"2":{"33":1}}],["等",{"2":{"33":1}}],["友情提醒",{"2":{"33":1}}],["全局",{"2":{"40":1,"47":1}}],["全局字符串别名",{"2":{"33":1}}],["全局配置",{"2":{"10":1}}],["设置",{"2":{"87":2}}],["设置后会覆盖全局配置",{"2":{"35":1}}],["设置为",{"2":{"10":1}}],["设定为",{"2":{"32":1}}],["并加入以下代码",{"2":{"96":1}}],["并未内置图片压缩功能",{"2":{"96":1}}],["并标准化了构建流程",{"2":{"90":1}}],["并附带开箱即用的热重载功能",{"2":{"66":1}}],["并生成能够静态部署的应用程序包",{"2":{"54":1}}],["并且打包时会被完整复制到目标目录的根目录下",{"2":{"52":1}}],["并且始终按原样提供或复制而无需进行转换",{"2":{"32":1}}],["并在构建期间复制到",{"2":{"32":1}}],["并将",{"2":{"14":1}}],["库",{"2":{"31":1}}],["请点击查看文档",{"2":{"96":1}}],["请在命令开头加上",{"2":{"58":1}}],["请注意升级你的",{"2":{"91":1}}],["请注意",{"2":{"52":1}}],["请参见",{"2":{"34":1,"39":1,"40":1,"41":2,"42":2,"43":1,"44":1,"46":1,"47":1,"49":1,"52":1}}],["请参阅",{"2":{"31":1}}],["请删除项目的",{"2":{"14":1}}],["以文件名或url参数形式",{"2":{"53":1}}],["以",{"2":{"51":1}}],["以保留目录结构",{"2":{"31":1}}],["以便更好的控制缓存",{"2":{"8":1}}],["当你的包管理器发出警告时",{"2":{"91":1}}],["当配置完成之后",{"2":{"58":1}}],["当需要将应用部署到生产环境时",{"2":{"54":1}}],["当",{"2":{"41":3}}],["当使用",{"2":{"31":1}}],["当以命令行方式运行",{"2":{"15":1}}],["集作为它们的",{"2":{"31":1}}],["由于图片压缩是一个耗时任务",{"2":{"96":1}}],["由于安装",{"2":{"14":1}}],["由",{"2":{"31":1,"59":1}}],["该命令会在",{"2":{"71":1}}],["该目录中的资源在开发时能直接通过",{"2":{"52":1}}],["该目录中的文件在开发期间在",{"2":{"32":1}}],["该值可以是文件系统的绝对路径",{"2":{"32":1}}],["该路径段不能是可变的",{"2":{"31":1}}],["该配置项仅对任务类型",{"2":{"10":1}}],["所有匹配",{"2":{"31":1}}],["所以你可以通过",{"2":{"16":1}}],["所以",{"2":{"14":1,"96":1}}],["因此",{"2":{"31":1}}],["因为如果这里列出的",{"2":{"57":1}}],["因为它会从目标网址中推断出来",{"2":{"21":1}}],["因为",{"2":{"16":1}}],["是一种简单而灵活的模板引擎",{"2":{"100":1}}],["是一个基于gulp的前端开发工作流",{"2":{"90":1}}],["是一个全局安装的",{"2":{"59":1}}],["是否生成",{"2":{"46":1}}],["是",{"2":{"31":2}}],["有些模板需要依赖更高的",{"2":{"91":1}}],["有关更深入的信息",{"2":{"31":1}}],["有时称为",{"2":{"31":1}}],["有效",{"2":{"10":1,"41":1}}],["属性构造的",{"2":{"31":1}}],["属性",{"2":{"31":1,"40":1}}],["显式地在创建的",{"2":{"31":1,"40":1}}],["共享配置",{"0":{"30":1},"1":{"31":1,"32":1,"33":1,"34":1}}],["you",{"2":{"28":2}}],["yourlocal",{"2":{"24":2}}],["your",{"2":{"24":2,"62":2}}],["滚动和表单输入都将镜像到所有其他设备",{"2":{"28":1}}],["示例",{"0":{"102":1},"2":{"27":1,"123":1}}],["要打开的浏览器",{"2":{"27":1}}],["中包含",{"2":{"98":1}}],["中添加的自定义",{"2":{"98":1,"108":1}}],["中找到当前任务",{"2":{"96":1}}],["中间件函数或插件",{"2":{"25":1}}],["中的资源永远应该使用根绝对路径",{"2":{"52":1}}],["中的",{"2":{"14":1,"58":1}}],["xxx",{"2":{"99":1}}],["x",{"2":{"24":2}}],["key",{"2":{"21":4,"33":1,"47":1}}],["warning",{"2":{"129":9}}],["watch",{"0":{"48":1},"2":{"79":6}}],["w",{"2":{"79":2}}],["which",{"2":{"79":2}}],["when",{"2":{"63":2}}],["web",{"2":{"79":2}}],["webpack",{"2":{"33":1,"113":1}}],["workflow",{"2":{"90":1}}],["works",{"2":{"0":1}}],["world",{"2":{"62":1}}],["worldpipflow",{"2":{"62":1}}],["with",{"2":{"21":2,"23":2,"68":2,"128":1}}],["注",{"2":{"58":1}}],["注意",{"2":{"21":1,"96":1}}],["注解也可以获取类型提示",{"2":{"16":1}}],["来配置",{"2":{"52":1}}],["来设置",{"2":{"20":1}}],["来决定选项",{"2":{"17":1}}],["3",{"0":{"112":1},"2":{"58":2,"109":1,"112":1}}],["3000",{"2":{"20":1,"79":2}}],["39",{"2":{"0":4,"16":8,"17":8,"24":14,"27":4,"96":8,"102":24,"110":4,"111":12,"112":28,"123":24,"128":8}}],["也可以是相对于项目根的路径",{"2":{"34":1}}],["也可以是相对于项目根目录的相对路径",{"2":{"32":1}}],["也可以通过",{"2":{"20":1}}],["也可以在每个任务项内单独配置",{"2":{"10":1}}],["9527",{"2":{"20":1,"68":2}}],["nunjucks文档",{"2":{"100":1}}],["nunjucks是一款功能强大的模板引擎",{"2":{"100":1}}],["nunjucks",{"2":{"98":1,"100":2}}],["number",{"2":{"20":1}}],["n",{"2":{"63":2}}],["new",{"2":{"63":2}}],["needed",{"2":{"62":2}}],["next",{"2":{"24":4,"25":2}}],["npm",{"2":{"58":1,"59":1,"92":1}}],["name",{"0":{"36":1},"2":{"58":7,"63":6,"75":2,"76":2,"108":2}}],["not",{"2":{"68":2,"79":2}}],["notify",{"0":{"29":1},"2":{"68":4,"79":4}}],["normalize",{"2":{"64":2}}],["no",{"2":{"63":2,"68":4,"79":4,"92":1}}],["node",{"2":{"10":1,"58":4,"91":3}}],["地址",{"2":{"19":1}}],["指定任务输出路径",{"2":{"39":1}}],["指定任务入口文件",{"2":{"38":1}}],["指定开发服务器端口",{"2":{"20":1}}],["指定服务器应该监听哪个",{"2":{"19":1}}],["指定输出路径",{"2":{"7":1}}],["高效的同步与调试功能",{"2":{"18":1}}],["工具",{"2":{"18":1}}],["工具函数",{"2":{"16":1}}],["独有配置",{"2":{"17":4}}],["模板配置",{"2":{"102":1}}],["模板文件",{"2":{"102":1}}],["模板",{"2":{"100":1}}],["模板渲染",{"0":{"100":1},"1":{"101":1,"102":1},"2":{"98":1}}],["模块化",{"2":{"96":1}}],["模块化规范",{"2":{"15":1}}],["模式",{"0":{"85":1},"2":{"17":1}}],["情景配置",{"0":{"17":1}}],["这些模板引擎在过去都很流行",{"2":{"100":1}}],["这也意味着如果其中一个依赖需要特殊的",{"2":{"57":1}}],["这确保了最终包里",{"2":{"57":1}}],["这样它会根据源代码中出现的语言特性自动检测需要的",{"2":{"57":1}}],["这样不用",{"2":{"16":1}}],["这个值会被",{"2":{"56":1}}],["这里的",{"2":{"33":1}}],["这里",{"2":{"11":1,"12":1,"13":1,"14":1,"18":1,"34":1,"39":1,"40":1,"41":2,"42":2,"43":1,"44":1,"46":1,"47":1,"49":1,"52":1,"53":1,"56":1,"58":1,"91":1,"103":2,"114":1}}],["这里是全局配置",{"2":{"10":1}}],["另外你可以使用",{"2":{"16":1}}],["路径进行解析",{"2":{"15":1}}],["相对于",{"2":{"15":1}}],["相对于项目根目录",{"2":{"7":1}}],["命令创建新项目",{"2":{"91":1}}],["命令有一些可选项",{"2":{"63":1}}],["命令的缩写",{"2":{"59":1}}],["命令行界面",{"0":{"59":1,"92":1},"1":{"60":1,"61":1,"62":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":1,"77":1,"78":1,"79":1,"80":1,"81":1},"2":{"92":1}}],["命令行选项指定一个配置文件",{"2":{"15":1}}],["命令必须使用",{"2":{"58":1}}],["命令更改为",{"2":{"58":1}}],["命令来完成的",{"2":{"58":1}}],["命令",{"2":{"54":1,"59":2}}],["命令快速生成压缩包",{"2":{"49":1}}],["命令或者不同的",{"2":{"17":1}}],["命令构建后是否生成",{"2":{"9":1}}],["命令构建后生成的静态资源在它们的文件名中包含了",{"2":{"8":1}}],["项目中默认的",{"2":{"92":1}}],["项目",{"0":{"91":1}}],["项目目录结构",{"0":{"64":1}}],["项目配置文件仅支持",{"2":{"15":1}}],["项目根目录",{"2":{"15":1}}],["最后生成",{"2":{"112":1}}],["最后一项是打包输出的路径",{"2":{"106":1}}],["最基础的配置文件是这样的",{"2":{"15":1}}],["最小化混淆配置项",{"2":{"12":1}}],["最小化压缩配置项",{"2":{"11":1,"13":1}}],["和对象",{"2":{"109":1}}],["和为更好的缓存而做的自动的",{"2":{"71":1}}],["和",{"2":{"15":1,"16":1,"56":1,"57":1,"105":2,"108":1}}],["仅在",{"2":{"53":1}}],["仅对任务类型为",{"2":{"41":1}}],["仅仅是字符串的别名替换",{"2":{"33":1}}],["仅支持",{"2":{"15":1}}],["仅生成版本映射文件manifest",{"2":{"8":1}}],["的转译选项",{"2":{"113":1}}],["的使用相对复杂一些",{"2":{"102":1}}],["的内容压缩",{"2":{"98":1}}],["的版本",{"2":{"96":1}}],["的压缩",{"2":{"71":1}}],["的首尾字母组合而成",{"2":{"59":1}}],["的其他平台环境的部署包",{"2":{"58":1}}],["的目标中不需要",{"2":{"57":1}}],["的根目录",{"2":{"32":1}}],["的路径都保证共享",{"2":{"31":1}}],["的",{"2":{"31":1,"58":1,"77":1}}],["的本地开发服务器是基于",{"2":{"18":1}}],["的配合来实现智能提示",{"2":{"16":1}}],["的配置文件",{"2":{"15":1}}],["的安装提取到项目的依赖中",{"2":{"14":1}}],["配置自定义构建流程",{"2":{"58":1}}],["配置来自行调整",{"2":{"57":1}}],["配置来决定项目需要的",{"2":{"57":1}}],["配置请参见",{"2":{"53":1}}],["配置文件中设置路径别名",{"2":{"51":1}}],["配置项请点",{"2":{"114":1}}],["配置项来指定压缩选项",{"2":{"103":1}}],["配置项",{"2":{"42":2}}],["配置项的值设置为",{"2":{"14":1}}],["配置详情请参见",{"2":{"18":1}}],["配置智能提示",{"0":{"16":1}}],["配置选项",{"2":{"15":2}}],["配置",{"0":{"15":1},"1":{"16":1,"17":1},"2":{"39":1,"40":1,"43":1,"46":1,"47":2}}],["依赖",{"2":{"14":1,"87":1,"96":1}}],["依赖经常失败",{"2":{"14":1}}],["提供了终端里的",{"2":{"59":1}}],["提醒",{"2":{"14":1,"58":1,"63":1}}],["提示",{"2":{"10":1,"15":1}}],["git忽略",{"2":{"64":2}}],["gitignore",{"2":{"64":2}}],["gitee",{"2":{"63":3}}],["github",{"2":{"63":2}}],["git",{"2":{"63":9}}],["glob",{"2":{"31":7}}],["go",{"2":{"28":2}}],["google",{"2":{"27":2}}],["ghostmode",{"0":{"28":1},"2":{"28":4}}],["gulp",{"2":{"14":4,"87":1,"96":8,"100":5,"123":2}}],["gt",{"2":{"0":16,"17":2,"51":8,"52":1,"54":1,"58":15,"62":8,"63":4,"68":6,"72":4,"75":2,"79":6,"102":36}}],["javascript处理任务",{"2":{"126":1}}],["javascript语法转换",{"2":{"90":1}}],["javascript",{"2":{"12":1,"33":1,"56":1,"100":1,"113":1,"114":1}}],["jsexport",{"2":{"128":1}}],["jsdist",{"2":{"112":1}}],["jsdoc",{"2":{"16":2}}],["jsconst",{"2":{"96":1,"123":1}}],["js文件夹",{"2":{"64":2}}],["jsmodule",{"2":{"17":1}}],["jsminify",{"0":{"12":1}}],["jsimport",{"2":{"16":1}}],["jspipflow",{"2":{"15":1}}],["js",{"2":{"15":6,"16":1,"21":1,"23":1,"24":1,"25":1,"27":1,"28":1,"31":3,"51":1,"57":2,"58":1,"64":10,"68":1,"71":1,"91":1,"96":1,"98":1,"102":3,"103":1,"108":1,"110":3,"111":7,"112":14,"113":1}}],["js最小化混淆是基于",{"2":{"12":1}}],["json中的",{"2":{"87":1}}],["json",{"2":{"8":3,"14":1,"15":1,"51":3,"56":1,"58":2,"64":2,"92":1,"98":1}}],["详细配置请参见",{"2":{"11":1,"12":1,"13":1,"14":1,"58":1,"103":1}}],["插件文档",{"2":{"100":5}}],["插件在压缩图片过程中会自动过滤非图片文件",{"2":{"96":1}}],["插件安装依赖经常失败",{"2":{"96":1}}],["插件",{"2":{"11":1,"12":1,"13":1,"14":1,"103":1}}],["此选项配置后会覆盖",{"2":{"11":1,"12":1,"13":1,"14":1}}],["与",{"2":{"11":1,"12":1,"13":1}}],["highlighted",{"2":{"128":4}}],["highlighting",{"0":{"128":1},"2":{"128":2}}],["hits",{"2":{"24":2}}],["h1",{"2":{"102":4}}],["hbs",{"2":{"102":8}}],["hb",{"2":{"100":1}}],["hmr",{"2":{"68":2}}],["h",{"2":{"63":2,"68":2,"72":2,"76":2,"79":2}}],["head",{"2":{"102":4}}],["headers",{"2":{"79":2}}],["header",{"2":{"24":2,"102":10}}],["help",{"2":{"63":5,"68":6,"72":6,"76":6,"79":6,"92":1}}],["helppipflow",{"2":{"63":1}}],["hello",{"2":{"62":2,"102":2}}],["here",{"2":{"28":2}}],["handlebars文档",{"2":{"100":1}}],["handlebars是一种语法简洁的模板引擎",{"2":{"100":1}}],["handlebars",{"2":{"98":1,"100":1,"102":4}}],["handle",{"2":{"25":4}}],["hash",{"2":{"8":1,"52":1,"71":1,"98":1,"108":2}}],["http",{"2":{"24":4,"79":2}}],["https",{"0":{"21":1},"2":{"21":9,"68":2,"79":4}}],["html处理任务",{"2":{"126":1}}],["html的压缩是基于",{"2":{"103":1}}],["html内容中的以",{"2":{"99":1}}],["html模板渲染",{"2":{"90":1}}],["html模板引擎",{"2":{"41":1,"42":1}}],["html文件夹",{"2":{"64":2}}],["html压缩是基于",{"2":{"11":1}}],["htmlminifyoptions",{"2":{"11":1}}],["htmlminify",{"0":{"11":1},"2":{"103":1}}],["html",{"0":{"97":1},"1":{"98":1,"99":1,"100":1,"101":1,"102":1,"103":1},"2":{"10":1,"11":2,"23":2,"37":1,"41":2,"51":3,"54":1,"58":2,"62":2,"64":2,"71":1,"98":1,"102":13,"103":1,"123":4,"126":1}}],["hostname",{"2":{"68":2,"79":2}}],["host",{"0":{"19":1},"2":{"68":2,"79":4}}],["为生产环境构建产物",{"2":{"92":2}}],["为开发服务器配置",{"2":{"26":1}}],["为开发服务器配置自定义代理规则",{"2":{"24":1}}],["为本地主机开发启用",{"2":{"21":1}}],["为",{"2":{"10":1,"41":6,"58":1,"87":1}}],["⚠️",{"2":{"10":1}}],["quot",{"2":{"10":2,"21":12,"23":12,"24":8,"25":4,"32":2,"51":28,"57":2,"58":36,"63":4,"68":4,"72":4,"79":4,"92":36}}],["embedded",{"2":{"100":1}}],["ejs文档",{"2":{"100":1}}],["ejs",{"2":{"98":1,"100":4}}],["esmodule",{"2":{"96":1}}],["eslint配置",{"2":{"64":2}}],["eslintrc",{"2":{"64":2}}],["eslint忽略",{"2":{"64":2}}],["eslintignore",{"2":{"64":2}}],["every",{"2":{"79":2}}],["element",{"2":{"68":2,"79":2}}],["else",{"2":{"17":2}}],["each",{"2":{"28":2}}],["enter",{"2":{"62":2}}],["enable",{"2":{"21":4,"28":2,"68":4,"79":2}}],["env文件",{"0":{"84":1}}],["env=production",{"2":{"58":3}}],["envdir",{"0":{"34":1}}],["env",{"2":{"10":2,"34":1,"56":2,"57":1,"58":4,"64":2,"68":2,"72":2,"99":1}}],["export",{"2":{"128":3}}],["exports",{"2":{"15":2,"16":4,"17":2,"96":2,"102":2,"123":2}}],["extensions",{"2":{"127":1,"130":1}}],["extension",{"0":{"127":1},"1":{"128":1,"129":1,"130":1}}],["example",{"2":{"75":2,"105":2}}],["examples",{"0":{"0":1,"127":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"128":1,"129":1,"130":1}}],["exists",{"2":{"63":4}}],["将构建后通过生成的",{"2":{"98":1}}],["将从输出路径中删除",{"2":{"31":1}}],["将",{"2":{"14":1,"32":1,"105":4}}],["将会创建一个独立的",{"2":{"9":1}}],["将生成文件名哈希和版本映射文件manifest",{"2":{"8":1}}],["或者调整",{"2":{"113":1}}],["或者",{"2":{"67":2}}],["或者超时失败",{"2":{"63":1}}],["或者你压根不想引入该资源",{"2":{"52":1}}],["或",{"2":{"8":1,"17":1,"43":1,"92":1}}],["时",{"2":{"8":3,"15":1,"41":3}}],["值为",{"2":{"8":3}}],["|",{"2":{"8":2,"11":1,"12":1,"13":1,"14":1,"23":2,"24":1,"25":1,"27":1,"32":1,"37":9,"38":2,"43":1,"45":2}}],["默认带有",{"2":{"71":1}}],["默认入口页面",{"2":{"64":2}}],["默认情况下",{"2":{"54":1,"57":2}}],["默认为",{"2":{"36":1,"70":1}}],["默认",{"2":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"31":1,"32":1,"34":1,"36":1,"39":1,"40":1,"43":1,"45":1,"46":1,"48":1,"49":1}}],["类型的组合任务",{"2":{"58":1}}],["类型",{"2":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"16":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"31":1,"32":1,"33":1,"34":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"48":1,"49":1}}],["l",{"2":{"76":2}}],["lodash",{"2":{"100":1}}],["local",{"2":{"68":2,"79":4}}],["localhost",{"2":{"19":1,"24":4}}],["logo",{"2":{"64":4}}],["loading",{"2":{"63":1}}],["like",{"2":{"128":1}}],["line",{"2":{"79":2,"128":1}}],["lint",{"2":{"75":4,"92":4}}],["linter",{"2":{"62":2}}],["listpipflow",{"2":{"75":1}}],["list",{"2":{"5":1,"75":1,"76":6,"130":1}}],["lt",{"2":{"0":16,"51":8,"52":1,"54":1,"58":15,"62":8,"63":4,"68":6,"72":4,"75":2,"79":6,"96":1,"102":34}}],["on",{"2":{"68":4,"79":6}}],["one",{"2":{"28":2}}],["overwrite",{"2":{"63":2}}],["or",{"2":{"28":2}}],["object",{"2":{"23":1,"38":1,"42":1}}],["open",{"0":{"22":1},"2":{"68":8,"79":8,"92":1}}],["options",{"0":{"106":1},"2":{"14":2,"63":4,"68":4,"72":4,"76":4,"79":4,"96":2,"105":2}}],["output",{"2":{"128":1,"129":1}}],["outdir",{"0":{"7":1},"2":{"32":1,"39":1}}],["out",{"2":{"5":1,"130":1}}],["off",{"2":{"28":2}}],["of",{"2":{"0":2,"5":1,"127":1,"130":1}}],["run",{"2":{"58":1,"76":2}}],["runtime",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1},"2":{"0":1,"5":1}}],["robots",{"2":{"52":1,"64":2}}],["root",{"2":{"34":1,"52":1,"54":1,"79":2}}],["route",{"2":{"25":4}}],["replace",{"2":{"123":6}}],["repo=gitee",{"2":{"63":1}}],["repository",{"2":{"63":2}}],["repo",{"2":{"63":2}}],["remtopx",{"0":{"119":1}}],["remote",{"2":{"63":2}}],["removeemptyattributes",{"2":{"103":2}}],["removecomments",{"2":{"103":2}}],["remove",{"2":{"37":1,"126":1}}],["ready",{"2":{"72":2}}],["readme",{"2":{"64":2}}],["require",{"2":{"96":2,"123":4}}],["requests",{"2":{"25":2}}],["request",{"2":{"24":2,"79":2}}],["req",{"2":{"24":4,"25":2}}],["res",{"2":{"24":4,"25":2}}],["response",{"2":{"24":4}}],["results",{"0":{"1":1},"1":{"2":1,"3":1,"4":1},"2":{"0":2}}],["returned",{"2":{"24":2}}],["return",{"2":{"17":4,"128":4}}],["=7",{"2":{"96":1}}],["===",{"2":{"10":1,"17":4}}],["=",{"2":{"0":2,"15":2,"16":4,"17":4,"96":4,"102":2,"123":6}}],["favicon",{"2":{"64":2,"105":2}}],["false",{"2":{"8":1,"10":1,"14":1,"21":1,"24":1,"25":1,"26":1,"28":5,"32":2,"43":1,"45":1,"46":1,"48":1,"68":2,"79":2,"87":1}}],["fetching",{"2":{"63":2}}],["features",{"2":{"62":2,"128":1}}],["feature",{"2":{"28":2}}],["f",{"2":{"63":2,"79":2}}],["foobar",{"2":{"24":2}}],["force",{"2":{"63":2}}],["formatter",{"2":{"62":1}}],["formatterpipflow",{"2":{"62":1}}],["forms",{"2":{"28":2}}],["for",{"2":{"0":1,"5":1,"21":2,"62":2,"63":2,"68":6,"72":2,"76":2,"79":6,"130":1}}],["function",{"2":{"24":6,"25":4,"44":1}}],["full",{"2":{"5":1,"130":1}}],["file",{"2":{"68":2,"71":1,"72":2,"79":4}}],["filename",{"0":{"49":1},"2":{"23":2,"79":2}}],["filehash",{"0":{"8":1,"45":1},"2":{"53":1}}],["files",{"2":{"0":1,"23":4,"79":4}}],["frontmatter",{"0":{"4":1},"2":{"0":6,"4":1}}],["from",{"2":{"0":2,"16":2,"23":4,"24":2}}],["v0",{"2":{"62":2}}],["views",{"2":{"64":2,"102":4}}],["vite",{"2":{"33":1}}],["vitepress",{"2":{"0":3,"127":1,"128":1}}],["vinyl",{"2":{"31":2,"40":1}}],["vue",{"2":{"0":1}}],["msg",{"2":{"128":4}}],["mjs",{"2":{"110":2}}],["mustache",{"2":{"100":1}}],["mpmrc",{"2":{"87":1}}],["merge",{"2":{"63":4}}],["middleware",{"0":{"25":1},"2":{"24":2,"25":4}}],["minifier",{"2":{"11":1,"98":1,"103":1}}],["minifycss",{"2":{"103":2}}],["minifyjs",{"2":{"103":2}}],["minifyoptions",{"2":{"43":1}}],["minify",{"0":{"10":1,"43":1},"2":{"10":1,"11":2,"12":2,"13":2,"14":1,"43":1}}],["my",{"2":{"15":2,"63":1,"91":2}}],["modify",{"2":{"24":6}}],["mode=staging",{"2":{"58":1}}],["mode=stagingcross",{"2":{"58":1}}],["mode=production",{"2":{"58":4}}],["mode=productionpipflow",{"2":{"58":1}}],["mode",{"2":{"17":2,"21":4,"58":1,"68":6,"70":1,"72":6}}],["module",{"2":{"15":2,"16":4,"17":1,"96":2,"102":2,"123":2}}],["more",{"0":{"5":1,"130":1},"2":{"79":2}}],["markdown",{"0":{"127":1},"1":{"128":1,"129":1,"130":1},"2":{"127":1,"130":1}}],["map",{"2":{"9":2,"46":1,"108":1}}],["manifest",{"2":{"8":1,"98":1}}],["main",{"2":{"0":1}}],["md",{"2":{"0":2,"64":2,"129":1}}],["is",{"2":{"129":15}}],["io",{"2":{"79":2}}],["ico",{"2":{"64":2,"105":2}}],["icon",{"2":{"52":2}}],["i",{"2":{"62":2}}],["ip",{"2":{"19":1}}],["if",{"2":{"17":2,"63":4}}],["ide",{"2":{"16":1}}],["img",{"2":{"51":8}}],["images",{"2":{"51":4}}],["imagemin",{"2":{"14":4,"87":1,"96":12}}],["imageminify",{"0":{"14":1},"2":{"14":1,"87":1}}],["image",{"2":{"10":1,"37":1,"62":2,"126":1}}],["import",{"2":{"0":2,"16":3}}],["includes",{"2":{"102":4}}],["install",{"2":{"96":2}}],["infopipflow",{"2":{"81":1}}],["info",{"0":{"80":1},"1":{"81":1},"2":{"81":1,"129":6}}],["initialization",{"2":{"63":2}}],["invert",{"2":{"62":2}}],["input",{"0":{"38":1},"2":{"102":2,"110":2,"111":2,"112":2,"123":2,"128":1,"129":1}}],["individually",{"2":{"28":2}}],["index",{"2":{"23":6,"36":1,"54":1,"64":6,"68":4,"79":4,"102":2,"112":10}}],["in",{"2":{"0":1,"28":2,"68":4,"72":2,"79":2,"127":1}}],["it",{"2":{"0":1,"24":4,"63":4}}],["cnpm",{"2":{"87":1}}],["clone",{"2":{"63":5}}],["clicks",{"2":{"28":2}}],["cli",{"2":{"20":1,"57":1,"59":2,"62":2,"63":2,"92":1}}],["c",{"2":{"63":2}}],["cross",{"2":{"58":2}}],["create",{"0":{"61":1},"1":{"62":1,"63":1},"2":{"56":1,"59":1,"62":2,"63":8,"91":3}}],["crt",{"2":{"21":2}}],["changes",{"2":{"79":2}}],["chrome",{"2":{"27":2}}],["check",{"2":{"5":1,"62":2,"130":1}}],["cert",{"2":{"21":2}}],["certificates",{"2":{"21":2}}],["custom",{"0":{"129":1},"2":{"21":6}}],["current",{"2":{"0":1,"68":2}}],["cwd",{"2":{"15":1}}],["collapsebooleanattributes",{"2":{"103":2}}],["collapsewhitespace",{"2":{"103":2}}],["compileoptions",{"2":{"102":2}}],["compileroptions",{"0":{"42":1}}],["compiler",{"0":{"41":1},"2":{"41":3,"102":2}}],["compress",{"2":{"62":2}}],["compose",{"2":{"58":8,"126":1}}],["comm",{"2":{"112":4}}],["command➜",{"2":{"68":1,"72":1,"76":1,"79":1}}],["commandusage",{"2":{"63":1}}],["command",{"2":{"17":6,"63":1,"68":1,"72":1,"76":1,"79":3}}],["commonjs",{"2":{"15":1}}],["copy",{"2":{"37":1,"58":2,"126":1}}],["cors",{"0":{"26":1},"2":{"26":1,"68":4,"79":2}}],["containers",{"0":{"129":1}}],["control",{"2":{"79":2}}],["configuration",{"2":{"68":2,"72":2}}],["config",{"2":{"15":8,"51":3,"57":2,"58":1,"64":6,"68":3,"72":2,"96":1,"98":1,"102":2,"108":1,"113":1}}],["const",{"2":{"0":2,"96":1,"123":3}}],["css处理任务",{"2":{"126":1}}],["css预处理",{"2":{"90":1}}],["css预处理器",{"2":{"41":1,"42":1}}],["css文件夹",{"2":{"64":2}}],["cssnano",{"2":{"13":1}}],["cssnanooptions",{"2":{"13":1}}],["css压缩是基于",{"2":{"13":1}}],["css",{"0":{"117":1},"2":{"13":1,"33":1,"51":2,"56":1,"62":2,"64":2,"71":1}}],["cssminify",{"0":{"13":1}}],["can",{"2":{"0":1,"28":2}}],["dangerous",{"2":{"129":3}}],["danger",{"2":{"129":3}}],["data",{"0":{"2":1,"3":1},"2":{"0":5,"102":2,"128":4}}],["d",{"2":{"96":2}}],["docs",{"2":{"79":2}}],["documentation",{"2":{"5":1,"130":1}}],["display",{"2":{"63":2,"68":2,"72":2,"76":2,"79":2}}],["disable",{"2":{"28":2,"68":2,"79":2}}],["dist",{"2":{"7":1,"9":1,"14":1,"23":1,"39":1,"71":1,"105":6,"112":5}}],["directories",{"2":{"24":2}}],["directory",{"2":{"23":4,"63":4,"72":2}}],["details",{"2":{"129":6}}],["description",{"2":{"102":4}}],["dest",{"0":{"39":1},"2":{"31":1,"58":2}}],["del",{"2":{"58":2}}],["demo",{"2":{"51":2}}],["demonstrates",{"2":{"0":1,"127":1}}],["default",{"2":{"27":1,"63":2,"68":6,"72":2,"79":6,"128":4}}],["defineconfig",{"2":{"16":5,"17":2,"123":4}}],["dev`",{"2":{"92":2}}],["dev`或`pw",{"2":{"92":2}}],["development",{"2":{"68":6,"79":2}}],["dev|serve",{"2":{"68":2}}],["devpipflow",{"2":{"67":1}}],["dev",{"0":{"66":1},"1":{"67":1,"68":1},"2":{"17":3,"24":2,"58":4,"59":1,"67":3,"68":4,"92":5}}],["syntax",{"0":{"128":1},"2":{"128":1}}],["sync",{"2":{"79":2}}],["shiki",{"2":{"128":1}}],["shellnpm",{"2":{"96":1}}],["should",{"2":{"79":2}}],["sass",{"2":{"90":1}}],["s3",{"2":{"88":1}}],["ssl",{"2":{"68":2,"79":2}}],["scss",{"2":{"64":2,"90":1}}],["scroll",{"2":{"28":2}}],["scripts",{"2":{"58":3,"64":2,"92":3,"110":2,"111":6,"112":14}}],["script",{"0":{"107":1},"1":{"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1},"2":{"0":4,"10":1,"37":1,"41":2,"58":2,"126":1}}],["skip",{"2":{"63":2}}],["svg",{"2":{"62":2,"64":2}}],["space",{"2":{"62":2}}],["specify",{"2":{"68":8,"72":2,"79":6}}],["specific",{"2":{"23":2,"76":2}}],["special",{"2":{"24":2}}],["src=",{"2":{"51":4}}],["src",{"2":{"31":4,"40":1,"64":2,"102":8,"105":2,"110":2,"111":6,"112":8,"123":2}}],["switch",{"2":{"28":2}}],["s",{"2":{"24":2,"79":2}}],["sub",{"2":{"24":2}}],["snippet",{"2":{"21":2}}],["see",{"2":{"79":2}}],["selection",{"2":{"62":2}}],["select",{"2":{"62":2}}],["service",{"2":{"79":2}}],["serverpipflow",{"2":{"78":1}}],["server",{"0":{"19":1,"20":1,"21":1,"22":1,"23":2,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"77":1},"1":{"78":1,"79":1},"2":{"21":2,"23":4,"24":6,"37":1,"58":2,"68":5,"78":1,"79":8,"126":1}}],["serve",{"2":{"17":3,"23":4,"48":1}}],["series",{"2":{"58":2}}],["setheader",{"2":{"24":2}}],["setup",{"2":{"0":2}}],["stylus",{"2":{"90":1}}],["styles",{"2":{"51":2,"64":2,"123":4}}],["style",{"0":{"115":1},"1":{"116":1,"117":1,"118":1,"119":1,"120":1,"121":1},"2":{"10":1,"37":1,"41":2,"58":2,"126":1}}],["startup",{"2":{"68":4}}],["start",{"2":{"68":2,"79":6}}],["static",{"2":{"10":1,"37":1,"58":2,"123":2,"126":1}}],["string",{"2":{"7":1,"9":1,"19":1,"23":1,"24":1,"27":2,"31":1,"32":1,"33":2,"34":1,"36":1,"37":1,"38":2,"39":1,"40":1,"41":1,"47":2,"49":1}}],["source",{"2":{"9":2,"46":1,"63":2,"105":2,"108":1}}],["sourcemap和文件指纹",{"2":{"90":1}}],["sourcemap",{"0":{"9":1,"46":1},"2":{"46":1}}],["some",{"2":{"0":1,"127":1}}],["site",{"2":{"0":1}}],["art",{"2":{"98":1,"100":4}}],["archive",{"0":{"105":1},"1":{"106":1},"2":{"37":1,"49":2,"126":1}}],["additional",{"2":{"128":1}}],["add",{"2":{"79":2}}],["as",{"2":{"79":2}}],["assets",{"2":{"51":4,"64":2,"96":2}}],["amp",{"2":{"62":2}}],["alias",{"0":{"33":1,"47":1},"2":{"33":2,"47":2,"51":2,"98":1,"108":1}}],["all",{"2":{"28":2,"62":2,"76":4}}],["at",{"2":{"25":2}}],["an",{"2":{"129":3}}],["any",{"2":{"25":2}}],["and",{"2":{"0":2,"24":2,"62":2}}],["after",{"2":{"24":2}}],["a",{"2":{"23":2,"62":2,"63":2,"72":2,"76":2,"79":6,"129":12}}],["application",{"2":{"24":2}}],["app",{"2":{"21":2,"23":8,"63":2}}],["apis",{"2":{"0":1,"5":1}}],["api",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1},"2":{"0":1,"25":4}}],["access",{"2":{"0":1,"79":2}}],["tip",{"2":{"129":6}}],["title",{"2":{"102":8}}],["tpl",{"2":{"100":1}}],["t",{"2":{"76":2}}],["template文档",{"2":{"100":1}}],["template是一种快速",{"2":{"100":1}}],["template",{"2":{"98":1,"100":1}}],["templater",{"2":{"62":2}}],["terserminifyoptions",{"2":{"12":1}}],["terser",{"0":{"114":1},"2":{"11":1,"12":1,"98":1,"103":1,"108":1,"114":2}}],["task",{"0":{"74":1},"1":{"75":1,"76":1},"2":{"58":8,"75":8,"76":8,"92":4}}],["tasks",{"2":{"58":1,"76":6,"96":2,"123":2}}],["target",{"2":{"24":6,"63":4}}],["txt",{"2":{"52":1,"64":2}}],["typescript",{"2":{"16":1}}],["type",{"0":{"37":1},"2":{"10":1,"16":2,"36":1,"41":3,"96":2,"102":2,"123":2}}],["true",{"2":{"8":1,"9":1,"21":2,"22":1,"28":4,"29":1,"103":12}}],["toggle",{"2":{"62":2}}],["to",{"2":{"0":1,"21":4,"62":8,"79":8}}],["that",{"2":{"68":2}}],["them",{"2":{"28":2}}],["theme",{"0":{"2":1},"2":{"0":7,"2":1}}],["the",{"2":{"0":3,"5":2,"23":4,"24":8,"62":2,"68":8,"72":4,"79":6,"127":1,"130":2}}],["this",{"2":{"0":1,"127":1,"129":15}}],["block",{"2":{"129":3}}],["blob",{"2":{"31":1}}],["built",{"2":{"127":1}}],["buildpipflow",{"2":{"71":1}}],["build",{"0":{"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"70":1},"1":{"71":1,"72":1},"2":{"8":1,"9":1,"11":2,"12":2,"13":2,"14":1,"17":5,"39":1,"43":1,"46":1,"53":3,"54":1,"58":19,"71":1,"72":4,"92":4,"103":1}}],["bundle",{"2":{"72":2}}],["background",{"2":{"51":4}}],["babel转译",{"2":{"108":1}}],["babel配置",{"2":{"64":2}}],["babel",{"0":{"113":1},"2":{"41":1,"56":1,"57":4,"62":2,"64":2,"113":3}}],["bash➜",{"2":{"68":1,"72":1,"76":1,"79":1}}],["bashusage",{"2":{"63":1}}],["bashpipflow",{"2":{"15":1,"58":1,"62":2,"63":1,"67":1,"71":1,"75":1,"78":1,"81":1,"91":1,"105":1}}],["base",{"0":{"31":1,"40":1},"2":{"31":7,"40":2,"79":2,"111":2,"112":2}}],["basedir",{"2":{"23":2}}],["browserslistrc",{"2":{"56":1,"64":2,"113":1}}],["browserslist",{"0":{"56":1},"2":{"56":1,"57":2}}],["browsersync",{"2":{"18":1,"66":1,"77":1,"79":2}}],["browser",{"0":{"27":1},"2":{"27":2,"68":6,"79":8}}],["box",{"2":{"129":3}}],["body",{"2":{"102":4}}],["boolean",{"2":{"8":1,"10":1,"11":1,"12":1,"13":1,"14":1,"21":1,"22":1,"23":1,"26":1,"28":1,"29":1,"43":1,"45":1,"46":1,"48":1}}],["both",{"2":{"0":1}}],["before",{"2":{"24":2}}],["be",{"2":{"0":1,"79":2}}],["by",{"2":{"0":1,"63":2,"127":1,"128":1}}],["pxtoview",{"0":{"121":1}}],["pxtorem",{"0":{"120":1}}],["p",{"2":{"102":4}}],["pug文档",{"2":{"100":1}}],["pug是一种高度可读性的模板引擎",{"2":{"100":1}}],["pug",{"2":{"98":1,"100":2}}],["public",{"0":{"52":1},"2":{"32":1,"52":4,"58":2,"64":2,"105":2}}],["publicdir",{"0":{"32":1},"2":{"32":1,"52":1}}],["pipe",{"2":{"90":1}}],["pipflow内置的模板引擎中",{"2":{"102":1}}],["pipflow的主要功能包括",{"2":{"90":1}}],["pipflow配置",{"2":{"64":2}}],["pipflow",{"0":{"15":1,"61":1,"66":1,"70":1,"74":1,"77":1,"80":1,"91":1},"1":{"16":1,"17":1,"62":1,"63":1,"67":1,"68":1,"71":1,"72":1,"75":1,"76":1,"78":1,"79":1,"81":1},"2":{"14":1,"15":6,"16":5,"18":1,"49":1,"51":3,"54":1,"56":1,"57":1,"58":12,"59":6,"63":6,"64":2,"68":5,"72":4,"75":4,"76":4,"79":2,"90":1,"91":1,"92":12,"96":2,"98":1,"100":1,"102":6,"105":4,"108":1,"123":2,"126":1}}],["pw",{"2":{"59":1,"67":2,"79":2}}],["powered",{"2":{"63":2,"128":1}}],["polyfill",{"0":{"57":1},"2":{"57":7}}],["postcss集成",{"0":{"118":1},"1":{"119":1,"120":1,"121":1}}],["postcss配置",{"2":{"64":2}}],["postcss",{"2":{"56":1,"64":2}}],["port",{"0":{"20":1},"2":{"20":1,"68":6,"79":6,"92":1}}],["png",{"2":{"51":4,"52":2,"64":2}}],["per",{"2":{"25":2}}],["partials",{"2":{"102":2}}],["parallel",{"2":{"58":6}}],["parent",{"2":{"31":2}}],["pack",{"2":{"49":1,"105":6}}],["package",{"2":{"14":1,"56":1,"58":1,"64":2}}],["paths",{"2":{"79":2}}],["path",{"2":{"21":4,"68":4,"72":4,"79":2}}],["pages",{"2":{"111":2,"112":6}}],["page",{"0":{"3":1,"4":1},"2":{"0":11,"3":1,"68":2,"79":2,"127":1}}],["plugin",{"2":{"14":1}}],["plugins",{"0":{"44":1},"2":{"14":1,"96":2,"98":1,"102":2,"108":1,"123":2}}],["provides",{"2":{"128":1}}],["provided",{"2":{"0":1,"127":1}}],["produces",{"2":{"72":2}}],["production",{"2":{"10":1,"58":2,"70":1,"72":4}}],["proceed",{"2":{"62":2}}],["processors",{"2":{"62":2}}],["process",{"2":{"10":1,"99":1}}],["projectpipflow",{"2":{"91":1}}],["project",{"2":{"62":2,"63":3,"68":2,"91":1}}],["proxyres",{"2":{"24":4}}],["proxyreq",{"2":{"24":6}}],["proxyoptions",{"2":{"24":1}}],["proxy",{"0":{"24":1},"2":{"24":10}}],["prettier配置",{"2":{"64":2}}],["prettierrc",{"2":{"64":2}}],["press",{"2":{"62":2}}],["preset",{"2":{"56":2,"57":1,"63":2}}],["preview",{"2":{"58":4,"79":2,"92":4}}],["pre",{"2":{"0":12,"62":2}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/VPLocalSearchBox.5904400c.js b/assets/chunks/VPLocalSearchBox.5904400c.js deleted file mode 100644 index e28ab95..0000000 --- a/assets/chunks/VPLocalSearchBox.5904400c.js +++ /dev/null @@ -1,7 +0,0 @@ -import{V as pt,h as ie,x as Be,af as kt,ag as Nt,d as It,E as be,ah as et,g as we,ai as Dt,aj as _t,y as Ot,ak as Rt,j as De,O as he,S as xe,al as Mt,am as Lt,W as Pt,s as zt,an as Bt,o as X,b as Vt,k as S,$ as $t,l as U,ao as Wt,ap as jt,aq as Kt,c as te,n as tt,e as Fe,D as rt,F as at,a as de,t as ve,ar as Jt,p as Ut,m as Ht,as as nt,at as Gt,a4 as qt,aa as Qt,_ as Yt}from"./framework.38a791dd.js";import{u as Zt,c as Xt}from"./theme.058d283b.js";const er={root:()=>pt(()=>import("./@localSearchIndexroot.d09a9331.js"),[])};/*! -* tabbable 6.2.0 -* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE -*/var yt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ae=yt.join(","),mt=typeof Element>"u",se=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ce=!mt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},Te=function o(e,t){var r;t===void 0&&(t=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),a=n===""||n==="true",i=a||t&&e&&o(e.parentNode);return i},tr=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},gt=function(e,t,r){if(Te(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ae));return t&&se.call(e,Ae)&&n.unshift(e),n=n.filter(r),n},bt=function o(e,t,r){for(var n=[],a=Array.from(e);a.length;){var i=a.shift();if(!Te(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var d=se.call(i,Ae);d&&r.filter(i)&&(t||!e.includes(i))&&n.push(i);var h=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!Te(h,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(h&&v){var m=o(h===!0?i.children:h.children,!0,r);r.flatten?n.push.apply(n,m):n.push({scopeParent:i,candidates:m})}else a.unshift.apply(a,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},oe=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||tr(e))&&!wt(e)?0:e.tabIndex},rr=function(e,t){var r=oe(e);return r<0&&t&&!wt(e)?0:r},ar=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},nr=function(e){return xt(e)&&e.type==="hidden"},ir=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},or=function(e,t){for(var r=0;rsummary:first-of-type"),i=a?e.parentElement:e;if(se.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof n=="function"){for(var s=e;e;){var u=e.parentElement,l=Ce(e);if(u&&!u.shadowRoot&&n(u)===!0)return it(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(cr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return it(e);return!1},hr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},vr=function o(e){var t=[],r=[];return e.forEach(function(n,a){var i=!!n.scopeParent,s=i?n.scopeParent:n,u=rr(s,i),l=i?o(n.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:a,tabIndex:u,item:n,isScope:i,content:l})}),r.sort(ar).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(t)},pr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:Ve.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:dr}):r=gt(e,t.includeContainer,Ve.bind(null,t)),vr(r)},yr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:ke.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=gt(e,t.includeContainer,ke.bind(null,t)),r},ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return se.call(e,Ae)===!1?!1:Ve(t,e)},mr=yt.concat("iframe").join(","),_e=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return se.call(e,mr)===!1?!1:ke(t,e)};/*! -* focus-trap 7.5.4 -* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE -*/function ot(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function st(o){for(var e=1;e0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},xr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Fr=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},me=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Er=function(e){return me(e)&&!e.shiftKey},Sr=function(e){return me(e)&&e.shiftKey},lt=function(e){return setTimeout(e,0)},ct=function(e,t){var r=-1;return e.every(function(n,a){return t(n)?(r=a,!1):!0}),r},pe=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?p-1:0),k=1;k=0)c=r.activeElement;else{var f=i.tabbableGroups[0],p=f&&f.firstTabbableNode;c=p||d("fallbackFocus")}if(!c)throw new Error("Your focus-trap needs to have at least one focusable element");return c},v=function(){if(i.containerGroups=i.containers.map(function(c){var f=pr(c,a.tabbableOptions),p=yr(c,a.tabbableOptions),N=f.length>0?f[0]:void 0,k=f.length>0?f[f.length-1]:void 0,M=p.find(function(w){return ue(w)}),P=p.slice().reverse().find(function(w){return ue(w)}),y=!!f.find(function(w){return oe(w)>0});return{container:c,tabbableNodes:f,focusableNodes:p,posTabIndexesFound:y,firstTabbableNode:N,lastTabbableNode:k,firstDomTabbableNode:M,lastDomTabbableNode:P,nextTabbableNode:function(z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=f.indexOf(z);return j<0?G?p.slice(p.indexOf(z)+1).find(function(K){return ue(K)}):p.slice(0,p.indexOf(z)).reverse().find(function(K){return ue(K)}):f[j+(G?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(c){return c.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(c){return c.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},m=function F(c){var f=c.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?F(f.shadowRoot):f},g=function F(c){if(c!==!1&&c!==m(document)){if(!c||!c.focus){F(h());return}c.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=c,xr(c)&&c.select()}},b=function(c){var f=d("setReturnFocus",c);return f||(f===!1?!1:c)},x=function(c){var f=c.target,p=c.event,N=c.isBackward,k=N===void 0?!1:N;f=f||Ee(p),v();var M=null;if(i.tabbableGroups.length>0){var P=l(f,p),y=P>=0?i.containerGroups[P]:void 0;if(P<0)k?M=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:M=i.tabbableGroups[0].firstTabbableNode;else if(k){var w=ct(i.tabbableGroups,function(J){var q=J.firstTabbableNode;return f===q});if(w<0&&(y.container===f||_e(f,a.tabbableOptions)&&!ue(f,a.tabbableOptions)&&!y.nextTabbableNode(f,!1))&&(w=P),w>=0){var z=w===0?i.tabbableGroups.length-1:w-1,G=i.tabbableGroups[z];M=oe(f)>=0?G.lastTabbableNode:G.lastDomTabbableNode}else me(p)||(M=y.nextTabbableNode(f,!1))}else{var j=ct(i.tabbableGroups,function(J){var q=J.lastTabbableNode;return f===q});if(j<0&&(y.container===f||_e(f,a.tabbableOptions)&&!ue(f,a.tabbableOptions)&&!y.nextTabbableNode(f))&&(j=P),j>=0){var K=j===i.tabbableGroups.length-1?0:j+1,V=i.tabbableGroups[K];M=oe(f)>=0?V.firstTabbableNode:V.firstDomTabbableNode}else me(p)||(M=y.nextTabbableNode(f))}}else M=d("fallbackFocus");return M},C=function(c){var f=Ee(c);if(!(l(f,c)>=0)){if(pe(a.clickOutsideDeactivates,c)){s.deactivate({returnFocus:a.returnFocusOnDeactivate});return}pe(a.allowOutsideClick,c)||c.preventDefault()}},T=function(c){var f=Ee(c),p=l(f,c)>=0;if(p||f instanceof Document)p&&(i.mostRecentlyFocusedNode=f);else{c.stopImmediatePropagation();var N,k=!0;if(i.mostRecentlyFocusedNode)if(oe(i.mostRecentlyFocusedNode)>0){var M=l(i.mostRecentlyFocusedNode),P=i.containerGroups[M].tabbableNodes;if(P.length>0){var y=P.findIndex(function(w){return w===i.mostRecentlyFocusedNode});y>=0&&(a.isKeyForward(i.recentNavEvent)?y+1=0&&(N=P[y-1],k=!1))}}else i.containerGroups.some(function(w){return w.tabbableNodes.some(function(z){return oe(z)>0})})||(k=!1);else k=!1;k&&(N=x({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),g(N||i.mostRecentlyFocusedNode||h())}i.recentNavEvent=void 0},A=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=c;var p=x({event:c,isBackward:f});p&&(me(c)&&c.preventDefault(),g(p))},L=function(c){if(Fr(c)&&pe(a.escapeDeactivates,c)!==!1){c.preventDefault(),s.deactivate();return}(a.isKeyForward(c)||a.isKeyBackward(c))&&A(c,a.isKeyBackward(c))},O=function(c){var f=Ee(c);l(f,c)>=0||pe(a.clickOutsideDeactivates,c)||pe(a.allowOutsideClick,c)||(c.preventDefault(),c.stopImmediatePropagation())},B=function(){if(i.active)return ut.activateTrap(n,s),i.delayInitialFocusTimer=a.delayInitialFocus?lt(function(){g(h())}):g(h()),r.addEventListener("focusin",T,!0),r.addEventListener("mousedown",C,{capture:!0,passive:!1}),r.addEventListener("touchstart",C,{capture:!0,passive:!1}),r.addEventListener("click",O,{capture:!0,passive:!1}),r.addEventListener("keydown",L,{capture:!0,passive:!1}),s},E=function(){if(i.active)return r.removeEventListener("focusin",T,!0),r.removeEventListener("mousedown",C,!0),r.removeEventListener("touchstart",C,!0),r.removeEventListener("click",O,!0),r.removeEventListener("keydown",L,!0),s},I=function(c){var f=c.some(function(p){var N=Array.from(p.removedNodes);return N.some(function(k){return k===i.mostRecentlyFocusedNode})});f&&g(h())},_=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(I):void 0,R=function(){_&&(_.disconnect(),i.active&&!i.paused&&i.containers.map(function(c){_.observe(c,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(c){if(i.active)return this;var f=u(c,"onActivate"),p=u(c,"onPostActivate"),N=u(c,"checkCanFocusTrap");N||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,f==null||f();var k=function(){N&&v(),B(),R(),p==null||p()};return N?(N(i.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(c){if(!i.active)return this;var f=st({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},c);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,E(),i.active=!1,i.paused=!1,R(),ut.deactivateTrap(n,s);var p=u(f,"onDeactivate"),N=u(f,"onPostDeactivate"),k=u(f,"checkCanReturnFocus"),M=u(f,"returnFocus","returnFocusOnDeactivate");p==null||p();var P=function(){lt(function(){M&&g(b(i.nodeFocusedBeforeActivation)),N==null||N()})};return M&&k?(k(b(i.nodeFocusedBeforeActivation)).then(P,P),this):(P(),this)},pause:function(c){if(i.paused||!i.active)return this;var f=u(c,"onPause"),p=u(c,"onPostPause");return i.paused=!0,f==null||f(),E(),R(),p==null||p(),this},unpause:function(c){if(!i.paused||!i.active)return this;var f=u(c,"onUnpause"),p=u(c,"onPostUnpause");return i.paused=!1,f==null||f(),v(),B(),R(),p==null||p(),this},updateContainerElements:function(c){var f=[].concat(c).filter(Boolean);return i.containers=f.map(function(p){return typeof p=="string"?r.querySelector(p):p}),i.active&&v(),R(),this}},s.updateContainerElements(e),s};function Tr(o,e={}){let t;const{immediate:r,...n}=e,a=ie(!1),i=ie(!1),s=h=>t&&t.activate(h),u=h=>t&&t.deactivate(h),l=()=>{t&&(t.pause(),i.value=!0)},d=()=>{t&&(t.unpause(),i.value=!1)};return Be(()=>kt(o),h=>{h&&(t=Cr(h,{...n,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),Nt(()=>u()),{hasFocus:a,isPaused:i,activate:s,deactivate:u,pause:l,unpause:d}}class ce{constructor(e,t=!0,r=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=n}static matches(e,t){const r=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return r.every(i=>n.call(e,i)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const n=t.filter(a=>a.contains(r)).length>0;t.indexOf(r)===-1&&!n&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let n;try{const a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{r()}n&&t(n)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let n=!1,a=null;const i=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,n=>{r++,this.waitForIframes(n.querySelector("html"),()=>{--r||t()})},n=>{n||t()})}forEachIframe(e,t,r,n=()=>{}){let a=e.querySelectorAll("iframe"),i=a.length,s=0;a=Array.prototype.slice.call(a);const u=()=>{--i<=0&&n(s)};i||u(),a.forEach(l=>{ce.matches(l,this.exclude)?u():this.onIframeReady(l,d=>{t(l)&&(s++,r(d)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const n=e.compareDocumentPosition(r),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,n){let a=!1,i=!1;return n.forEach((s,u)=>{s.val===r&&(a=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(a===!1&&!i?n.push({val:r,handled:!0}):a!==!1&&!i&&(n[a].handled=!0),!0):(a===!1&&n.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,n)})})}iterateThroughNodes(e,t,r,n,a){const i=this.createIterator(t,e,n);let s=[],u=[],l,d,h=()=>({prevNode:d,node:l}=this.getIteratorNode(i),l);for(;h();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,d,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,m=>u.push(m),n)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,n),a()}forEachNode(e,t,r,n=()=>{}){const a=this.getContexts();let i=a.length;i||n(),a.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(s,u):u()})}}let kr=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){const i=t[a],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),n+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,n)=>{let a=n.charAt(r+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(a=>{r.every(i=>{if(i.indexOf(a)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,n=typeof r=="string"?r:r.value,a=typeof r=="string"?[]:r.limiters,i="";switch(a.forEach(s=>{i+=`|${this.escapeStr(s)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,n)=>n.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:i,valid:s}=this.callNoMatchOnInvalidRanges(n,r);s&&(n.start=a,n.length=i-a,t.push(n),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,n,a=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),n=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-r>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:n,valid:a}}checkWhitespaceRanges(e,t,r){let n,a=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,n=u+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||n-u<0||u>i||n>i?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:n,valid:a}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{r.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),i=a.splitText(r-t);let s=document.createElement(n);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=a.textContent,a.parentNode.replaceChild(s,a),i}wrapRangeInMappedTextNode(e,t,r,n,a){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!n(i.node))return!1;const l=t-i.start,d=(r>i.end?i.end:r)-i.start,h=e.value.substr(0,i.start),v=e.value.substr(d+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,d),e.value=h+v,e.nodes.forEach((m,g)=>{g>=s&&(e.nodes[g].start>0&&g!==s&&(e.nodes[g].start-=d),e.nodes[g].end-=d)}),r-=d,a(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,n,a){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let d=l.index;if(i!==0)for(let h=1;h{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let h=1;hr(u[i],h),(h,v)=>{e.lastIndex=v,n(h)})}a()})}wrapRangeFromIndex(e,t,r,n){this.getTextNodes(a=>{const i=a.value.length;e.forEach((s,u)=>{let{start:l,end:d,valid:h}=this.checkWhitespaceRanges(s,i,a.value);h&&this.wrapRangeInMappedTextNode(a,l,d,v=>t(v,s,a.value.substring(l,d),u),v=>{r(v,s)})}),n()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,n="wrapMatches";const a=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),a,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,n="wrapMatches";const{keywords:a,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let d=new RegExp(this.createRegExp(l),`gm${s}`),h=0;this.log(`Searching with expression "${d}"`),this[n](d,1,(v,m)=>this.opt.filter(m,l,r,h),v=>{h++,r++,this.opt.each(v)},()=>{h===0&&this.opt.noMatch(l),a[i-1]===l?this.opt.done(r):u(a[a.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(a[0])}markRanges(e,t){this.opt=t;let r=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,i,s,u)=>this.opt.filter(a,i,s,u),(a,i)=>{r++,this.opt.each(a,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const n=ce.matches(r,t),a=this.matchesExclude(r);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Nr(o){const e=new kr(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var $=function(){return $=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),n,a=[],i;try{for(;(e===void 0||e-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}var _r="ENTRIES",Ft="KEYS",Et="VALUES",H="",Oe=function(){function o(e,t){var r=e._tree,n=Array.from(r.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:r,keys:n}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=le(this._path),t=e.node,r=e.keys;if(le(r)===H)return{done:!1,value:this.result()};var n=t.get(le(r));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=le(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return le(t)}).filter(function(e){return e!==H}).join("")},o.prototype.value=function(){return le(this._path).node.get(H)},o.prototype.result=function(){switch(this._type){case Et:return this.value();case Ft:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),le=function(o){return o[o.length-1]},Or=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var n=e.length+1,a=n+t,i=new Uint8Array(a*n).fill(t+1),s=0;st)continue e}St(o.get(m),e,t,r,n,b,i,s+m)}}}catch(f){u={error:f}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}},Re=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var n=W(Ne(this._tree,e.slice(this._prefix.length)),2),a=n[0],i=n[1];if(a===void 0){var s=W(Ke(i),2),u=s[0],l=s[1];try{for(var d=D(u.keys()),h=d.next();!h.done;h=d.next()){var v=h.value;if(v!==H&&v.startsWith(l)){var m=new Map;return m.set(v.slice(l.length),u.get(v)),new o(m,e)}}}catch(g){t={error:g}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}return new o(a,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,Rr(this._tree,e)},o.prototype.entries=function(){return new Oe(this,_r)},o.prototype.forEach=function(e){var t,r;try{for(var n=D(this),a=n.next();!a.done;a=n.next()){var i=W(a.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return Or(this._tree,e,t)},o.prototype.get=function(e){var t=$e(this._tree,e);return t!==void 0?t.get(H):void 0},o.prototype.has=function(e){var t=$e(this._tree,e);return t!==void 0&&t.has(H)},o.prototype.keys=function(){return new Oe(this,Ft)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Me(this._tree,e);return r.set(H,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Me(this._tree,e);return r.set(H,t(r.get(H))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Me(this._tree,e),n=r.get(H);return n===void 0&&r.set(H,n=t()),n},o.prototype.values=function(){return new Oe(this,Et)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,n=new o;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=W(i.value,2),u=s[0],l=s[1];n.set(u,l)}}catch(d){t={error:d}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),Ne=function(o,e,t){var r,n;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var a=D(o.keys()),i=a.next();!i.done;i=a.next()){var s=i.value;if(s!==H&&e.startsWith(s))return t.push([o,s]),Ne(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.push([o,e]),Ne(void 0,"",t)},$e=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var n=D(o.keys()),a=n.next();!a.done;a=n.next()){var i=a.value;if(i!==H&&e.startsWith(i))return $e(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Me=function(o,e){var t,r,n=e.length;e:for(var a=0;o&&a0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Re,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(n,a){t.removeFieldLength(r,a,t._documentCount,n)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,n=e.batchSize,a=e.batchWait;this.conditionalVacuum({batchSize:n,batchWait:a},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,n=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,n=t.extractField,a=n(e,r);this.discard(a),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var n=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=je,r.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return Ir(this,void 0,void 0,function(){var r,n,a,i,s,u,l,d,h,v,m,g,b,x,C,T,A,L,O,B,E,I,_,R,F;return Dr(this,function(c){switch(c.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];n=e.batchSize||We.batchSize,a=e.batchWait||We.batchWait,i=1,c.label=1;case 1:c.trys.push([1,7,8,9]),s=D(this._index),u=s.next(),c.label=2;case 2:if(u.done)return[3,6];l=W(u.value,2),d=l[0],h=l[1];try{for(v=(I=void 0,D(h)),m=v.next();!m.done;m=v.next()){g=W(m.value,2),b=g[0],x=g[1];try{for(C=(R=void 0,D(x)),T=C.next();!T.done;T=C.next())A=W(T.value,1),L=A[0],!this._documentIds.has(L)&&(x.size<=1?h.delete(b):x.delete(L))}catch(f){R={error:f}}finally{try{T&&!T.done&&(F=C.return)&&F.call(C)}finally{if(R)throw R.error}}}}catch(f){I={error:f}}finally{try{m&&!m.done&&(_=v.return)&&_.call(v)}finally{if(I)throw I.error}}return this._index.get(d).size===0&&this._index.delete(d),i%n!==0?[3,4]:[4,new Promise(function(f){return setTimeout(f,a)})];case 3:c.sent(),c.label=4;case 4:i+=1,c.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return O=c.sent(),B={error:O},[3,9];case 8:try{u&&!u.done&&(E=s.return)&&E.call(s)}finally{if(B)throw B.error}return[7];case 9:this._dirtCount-=r,c.label=10;case 10:return[4,null];case 11:return c.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||ze.minDirtCount,r=r||ze.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,n;t===void 0&&(t={});var a=this.executeQuery(e,t),i=[];try{for(var s=D(a),u=s.next();!u.done;u=s.next()){var l=W(u.value,2),d=l[0],h=l[1],v=h.score,m=h.terms,g=h.match,b=m.length,x={id:this._documentIds.get(d),score:v*b,terms:Object.keys(g),match:g};Object.assign(x,this._storedFields.get(d)),(t.filter==null||t.filter(x))&&i.push(x)}}catch(C){r={error:C}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i.sort(dt),i},o.prototype.autoSuggest=function(e,t){var r,n,a,i;t===void 0&&(t={}),t=$($({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=D(this.search(e,t)),l=u.next();!l.done;l=u.next()){var d=l.value,h=d.score,v=d.terms,m=v.join(" "),g=s.get(m);g!=null?(g.score+=h,g.count+=1):s.set(m,{score:h,terms:v,count:1})}}catch(O){r={error:O}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var b=[];try{for(var x=D(s),C=x.next();!C.done;C=x.next()){var T=W(C.value,2),g=T[0],A=T[1],h=A.score,v=A.terms,L=A.count;b.push({suggestion:g,terms:v,score:h/L})}}catch(O){a={error:O}}finally{try{C&&!C.done&&(i=x.return)&&i.call(x)}finally{if(a)throw a.error}}return b.sort(dt),b},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(Pe.hasOwnProperty(e))return Le(Pe,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,n,a,i,s,u,l=e.index,d=e.documentCount,h=e.nextId,v=e.documentIds,m=e.fieldIds,g=e.fieldLength,b=e.averageFieldLength,x=e.storedFields,C=e.dirtCount,T=e.serializationVersion;if(T!==1&&T!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var A=new o(t);A._documentCount=d,A._nextId=h,A._documentIds=Se(v),A._idToShortId=new Map,A._fieldIds=m,A._fieldLength=Se(g),A._avgFieldLength=b,A._storedFields=Se(x),A._dirtCount=C||0,A._index=new Re;try{for(var L=D(A._documentIds),O=L.next();!O.done;O=L.next()){var B=W(O.value,2),E=B[0],I=B[1];A._idToShortId.set(I,E)}}catch(y){r={error:y}}finally{try{O&&!O.done&&(n=L.return)&&n.call(L)}finally{if(r)throw r.error}}try{for(var _=D(l),R=_.next();!R.done;R=_.next()){var F=W(R.value,2),c=F[0],f=F[1],p=new Map;try{for(var N=(s=void 0,D(Object.keys(f))),k=N.next();!k.done;k=N.next()){var M=k.value,P=f[M];T===1&&(P=P.ds),p.set(parseInt(M,10),Se(P))}}catch(y){s={error:y}}finally{try{k&&!k.done&&(u=N.return)&&u.call(N)}finally{if(s)throw s.error}}A._index.set(c,p)}}catch(y){a={error:y}}finally{try{R&&!R.done&&(i=_.return)&&i.call(_)}finally{if(a)throw a.error}}return A},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),typeof e!="string"){var n=$($($({},t),e),{queries:void 0}),a=e.queries.map(function(x){return r.executeQuery(x,n)});return this.combineResults(a,n.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,d=$($({tokenize:s,processTerm:u},l),t),h=d.tokenize,v=d.processTerm,m=h(e).flatMap(function(x){return v(x)}).filter(function(x){return!!x}),g=m.map(Vr(d)),b=g.map(function(x){return r.executeQuerySpec(x,d)});return this.combineResults(b,d.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,n,a,i,s=$($({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(M,P){var y;return $($({},M),(y={},y[P]=Le(s.boost,P)||1,y))},{}),l=s.boostDocument,d=s.weights,h=s.maxFuzzy,v=s.bm25,m=$($({},ft.weights),d),g=m.fuzzy,b=m.prefix,x=this._index.get(e.term),C=this.termResults(e.term,e.term,1,x,u,l,v),T,A;if(e.prefix&&(T=this._index.atPrefix(e.term)),e.fuzzy){var L=e.fuzzy===!0?.2:e.fuzzy,O=L<1?Math.min(h,Math.round(e.term.length*L)):L;O&&(A=this._index.fuzzyGet(e.term,O))}if(T)try{for(var B=D(T),E=B.next();!E.done;E=B.next()){var I=W(E.value,2),_=I[0],R=I[1],F=_.length-e.term.length;if(F){A==null||A.delete(_);var c=b*_.length/(_.length+.3*F);this.termResults(e.term,_,c,R,u,l,v,C)}}}catch(M){r={error:M}}finally{try{E&&!E.done&&(n=B.return)&&n.call(B)}finally{if(r)throw r.error}}if(A)try{for(var f=D(A.keys()),p=f.next();!p.done;p=f.next()){var _=p.value,N=W(A.get(_),2),k=N[0],F=N[1];if(F){var c=g*_.length/(_.length+F);this.termResults(e.term,_,c,k,u,l,v,C)}}}catch(M){a={error:M}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}return C},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=Je),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce(Pr[r])||new Map},o.prototype.toJSON=function(){var e,t,r,n,a=[];try{for(var i=D(this._index),s=i.next();!s.done;s=i.next()){var u=W(s.value,2),l=u[0],d=u[1],h={};try{for(var v=(r=void 0,D(d)),m=v.next();!m.done;m=v.next()){var g=W(m.value,2),b=g[0],x=g[1];h[b]=Object.fromEntries(x)}}catch(C){r={error:C}}finally{try{m&&!m.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}a.push([l,h])}}catch(C){e={error:C}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:a,serializationVersion:2}},o.prototype.termResults=function(e,t,r,n,a,i,s,u){var l,d,h,v,m;if(u===void 0&&(u=new Map),n==null)return u;try{for(var g=D(Object.keys(a)),b=g.next();!b.done;b=g.next()){var x=b.value,C=a[x],T=this._fieldIds[x],A=n.get(T);if(A!=null){var L=A.size,O=this._avgFieldLength[T];try{for(var B=(h=void 0,D(A.keys())),E=B.next();!E.done;E=B.next()){var I=E.value;if(!this._documentIds.has(I)){this.removeTerm(T,I,t),L-=1;continue}var _=i?i(this._documentIds.get(I),t,this._storedFields.get(I)):1;if(_){var R=A.get(I),F=this._fieldLength.get(I)[T],c=Br(R,L,this._documentCount,F,O,s),f=r*C*_*c,p=u.get(I);if(p){p.score+=f,Wr(p.terms,e);var N=Le(p.match,t);N?N.push(x):p.match[t]=[x]}else u.set(I,{score:f,terms:[e],match:(m={},m[t]=[x],m)})}}}catch(k){h={error:k}}finally{try{E&&!E.done&&(v=B.return)&&v.call(B)}finally{if(h)throw h.error}}}}}catch(k){l={error:k}}finally{try{b&&!b.done&&(d=g.return)&&d.call(g)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var n=this._index.fetch(r,vt),a=n.get(e);if(a==null)a=new Map,a.set(t,1),n.set(e,a);else{var i=a.get(t);a.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var n=this._index.fetch(r,vt),a=n.get(e);a==null||a.get(t)==null?this.warnDocumentChanged(t,e,r):a.get(t)<=1?a.size<=1?n.delete(e):a.delete(t):a.set(t,a.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var n,a;try{for(var i=D(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Ut("data-v-b2c86af4"),o=o(),Ht(),o),Kr=["aria-owns"],Jr={class:"shell"},Ur=["title"],Hr=Y(()=>S("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[S("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[S("circle",{cx:"11",cy:"11",r:"8"}),S("path",{d:"m21 21l-4.35-4.35"})])],-1)),Gr=[Hr],qr={class:"search-actions before"},Qr=["title"],Yr=Y(()=>S("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[S("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"})],-1)),Zr=[Yr],Xr=["placeholder"],ea={class:"search-actions"},ta=["title"],ra=Y(()=>S("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[S("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14h7v7H3zM3 3h7v7H3zm11 1h7m-7 5h7m-7 6h7m-7 5h7"})],-1)),aa=[ra],na=["disabled","title"],ia=Y(()=>S("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[S("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"})],-1)),oa=[ia],sa=["id","role","aria-labelledby"],ua=["aria-selected"],la=["href","aria-label","onMouseenter","onFocusin"],ca={class:"titles"},fa=Y(()=>S("span",{class:"title-icon"},"#",-1)),ha=["innerHTML"],da=Y(()=>S("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[S("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1)),va={class:"title main"},pa=["innerHTML"],ya={key:0,class:"excerpt-wrapper"},ma={key:0,class:"excerpt",inert:""},ga=["innerHTML"],ba=Y(()=>S("div",{class:"excerpt-gradient-bottom"},null,-1)),wa=Y(()=>S("div",{class:"excerpt-gradient-top"},null,-1)),xa={key:0,class:"no-results"},Fa={class:"search-keyboard-shortcuts"},Ea=["aria-label"],Sa=Y(()=>S("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[S("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)),Aa=[Sa],Ca=["aria-label"],Ta=Y(()=>S("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[S("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)),ka=[Ta],Na=["aria-label"],Ia=Y(()=>S("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[S("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[S("path",{d:"m9 10l-5 5l5 5"}),S("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)),Da=[Ia],_a=["aria-label"],Oa=It({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var k,M,P;const t=be(),r=be(),n=be(er),a=Zt(),{activate:i}=Tr(t,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:s,theme:u}=a,l=et(async()=>{var y,w,z,G,j,K,V,J,q;return nt(Lr.loadJSON((z=await((w=(y=n.value)[s.value])==null?void 0:w.call(y)))==null?void 0:z.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((G=u.value.search)==null?void 0:G.provider)==="local"&&((K=(j=u.value.search.options)==null?void 0:j.miniSearch)==null?void 0:K.searchOptions)},...((V=u.value.search)==null?void 0:V.provider)==="local"&&((q=(J=u.value.search.options)==null?void 0:J.miniSearch)==null?void 0:q.options)}))}),h=we(()=>{var y,w;return((y=u.value.search)==null?void 0:y.provider)==="local"&&((w=u.value.search.options)==null?void 0:w.disableQueryPersistence)===!0}).value?ie(""):Dt("vitepress:local-search-filter",""),v=_t("vitepress:local-search-detailed-list",((k=u.value.search)==null?void 0:k.provider)==="local"&&((M=u.value.search.options)==null?void 0:M.detailedView)===!0),m=we(()=>{var y,w,z;return((y=u.value.search)==null?void 0:y.provider)==="local"&&(((w=u.value.search.options)==null?void 0:w.disableDetailedView)===!0||((z=u.value.search.options)==null?void 0:z.detailedView)===!1)}),g=we(()=>{var w,z,G,j,K,V,J;const y=((w=u.value.search)==null?void 0:w.options)??u.value.algolia;return((K=(j=(G=(z=y==null?void 0:y.locales)==null?void 0:z[s.value])==null?void 0:G.translations)==null?void 0:j.button)==null?void 0:K.buttonText)||((J=(V=y==null?void 0:y.translations)==null?void 0:V.button)==null?void 0:J.buttonText)||"Search"});Ot(()=>{m.value&&(v.value=!1)});const b=be([]),x=ie(!1);Be(h,()=>{x.value=!1});const C=et(async()=>{if(r.value)return nt(new Nr(r.value))},null);Rt(()=>[l.value,h.value,v.value],async([y,w,z],G,j)=>{var Ue,He,Ge,qe;let K=!1;if(j(()=>{K=!0}),!y)return;b.value=y.search(w).slice(0,16),x.value=!0;const V=z?await Promise.all(b.value.map(Q=>T(Q.id))):[];if(K)return;const J=new Map;for(const{id:Q,mod:re}of V){const ae=Q.slice(0,Q.indexOf("#"));let ee=J.get(ae);if(ee)continue;ee=new Map,J.set(ae,ee);const Z=re.default??re;if(Z!=null&&Z.render||Z!=null&&Z.setup){const ne=Gt(Z);ne.config.warnHandler=()=>{},ne.provide(qt,a),Object.defineProperties(ne.config.globalProperties,{$frontmatter:{get(){return a.frontmatter.value}},$params:{get(){return a.page.value.params}}});const Qe=document.createElement("div");ne.mount(Qe),Qe.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(fe=>{var Xe;const ge=(Xe=fe.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Ye)return;let Ze="";for(;(fe=fe.nextElementSibling)&&!/^h[1-6]$/i.test(fe.tagName);)Ze+=fe.outerHTML;ee.set(Ye,Ze)}),ne.unmount()}if(K)return}const q=new Set;if(b.value=b.value.map(Q=>{const[re,ae]=Q.id.split("#"),ee=J.get(re),Z=(ee==null?void 0:ee.get(ae))??"";for(const ne in Q.match)q.add(ne);return{...Q,text:Z}}),await he(),K)return;await new Promise(Q=>{var re;(re=C.value)==null||re.unmark({done:()=>{var ae;(ae=C.value)==null||ae.markRegExp(N(q),{done:Q})}})});const Ie=((Ue=t.value)==null?void 0:Ue.querySelectorAll(".result .excerpt"))??[];for(const Q of Ie)(He=Q.querySelector('mark[data-markjs="true"]'))==null||He.scrollIntoView({block:"center"});(qe=(Ge=r.value)==null?void 0:Ge.firstElementChild)==null||qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function T(y){const w=Qt(y.slice(0,y.indexOf("#")));try{if(!w)throw new Error(`Cannot find file for id: ${y}`);return{id:y,mod:await pt(()=>import(w),[])}}catch(z){return console.error(z),{id:y,mod:{}}}}const A=ie(),L=we(()=>{var y;return((y=h.value)==null?void 0:y.length)<=0});function O(y=!0){var w,z;(w=A.value)==null||w.focus(),y&&((z=A.value)==null||z.select())}De(()=>{O()});function B(y){y.pointerType==="mouse"&&O()}const E=ie(-1),I=ie(!1);Be(b,y=>{E.value=y.length?0:-1,_()});function _(){he(()=>{const y=document.querySelector(".result.selected");y&&y.scrollIntoView({block:"nearest"})})}xe("ArrowUp",y=>{y.preventDefault(),E.value--,E.value<0&&(E.value=b.value.length-1),I.value=!0,_()}),xe("ArrowDown",y=>{y.preventDefault(),E.value++,E.value>=b.value.length&&(E.value=0),I.value=!0,_()});const R=Mt();xe("Enter",y=>{if(y.target instanceof HTMLButtonElement&&y.target.type!=="submit")return;const w=b.value[E.value];if(y.target instanceof HTMLInputElement&&!w){y.preventDefault();return}w&&(R.go(w.id),e("close"))}),xe("Escape",()=>{e("close")});const F={modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}},c=Xt((P=u.value.search)==null?void 0:P.options,F);De(()=>{window.history.pushState(null,"",null)}),Lt("popstate",y=>{y.preventDefault(),e("close")});const f=Pt(zt?document.body:null);De(()=>{he(()=>{f.value=!0,he().then(()=>i())})}),Bt(()=>{f.value=!1});function p(){h.value="",he().then(()=>O(!1))}function N(y){return new RegExp([...y].sort((w,z)=>z.length-w.length).map(w=>`(${w.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}return(y,w)=>{var z,G,j,K;return X(),Vt(Jt,{to:"body"},[S("div",{ref_key:"el",ref:t,role:"button","aria-owns":(z=b.value)!=null&&z.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[S("div",{class:"backdrop",onClick:w[0]||(w[0]=V=>y.$emit("close"))}),S("div",Jr,[S("form",{class:"search-bar",onPointerup:w[4]||(w[4]=V=>B(V)),onSubmit:w[5]||(w[5]=$t(()=>{},["prevent"]))},[S("label",{title:g.value,id:"localsearch-label",for:"localsearch-input"},Gr,8,Ur),S("div",qr,[S("button",{class:"back-button",title:U(c)("modal.backButtonTitle"),onClick:w[1]||(w[1]=V=>y.$emit("close"))},Zr,8,Qr)]),Wt(S("input",{ref_key:"searchInput",ref:A,"onUpdate:modelValue":w[2]||(w[2]=V=>Kt(h)?h.value=V:null),placeholder:g.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,Xr),[[jt,U(h)]]),S("div",ea,[m.value?Fe("",!0):(X(),te("button",{key:0,class:tt(["toggle-layout-button",{"detailed-list":U(v)}]),type:"button",title:U(c)("modal.displayDetails"),onClick:w[3]||(w[3]=V=>E.value>-1&&(v.value=!U(v)))},aa,10,ta)),S("button",{class:"clear-button",type:"reset",disabled:L.value,title:U(c)("modal.resetButtonTitle"),onClick:p},oa,8,na)])],32),S("ul",{ref_key:"resultsEl",ref:r,id:(G=b.value)!=null&&G.length?"localsearch-list":void 0,role:(j=b.value)!=null&&j.length?"listbox":void 0,"aria-labelledby":(K=b.value)!=null&&K.length?"localsearch-label":void 0,class:"results",onMousemove:w[7]||(w[7]=V=>I.value=!1)},[(X(!0),te(at,null,rt(b.value,(V,J)=>(X(),te("li",{key:V.id,role:"option","aria-selected":E.value===J?"true":"false"},[S("a",{href:V.id,class:tt(["result",{selected:E.value===J}]),"aria-label":[...V.titles,V.title].join(" > "),onMouseenter:q=>!I.value&&(E.value=J),onFocusin:q=>E.value=J,onClick:w[6]||(w[6]=q=>y.$emit("close"))},[S("div",null,[S("div",ca,[fa,(X(!0),te(at,null,rt(V.titles,(q,Ie)=>(X(),te("span",{key:Ie,class:"title"},[S("span",{class:"text",innerHTML:q},null,8,ha),da]))),128)),S("span",va,[S("span",{class:"text",innerHTML:V.title},null,8,pa)])]),U(v)?(X(),te("div",ya,[V.text?(X(),te("div",ma,[S("div",{class:"vp-doc",innerHTML:V.text},null,8,ga)])):Fe("",!0),ba,wa])):Fe("",!0)])],42,la)],8,ua))),128)),U(h)&&!b.value.length&&x.value?(X(),te("li",xa,[de(ve(U(c)("modal.noResultsText"))+' "',1),S("strong",null,ve(U(h)),1),de('" ')])):Fe("",!0)],40,sa),S("div",Fa,[S("span",null,[S("kbd",{"aria-label":U(c)("modal.footer.navigateUpKeyAriaLabel")},Aa,8,Ea),S("kbd",{"aria-label":U(c)("modal.footer.navigateDownKeyAriaLabel")},ka,8,Ca),de(" "+ve(U(c)("modal.footer.navigateText")),1)]),S("span",null,[S("kbd",{"aria-label":U(c)("modal.footer.selectKeyAriaLabel")},Da,8,Na),de(" "+ve(U(c)("modal.footer.selectText")),1)]),S("span",null,[S("kbd",{"aria-label":U(c)("modal.footer.closeKeyAriaLabel")},"esc",8,_a),de(" "+ve(U(c)("modal.footer.closeText")),1)])])])],8,Kr)])}}});const za=Yt(Oa,[["__scopeId","data-v-b2c86af4"]]);export{za as default}; diff --git a/assets/chunks/VPLocalSearchBox.8fe2480c.js b/assets/chunks/VPLocalSearchBox.8fe2480c.js new file mode 100644 index 0000000..95e7230 --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.8fe2480c.js @@ -0,0 +1,7 @@ +import{V as mt,h as oe,x as Ve,af as Nt,ag as It,d as Dt,E as we,ah as tt,g as xe,ai as _t,aj as Ot,y as Rt,ak as Mt,j as _e,O as he,S as Fe,al as Lt,am as Pt,W as zt,s as Bt,an as Vt,o as ee,b as $t,k as F,$ as Wt,l as U,ao as jt,ap as Kt,aq as Jt,c as re,n as rt,e as Ee,D as nt,F as at,a as ve,t as pe,ar as Ut,p as Ht,m as Gt,as as it,at as Qt,a4 as qt,aa as Yt,_ as Zt}from"./framework.e1e0b12f.js";import{u as Xt,c as er}from"./theme.8477e444.js";const tr={root:()=>mt(()=>import("./@localSearchIndexroot.a2d52ff7.js"),[])};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var yt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ce=yt.join(","),gt=typeof Element>"u",ue=gt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Te=!gt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},ke=function o(e,t){var r;t===void 0&&(t=!0);var a=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),n=a===""||a==="true",i=n||t&&e&&o(e.parentNode);return i},rr=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},bt=function(e,t,r){if(ke(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(Ce));return t&&ue.call(e,Ce)&&a.unshift(e),a=a.filter(r),a},wt=function o(e,t,r){for(var a=[],n=Array.from(e);n.length;){var i=n.shift();if(!ke(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{var d=ue.call(i,Ce);d&&r.filter(i)&&(t||!e.includes(i))&&a.push(i);var h=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!ke(h,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(h&&v){var m=o(h===!0?i.children:h.children,!0,r);r.flatten?a.push.apply(a,m):a.push({scopeParent:i,candidates:m})}else n.unshift.apply(n,i.children)}}return a},xt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rr(e))&&!xt(e)?0:e.tabIndex},nr=function(e,t){var r=se(e);return r<0&&t&&!xt(e)?0:r},ar=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Ft=function(e){return e.tagName==="INPUT"},ir=function(e){return Ft(e)&&e.type==="hidden"},or=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},sr=function(e,t){for(var r=0;rsummary:first-of-type"),i=n?e.parentElement:e;if(ue.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof a=="function"){for(var s=e;e;){var u=e.parentElement,l=Te(e);if(u&&!u.shadowRoot&&a(u)===!0)return ot(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(fr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ot(e);return!1},hr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},pr=function o(e){var t=[],r=[];return e.forEach(function(a,n){var i=!!a.scopeParent,s=i?a.scopeParent:a,u=nr(s,i),l=i?o(a.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:n,tabIndex:u,item:a,isScope:i,content:l})}),r.sort(ar).reduce(function(a,n){return n.isScope?a.push.apply(a,n.content):a.push(n.content),a},[]).concat(t)},mr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=wt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:vr}):r=bt(e,t.includeContainer,$e.bind(null,t)),pr(r)},yr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=wt([e],t.includeContainer,{filter:Ne.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=bt(e,t.includeContainer,Ne.bind(null,t)),r},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,Ce)===!1?!1:$e(t,e)},gr=yt.concat("iframe").join(","),Oe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,gr)===!1?!1:Ne(t,e)};/*! +* focus-trap 7.5.4 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function st(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),t.push.apply(t,r)}return t}function ut(o){for(var e=1;e0){var r=e[e.length-1];r!==t&&r.pause()}var a=e.indexOf(t);a===-1||e.splice(a,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Fr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Er=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Sr=function(e){return ge(e)&&!e.shiftKey},Ar=function(e){return ge(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ft=function(e,t){var r=-1;return e.every(function(a,n){return t(a)?(r=n,!1):!0}),r},me=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a1?p-1:0),k=1;k=0)c=r.activeElement;else{var f=i.tabbableGroups[0],p=f&&f.firstTabbableNode;c=p||d("fallbackFocus")}if(!c)throw new Error("Your focus-trap needs to have at least one focusable element");return c},v=function(){if(i.containerGroups=i.containers.map(function(c){var f=mr(c,n.tabbableOptions),p=yr(c,n.tabbableOptions),N=f.length>0?f[0]:void 0,k=f.length>0?f[f.length-1]:void 0,M=p.find(function(y){return le(y)}),z=p.slice().reverse().find(function(y){return le(y)}),B=!!f.find(function(y){return se(y)>0});return{container:c,tabbableNodes:f,focusableNodes:p,posTabIndexesFound:B,firstTabbableNode:N,lastTabbableNode:k,firstDomTabbableNode:M,lastDomTabbableNode:z,nextTabbableNode:function(x){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=f.indexOf(x);return K<0?$?p.slice(p.indexOf(x)+1).find(function(G){return le(G)}):p.slice(0,p.indexOf(x)).reverse().find(function(G){return le(G)}):f[K+($?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(c){return c.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(c){return c.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},m=function w(c){var f=c.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?w(f.shadowRoot):f},b=function w(c){if(c!==!1&&c!==m(document)){if(!c||!c.focus){w(h());return}c.focus({preventScroll:!!n.preventScroll}),i.mostRecentlyFocusedNode=c,Fr(c)&&c.select()}},E=function(c){var f=d("setReturnFocus",c);return f||(f===!1?!1:c)},g=function(c){var f=c.target,p=c.event,N=c.isBackward,k=N===void 0?!1:N;f=f||Se(p),v();var M=null;if(i.tabbableGroups.length>0){var z=l(f,p),B=z>=0?i.containerGroups[z]:void 0;if(z<0)k?M=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:M=i.tabbableGroups[0].firstTabbableNode;else if(k){var y=ft(i.tabbableGroups,function(V){var J=V.firstTabbableNode;return f===J});if(y<0&&(B.container===f||Oe(f,n.tabbableOptions)&&!le(f,n.tabbableOptions)&&!B.nextTabbableNode(f,!1))&&(y=z),y>=0){var x=y===0?i.tabbableGroups.length-1:y-1,$=i.tabbableGroups[x];M=se(f)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else ge(p)||(M=B.nextTabbableNode(f,!1))}else{var K=ft(i.tabbableGroups,function(V){var J=V.lastTabbableNode;return f===J});if(K<0&&(B.container===f||Oe(f,n.tabbableOptions)&&!le(f,n.tabbableOptions)&&!B.nextTabbableNode(f))&&(K=z),K>=0){var G=K===i.tabbableGroups.length-1?0:K+1,Q=i.tabbableGroups[G];M=se(f)>=0?Q.firstTabbableNode:Q.firstDomTabbableNode}else ge(p)||(M=B.nextTabbableNode(f))}}else M=d("fallbackFocus");return M},S=function(c){var f=Se(c);if(!(l(f,c)>=0)){if(me(n.clickOutsideDeactivates,c)){s.deactivate({returnFocus:n.returnFocusOnDeactivate});return}me(n.allowOutsideClick,c)||c.preventDefault()}},T=function(c){var f=Se(c),p=l(f,c)>=0;if(p||f instanceof Document)p&&(i.mostRecentlyFocusedNode=f);else{c.stopImmediatePropagation();var N,k=!0;if(i.mostRecentlyFocusedNode)if(se(i.mostRecentlyFocusedNode)>0){var M=l(i.mostRecentlyFocusedNode),z=i.containerGroups[M].tabbableNodes;if(z.length>0){var B=z.findIndex(function(y){return y===i.mostRecentlyFocusedNode});B>=0&&(n.isKeyForward(i.recentNavEvent)?B+1=0&&(N=z[B-1],k=!1))}}else i.containerGroups.some(function(y){return y.tabbableNodes.some(function(x){return se(x)>0})})||(k=!1);else k=!1;k&&(N=g({target:i.mostRecentlyFocusedNode,isBackward:n.isKeyBackward(i.recentNavEvent)})),b(N||i.mostRecentlyFocusedNode||h())}i.recentNavEvent=void 0},C=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=c;var p=g({event:c,isBackward:f});p&&(ge(c)&&c.preventDefault(),b(p))},R=function(c){if(Er(c)&&me(n.escapeDeactivates,c)!==!1){c.preventDefault(),s.deactivate();return}(n.isKeyForward(c)||n.isKeyBackward(c))&&C(c,n.isKeyBackward(c))},L=function(c){var f=Se(c);l(f,c)>=0||me(n.clickOutsideDeactivates,c)||me(n.allowOutsideClick,c)||(c.preventDefault(),c.stopImmediatePropagation())},P=function(){if(i.active)return lt.activateTrap(a,s),i.delayInitialFocusTimer=n.delayInitialFocus?ct(function(){b(h())}):b(h()),r.addEventListener("focusin",T,!0),r.addEventListener("mousedown",S,{capture:!0,passive:!1}),r.addEventListener("touchstart",S,{capture:!0,passive:!1}),r.addEventListener("click",L,{capture:!0,passive:!1}),r.addEventListener("keydown",R,{capture:!0,passive:!1}),s},I=function(){if(i.active)return r.removeEventListener("focusin",T,!0),r.removeEventListener("mousedown",S,!0),r.removeEventListener("touchstart",S,!0),r.removeEventListener("click",L,!0),r.removeEventListener("keydown",R,!0),s},A=function(c){var f=c.some(function(p){var N=Array.from(p.removedNodes);return N.some(function(k){return k===i.mostRecentlyFocusedNode})});f&&b(h())},_=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(A):void 0,O=function(){_&&(_.disconnect(),i.active&&!i.paused&&i.containers.map(function(c){_.observe(c,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(c){if(i.active)return this;var f=u(c,"onActivate"),p=u(c,"onPostActivate"),N=u(c,"checkCanFocusTrap");N||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,f==null||f();var k=function(){N&&v(),P(),O(),p==null||p()};return N?(N(i.containers.concat()).then(k,k),this):(k(),this)},deactivate:function(c){if(!i.active)return this;var f=ut({onDeactivate:n.onDeactivate,onPostDeactivate:n.onPostDeactivate,checkCanReturnFocus:n.checkCanReturnFocus},c);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,I(),i.active=!1,i.paused=!1,O(),lt.deactivateTrap(a,s);var p=u(f,"onDeactivate"),N=u(f,"onPostDeactivate"),k=u(f,"checkCanReturnFocus"),M=u(f,"returnFocus","returnFocusOnDeactivate");p==null||p();var z=function(){ct(function(){M&&b(E(i.nodeFocusedBeforeActivation)),N==null||N()})};return M&&k?(k(E(i.nodeFocusedBeforeActivation)).then(z,z),this):(z(),this)},pause:function(c){if(i.paused||!i.active)return this;var f=u(c,"onPause"),p=u(c,"onPostPause");return i.paused=!0,f==null||f(),I(),O(),p==null||p(),this},unpause:function(c){if(!i.paused||!i.active)return this;var f=u(c,"onUnpause"),p=u(c,"onPostUnpause");return i.paused=!1,f==null||f(),v(),P(),O(),p==null||p(),this},updateContainerElements:function(c){var f=[].concat(c).filter(Boolean);return i.containers=f.map(function(p){return typeof p=="string"?r.querySelector(p):p}),i.active&&v(),O(),this}},s.updateContainerElements(e),s};function kr(o,e={}){let t;const{immediate:r,...a}=e,n=oe(!1),i=oe(!1),s=h=>t&&t.activate(h),u=h=>t&&t.deactivate(h),l=()=>{t&&(t.pause(),i.value=!0)},d=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Nt(o),h=>{h&&(t=Tr(h,{...a,onActivate(){n.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){n.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),It(()=>u()),{hasFocus:n,isPaused:i,activate:s,deactivate:u,pause:l,unpause:d}}class fe{constructor(e,t=!0,r=[],a=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=a}static matches(e,t){const r=typeof t=="string"?[t]:t,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let n=!1;return r.every(i=>a.call(e,i)?(n=!0,!1):!0),n}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const a=t.filter(n=>n.contains(r)).length>0;t.indexOf(r)===-1&&!a&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let a;try{const n=e.contentWindow;if(a=n.document,!n||!a)throw new Error("iframe inaccessible")}catch{r()}a&&t(a)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let a=!1,n=null;const i=()=>{if(!a){a=!0,clearTimeout(n);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,a=>{r++,this.waitForIframes(a.querySelector("html"),()=>{--r||t()})},a=>{a||t()})}forEachIframe(e,t,r,a=()=>{}){let n=e.querySelectorAll("iframe"),i=n.length,s=0;n=Array.prototype.slice.call(n);const u=()=>{--i<=0&&a(s)};i||u(),n.forEach(l=>{fe.matches(l,this.exclude)?u():this.onIframeReady(l,d=>{t(l)&&(s++,r(d)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new fe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const a=e.compareDocumentPosition(r),n=Node.DOCUMENT_POSITION_PRECEDING;if(a&n)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,a){let n=!1,i=!1;return a.forEach((s,u)=>{s.val===r&&(n=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(n===!1&&!i?a.push({val:r,handled:!0}):n!==!1&&!i&&(a[n].handled=!0),!0):(n===!1&&a.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,a){e.forEach(n=>{n.handled||this.getIframeContents(n.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,a)})})}iterateThroughNodes(e,t,r,a,n){const i=this.createIterator(t,e,a);let s=[],u=[],l,d,h=()=>({prevNode:d,node:l}=this.getIteratorNode(i),l);for(;h();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,d,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,m=>u.push(m),a)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,a),n()}forEachNode(e,t,r,a=()=>{}){const n=this.getContexts();let i=n.length;i||a(),n.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&a()})};this.iframes?this.waitForIframes(s,u):u()})}}let Nr=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in t)if(t.hasOwnProperty(n)){const i=t[n],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(n):this.escapeStr(n),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),a+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,a)=>{let n=a.charAt(r+1);return/[(|)\\]/.test(n)||n===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let a=[];return e.split("").forEach(n=>{r.every(i=>{if(i.indexOf(n)!==-1){if(a.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),a.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,a=typeof r=="string"?r:r.value,n=typeof r=="string"?[]:r.limiters,i="";switch(n.forEach(s=>{i+=`|${this.escapeStr(s)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(a=>{a.trim()&&t.indexOf(a)===-1&&t.push(a)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,a)=>a.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((a,n)=>a.start-n.start).forEach(a=>{let{start:n,end:i,valid:s}=this.callNoMatchOnInvalidRanges(a,r);s&&(a.start=n,a.length=i-n,t.push(a),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,a,n=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),a=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-t>0&&a-r>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:a,valid:n}}checkWhitespaceRanges(e,t,r){let a,n=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,a=u+parseInt(e.length,10),a>i&&(a=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||a-u<0||u>i||a>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,a).replace(/\s+/g,"")===""&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:a,valid:n}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{r.push({start:t.length,end:(t+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return fe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const a=this.opt.element?this.opt.element:"mark",n=e.splitText(t),i=n.splitText(r-t);let s=document.createElement(a);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=n.textContent,n.parentNode.replaceChild(s,n),i}wrapRangeInMappedTextNode(e,t,r,a,n){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!a(i.node))return!1;const l=t-i.start,d=(r>i.end?i.end:r)-i.start,h=e.value.substr(0,i.start),v=e.value.substr(d+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,d),e.value=h+v,e.nodes.forEach((m,b)=>{b>=s&&(e.nodes[b].start>0&&b!==s&&(e.nodes[b].start-=d),e.nodes[b].end-=d)}),r-=d,n(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,a,n){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let d=l.index;if(i!==0)for(let h=1;h{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let h=1;hr(u[i],h),(h,v)=>{e.lastIndex=v,a(h)})}n()})}wrapRangeFromIndex(e,t,r,a){this.getTextNodes(n=>{const i=n.value.length;e.forEach((s,u)=>{let{start:l,end:d,valid:h}=this.checkWhitespaceRanges(s,i,n.value);h&&this.wrapRangeInMappedTextNode(n,l,d,v=>t(v,s,n.value.substring(l,d),u),v=>{r(v,s)})}),a()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,a="wrapMatches";const n=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),n,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,a="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let d=new RegExp(this.createRegExp(l),`gm${s}`),h=0;this.log(`Searching with expression "${d}"`),this[a](d,1,(v,m)=>this.opt.filter(m,l,r,h),v=>{h++,r++,this.opt.each(v)},()=>{h===0&&this.opt.noMatch(l),n[i-1]===l?this.opt.done(r):u(n[n.indexOf(l)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(n[0])}markRanges(e,t){this.opt=t;let r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(n,i,s,u)=>this.opt.filter(n,i,s,u),(n,i)=>{r++,this.opt.each(n,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const a=fe.matches(r,t),n=this.matchesExclude(r);return!a||n?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ir(o){const e=new Nr(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var W=function(){return W=Object.assign||function(e){for(var t,r=1,a=arguments.length;r0&&n[n.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function j(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),a,n=[],i;try{for(;(e===void 0||e-- >0)&&!(a=r.next()).done;)n.push(a.value)}catch(s){i={error:s}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return n}var Or="ENTRIES",Et="KEYS",St="VALUES",H="",Re=function(){function o(e,t){var r=e._tree,a=Array.from(r.keys());this.set=e,this._type=t,this._path=a.length>0?[{node:r,keys:a}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=ce(this._path),t=e.node,r=e.keys;if(ce(r)===H)return{done:!1,value:this.result()};var a=t.get(ce(r));return this._path.push({node:a,keys:Array.from(a.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=ce(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return ce(t)}).filter(function(e){return e!==H}).join("")},o.prototype.value=function(){return ce(this._path).node.get(H)},o.prototype.result=function(){switch(this._type){case St:return this.value();case Et:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),ce=function(o){return o[o.length-1]},Rr=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var a=e.length+1,n=a+t,i=new Uint8Array(n*a).fill(t+1),s=0;st)continue e}At(o.get(m),e,t,r,a,E,i,s+m)}}}catch(f){u={error:f}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}},Me=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var a=j(Ie(this._tree,e.slice(this._prefix.length)),2),n=a[0],i=a[1];if(n===void 0){var s=j(Je(i),2),u=s[0],l=s[1];try{for(var d=D(u.keys()),h=d.next();!h.done;h=d.next()){var v=h.value;if(v!==H&&v.startsWith(l)){var m=new Map;return m.set(v.slice(l.length),u.get(v)),new o(m,e)}}}catch(b){t={error:b}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}return new o(n,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,Mr(this._tree,e)},o.prototype.entries=function(){return new Re(this,Or)},o.prototype.forEach=function(e){var t,r;try{for(var a=D(this),n=a.next();!n.done;n=a.next()){var i=j(n.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return Rr(this._tree,e,t)},o.prototype.get=function(e){var t=We(this._tree,e);return t!==void 0?t.get(H):void 0},o.prototype.has=function(e){var t=We(this._tree,e);return t!==void 0&&t.has(H)},o.prototype.keys=function(){return new Re(this,Et)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(H,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(H,t(r.get(H))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e),a=r.get(H);return a===void 0&&r.set(H,a=t()),a},o.prototype.values=function(){return new Re(this,St)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,a=new o;try{for(var n=D(e),i=n.next();!i.done;i=n.next()){var s=j(i.value,2),u=s[0],l=s[1];a.set(u,l)}}catch(d){t={error:d}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return a},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),Ie=function(o,e,t){var r,a;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var n=D(o.keys()),i=n.next();!i.done;i=n.next()){var s=i.value;if(s!==H&&e.startsWith(s))return t.push([o,s]),Ie(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return t.push([o,e]),Ie(void 0,"",t)},We=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var a=D(o.keys()),n=a.next();!n.done;n=a.next()){var i=n.value;if(i!==H&&e.startsWith(i))return We(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},Le=function(o,e){var t,r,a=e.length;e:for(var n=0;o&&n0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Me,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(a,n){t.removeFieldLength(r,n,t._documentCount,a)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,a=e.batchSize,n=e.batchWait;this.conditionalVacuum({batchSize:a,batchWait:n},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,a=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var n=D(e),i=n.next();!i.done;i=n.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=a}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,a=t.extractField,n=a(e,r);this.discard(n),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var a=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=Ke,r.performVacuuming(e,a)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return Dr(this,void 0,void 0,function(){var r,a,n,i,s,u,l,d,h,v,m,b,E,g,S,T,C,R,L,P,I,A,_,O,w;return _r(this,function(c){switch(c.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];a=e.batchSize||je.batchSize,n=e.batchWait||je.batchWait,i=1,c.label=1;case 1:c.trys.push([1,7,8,9]),s=D(this._index),u=s.next(),c.label=2;case 2:if(u.done)return[3,6];l=j(u.value,2),d=l[0],h=l[1];try{for(v=(A=void 0,D(h)),m=v.next();!m.done;m=v.next()){b=j(m.value,2),E=b[0],g=b[1];try{for(S=(O=void 0,D(g)),T=S.next();!T.done;T=S.next())C=j(T.value,1),R=C[0],!this._documentIds.has(R)&&(g.size<=1?h.delete(E):g.delete(R))}catch(f){O={error:f}}finally{try{T&&!T.done&&(w=S.return)&&w.call(S)}finally{if(O)throw O.error}}}}catch(f){A={error:f}}finally{try{m&&!m.done&&(_=v.return)&&_.call(v)}finally{if(A)throw A.error}}return this._index.get(d).size===0&&this._index.delete(d),i%a!==0?[3,4]:[4,new Promise(function(f){return setTimeout(f,n)})];case 3:c.sent(),c.label=4;case 4:i+=1,c.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return L=c.sent(),P={error:L},[3,9];case 8:try{u&&!u.done&&(I=s.return)&&I.call(s)}finally{if(P)throw P.error}return[7];case 9:this._dirtCount-=r,c.label=10;case 10:return[4,null];case 11:return c.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||Be.minDirtCount,r=r||Be.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,a;t===void 0&&(t={});var n=this.executeQuery(e,t),i=[];try{for(var s=D(n),u=s.next();!u.done;u=s.next()){var l=j(u.value,2),d=l[0],h=l[1],v=h.score,m=h.terms,b=h.match,E=m.length||1,g={id:this._documentIds.get(d),score:v*E,terms:Object.keys(b),match:b};Object.assign(g,this._storedFields.get(d)),(t.filter==null||t.filter(g))&&i.push(g)}}catch(S){r={error:S}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}return e===o.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||i.sort(vt),i},o.prototype.autoSuggest=function(e,t){var r,a,n,i;t===void 0&&(t={}),t=W(W({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=D(this.search(e,t)),l=u.next();!l.done;l=u.next()){var d=l.value,h=d.score,v=d.terms,m=v.join(" "),b=s.get(m);b!=null?(b.score+=h,b.count+=1):s.set(m,{score:h,terms:v,count:1})}}catch(L){r={error:L}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}var E=[];try{for(var g=D(s),S=g.next();!S.done;S=g.next()){var T=j(S.value,2),b=T[0],C=T[1],h=C.score,v=C.terms,R=C.count;E.push({suggestion:b,terms:v,score:h/R})}}catch(L){n={error:L}}finally{try{S&&!S.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}return E.sort(vt),E},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(ze.hasOwnProperty(e))return Pe(ze,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,a,n,i,s,u,l=e.index,d=e.documentCount,h=e.nextId,v=e.documentIds,m=e.fieldIds,b=e.fieldLength,E=e.averageFieldLength,g=e.storedFields,S=e.dirtCount,T=e.serializationVersion;if(T!==1&&T!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var C=new o(t);C._documentCount=d,C._nextId=h,C._documentIds=Ae(v),C._idToShortId=new Map,C._fieldIds=m,C._fieldLength=Ae(b),C._avgFieldLength=E,C._storedFields=Ae(g),C._dirtCount=S||0,C._index=new Me;try{for(var R=D(C._documentIds),L=R.next();!L.done;L=R.next()){var P=j(L.value,2),I=P[0],A=P[1];C._idToShortId.set(A,I)}}catch(B){r={error:B}}finally{try{L&&!L.done&&(a=R.return)&&a.call(R)}finally{if(r)throw r.error}}try{for(var _=D(l),O=_.next();!O.done;O=_.next()){var w=j(O.value,2),c=w[0],f=w[1],p=new Map;try{for(var N=(s=void 0,D(Object.keys(f))),k=N.next();!k.done;k=N.next()){var M=k.value,z=f[M];T===1&&(z=z.ds),p.set(parseInt(M,10),Ae(z))}}catch(B){s={error:B}}finally{try{k&&!k.done&&(u=N.return)&&u.call(N)}finally{if(s)throw s.error}}C._index.set(c,p)}}catch(B){n={error:B}}finally{try{O&&!O.done&&(i=_.return)&&i.call(_)}finally{if(n)throw n.error}}return C},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),e===o.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){var a=W(W(W({},t),e),{queries:void 0}),n=e.queries.map(function(g){return r.executeQuery(g,a)});return this.combineResults(n,a.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,d=W(W({tokenize:s,processTerm:u},l),t),h=d.tokenize,v=d.processTerm,m=h(e).flatMap(function(g){return v(g)}).filter(function(g){return!!g}),b=m.map($r(d)),E=b.map(function(g){return r.executeQuerySpec(g,d)});return this.combineResults(E,d.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,a,n,i,s=W(W({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(M,z){var B;return W(W({},M),(B={},B[z]=Pe(s.boost,z)||1,B))},{}),l=s.boostDocument,d=s.weights,h=s.maxFuzzy,v=s.bm25,m=W(W({},dt.weights),d),b=m.fuzzy,E=m.prefix,g=this._index.get(e.term),S=this.termResults(e.term,e.term,1,g,u,l,v),T,C;if(e.prefix&&(T=this._index.atPrefix(e.term)),e.fuzzy){var R=e.fuzzy===!0?.2:e.fuzzy,L=R<1?Math.min(h,Math.round(e.term.length*R)):R;L&&(C=this._index.fuzzyGet(e.term,L))}if(T)try{for(var P=D(T),I=P.next();!I.done;I=P.next()){var A=j(I.value,2),_=A[0],O=A[1],w=_.length-e.term.length;if(w){C==null||C.delete(_);var c=E*_.length/(_.length+.3*w);this.termResults(e.term,_,c,O,u,l,v,S)}}}catch(M){r={error:M}}finally{try{I&&!I.done&&(a=P.return)&&a.call(P)}finally{if(r)throw r.error}}if(C)try{for(var f=D(C.keys()),p=f.next();!p.done;p=f.next()){var _=p.value,N=j(C.get(_),2),k=N[0],w=N[1];if(w){var c=b*_.length/(_.length+w);this.termResults(e.term,_,c,k,u,l,v,S)}}}catch(M){n={error:M}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}return S},o.prototype.executeWildcardQuery=function(e){var t,r,a=new Map,n=W(W({},this._options.searchOptions),e);try{for(var i=D(this._documentIds),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h=n.boostDocument?n.boostDocument(d,"",this._storedFields.get(l)):1;a.set(l,{score:h,terms:[],match:{}})}}catch(v){t={error:v}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=Ue),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce(zr[r])||new Map},o.prototype.toJSON=function(){var e,t,r,a,n=[];try{for(var i=D(this._index),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h={};try{for(var v=(r=void 0,D(d)),m=v.next();!m.done;m=v.next()){var b=j(m.value,2),E=b[0],g=b[1];h[E]=Object.fromEntries(g)}}catch(S){r={error:S}}finally{try{m&&!m.done&&(a=v.return)&&a.call(v)}finally{if(r)throw r.error}}n.push([l,h])}}catch(S){e={error:S}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:n,serializationVersion:2}},o.prototype.termResults=function(e,t,r,a,n,i,s,u){var l,d,h,v,m;if(u===void 0&&(u=new Map),a==null)return u;try{for(var b=D(Object.keys(n)),E=b.next();!E.done;E=b.next()){var g=E.value,S=n[g],T=this._fieldIds[g],C=a.get(T);if(C!=null){var R=C.size,L=this._avgFieldLength[T];try{for(var P=(h=void 0,D(C.keys())),I=P.next();!I.done;I=P.next()){var A=I.value;if(!this._documentIds.has(A)){this.removeTerm(T,A,t),R-=1;continue}var _=i?i(this._documentIds.get(A),t,this._storedFields.get(A)):1;if(_){var O=C.get(A),w=this._fieldLength.get(A)[T],c=Vr(O,R,this._documentCount,w,L,s),f=r*S*_*c,p=u.get(A);if(p){p.score+=f,jr(p.terms,e);var N=Pe(p.match,t);N?N.push(g):p.match[t]=[g]}else u.set(A,{score:f,terms:[e],match:(m={},m[t]=[g],m)})}}}catch(k){h={error:k}}finally{try{I&&!I.done&&(v=P.return)&&v.call(P)}finally{if(h)throw h.error}}}}}catch(k){l={error:k}}finally{try{E&&!E.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var a=this._index.fetch(r,pt),n=a.get(e);if(n==null)n=new Map,n.set(t,1),a.set(e,n);else{var i=n.get(t);n.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var a=this._index.fetch(r,pt),n=a.get(e);n==null||n.get(t)==null?this.warnDocumentChanged(t,e,r):n.get(t)<=1?n.size<=1?a.delete(e):n.delete(t):n.set(t,n.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var a,n;try{for(var i=D(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){a={error:l}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Ht("data-v-b2c86af4"),o=o(),Gt(),o),Jr=["aria-owns"],Ur={class:"shell"},Hr=["title"],Gr=Y(()=>F("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[F("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[F("circle",{cx:"11",cy:"11",r:"8"}),F("path",{d:"m21 21l-4.35-4.35"})])],-1)),Qr=[Gr],qr={class:"search-actions before"},Yr=["title"],Zr=Y(()=>F("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[F("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"})],-1)),Xr=[Zr],en=["placeholder"],tn={class:"search-actions"},rn=["title"],nn=Y(()=>F("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[F("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14h7v7H3zM3 3h7v7H3zm11 1h7m-7 5h7m-7 6h7m-7 5h7"})],-1)),an=[nn],on=["disabled","title"],sn=Y(()=>F("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[F("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"})],-1)),un=[sn],ln=["id","role","aria-labelledby"],cn=["aria-selected"],fn=["href","aria-label","onMouseenter","onFocusin"],dn={class:"titles"},hn=Y(()=>F("span",{class:"title-icon"},"#",-1)),vn=["innerHTML"],pn=Y(()=>F("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[F("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1)),mn={class:"title main"},yn=["innerHTML"],gn={key:0,class:"excerpt-wrapper"},bn={key:0,class:"excerpt",inert:""},wn=["innerHTML"],xn=Y(()=>F("div",{class:"excerpt-gradient-bottom"},null,-1)),Fn=Y(()=>F("div",{class:"excerpt-gradient-top"},null,-1)),En={key:0,class:"no-results"},Sn={class:"search-keyboard-shortcuts"},An=["aria-label"],Cn=Y(()=>F("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[F("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)),Tn=[Cn],kn=["aria-label"],Nn=Y(()=>F("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[F("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)),In=[Nn],Dn=["aria-label"],_n=Y(()=>F("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[F("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[F("path",{d:"m9 10l-5 5l5 5"}),F("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)),On=[_n],Rn=["aria-label"],Mn=Dt({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var M,z,B;const t=e,r=we(),a=we(),n=we(tr),i=Xt(),{activate:s}=kr(r,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:u,theme:l}=i,d=tt(async()=>{var y,x,$,K,G,Q,V,J,Z;return it(Pr.loadJSON(($=await((x=(y=n.value)[u.value])==null?void 0:x.call(y)))==null?void 0:$.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((K=l.value.search)==null?void 0:K.provider)==="local"&&((Q=(G=l.value.search.options)==null?void 0:G.miniSearch)==null?void 0:Q.searchOptions)},...((V=l.value.search)==null?void 0:V.provider)==="local"&&((Z=(J=l.value.search.options)==null?void 0:J.miniSearch)==null?void 0:Z.options)}))}),v=xe(()=>{var y,x;return((y=l.value.search)==null?void 0:y.provider)==="local"&&((x=l.value.search.options)==null?void 0:x.disableQueryPersistence)===!0}).value?oe(""):_t("vitepress:local-search-filter",""),m=Ot("vitepress:local-search-detailed-list",((M=l.value.search)==null?void 0:M.provider)==="local"&&((z=l.value.search.options)==null?void 0:z.detailedView)===!0),b=xe(()=>{var y,x,$;return((y=l.value.search)==null?void 0:y.provider)==="local"&&(((x=l.value.search.options)==null?void 0:x.disableDetailedView)===!0||(($=l.value.search.options)==null?void 0:$.detailedView)===!1)}),E=xe(()=>{var x,$,K,G,Q,V,J;const y=((x=l.value.search)==null?void 0:x.options)??l.value.algolia;return((Q=(G=(K=($=y==null?void 0:y.locales)==null?void 0:$[u.value])==null?void 0:K.translations)==null?void 0:G.button)==null?void 0:Q.buttonText)||((J=(V=y==null?void 0:y.translations)==null?void 0:V.button)==null?void 0:J.buttonText)||"Search"});Rt(()=>{b.value&&(m.value=!1)});const g=we([]),S=oe(!1);Ve(v,()=>{S.value=!1});const T=tt(async()=>{if(a.value)return it(new Ir(a.value))},null);Mt(()=>[d.value,v.value,m.value],async([y,x,$],K,G)=>{var He,Ge,Qe,qe;let Q=!1;if(G(()=>{Q=!0}),!y)return;g.value=y.search(x).slice(0,16),S.value=!0;const V=$?await Promise.all(g.value.map(q=>C(q.id))):[];if(Q)return;const J=new Map;for(const{id:q,mod:ne}of V){const ae=q.slice(0,q.indexOf("#"));let te=J.get(ae);if(te)continue;te=new Map,J.set(ae,te);const X=ne.default??ne;if(X!=null&&X.render||X!=null&&X.setup){const ie=Qt(X);ie.config.warnHandler=()=>{},ie.provide(qt,i),Object.defineProperties(ie.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Ye=document.createElement("div");ie.mount(Ye),Ye.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var et;const be=(et=de.querySelector("a"))==null?void 0:et.getAttribute("href"),Ze=(be==null?void 0:be.startsWith("#"))&&be.slice(1);if(!Ze)return;let Xe="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Xe+=de.outerHTML;te.set(Ze,Xe)}),ie.unmount()}if(Q)return}const Z=new Set;if(g.value=g.value.map(q=>{const[ne,ae]=q.id.split("#"),te=J.get(ne),X=(te==null?void 0:te.get(ae))??"";for(const ie in q.match)Z.add(ie);return{...q,text:X}}),await he(),Q)return;await new Promise(q=>{var ne;(ne=T.value)==null||ne.unmark({done:()=>{var ae;(ae=T.value)==null||ae.markRegExp(k(Z),{done:q})}})});const De=((He=r.value)==null?void 0:He.querySelectorAll(".result .excerpt"))??[];for(const q of De)(Ge=q.querySelector('mark[data-markjs="true"]'))==null||Ge.scrollIntoView({block:"center"});(qe=(Qe=a.value)==null?void 0:Qe.firstElementChild)==null||qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function C(y){const x=Yt(y.slice(0,y.indexOf("#")));try{if(!x)throw new Error(`Cannot find file for id: ${y}`);return{id:y,mod:await mt(()=>import(x),[])}}catch($){return console.error($),{id:y,mod:{}}}}const R=oe(),L=xe(()=>{var y;return((y=v.value)==null?void 0:y.length)<=0});function P(y=!0){var x,$;(x=R.value)==null||x.focus(),y&&(($=R.value)==null||$.select())}_e(()=>{P()});function I(y){y.pointerType==="mouse"&&P()}const A=oe(-1),_=oe(!1);Ve(g,y=>{A.value=y.length?0:-1,O()});function O(){he(()=>{const y=document.querySelector(".result.selected");y&&y.scrollIntoView({block:"nearest"})})}Fe("ArrowUp",y=>{y.preventDefault(),A.value--,A.value<0&&(A.value=g.value.length-1),_.value=!0,O()}),Fe("ArrowDown",y=>{y.preventDefault(),A.value++,A.value>=g.value.length&&(A.value=0),_.value=!0,O()});const w=Lt();Fe("Enter",y=>{if(y.target instanceof HTMLButtonElement&&y.target.type!=="submit")return;const x=g.value[A.value];if(y.target instanceof HTMLInputElement&&!x){y.preventDefault();return}x&&(w.go(x.id),t("close"))}),Fe("Escape",()=>{t("close")});const c={modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}},f=er((B=l.value.search)==null?void 0:B.options,c);_e(()=>{window.history.pushState(null,"",null)}),Pt("popstate",y=>{y.preventDefault(),t("close")});const p=zt(Bt?document.body:null);_e(()=>{he(()=>{p.value=!0,he().then(()=>s())})}),Vt(()=>{p.value=!1});function N(){v.value="",he().then(()=>P(!1))}function k(y){return new RegExp([...y].sort((x,$)=>$.length-x.length).map(x=>`(${x.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}return(y,x)=>{var $,K,G,Q;return ee(),$t(Ut,{to:"body"},[F("div",{ref_key:"el",ref:r,role:"button","aria-owns":($=g.value)!=null&&$.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[F("div",{class:"backdrop",onClick:x[0]||(x[0]=V=>y.$emit("close"))}),F("div",Ur,[F("form",{class:"search-bar",onPointerup:x[4]||(x[4]=V=>I(V)),onSubmit:x[5]||(x[5]=Wt(()=>{},["prevent"]))},[F("label",{title:E.value,id:"localsearch-label",for:"localsearch-input"},Qr,8,Hr),F("div",qr,[F("button",{class:"back-button",title:U(f)("modal.backButtonTitle"),onClick:x[1]||(x[1]=V=>y.$emit("close"))},Xr,8,Yr)]),jt(F("input",{ref_key:"searchInput",ref:R,"onUpdate:modelValue":x[2]||(x[2]=V=>Jt(v)?v.value=V:null),placeholder:E.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,en),[[Kt,U(v)]]),F("div",tn,[b.value?Ee("",!0):(ee(),re("button",{key:0,class:rt(["toggle-layout-button",{"detailed-list":U(m)}]),type:"button",title:U(f)("modal.displayDetails"),onClick:x[3]||(x[3]=V=>A.value>-1&&(m.value=!U(m)))},an,10,rn)),F("button",{class:"clear-button",type:"reset",disabled:L.value,title:U(f)("modal.resetButtonTitle"),onClick:N},un,8,on)])],32),F("ul",{ref_key:"resultsEl",ref:a,id:(K=g.value)!=null&&K.length?"localsearch-list":void 0,role:(G=g.value)!=null&&G.length?"listbox":void 0,"aria-labelledby":(Q=g.value)!=null&&Q.length?"localsearch-label":void 0,class:"results",onMousemove:x[7]||(x[7]=V=>_.value=!1)},[(ee(!0),re(at,null,nt(g.value,(V,J)=>(ee(),re("li",{key:V.id,role:"option","aria-selected":A.value===J?"true":"false"},[F("a",{href:V.id,class:rt(["result",{selected:A.value===J}]),"aria-label":[...V.titles,V.title].join(" > "),onMouseenter:Z=>!_.value&&(A.value=J),onFocusin:Z=>A.value=J,onClick:x[6]||(x[6]=Z=>y.$emit("close"))},[F("div",null,[F("div",dn,[hn,(ee(!0),re(at,null,nt(V.titles,(Z,De)=>(ee(),re("span",{key:De,class:"title"},[F("span",{class:"text",innerHTML:Z},null,8,vn),pn]))),128)),F("span",mn,[F("span",{class:"text",innerHTML:V.title},null,8,yn)])]),U(m)?(ee(),re("div",gn,[V.text?(ee(),re("div",bn,[F("div",{class:"vp-doc",innerHTML:V.text},null,8,wn)])):Ee("",!0),xn,Fn])):Ee("",!0)])],42,fn)],8,cn))),128)),U(v)&&!g.value.length&&S.value?(ee(),re("li",En,[ve(pe(U(f)("modal.noResultsText"))+' "',1),F("strong",null,pe(U(v)),1),ve('" ')])):Ee("",!0)],40,ln),F("div",Sn,[F("span",null,[F("kbd",{"aria-label":U(f)("modal.footer.navigateUpKeyAriaLabel")},Tn,8,An),F("kbd",{"aria-label":U(f)("modal.footer.navigateDownKeyAriaLabel")},In,8,kn),ve(" "+pe(U(f)("modal.footer.navigateText")),1)]),F("span",null,[F("kbd",{"aria-label":U(f)("modal.footer.selectKeyAriaLabel")},On,8,Dn),ve(" "+pe(U(f)("modal.footer.selectText")),1)]),F("span",null,[F("kbd",{"aria-label":U(f)("modal.footer.closeKeyAriaLabel")},"esc",8,Rn),ve(" "+pe(U(f)("modal.footer.closeText")),1)])])])],8,Jr)])}}});const Vn=Zt(Mn,[["__scopeId","data-v-b2c86af4"]]);export{Vn as default}; diff --git a/assets/chunks/framework.38a791dd.js b/assets/chunks/framework.38a791dd.js deleted file mode 100644 index 52cd038..0000000 --- a/assets/chunks/framework.38a791dd.js +++ /dev/null @@ -1,2 +0,0 @@ -function fr(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const te={},pt=[],Pe=()=>{},li=()=>!1,ci=/^on[^a-z]/,Vt=e=>ci.test(e),dr=e=>e.startsWith("onUpdate:"),ie=Object.assign,hr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ai=Object.prototype.hasOwnProperty,Y=(e,t)=>ai.call(e,t),k=Array.isArray,gt=e=>Cn(e)==="[object Map]",Bs=e=>Cn(e)==="[object Set]",K=e=>typeof e=="function",re=e=>typeof e=="string",pr=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",ks=e=>ee(e)&&K(e.then)&&K(e.catch),Us=Object.prototype.toString,Cn=e=>Us.call(e),ui=e=>Cn(e).slice(8,-1),Ks=e=>Cn(e)==="[object Object]",gr=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=fr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),En=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fi=/-(\w)/g,Ne=En(e=>e.replace(fi,(t,n)=>n?n.toUpperCase():"")),di=/\B([A-Z])/g,at=En(e=>e.replace(di,"-$1").toLowerCase()),xn=En(e=>e.charAt(0).toUpperCase()+e.slice(1)),an=En(e=>e?`on${xn(e)}`:""),jt=(e,t)=>!Object.is(e,t),un=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Jn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hi=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let Wr;const Xn=()=>Wr||(Wr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mr(e){if(k(e)){const t={};for(let n=0;n{if(n){const r=n.split(gi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _r(e){let t="";if(re(e))t=e;else if(k(e))for(let n=0;nre(e)?e:e==null?"":k(e)||ee(e)&&(e.toString===Us||!K(e.toString))?JSON.stringify(e,Vs,2):String(e),Vs=(e,t)=>t&&t.__v_isRef?Vs(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Bs(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!k(t)&&!Ks(t)?String(t):t;let be;class vi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},zs=e=>(e.w&Je)>0,Ys=e=>(e.n&Je)>0,Ei=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(f==="length"||f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":k(e)?gr(n)&&l.push(i.get("length")):(l.push(i.get(it)),gt(e)&&l.push(i.get(Zn)));break;case"delete":k(e)||(l.push(i.get(it)),gt(e)&&l.push(i.get(Zn)));break;case"set":gt(e)&&l.push(i.get(it));break}if(l.length===1)l[0]&&Gn(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Gn(yr(c))}}function Gn(e,t){const n=k(e)?e:[...e];for(const r of n)r.computed&&qr(r);for(const r of n)r.computed||qr(r)}function qr(e,t){(e!==Se||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Ti(e,t){var n;return(n=pn.get(e))==null?void 0:n.get(t)}const Ai=fr("__proto__,__v_isRef,__isVue"),Qs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pr)),Si=vr(),Oi=vr(!1,!0),Pi=vr(!0),zr=Ri();function Ri(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){xt();const r=J(this)[t].apply(this,n);return Tt(),r}}),e}function Mi(e){const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}function vr(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?zi:no:t?to:eo).get(r))return r;const i=k(r);if(!e){if(i&&Y(zr,s))return Reflect.get(zr,s,o);if(s==="hasOwnProperty")return Mi}const l=Reflect.get(r,s,o);return(pr(s)?Qs.has(s):Ai(s))||(e||me(r,"get",s),t)?l:ce(l)?i&&gr(s)?l:l.value:ee(l)?e?Sn(l):An(l):l}}const Fi=Zs(),Ii=Zs(!0);function Zs(e=!1){return function(n,r,s,o){let i=n[r];if(vt(i)&&ce(i)&&!ce(s))return!1;if(!e&&(!gn(s)&&!vt(s)&&(i=J(i),s=J(s)),!k(n)&&ce(i)&&!ce(s)))return i.value=s,!0;const l=k(n)&&gr(r)?Number(r)e,Tn=e=>Reflect.getPrototypeOf(e);function Xt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(t!==o&&me(s,"get",t),me(s,"get",o));const{has:i}=Tn(s),l=r?wr:n?xr:Dt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Qt(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(e!==s&&me(r,"has",e),me(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Zt(e,t=!1){return e=e.__v_raw,!t&&me(J(e),"iterate",it),Reflect.get(e,"size",e)}function Yr(e){e=J(e);const t=J(this);return Tn(t).has.call(t,e)||(t.add(e),je(t,"add",e,e)),this}function Jr(e,t){t=J(t);const n=J(this),{has:r,get:s}=Tn(n);let o=r.call(n,e);o||(e=J(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?jt(t,i)&&je(n,"set",e,t):je(n,"add",e,t),this}function Xr(e){const t=J(this),{has:n,get:r}=Tn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&je(t,"delete",e,void 0),o}function Qr(){const e=J(this),t=e.size!==0,n=e.clear();return t&&je(e,"clear",void 0,void 0),n}function Gt(e,t){return function(r,s){const o=this,i=o.__v_raw,l=J(i),c=t?wr:e?xr:Dt;return!e&&me(l,"iterate",it),i.forEach((a,f)=>r.call(s,c(a),c(f),o))}}function en(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=gt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=s[e](...r),f=n?wr:t?xr:Dt;return!t&&me(o,"iterate",c?Zn:it),{next(){const{value:h,done:g}=a.next();return g?{value:h,done:g}:{value:l?[f(h[0]),f(h[1])]:f(h),done:g}},[Symbol.iterator](){return this}}}}function ke(e){return function(...t){return e==="delete"?!1:this}}function Di(){const e={get(o){return Xt(this,o)},get size(){return Zt(this)},has:Qt,add:Yr,set:Jr,delete:Xr,clear:Qr,forEach:Gt(!1,!1)},t={get(o){return Xt(this,o,!1,!0)},get size(){return Zt(this)},has:Qt,add:Yr,set:Jr,delete:Xr,clear:Qr,forEach:Gt(!1,!0)},n={get(o){return Xt(this,o,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:ke("add"),set:ke("set"),delete:ke("delete"),clear:ke("clear"),forEach:Gt(!0,!1)},r={get(o){return Xt(this,o,!0,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:ke("add"),set:ke("set"),delete:ke("delete"),clear:ke("clear"),forEach:Gt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),r[o]=en(o,!0,!0)}),[e,n,t,r]}const[Bi,ki,Ui,Ki]=Di();function Cr(e,t){const n=t?e?Ki:Ui:e?ki:Bi;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Y(n,s)&&s in r?n:r,s,o)}const Wi={get:Cr(!1,!1)},Vi={get:Cr(!1,!0)},qi={get:Cr(!0,!1)},eo=new WeakMap,to=new WeakMap,no=new WeakMap,zi=new WeakMap;function Yi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ji(e){return e.__v_skip||!Object.isExtensible(e)?0:Yi(ui(e))}function An(e){return vt(e)?e:Er(e,!1,Gs,Wi,eo)}function Xi(e){return Er(e,!1,ji,Vi,to)}function Sn(e){return Er(e,!0,Hi,qi,no)}function Er(e,t,n,r,s){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Ji(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function mt(e){return vt(e)?mt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function gn(e){return!!(e&&e.__v_isShallow)}function ro(e){return mt(e)||vt(e)}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Ft(e){return hn(e,"__v_skip",!0),e}const Dt=e=>ee(e)?An(e):e,xr=e=>ee(e)?Sn(e):e;function Tr(e){qe&&Se&&(e=J(e),Xs(e.dep||(e.dep=yr())))}function Ar(e,t){e=J(e);const n=e.dep;n&&Gn(n)}function ce(e){return!!(e&&e.__v_isRef===!0)}function ae(e){return so(e,!1)}function Sr(e){return so(e,!0)}function so(e,t){return ce(e)?e:new Qi(e,t)}class Qi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Dt(t)}get value(){return Tr(this),this._value}set value(t){const n=this.__v_isShallow||gn(t)||vt(t);t=n?t:J(t),jt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Dt(t),Ar(this))}}function oo(e){return ce(e)?e.value:e}const Zi={get:(e,t,n)=>oo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ce(s)&&!ce(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function io(e){return mt(e)?e:new Proxy(e,Zi)}class Gi{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Tr(this),()=>Ar(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function el(e){return new Gi(e)}class tl{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 Ti(J(this._object),this._key)}}class nl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function rl(e,t,n){return ce(e)?e:K(e)?new nl(e):ee(e)&&arguments.length>1?sl(e,t,n):ae(e)}function sl(e,t,n){const r=e[t];return ce(r)?r:new tl(e,t,n)}class ol{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new br(t,()=>{this._dirty||(this._dirty=!0,Ar(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return Tr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function il(e,t,n=!1){let r,s;const o=K(e);return o?(r=e,s=Pe):(r=e.get,s=e.set),new ol(r,s,o||!s,n)}function ze(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){qt(o,t,n)}return s}function xe(e,t,n,r){if(K(e)){const o=ze(e,t,n,r);return o&&ks(o)&&o.catch(i=>{qt(i,t,n)}),o}const s=[];for(let o=0;o>>1;kt(de[r])Ie&&de.splice(t,1)}function ul(e){k(e)?_t.push(...e):(!He||!He.includes(e,e.allowRecurse?nt+1:nt))&&_t.push(e),co()}function Zr(e,t=Bt?Ie+1:0){for(;tkt(n)-kt(r)),nt=0;nte.id==null?1/0:e.id,fl=(e,t)=>{const n=kt(e)-kt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ao(e){er=!1,Bt=!0,de.sort(fl);const t=Pe;try{for(Ie=0;Iere(w)?w.trim():w)),h&&(s=n.map(Jn))}let l,c=r[l=an(t)]||r[l=an(Ne(t))];!c&&o&&(c=r[l=an(at(t))]),c&&xe(c,e,6,s);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(a,e,6,s)}}function uo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=a=>{const f=uo(a,t,!0);f&&(l=!0,ie(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ee(e)&&r.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):ie(i,o),ee(e)&&r.set(e,i),i)}function Rn(e,t){return!e||!Vt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,at(t))||Y(e,t))}let fe=null,Mn=null;function _n(e){const t=fe;return fe=e,Mn=e&&e.type.__scopeId||null,t}function Na(e){Mn=e}function $a(){Mn=null}function hl(e,t=fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&fs(-1);const o=_n(t);let i;try{i=e(...s)}finally{_n(o),r._d&&fs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Bn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:c,emit:a,render:f,renderCache:h,data:g,setupState:w,ctx:E,inheritAttrs:S}=e;let $,m;const y=_n(e);try{if(n.shapeFlag&4){const A=s||r;$=Ae(f.call(A,A,h,o,w,g,E)),m=c}else{const A=t;$=Ae(A.length>1?A(o,{attrs:c,slots:l,emit:a}):A(o,null)),m=t.props?c:pl(c)}}catch(A){$t.length=0,qt(A,e,1),$=se(ve)}let N=$;if(m&&S!==!1){const A=Object.keys(m),{shapeFlag:B}=N;A.length&&B&7&&(i&&A.some(dr)&&(m=gl(m,i)),N=Xe(N,m))}return n.dirs&&(N=Xe(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),$=N,_n(y),$}const pl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vt(n))&&((t||(t={}))[n]=e[n]);return t},gl=(e,t)=>{const n={};for(const r in e)(!dr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ml(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Gr(r,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function fo(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):ul(e)}function Pr(e,t){return Fn(e,null,t)}function Ha(e,t){return Fn(e,null,{flush:"post"})}const tn={};function Ye(e,t,n){return Fn(e,t,n)}function Fn(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=te){var l;const c=qs()===((l=le)==null?void 0:l.scope)?le:null;let a,f=!1,h=!1;if(ce(e)?(a=()=>e.value,f=gn(e)):mt(e)?(a=()=>e,r=!0):k(e)?(h=!0,f=e.some(A=>mt(A)||gn(A)),a=()=>e.map(A=>{if(ce(A))return A.value;if(mt(A))return ot(A);if(K(A))return ze(A,c,2)})):K(e)?t?a=()=>ze(e,c,2):a=()=>{if(!(c&&c.isUnmounted))return g&&g(),xe(e,c,3,[w])}:a=Pe,t&&r){const A=a;a=()=>ot(A())}let g,w=A=>{g=y.onStop=()=>{ze(A,c,4)}},E;if(Et)if(w=Pe,t?n&&xe(t,c,3,[a(),h?[]:void 0,w]):a(),s==="sync"){const A=pc();E=A.__watcherHandles||(A.__watcherHandles=[])}else return Pe;let S=h?new Array(e.length).fill(tn):tn;const $=()=>{if(y.active)if(t){const A=y.run();(r||f||(h?A.some((B,W)=>jt(B,S[W])):jt(A,S)))&&(g&&g(),xe(t,c,3,[A,S===tn?void 0:h&&S[0]===tn?[]:S,w]),S=A)}else y.run()};$.allowRecurse=!!t;let m;s==="sync"?m=$:s==="post"?m=()=>pe($,c&&c.suspense):($.pre=!0,c&&($.id=c.uid),m=()=>Pn($));const y=new br(a,m);t?n?$():S=y.run():s==="post"?pe(y.run.bind(y),c&&c.suspense):y.run();const N=()=>{y.stop(),c&&c.scope&&hr(c.scope.effects,y)};return E&&E.push(N),N}function bl(e,t,n){const r=this.proxy,s=re(e)?e.includes(".")?ho(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=le;Ct(this);const l=Fn(s,o.bind(r),n);return i?Ct(i):lt(),l}function ho(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{ot(n,t)});else if(Ks(e))for(const n in e)ot(e[n],t);return e}function ja(e,t){const n=fe;if(n===null)return e;const r=Hn(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),yo(()=>{e.isUnmounting=!0}),e}const we=[Function,Array],po={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},wl={name:"BaseTransition",props:po,setup(e,{slots:t}){const n=$n(),r=vl();let s;return()=>{const o=t.default&&mo(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const S of o)if(S.type!==ve){i=S;break}}const l=J(e),{mode:c}=l;if(r.isLeaving)return kn(i);const a=es(i);if(!a)return kn(i);const f=tr(a,l,r,n);nr(a,f);const h=n.subTree,g=h&&es(h);let w=!1;const{getTransitionKey:E}=a.type;if(E){const S=E();s===void 0?s=S:S!==s&&(s=S,w=!0)}if(g&&g.type!==ve&&(!rt(a,g)||w)){const S=tr(g,l,r,n);if(nr(g,S),c==="out-in")return r.isLeaving=!0,S.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},kn(i);c==="in-out"&&a.type!==ve&&(S.delayLeave=($,m,y)=>{const N=go(r,g);N[String(g.key)]=g,$._leaveCb=()=>{m(),$._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=y})}return i}}},Cl=wl;function go(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 tr(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:g,onAfterLeave:w,onLeaveCancelled:E,onBeforeAppear:S,onAppear:$,onAfterAppear:m,onAppearCancelled:y}=t,N=String(e.key),A=go(n,e),B=(_,R)=>{_&&xe(_,r,9,R)},W=(_,R)=>{const I=R[1];B(_,R),k(_)?_.every(V=>V.length<=1)&&I():_.length<=1&&I()},D={mode:o,persisted:i,beforeEnter(_){let R=l;if(!n.isMounted)if(s)R=S||l;else return;_._leaveCb&&_._leaveCb(!0);const I=A[N];I&&rt(e,I)&&I.el._leaveCb&&I.el._leaveCb(),B(R,[_])},enter(_){let R=c,I=a,V=f;if(!n.isMounted)if(s)R=$||c,I=m||a,V=y||f;else return;let M=!1;const q=_._enterCb=L=>{M||(M=!0,L?B(V,[_]):B(I,[_]),D.delayedLeave&&D.delayedLeave(),_._enterCb=void 0)};R?W(R,[_,q]):q()},leave(_,R){const I=String(e.key);if(_._enterCb&&_._enterCb(!0),n.isUnmounting)return R();B(h,[_]);let V=!1;const M=_._leaveCb=q=>{V||(V=!0,R(),q?B(E,[_]):B(w,[_]),_._leaveCb=void 0,A[I]===e&&delete A[I])};A[I]=e,g?W(g,[_,M]):M()},clone(_){return tr(_,t,n,r)}};return D}function kn(e){if(zt(e))return e=Xe(e),e.children=null,e}function es(e){return zt(e)?e.children?e.children[0]:void 0:e}function nr(e,t){e.shapeFlag&6&&e.component?nr(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 mo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oie({name:e.name},t,{setup:e}))():e}const yt=e=>!!e.type.__asyncLoader;function Da(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,a,f=0;const h=()=>(f++,c=null,g()),g=()=>{let w;return c||(w=c=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),l)return new Promise((S,$)=>{l(E,()=>S(h()),()=>$(E),f+1)});throw E}).then(E=>w!==c&&c?c:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Rr({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return a},setup(){const w=le;if(a)return()=>Un(a,w);const E=y=>{c=null,qt(y,w,13,!r)};if(i&&w.suspense||Et)return g().then(y=>()=>Un(y,w)).catch(y=>(E(y),()=>r?se(r,{error:y}):null));const S=ae(!1),$=ae(),m=ae(!!s);return s&&setTimeout(()=>{m.value=!1},s),o!=null&&setTimeout(()=>{if(!S.value&&!$.value){const y=new Error(`Async component timed out after ${o}ms.`);E(y),$.value=y}},o),g().then(()=>{S.value=!0,w.parent&&zt(w.parent.vnode)&&Pn(w.parent.update)}).catch(y=>{E(y),$.value=y}),()=>{if(S.value&&a)return Un(a,w);if($.value&&r)return se(r,{error:$.value});if(n&&!m.value)return se(n)}}})}function Un(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=se(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const zt=e=>e.type.__isKeepAlive;function El(e,t){_o(e,"a",t)}function xl(e,t){_o(e,"da",t)}function _o(e,t,n=le){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(In(t,r,n),n){let s=n.parent;for(;s&&s.parent;)zt(s.parent.vnode)&&Tl(r,t,n,s),s=s.parent}}function Tl(e,t,n,r){const s=In(t,e,r,!0);Ln(()=>{hr(r[t],s)},n)}function In(e,t,n=le,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;xt(),Ct(n);const l=xe(t,n,e,i);return lt(),Tt(),l});return r?s.unshift(o):s.push(o),o}}const Be=e=>(t,n=le)=>(!Et||e==="sp")&&In(e,(...r)=>t(...r),n),Al=Be("bm"),At=Be("m"),Sl=Be("bu"),Ol=Be("u"),yo=Be("bum"),Ln=Be("um"),Pl=Be("sp"),Rl=Be("rtg"),Ml=Be("rtc");function Fl(e,t=le){In("ec",e,t)}const Mr="components";function Ba(e,t){return vo(Mr,e,!0,t)||e}const bo=Symbol.for("v-ndc");function ka(e){return re(e)?vo(Mr,e,!1)||e:e||bo}function vo(e,t,n=!0,r=!1){const s=fe||le;if(s){const o=s.type;if(e===Mr){const l=fc(o,!1);if(l&&(l===t||l===Ne(t)||l===xn(Ne(t))))return o}const i=ts(s[e]||o[e],t)||ts(s.appContext[e],t);return!i&&r?o:i}}function ts(e,t){return e&&(e[t]||e[Ne(t)]||e[xn(Ne(t))])}function Ua(e,t,n,r){let s;const o=n&&n[r];if(k(e)||re(e)){s=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;lwn(t)?!(t.type===ve||t.type===ge&&!wo(t.children)):!0)?e:null}function Wa(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:an(r)]=e[r];return n}const rr=e=>e?Ho(e)?Hn(e)||e.proxy:rr(e.parent):null,It=ie(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=>rr(e.parent),$root:e=>rr(e.root),$emit:e=>e.emit,$options:e=>Fr(e),$forceUpdate:e=>e.f||(e.f=()=>Pn(e.update)),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>bl.bind(e)}),Kn=(e,t)=>e!==te&&!e.__isScriptSetup&&Y(e,t),Il={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const w=i[t];if(w!==void 0)switch(w){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Kn(r,t))return i[t]=1,r[t];if(s!==te&&Y(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&Y(a,t))return i[t]=3,o[t];if(n!==te&&Y(n,t))return i[t]=4,n[t];sr&&(i[t]=0)}}const f=It[t];let h,g;if(f)return t==="$attrs"&&me(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&Y(n,t))return i[t]=4,n[t];if(g=c.config.globalProperties,Y(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Kn(s,t)?(s[t]=n,!0):r!==te&&Y(r,t)?(r[t]=n,!0):Y(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}},i){let l;return!!n[i]||e!==te&&Y(e,i)||Kn(t,i)||(l=o[0])&&Y(l,i)||Y(r,i)||Y(It,i)||Y(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Va(){return Ll().slots}function Ll(){const e=$n();return e.setupContext||(e.setupContext=Do(e))}function ns(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let sr=!0;function Nl(e){const t=Fr(e),n=e.proxy,r=e.ctx;sr=!1,t.beforeCreate&&rs(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:g,beforeUpdate:w,updated:E,activated:S,deactivated:$,beforeDestroy:m,beforeUnmount:y,destroyed:N,unmounted:A,render:B,renderTracked:W,renderTriggered:D,errorCaptured:_,serverPrefetch:R,expose:I,inheritAttrs:V,components:M,directives:q,filters:L}=t;if(a&&$l(a,r,null),i)for(const ne in i){const Z=i[ne];K(Z)&&(r[ne]=Z.bind(n))}if(s){const ne=s.call(n,n);ee(ne)&&(e.data=An(ne))}if(sr=!0,o)for(const ne in o){const Z=o[ne],Qe=K(Z)?Z.bind(n,n):K(Z.get)?Z.get.bind(n,n):Pe,Yt=!K(Z)&&K(Z.set)?Z.set.bind(n):Pe,Ze=ue({get:Qe,set:Yt});Object.defineProperty(r,ne,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:Re=>Ze.value=Re})}if(l)for(const ne in l)Co(l[ne],r,n,ne);if(c){const ne=K(c)?c.call(n):c;Reflect.ownKeys(ne).forEach(Z=>{Ul(Z,ne[Z])})}f&&rs(f,e,"c");function X(ne,Z){k(Z)?Z.forEach(Qe=>ne(Qe.bind(n))):Z&&ne(Z.bind(n))}if(X(Al,h),X(At,g),X(Sl,w),X(Ol,E),X(El,S),X(xl,$),X(Fl,_),X(Ml,W),X(Rl,D),X(yo,y),X(Ln,A),X(Pl,R),k(I))if(I.length){const ne=e.exposed||(e.exposed={});I.forEach(Z=>{Object.defineProperty(ne,Z,{get:()=>n[Z],set:Qe=>n[Z]=Qe})})}else e.exposed||(e.exposed={});B&&e.render===Pe&&(e.render=B),V!=null&&(e.inheritAttrs=V),M&&(e.components=M),q&&(e.directives=q)}function $l(e,t,n=Pe){k(e)&&(e=or(e));for(const r in e){const s=e[r];let o;ee(s)?"default"in s?o=bt(s.from||r,s.default,!0):o=bt(s.from||r):o=bt(s),ce(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function rs(e,t,n){xe(k(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Co(e,t,n,r){const s=r.includes(".")?ho(n,r):()=>n[r];if(re(e)){const o=t[e];K(o)&&Ye(s,o)}else if(K(e))Ye(s,e.bind(n));else if(ee(e))if(k(e))e.forEach(o=>Co(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Ye(s,o,e)}}function Fr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(a=>yn(c,a,i,!0)),yn(c,t,i)),ee(t)&&o.set(t,c),c}function yn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&yn(e,o,n,!0),s&&s.forEach(i=>yn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Hl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Hl={data:ss,props:os,emits:os,methods:Rt,computed:Rt,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:Rt,directives:Rt,watch:Dl,provide:ss,inject:jl};function ss(e,t){return t?e?function(){return ie(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function jl(e,t){return Rt(or(e),or(t))}function or(e){if(k(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}function Kl(e,t,n,r=!1){const s={},o={};hn(o,Nn,1),e.propsDefaults=Object.create(null),xo(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Xi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Wl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[g,w]=To(h,t,!0);ie(i,g),w&&l.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return ee(e)&&r.set(e,pt),pt;if(k(o))for(let f=0;f-1,w[1]=S<0||E-1||Y(w,"default"))&&l.push(h)}}}const a=[i,l];return ee(e)&&r.set(e,a),a}function is(e){return e[0]!=="$"}function ls(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function cs(e,t){return ls(e)===ls(t)}function as(e,t){return k(t)?t.findIndex(n=>cs(n,e)):K(t)&&cs(t,e)?0:-1}const Ao=e=>e[0]==="_"||e==="$stable",Ir=e=>k(e)?e.map(Ae):[Ae(e)],Vl=(e,t,n)=>{if(t._n)return t;const r=hl((...s)=>Ir(t(...s)),n);return r._c=!1,r},So=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ao(s))continue;const o=e[s];if(K(o))t[s]=Vl(s,o,r);else if(o!=null){const i=Ir(o);t[s]=()=>i}}},Oo=(e,t)=>{const n=Ir(t);e.slots.default=()=>n},ql=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=J(t),hn(t,"_",n)):So(t,e.slots={})}else e.slots={},t&&Oo(e,t);hn(e.slots,Nn,1)},zl=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=te;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ie(s,t),!n&&l===1&&delete s._):(o=!t.$stable,So(t,s)),i=t}else t&&(Oo(e,t),i={default:1});if(o)for(const l in s)!Ao(l)&&!(l in i)&&delete s[l]};function vn(e,t,n,r,s=!1){if(k(e)){e.forEach((g,w)=>vn(g,t&&(k(t)?t[w]:t),n,r,s));return}if(yt(r)&&!s)return;const o=r.shapeFlag&4?Hn(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(re(a)?(f[a]=null,Y(h,a)&&(h[a]=null)):ce(a)&&(a.value=null)),K(c))ze(c,l,12,[i,f]);else{const g=re(c),w=ce(c);if(g||w){const E=()=>{if(e.f){const S=g?Y(h,c)?h[c]:f[c]:c.value;s?k(S)&&hr(S,o):k(S)?S.includes(o)||S.push(o):g?(f[c]=[o],Y(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else g?(f[c]=i,Y(h,c)&&(h[c]=i)):w&&(c.value=i,e.k&&(f[e.k]=i))};i?(E.id=-1,pe(E,n)):E()}}}let Ue=!1;const nn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",rn=e=>e.nodeType===8;function Yl(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:a}}=e,f=(m,y)=>{if(!y.hasChildNodes()){n(null,m,y),mn(),y._vnode=m;return}Ue=!1,h(y.firstChild,m,null,null,null),mn(),y._vnode=m,Ue&&console.error("Hydration completed but contains mismatches.")},h=(m,y,N,A,B,W=!1)=>{const D=rn(m)&&m.data==="[",_=()=>S(m,y,N,A,B,D),{type:R,ref:I,shapeFlag:V,patchFlag:M}=y;let q=m.nodeType;y.el=m,M===-2&&(W=!1,y.dynamicChildren=null);let L=null;switch(R){case wt:q!==3?y.children===""?(c(y.el=s(""),i(m),m),L=m):L=_():(m.data!==y.children&&(Ue=!0,m.data=y.children),L=o(m));break;case ve:q!==8||D?L=_():L=o(m);break;case Nt:if(D&&(m=o(m),q=m.nodeType),q===1||q===3){L=m;const _e=!y.children.length;for(let X=0;X{W=W||!!y.dynamicChildren;const{type:D,props:_,patchFlag:R,shapeFlag:I,dirs:V}=y,M=D==="input"&&V||D==="option";if(M||R!==-1){if(V&&Fe(y,null,N,"created"),_)if(M||!W||R&48)for(const L in _)(M&&L.endsWith("value")||Vt(L)&&!Mt(L))&&r(m,L,null,_[L],!1,void 0,N);else _.onClick&&r(m,"onClick",null,_.onClick,!1,void 0,N);let q;if((q=_&&_.onVnodeBeforeMount)&&Ce(q,N,y),V&&Fe(y,null,N,"beforeMount"),((q=_&&_.onVnodeMounted)||V)&&fo(()=>{q&&Ce(q,N,y),V&&Fe(y,null,N,"mounted")},A),I&16&&!(_&&(_.innerHTML||_.textContent))){let L=w(m.firstChild,y,m,N,A,B,W);for(;L;){Ue=!0;const _e=L;L=L.nextSibling,l(_e)}}else I&8&&m.textContent!==y.children&&(Ue=!0,m.textContent=y.children)}return m.nextSibling},w=(m,y,N,A,B,W,D)=>{D=D||!!y.dynamicChildren;const _=y.children,R=_.length;for(let I=0;I{const{slotScopeIds:D}=y;D&&(B=B?B.concat(D):D);const _=i(m),R=w(o(m),y,_,N,A,B,W);return R&&rn(R)&&R.data==="]"?o(y.anchor=R):(Ue=!0,c(y.anchor=a("]"),_,R),R)},S=(m,y,N,A,B,W)=>{if(Ue=!0,y.el=null,W){const R=$(m);for(;;){const I=o(m);if(I&&I!==R)l(I);else break}}const D=o(m),_=i(m);return l(m),n(null,y,_,D,N,A,nn(_),B),D},$=m=>{let y=0;for(;m;)if(m=o(m),m&&rn(m)&&(m.data==="["&&y++,m.data==="]")){if(y===0)return o(m);y--}return m};return[f,h]}const pe=fo;function Jl(e){return Po(e)}function Xl(e){return Po(e,Yl)}function Po(e,t){const n=Xn();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:g,setScopeId:w=Pe,insertStaticContent:E}=e,S=(u,d,p,v=null,b=null,T=null,P=!1,x=null,O=!!d.dynamicChildren)=>{if(u===d)return;u&&!rt(u,d)&&(v=Jt(u),Re(u,b,T,!0),u=null),d.patchFlag===-2&&(O=!1,d.dynamicChildren=null);const{type:C,ref:H,shapeFlag:F}=d;switch(C){case wt:$(u,d,p,v);break;case ve:m(u,d,p,v);break;case Nt:u==null&&y(d,p,v,P);break;case ge:M(u,d,p,v,b,T,P,x,O);break;default:F&1?B(u,d,p,v,b,T,P,x,O):F&6?q(u,d,p,v,b,T,P,x,O):(F&64||F&128)&&C.process(u,d,p,v,b,T,P,x,O,ut)}H!=null&&b&&vn(H,u&&u.ref,T,d||u,!d)},$=(u,d,p,v)=>{if(u==null)r(d.el=l(d.children),p,v);else{const b=d.el=u.el;d.children!==u.children&&a(b,d.children)}},m=(u,d,p,v)=>{u==null?r(d.el=c(d.children||""),p,v):d.el=u.el},y=(u,d,p,v)=>{[u.el,u.anchor]=E(u.children,d,p,v,u.el,u.anchor)},N=({el:u,anchor:d},p,v)=>{let b;for(;u&&u!==d;)b=g(u),r(u,p,v),u=b;r(d,p,v)},A=({el:u,anchor:d})=>{let p;for(;u&&u!==d;)p=g(u),s(u),u=p;s(d)},B=(u,d,p,v,b,T,P,x,O)=>{P=P||d.type==="svg",u==null?W(d,p,v,b,T,P,x,O):R(u,d,b,T,P,x,O)},W=(u,d,p,v,b,T,P,x)=>{let O,C;const{type:H,props:F,shapeFlag:j,transition:U,dirs:z}=u;if(O=u.el=i(u.type,T,F&&F.is,F),j&8?f(O,u.children):j&16&&_(u.children,O,null,v,b,T&&H!=="foreignObject",P,x),z&&Fe(u,null,v,"created"),D(O,u,u.scopeId,P,v),F){for(const Q in F)Q!=="value"&&!Mt(Q)&&o(O,Q,null,F[Q],T,u.children,v,b,$e);"value"in F&&o(O,"value",null,F.value),(C=F.onVnodeBeforeMount)&&Ce(C,v,u)}z&&Fe(u,null,v,"beforeMount");const G=(!b||b&&!b.pendingBranch)&&U&&!U.persisted;G&&U.beforeEnter(O),r(O,d,p),((C=F&&F.onVnodeMounted)||G||z)&&pe(()=>{C&&Ce(C,v,u),G&&U.enter(O),z&&Fe(u,null,v,"mounted")},b)},D=(u,d,p,v,b)=>{if(p&&w(u,p),v)for(let T=0;T{for(let C=O;C{const x=d.el=u.el;let{patchFlag:O,dynamicChildren:C,dirs:H}=d;O|=u.patchFlag&16;const F=u.props||te,j=d.props||te;let U;p&&Ge(p,!1),(U=j.onVnodeBeforeUpdate)&&Ce(U,p,d,u),H&&Fe(d,u,p,"beforeUpdate"),p&&Ge(p,!0);const z=b&&d.type!=="foreignObject";if(C?I(u.dynamicChildren,C,x,p,v,z,T):P||Z(u,d,x,null,p,v,z,T,!1),O>0){if(O&16)V(x,d,F,j,p,v,b);else if(O&2&&F.class!==j.class&&o(x,"class",null,j.class,b),O&4&&o(x,"style",F.style,j.style,b),O&8){const G=d.dynamicProps;for(let Q=0;Q{U&&Ce(U,p,d,u),H&&Fe(d,u,p,"updated")},v)},I=(u,d,p,v,b,T,P)=>{for(let x=0;x{if(p!==v){if(p!==te)for(const x in p)!Mt(x)&&!(x in v)&&o(u,x,p[x],null,P,d.children,b,T,$e);for(const x in v){if(Mt(x))continue;const O=v[x],C=p[x];O!==C&&x!=="value"&&o(u,x,C,O,P,d.children,b,T,$e)}"value"in v&&o(u,"value",p.value,v.value)}},M=(u,d,p,v,b,T,P,x,O)=>{const C=d.el=u?u.el:l(""),H=d.anchor=u?u.anchor:l("");let{patchFlag:F,dynamicChildren:j,slotScopeIds:U}=d;U&&(x=x?x.concat(U):U),u==null?(r(C,p,v),r(H,p,v),_(d.children,p,H,b,T,P,x,O)):F>0&&F&64&&j&&u.dynamicChildren?(I(u.dynamicChildren,j,p,b,T,P,x),(d.key!=null||b&&d===b.subTree)&&Lr(u,d,!0)):Z(u,d,p,H,b,T,P,x,O)},q=(u,d,p,v,b,T,P,x,O)=>{d.slotScopeIds=x,u==null?d.shapeFlag&512?b.ctx.activate(d,p,v,P,O):L(d,p,v,b,T,P,O):_e(u,d,O)},L=(u,d,p,v,b,T,P)=>{const x=u.component=lc(u,v,b);if(zt(u)&&(x.ctx.renderer=ut),cc(x),x.asyncDep){if(b&&b.registerDep(x,X),!u.el){const O=x.subTree=se(ve);m(null,O,d,p)}return}X(x,u,d,p,b,T,P)},_e=(u,d,p)=>{const v=d.component=u.component;if(ml(u,d,p))if(v.asyncDep&&!v.asyncResolved){ne(v,d,p);return}else v.next=d,al(v.update),v.update();else d.el=u.el,v.vnode=d},X=(u,d,p,v,b,T,P)=>{const x=()=>{if(u.isMounted){let{next:H,bu:F,u:j,parent:U,vnode:z}=u,G=H,Q;Ge(u,!1),H?(H.el=z.el,ne(u,H,P)):H=z,F&&un(F),(Q=H.props&&H.props.onVnodeBeforeUpdate)&&Ce(Q,U,H,z),Ge(u,!0);const oe=Bn(u),Te=u.subTree;u.subTree=oe,S(Te,oe,h(Te.el),Jt(Te),u,b,T),H.el=oe.el,G===null&&_l(u,oe.el),j&&pe(j,b),(Q=H.props&&H.props.onVnodeUpdated)&&pe(()=>Ce(Q,U,H,z),b)}else{let H;const{el:F,props:j}=d,{bm:U,m:z,parent:G}=u,Q=yt(d);if(Ge(u,!1),U&&un(U),!Q&&(H=j&&j.onVnodeBeforeMount)&&Ce(H,G,d),Ge(u,!0),F&&Dn){const oe=()=>{u.subTree=Bn(u),Dn(F,u.subTree,u,b,null)};Q?d.type.__asyncLoader().then(()=>!u.isUnmounted&&oe()):oe()}else{const oe=u.subTree=Bn(u);S(null,oe,p,v,u,b,T),d.el=oe.el}if(z&&pe(z,b),!Q&&(H=j&&j.onVnodeMounted)){const oe=d;pe(()=>Ce(H,G,oe),b)}(d.shapeFlag&256||G&&yt(G.vnode)&&G.vnode.shapeFlag&256)&&u.a&&pe(u.a,b),u.isMounted=!0,d=p=v=null}},O=u.effect=new br(x,()=>Pn(C),u.scope),C=u.update=()=>O.run();C.id=u.uid,Ge(u,!0),C()},ne=(u,d,p)=>{d.component=u;const v=u.vnode.props;u.vnode=d,u.next=null,Wl(u,d.props,v,p),zl(u,d.children,p),xt(),Zr(),Tt()},Z=(u,d,p,v,b,T,P,x,O=!1)=>{const C=u&&u.children,H=u?u.shapeFlag:0,F=d.children,{patchFlag:j,shapeFlag:U}=d;if(j>0){if(j&128){Yt(C,F,p,v,b,T,P,x,O);return}else if(j&256){Qe(C,F,p,v,b,T,P,x,O);return}}U&8?(H&16&&$e(C,b,T),F!==C&&f(p,F)):H&16?U&16?Yt(C,F,p,v,b,T,P,x,O):$e(C,b,T,!0):(H&8&&f(p,""),U&16&&_(F,p,v,b,T,P,x,O))},Qe=(u,d,p,v,b,T,P,x,O)=>{u=u||pt,d=d||pt;const C=u.length,H=d.length,F=Math.min(C,H);let j;for(j=0;jH?$e(u,b,T,!0,!1,F):_(d,p,v,b,T,P,x,O,F)},Yt=(u,d,p,v,b,T,P,x,O)=>{let C=0;const H=d.length;let F=u.length-1,j=H-1;for(;C<=F&&C<=j;){const U=u[C],z=d[C]=O?Ve(d[C]):Ae(d[C]);if(rt(U,z))S(U,z,p,null,b,T,P,x,O);else break;C++}for(;C<=F&&C<=j;){const U=u[F],z=d[j]=O?Ve(d[j]):Ae(d[j]);if(rt(U,z))S(U,z,p,null,b,T,P,x,O);else break;F--,j--}if(C>F){if(C<=j){const U=j+1,z=Uj)for(;C<=F;)Re(u[C],b,T,!0),C++;else{const U=C,z=C,G=new Map;for(C=z;C<=j;C++){const ye=d[C]=O?Ve(d[C]):Ae(d[C]);ye.key!=null&&G.set(ye.key,C)}let Q,oe=0;const Te=j-z+1;let ft=!1,kr=0;const St=new Array(Te);for(C=0;C=Te){Re(ye,b,T,!0);continue}let Me;if(ye.key!=null)Me=G.get(ye.key);else for(Q=z;Q<=j;Q++)if(St[Q-z]===0&&rt(ye,d[Q])){Me=Q;break}Me===void 0?Re(ye,b,T,!0):(St[Me-z]=C+1,Me>=kr?kr=Me:ft=!0,S(ye,d[Me],p,null,b,T,P,x,O),oe++)}const Ur=ft?Ql(St):pt;for(Q=Ur.length-1,C=Te-1;C>=0;C--){const ye=z+C,Me=d[ye],Kr=ye+1{const{el:T,type:P,transition:x,children:O,shapeFlag:C}=u;if(C&6){Ze(u.component.subTree,d,p,v);return}if(C&128){u.suspense.move(d,p,v);return}if(C&64){P.move(u,d,p,ut);return}if(P===ge){r(T,d,p);for(let F=0;Fx.enter(T),b);else{const{leave:F,delayLeave:j,afterLeave:U}=x,z=()=>r(T,d,p),G=()=>{F(T,()=>{z(),U&&U()})};j?j(T,z,G):G()}else r(T,d,p)},Re=(u,d,p,v=!1,b=!1)=>{const{type:T,props:P,ref:x,children:O,dynamicChildren:C,shapeFlag:H,patchFlag:F,dirs:j}=u;if(x!=null&&vn(x,null,p,u,!0),H&256){d.ctx.deactivate(u);return}const U=H&1&&j,z=!yt(u);let G;if(z&&(G=P&&P.onVnodeBeforeUnmount)&&Ce(G,d,u),H&6)ii(u.component,p,v);else{if(H&128){u.suspense.unmount(p,v);return}U&&Fe(u,null,d,"beforeUnmount"),H&64?u.type.remove(u,d,p,b,ut,v):C&&(T!==ge||F>0&&F&64)?$e(C,d,p,!1,!0):(T===ge&&F&384||!b&&H&16)&&$e(O,d,p),v&&Dr(u)}(z&&(G=P&&P.onVnodeUnmounted)||U)&&pe(()=>{G&&Ce(G,d,u),U&&Fe(u,null,d,"unmounted")},p)},Dr=u=>{const{type:d,el:p,anchor:v,transition:b}=u;if(d===ge){oi(p,v);return}if(d===Nt){A(u);return}const T=()=>{s(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:P,delayLeave:x}=b,O=()=>P(p,T);x?x(u.el,T,O):O()}else T()},oi=(u,d)=>{let p;for(;u!==d;)p=g(u),s(u),u=p;s(d)},ii=(u,d,p)=>{const{bum:v,scope:b,update:T,subTree:P,um:x}=u;v&&un(v),b.stop(),T&&(T.active=!1,Re(P,u,d,p)),x&&pe(x,d),pe(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},$e=(u,d,p,v=!1,b=!1,T=0)=>{for(let P=T;Pu.shapeFlag&6?Jt(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),Br=(u,d,p)=>{u==null?d._vnode&&Re(d._vnode,null,null,!0):S(d._vnode||null,u,d,null,null,null,p),Zr(),mn(),d._vnode=u},ut={p:S,um:Re,m:Ze,r:Dr,mt:L,mc:_,pc:Z,pbc:I,n:Jt,o:e};let jn,Dn;return t&&([jn,Dn]=t(ut)),{render:Br,hydrate:jn,createApp:kl(Br,jn)}}function Ge({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Lr(e,t,n=!1){const r=e.children,s=t.children;if(k(r)&&k(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Zl=e=>e.__isTeleport,Lt=e=>e&&(e.disabled||e.disabled===""),us=e=>typeof SVGElement<"u"&&e instanceof SVGElement,lr=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},Gl={__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,a){const{mc:f,pc:h,pbc:g,o:{insert:w,querySelector:E,createText:S,createComment:$}}=a,m=Lt(t.props);let{shapeFlag:y,children:N,dynamicChildren:A}=t;if(e==null){const B=t.el=S(""),W=t.anchor=S("");w(B,n,r),w(W,n,r);const D=t.target=lr(t.props,E),_=t.targetAnchor=S("");D&&(w(_,D),i=i||us(D));const R=(I,V)=>{y&16&&f(N,I,V,s,o,i,l,c)};m?R(n,W):D&&R(D,_)}else{t.el=e.el;const B=t.anchor=e.anchor,W=t.target=e.target,D=t.targetAnchor=e.targetAnchor,_=Lt(e.props),R=_?n:W,I=_?B:D;if(i=i||us(W),A?(g(e.dynamicChildren,A,R,s,o,i,l),Lr(e,t,!0)):c||h(e,t,R,I,s,o,i,l,!1),m)_||sn(t,n,B,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const V=t.target=lr(t.props,E);V&&sn(t,V,null,a,0)}else _&&sn(t,W,D,a,1)}Ro(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:g}=e;if(h&&o(f),(i||!Lt(g))&&(o(a),l&16))for(let w=0;w0?Oe||pt:null,tc(),Ut>0&&Oe&&Oe.push(e),e}function za(e,t,n,r,s,o){return Fo(No(e,t,n,r,s,o,!0))}function Io(e,t,n,r,s){return Fo(se(e,t,n,r,s,!0))}function wn(e){return e?e.__v_isVNode===!0:!1}function rt(e,t){return e.type===t.type&&e.key===t.key}const Nn="__vInternal",Lo=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||ce(e)||K(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function No(e,t=null,n=null,r=0,s=null,o=e===ge?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Lo(t),ref:t&&fn(t),scopeId:Mn,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:fe};return l?(Nr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Ut>0&&!i&&Oe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Oe.push(c),c}const se=nc;function nc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===bo)&&(e=ve),wn(e)){const l=Xe(e,t,!0);return n&&Nr(l,n),Ut>0&&!o&&Oe&&(l.shapeFlag&6?Oe[Oe.indexOf(e)]=l:Oe.push(l)),l.patchFlag|=-2,l}if(dc(e)&&(e=e.__vccOpts),t){t=rc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=_r(l)),ee(c)&&(ro(c)&&!k(c)&&(c=ie({},c)),t.style=mr(c))}const i=re(e)?1:yl(e)?128:Zl(e)?64:ee(e)?4:K(e)?2:0;return No(e,t,n,r,s,i,o,!0)}function rc(e){return e?ro(e)||Nn in e?ie({},e):e:null}function Xe(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?sc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Lo(l),ref:t&&t.ref?n&&s?k(s)?s.concat(fn(t)):[s,fn(t)]:fn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?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&&Xe(e.ssContent),ssFallback:e.ssFallback&&Xe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $o(e=" ",t=0){return se(wt,null,e,t)}function Ya(e,t){const n=se(Nt,null,e);return n.staticCount=t,n}function Ja(e="",t=!1){return t?(Mo(),Io(ve,null,e)):se(ve,null,e)}function Ae(e){return e==null||typeof e=="boolean"?se(ve):k(e)?se(ge,null,e.slice()):typeof e=="object"?Ve(e):se(wt,null,String(e))}function Ve(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xe(e)}function Nr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Nr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Nn in t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),r&64?(n=16,t=[$o(t)]):n=8);e.children=t,e.shapeFlag|=n}function sc(...e){const t={};for(let n=0;nle||fe;let $r,dt,ds="__VUE_INSTANCE_SETTERS__";(dt=Xn()[ds])||(dt=Xn()[ds]=[]),dt.push(e=>le=e),$r=e=>{dt.length>1?dt.forEach(t=>t(e)):dt[0](e)};const Ct=e=>{$r(e),e.scope.on()},lt=()=>{le&&le.scope.off(),$r(null)};function Ho(e){return e.vnode.shapeFlag&4}let Et=!1;function cc(e,t=!1){Et=t;const{props:n,children:r}=e.vnode,s=Ho(e);Kl(e,n,s,t),ql(e,r);const o=s?ac(e,t):void 0;return Et=!1,o}function ac(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ft(new Proxy(e.ctx,Il));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Do(e):null;Ct(e),xt();const o=ze(r,e,0,[e.props,s]);if(Tt(),lt(),ks(o)){if(o.then(lt,lt),t)return o.then(i=>{hs(e,i,t)}).catch(i=>{qt(i,e,0)});e.asyncDep=o}else hs(e,o,t)}else jo(e,t)}function hs(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=io(t)),jo(e,n)}let ps;function jo(e,t,n){const r=e.type;if(!e.render){if(!t&&ps&&!r.render){const s=r.template||Fr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,a=ie(ie({isCustomElement:o,delimiters:l},i),c);r.render=ps(s,a)}}e.render=r.render||Pe}Ct(e),xt(),Nl(e),Tt(),lt()}function uc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return me(e,"get","$attrs"),t[n]}}))}function Do(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return uc(e)},slots:e.slots,emit:e.emit,expose:t}}function Hn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(io(Ft(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}}))}function fc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function dc(e){return K(e)&&"__vccOpts"in e}const ue=(e,t)=>il(e,t,Et);function cr(e,t,n){const r=arguments.length;return r===2?ee(t)&&!k(t)?wn(t)?se(e,null,[t]):se(e,t):se(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&wn(n)&&(n=[n]),se(e,t,n))}const hc=Symbol.for("v-scx"),pc=()=>bt(hc),gc="3.3.4",mc="http://www.w3.org/2000/svg",st=typeof document<"u"?document:null,gs=st&&st.createElement("template"),_c={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?st.createElementNS(mc,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{gs.innerHTML=r?`${e}`:e;const l=gs.content;if(r){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function yc(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function bc(e,t,n){const r=e.style,s=re(n);if(n&&!s){if(t&&!re(t))for(const o in t)n[o]==null&&ar(r,o,"");for(const o in n)ar(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const ms=/\s*!important$/;function ar(e,t,n){if(k(n))n.forEach(r=>ar(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=vc(e,t);ms.test(n)?e.setProperty(at(r),n.replace(ms,""),"important"):e[r]=n}}const _s=["Webkit","Moz","ms"],Wn={};function vc(e,t){const n=Wn[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return Wn[t]=r;r=xn(r);for(let s=0;s<_s.length;s++){const o=_s[s]+r;if(o in e)return Wn[t]=o}return t}const ys="http://www.w3.org/1999/xlink";function wc(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ys,t.slice(6,t.length)):e.setAttributeNS(ys,t,n);else{const o=bi(t);n==null||o&&!Ws(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function Cc(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const a=l==="OPTION"?e.getAttribute("value"):e.value,f=n??"";a!==f&&(e.value=f),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Ws(n):n==null&&a==="string"?(n="",c=!0):a==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function ht(e,t,n,r){e.addEventListener(t,n,r)}function Ec(e,t,n,r){e.removeEventListener(t,n,r)}function xc(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,c]=Tc(t);if(r){const a=o[t]=Oc(r,s);ht(e,l,a,c)}else i&&(Ec(e,l,i,c),o[t]=void 0)}}const bs=/(?:Once|Passive|Capture)$/;function Tc(e){let t;if(bs.test(e)){t={};let r;for(;r=e.match(bs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):at(e.slice(2)),t]}let Vn=0;const Ac=Promise.resolve(),Sc=()=>Vn||(Ac.then(()=>Vn=0),Vn=Date.now());function Oc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;xe(Pc(r,n.value),t,5,[r])};return n.value=e,n.attached=Sc(),n}function Pc(e,t){if(k(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 vs=/^on[a-z]/,Rc=(e,t,n,r,s=!1,o,i,l,c)=>{t==="class"?yc(e,r,s):t==="style"?bc(e,n,r):Vt(t)?dr(t)||xc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mc(e,t,r,s))?Cc(e,t,r,o,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),wc(e,t,r,s))};function Mc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&vs.test(t)&&K(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||vs.test(t)&&re(n)?!1:t in e}const Ke="transition",Ot="animation",Bo=(e,{slots:t})=>cr(Cl,Fc(e),t);Bo.displayName="Transition";const ko={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};Bo.props=ie({},po,ko);const et=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},ws=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Fc(e){const t={};for(const M in e)M in ko||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:a=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,E=Ic(s),S=E&&E[0],$=E&&E[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:N,onLeave:A,onLeaveCancelled:B,onBeforeAppear:W=m,onAppear:D=y,onAppearCancelled:_=N}=t,R=(M,q,L)=>{tt(M,q?f:l),tt(M,q?a:i),L&&L()},I=(M,q)=>{M._isLeaving=!1,tt(M,h),tt(M,w),tt(M,g),q&&q()},V=M=>(q,L)=>{const _e=M?D:y,X=()=>R(q,M,L);et(_e,[q,X]),Cs(()=>{tt(q,M?c:o),We(q,M?f:l),ws(_e)||Es(q,r,S,X)})};return ie(t,{onBeforeEnter(M){et(m,[M]),We(M,o),We(M,i)},onBeforeAppear(M){et(W,[M]),We(M,c),We(M,a)},onEnter:V(!1),onAppear:V(!0),onLeave(M,q){M._isLeaving=!0;const L=()=>I(M,q);We(M,h),$c(),We(M,g),Cs(()=>{M._isLeaving&&(tt(M,h),We(M,w),ws(A)||Es(M,r,$,L))}),et(A,[M,L])},onEnterCancelled(M){R(M,!1),et(N,[M])},onAppearCancelled(M){R(M,!0),et(_,[M])},onLeaveCancelled(M){I(M),et(B,[M])}})}function Ic(e){if(e==null)return null;if(ee(e))return[qn(e.enter),qn(e.leave)];{const t=qn(e);return[t,t]}}function qn(e){return hi(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function tt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Cs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Lc=0;function Es(e,t,n,r){const s=e._endId=++Lc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Nc(e,t);if(!i)return r();const a=i+"end";let f=0;const h=()=>{e.removeEventListener(a,g),o()},g=w=>{w.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[E]||"").split(", "),s=r(`${Ke}Delay`),o=r(`${Ke}Duration`),i=xs(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),a=xs(l,c);let f=null,h=0,g=0;t===Ke?i>0&&(f=Ke,h=i,g=o.length):t===Ot?a>0&&(f=Ot,h=a,g=c.length):(h=Math.max(i,a),f=h>0?i>a?Ke:Ot:null,g=f?f===Ke?o.length:c.length:0);const w=f===Ke&&/\b(transform|all)(,|$)/.test(r(`${Ke}Property`).toString());return{type:f,timeout:h,propCount:g,hasTransform:w}}function xs(e,t){for(;e.lengthTs(n)+Ts(e[r])))}function Ts(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function $c(){return document.body.offsetHeight}const As=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>un(t,n):t};function Hc(e){e.target.composing=!0}function Ss(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Xa={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=As(s);const o=r||s.props&&s.props.type==="number";ht(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Jn(l)),e._assign(l)}),n&&ht(e,"change",()=>{e.value=e.value.trim()}),t||(ht(e,"compositionstart",Hc),ht(e,"compositionend",Ss),ht(e,"change",Ss))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=As(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Jn(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},jc=["ctrl","shift","alt","meta"],Dc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>jc.some(n=>e[`${n}Key`]&&!t.includes(n))},Qa=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=at(n.key);if(t.some(s=>s===r||Bc[s]===r))return e(n)},Uo=ie({patchProp:Rc},_c);let Ht,Os=!1;function kc(){return Ht||(Ht=Jl(Uo))}function Uc(){return Ht=Os?Ht:Xl(Uo),Os=!0,Ht}const Ga=(...e)=>{const t=kc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ko(r);if(!s)return;const o=t._component;!K(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},eu=(...e)=>{const t=Uc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ko(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Ko(e){return re(e)?document.querySelector(e):e}const Kc=window.__VP_SITE_DATA__;function Hr(e){return qs()?(Ci(e),!0):!1}function Le(e){return typeof e=="function"?e():oo(e)}const Wo=typeof window<"u"&&typeof document<"u",Wc=Object.prototype.toString,Vc=e=>Wc.call(e)==="[object Object]",Kt=()=>{},Ps=qc();function qc(){var e;return Wo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function zc(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 Vo=e=>e();function Yc(e,t={}){let n,r,s=Kt;const o=l=>{clearTimeout(l),s(),s=Kt};return l=>{const c=Le(e),a=Le(t.maxWait);return n&&o(n),c<=0||a!==void 0&&a<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,a&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},a)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function Jc(e=Vo){const t=ae(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Sn(t),pause:n,resume:r,eventFilter:s}}function qo(...e){if(e.length!==1)return rl(...e);const t=e[0];return typeof t=="function"?Sn(el(()=>({get:t,set:Kt}))):ae(t)}function zo(e,t,n={}){const{eventFilter:r=Vo,...s}=n;return Ye(e,zc(r,t),s)}function Xc(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=Jc(r);return{stop:zo(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Qc(e,t=!0){$n()?At(e):t?e():On(e)}function tu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return zo(e,t,{...o,eventFilter:Yc(r,{maxWait:s})})}function nu(e,t,n){let r;ce(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=Kt}=r,c=ae(!s),a=i?Sr(t):ae(t);let f=0;return Pr(async h=>{if(!c.value)return;f++;const g=f;let w=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const E=await e(S=>{h(()=>{o&&(o.value=!1),w||S()})});g===f&&(a.value=E)}catch(E){l(E)}finally{o&&g===f&&(o.value=!1),w=!0}}),s?ue(()=>(c.value=!0,a.value)):a}function Yo(e){var t;const n=Le(e);return(t=n==null?void 0:n.$el)!=null?t:n}const De=Wo?window:void 0;function Wt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=De):[t,n,r,s]=e,!t)return Kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,g,w)=>(f.addEventListener(h,g,w),()=>f.removeEventListener(h,g,w)),c=Ye(()=>[Yo(t),Le(s)],([f,h])=>{if(i(),!f)return;const g=Vc(h)?{...h}:h;o.push(...n.flatMap(w=>r.map(E=>l(f,w,E,g))))},{immediate:!0,flush:"post"}),a=()=>{c(),i()};return Hr(a),a}function Zc(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ru(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=De,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=Zc(t);return Wt(s,o,f=>{f.repeat&&Le(l)||c(f)&&n(f)},i)}function Gc(){const e=ae(!1);return $n()&&At(()=>{e.value=!0}),e}function ea(e){const t=Gc();return ue(()=>(t.value,!!e()))}function ta(e,t={}){const{window:n=De}=t,r=ea(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ae(!1),i=a=>{o.value=a.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Pr(()=>{r.value&&(l(),s=n.matchMedia(Le(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Hr(()=>{c(),l(),s=void 0}),o}const on=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ln="__vueuse_ssr_handlers__",na=ra();function ra(){return ln in on||(on[ln]=on[ln]||{}),on[ln]}function Jo(e,t){return na[e]||t}function sa(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 oa={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()}},Rs="vueuse-storage";function jr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:a=!1,shallow:f,window:h=De,eventFilter:g,onError:w=_=>{console.error(_)}}=r,E=(f?Sr:ae)(t);if(!n)try{n=Jo("getDefaultStorage",()=>{var _;return(_=De)==null?void 0:_.localStorage})()}catch(_){w(_)}if(!n)return E;const S=Le(t),$=sa(S),m=(s=r.serializer)!=null?s:oa[$],{pause:y,resume:N}=Xc(E,()=>A(E.value),{flush:o,deep:i,eventFilter:g});return h&&l&&(Wt(h,"storage",D),Wt(h,Rs,W)),D(),E;function A(_){try{if(_==null)n.removeItem(e);else{const R=m.write(_),I=n.getItem(e);I!==R&&(n.setItem(e,R),h&&h.dispatchEvent(new CustomEvent(Rs,{detail:{key:e,oldValue:I,newValue:R,storageArea:n}})))}}catch(R){w(R)}}function B(_){const R=_?_.newValue:n.getItem(e);if(R==null)return c&&S!==null&&n.setItem(e,m.write(S)),S;if(!_&&a){const I=m.read(R);return typeof a=="function"?a(I,S):$==="object"&&!Array.isArray(I)?{...S,...I}:I}else return typeof R!="string"?R:m.read(R)}function W(_){D(_.detail)}function D(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){E.value=S;return}if(!(_&&_.key!==e)){y();try{(_==null?void 0:_.newValue)!==m.write(E.value)&&(E.value=B(_))}catch(R){w(R)}finally{_?On(N):N()}}}}}function ia(e){return ta("(prefers-color-scheme: dark)",e)}function la(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=De,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:a,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=ia({window:s}),w=ue(()=>g.value?"dark":"light"),E=c||(i==null?qo(r):jr(i,r,o,{window:s,listenToStorageChanges:l})),S=ue(()=>E.value==="auto"?w.value:E.value),$=Jo("updateHTMLAttrs",(A,B,W)=>{const D=typeof A=="string"?s==null?void 0:s.document.querySelector(A):Yo(A);if(!D)return;let _;if(f){_=s.document.createElement("style");const R="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";_.appendChild(document.createTextNode(R)),s.document.head.appendChild(_)}if(B==="class"){const R=W.split(/\s/g);Object.values(h).flatMap(I=>(I||"").split(/\s/g)).filter(Boolean).forEach(I=>{R.includes(I)?D.classList.add(I):D.classList.remove(I)})}else D.setAttribute(B,W);f&&(s.getComputedStyle(_).opacity,document.head.removeChild(_))});function m(A){var B;$(t,n,(B=h[A])!=null?B:A)}function y(A){e.onChanged?e.onChanged(A,m):m(A)}Ye(S,y,{flush:"post",immediate:!0}),Qc(()=>y(S.value));const N=ue({get(){return a?E.value:S.value},set(A){E.value=A}});try{return Object.assign(N,{store:E,system:w,state:S})}catch{return N}}function ca(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=la({...e,onChanged:(o,i)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,o==="dark",i,o):i(o)},modes:{dark:t,light:n}});return ue({get(){return r.value==="dark"},set(o){const i=o?"dark":"light";r.system.value===i?r.value="auto":r.value=i}})}function zn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function su(e,t,n={}){const{window:r=De}=n;return jr(e,t,r==null?void 0:r.localStorage,n)}function Xo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function ou(e,t=!1){const n=ae(t);let r=null,s;Ye(qo(e),l=>{const c=zn(Le(l));if(c){const a=c;s=a.style.overflow,n.value&&(a.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=zn(Le(e));!l||n.value||(Ps&&(r=Wt(l,"touchmove",c=>{aa(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=zn(Le(e));!l||!n.value||(Ps&&(r==null||r()),l.style.overflow=s,n.value=!1)};return Hr(i),ue({get(){return n.value},set(l){l?o():i()}})}function iu(e,t,n={}){const{window:r=De}=n;return jr(e,t,r==null?void 0:r.sessionStorage,n)}function lu(e={}){const{window:t=De}=e;if(!t)return{x:ae(0),y:ae(0)};const n=ae(t.scrollX),r=ae(t.scrollY);return Wt(t,"scroll",()=>{n.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:n,y:r}}const Qo=/^[a-z]+:/i,ua="vitepress-theme-appearance",Zo=/#.*$/,fa=/(index)?\.(md|html)$/,Ee=typeof document<"u",Go={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function da(e,t,n=!1){if(t===void 0)return!1;if(e=Ms(`/${e}`),n)return new RegExp(t).test(e);if(Ms(t)!==e)return!1;const r=t.match(Zo);return r?(Ee?location.hash:"")===r[0]:!0}function Ms(e){return decodeURI(e).replace(Zo,"").replace(fa,"")}function ha(e){return Qo.test(e)}function pa(e,t){var r,s,o,i,l,c,a;const n=Object.keys(e.locales).find(f=>f!=="root"&&!ha(f)&&da(t,`/${f}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:ti(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function ei(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ga(e.title,r);return`${n}${s}`}function ga(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ma(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function ti(e,t){return[...e.filter(n=>!ma(t,n)),...t]}const _a=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ya=/^[a-z]:/i;function Fs(e){const t=ya.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(_a,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ba=Symbol(),ct=Sr(Kc);function cu(e){const t=ue(()=>pa(ct.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?ae(!0):n?ca({storageKey:ua,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):ae(!1);return{site:t,theme:ue(()=>t.value.themeConfig),page:ue(()=>e.data),frontmatter:ue(()=>e.data.frontmatter),params:ue(()=>e.data.params),lang:ue(()=>t.value.lang),dir:ue(()=>t.value.dir),localeIndex:ue(()=>t.value.localeIndex||"root"),title:ue(()=>ei(t.value,e.data)),description:ue(()=>e.data.description||t.value.description),isDark:r}}function va(){const e=bt(ba);if(!e)throw new Error("vitepress data not properly injected in app");return e}function wa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Is(e){return Qo.test(e)||!e.startsWith("/")?e:wa(ct.value.base,e)}function Ca(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ee){const n="/";t=Fs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Fs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let dn=[];function au(e){dn.push(e),Ln(()=>{dn=dn.filter(t=>t!==e)})}const Ea=Symbol(),ni="http://a.com",xa=()=>({path:"/",component:null,data:Go});function uu(e,t){const n=An(xa()),r={route:n,go:s};async function s(l=Ee?location.href:"/"){var c,a;l=ur(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&($s(l),await i(l),await((a=r.onAfterRouteChanged)==null?void 0:a.call(r,l)))}let o=null;async function i(l,c=0,a=!1){var g;if(await((g=r.onBeforePageLoad)==null?void 0:g.call(r,l))===!1)return;const f=new URL(l,ni),h=o=f.pathname;try{let w=await e(h);if(!w)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:E,__pageData:S}=w;if(!E)throw new Error(`Invalid route component: ${E}`);n.path=Ee?h:Is(h),n.component=Ft(E),n.data=Ft(S),Ee&&On(()=>{let $=ct.value.base+S.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ct.value.cleanUrls&&!$.endsWith("/")&&($+=".html"),$!==f.pathname&&(f.pathname=$,l=$+f.search+f.hash,history.replaceState(null,"",l)),f.hash&&!c){let m=null;try{m=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(y){console.warn(y)}if(m){Ls(m,f.hash);return}}window.scrollTo(0,c)})}}catch(w){if(!/fetch|Page not found/.test(w.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(w),!a)try{const E=await fetch(ct.value.base+"hashmap.json");window.__VP_HASH_MAP__=await E.json(),await i(l,c,!0);return}catch{}o===h&&(o=null,n.path=Ee?h:Is(h),n.component=t?Ft(t):null,n.data=Go)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&(a instanceof SVGElement||!a.download)){const{target:f}=a,{href:h,origin:g,pathname:w,hash:E,search:S}=new URL(a.href instanceof SVGAnimatedString?a.href.animVal:a.href,a.baseURI),$=window.location,m=w.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!f&&g===$.origin&&!(m&&m[0]!==".html")&&(l.preventDefault(),w===$.pathname&&S===$.search?(E!==$.hash&&(history.pushState(null,"",E),window.dispatchEvent(new Event("hashchange"))),E?Ls(a,E,a.classList.contains("header-anchor")):($s(h),window.scrollTo(0,0))):s(h))}},{capture:!0}),window.addEventListener("popstate",l=>{i(ur(location.href),l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Ta(){const e=bt(Ea);if(!e)throw new Error("useRouter() is called without provider.");return e}function ri(){return Ta().route}function Ls(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let a=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},s=ct.value.scrollOffset,o=0,i=24;if(typeof s=="object"&&"padding"in s&&(i=s.padding,s=s.selector),typeof s=="number")o=s;else if(typeof s=="string")o=Ns(s,i);else if(Array.isArray(s))for(const f of s){const h=Ns(f,i);if(h){o=h;break}}const l=parseInt(window.getComputedStyle(r).paddingTop,10),c=window.scrollY+r.getBoundingClientRect().top-o+l;requestAnimationFrame(a)}}function Ns(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}function $s(e){Ee&&e!==ur(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function ur(e){const t=new URL(e,ni);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ct.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const Hs=()=>dn.forEach(e=>e()),fu=Rr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=ri(),{site:n}=va();return()=>cr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?cr(t.component,{onVnodeMounted:Hs,onVnodeUpdated:Hs}):"404 Page Not Found"])}}),du=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Aa="modulepreload",Sa=function(e){return"/"+e},js={},hu=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Sa(o),o in js)return;js[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let f=s.length-1;f>=0;f--){const h=s[f];if(h.href===o&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const a=document.createElement("link");if(a.rel=i?"stylesheet":Aa,i||(a.as="script",a.crossOrigin=""),a.href=o,document.head.appendChild(a),i)return new Promise((f,h)=>{a.addEventListener("load",f),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},pu=Rr({setup(e,{slots:t}){const n=ae(!1);return At(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function gu(){Ee&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(a=>a.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function mu(){if(Ee){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className);let l="";o.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+` -`),l=l.slice(0,-1),i&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Oa(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function Oa(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function _u(e,t){let n=[],r=!0;const s=o=>{if(r){r=!1;return}const i=o.map(Ds);n.forEach((l,c)=>{const a=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));a!==-1?delete i[a]:(l==null||l.remove(),delete n[c])}),i.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...i].filter(Boolean)};Pr(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],a=ei(i,o);a!==document.title&&(document.title=a);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):Ds(["meta",{name:"description",content:f}]),s(ti(i.head,Ra(c)))})}function Ds([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Pa(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Ra(e){return e.filter(t=>!Pa(t))}const Yn=new Set,si=()=>document.createElement("link"),Ma=e=>{const t=si();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Fa=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let cn;const Ia=Ee&&(cn=si())&&cn.relList&&cn.relList.supports&&cn.relList.supports("prefetch")?Ma:Fa;function yu(){if(!Ee||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!Yn.has(c)){Yn.add(c);const a=Ca(c);a&&Ia(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):Yn.add(l))})})};At(r);const s=ri();Ye(()=>s.path,r),Ln(()=>{n&&n.disconnect()})}export{Qa as $,Ha as A,Ol as B,Ba as C,Ua as D,Sr as E,ge as F,au as G,se as H,ka as I,Qo as J,ri as K,sc as L,bt as M,mr as N,On as O,lu as P,Ya as Q,Sn as R,ru as S,Bo as T,Da as U,hu as V,ou as W,Ul as X,Za as Y,Wa as Z,du as _,$o as a,Va as a0,_u as a1,Ea as a2,cu as a3,ba as a4,fu as a5,pu as a6,ct as a7,eu as a8,uu as a9,Ca as aa,yu as ab,mu as ac,gu as ad,cr as ae,Yo as af,Hr as ag,nu as ah,iu as ai,su as aj,tu as ak,Ta as al,Wt as am,yo as an,ja as ao,Xa as ap,ce as aq,qa as ar,Ft as as,Ga as at,Io as b,za as c,Rr as d,Ja as e,Is as f,ue as g,ae as h,ha as i,At as j,No as k,oo as l,$a as m,_r as n,Mo as o,Na as p,da as q,Ka as r,Ee as s,La as t,va as u,ta as v,hl as w,Ye as x,Pr as y,Ln as z}; diff --git a/assets/chunks/framework.e1e0b12f.js b/assets/chunks/framework.e1e0b12f.js new file mode 100644 index 0000000..d221514 --- /dev/null +++ b/assets/chunks/framework.e1e0b12f.js @@ -0,0 +1,2 @@ +function mr(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}const te={},mt=[],Oe=()=>{},di=()=>!1,hi=/^on[^a-z]/,zt=e=>hi.test(e),yr=e=>e.startsWith("onUpdate:"),ae=Object.assign,_r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pi=Object.prototype.hasOwnProperty,X=(e,t)=>pi.call(e,t),U=Array.isArray,yt=e=>An(e)==="[object Map]",Ws=e=>An(e)==="[object Set]",W=e=>typeof e=="function",ne=e=>typeof e=="string",Tn=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Vs=e=>(ee(e)||W(e))&&W(e.then)&&W(e.catch),qs=Object.prototype.toString,An=e=>qs.call(e),gi=e=>An(e).slice(8,-1),zs=e=>An(e)==="[object Object]",br=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=mr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mi=/-(\w)/g,Ne=Sn(e=>e.replace(mi,(t,n)=>n?n.toUpperCase():"")),yi=/\B([A-Z])/g,ft=Sn(e=>e.replace(yi,"-$1").toLowerCase()),Rn=Sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),dn=Sn(e=>e?`on${Rn(e)}`:""),ut=(e,t)=>!Object.is(e,t),hn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},er=e=>{const t=parseFloat(e);return isNaN(t)?e:t},_i=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let zr;const tr=()=>zr||(zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vr(e){if(U(e)){const t={};for(let n=0;n{if(n){const r=n.split(vi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function wr(e){let t="";if(ne(e))t=e;else if(U(e))for(let n=0;nne(e)?e:e==null?"":U(e)||ee(e)&&(e.toString===qs||!W(e.toString))?JSON.stringify(e,Js,2):String(e),Js=(e,t)=>t&&t.__v_isRef?Js(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Ws(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!U(t)&&!zs(t)?String(t):t;let be;class Ti{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Qs=e=>(e.w&Qe)>0,Zs=e=>(e.n&Qe)>0,Ri=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(f==="length"||!Tn(f)&&f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":U(e)?br(n)&&l.push(i.get("length")):(l.push(i.get(lt)),yt(e)&&l.push(i.get(rr)));break;case"delete":U(e)||(l.push(i.get(lt)),yt(e)&&l.push(i.get(rr)));break;case"set":yt(e)&&l.push(i.get(lt));break}if(l.length===1)l[0]&&sr(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);sr(Cr(c))}}function sr(e,t){const n=U(e)?e:[...e];for(const r of n)r.computed&&Jr(r);for(const r of n)r.computed||Jr(r)}function Jr(e,t){(e!==Se||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Pi(e,t){var n;return(n=yn.get(e))==null?void 0:n.get(t)}const Mi=mr("__proto__,__v_isRef,__isVue"),to=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tn)),Xr=Fi();function Fi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Q(this);for(let o=0,i=this.length;o{e[t]=function(...n){At();const r=Q(this)[t].apply(this,n);return St(),r}}),e}function Ii(e){const t=Q(this);return ye(t,"has",e),t.hasOwnProperty(e)}class no{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(s?o?qi:io:o?oo:so).get(t))return t;const i=U(t);if(!s){if(i&&X(Xr,n))return Reflect.get(Xr,n,r);if(n==="hasOwnProperty")return Ii}const l=Reflect.get(t,n,r);return(Tn(n)?to.has(n):Mi(n))||(s||ye(t,"get",n),o)?l:le(l)?i&&br(n)?l:l.value:ee(l)?s?Mn(l):Pn(l):l}}class ro extends no{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(Ct(o)&&le(o)&&!le(r))return!1;if(!this._shallow&&(!_n(r)&&!Ct(r)&&(o=Q(o),r=Q(r)),!U(t)&&le(o)&&!le(r)))return o.value=r,!0;const i=U(t)&&br(n)?Number(n)e,On=e=>Reflect.getPrototypeOf(e);function Zt(e,t,n=!1,r=!1){e=e.__v_raw;const s=Q(e),o=Q(t);n||(ut(t,o)&&ye(s,"get",t),ye(s,"get",o));const{has:i}=On(s),l=r?xr:n?Sr:Bt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Gt(e,t=!1){const n=this.__v_raw,r=Q(n),s=Q(e);return t||(ut(e,s)&&ye(r,"has",e),ye(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function en(e,t=!1){return e=e.__v_raw,!t&&ye(Q(e),"iterate",lt),Reflect.get(e,"size",e)}function Qr(e){e=Q(e);const t=Q(this);return On(t).has.call(t,e)||(t.add(e),De(t,"add",e,e)),this}function Zr(e,t){t=Q(t);const n=Q(this),{has:r,get:s}=On(n);let o=r.call(n,e);o||(e=Q(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?ut(t,i)&&De(n,"set",e,t):De(n,"add",e,t),this}function Gr(e){const t=Q(this),{has:n,get:r}=On(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&De(t,"delete",e,void 0),o}function es(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&De(e,"clear",void 0,void 0),n}function tn(e,t){return function(r,s){const o=this,i=o.__v_raw,l=Q(i),c=t?xr:e?Sr:Bt;return!e&&ye(l,"iterate",lt),i.forEach((a,f)=>r.call(s,c(a),c(f),o))}}function nn(e,t,n){return function(...r){const s=this.__v_raw,o=Q(s),i=yt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=s[e](...r),f=n?xr:t?Sr:Bt;return!t&&ye(o,"iterate",c?rr:lt),{next(){const{value:h,done:m}=a.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:this}}function ji(){const e={get(o){return Zt(this,o)},get size(){return en(this)},has:Gt,add:Qr,set:Zr,delete:Gr,clear:es,forEach:tn(!1,!1)},t={get(o){return Zt(this,o,!1,!0)},get size(){return en(this)},has:Gt,add:Qr,set:Zr,delete:Gr,clear:es,forEach:tn(!1,!0)},n={get(o){return Zt(this,o,!0)},get size(){return en(this,!0)},has(o){return Gt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:tn(!0,!1)},r={get(o){return Zt(this,o,!0,!0)},get size(){return en(this,!0)},has(o){return Gt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:tn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=nn(o,!1,!1),n[o]=nn(o,!0,!1),t[o]=nn(o,!1,!0),r[o]=nn(o,!0,!0)}),[e,n,t,r]}const[Di,Bi,ki,Ui]=ji();function Tr(e,t){const n=t?e?Ui:ki:e?Bi:Di;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(X(n,s)&&s in r?n:r,s,o)}const Ki={get:Tr(!1,!1)},Wi={get:Tr(!1,!0)},Vi={get:Tr(!0,!1)},so=new WeakMap,oo=new WeakMap,io=new WeakMap,qi=new WeakMap;function zi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Yi(e){return e.__v_skip||!Object.isExtensible(e)?0:zi(gi(e))}function Pn(e){return Ct(e)?e:Ar(e,!1,Ni,Ki,so)}function Ji(e){return Ar(e,!1,$i,Wi,oo)}function Mn(e){return Ar(e,!0,Hi,Vi,io)}function Ar(e,t,n,r,s){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Yi(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function _t(e){return Ct(e)?_t(e.__v_raw):!!(e&&e.__v_isReactive)}function Ct(e){return!!(e&&e.__v_isReadonly)}function _n(e){return!!(e&&e.__v_isShallow)}function lo(e){return _t(e)||Ct(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Lt(e){return mn(e,"__v_skip",!0),e}const Bt=e=>ee(e)?Pn(e):e,Sr=e=>ee(e)?Mn(e):e;function Rr(e){Ye&&Se&&(e=Q(e),eo(e.dep||(e.dep=Cr())))}function Or(e,t){e=Q(e);const n=e.dep;n&&sr(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function ce(e){return co(e,!1)}function Pr(e){return co(e,!0)}function co(e,t){return le(e)?e:new Xi(e,t)}class Xi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:Bt(t)}get value(){return Rr(this),this._value}set value(t){const n=this.__v_isShallow||_n(t)||Ct(t);t=n?t:Q(t),ut(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Bt(t),Or(this))}}function ao(e){return le(e)?e.value:e}const Qi={get:(e,t,n)=>ao(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return le(s)&&!le(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function uo(e){return _t(e)?e:new Proxy(e,Qi)}class Zi{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Rr(this),()=>Or(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Gi(e){return new Zi(e)}class el{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 Pi(Q(this._object),this._key)}}class tl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function nl(e,t,n){return le(e)?e:W(e)?new tl(e):ee(e)&&arguments.length>1?rl(e,t,n):ce(e)}function rl(e,t,n){const r=e[t];return le(r)?r:new el(e,t,n)}class sl{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Er(t,()=>{this._dirty||(this._dirty=!0,Or(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Q(this);return Rr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ol(e,t,n=!1){let r,s;const o=W(e);return o?(r=e,s=Oe):(r=e.get,s=e.set),new sl(r,s,o||!s,n)}function Je(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Yt(o,t,n)}return s}function xe(e,t,n,r){if(W(e)){const o=Je(e,t,n,r);return o&&Vs(o)&&o.catch(i=>{Yt(i,t,n)}),o}const s=[];for(let o=0;o>>1,s=he[r],o=Ut(s);oIe&&he.splice(t,1)}function al(e){U(e)?bt.push(...e):(!je||!je.includes(e,e.allowRecurse?rt+1:rt))&&bt.push(e),ho()}function ts(e,t=kt?Ie+1:0){for(;tUt(n)-Ut(r)),rt=0;rte.id==null?1/0:e.id,ul=(e,t)=>{const n=Ut(e)-Ut(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function po(e){or=!1,kt=!0,he.sort(ul);const t=Oe;try{for(Ie=0;Iene(w)?w.trim():w)),h&&(s=n.map(er))}let l,c=r[l=dn(t)]||r[l=dn(Ne(t))];!c&&o&&(c=r[l=dn(ft(t))]),c&&xe(c,e,6,s);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(a,e,6,s)}}function go(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!W(e)){const c=a=>{const f=go(a,t,!0);f&&(l=!0,ae(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ee(e)&&r.set(e,null),null):(U(o)?o.forEach(c=>i[c]=null):ae(i,o),ee(e)&&r.set(e,i),i)}function Ln(e,t){return!e||!zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,ft(t))||X(e,t))}let de=null,Nn=null;function vn(e){const t=de;return de=e,Nn=e&&e.type.__scopeId||null,t}function Na(e){Nn=e}function Ha(){Nn=null}function dl(e,t=de,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ps(-1);const o=vn(t);let i;try{i=e(...s)}finally{vn(o),r._d&&ps(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Wn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:c,emit:a,render:f,renderCache:h,data:m,setupState:w,ctx:E,inheritAttrs:T}=e;let L,B;const k=vn(e);try{if(n.shapeFlag&4){const p=s||r;L=Ae(f.call(p,p,h,o,w,m,E)),B=c}else{const p=t;L=Ae(p.length>1?p(o,{attrs:c,slots:l,emit:a}):p(o,null)),B=t.props?c:hl(c)}}catch(p){jt.length=0,Yt(p,e,1),L=re(ve)}let y=L;if(B&&T!==!1){const p=Object.keys(B),{shapeFlag:F}=y;p.length&&F&7&&(i&&p.some(yr)&&(B=pl(B,i)),y=Ze(y,B))}return n.dirs&&(y=Ze(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),L=y,vn(k),L}const hl=e=>{let t;for(const n in e)(n==="class"||n==="style"||zt(n))&&((t||(t={}))[n]=e[n]);return t},pl=(e,t)=>{const n={};for(const r in e)(!yr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function gl(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ns(r,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function mo(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):al(e)}function Fr(e,t){return Hn(e,null,t)}function $a(e,t){return Hn(e,null,{flush:"post"})}const rn={};function Xe(e,t,n){return Hn(e,t,n)}function Hn(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=te){var l;const c=Xs()===((l=ie)==null?void 0:l.scope)?ie:null;let a,f=!1,h=!1;if(le(e)?(a=()=>e.value,f=_n(e)):_t(e)?(a=()=>e,r=!0):U(e)?(h=!0,f=e.some(p=>_t(p)||_n(p)),a=()=>e.map(p=>{if(le(p))return p.value;if(_t(p))return it(p);if(W(p))return Je(p,c,2)})):W(e)?t?a=()=>Je(e,c,2):a=()=>{if(!(c&&c.isUnmounted))return m&&m(),xe(e,c,3,[w])}:a=Oe,t&&r){const p=a;a=()=>it(p())}let m,w=p=>{m=k.onStop=()=>{Je(p,c,4)}},E;if(Tt)if(w=Oe,t?n&&xe(t,c,3,[a(),h?[]:void 0,w]):a(),s==="sync"){const p=hc();E=p.__watcherHandles||(p.__watcherHandles=[])}else return Oe;let T=h?new Array(e.length).fill(rn):rn;const L=()=>{if(k.active)if(t){const p=k.run();(r||f||(h?p.some((F,K)=>ut(F,T[K])):ut(p,T)))&&(m&&m(),xe(t,c,3,[p,T===rn?void 0:h&&T[0]===rn?[]:T,w]),T=p)}else k.run()};L.allowRecurse=!!t;let B;s==="sync"?B=L:s==="post"?B=()=>ge(L,c&&c.suspense):(L.pre=!0,c&&(L.id=c.uid),B=()=>In(L));const k=new Er(a,B);t?n?L():T=k.run():s==="post"?ge(k.run.bind(k),c&&c.suspense):k.run();const y=()=>{k.stop(),c&&c.scope&&_r(c.scope.effects,k)};return E&&E.push(y),y}function _l(e,t,n){const r=this.proxy,s=ne(e)?e.includes(".")?yo(r,e):()=>r[e]:e.bind(r,r);let o;W(t)?o=t:(o=t.handler,n=t);const i=ie;xt(this);const l=Hn(s,o.bind(r),n);return i?xt(i):ct(),l}function yo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{it(n,t)});else if(zs(e))for(const n in e)it(e[n],t);return e}function ja(e,t){const n=de;if(n===null)return e;const r=kn(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Co(()=>{e.isUnmounting=!0}),e}const we=[Function,Array],_o={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},vl={name:"BaseTransition",props:_o,setup(e,{slots:t}){const n=Bn(),r=bl();let s;return()=>{const o=t.default&&vo(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const T of o)if(T.type!==ve){i=T;break}}const l=Q(e),{mode:c}=l;if(r.isLeaving)return Vn(i);const a=rs(i);if(!a)return Vn(i);const f=ir(a,l,r,n);lr(a,f);const h=n.subTree,m=h&&rs(h);let w=!1;const{getTransitionKey:E}=a.type;if(E){const T=E();s===void 0?s=T:T!==s&&(s=T,w=!0)}if(m&&m.type!==ve&&(!st(a,m)||w)){const T=ir(m,l,r,n);if(lr(m,T),c==="out-in")return r.isLeaving=!0,T.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Vn(i);c==="in-out"&&a.type!==ve&&(T.delayLeave=(L,B,k)=>{const y=bo(r,m);y[String(m.key)]=m,L[qe]=()=>{B(),L[qe]=void 0,delete f.delayedLeave},f.delayedLeave=k})}return i}}},wl=vl;function bo(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 ir(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:w,onLeaveCancelled:E,onBeforeAppear:T,onAppear:L,onAfterAppear:B,onAppearCancelled:k}=t,y=String(e.key),p=bo(n,e),F=(v,M)=>{v&&xe(v,r,9,M)},K=(v,M)=>{const R=M[1];F(v,M),U(v)?v.every(z=>z.length<=1)&&R():v.length<=1&&R()},N={mode:o,persisted:i,beforeEnter(v){let M=l;if(!n.isMounted)if(s)M=T||l;else return;v[qe]&&v[qe](!0);const R=p[y];R&&st(e,R)&&R.el[qe]&&R.el[qe](),F(M,[v])},enter(v){let M=c,R=a,z=f;if(!n.isMounted)if(s)M=L||c,R=B||a,z=k||f;else return;let O=!1;const q=v[sn]=oe=>{O||(O=!0,oe?F(z,[v]):F(R,[v]),N.delayedLeave&&N.delayedLeave(),v[sn]=void 0)};M?K(M,[v,q]):q()},leave(v,M){const R=String(e.key);if(v[sn]&&v[sn](!0),n.isUnmounting)return M();F(h,[v]);let z=!1;const O=v[qe]=q=>{z||(z=!0,M(),q?F(E,[v]):F(w,[v]),v[qe]=void 0,p[R]===e&&delete p[R])};p[R]=e,m?K(m,[v,O]):O()},clone(v){return ir(v,t,n,r)}};return N}function Vn(e){if(Jt(e))return e=Ze(e),e.children=null,e}function rs(e){return Jt(e)?e.children?e.children[0]:void 0:e}function lr(e,t){e.shapeFlag&6&&e.component?lr(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 vo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oae({name:e.name},t,{setup:e}))():e}const vt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Da(e){W(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,a,f=0;const h=()=>(f++,c=null,m()),m=()=>{let w;return c||(w=c=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),l)return new Promise((T,L)=>{l(E,()=>T(h()),()=>L(E),f+1)});throw E}).then(E=>w!==c&&c?c:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Ir({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return a},setup(){const w=ie;if(a)return()=>qn(a,w);const E=k=>{c=null,Yt(k,w,13,!r)};if(i&&w.suspense||Tt)return m().then(k=>()=>qn(k,w)).catch(k=>(E(k),()=>r?re(r,{error:k}):null));const T=ce(!1),L=ce(),B=ce(!!s);return s&&setTimeout(()=>{B.value=!1},s),o!=null&&setTimeout(()=>{if(!T.value&&!L.value){const k=new Error(`Async component timed out after ${o}ms.`);E(k),L.value=k}},o),m().then(()=>{T.value=!0,w.parent&&Jt(w.parent.vnode)&&In(w.parent.update)}).catch(k=>{E(k),L.value=k}),()=>{if(T.value&&a)return qn(a,w);if(L.value&&r)return re(r,{error:L.value});if(n&&!B.value)return re(n)}}})}function qn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=re(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Jt=e=>e.type.__isKeepAlive;function Cl(e,t){wo(e,"a",t)}function El(e,t){wo(e,"da",t)}function wo(e,t,n=ie){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if($n(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Jt(s.parent.vnode)&&xl(r,t,n,s),s=s.parent}}function xl(e,t,n,r){const s=$n(t,e,r,!0);jn(()=>{_r(r[t],s)},n)}function $n(e,t,n=ie,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;At(),xt(n);const l=xe(t,n,e,i);return ct(),St(),l});return r?s.unshift(o):s.push(o),o}}const ke=e=>(t,n=ie)=>(!Tt||e==="sp")&&$n(e,(...r)=>t(...r),n),Tl=ke("bm"),Rt=ke("m"),Al=ke("bu"),Sl=ke("u"),Co=ke("bum"),jn=ke("um"),Rl=ke("sp"),Ol=ke("rtg"),Pl=ke("rtc");function Ml(e,t=ie){$n("ec",e,t)}const Lr="components";function Ba(e,t){return xo(Lr,e,!0,t)||e}const Eo=Symbol.for("v-ndc");function ka(e){return ne(e)?xo(Lr,e,!1)||e:e||Eo}function xo(e,t,n=!0,r=!1){const s=de||ie;if(s){const o=s.type;if(e===Lr){const l=uc(o,!1);if(l&&(l===t||l===Ne(t)||l===Rn(Ne(t))))return o}const i=ss(s[e]||o[e],t)||ss(s.appContext[e],t);return!i&&r?o:i}}function ss(e,t){return e&&(e[t]||e[Ne(t)]||e[Rn(Ne(t))])}function Ua(e,t,n,r){let s;const o=n&&n[r];if(U(e)||ne(e)){s=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;lxn(t)?!(t.type===ve||t.type===me&&!To(t.children)):!0)?e:null}function Wa(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:dn(r)]=e[r];return n}const cr=e=>e?Uo(e)?kn(e)||e.proxy:cr(e.parent):null,Nt=ae(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=>cr(e.parent),$root:e=>cr(e.root),$emit:e=>e.emit,$options:e=>Nr(e),$forceUpdate:e=>e.f||(e.f=()=>In(e.update)),$nextTick:e=>e.n||(e.n=Fn.bind(e.proxy)),$watch:e=>_l.bind(e)}),zn=(e,t)=>e!==te&&!e.__isScriptSetup&&X(e,t),Fl={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const w=i[t];if(w!==void 0)switch(w){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(zn(r,t))return i[t]=1,r[t];if(s!==te&&X(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&X(a,t))return i[t]=3,o[t];if(n!==te&&X(n,t))return i[t]=4,n[t];ar&&(i[t]=0)}}const f=Nt[t];let h,m;if(f)return t==="$attrs"&&ye(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&X(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,X(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return zn(s,t)?(s[t]=n,!0):r!==te&&X(r,t)?(r[t]=n,!0):X(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}},i){let l;return!!n[i]||e!==te&&X(e,i)||zn(t,i)||(l=o[0])&&X(l,i)||X(r,i)||X(Nt,i)||X(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Va(){return Il().slots}function Il(){const e=Bn();return e.setupContext||(e.setupContext=Wo(e))}function os(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ar=!0;function Ll(e){const t=Nr(e),n=e.proxy,r=e.ctx;ar=!1,t.beforeCreate&&is(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:m,beforeUpdate:w,updated:E,activated:T,deactivated:L,beforeDestroy:B,beforeUnmount:k,destroyed:y,unmounted:p,render:F,renderTracked:K,renderTriggered:N,errorCaptured:v,serverPrefetch:M,expose:R,inheritAttrs:z,components:O,directives:q,filters:oe}=t;if(a&&Nl(a,r,null),i)for(const Y in i){const D=i[Y];W(D)&&(r[Y]=D.bind(n))}if(s){const Y=s.call(n,n);ee(Y)&&(e.data=Pn(Y))}if(ar=!0,o)for(const Y in o){const D=o[Y],He=W(D)?D.bind(n,n):W(D.get)?D.get.bind(n,n):Oe,Xt=!W(D)&&W(D.set)?D.set.bind(n):Oe,Ge=ue({get:He,set:Xt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Pe=>Ge.value=Pe})}if(l)for(const Y in l)Ao(l[Y],r,n,Y);if(c){const Y=W(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(D=>{kl(D,Y[D])})}f&&is(f,e,"c");function H(Y,D){U(D)?D.forEach(He=>Y(He.bind(n))):D&&Y(D.bind(n))}if(H(Tl,h),H(Rt,m),H(Al,w),H(Sl,E),H(Cl,T),H(El,L),H(Ml,v),H(Pl,K),H(Ol,N),H(Co,k),H(jn,p),H(Rl,M),U(R))if(R.length){const Y=e.exposed||(e.exposed={});R.forEach(D=>{Object.defineProperty(Y,D,{get:()=>n[D],set:He=>n[D]=He})})}else e.exposed||(e.exposed={});F&&e.render===Oe&&(e.render=F),z!=null&&(e.inheritAttrs=z),O&&(e.components=O),q&&(e.directives=q)}function Nl(e,t,n=Oe){U(e)&&(e=ur(e));for(const r in e){const s=e[r];let o;ee(s)?"default"in s?o=wt(s.from||r,s.default,!0):o=wt(s.from||r):o=wt(s),le(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function is(e,t,n){xe(U(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ao(e,t,n,r){const s=r.includes(".")?yo(n,r):()=>n[r];if(ne(e)){const o=t[e];W(o)&&Xe(s,o)}else if(W(e))Xe(s,e.bind(n));else if(ee(e))if(U(e))e.forEach(o=>Ao(o,t,n,r));else{const o=W(e.handler)?e.handler.bind(n):t[e.handler];W(o)&&Xe(s,o,e)}}function Nr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(a=>wn(c,a,i,!0)),wn(c,t,i)),ee(t)&&o.set(t,c),c}function wn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&wn(e,o,n,!0),s&&s.forEach(i=>wn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Hl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Hl={data:ls,props:cs,emits:cs,methods:Ft,computed:Ft,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:Ft,directives:Ft,watch:jl,provide:ls,inject:$l};function ls(e,t){return t?e?function(){return ae(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function $l(e,t){return Ft(ur(e),ur(t))}function ur(e){if(U(e)){const t={};for(let n=0;n1)return n&&W(t)?t.call(r&&r.proxy):t}}function Ul(e,t,n,r=!1){const s={},o={};mn(o,Dn,1),e.propsDefaults=Object.create(null),Ro(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Ji(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Kl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=Q(s),[c]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,w]=Oo(h,t,!0);ae(i,m),w&&l.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return ee(e)&&r.set(e,mt),mt;if(U(o))for(let f=0;f-1,w[1]=T<0||E-1||X(w,"default"))&&l.push(h)}}}const a=[i,l];return ee(e)&&r.set(e,a),a}function as(e){return e[0]!=="$"}function us(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function fs(e,t){return us(e)===us(t)}function ds(e,t){return U(t)?t.findIndex(n=>fs(n,e)):W(t)&&fs(t,e)?0:-1}const Po=e=>e[0]==="_"||e==="$stable",Hr=e=>U(e)?e.map(Ae):[Ae(e)],Wl=(e,t,n)=>{if(t._n)return t;const r=dl((...s)=>Hr(t(...s)),n);return r._c=!1,r},Mo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Po(s))continue;const o=e[s];if(W(o))t[s]=Wl(s,o,r);else if(o!=null){const i=Hr(o);t[s]=()=>i}}},Fo=(e,t)=>{const n=Hr(t);e.slots.default=()=>n},Vl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),mn(t,"_",n)):Mo(t,e.slots={})}else e.slots={},t&&Fo(e,t);mn(e.slots,Dn,1)},ql=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=te;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ae(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Mo(t,s)),i=t}else t&&(Fo(e,t),i={default:1});if(o)for(const l in s)!Po(l)&&i[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(U(e)){e.forEach((m,w)=>En(m,t&&(U(t)?t[w]:t),n,r,s));return}if(vt(r)&&!s)return;const o=r.shapeFlag&4?kn(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(ne(a)?(f[a]=null,X(h,a)&&(h[a]=null)):le(a)&&(a.value=null)),W(c))Je(c,l,12,[i,f]);else{const m=ne(c),w=le(c);if(m||w){const E=()=>{if(e.f){const T=m?X(h,c)?h[c]:f[c]:c.value;s?U(T)&&_r(T,o):U(T)?T.includes(o)||T.push(o):m?(f[c]=[o],X(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,X(h,c)&&(h[c]=i)):w&&(c.value=i,e.k&&(f[e.k]=i))};i?(E.id=-1,ge(E,n)):E()}}}let Ke=!1;const on=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",ln=e=>e.nodeType===8;function zl(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:a}}=e,f=(y,p)=>{if(!p.hasChildNodes()){n(null,y,p),bn(),p._vnode=y;return}Ke=!1,h(p.firstChild,y,null,null,null),bn(),p._vnode=y,Ke&&console.error("Hydration completed but contains mismatches.")},h=(y,p,F,K,N,v=!1)=>{const M=ln(y)&&y.data==="[",R=()=>T(y,p,F,K,N,M),{type:z,ref:O,shapeFlag:q,patchFlag:oe}=p;let fe=y.nodeType;p.el=y,oe===-2&&(v=!1,p.dynamicChildren=null);let H=null;switch(z){case Et:fe!==3?p.children===""?(c(p.el=s(""),i(y),y),H=y):H=R():(y.data!==p.children&&(Ke=!0,y.data=p.children),H=o(y));break;case ve:if(fe!==8||M)if(y.tagName.toLowerCase()==="template"){const Y=p.el.content.firstChild;B(Y,y,F),p.el=y=Y,H=o(y)}else H=R();else H=o(y);break;case $t:if(M&&(y=o(y),fe=y.nodeType),fe===1||fe===3){H=y;const Y=!p.children.length;for(let D=0;D{v=v||!!p.dynamicChildren;const{type:M,props:R,patchFlag:z,shapeFlag:O,dirs:q,transition:oe}=p,fe=M==="input"&&q||M==="option";if(fe||z!==-1){if(q&&Fe(p,null,F,"created"),R)if(fe||!v||z&48)for(const D in R)(fe&&D.endsWith("value")||zt(D)&&!It(D))&&r(y,D,null,R[D],!1,void 0,F);else R.onClick&&r(y,"onClick",null,R.onClick,!1,void 0,F);let H;(H=R&&R.onVnodeBeforeMount)&&Ce(H,F,p);let Y=!1;if(k(y)){Y=Lo(K,oe)&&F&&F.vnode.props&&F.vnode.props.appear;const D=y.content.firstChild;Y&&oe.beforeEnter(D),B(D,y,F),p.el=y=D}if(q&&Fe(p,null,F,"beforeMount"),((H=R&&R.onVnodeMounted)||q||Y)&&mo(()=>{H&&Ce(H,F,p),Y&&oe.enter(y),q&&Fe(p,null,F,"mounted")},K),O&16&&!(R&&(R.innerHTML||R.textContent))){let D=w(y.firstChild,p,y,F,K,N,v);for(;D;){Ke=!0;const He=D;D=D.nextSibling,l(He)}}else O&8&&y.textContent!==p.children&&(Ke=!0,y.textContent=p.children)}return y.nextSibling},w=(y,p,F,K,N,v,M)=>{M=M||!!p.dynamicChildren;const R=p.children,z=R.length;for(let O=0;O{const{slotScopeIds:M}=p;M&&(N=N?N.concat(M):M);const R=i(y),z=w(o(y),p,R,F,K,N,v);return z&&ln(z)&&z.data==="]"?o(p.anchor=z):(Ke=!0,c(p.anchor=a("]"),R,z),z)},T=(y,p,F,K,N,v)=>{if(Ke=!0,p.el=null,v){const z=L(y);for(;;){const O=o(y);if(O&&O!==z)l(O);else break}}const M=o(y),R=i(y);return l(y),n(null,p,R,M,F,K,on(R),N),M},L=(y,p="[",F="]")=>{let K=0;for(;y;)if(y=o(y),y&&ln(y)&&(y.data===p&&K++,y.data===F)){if(K===0)return o(y);K--}return y},B=(y,p,F)=>{const K=p.parentNode;K&&K.replaceChild(y,p);let N=F;for(;N;)N.vnode.el===p&&(N.vnode.el=y,N.subTree.el=y),N=N.parent},k=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[f,h]}const ge=mo;function Yl(e){return Io(e)}function Jl(e){return Io(e,zl)}function Io(e,t){const n=tr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:m,setScopeId:w=Oe,insertStaticContent:E}=e,T=(u,d,g,_=null,b=null,A=null,P=!1,x=null,S=!!d.dynamicChildren)=>{if(u===d)return;u&&!st(u,d)&&(_=Qt(u),Pe(u,b,A,!0),u=null),d.patchFlag===-2&&(S=!1,d.dynamicChildren=null);const{type:C,ref:$,shapeFlag:I}=d;switch(C){case Et:L(u,d,g,_);break;case ve:B(u,d,g,_);break;case $t:u==null&&k(d,g,_,P);break;case me:O(u,d,g,_,b,A,P,x,S);break;default:I&1?F(u,d,g,_,b,A,P,x,S):I&6?q(u,d,g,_,b,A,P,x,S):(I&64||I&128)&&C.process(u,d,g,_,b,A,P,x,S,dt)}$!=null&&b&&En($,u&&u.ref,A,d||u,!d)},L=(u,d,g,_)=>{if(u==null)r(d.el=l(d.children),g,_);else{const b=d.el=u.el;d.children!==u.children&&a(b,d.children)}},B=(u,d,g,_)=>{u==null?r(d.el=c(d.children||""),g,_):d.el=u.el},k=(u,d,g,_)=>{[u.el,u.anchor]=E(u.children,d,g,_,u.el,u.anchor)},y=({el:u,anchor:d},g,_)=>{let b;for(;u&&u!==d;)b=m(u),r(u,g,_),u=b;r(d,g,_)},p=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=m(u),s(u),u=g;s(d)},F=(u,d,g,_,b,A,P,x,S)=>{P=P||d.type==="svg",u==null?K(d,g,_,b,A,P,x,S):M(u,d,b,A,P,x,S)},K=(u,d,g,_,b,A,P,x)=>{let S,C;const{type:$,props:I,shapeFlag:j,transition:V,dirs:J}=u;if(S=u.el=i(u.type,A,I&&I.is,I),j&8?f(S,u.children):j&16&&v(u.children,S,null,_,b,A&&$!=="foreignObject",P,x),J&&Fe(u,null,_,"created"),N(S,u,u.scopeId,P,_),I){for(const Z in I)Z!=="value"&&!It(Z)&&o(S,Z,null,I[Z],A,u.children,_,b,$e);"value"in I&&o(S,"value",null,I.value),(C=I.onVnodeBeforeMount)&&Ce(C,_,u)}J&&Fe(u,null,_,"beforeMount");const G=Lo(b,V);G&&V.beforeEnter(S),r(S,d,g),((C=I&&I.onVnodeMounted)||G||J)&&ge(()=>{C&&Ce(C,_,u),G&&V.enter(S),J&&Fe(u,null,_,"mounted")},b)},N=(u,d,g,_,b)=>{if(g&&w(u,g),_)for(let A=0;A<_.length;A++)w(u,_[A]);if(b){let A=b.subTree;if(d===A){const P=b.vnode;N(u,P,P.scopeId,P.slotScopeIds,b.parent)}}},v=(u,d,g,_,b,A,P,x,S=0)=>{for(let C=S;C{const x=d.el=u.el;let{patchFlag:S,dynamicChildren:C,dirs:$}=d;S|=u.patchFlag&16;const I=u.props||te,j=d.props||te;let V;g&&et(g,!1),(V=j.onVnodeBeforeUpdate)&&Ce(V,g,d,u),$&&Fe(d,u,g,"beforeUpdate"),g&&et(g,!0);const J=b&&d.type!=="foreignObject";if(C?R(u.dynamicChildren,C,x,g,_,J,A):P||D(u,d,x,null,g,_,J,A,!1),S>0){if(S&16)z(x,d,I,j,g,_,b);else if(S&2&&I.class!==j.class&&o(x,"class",null,j.class,b),S&4&&o(x,"style",I.style,j.style,b),S&8){const G=d.dynamicProps;for(let Z=0;Z{V&&Ce(V,g,d,u),$&&Fe(d,u,g,"updated")},_)},R=(u,d,g,_,b,A,P)=>{for(let x=0;x{if(g!==_){if(g!==te)for(const x in g)!It(x)&&!(x in _)&&o(u,x,g[x],null,P,d.children,b,A,$e);for(const x in _){if(It(x))continue;const S=_[x],C=g[x];S!==C&&x!=="value"&&o(u,x,C,S,P,d.children,b,A,$e)}"value"in _&&o(u,"value",g.value,_.value)}},O=(u,d,g,_,b,A,P,x,S)=>{const C=d.el=u?u.el:l(""),$=d.anchor=u?u.anchor:l("");let{patchFlag:I,dynamicChildren:j,slotScopeIds:V}=d;V&&(x=x?x.concat(V):V),u==null?(r(C,g,_),r($,g,_),v(d.children,g,$,b,A,P,x,S)):I>0&&I&64&&j&&u.dynamicChildren?(R(u.dynamicChildren,j,g,b,A,P,x),(d.key!=null||b&&d===b.subTree)&&$r(u,d,!0)):D(u,d,g,$,b,A,P,x,S)},q=(u,d,g,_,b,A,P,x,S)=>{d.slotScopeIds=x,u==null?d.shapeFlag&512?b.ctx.activate(d,g,_,P,S):oe(d,g,_,b,A,P,S):fe(u,d,S)},oe=(u,d,g,_,b,A,P)=>{const x=u.component=ic(u,_,b);if(Jt(u)&&(x.ctx.renderer=dt),lc(x),x.asyncDep){if(b&&b.registerDep(x,H),!u.el){const S=x.subTree=re(ve);B(null,S,d,g)}return}H(x,u,d,g,b,A,P)},fe=(u,d,g)=>{const _=d.component=u.component;if(gl(u,d,g))if(_.asyncDep&&!_.asyncResolved){Y(_,d,g);return}else _.next=d,cl(_.update),_.update();else d.el=u.el,_.vnode=d},H=(u,d,g,_,b,A,P)=>{const x=()=>{if(u.isMounted){let{next:$,bu:I,u:j,parent:V,vnode:J}=u,G=$,Z;et(u,!1),$?($.el=J.el,Y(u,$,P)):$=J,I&&hn(I),(Z=$.props&&$.props.onVnodeBeforeUpdate)&&Ce(Z,V,$,J),et(u,!0);const se=Wn(u),Te=u.subTree;u.subTree=se,T(Te,se,h(Te.el),Qt(Te),u,b,A),$.el=se.el,G===null&&ml(u,se.el),j&&ge(j,b),(Z=$.props&&$.props.onVnodeUpdated)&&ge(()=>Ce(Z,V,$,J),b)}else{let $;const{el:I,props:j}=d,{bm:V,m:J,parent:G}=u,Z=vt(d);if(et(u,!1),V&&hn(V),!Z&&($=j&&j.onVnodeBeforeMount)&&Ce($,G,d),et(u,!0),I&&Kn){const se=()=>{u.subTree=Wn(u),Kn(I,u.subTree,u,b,null)};Z?d.type.__asyncLoader().then(()=>!u.isUnmounted&&se()):se()}else{const se=u.subTree=Wn(u);T(null,se,g,_,u,b,A),d.el=se.el}if(J&&ge(J,b),!Z&&($=j&&j.onVnodeMounted)){const se=d;ge(()=>Ce($,G,se),b)}(d.shapeFlag&256||G&&vt(G.vnode)&&G.vnode.shapeFlag&256)&&u.a&&ge(u.a,b),u.isMounted=!0,d=g=_=null}},S=u.effect=new Er(x,()=>In(C),u.scope),C=u.update=()=>S.run();C.id=u.uid,et(u,!0),C()},Y=(u,d,g)=>{d.component=u;const _=u.vnode.props;u.vnode=d,u.next=null,Kl(u,d.props,_,g),ql(u,d.children,g),At(),ts(),St()},D=(u,d,g,_,b,A,P,x,S=!1)=>{const C=u&&u.children,$=u?u.shapeFlag:0,I=d.children,{patchFlag:j,shapeFlag:V}=d;if(j>0){if(j&128){Xt(C,I,g,_,b,A,P,x,S);return}else if(j&256){He(C,I,g,_,b,A,P,x,S);return}}V&8?($&16&&$e(C,b,A),I!==C&&f(g,I)):$&16?V&16?Xt(C,I,g,_,b,A,P,x,S):$e(C,b,A,!0):($&8&&f(g,""),V&16&&v(I,g,_,b,A,P,x,S))},He=(u,d,g,_,b,A,P,x,S)=>{u=u||mt,d=d||mt;const C=u.length,$=d.length,I=Math.min(C,$);let j;for(j=0;j$?$e(u,b,A,!0,!1,I):v(d,g,_,b,A,P,x,S,I)},Xt=(u,d,g,_,b,A,P,x,S)=>{let C=0;const $=d.length;let I=u.length-1,j=$-1;for(;C<=I&&C<=j;){const V=u[C],J=d[C]=S?ze(d[C]):Ae(d[C]);if(st(V,J))T(V,J,g,null,b,A,P,x,S);else break;C++}for(;C<=I&&C<=j;){const V=u[I],J=d[j]=S?ze(d[j]):Ae(d[j]);if(st(V,J))T(V,J,g,null,b,A,P,x,S);else break;I--,j--}if(C>I){if(C<=j){const V=j+1,J=V<$?d[V].el:_;for(;C<=j;)T(null,d[C]=S?ze(d[C]):Ae(d[C]),g,J,b,A,P,x,S),C++}}else if(C>j)for(;C<=I;)Pe(u[C],b,A,!0),C++;else{const V=C,J=C,G=new Map;for(C=J;C<=j;C++){const _e=d[C]=S?ze(d[C]):Ae(d[C]);_e.key!=null&&G.set(_e.key,C)}let Z,se=0;const Te=j-J+1;let ht=!1,Wr=0;const Ot=new Array(Te);for(C=0;C=Te){Pe(_e,b,A,!0);continue}let Me;if(_e.key!=null)Me=G.get(_e.key);else for(Z=J;Z<=j;Z++)if(Ot[Z-J]===0&&st(_e,d[Z])){Me=Z;break}Me===void 0?Pe(_e,b,A,!0):(Ot[Me-J]=C+1,Me>=Wr?Wr=Me:ht=!0,T(_e,d[Me],g,null,b,A,P,x,S),se++)}const Vr=ht?Xl(Ot):mt;for(Z=Vr.length-1,C=Te-1;C>=0;C--){const _e=J+C,Me=d[_e],qr=_e+1<$?d[_e+1].el:_;Ot[C]===0?T(null,Me,g,qr,b,A,P,x,S):ht&&(Z<0||C!==Vr[Z]?Ge(Me,g,qr,2):Z--)}}},Ge=(u,d,g,_,b=null)=>{const{el:A,type:P,transition:x,children:S,shapeFlag:C}=u;if(C&6){Ge(u.component.subTree,d,g,_);return}if(C&128){u.suspense.move(d,g,_);return}if(C&64){P.move(u,d,g,dt);return}if(P===me){r(A,d,g);for(let I=0;Ix.enter(A),b);else{const{leave:I,delayLeave:j,afterLeave:V}=x,J=()=>r(A,d,g),G=()=>{I(A,()=>{J(),V&&V()})};j?j(A,J,G):G()}else r(A,d,g)},Pe=(u,d,g,_=!1,b=!1)=>{const{type:A,props:P,ref:x,children:S,dynamicChildren:C,shapeFlag:$,patchFlag:I,dirs:j}=u;if(x!=null&&En(x,null,g,u,!0),$&256){d.ctx.deactivate(u);return}const V=$&1&&j,J=!vt(u);let G;if(J&&(G=P&&P.onVnodeBeforeUnmount)&&Ce(G,d,u),$&6)fi(u.component,g,_);else{if($&128){u.suspense.unmount(g,_);return}V&&Fe(u,null,d,"beforeUnmount"),$&64?u.type.remove(u,d,g,b,dt,_):C&&(A!==me||I>0&&I&64)?$e(C,d,g,!1,!0):(A===me&&I&384||!b&&$&16)&&$e(S,d,g),_&&Ur(u)}(J&&(G=P&&P.onVnodeUnmounted)||V)&&ge(()=>{G&&Ce(G,d,u),V&&Fe(u,null,d,"unmounted")},g)},Ur=u=>{const{type:d,el:g,anchor:_,transition:b}=u;if(d===me){ui(g,_);return}if(d===$t){p(u);return}const A=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:P,delayLeave:x}=b,S=()=>P(g,A);x?x(u.el,A,S):S()}else A()},ui=(u,d)=>{let g;for(;u!==d;)g=m(u),s(u),u=g;s(d)},fi=(u,d,g)=>{const{bum:_,scope:b,update:A,subTree:P,um:x}=u;_&&hn(_),b.stop(),A&&(A.active=!1,Pe(P,u,d,g)),x&&ge(x,d),ge(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},$e=(u,d,g,_=!1,b=!1,A=0)=>{for(let P=A;Pu.shapeFlag&6?Qt(u.component.subTree):u.shapeFlag&128?u.suspense.next():m(u.anchor||u.el),Kr=(u,d,g)=>{u==null?d._vnode&&Pe(d._vnode,null,null,!0):T(d._vnode||null,u,d,null,null,null,g),ts(),bn(),d._vnode=u},dt={p:T,um:Pe,m:Ge,r:Ur,mt:oe,mc:v,pc:D,pbc:R,n:Qt,o:e};let Un,Kn;return t&&([Un,Kn]=t(dt)),{render:Kr,hydrate:Un,createApp:Bl(Kr,Un)}}function et({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Lo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $r(e,t,n=!1){const r=e.children,s=t.children;if(U(r)&&U(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Ql=e=>e.__isTeleport,Ht=e=>e&&(e.disabled||e.disabled===""),hs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dr=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},Zl={__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,a){const{mc:f,pc:h,pbc:m,o:{insert:w,querySelector:E,createText:T,createComment:L}}=a,B=Ht(t.props);let{shapeFlag:k,children:y,dynamicChildren:p}=t;if(e==null){const F=t.el=T(""),K=t.anchor=T("");w(F,n,r),w(K,n,r);const N=t.target=dr(t.props,E),v=t.targetAnchor=T("");N&&(w(v,N),i=i||hs(N));const M=(R,z)=>{k&16&&f(y,R,z,s,o,i,l,c)};B?M(n,K):N&&M(N,v)}else{t.el=e.el;const F=t.anchor=e.anchor,K=t.target=e.target,N=t.targetAnchor=e.targetAnchor,v=Ht(e.props),M=v?n:K,R=v?F:N;if(i=i||hs(K),p?(m(e.dynamicChildren,p,M,s,o,i,l),$r(e,t,!0)):c||h(e,t,M,R,s,o,i,l,!1),B)v?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):cn(t,n,F,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=dr(t.props,E);z&&cn(t,z,null,a,0)}else v&&cn(t,K,N,a,1)}No(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:m}=e;if(h&&o(f),i&&o(a),l&16){const w=i||!Ht(m);for(let E=0;E0?Re||mt:null,ec(),Kt>0&&Re&&Re.push(e),e}function za(e,t,n,r,s,o){return $o(Bo(e,t,n,r,s,o,!0))}function jo(e,t,n,r,s){return $o(re(e,t,n,r,s,!0))}function xn(e){return e?e.__v_isVNode===!0:!1}function st(e,t){return e.type===t.type&&e.key===t.key}const Dn="__vInternal",Do=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||le(e)||W(e)?{i:de,r:e,k:t,f:!!n}:e:null);function Bo(e,t=null,n=null,r=0,s=null,o=e===me?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Do(t),ref:t&&pn(t),scopeId:Nn,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:de};return l?(jr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Kt>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const re=tc;function tc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Eo)&&(e=ve),xn(e)){const l=Ze(e,t,!0);return n&&jr(l,n),Kt>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(fc(e)&&(e=e.__vccOpts),t){t=nc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=wr(l)),ee(c)&&(lo(c)&&!U(c)&&(c=ae({},c)),t.style=vr(c))}const i=ne(e)?1:yl(e)?128:Ql(e)?64:ee(e)?4:W(e)?2:0;return Bo(e,t,n,r,s,i,o,!0)}function nc(e){return e?lo(e)||Dn in e?ae({},e):e:null}function Ze(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?rc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Do(l),ref:t&&t.ref?n&&s?U(s)?s.concat(pn(t)):[s,pn(t)]:pn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?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&&Ze(e.ssContent),ssFallback:e.ssFallback&&Ze(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ko(e=" ",t=0){return re(Et,null,e,t)}function Ya(e,t){const n=re($t,null,e);return n.staticCount=t,n}function Ja(e="",t=!1){return t?(Ho(),jo(ve,null,e)):re(ve,null,e)}function Ae(e){return e==null||typeof e=="boolean"?re(ve):U(e)?re(me,null,e.slice()):typeof e=="object"?ze(e):re(Et,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ze(e)}function jr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),jr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Dn in t)?t._ctx=de:s===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:de},n=32):(t=String(t),r&64?(n=16,t=[ko(t)]):n=8);e.children=t,e.shapeFlag|=n}function rc(...e){const t={};for(let n=0;nie||de;let Dr,pt,gs="__VUE_INSTANCE_SETTERS__";(pt=tr()[gs])||(pt=tr()[gs]=[]),pt.push(e=>ie=e),Dr=e=>{pt.length>1?pt.forEach(t=>t(e)):pt[0](e)};const xt=e=>{Dr(e),e.scope.on()},ct=()=>{ie&&ie.scope.off(),Dr(null)};function Uo(e){return e.vnode.shapeFlag&4}let Tt=!1;function lc(e,t=!1){Tt=t;const{props:n,children:r}=e.vnode,s=Uo(e);Ul(e,n,s,t),Vl(e,r);const o=s?cc(e,t):void 0;return Tt=!1,o}function cc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Lt(new Proxy(e.ctx,Fl));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Wo(e):null;xt(e),At();const o=Je(r,e,0,[e.props,s]);if(St(),ct(),Vs(o)){if(o.then(ct,ct),t)return o.then(i=>{ms(e,i,t)}).catch(i=>{Yt(i,e,0)});e.asyncDep=o}else ms(e,o,t)}else Ko(e,t)}function ms(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=uo(t)),Ko(e,n)}let ys;function Ko(e,t,n){const r=e.type;if(!e.render){if(!t&&ys&&!r.render){const s=r.template||Nr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,a=ae(ae({isCustomElement:o,delimiters:l},i),c);r.render=ys(s,a)}}e.render=r.render||Oe}{xt(e),At();try{Ll(e)}finally{St(),ct()}}}function ac(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function Wo(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return ac(e)},slots:e.slots,emit:e.emit,expose:t}}function kn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(uo(Lt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nt)return Nt[n](e)},has(t,n){return n in t||n in Nt}}))}function uc(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function fc(e){return W(e)&&"__vccOpts"in e}const ue=(e,t)=>ol(e,t,Tt);function hr(e,t,n){const r=arguments.length;return r===2?ee(t)&&!U(t)?xn(t)?re(e,null,[t]):re(e,t):re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&xn(n)&&(n=[n]),re(e,t,n))}const dc=Symbol.for("v-scx"),hc=()=>wt(dc),pc="3.3.7",gc="http://www.w3.org/2000/svg",ot=typeof document<"u"?document:null,_s=ot&&ot.createElement("template"),mc={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?ot.createElementNS(gc,e):ot.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{_s.innerHTML=r?`${e}`:e;const l=_s.content;if(r){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},We="transition",Pt="animation",Wt=Symbol("_vtc"),Vo=(e,{slots:t})=>hr(wl,yc(e),t);Vo.displayName="Transition";const qo={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};Vo.props=ae({},_o,qo);const tt=(e,t=[])=>{U(e)?e.forEach(n=>n(...t)):e&&e(...t)},bs=e=>e?U(e)?e.some(t=>t.length>1):e.length>1:!1;function yc(e){const t={};for(const O in e)O in qo||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:a=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:w=`${n}-leave-to`}=e,E=_c(s),T=E&&E[0],L=E&&E[1],{onBeforeEnter:B,onEnter:k,onEnterCancelled:y,onLeave:p,onLeaveCancelled:F,onBeforeAppear:K=B,onAppear:N=k,onAppearCancelled:v=y}=t,M=(O,q,oe)=>{nt(O,q?f:l),nt(O,q?a:i),oe&&oe()},R=(O,q)=>{O._isLeaving=!1,nt(O,h),nt(O,w),nt(O,m),q&&q()},z=O=>(q,oe)=>{const fe=O?N:k,H=()=>M(q,O,oe);tt(fe,[q,H]),vs(()=>{nt(q,O?c:o),Ve(q,O?f:l),bs(fe)||ws(q,r,T,H)})};return ae(t,{onBeforeEnter(O){tt(B,[O]),Ve(O,o),Ve(O,i)},onBeforeAppear(O){tt(K,[O]),Ve(O,c),Ve(O,a)},onEnter:z(!1),onAppear:z(!0),onLeave(O,q){O._isLeaving=!0;const oe=()=>R(O,q);Ve(O,h),wc(),Ve(O,m),vs(()=>{O._isLeaving&&(nt(O,h),Ve(O,w),bs(p)||ws(O,r,L,oe))}),tt(p,[O,oe])},onEnterCancelled(O){M(O,!1),tt(y,[O])},onAppearCancelled(O){M(O,!0),tt(v,[O])},onLeaveCancelled(O){R(O),tt(F,[O])}})}function _c(e){if(e==null)return null;if(ee(e))return[Yn(e.enter),Yn(e.leave)];{const t=Yn(e);return[t,t]}}function Yn(e){return _i(e)}function Ve(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Wt]||(e[Wt]=new Set)).add(t)}function nt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Wt];n&&(n.delete(t),n.size||(e[Wt]=void 0))}function vs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let bc=0;function ws(e,t,n,r){const s=e._endId=++bc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=vc(e,t);if(!i)return r();const a=i+"end";let f=0;const h=()=>{e.removeEventListener(a,m),o()},m=w=>{w.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[E]||"").split(", "),s=r(`${We}Delay`),o=r(`${We}Duration`),i=Cs(s,o),l=r(`${Pt}Delay`),c=r(`${Pt}Duration`),a=Cs(l,c);let f=null,h=0,m=0;t===We?i>0&&(f=We,h=i,m=o.length):t===Pt?a>0&&(f=Pt,h=a,m=c.length):(h=Math.max(i,a),f=h>0?i>a?We:Pt:null,m=f?f===We?o.length:c.length:0);const w=f===We&&/\b(transform|all)(,|$)/.test(r(`${We}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:w}}function Cs(e,t){for(;e.lengthEs(n)+Es(e[r])))}function Es(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wc(){return document.body.offsetHeight}function Cc(e,t,n){const r=e[Wt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ec=Symbol("_vod");function xc(e,t,n){const r=e.style,s=ne(n);if(n&&!s){if(t&&!ne(t))for(const o in t)n[o]==null&&pr(r,o,"");for(const o in n)pr(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),Ec in e&&(r.display=o)}}const xs=/\s*!important$/;function pr(e,t,n){if(U(n))n.forEach(r=>pr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Tc(e,t);xs.test(n)?e.setProperty(ft(r),n.replace(xs,""),"important"):e[r]=n}}const Ts=["Webkit","Moz","ms"],Jn={};function Tc(e,t){const n=Jn[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return Jn[t]=r;r=Rn(r);for(let s=0;sXn||(Mc.then(()=>Xn=0),Xn=Date.now());function Ic(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;xe(Lc(r,n.value),t,5,[r])};return n.value=e,n.attached=Fc(),n}function Lc(e,t){if(U(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 Os=/^on[a-z]/,Nc=(e,t,n,r,s=!1,o,i,l,c)=>{t==="class"?Cc(e,r,s):t==="style"?xc(e,n,r):zt(t)?yr(t)||Oc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hc(e,t,r,s))?Sc(e,t,r,o,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ac(e,t,r,s))};function Hc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Os.test(t)&&W(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Os.test(t)&&ne(n)?!1:t in e}const Ps=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?n=>hn(t,n):t};function $c(e){e.target.composing=!0}function Ms(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign"),Xa={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Qn]=Ps(s);const o=r||s.props&&s.props.type==="number";gt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=er(l)),e[Qn](l)}),n&>(e,"change",()=>{e.value=e.value.trim()}),t||(gt(e,"compositionstart",$c),gt(e,"compositionend",Ms),gt(e,"change",Ms))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e[Qn]=Ps(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&er(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},jc=["ctrl","shift","alt","meta"],Dc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>jc.some(n=>e[`${n}Key`]&&!t.includes(n))},Qa=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=ft(n.key);if(t.some(s=>s===r||Bc[s]===r))return e(n)},zo=ae({patchProp:Nc},mc);let Dt,Fs=!1;function kc(){return Dt||(Dt=Yl(zo))}function Uc(){return Dt=Fs?Dt:Jl(zo),Fs=!0,Dt}const Ga=(...e)=>{const t=kc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Yo(r);if(!s)return;const o=t._component;!W(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},eu=(...e)=>{const t=Uc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Yo(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Yo(e){return ne(e)?document.querySelector(e):e}const Kc=window.__VP_SITE_DATA__;function Br(e){return Xs()?(Si(e),!0):!1}function Le(e){return typeof e=="function"?e():ao(e)}const Jo=typeof window<"u"&&typeof document<"u",Wc=Object.prototype.toString,Vc=e=>Wc.call(e)==="[object Object]",Vt=()=>{},Is=qc();function qc(){var e;return Jo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function zc(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 Xo=e=>e();function Yc(e,t={}){let n,r,s=Vt;const o=l=>{clearTimeout(l),s(),s=Vt};return l=>{const c=Le(e),a=Le(t.maxWait);return n&&o(n),c<=0||a!==void 0&&a<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,a&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},a)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function Jc(e=Xo){const t=ce(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Mn(t),pause:n,resume:r,eventFilter:s}}function Qo(...e){if(e.length!==1)return nl(...e);const t=e[0];return typeof t=="function"?Mn(Gi(()=>({get:t,set:Vt}))):ce(t)}function Zo(e,t,n={}){const{eventFilter:r=Xo,...s}=n;return Xe(e,zc(r,t),s)}function Xc(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=Jc(r);return{stop:Zo(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Qc(e,t=!0){Bn()?Rt(e):t?e():Fn(e)}function tu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return Zo(e,t,{...o,eventFilter:Yc(r,{maxWait:s})})}function nu(e,t,n){let r;le(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=Vt}=r,c=ce(!s),a=i?Pr(t):ce(t);let f=0;return Fr(async h=>{if(!c.value)return;f++;const m=f;let w=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const E=await e(T=>{h(()=>{o&&(o.value=!1),w||T()})});m===f&&(a.value=E)}catch(E){l(E)}finally{o&&m===f&&(o.value=!1),w=!0}}),s?ue(()=>(c.value=!0,a.value)):a}function Go(e){var t;const n=Le(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Be=Jo?window:void 0;function qt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Be):[t,n,r,s]=e,!t)return Vt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,w)=>(f.addEventListener(h,m,w),()=>f.removeEventListener(h,m,w)),c=Xe(()=>[Go(t),Le(s)],([f,h])=>{if(i(),!f)return;const m=Vc(h)?{...h}:h;o.push(...n.flatMap(w=>r.map(E=>l(f,w,E,m))))},{immediate:!0,flush:"post"}),a=()=>{c(),i()};return Br(a),a}function Zc(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ru(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Be,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=Zc(t);return qt(s,o,f=>{f.repeat&&Le(l)||c(f)&&n(f)},i)}function Gc(){const e=ce(!1);return Bn()&&Rt(()=>{e.value=!0}),e}function ea(e){const t=Gc();return ue(()=>(t.value,!!e()))}function ta(e,t={}){const{window:n=Be}=t,r=ea(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ce(!1),i=a=>{o.value=a.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Fr(()=>{r.value&&(l(),s=n.matchMedia(Le(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Br(()=>{c(),l(),s=void 0}),o}const an=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},un="__vueuse_ssr_handlers__",na=ra();function ra(){return un in an||(an[un]=an[un]||{}),an[un]}function ei(e,t){return na[e]||t}function sa(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 oa={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()}},Ls="vueuse-storage";function kr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:a=!1,shallow:f,window:h=Be,eventFilter:m,onError:w=v=>{console.error(v)}}=r,E=(f?Pr:ce)(t);if(!n)try{n=ei("getDefaultStorage",()=>{var v;return(v=Be)==null?void 0:v.localStorage})()}catch(v){w(v)}if(!n)return E;const T=Le(t),L=sa(T),B=(s=r.serializer)!=null?s:oa[L],{pause:k,resume:y}=Xc(E,()=>p(E.value),{flush:o,deep:i,eventFilter:m});return h&&l&&(qt(h,"storage",N),qt(h,Ls,K)),N(),E;function p(v){try{if(v==null)n.removeItem(e);else{const M=B.write(v),R=n.getItem(e);R!==M&&(n.setItem(e,M),h&&h.dispatchEvent(new CustomEvent(Ls,{detail:{key:e,oldValue:R,newValue:M,storageArea:n}})))}}catch(M){w(M)}}function F(v){const M=v?v.newValue:n.getItem(e);if(M==null)return c&&T!==null&&n.setItem(e,B.write(T)),T;if(!v&&a){const R=B.read(M);return typeof a=="function"?a(R,T):L==="object"&&!Array.isArray(R)?{...T,...R}:R}else return typeof M!="string"?M:B.read(M)}function K(v){N(v.detail)}function N(v){if(!(v&&v.storageArea!==n)){if(v&&v.key==null){E.value=T;return}if(!(v&&v.key!==e)){k();try{(v==null?void 0:v.newValue)!==B.write(E.value)&&(E.value=F(v))}catch(M){w(M)}finally{v?Fn(y):y()}}}}}function ia(e){return ta("(prefers-color-scheme: dark)",e)}function la(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Be,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:a,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=ia({window:s}),w=ue(()=>m.value?"dark":"light"),E=c||(i==null?Qo(r):kr(i,r,o,{window:s,listenToStorageChanges:l})),T=ue(()=>E.value==="auto"?w.value:E.value),L=ei("updateHTMLAttrs",(p,F,K)=>{const N=typeof p=="string"?s==null?void 0:s.document.querySelector(p):Go(p);if(!N)return;let v;if(f){v=s.document.createElement("style");const M="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";v.appendChild(document.createTextNode(M)),s.document.head.appendChild(v)}if(F==="class"){const M=K.split(/\s/g);Object.values(h).flatMap(R=>(R||"").split(/\s/g)).filter(Boolean).forEach(R=>{M.includes(R)?N.classList.add(R):N.classList.remove(R)})}else N.setAttribute(F,K);f&&(s.getComputedStyle(v).opacity,document.head.removeChild(v))});function B(p){var F;L(t,n,(F=h[p])!=null?F:p)}function k(p){e.onChanged?e.onChanged(p,B):B(p)}Xe(T,k,{flush:"post",immediate:!0}),Qc(()=>k(T.value));const y=ue({get(){return a?E.value:T.value},set(p){E.value=p}});try{return Object.assign(y,{store:E,system:w,state:T})}catch{return y}}function ca(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=la({...e,onChanged:(o,i)=>{var l;e.onChanged?(l=e.onChanged)==null||l.call(e,o==="dark",i,o):i(o)},modes:{dark:t,light:n}});return ue({get(){return r.value==="dark"},set(o){const i=o?"dark":"light";r.system.value===i?r.value="auto":r.value=i}})}function Zn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function su(e,t,n={}){const{window:r=Be}=n;return kr(e,t,r==null?void 0:r.localStorage,n)}function ti(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}function ou(e,t=!1){const n=ce(t);let r=null,s;Xe(Qo(e),l=>{const c=Zn(Le(l));if(c){const a=c;s=a.style.overflow,n.value&&(a.style.overflow="hidden")}},{immediate:!0});const o=()=>{const l=Zn(Le(e));!l||n.value||(Is&&(r=qt(l,"touchmove",c=>{aa(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=Zn(Le(e));!l||!n.value||(Is&&(r==null||r()),l.style.overflow=s,n.value=!1)};return Br(i),ue({get(){return n.value},set(l){l?o():i()}})}function iu(e,t,n={}){const{window:r=Be}=n;return kr(e,t,r==null?void 0:r.sessionStorage,n)}function lu(e={}){const{window:t=Be}=e;if(!t)return{x:ce(0),y:ce(0)};const n=ce(t.scrollX),r=ce(t.scrollY);return qt(t,"scroll",()=>{n.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:n,y:r}}const ni=/^[a-z]+:/i,ua="vitepress-theme-appearance",ri=/#.*$/,fa=/(index)?\.(md|html)$/,Ee=typeof document<"u",si={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function da(e,t,n=!1){if(t===void 0)return!1;if(e=Ns(`/${e}`),n)return new RegExp(t).test(e);if(Ns(t)!==e)return!1;const r=t.match(ri);return r?(Ee?location.hash:"")===r[0]:!0}function Ns(e){return decodeURI(e).replace(ri,"").replace(fa,"")}function ha(e){return ni.test(e)}function pa(e,t){var r,s,o,i,l,c,a;const n=Object.keys(e.locales).find(f=>f!=="root"&&!ha(f)&&da(t,`/${f}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:ii(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function oi(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ga(e.title,r);return`${n}${s}`}function ga(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ma(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function ii(e,t){return[...e.filter(n=>!ma(t,n)),...t]}const ya=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,_a=/^[a-z]:/i;function Hs(e){const t=_a.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(ya,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ba=Symbol(),at=Pr(Kc);function cu(e){const t=ue(()=>pa(at.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?ce(!0):n?ca({storageKey:ua,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):ce(!1);return{site:t,theme:ue(()=>t.value.themeConfig),page:ue(()=>e.data),frontmatter:ue(()=>e.data.frontmatter),params:ue(()=>e.data.params),lang:ue(()=>t.value.lang),dir:ue(()=>t.value.dir),localeIndex:ue(()=>t.value.localeIndex||"root"),title:ue(()=>oi(t.value,e.data)),description:ue(()=>e.data.description||t.value.description),isDark:r}}function va(){const e=wt(ba);if(!e)throw new Error("vitepress data not properly injected in app");return e}function wa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function $s(e){return ni.test(e)||!e.startsWith("/")?e:wa(at.value.base,e)}function Ca(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ee){const n="/";t=Hs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Hs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let gn=[];function au(e){gn.push(e),jn(()=>{gn=gn.filter(t=>t!==e)})}const Ea=Symbol(),li="http://a.com",xa=()=>({path:"/",component:null,data:si});function uu(e,t){const n=Pn(xa()),r={route:n,go:s};async function s(l=Ee?location.href:"/"){var c,a;l=gr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(Bs(l),await i(l),await((a=r.onAfterRouteChanged)==null?void 0:a.call(r,l)))}let o=null;async function i(l,c=0,a=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,li),h=o=f.pathname;try{let w=await e(h);if(!w)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:E,__pageData:T}=w;if(!E)throw new Error(`Invalid route component: ${E}`);n.path=Ee?h:$s(h),n.component=Lt(E),n.data=Lt(T),Ee&&Fn(()=>{let L=at.value.base+T.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!at.value.cleanUrls&&!L.endsWith("/")&&(L+=".html"),L!==f.pathname&&(f.pathname=L,l=L+f.search+f.hash,history.replaceState(null,"",l)),f.hash&&!c){let B=null;try{B=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(k){console.warn(k)}if(B){js(B,f.hash);return}}window.scrollTo(0,c)})}}catch(w){if(!/fetch|Page not found/.test(w.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(w),!a)try{const E=await fetch(at.value.base+"hashmap.json");window.__VP_HASH_MAP__=await E.json(),await i(l,c,!0);return}catch{}o===h&&(o=null,n.path=Ee?h:$s(h),n.component=t?Lt(t):null,n.data=si)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&(a instanceof SVGElement||!a.download)){const{target:f}=a,{href:h,origin:m,pathname:w,hash:E,search:T}=new URL(a.href instanceof SVGAnimatedString?a.href.animVal:a.href,a.baseURI),L=window.location,B=w.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!f&&m===L.origin&&!(B&&B[0]!==".html")&&(l.preventDefault(),w===L.pathname&&T===L.search?(E!==L.hash&&(history.pushState(null,"",E),window.dispatchEvent(new Event("hashchange"))),E?js(a,E,a.classList.contains("header-anchor")):(Bs(h),window.scrollTo(0,0))):s(h))}},{capture:!0}),window.addEventListener("popstate",l=>{i(gr(location.href),l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Ta(){const e=wt(Ea);if(!e)throw new Error("useRouter() is called without provider.");return e}function ci(){return Ta().route}function js(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let a=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},s=at.value.scrollOffset,o=0,i=24;if(typeof s=="object"&&"padding"in s&&(i=s.padding,s=s.selector),typeof s=="number")o=s;else if(typeof s=="string")o=Ds(s,i);else if(Array.isArray(s))for(const f of s){const h=Ds(f,i);if(h){o=h;break}}const l=parseInt(window.getComputedStyle(r).paddingTop,10),c=window.scrollY+r.getBoundingClientRect().top-o+l;requestAnimationFrame(a)}}function Ds(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}function Bs(e){Ee&&e!==gr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function gr(e){const t=new URL(e,li);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),at.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const ks=()=>gn.forEach(e=>e()),fu=Ir({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=ci(),{site:n}=va();return()=>hr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?hr(t.component,{onVnodeMounted:ks,onVnodeUpdated:ks}):"404 Page Not Found"])}}),du=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Aa="modulepreload",Sa=function(e){return"/"+e},Us={},hu=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=Sa(o),o in Us)return;Us[o]=!0;const i=o.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!r)for(let f=s.length-1;f>=0;f--){const h=s[f];if(h.href===o&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const a=document.createElement("link");if(a.rel=i?"stylesheet":Aa,i||(a.as="script",a.crossOrigin=""),a.href=o,document.head.appendChild(a),i)return new Promise((f,h)=>{a.addEventListener("load",f),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},pu=Ir({setup(e,{slots:t}){const n=ce(!1);return Rt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function gu(){Ee&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(a=>a.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function mu(){if(Ee){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className);let l="";o.querySelectorAll("span.line:not(.diff.remove)").forEach(c=>l+=(c.textContent||"")+` +`),l=l.slice(0,-1),i&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Ra(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function Ra(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function yu(e,t){let n=[],r=!0;const s=o=>{if(r){r=!1;return}const i=o.map(Ks);n.forEach((l,c)=>{const a=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));a!==-1?delete i[a]:(l==null||l.remove(),delete n[c])}),i.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...i].filter(Boolean)};Fr(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],a=oi(i,o);a!==document.title&&(document.title=a);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):Ks(["meta",{name:"description",content:f}]),s(ii(i.head,Pa(c)))})}function Ks([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Oa(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Pa(e){return e.filter(t=>!Oa(t))}const Gn=new Set,ai=()=>document.createElement("link"),Ma=e=>{const t=ai();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Fa=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let fn;const Ia=Ee&&(fn=ai())&&fn.relList&&fn.relList.supports&&fn.relList.supports("prefetch")?Ma:Fa;function _u(){if(!Ee||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!Gn.has(c)){Gn.add(c);const a=Ca(c);a&&Ia(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):Gn.add(l))})})};Rt(r);const s=ci();Xe(()=>s.path,r),jn(()=>{n&&n.disconnect()})}export{Qa as $,$a as A,Sl as B,Ba as C,Ua as D,Pr as E,me as F,au as G,re as H,ka as I,ni as J,ci as K,rc as L,wt as M,vr as N,Fn as O,lu as P,Ya as Q,Mn as R,ru as S,Vo as T,Da as U,hu as V,ou as W,kl as X,Za as Y,Wa as Z,du as _,ko as a,Va as a0,yu as a1,Ea as a2,cu as a3,ba as a4,fu as a5,pu as a6,at as a7,eu as a8,uu as a9,Ca as aa,_u as ab,mu as ac,gu as ad,hr as ae,Go as af,Br as ag,nu as ah,iu as ai,su as aj,tu as ak,Ta as al,qt as am,Co as an,ja as ao,Xa as ap,le as aq,qa as ar,Lt as as,Ga as at,jo as b,za as c,Ir as d,Ja as e,$s as f,ue as g,ce as h,ha as i,Rt as j,Bo as k,ao as l,Ha as m,wr as n,Ho as o,Na as p,da as q,Ka as r,Ee as s,La as t,va as u,ta as v,dl as w,Xe as x,Fr as y,jn as z}; diff --git a/assets/chunks/theme.058d283b.js b/assets/chunks/theme.8477e444.js similarity index 93% rename from assets/chunks/theme.058d283b.js rename to assets/chunks/theme.8477e444.js index 704352f..d6eaf2b 100644 --- a/assets/chunks/theme.058d283b.js +++ b/assets/chunks/theme.8477e444.js @@ -1 +1 @@ -import{d as b,o as a,c as i,r as u,n as T,a as x,t as L,_ as m,b as $,w as v,T as ce,e as f,u as ze,i as De,f as ue,g as k,h as M,j as G,k as c,l,p as H,m as z,q as O,s as R,v as re,x as U,y as te,z as de,A as Ve,B as Ee,C as j,F as N,D as A,E as _e,G as Y,H as h,I as F,J as we,K as se,L as Z,M as ne,N as Fe,O as Oe,P as Le,Q as Ge,R as Ue,S as ke,U as je,V as Ke,W as Se,X as Me,Y as qe,Z as Re,$ as We,a0 as Ye}from"./framework.38a791dd.js";const Je=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),i("span",{class:T(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[x(L(e.text),1)],!0)],2))}});const Xe=m(Je,[["__scopeId","data-v-d9b06cb7"]]),Ze={key:0,class:"VPBackdrop"},Qe=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),$(ce,{name:"fade"},{default:v(()=>[e.show?(a(),i("div",Ze)):f("",!0)]),_:1}))}});const et=m(Qe,[["__scopeId","data-v-f754ed02"]]),P=ze;function tt(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function le(s){return/^\//.test(s)?s:`/${s}`}function J(s){if(De(s))return s;const{site:e}=P(),{pathname:t,search:n,hash:o}=new URL(s,"http://a.com"),r=t.endsWith("/")||t.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${n}${o}`);return ue(r)}function X({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=k(()=>{var _,g;return{label:(_=t.value.locales[n.value])==null?void 0:_.label,link:((g=t.value.locales[n.value])==null?void 0:g.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([_,g])=>s&&d.value.label===g.label?[]:{text:g.label,link:st(g.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function st(s,e,t,n){return e?s.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const nt=s=>(H("data-v-ff8a6b51"),s=s(),z(),s),ot={class:"NotFound"},at={class:"code"},rt={class:"title"},lt=nt(()=>c("div",{class:"divider"},null,-1)),it={class:"quote"},ct={class:"action"},ut=["href","aria-label"],dt=b({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=X({removeCurrent:!1}),o=M("/");return G(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,_,g,V,y;return a(),i("div",ot,[c("p",at,L(((p=l(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",rt,L(((_=l(t).notFound)==null?void 0:_.title)??"PAGE NOT FOUND"),1),lt,c("blockquote",it,L(((g=l(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",ct,[c("a",{class:"link",href:l(ue)(o.value),"aria-label":((V=l(t).notFound)==null?void 0:V.linkLabel)??"go to home"},L(((y=l(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,ut)])])}}});const _t=m(dt,[["__scopeId","data-v-ff8a6b51"]]);function Ne(s,e){if(Array.isArray(s))return Q(s);if(s==null)return[];e=le(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(le(o))),n=t?s[t]:[];return Array.isArray(n)?Q(n):Q(n.items,n.base)}function vt(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function pt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function ie(s,e){return Array.isArray(e)?e.some(t=>ie(s,t)):O(s,e.link)?!0:e.items?ie(s,e.items):!1}function Q(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Q(n.items,o)),n})}function D(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=M(!1),r=k(()=>{const B=t.value.sidebar,w=e.value.relativePath;return B?Ne(B,w):[]}),d=M(r.value);U(r,(B,w)=>{JSON.stringify(B)!==JSON.stringify(w)&&(d.value=r.value)});const p=k(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),_=k(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=k(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),V=k(()=>p.value&&n.value),y=k(()=>p.value?vt(d.value):[]);function I(){o.value=!0}function S(){o.value=!1}function C(){o.value?S():I()}return{isOpen:o,sidebar:d,sidebarGroups:y,hasSidebar:p,hasAside:g,leftAside:_,isSidebarEnabled:V,open:I,close:S,toggle:C}}function ht(s,e){let t;te(()=>{t=s.value?document.activeElement:void 0}),G(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Ie=M(R?location.hash:"");R&&window.addEventListener("hashchange",()=>{Ie.value=location.hash});function ft(s){const{page:e}=P(),t=M(!1),n=k(()=>s.value.collapsed!=null),o=k(()=>!!s.value.link),r=M(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};U([e,s,Ie],d),G(d);const p=k(()=>r.value?!0:s.value.items?ie(e.value.relativePath,s.value.items):!1),_=k(()=>!!(s.value.items&&s.value.items.length));te(()=>{t.value=!!(n.value&&s.value.collapsed)}),Ve(()=>{(r.value||p.value)&&(t.value=!1)});function g(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:_,toggle:g}}function mt(){const{hasSidebar:s}=D(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:k(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const gt=71;function ve(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function pe(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:bt(t),link:"#"+t.id,level:n}});return $t(e,s)}function bt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function $t(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;_--){const g=s[_];if(g.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ee(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(S=>p.some(C=>C.hash===S.hash&&S.offsetParent!==null)),g=window.scrollY,V=window.innerHeight,y=document.body.offsetHeight,I=Math.abs(g+V-y)<1;if(_.length&&I){d(_[_.length-1].hash);return}for(let S=0;S<_.length;S++){const C=_[S],B=_[S+1],[w,K]=yt(S,C,B);if(w){d(K);return}}}function d(p){o&&o.classList.remove("active"),p==null?o=null:o=s.value.querySelector(`a[href="${decodeURIComponent(p)}"]`);const _=o;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function ye(s){return s.parentElement.offsetTop-gt}function yt(s,e,t){const n=window.scrollY;return s===0&&n===0?[!0,null]:n{const o=j("VPDocOutlineItem",!0);return a(),i("ul",{class:T(t.root?"root":"nested")},[(a(!0),i(N,null,A(t.headers,({children:r,link:d,title:p})=>(a(),i("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,Pt),r!=null&&r.length?(a(),$(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const he=m(Vt,[["__scopeId","data-v-fc1e6dbb"]]),wt=s=>(H("data-v-e7b248a1"),s=s(),z(),s),Lt={class:"content"},St={class:"outline-title",role:"heading","aria-level":"2"},Mt={"aria-labelledby":"doc-outline-aria-label"},Nt=wt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),It=b({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=_e([]);Y(()=>{n.value=pe(e.value.outline??t.value.outline)});const o=M(),r=M();return kt(o,r),(d,p)=>(a(),i("div",{class:T(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",Lt,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",St,L(l(ve)(l(t))),1),c("nav",Mt,[Nt,h(he,{headers:n.value,root:!0},null,8,["headers"])])])],2))}});const Tt=m(It,[["__scopeId","data-v-e7b248a1"]]),Ct={class:"VPDocAsideCarbonAds"},Bt=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),i("div",Ct,[h(l(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),At=s=>(H("data-v-470b544e"),s=s(),z(),s),xt={class:"VPDocAside"},Ht=At(()=>c("div",{class:"spacer"},null,-1)),zt=b({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),i("div",xt,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),h(Tt),u(t.$slots,"aside-outline-after",{},void 0,!0),Ht,u(t.$slots,"aside-ads-before",{},void 0,!0),l(e).carbonAds?(a(),$(Bt,{key:0,"carbon-ads":l(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}});const Dt=m(zt,[["__scopeId","data-v-470b544e"]]);function Et(){const{theme:s,page:e}=P();return k(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function Ft(){const{page:s,theme:e,frontmatter:t}=P();return k(()=>{var _,g,V,y,I,S,C,B;const n=Ne(e.value.sidebar,s.value.relativePath),o=pt(n),r=o.findIndex(w=>O(s.value.relativePath,w.link)),d=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((V=o[r-1])==null?void 0:V.docFooterText)??((y=o[r-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=o[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((S=o[r+1])==null?void 0:S.docFooterText)??((C=o[r+1])==null?void 0:C.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((B=o[r+1])==null?void 0:B.link)}}})}const Ot={},Gt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ut=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),jt=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Kt=[Ut,jt];function qt(s,e){return a(),i("svg",Gt,Kt)}const Rt=m(Ot,[["render",qt]]),E=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=k(()=>e.tag??(e.href?"a":"span")),n=k(()=>e.href&&we.test(e.href));return(o,r)=>(a(),$(F(t.value),{class:T(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?l(J)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Wt={class:"VPLastUpdated"},Yt=["datetime"],Jt=b({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=k(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=k(()=>r.value.toISOString()),p=M("");return G(()=>{te(()=>{var _,g,V;p.value=new Intl.DateTimeFormat((g=(_=e.value.lastUpdated)==null?void 0:_.formatOptions)!=null&&g.forceLocale?o.value:void 0,((V=e.value.lastUpdated)==null?void 0:V.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(_,g)=>{var V;return a(),i("p",Wt,[x(L(((V=l(e).lastUpdated)==null?void 0:V.text)||l(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,Yt)])}}});const Xt=m(Jt,[["__scopeId","data-v-112a886d"]]),Zt={key:0,class:"VPDocFooter"},Qt={key:0,class:"edit-info"},es={key:0,class:"edit-link"},ts={key:1,class:"last-updated"},ss={key:1,class:"prev-next"},ns={class:"pager"},os=["href"],as=["innerHTML"],rs=["innerHTML"],ls={class:"pager"},is=["href"],cs=["innerHTML"],us=["innerHTML"],ds=b({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Et(),r=Ft(),d=k(()=>e.value.editLink&&n.value.editLink!==!1),p=k(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),_=k(()=>d.value||p.value||r.value.prev||r.value.next);return(g,V)=>{var y,I,S,C,B,w;return _.value?(a(),i("footer",Zt,[u(g.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),i("div",Qt,[d.value?(a(),i("div",es,[h(E,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:v(()=>[h(Rt,{class:"edit-link-icon","aria-label":"edit icon"}),x(" "+L(l(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),i("div",ts,[h(Xt)])):f("",!0)])):f("",!0),(y=l(r).prev)!=null&&y.link||(I=l(r).next)!=null&&I.link?(a(),i("nav",ss,[c("div",ns,[(S=l(r).prev)!=null&&S.link?(a(),i("a",{key:0,class:"pager-link prev",href:l(J)(l(r).prev.link)},[c("span",{class:"desc",innerHTML:((C=l(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,as),c("span",{class:"title",innerHTML:l(r).prev.text},null,8,rs)],8,os)):f("",!0)]),c("div",ls,[(B=l(r).next)!=null&&B.link?(a(),i("a",{key:0,class:"pager-link next",href:l(J)(l(r).next.link)},[c("span",{class:"desc",innerHTML:((w=l(e).docFooter)==null?void 0:w.next)||"Next page"},null,8,cs),c("span",{class:"title",innerHTML:l(r).next.text},null,8,us)],8,is)):f("",!0)])])):f("",!0)])):f("",!0)}}});const _s=m(ds,[["__scopeId","data-v-6f497cd4"]]),vs={},ps={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},hs=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),fs=[hs];function ms(s,e){return a(),i("svg",ps,fs)}const fe=m(vs,[["render",ms]]),gs={key:0,class:"VPDocOutlineDropdown"},bs={key:0,class:"items"},$s=b({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=M(!1);Y(()=>{n.value=!1});const o=_e([]);return Y(()=>{o.value=pe(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),i("div",gs,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:T({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2),n.value?(a(),i("div",bs,[h(he,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const ks=m($s,[["__scopeId","data-v-5d13abc5"]]),ys=s=>(H("data-v-80010f0c"),s=s(),z(),s),Ps={class:"container"},Vs=ys(()=>c("div",{class:"aside-curtain"},null,-1)),ws={class:"aside-container"},Ls={class:"aside-content"},Ss={class:"content"},Ms={class:"content-container"},Ns={class:"main"},Is=b({__name:"VPDoc",setup(s){const{theme:e}=P(),t=se(),{hasSidebar:n,hasAside:o,leftAside:r}=D(),d=k(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,_)=>{const g=j("Content");return a(),i("div",{class:T(["VPDoc",{"has-sidebar":l(n),"has-aside":l(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",Ps,[l(o)?(a(),i("div",{key:0,class:T(["aside",{"left-aside":l(r)}])},[Vs,c("div",ws,[c("div",Ls,[h(Dt,null,{"aside-top":v(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Ss,[c("div",Ms,[u(p.$slots,"doc-before",{},void 0,!0),h(ks),c("main",Ns,[h(g,{class:T(["vp-doc",[d.value,l(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),h(_s,null,{"doc-footer-before":v(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}});const Ts=m(Is,[["__scopeId","data-v-80010f0c"]]),Cs=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=k(()=>e.href&&we.test(e.href)),n=k(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),$(F(n.value),{class:T(["VPButton",[o.size,o.theme]]),href:o.href?l(J)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:v(()=>[x(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}});const Bs=m(Cs,[["__scopeId","data-v-c2d0dde3"]]),As=["src","alt"],xs=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),i(N,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),i("img",Z({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:l(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,As)):(a(),i(N,{key:1},[h(n,Z({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(n,Z({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const ee=m(xs,[["__scopeId","data-v-6b741c7d"]]),Hs=s=>(H("data-v-95b00d9a"),s=s(),z(),s),zs={class:"container"},Ds={class:"main"},Es={key:0,class:"name"},Fs=["innerHTML"],Os=["innerHTML"],Gs=["innerHTML"],Us={key:0,class:"actions"},js={key:0,class:"image"},Ks={class:"image-container"},qs=Hs(()=>c("div",{class:"image-bg"},null,-1)),Rs=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=ne("hero-image-slot-exists");return(t,n)=>(a(),i("div",{class:T(["VPHero",{"has-image":t.image||l(e)}])},[c("div",zs,[c("div",Ds,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),i("h1",Es,[c("span",{innerHTML:t.name,class:"clip"},null,8,Fs)])):f("",!0),t.text?(a(),i("p",{key:1,innerHTML:t.text,class:"text"},null,8,Os)):f("",!0),t.tagline?(a(),i("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Gs)):f("",!0)],!0),t.actions?(a(),i("div",Us,[(a(!0),i(N,null,A(t.actions,o=>(a(),i("div",{key:o.link,class:"action"},[h(Bs,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||l(e)?(a(),i("div",js,[c("div",Ks,[qs,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),$(ee,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const Ws=m(Rs,[["__scopeId","data-v-95b00d9a"]]),Ys=b({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).hero?(a(),$(Ws,{key:0,class:"VPHomeHero",name:l(e).hero.name,text:l(e).hero.text,tagline:l(e).hero.tagline,image:l(e).hero.image,actions:l(e).hero.actions},{"home-hero-info":v(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Js={},Xs={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Zs=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Qs=[Zs];function en(s,e){return a(),i("svg",Xs,Qs)}const tn=m(Js,[["render",en]]),sn={class:"box"},nn={key:0,class:"icon"},on=["innerHTML"],an=["innerHTML"],rn=["innerHTML"],ln={key:4,class:"link-text"},cn={class:"link-text-value"},un=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),$(E,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[c("article",sn,[typeof e.icon=="object"&&e.icon.wrap?(a(),i("div",nn,[h(ee,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),$(ee,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),i("div",{key:2,class:"icon",innerHTML:e.icon},null,8,on)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,an),e.details?(a(),i("p",{key:3,class:"details",innerHTML:e.details},null,8,rn)):f("",!0),e.linkText?(a(),i("div",ln,[c("p",cn,[x(L(e.linkText)+" ",1),h(tn,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}});const dn=m(un,[["__scopeId","data-v-5c6842f0"]]),_n={key:0,class:"VPFeatures"},vn={class:"container"},pn={class:"items"},hn=b({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=k(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),i("div",_n,[c("div",vn,[c("div",pn,[(a(!0),i(N,null,A(n.features,r=>(a(),i("div",{key:r.title,class:T(["item",[t.value]])},[h(dn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}});const fn=m(hn,[["__scopeId","data-v-179bf1de"]]),mn=b({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).features?(a(),$(fn,{key:0,class:"VPHomeFeatures",features:l(e).features},null,8,["features"])):f("",!0)}}),gn={class:"VPHome"},bn=b({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),i("div",gn,[u(e.$slots,"home-hero-before",{},void 0,!0),h(Ys,null,{"home-hero-info":v(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),h(mn),u(e.$slots,"home-features-after",{},void 0,!0),h(n)])}}});const $n=m(bn,[["__scopeId","data-v-4206cc72"]]),kn={},yn={class:"VPPage"};function Pn(s,e){const t=j("Content");return a(),i("div",yn,[u(s.$slots,"page-top"),h(t),u(s.$slots,"page-bottom")])}const Vn=m(kn,[["render",Pn]]),wn=b({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>(a(),i("div",{class:T(["VPContent",{"has-sidebar":l(n),"is-home":l(t).layout==="home"}]),id:"VPContent"},[l(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[h(_t)],!0):l(t).layout==="page"?(a(),$(Vn,{key:1},{"page-top":v(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(t).layout==="home"?(a(),$($n,{key:2},{"home-hero-before":v(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):l(t).layout&&l(t).layout!=="doc"?(a(),$(F(l(t).layout),{key:3})):(a(),$(Ts,{key:4},{"doc-top":v(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Ln=m(wn,[["__scopeId","data-v-88f69216"]]),Sn={class:"container"},Mn=["innerHTML"],Nn=["innerHTML"],In=b({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>l(e).footer&&l(t).footer!==!1?(a(),i("footer",{key:0,class:T(["VPFooter",{"has-sidebar":l(n)}])},[c("div",Sn,[l(e).footer.message?(a(),i("p",{key:0,class:"message",innerHTML:l(e).footer.message},null,8,Mn)):f("",!0),l(e).footer.copyright?(a(),i("p",{key:1,class:"copyright",innerHTML:l(e).footer.copyright},null,8,Nn)):f("",!0)])],2)):f("",!0)}});const Tn=m(In,[["__scopeId","data-v-489d7418"]]),Cn={class:"header"},Bn={class:"outline"},An=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=M(!1),o=M(0),r=M();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(g){g.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Oe(()=>{n.value=!1}))}function _(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,V)=>(a(),i("div",{class:"VPLocalNavOutlineDropdown",style:Fe({"--vp-vh":o.value+"px"})},[g.headers.length>0?(a(),i("button",{key:0,onClick:d,class:T({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2)):(a(),i("button",{key:1,onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)),h(ce,{name:"flyout"},{default:v(()=>[n.value?(a(),i("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",Cn,[c("a",{class:"top-link",href:"#",onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)]),c("div",Bn,[h(he,{headers:g.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}});const xn=m(An,[["__scopeId","data-v-746b8b3e"]]),Hn={},zn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Dn=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),En=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),Fn=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),On=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),Gn=[Dn,En,Fn,On];function Un(s,e){return a(),i("svg",zn,Gn)}const jn=m(Hn,[["render",Un]]),Kn=["aria-expanded"],qn={class:"menu-text"},Rn=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D(),{y:o}=Le(),r=_e([]),d=M(0);G(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=pe(t.value.outline??e.value.outline)});const p=k(()=>r.value.length===0&&!n.value),_=k(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(g,V)=>l(t).layout!=="home"&&(!p.value||l(o)>=d.value)?(a(),i("div",{key:0,class:T(_.value)},[l(n)?(a(),i("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:V[0]||(V[0]=y=>g.$emit("open-menu"))},[h(jn,{class:"menu-icon"}),c("span",qn,L(l(e).sidebarMenuLabel||"Menu"),1)],8,Kn)):f("",!0),h(xn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}});const Wn=m(Rn,[["__scopeId","data-v-41aecf3b"]]);function Yn(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=se();return U(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const Jn={},Xn={class:"VPSwitch",type:"button",role:"switch"},Zn={class:"check"},Qn={key:0,class:"icon"};function eo(s,e){return a(),i("button",Xn,[c("span",Zn,[s.$slots.default?(a(),i("span",Qn,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const to=m(Jn,[["render",eo],["__scopeId","data-v-55c70256"]]),so={},no={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},oo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),ao=[oo];function ro(s,e){return a(),i("svg",no,ao)}const lo=m(so,[["render",ro]]),io={},co={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},uo=Ge('',9),_o=[uo];function vo(s,e){return a(),i("svg",co,_o)}const po=m(io,[["render",vo]]),ho=b({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=ne("toggle-appearance",()=>{e.value=!e.value});return(n,o)=>(a(),$(to,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":l(e),onClick:l(t)},{default:v(()=>[h(po,{class:"sun"}),h(lo,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const me=m(ho,[["__scopeId","data-v-f9719704"]]),fo={key:0,class:"VPNavBarAppearance"},mo=b({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>l(e).appearance&&l(e).appearance!=="force-dark"?(a(),i("div",fo,[h(me)])):f("",!0)}});const go=m(mo,[["__scopeId","data-v-e9d6c9ee"]]),ge=M();let Te=!1,ae=0;function bo(s){const e=M(!1);if(R){!Te&&$o(),ae++;const t=U(ge,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||ko()})}return Ue(e)}function $o(){document.addEventListener("focusin",Ce),Te=!0,ge.value=document.activeElement}function ko(){document.removeEventListener("focusin",Ce)}function Ce(){ge.value=document.activeElement}const yo={},Po={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Vo=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),wo=[Vo];function Lo(s,e){return a(),i("svg",Po,wo)}const Be=m(yo,[["render",Lo]]),So={},Mo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},No=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),Io=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),To=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),Co=[No,Io,To];function Bo(s,e){return a(),i("svg",Mo,Co)}const Ao=m(So,[["render",Bo]]),xo={class:"VPMenuLink"},Ho=b({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),i("div",xo,[h(E,{class:T({active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const oe=m(Ho,[["__scopeId","data-v-94a0caeb"]]),zo={class:"VPMenuGroup"},Do={key:0,class:"title"},Eo=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",zo,[e.text?(a(),i("p",Do,L(e.text),1)):f("",!0),(a(!0),i(N,null,A(e.items,n=>(a(),i(N,null,["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}});const Fo=m(Eo,[["__scopeId","data-v-6ab6a63a"]]),Oo={class:"VPMenu"},Go={key:0,class:"items"},Uo=b({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),i("div",Oo,[e.items?(a(),i("div",Go,[(a(!0),i(N,null,A(e.items,n=>(a(),i(N,{key:n.text},["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):(a(),$(Fo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}});const jo=m(Uo,[["__scopeId","data-v-8148ee14"]]),Ko=["aria-expanded","aria-label"],qo={key:0,class:"text"},Ro=["innerHTML"],Wo={class:"menu"},Yo=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();bo({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),i("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),i("span",qo,[o.icon?(a(),$(F(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),i("span",{key:1,innerHTML:o.button},null,8,Ro)):f("",!0),h(Be,{class:"text-icon"})])):(a(),$(Ao,{key:1,class:"icon"}))],8,Ko),c("div",Wo,[h(jo,{items:o.items},{default:v(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const be=m(Yo,[["__scopeId","data-v-2e639d93"]]),Jo={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},Xo=["href","aria-label","innerHTML"],Zo=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=k(()=>typeof e.icon=="object"?e.icon.svg:Jo[e.icon]);return(n,o)=>(a(),i("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Xo))}});const Qo=m(Zo,[["__scopeId","data-v-c8ada7f5"]]),ea={class:"VPSocialLinks"},ta=b({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),i("div",ea,[(a(!0),i(N,null,A(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),$(Qo,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const $e=m(ta,[["__scopeId","data-v-1663f158"]]),sa={key:0,class:"group translations"},na={class:"trans-title"},oa={key:1,class:"group"},aa={class:"item appearance"},ra={class:"label"},la={class:"appearance-action"},ia={key:2,class:"group"},ca={class:"item social-links"},ua=b({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=X({correspondingLink:!0}),r=k(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),$(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[l(n).length&&l(o).label?(a(),i("div",sa,[c("p",na,L(l(o).label),1),(a(!0),i(N,null,A(l(n),_=>(a(),$(oe,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),l(e).appearance?(a(),i("div",oa,[c("div",aa,[c("p",ra,L(l(t).darkModeSwitchLabel||"Appearance"),1),c("div",la,[h(me)])])])):f("",!0),l(t).socialLinks?(a(),i("div",ia,[c("div",ca,[h($e,{class:"social-links-list",links:l(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const da=m(ua,[["__scopeId","data-v-3abe5206"]]),_a=s=>(H("data-v-a5b09a9d"),s=s(),z(),s),va=["aria-expanded"],pa=_a(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),ha=[pa],fa=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),i("button",{type:"button",class:T(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},ha,10,va))}});const ma=m(fa,[["__scopeId","data-v-a5b09a9d"]]),ga=["innerHTML"],ba=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),$(E,{class:T({VPNavBarMenuLink:!0,active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,ga)]),_:1},8,["class","href","target","rel"]))}});const $a=m(ba,[["__scopeId","data-v-f5e86147"]]),ka=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=k(()=>n(e.item));return(r,d)=>(a(),$(be,{class:T({VPNavBarMenuGroup:!0,active:l(O)(l(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),ya=s=>(H("data-v-39a6d6d3"),s=s(),z(),s),Pa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Va=ya(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),wa=b({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",Pa,[Va,(a(!0),i(N,null,A(l(e).nav,o=>(a(),i(N,{key:o.text},["link"in o?(a(),$($a,{key:0,item:o},null,8,["item"])):(a(),$(ka,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}});const La=m(wa,[["__scopeId","data-v-39a6d6d3"]]);function Sa(s,e){const{localeIndex:t}=P();function n(o){var S,C;const r=o.split("."),d=s&&typeof s=="object",p=d&&((C=(S=s.locales)==null?void 0:S[t.value])==null?void 0:C.translations)||null,_=d&&s.translations||null;let g=p,V=_,y=e;const I=r.pop();for(const B of r){let w=null;const K=y==null?void 0:y[B];K&&(w=y=K);const W=V==null?void 0:V[B];W&&(w=V=W);const q=g==null?void 0:g[B];q&&(w=g=q),K||(y=w),W||(V=w),q||(g=w)}return(g==null?void 0:g[I])??(V==null?void 0:V[I])??(y==null?void 0:y[I])??""}return n}const Ma=["aria-label"],Na={class:"DocSearch-Button-Container"},Ia=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ta={class:"DocSearch-Button-Placeholder"},Ca=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Pe=b({__name:"VPNavBarSearchButton",setup(s){var o;const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=Sa((o=e.value.search)==null?void 0:o.options,t);return(r,d)=>(a(),i("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":l(n)("button.buttonAriaLabel")},[c("span",Na,[Ia,c("span",Ta,L(l(n)("button.buttonText")),1)]),Ca],8,Ma))}});const Ba={class:"VPNavBarSearch"},Aa={id:"local-search"},xa={key:1,id:"docsearch"},Ha=b({__name:"VPNavBarSearch",setup(s){const e=je(()=>Ke(()=>import("./VPLocalSearchBox.5904400c.js"),["assets/chunks/VPLocalSearchBox.5904400c.js","assets/chunks/framework.38a791dd.js"])),t=()=>null,{theme:n}=P(),o=M(!1),r=M(!1);G(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function _(y){const I=y.target,S=I.tagName;return I.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const g=M(!1);ke("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),g.value=!0)}),ke("/",y=>{_(y)||(y.preventDefault(),g.value=!0)});const V="local";return(y,I)=>{var S;return a(),i("div",Ba,[l(V)==="local"?(a(),i(N,{key:0},[g.value?(a(),$(l(e),{key:0,onClose:I[0]||(I[0]=C=>g.value=!1)})):f("",!0),c("div",Aa,[h(Pe,{onClick:I[1]||(I[1]=C=>g.value=!0)})])],64)):l(V)==="algolia"?(a(),i(N,{key:1},[o.value?(a(),$(l(t),{key:0,algolia:((S=l(n).search)==null?void 0:S.options)??l(n).algolia,onVnodeBeforeMount:I[2]||(I[2]=C=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),i("div",xa,[h(Pe,{onClick:d})]))],64)):f("",!0)])}}});const za=b({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavBarSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}});const Da=m(za,[["__scopeId","data-v-4a30f6f6"]]),Ea=["href"],Fa=b({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=D(),{currentLang:o}=X();return(r,d)=>(a(),i("div",{class:T(["VPNavBarTitle",{"has-sidebar":l(n)}])},[c("a",{class:"title",href:l(t).logoLink??l(J)(l(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),l(t).logo?(a(),$(ee,{key:0,class:"logo",image:l(t).logo},null,8,["image"])):f("",!0),l(t).siteTitle?(a(),i(N,{key:1},[x(L(l(t).siteTitle),1)],64)):l(t).siteTitle===void 0?(a(),i(N,{key:2},[x(L(l(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ea)],2))}});const Oa=m(Fa,[["__scopeId","data-v-b48f9446"]]),Ga={},Ua={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ja=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ka=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),qa=[ja,Ka];function Ra(s,e){return a(),i("svg",Ua,qa)}const Ae=m(Ga,[["render",Ra]]),Wa={class:"items"},Ya={class:"title"},Ja=b({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=X({correspondingLink:!0});return(o,r)=>l(t).length&&l(n).label?(a(),$(be,{key:0,class:"VPNavBarTranslations",icon:Ae,label:l(e).langMenuLabel||"Change language"},{default:v(()=>[c("div",Wa,[c("p",Ya,L(l(n).label),1),(a(!0),i(N,null,A(l(t),d=>(a(),$(oe,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Xa=m(Ja,[["__scopeId","data-v-0b7808b1"]]),Za=s=>(H("data-v-b720888e"),s=s(),z(),s),Qa={class:"container"},er={class:"title"},tr={class:"content"},sr=Za(()=>c("div",{class:"curtain"},null,-1)),nr={class:"content-body"},or=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=Le(),{hasSidebar:t}=D(),{frontmatter:n}=P(),o=M({});return Ve(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),i("div",{class:T(["VPNavBar",o.value])},[c("div",Qa,[c("div",er,[h(Oa,null,{"nav-bar-title-before":v(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",tr,[sr,c("div",nr,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),h(Ha,{class:"search"}),h(La,{class:"menu"}),h(Xa,{class:"translations"}),h(go,{class:"appearance"}),h(Da,{class:"social-links"}),h(da,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),h(ma,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const ar=m(or,[["__scopeId","data-v-b720888e"]]),rr={key:0,class:"VPNavScreenAppearance"},lr={class:"text"},ir=b({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>l(e).appearance?(a(),i("div",rr,[c("p",lr,L(l(t).darkModeSwitchLabel||"Appearance"),1),h(me)])):f("",!0)}});const cr=m(ir,[["__scopeId","data-v-0a19e25b"]]),ur=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(E,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const dr=m(ur,[["__scopeId","data-v-9cb5ef7f"]]),_r={},vr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},pr=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),hr=[pr];function fr(s,e){return a(),i("svg",vr,hr)}const mr=m(_r,[["render",fr]]),gr=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(E,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const xe=m(gr,[["__scopeId","data-v-dee1d2df"]]),br={class:"VPNavScreenMenuGroupSection"},$r={key:0,class:"title"},kr=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",br,[e.text?(a(),i("p",$r,L(e.text),1)):f("",!0),(a(!0),i(N,null,A(e.items,n=>(a(),$(xe,{key:n.text,item:n},null,8,["item"]))),128))]))}});const yr=m(kr,[["__scopeId","data-v-644fb433"]]),Pr=["aria-controls","aria-expanded"],Vr={class:"button-text"},wr=["id"],Lr={key:1,class:"group"},Sr=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),n=k(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),i("div",{class:T(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",Vr,L(r.text),1),h(mr,{class:"button-icon"})],8,Pr),c("div",{id:n.value,class:"items"},[(a(!0),i(N,null,A(r.items,p=>(a(),i(N,{key:p.text},["link"in p?(a(),i("div",{key:p.text,class:"item"},[h(xe,{item:p},null,8,["item"])])):(a(),i("div",Lr,[h(yr,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,wr)],2))}});const Mr=m(Sr,[["__scopeId","data-v-13dc6861"]]),Nr={key:0,class:"VPNavScreenMenu"},Ir=b({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",Nr,[(a(!0),i(N,null,A(l(e).nav,o=>(a(),i(N,{key:o.text},["link"in o?(a(),$(dr,{key:0,item:o},null,8,["item"])):(a(),$(Mr,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Tr=b({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavScreenSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}}),Cr={class:"list"},Br=b({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=X({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(r,d)=>l(e).length&&l(t).label?(a(),i("div",{key:0,class:T(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[h(Ae,{class:"icon lang"}),x(" "+L(l(t).label)+" ",1),h(Be,{class:"icon chevron"})]),c("ul",Cr,[(a(!0),i(N,null,A(l(e),p=>(a(),i("li",{key:p.link,class:"item"},[h(E,{class:"link",href:p.link},{default:v(()=>[x(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const Ar=m(Br,[["__scopeId","data-v-5610ffda"]]),xr={class:"container"},Hr=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Se(R?document.body:null);return(n,o)=>(a(),$(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:v(()=>[n.open?(a(),i("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",xr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),h(Ir,{class:"menu"}),h(Ar,{class:"translations"}),h(cr,{class:"appearance"}),h(Tr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const zr=m(Hr,[["__scopeId","data-v-5f2e656f"]]),Dr={key:0,class:"VPNav"},Er=b({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Yn(),{frontmatter:o}=P(),r=k(()=>o.value.navbar!==!1);return Me("close-screen",t),te(()=>{R&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),i("header",Dr,[h(ar,{"is-screen-open":l(e),onToggleScreen:l(n)},{"nav-bar-title-before":v(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(zr,{open:l(e)},{"nav-screen-content-before":v(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}});const Fr=m(Er,[["__scopeId","data-v-aa833acb"]]),Or=s=>(H("data-v-2510404c"),s=s(),z(),s),Gr=["role","tabindex"],Ur=Or(()=>c("div",{class:"indicator"},null,-1)),jr=["onKeydown"],Kr={key:1,class:"items"},qr=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}=ft(k(()=>e.item)),g=k(()=>p.value?"section":"div"),V=k(()=>o.value?"a":"div"),y=k(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=k(()=>o.value?void 0:"button"),S=k(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function C(w){"key"in w&&w.key!=="Enter"||!e.item.link&&_()}function B(){e.item.link&&_()}return(w,K)=>{const W=j("VPSidebarItem",!0);return a(),$(F(g.value),{class:T(["VPSidebarItem",S.value])},{default:v(()=>[w.item.text?(a(),i("div",Z({key:0,class:"item",role:I.value},Re(w.item.items?{click:C,keydown:C}:{},!0),{tabindex:w.item.items&&0}),[Ur,w.item.link?(a(),$(E,{key:0,tag:V.value,class:"link",href:w.item.link,rel:w.item.rel,target:w.item.target},{default:v(()=>[(a(),$(F(y.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),$(F(y.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null?(a(),i("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:B,onKeydown:qe(B,["enter"]),tabindex:"0"},[h(fe,{class:"caret-icon"})],40,jr)):f("",!0)],16,Gr)):f("",!0),w.item.items&&w.item.items.length?(a(),i("div",Kr,[w.depth<5?(a(!0),i(N,{key:0},A(w.item.items,q=>(a(),$(W,{key:q.text,item:q,depth:w.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const Rr=m(qr,[["__scopeId","data-v-2510404c"]]),He=s=>(H("data-v-20082c87"),s=s(),z(),s),Wr=He(()=>c("div",{class:"curtain"},null,-1)),Yr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Jr=He(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Xr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const e=s,{sidebarGroups:t,hasSidebar:n}=D(),o=M(null),r=Se(R?document.body:null);return U([e,o],()=>{var d;e.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>l(n)?(a(),i("aside",{key:0,class:T(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=We(()=>{},["stop"]))},[Wr,c("nav",Yr,[Jr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),i(N,null,A(l(t),_=>(a(),i("div",{key:_.text,class:"group"},[h(Rr,{item:_,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Zr=m(Xr,[["__scopeId","data-v-20082c87"]]),Qr=b({__name:"VPSkipLink",setup(s){const e=se(),t=M();U(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),i(N,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}});const el=m(Qr,[["__scopeId","data-v-d2de3463"]]),tl=b({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=D(),o=se();U(()=>o.path,n),ht(e,n);const{frontmatter:r}=P(),d=Ye(),p=k(()=>!!d["home-hero-image"]);return Me("hero-image-slot-exists",p),(_,g)=>{const V=j("Content");return l(r).layout!==!1?(a(),i("div",{key:0,class:T(["Layout",l(r).pageClass])},[u(_.$slots,"layout-top",{},void 0,!0),h(el),h(et,{class:"backdrop",show:l(e),onClick:l(n)},null,8,["show","onClick"]),h(Fr,null,{"nav-bar-title-before":v(()=>[u(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[u(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(Wn,{open:l(e),onOpenMenu:l(t)},null,8,["open","onOpenMenu"]),h(Zr,{open:l(e)},{"sidebar-nav-before":v(()=>[u(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[u(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Ln,null,{"page-top":v(()=>[u(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[u(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[u(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[u(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[u(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[u(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Tn),u(_.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),$(V,{key:1}))}}});const sl=m(tl,[["__scopeId","data-v-ad6a442f"]]);const ol={Layout:sl,enhanceApp:({app:s})=>{s.component("Badge",Xe)}};export{Sa as c,ol as t,P as u}; +import{d as b,o as a,c as i,r as u,n as T,a as x,t as L,_ as m,b as $,w as v,T as ce,e as f,u as ze,i as De,f as ue,g as k,h as M,j as G,k as c,l,p as H,m as z,q as O,s as R,v as re,x as U,y as te,z as de,A as Ve,B as Ee,C as j,F as N,D as A,E as _e,G as Y,H as h,I as F,J as we,K as se,L as Z,M as ne,N as Fe,O as Oe,P as Le,Q as Ge,R as Ue,S as ke,U as je,V as Ke,W as Se,X as Me,Y as qe,Z as Re,$ as We,a0 as Ye}from"./framework.e1e0b12f.js";const Je=b({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),i("span",{class:T(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[x(L(e.text),1)],!0)],2))}});const Xe=m(Je,[["__scopeId","data-v-d9b06cb7"]]),Ze={key:0,class:"VPBackdrop"},Qe=b({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),$(ce,{name:"fade"},{default:v(()=>[e.show?(a(),i("div",Ze)):f("",!0)]),_:1}))}});const et=m(Qe,[["__scopeId","data-v-f754ed02"]]),P=ze;function tt(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function le(s){return/^\//.test(s)?s:`/${s}`}function J(s){if(De(s))return s;const{site:e}=P(),{pathname:t,search:n,hash:o}=new URL(s,"http://a.com"),r=t.endsWith("/")||t.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,e.value.cleanUrls?"":".html")}${n}${o}`);return ue(r)}function X({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=k(()=>{var _,g;return{label:(_=t.value.locales[n.value])==null?void 0:_.label,link:((g=t.value.locales[n.value])==null?void 0:g.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([_,g])=>s&&d.value.label===g.label?[]:{text:g.label,link:st(g.link||(_==="root"?"/":`/${_}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function st(s,e,t,n){return e?s.replace(/\/$/,"")+le(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const nt=s=>(H("data-v-ff8a6b51"),s=s(),z(),s),ot={class:"NotFound"},at={class:"code"},rt={class:"title"},lt=nt(()=>c("div",{class:"divider"},null,-1)),it={class:"quote"},ct={class:"action"},ut=["href","aria-label"],dt=b({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=X({removeCurrent:!1}),o=M("/");return G(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,_,g,V,y;return a(),i("div",ot,[c("p",at,L(((p=l(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",rt,L(((_=l(t).notFound)==null?void 0:_.title)??"PAGE NOT FOUND"),1),lt,c("blockquote",it,L(((g=l(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",ct,[c("a",{class:"link",href:l(ue)(o.value),"aria-label":((V=l(t).notFound)==null?void 0:V.linkLabel)??"go to home"},L(((y=l(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,ut)])])}}});const _t=m(dt,[["__scopeId","data-v-ff8a6b51"]]);function Ne(s,e){if(Array.isArray(s))return Q(s);if(s==null)return[];e=le(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(le(o))),n=t?s[t]:[];return Array.isArray(n)?Q(n):Q(n.items,n.base)}function vt(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function pt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function ie(s,e){return Array.isArray(e)?e.some(t=>ie(s,t)):O(s,e.link)?!0:e.items?ie(s,e.items):!1}function Q(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Q(n.items,o)),n})}function D(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=M(!1),r=k(()=>{const B=t.value.sidebar,w=e.value.relativePath;return B?Ne(B,w):[]}),d=M(r.value);U(r,(B,w)=>{JSON.stringify(B)!==JSON.stringify(w)&&(d.value=r.value)});const p=k(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),_=k(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=k(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),V=k(()=>p.value&&n.value),y=k(()=>p.value?vt(d.value):[]);function I(){o.value=!0}function S(){o.value=!1}function C(){o.value?S():I()}return{isOpen:o,sidebar:d,sidebarGroups:y,hasSidebar:p,hasAside:g,leftAside:_,isSidebarEnabled:V,open:I,close:S,toggle:C}}function ht(s,e){let t;te(()=>{t=s.value?document.activeElement:void 0}),G(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Ie=M(R?location.hash:"");R&&window.addEventListener("hashchange",()=>{Ie.value=location.hash});function ft(s){const{page:e}=P(),t=M(!1),n=k(()=>s.value.collapsed!=null),o=k(()=>!!s.value.link),r=M(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};U([e,s,Ie],d),G(d);const p=k(()=>r.value?!0:s.value.items?ie(e.value.relativePath,s.value.items):!1),_=k(()=>!!(s.value.items&&s.value.items.length));te(()=>{t.value=!!(n.value&&s.value.collapsed)}),Ve(()=>{(r.value||p.value)&&(t.value=!1)});function g(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:_,toggle:g}}function mt(){const{hasSidebar:s}=D(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:k(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const gt=71;function ve(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function pe(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:bt(t),link:"#"+t.id,level:n}});return $t(e,s)}function bt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function $t(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;_--){const g=s[_];if(g.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ee(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),_=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(S=>p.some(C=>C.hash===S.hash&&S.offsetParent!==null)),g=window.scrollY,V=window.innerHeight,y=document.body.offsetHeight,I=Math.abs(g+V-y)<1;if(_.length&&I){d(_[_.length-1].hash);return}for(let S=0;S<_.length;S++){const C=_[S],B=_[S+1],[w,K]=yt(S,C,B);if(w){d(K);return}}}function d(p){o&&o.classList.remove("active"),p==null?o=null:o=s.value.querySelector(`a[href="${decodeURIComponent(p)}"]`);const _=o;_?(_.classList.add("active"),e.value.style.top=_.offsetTop+33+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function ye(s){return s.parentElement.offsetTop-gt}function yt(s,e,t){const n=window.scrollY;return s===0&&n===0?[!0,null]:n{const o=j("VPDocOutlineItem",!0);return a(),i("ul",{class:T(t.root?"root":"nested")},[(a(!0),i(N,null,A(t.headers,({children:r,link:d,title:p})=>(a(),i("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,Pt),r!=null&&r.length?(a(),$(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}});const he=m(Vt,[["__scopeId","data-v-fc1e6dbb"]]),wt=s=>(H("data-v-e7b248a1"),s=s(),z(),s),Lt={class:"content"},St={class:"outline-title",role:"heading","aria-level":"2"},Mt={"aria-labelledby":"doc-outline-aria-label"},Nt=wt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),It=b({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=_e([]);Y(()=>{n.value=pe(e.value.outline??t.value.outline)});const o=M(),r=M();return kt(o,r),(d,p)=>(a(),i("div",{class:T(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",Lt,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",St,L(l(ve)(l(t))),1),c("nav",Mt,[Nt,h(he,{headers:n.value,root:!0},null,8,["headers"])])])],2))}});const Tt=m(It,[["__scopeId","data-v-e7b248a1"]]),Ct={class:"VPDocAsideCarbonAds"},Bt=b({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),i("div",Ct,[h(l(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),At=s=>(H("data-v-470b544e"),s=s(),z(),s),xt={class:"VPDocAside"},Ht=At(()=>c("div",{class:"spacer"},null,-1)),zt=b({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),i("div",xt,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),h(Tt),u(t.$slots,"aside-outline-after",{},void 0,!0),Ht,u(t.$slots,"aside-ads-before",{},void 0,!0),l(e).carbonAds?(a(),$(Bt,{key:0,"carbon-ads":l(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}});const Dt=m(zt,[["__scopeId","data-v-470b544e"]]);function Et(){const{theme:s,page:e}=P();return k(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function Ft(){const{page:s,theme:e,frontmatter:t}=P();return k(()=>{var _,g,V,y,I,S,C,B;const n=Ne(e.value.sidebar,s.value.relativePath),o=pt(n),r=o.findIndex(w=>O(s.value.relativePath,w.link)),d=((_=e.value.docFooter)==null?void 0:_.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((V=o[r-1])==null?void 0:V.docFooterText)??((y=o[r-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=o[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((S=o[r+1])==null?void 0:S.docFooterText)??((C=o[r+1])==null?void 0:C.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((B=o[r+1])==null?void 0:B.link)}}})}const Ot={},Gt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Ut=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),jt=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Kt=[Ut,jt];function qt(s,e){return a(),i("svg",Gt,Kt)}const Rt=m(Ot,[["render",qt]]),E=b({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=k(()=>e.tag??(e.href?"a":"span")),n=k(()=>e.href&&we.test(e.href));return(o,r)=>(a(),$(F(t.value),{class:T(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?l(J)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:v(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Wt={class:"VPLastUpdated"},Yt=["datetime"],Jt=b({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=k(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=k(()=>r.value.toISOString()),p=M("");return G(()=>{te(()=>{var _,g,V;p.value=new Intl.DateTimeFormat((g=(_=e.value.lastUpdated)==null?void 0:_.formatOptions)!=null&&g.forceLocale?o.value:void 0,((V=e.value.lastUpdated)==null?void 0:V.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(_,g)=>{var V;return a(),i("p",Wt,[x(L(((V=l(e).lastUpdated)==null?void 0:V.text)||l(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,Yt)])}}});const Xt=m(Jt,[["__scopeId","data-v-112a886d"]]),Zt={key:0,class:"VPDocFooter"},Qt={key:0,class:"edit-info"},es={key:0,class:"edit-link"},ts={key:1,class:"last-updated"},ss={key:1,class:"prev-next"},ns={class:"pager"},os=["href"],as=["innerHTML"],rs=["innerHTML"],ls={class:"pager"},is=["href"],cs=["innerHTML"],us=["innerHTML"],ds=b({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Et(),r=Ft(),d=k(()=>e.value.editLink&&n.value.editLink!==!1),p=k(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),_=k(()=>d.value||p.value||r.value.prev||r.value.next);return(g,V)=>{var y,I,S,C,B,w;return _.value?(a(),i("footer",Zt,[u(g.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),i("div",Qt,[d.value?(a(),i("div",es,[h(E,{class:"edit-link-button",href:l(o).url,"no-icon":!0},{default:v(()=>[h(Rt,{class:"edit-link-icon","aria-label":"edit icon"}),x(" "+L(l(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),i("div",ts,[h(Xt)])):f("",!0)])):f("",!0),(y=l(r).prev)!=null&&y.link||(I=l(r).next)!=null&&I.link?(a(),i("nav",ss,[c("div",ns,[(S=l(r).prev)!=null&&S.link?(a(),i("a",{key:0,class:"pager-link prev",href:l(J)(l(r).prev.link)},[c("span",{class:"desc",innerHTML:((C=l(e).docFooter)==null?void 0:C.prev)||"Previous page"},null,8,as),c("span",{class:"title",innerHTML:l(r).prev.text},null,8,rs)],8,os)):f("",!0)]),c("div",ls,[(B=l(r).next)!=null&&B.link?(a(),i("a",{key:0,class:"pager-link next",href:l(J)(l(r).next.link)},[c("span",{class:"desc",innerHTML:((w=l(e).docFooter)==null?void 0:w.next)||"Next page"},null,8,cs),c("span",{class:"title",innerHTML:l(r).next.text},null,8,us)],8,is)):f("",!0)])])):f("",!0)])):f("",!0)}}});const _s=m(ds,[["__scopeId","data-v-6f497cd4"]]),vs={},ps={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},hs=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),fs=[hs];function ms(s,e){return a(),i("svg",ps,fs)}const fe=m(vs,[["render",ms]]),gs={key:0,class:"VPDocOutlineDropdown"},bs={key:0,class:"items"},$s=b({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=M(!1);Y(()=>{n.value=!1});const o=_e([]);return Y(()=>{o.value=pe(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),i("div",gs,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:T({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2),n.value?(a(),i("div",bs,[h(he,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}});const ks=m($s,[["__scopeId","data-v-5d13abc5"]]),ys=s=>(H("data-v-80010f0c"),s=s(),z(),s),Ps={class:"container"},Vs=ys(()=>c("div",{class:"aside-curtain"},null,-1)),ws={class:"aside-container"},Ls={class:"aside-content"},Ss={class:"content"},Ms={class:"content-container"},Ns={class:"main"},Is=b({__name:"VPDoc",setup(s){const{theme:e}=P(),t=se(),{hasSidebar:n,hasAside:o,leftAside:r}=D(),d=k(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,_)=>{const g=j("Content");return a(),i("div",{class:T(["VPDoc",{"has-sidebar":l(n),"has-aside":l(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",Ps,[l(o)?(a(),i("div",{key:0,class:T(["aside",{"left-aside":l(r)}])},[Vs,c("div",ws,[c("div",Ls,[h(Dt,null,{"aside-top":v(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Ss,[c("div",Ms,[u(p.$slots,"doc-before",{},void 0,!0),h(ks),c("main",Ns,[h(g,{class:T(["vp-doc",[d.value,l(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),h(_s,null,{"doc-footer-before":v(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}});const Ts=m(Is,[["__scopeId","data-v-80010f0c"]]),Cs=b({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=k(()=>e.href&&we.test(e.href)),n=k(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),$(F(n.value),{class:T(["VPButton",[o.size,o.theme]]),href:o.href?l(J)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:v(()=>[x(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}});const Bs=m(Cs,[["__scopeId","data-v-c2d0dde3"]]),As=["src","alt"],xs=b({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),i(N,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),i("img",Z({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:l(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,As)):(a(),i(N,{key:1},[h(n,Z({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),h(n,Z({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}});const ee=m(xs,[["__scopeId","data-v-6b741c7d"]]),Hs=s=>(H("data-v-95b00d9a"),s=s(),z(),s),zs={class:"container"},Ds={class:"main"},Es={key:0,class:"name"},Fs=["innerHTML"],Os=["innerHTML"],Gs=["innerHTML"],Us={key:0,class:"actions"},js={key:0,class:"image"},Ks={class:"image-container"},qs=Hs(()=>c("div",{class:"image-bg"},null,-1)),Rs=b({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=ne("hero-image-slot-exists");return(t,n)=>(a(),i("div",{class:T(["VPHero",{"has-image":t.image||l(e)}])},[c("div",zs,[c("div",Ds,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),i("h1",Es,[c("span",{innerHTML:t.name,class:"clip"},null,8,Fs)])):f("",!0),t.text?(a(),i("p",{key:1,innerHTML:t.text,class:"text"},null,8,Os)):f("",!0),t.tagline?(a(),i("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Gs)):f("",!0)],!0),t.actions?(a(),i("div",Us,[(a(!0),i(N,null,A(t.actions,o=>(a(),i("div",{key:o.link,class:"action"},[h(Bs,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||l(e)?(a(),i("div",js,[c("div",Ks,[qs,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),$(ee,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}});const Ws=m(Rs,[["__scopeId","data-v-95b00d9a"]]),Ys=b({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).hero?(a(),$(Ws,{key:0,class:"VPHomeHero",name:l(e).hero.name,text:l(e).hero.text,tagline:l(e).hero.tagline,image:l(e).hero.image,actions:l(e).hero.actions},{"home-hero-info":v(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":v(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),Js={},Xs={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Zs=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),Qs=[Zs];function en(s,e){return a(),i("svg",Xs,Qs)}const tn=m(Js,[["render",en]]),sn={class:"box"},nn={key:0,class:"icon"},on=["innerHTML"],an=["innerHTML"],rn=["innerHTML"],ln={key:4,class:"link-text"},cn={class:"link-text-value"},un=b({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),$(E,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[c("article",sn,[typeof e.icon=="object"&&e.icon.wrap?(a(),i("div",nn,[h(ee,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),$(ee,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),i("div",{key:2,class:"icon",innerHTML:e.icon},null,8,on)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,an),e.details?(a(),i("p",{key:3,class:"details",innerHTML:e.details},null,8,rn)):f("",!0),e.linkText?(a(),i("div",ln,[c("p",cn,[x(L(e.linkText)+" ",1),h(tn,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}});const dn=m(un,[["__scopeId","data-v-5c6842f0"]]),_n={key:0,class:"VPFeatures"},vn={class:"container"},pn={class:"items"},hn=b({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=k(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),i("div",_n,[c("div",vn,[c("div",pn,[(a(!0),i(N,null,A(n.features,r=>(a(),i("div",{key:r.title,class:T(["item",[t.value]])},[h(dn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}});const fn=m(hn,[["__scopeId","data-v-179bf1de"]]),mn=b({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>l(e).features?(a(),$(fn,{key:0,class:"VPHomeFeatures",features:l(e).features},null,8,["features"])):f("",!0)}}),gn={class:"VPHome"},bn=b({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),i("div",gn,[u(e.$slots,"home-hero-before",{},void 0,!0),h(Ys,null,{"home-hero-info":v(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),h(mn),u(e.$slots,"home-features-after",{},void 0,!0),h(n)])}}});const $n=m(bn,[["__scopeId","data-v-4206cc72"]]),kn={},yn={class:"VPPage"};function Pn(s,e){const t=j("Content");return a(),i("div",yn,[u(s.$slots,"page-top"),h(t),u(s.$slots,"page-bottom")])}const Vn=m(kn,[["render",Pn]]),wn=b({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>(a(),i("div",{class:T(["VPContent",{"has-sidebar":l(n),"is-home":l(t).layout==="home"}]),id:"VPContent"},[l(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[h(_t)],!0):l(t).layout==="page"?(a(),$(Vn,{key:1},{"page-top":v(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):l(t).layout==="home"?(a(),$($n,{key:2},{"home-hero-before":v(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):l(t).layout&&l(t).layout!=="doc"?(a(),$(F(l(t).layout),{key:3})):(a(),$(Ts,{key:4},{"doc-top":v(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}});const Ln=m(wn,[["__scopeId","data-v-88f69216"]]),Sn={class:"container"},Mn=["innerHTML"],Nn=["innerHTML"],In=b({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D();return(o,r)=>l(e).footer&&l(t).footer!==!1?(a(),i("footer",{key:0,class:T(["VPFooter",{"has-sidebar":l(n)}])},[c("div",Sn,[l(e).footer.message?(a(),i("p",{key:0,class:"message",innerHTML:l(e).footer.message},null,8,Mn)):f("",!0),l(e).footer.copyright?(a(),i("p",{key:1,class:"copyright",innerHTML:l(e).footer.copyright},null,8,Nn)):f("",!0)])],2)):f("",!0)}});const Tn=m(In,[["__scopeId","data-v-489d7418"]]),Cn={class:"header"},Bn={class:"outline"},An=b({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=M(!1),o=M(0),r=M();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(g){g.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Oe(()=>{n.value=!1}))}function _(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,V)=>(a(),i("div",{class:"VPLocalNavOutlineDropdown",style:Fe({"--vp-vh":o.value+"px"})},[g.headers.length>0?(a(),i("button",{key:0,onClick:d,class:T({open:n.value})},[x(L(l(ve)(l(t)))+" ",1),h(fe,{class:"icon"})],2)):(a(),i("button",{key:1,onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)),h(ce,{name:"flyout"},{default:v(()=>[n.value?(a(),i("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",Cn,[c("a",{class:"top-link",href:"#",onClick:_},L(l(t).returnToTopLabel||"Return to top"),1)]),c("div",Bn,[h(he,{headers:g.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}});const xn=m(An,[["__scopeId","data-v-746b8b3e"]]),Hn={},zn={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Dn=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),En=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),Fn=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),On=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),Gn=[Dn,En,Fn,On];function Un(s,e){return a(),i("svg",zn,Gn)}const jn=m(Hn,[["render",Un]]),Kn=["aria-expanded"],qn={class:"menu-text"},Rn=b({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=D(),{y:o}=Le(),r=_e([]),d=M(0);G(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=pe(t.value.outline??e.value.outline)});const p=k(()=>r.value.length===0&&!n.value),_=k(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(g,V)=>l(t).layout!=="home"&&(!p.value||l(o)>=d.value)?(a(),i("div",{key:0,class:T(_.value)},[l(n)?(a(),i("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:V[0]||(V[0]=y=>g.$emit("open-menu"))},[h(jn,{class:"menu-icon"}),c("span",qn,L(l(e).sidebarMenuLabel||"Menu"),1)],8,Kn)):f("",!0),h(xn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}});const Wn=m(Rn,[["__scopeId","data-v-41aecf3b"]]);function Yn(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=se();return U(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const Jn={},Xn={class:"VPSwitch",type:"button",role:"switch"},Zn={class:"check"},Qn={key:0,class:"icon"};function eo(s,e){return a(),i("button",Xn,[c("span",Zn,[s.$slots.default?(a(),i("span",Qn,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const to=m(Jn,[["render",eo],["__scopeId","data-v-55c70256"]]),so={},no={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},oo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),ao=[oo];function ro(s,e){return a(),i("svg",no,ao)}const lo=m(so,[["render",ro]]),io={},co={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},uo=Ge('',9),_o=[uo];function vo(s,e){return a(),i("svg",co,_o)}const po=m(io,[["render",vo]]),ho=b({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=ne("toggle-appearance",()=>{e.value=!e.value});return(n,o)=>(a(),$(to,{title:"toggle dark mode",class:"VPSwitchAppearance","aria-checked":l(e),onClick:l(t)},{default:v(()=>[h(po,{class:"sun"}),h(lo,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const me=m(ho,[["__scopeId","data-v-f9719704"]]),fo={key:0,class:"VPNavBarAppearance"},mo=b({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>l(e).appearance&&l(e).appearance!=="force-dark"?(a(),i("div",fo,[h(me)])):f("",!0)}});const go=m(mo,[["__scopeId","data-v-e9d6c9ee"]]),ge=M();let Te=!1,ae=0;function bo(s){const e=M(!1);if(R){!Te&&$o(),ae++;const t=U(ge,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||ko()})}return Ue(e)}function $o(){document.addEventListener("focusin",Ce),Te=!0,ge.value=document.activeElement}function ko(){document.removeEventListener("focusin",Ce)}function Ce(){ge.value=document.activeElement}const yo={},Po={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Vo=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),wo=[Vo];function Lo(s,e){return a(),i("svg",Po,wo)}const Be=m(yo,[["render",Lo]]),So={},Mo={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},No=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),Io=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),To=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),Co=[No,Io,To];function Bo(s,e){return a(),i("svg",Mo,Co)}const Ao=m(So,[["render",Bo]]),xo={class:"VPMenuLink"},Ho=b({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),i("div",xo,[h(E,{class:T({active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}});const oe=m(Ho,[["__scopeId","data-v-94a0caeb"]]),zo={class:"VPMenuGroup"},Do={key:0,class:"title"},Eo=b({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",zo,[e.text?(a(),i("p",Do,L(e.text),1)):f("",!0),(a(!0),i(N,null,A(e.items,n=>(a(),i(N,null,["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}});const Fo=m(Eo,[["__scopeId","data-v-6ab6a63a"]]),Oo={class:"VPMenu"},Go={key:0,class:"items"},Uo=b({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),i("div",Oo,[e.items?(a(),i("div",Go,[(a(!0),i(N,null,A(e.items,n=>(a(),i(N,{key:n.text},["link"in n?(a(),$(oe,{key:0,item:n},null,8,["item"])):(a(),$(Fo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}});const jo=m(Uo,[["__scopeId","data-v-8148ee14"]]),Ko=["aria-expanded","aria-label"],qo={key:0,class:"text"},Ro=["innerHTML"],Wo={class:"menu"},Yo=b({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();bo({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),i("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),i("span",qo,[o.icon?(a(),$(F(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),i("span",{key:1,innerHTML:o.button},null,8,Ro)):f("",!0),h(Be,{class:"text-icon"})])):(a(),$(Ao,{key:1,class:"icon"}))],8,Ko),c("div",Wo,[h(jo,{items:o.items},{default:v(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const be=m(Yo,[["__scopeId","data-v-2e639d93"]]),Jo={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},Xo=["href","aria-label","innerHTML"],Zo=b({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=k(()=>typeof e.icon=="object"?e.icon.svg:Jo[e.icon]);return(n,o)=>(a(),i("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Xo))}});const Qo=m(Zo,[["__scopeId","data-v-c8ada7f5"]]),ea={class:"VPSocialLinks"},ta=b({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),i("div",ea,[(a(!0),i(N,null,A(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),$(Qo,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}});const $e=m(ta,[["__scopeId","data-v-1663f158"]]),sa={key:0,class:"group translations"},na={class:"trans-title"},oa={key:1,class:"group"},aa={class:"item appearance"},ra={class:"label"},la={class:"appearance-action"},ia={key:2,class:"group"},ca={class:"item social-links"},ua=b({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=X({correspondingLink:!0}),r=k(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),$(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[l(n).length&&l(o).label?(a(),i("div",sa,[c("p",na,L(l(o).label),1),(a(!0),i(N,null,A(l(n),_=>(a(),$(oe,{key:_.link,item:_},null,8,["item"]))),128))])):f("",!0),l(e).appearance?(a(),i("div",oa,[c("div",aa,[c("p",ra,L(l(t).darkModeSwitchLabel||"Appearance"),1),c("div",la,[h(me)])])])):f("",!0),l(t).socialLinks?(a(),i("div",ia,[c("div",ca,[h($e,{class:"social-links-list",links:l(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}});const da=m(ua,[["__scopeId","data-v-3abe5206"]]),_a=s=>(H("data-v-a5b09a9d"),s=s(),z(),s),va=["aria-expanded"],pa=_a(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),ha=[pa],fa=b({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),i("button",{type:"button",class:T(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},ha,10,va))}});const ma=m(fa,[["__scopeId","data-v-a5b09a9d"]]),ga=["innerHTML"],ba=b({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),$(E,{class:T({VPNavBarMenuLink:!0,active:l(O)(l(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[c("span",{innerHTML:t.item.text},null,8,ga)]),_:1},8,["class","href","target","rel"]))}});const $a=m(ba,[["__scopeId","data-v-f5e86147"]]),ka=b({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=k(()=>n(e.item));return(r,d)=>(a(),$(be,{class:T({VPNavBarMenuGroup:!0,active:l(O)(l(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),ya=s=>(H("data-v-39a6d6d3"),s=s(),z(),s),Pa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Va=ya(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),wa=b({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",Pa,[Va,(a(!0),i(N,null,A(l(e).nav,o=>(a(),i(N,{key:o.text},["link"in o?(a(),$($a,{key:0,item:o},null,8,["item"])):(a(),$(ka,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}});const La=m(wa,[["__scopeId","data-v-39a6d6d3"]]);function Sa(s,e){const{localeIndex:t}=P();function n(o){var S,C;const r=o.split("."),d=s&&typeof s=="object",p=d&&((C=(S=s.locales)==null?void 0:S[t.value])==null?void 0:C.translations)||null,_=d&&s.translations||null;let g=p,V=_,y=e;const I=r.pop();for(const B of r){let w=null;const K=y==null?void 0:y[B];K&&(w=y=K);const W=V==null?void 0:V[B];W&&(w=V=W);const q=g==null?void 0:g[B];q&&(w=g=q),K||(y=w),W||(V=w),q||(g=w)}return(g==null?void 0:g[I])??(V==null?void 0:V[I])??(y==null?void 0:y[I])??""}return n}const Ma=["aria-label"],Na={class:"DocSearch-Button-Container"},Ia=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ta={class:"DocSearch-Button-Placeholder"},Ca=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Pe=b({__name:"VPNavBarSearchButton",setup(s){var o;const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=Sa((o=e.value.search)==null?void 0:o.options,t);return(r,d)=>(a(),i("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":l(n)("button.buttonAriaLabel")},[c("span",Na,[Ia,c("span",Ta,L(l(n)("button.buttonText")),1)]),Ca],8,Ma))}});const Ba={class:"VPNavBarSearch"},Aa={id:"local-search"},xa={key:1,id:"docsearch"},Ha=b({__name:"VPNavBarSearch",setup(s){const e=je(()=>Ke(()=>import("./VPLocalSearchBox.8fe2480c.js"),["assets/chunks/VPLocalSearchBox.8fe2480c.js","assets/chunks/framework.e1e0b12f.js"])),t=()=>null,{theme:n}=P(),o=M(!1),r=M(!1);G(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function _(y){const I=y.target,S=I.tagName;return I.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const g=M(!1);ke("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),g.value=!0)}),ke("/",y=>{_(y)||(y.preventDefault(),g.value=!0)});const V="local";return(y,I)=>{var S;return a(),i("div",Ba,[l(V)==="local"?(a(),i(N,{key:0},[g.value?(a(),$(l(e),{key:0,onClose:I[0]||(I[0]=C=>g.value=!1)})):f("",!0),c("div",Aa,[h(Pe,{onClick:I[1]||(I[1]=C=>g.value=!0)})])],64)):l(V)==="algolia"?(a(),i(N,{key:1},[o.value?(a(),$(l(t),{key:0,algolia:((S=l(n).search)==null?void 0:S.options)??l(n).algolia,onVnodeBeforeMount:I[2]||(I[2]=C=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),i("div",xa,[h(Pe,{onClick:d})]))],64)):f("",!0)])}}});const za=b({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavBarSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}});const Da=m(za,[["__scopeId","data-v-4a30f6f6"]]),Ea=["href"],Fa=b({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=D(),{currentLang:o}=X();return(r,d)=>(a(),i("div",{class:T(["VPNavBarTitle",{"has-sidebar":l(n)}])},[c("a",{class:"title",href:l(t).logoLink??l(J)(l(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),l(t).logo?(a(),$(ee,{key:0,class:"logo",image:l(t).logo},null,8,["image"])):f("",!0),l(t).siteTitle?(a(),i(N,{key:1},[x(L(l(t).siteTitle),1)],64)):l(t).siteTitle===void 0?(a(),i(N,{key:2},[x(L(l(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ea)],2))}});const Oa=m(Fa,[["__scopeId","data-v-b48f9446"]]),Ga={},Ua={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ja=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ka=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),qa=[ja,Ka];function Ra(s,e){return a(),i("svg",Ua,qa)}const Ae=m(Ga,[["render",Ra]]),Wa={class:"items"},Ya={class:"title"},Ja=b({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=X({correspondingLink:!0});return(o,r)=>l(t).length&&l(n).label?(a(),$(be,{key:0,class:"VPNavBarTranslations",icon:Ae,label:l(e).langMenuLabel||"Change language"},{default:v(()=>[c("div",Wa,[c("p",Ya,L(l(n).label),1),(a(!0),i(N,null,A(l(t),d=>(a(),$(oe,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}});const Xa=m(Ja,[["__scopeId","data-v-0b7808b1"]]),Za=s=>(H("data-v-b720888e"),s=s(),z(),s),Qa={class:"container"},er={class:"title"},tr={class:"content"},sr=Za(()=>c("div",{class:"curtain"},null,-1)),nr={class:"content-body"},or=b({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=Le(),{hasSidebar:t}=D(),{frontmatter:n}=P(),o=M({});return Ve(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),i("div",{class:T(["VPNavBar",o.value])},[c("div",Qa,[c("div",er,[h(Oa,null,{"nav-bar-title-before":v(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",tr,[sr,c("div",nr,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),h(Ha,{class:"search"}),h(La,{class:"menu"}),h(Xa,{class:"translations"}),h(go,{class:"appearance"}),h(Da,{class:"social-links"}),h(da,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),h(ma,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}});const ar=m(or,[["__scopeId","data-v-b720888e"]]),rr={key:0,class:"VPNavScreenAppearance"},lr={class:"text"},ir=b({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>l(e).appearance?(a(),i("div",rr,[c("p",lr,L(l(t).darkModeSwitchLabel||"Appearance"),1),h(me)])):f("",!0)}});const cr=m(ir,[["__scopeId","data-v-0a19e25b"]]),ur=b({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(E,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const dr=m(ur,[["__scopeId","data-v-9cb5ef7f"]]),_r={},vr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},pr=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),hr=[pr];function fr(s,e){return a(),i("svg",vr,hr)}const mr=m(_r,[["render",fr]]),gr=b({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=ne("close-screen");return(t,n)=>(a(),$(E,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:l(e)},{default:v(()=>[x(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}});const xe=m(gr,[["__scopeId","data-v-dee1d2df"]]),br={class:"VPNavScreenMenuGroupSection"},$r={key:0,class:"title"},kr=b({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),i("div",br,[e.text?(a(),i("p",$r,L(e.text),1)):f("",!0),(a(!0),i(N,null,A(e.items,n=>(a(),$(xe,{key:n.text,item:n},null,8,["item"]))),128))]))}});const yr=m(kr,[["__scopeId","data-v-644fb433"]]),Pr=["aria-controls","aria-expanded"],Vr={class:"button-text"},wr=["id"],Lr={key:1,class:"group"},Sr=b({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),n=k(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),i("div",{class:T(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",Vr,L(r.text),1),h(mr,{class:"button-icon"})],8,Pr),c("div",{id:n.value,class:"items"},[(a(!0),i(N,null,A(r.items,p=>(a(),i(N,{key:p.text},["link"in p?(a(),i("div",{key:p.text,class:"item"},[h(xe,{item:p},null,8,["item"])])):(a(),i("div",Lr,[h(yr,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,wr)],2))}});const Mr=m(Sr,[["__scopeId","data-v-13dc6861"]]),Nr={key:0,class:"VPNavScreenMenu"},Ir=b({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>l(e).nav?(a(),i("nav",Nr,[(a(!0),i(N,null,A(l(e).nav,o=>(a(),i(N,{key:o.text},["link"in o?(a(),$(dr,{key:0,item:o},null,8,["item"])):(a(),$(Mr,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Tr=b({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>l(e).socialLinks?(a(),$($e,{key:0,class:"VPNavScreenSocialLinks",links:l(e).socialLinks},null,8,["links"])):f("",!0)}}),Cr={class:"list"},Br=b({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=X({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(r,d)=>l(e).length&&l(t).label?(a(),i("div",{key:0,class:T(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[h(Ae,{class:"icon lang"}),x(" "+L(l(t).label)+" ",1),h(Be,{class:"icon chevron"})]),c("ul",Cr,[(a(!0),i(N,null,A(l(e),p=>(a(),i("li",{key:p.link,class:"item"},[h(E,{class:"link",href:p.link},{default:v(()=>[x(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}});const Ar=m(Br,[["__scopeId","data-v-5610ffda"]]),xr={class:"container"},Hr=b({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Se(R?document.body:null);return(n,o)=>(a(),$(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:v(()=>[n.open?(a(),i("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",xr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),h(Ir,{class:"menu"}),h(Ar,{class:"translations"}),h(cr,{class:"appearance"}),h(Tr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}});const zr=m(Hr,[["__scopeId","data-v-5f2e656f"]]),Dr={key:0,class:"VPNav"},Er=b({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Yn(),{frontmatter:o}=P(),r=k(()=>o.value.navbar!==!1);return Me("close-screen",t),te(()=>{R&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),i("header",Dr,[h(ar,{"is-screen-open":l(e),onToggleScreen:l(n)},{"nav-bar-title-before":v(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),h(zr,{open:l(e)},{"nav-screen-content-before":v(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}});const Fr=m(Er,[["__scopeId","data-v-aa833acb"]]),Or=s=>(H("data-v-2510404c"),s=s(),z(),s),Gr=["role","tabindex"],Ur=Or(()=>c("div",{class:"indicator"},null,-1)),jr=["onKeydown"],Kr={key:1,class:"items"},qr=b({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:_}=ft(k(()=>e.item)),g=k(()=>p.value?"section":"div"),V=k(()=>o.value?"a":"div"),y=k(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=k(()=>o.value?void 0:"button"),S=k(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function C(w){"key"in w&&w.key!=="Enter"||!e.item.link&&_()}function B(){e.item.link&&_()}return(w,K)=>{const W=j("VPSidebarItem",!0);return a(),$(F(g.value),{class:T(["VPSidebarItem",S.value])},{default:v(()=>[w.item.text?(a(),i("div",Z({key:0,class:"item",role:I.value},Re(w.item.items?{click:C,keydown:C}:{},!0),{tabindex:w.item.items&&0}),[Ur,w.item.link?(a(),$(E,{key:0,tag:V.value,class:"link",href:w.item.link,rel:w.item.rel,target:w.item.target},{default:v(()=>[(a(),$(F(y.value),{class:"text",innerHTML:w.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),$(F(y.value),{key:1,class:"text",innerHTML:w.item.text},null,8,["innerHTML"])),w.item.collapsed!=null?(a(),i("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:B,onKeydown:qe(B,["enter"]),tabindex:"0"},[h(fe,{class:"caret-icon"})],40,jr)):f("",!0)],16,Gr)):f("",!0),w.item.items&&w.item.items.length?(a(),i("div",Kr,[w.depth<5?(a(!0),i(N,{key:0},A(w.item.items,q=>(a(),$(W,{key:q.text,item:q,depth:w.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}});const Rr=m(qr,[["__scopeId","data-v-2510404c"]]),He=s=>(H("data-v-20082c87"),s=s(),z(),s),Wr=He(()=>c("div",{class:"curtain"},null,-1)),Yr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Jr=He(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),Xr=b({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=D(),n=s,o=M(null),r=Se(R?document.body:null);return U([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>l(t)?(a(),i("aside",{key:0,class:T(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=We(()=>{},["stop"]))},[Wr,c("nav",Yr,[Jr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),i(N,null,A(l(e),_=>(a(),i("div",{key:_.text,class:"group"},[h(Rr,{item:_,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}});const Zr=m(Xr,[["__scopeId","data-v-20082c87"]]),Qr=b({__name:"VPSkipLink",setup(s){const e=se(),t=M();U(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),i(N,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}});const el=m(Qr,[["__scopeId","data-v-d2de3463"]]),tl=b({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=D(),o=se();U(()=>o.path,n),ht(e,n);const{frontmatter:r}=P(),d=Ye(),p=k(()=>!!d["home-hero-image"]);return Me("hero-image-slot-exists",p),(_,g)=>{const V=j("Content");return l(r).layout!==!1?(a(),i("div",{key:0,class:T(["Layout",l(r).pageClass])},[u(_.$slots,"layout-top",{},void 0,!0),h(el),h(et,{class:"backdrop",show:l(e),onClick:l(n)},null,8,["show","onClick"]),h(Fr,null,{"nav-bar-title-before":v(()=>[u(_.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[u(_.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[u(_.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[u(_.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[u(_.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[u(_.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),h(Wn,{open:l(e),onOpenMenu:l(t)},null,8,["open","onOpenMenu"]),h(Zr,{open:l(e)},{"sidebar-nav-before":v(()=>[u(_.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[u(_.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),h(Ln,null,{"page-top":v(()=>[u(_.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[u(_.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[u(_.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[u(_.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":v(()=>[u(_.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":v(()=>[u(_.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[u(_.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[u(_.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[u(_.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[u(_.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[u(_.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[u(_.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[u(_.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[u(_.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[u(_.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[u(_.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[u(_.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[u(_.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[u(_.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[u(_.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),h(Tn),u(_.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),$(V,{key:1}))}}});const sl=m(tl,[["__scopeId","data-v-ad6a442f"]]);const ol={Layout:sl,enhanceApp:({app:s})=>{s.component("Badge",Xe)}};export{Sa as c,ol as t,P as u}; diff --git a/assets/config_build-options.md.4c9e59db.js b/assets/config_build-options.md.4c9e59db.js deleted file mode 100644 index a98f565..0000000 --- a/assets/config_build-options.md.4c9e59db.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d,o as l,c,Q as e,k as i,a as o}from"./chunks/framework.38a791dd.js";const P=JSON.parse('{"title":"构建选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/build-options.md","filePath":"config/build-options.md","lastUpdated":1697424975000}'),a={name:"config/build-options.md"},t=e('

构建选项

build.outDir

  • 类型: string
  • 默认: dist

指定输出路径(相对于项目根目录)。

build.fileHash

  • 类型: boolean | '-' | '?'
  • 默认: '-'

build 命令构建后生成的静态资源在它们的文件名中包含了 hash 以便更好的控制缓存,同时也会生成对应的 manifest.json 文件。

  • 值为 false 时,关闭文件哈希。
  • 值为 true- 时,将生成文件名哈希和版本映射文件manifest.json
  • 值为 ? 时,仅生成版本映射文件manifest.json

build.sourcemap

  • 类型: string
  • 默认: dist

build 命令构建后是否生成 source map 文件。如果为 true,将会创建一个独立的 source map 文件。

build.minify

  • 类型: boolean
  • 默认: process.env.NODE_ENV === "production"

全局配置, 设置为 false 可以统一禁用最小化混淆或压缩。

⚠️ 提示

该配置项仅对任务类型 typehtml, style, script, static, image 有效。这里是全局配置,也可以在每个任务项内单独配置 minify

build.htmlMinify

  • 类型: boolean | HtmlMinifyOptions
  • 默认:build.minify 一致

HTML 最小化压缩配置项,此选项配置后会覆盖 build.minify

html压缩是基于 html-minifier-terser 插件, 详细配置请参见 这里

',19),s=i("h2",{"js-minify":"",id:"build-jsminify",tabindex:"-1"},[o("build.jsMinify "),i("a",{class:"header-anchor",href:"#build-jsminify","aria-label":'Permalink to "build.jsMinify {js-minify}"'},"​")],-1),n=e('
  • 类型: boolean | TerserMinifyOptions
  • 默认:build.minify 一致

Javascript 最小化混淆配置项,此选项配置后会覆盖 build.minify

JS最小化混淆是基于 terser 插件, 详细配置请参见 这里

',3),r=i("h2",{"css-minify":"",id:"build-cssminify",tabindex:"-1"},[o("build.cssMinify "),i("a",{class:"header-anchor",href:"#build-cssminify","aria-label":'Permalink to "build.cssMinify {css-minify}"'},"​")],-1),u=e('
  • 类型: boolean | CSSNanoOptions
  • 默认:build.minify 一致

CSS 最小化压缩配置项,此选项配置后会覆盖 build.minify

CSS压缩是基于 cssnano 插件, 详细配置请参见 这里

',3),m=i("h2",{"image-minify":"",id:"build-imageminify",tabindex:"-1"},[o("build.imageMinify "),i("a",{class:"header-anchor",href:"#build-imageminify","aria-label":'Permalink to "build.imageMinify {image-minify}"'},"​")],-1),b=e('
  • 类型: boolean | {plugins?: Plugin[], options?: Options}
  • 默认: dist

图片压缩配置项,此选项配置后会覆盖 build.minify

图片压缩是基于 gulp-imagemin 插件, 详细配置请参见 这里

🚨 提醒

由于安装 gulp-imagemin 依赖经常失败(国内环境),且图片压缩是一项耗时的一次性任务。所以 pipflowgulp-imagemin 的安装提取到项目的依赖中。如果你的项目不需要 压缩图片或者手动一次性压缩,请删除项目的 package.json 中的 gulp-imagemin 依赖,并将 imageMinify 配置项的值设置为 false

',4),p=[t,s,n,r,u,m,b];function f(_,h,g,y,T,k){return l(),c("div",null,p)}const q=d(a,[["render",f]]);export{P as __pageData,q as default}; diff --git a/assets/config_build-options.md.4c9e59db.lean.js b/assets/config_build-options.md.4c9e59db.lean.js deleted file mode 100644 index 3498b02..0000000 --- a/assets/config_build-options.md.4c9e59db.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as d,o as l,c,Q as e,k as i,a as o}from"./chunks/framework.38a791dd.js";const P=JSON.parse('{"title":"构建选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/build-options.md","filePath":"config/build-options.md","lastUpdated":1697424975000}'),a={name:"config/build-options.md"},t=e("",19),s=i("h2",{"js-minify":"",id:"build-jsminify",tabindex:"-1"},[o("build.jsMinify "),i("a",{class:"header-anchor",href:"#build-jsminify","aria-label":'Permalink to "build.jsMinify {js-minify}"'},"​")],-1),n=e("",3),r=i("h2",{"css-minify":"",id:"build-cssminify",tabindex:"-1"},[o("build.cssMinify "),i("a",{class:"header-anchor",href:"#build-cssminify","aria-label":'Permalink to "build.cssMinify {css-minify}"'},"​")],-1),u=e("",3),m=i("h2",{"image-minify":"",id:"build-imageminify",tabindex:"-1"},[o("build.imageMinify "),i("a",{class:"header-anchor",href:"#build-imageminify","aria-label":'Permalink to "build.imageMinify {image-minify}"'},"​")],-1),b=e("",4),p=[t,s,n,r,u,m,b];function f(_,h,g,y,T,k){return l(),c("div",null,p)}const q=d(a,[["render",f]]);export{P as __pageData,q as default}; diff --git a/assets/config_build-options.md.fdbc3a76.js b/assets/config_build-options.md.fdbc3a76.js new file mode 100644 index 0000000..acf152e --- /dev/null +++ b/assets/config_build-options.md.fdbc3a76.js @@ -0,0 +1 @@ +import{_ as d,o as l,c as a,Q as e,k as i,a as o}from"./chunks/framework.e1e0b12f.js";const P=JSON.parse('{"title":"构建选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/build-options.md","filePath":"config/build-options.md","lastUpdated":1698550829000}'),c={name:"config/build-options.md"},n=e('

构建选项

build.outDir

  • 类型: string
  • 默认: dist

指定输出路径(相对于项目根目录)。

build.fileHash

  • 类型: boolean | '-' | '?'
  • 默认: '-'

build 命令构建后生成的静态资源在它们的文件名中包含了 hash 以便更好的控制缓存,同时也会生成对应的 manifest.json 文件。

  • 值为 false 时,关闭文件哈希。
  • 值为 true- 时,将生成文件名哈希和版本映射文件manifest.json
  • 值为 ? 时,仅生成版本映射文件manifest.json

build.sourcemap

  • 类型: boolean | 'inline'
  • 默认: false

构建后是否生成 source map 文件。如果为 true,将会创建一个独立的 source map 文件。如果为 'inline',source map 将作为一个 data URI 附加在输出文件中。

build.minify

  • 类型: boolean
  • 默认: process.env.NODE_ENV === "production"

全局配置, 设置为 false 可以统一禁用最小化混淆或压缩。

⚠️ 提示

该配置项仅对任务类型 typehtml, style, script, static, image 有效。这里是全局配置,也可以在每个任务项内单独配置 minify

build.htmlMinify

  • 类型: boolean | HtmlMinifyOptions
  • 默认:build.minify 一致

HTML 最小化压缩配置项,此选项配置后会覆盖 build.minify

html压缩是基于 html-minifier-terser 插件, 详细配置请参见 这里

',19),t=i("h2",{"js-minify":"",id:"build-jsminify",tabindex:"-1"},[o("build.jsMinify "),i("a",{class:"header-anchor",href:"#build-jsminify","aria-label":'Permalink to "build.jsMinify {js-minify}"'},"​")],-1),s=e('
  • 类型: boolean | TerserMinifyOptions
  • 默认:build.minify 一致

Javascript 最小化混淆配置项,此选项配置后会覆盖 build.minify

JS最小化混淆是基于 terser 插件, 详细配置请参见 这里

',3),r=i("h2",{"css-minify":"",id:"build-cssminify",tabindex:"-1"},[o("build.cssMinify "),i("a",{class:"header-anchor",href:"#build-cssminify","aria-label":'Permalink to "build.cssMinify {css-minify}"'},"​")],-1),u=e('
  • 类型: boolean | CSSNanoOptions
  • 默认:build.minify 一致

CSS 最小化压缩配置项,此选项配置后会覆盖 build.minify

CSS压缩是基于 cssnano 插件, 详细配置请参见 这里

',3),m=i("h2",{"image-minify":"",id:"build-imageminify",tabindex:"-1"},[o("build.imageMinify "),i("a",{class:"header-anchor",href:"#build-imageminify","aria-label":'Permalink to "build.imageMinify {image-minify}"'},"​")],-1),b=e('
  • 类型: boolean | {plugins?: Plugin[], options?: Options}
  • 默认: dist

图片压缩配置项,此选项配置后会覆盖 build.minify

图片压缩是基于 gulp-imagemin 插件, 详细配置请参见 这里

🚨 提醒

由于安装 gulp-imagemin 依赖经常失败(国内环境),且图片压缩是一项耗时的一次性任务。所以 pipflowgulp-imagemin 的安装提取到项目的依赖中。如果你的项目不需要 压缩图片或者手动一次性压缩,请删除项目的 package.json 中的 gulp-imagemin 依赖,并将 imageMinify 配置项的值设置为 false

',4),p=[n,t,s,r,u,m,b];function f(_,h,g,y,T,k){return l(),a("div",null,p)}const q=d(c,[["render",f]]);export{P as __pageData,q as default}; diff --git a/assets/config_build-options.md.fdbc3a76.lean.js b/assets/config_build-options.md.fdbc3a76.lean.js new file mode 100644 index 0000000..d2d0b3f --- /dev/null +++ b/assets/config_build-options.md.fdbc3a76.lean.js @@ -0,0 +1 @@ +import{_ as d,o as l,c as a,Q as e,k as i,a as o}from"./chunks/framework.e1e0b12f.js";const P=JSON.parse('{"title":"构建选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/build-options.md","filePath":"config/build-options.md","lastUpdated":1698550829000}'),c={name:"config/build-options.md"},n=e("",19),t=i("h2",{"js-minify":"",id:"build-jsminify",tabindex:"-1"},[o("build.jsMinify "),i("a",{class:"header-anchor",href:"#build-jsminify","aria-label":'Permalink to "build.jsMinify {js-minify}"'},"​")],-1),s=e("",3),r=i("h2",{"css-minify":"",id:"build-cssminify",tabindex:"-1"},[o("build.cssMinify "),i("a",{class:"header-anchor",href:"#build-cssminify","aria-label":'Permalink to "build.cssMinify {css-minify}"'},"​")],-1),u=e("",3),m=i("h2",{"image-minify":"",id:"build-imageminify",tabindex:"-1"},[o("build.imageMinify "),i("a",{class:"header-anchor",href:"#build-imageminify","aria-label":'Permalink to "build.imageMinify {image-minify}"'},"​")],-1),b=e("",4),p=[n,t,s,r,u,m,b];function f(_,h,g,y,T,k){return l(),a("div",null,p)}const q=d(c,[["render",f]]);export{P as __pageData,q as default}; diff --git a/assets/config_index.md.181a41ee.js b/assets/config_index.md.419bb6cb.js similarity index 98% rename from assets/config_index.md.181a41ee.js rename to assets/config_index.md.419bb6cb.js index a8d0ae5..8d88d6b 100644 --- a/assets/config_index.md.181a41ee.js +++ b/assets/config_index.md.419bb6cb.js @@ -1,4 +1,4 @@ -import{_ as s,o as n,c as a,Q as p}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"配置 pipflow","description":"","frontmatter":{"title":"配置 pipflow"},"headers":[],"relativePath":"config/index.md","filePath":"config/index.md","lastUpdated":1697424975000}'),l={name:"config/index.md"},o=p(`

配置 pipflow

当以命令行方式运行 pipflow 时,pipflow 会自动解析 项目根目录 下名为 pipflow.config.js 的配置文件(仅支持 jsjson 扩展名)。

最基础的配置文件是这样的:

js
// pipflow.config.js
+import{_ as s,o as n,c as a,Q as p}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"配置 pipflow","description":"","frontmatter":{"title":"配置 pipflow"},"headers":[],"relativePath":"config/index.md","filePath":"config/index.md","lastUpdated":1698550829000}'),l={name:"config/index.md"},o=p(`

配置 pipflow

当以命令行方式运行 pipflow 时,pipflow 会自动解析 项目根目录 下名为 pipflow.config.js 的配置文件(仅支持 jsjson 扩展名)。

最基础的配置文件是这样的:

js
// pipflow.config.js
 module.exports = {
   // 配置选项
 }
// pipflow.config.js
diff --git a/assets/config_index.md.181a41ee.lean.js b/assets/config_index.md.419bb6cb.lean.js
similarity index 56%
rename from assets/config_index.md.181a41ee.lean.js
rename to assets/config_index.md.419bb6cb.lean.js
index 26526aa..e775c86 100644
--- a/assets/config_index.md.181a41ee.lean.js
+++ b/assets/config_index.md.419bb6cb.lean.js
@@ -1 +1 @@
-import{_ as s,o as n,c as a,Q as p}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"配置 pipflow","description":"","frontmatter":{"title":"配置 pipflow"},"headers":[],"relativePath":"config/index.md","filePath":"config/index.md","lastUpdated":1697424975000}'),l={name:"config/index.md"},o=p("",15),e=[o];function c(t,r,i,y,E,d){return n(),a("div",null,e)}const h=s(l,[["render",c]]);export{g as __pageData,h as default};
+import{_ as s,o as n,c as a,Q as p}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"配置 pipflow","description":"","frontmatter":{"title":"配置 pipflow"},"headers":[],"relativePath":"config/index.md","filePath":"config/index.md","lastUpdated":1698550829000}'),l={name:"config/index.md"},o=p("",15),e=[o];function c(t,r,i,y,E,d){return n(),a("div",null,e)}const h=s(l,[["render",c]]);export{g as __pageData,h as default};
diff --git a/assets/config_server-options.md.ad4a83fc.js b/assets/config_server-options.md.d674f251.js
similarity index 93%
rename from assets/config_server-options.md.ad4a83fc.js
rename to assets/config_server-options.md.d674f251.js
index 4879b20..50d99bb 100644
--- a/assets/config_server-options.md.ad4a83fc.js
+++ b/assets/config_server-options.md.d674f251.js
@@ -1,4 +1,4 @@
-import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"开发服务器选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/server-options.md","filePath":"config/server-options.md","lastUpdated":1697424975000}'),p={name:"config/server-options.md"},o=l(`

开发服务器选项

pipflow 的本地开发服务器是基于 Browsersync 工具, 它为开发过程提供自动化、高效的同步与调试功能。

配置详情请参见 这里

server.host

  • 类型: string
  • 默认: localhost

指定服务器应该监听哪个 IP 地址。

server.port

  • 类型: number
  • 默认: 9527

指定开发服务器端口。

也可以通过 CLI 使用 --port 3000 来设置。

server.https

  • 类型: boolean
  • 默认: false

为本地主机开发启用 https。注意: 代理选项不需要这样做,因为它会从目标网址中推断出来。

js
// Enable HTTPS for snippet mode
+import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"开发服务器选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/server-options.md","filePath":"config/server-options.md","lastUpdated":1698550829000}'),p={name:"config/server-options.md"},o=l(`

开发服务器选项

pipflow 的本地开发服务器是基于 Browsersync 工具, 它为开发过程提供自动化、高效的同步与调试功能。

想要了解更多配置细节,请参考 这里

server.host

  • 类型: string
  • 默认: localhost

指定服务器应该监听哪个 IP 地址。

server.port

  • 类型: number
  • 默认: 9527

指定开发服务器端口。

也可以通过 CLI 使用 --port 3000 来设置。

server.https

  • 类型: boolean
  • 默认: false

为本地主机开发启用 https。注意: 代理选项不需要这样做,因为它会从目标网址中推断出来。

js
// Enable HTTPS for snippet mode
 {
   https: true
 }
diff --git a/assets/config_server-options.md.ad4a83fc.lean.js b/assets/config_server-options.md.d674f251.lean.js
similarity index 57%
rename from assets/config_server-options.md.ad4a83fc.lean.js
rename to assets/config_server-options.md.d674f251.lean.js
index 198424c..e7dd37b 100644
--- a/assets/config_server-options.md.ad4a83fc.lean.js
+++ b/assets/config_server-options.md.d674f251.lean.js
@@ -1 +1 @@
-import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"开发服务器选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/server-options.md","filePath":"config/server-options.md","lastUpdated":1697424975000}'),p={name:"config/server-options.md"},o=l("",44),e=[o];function r(t,c,E,i,y,d){return n(),a("div",null,e)}const F=s(p,[["render",r]]);export{u as __pageData,F as default};
+import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"开发服务器选项","description":"","frontmatter":{},"headers":[],"relativePath":"config/server-options.md","filePath":"config/server-options.md","lastUpdated":1698550829000}'),p={name:"config/server-options.md"},o=l("",44),e=[o];function r(t,c,E,i,y,d){return n(),a("div",null,e)}const F=s(p,[["render",r]]);export{u as __pageData,F as default};
diff --git a/assets/config_shared-options.md.4215ea58.js b/assets/config_shared-options.md.5441c144.js
similarity index 94%
rename from assets/config_shared-options.md.4215ea58.js
rename to assets/config_shared-options.md.5441c144.js
index 9016343..515466c 100644
--- a/assets/config_shared-options.md.4215ea58.js
+++ b/assets/config_shared-options.md.5441c144.js
@@ -1 +1 @@
-import{_ as e,o,c as a,Q as c}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"共享配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/shared-options.md","filePath":"config/shared-options.md","lastUpdated":1697424975000}'),s={name:"config/shared-options.md"},d=c('

共享配置

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

glob base (有时称为 glob parent)是 glob 字符串中任何特殊字符之前的路径段。因此,/src/js/**.js 的 blob base 是 /src/js/。所有匹配 glob 的路径都保证共享 glob base,该路径段不能是可变的。

src() 生成的 Vinyl 实例是用 glob base 集作为它们的 base 属性构造的。当使用 dest() 写入文件系统时,将从输出路径中删除 base ,以保留目录结构。

有关更深入的信息,请参阅 glob-parent 库。

publicDir

  • 类型: string | false
  • 默认: "public"

作为静态资源服务的文件夹。该目录中的文件在开发期间在 / 处提供,并在构建期间复制到 outDir 的根目录,并且始终按原样提供或复制而无需进行转换。该值可以是文件系统的绝对路径,也可以是相对于项目根目录的相对路径。

publicDir 设定为 false 可以关闭此项功能。

alias

  • 类型: { [key string]: string }

全局字符串别名,在处理html, javascript, css 文件时, 每一项将会被静态替换。

友情提醒

这里的 alias 仅仅是字符串的别名替换,不同于 webpack, vitealias 功能。

envDir

  • 类型: string
  • 默认: root

用于加载 .env 文件的目录。可以是一个绝对路径,也可以是相对于项目根的路径。

关于环境文件的更多信息,请参见 这里

',19),t=[d];function r(i,l,n,p,b,h){return o(),a("div",null,t)}const _=e(s,[["render",r]]);export{g as __pageData,_ as default}; +import{_ as e,o,c as a,Q as c}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"共享配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/shared-options.md","filePath":"config/shared-options.md","lastUpdated":1698550829000}'),s={name:"config/shared-options.md"},d=c('

共享配置

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

glob base (有时称为 glob parent)是 glob 字符串中任何特殊字符之前的路径段。因此,/src/js/**.js 的 blob base 是 /src/js/。所有匹配 glob 的路径都保证共享 glob base,该路径段不能是可变的。

src() 生成的 Vinyl 实例是用 glob base 集作为它们的 base 属性构造的。当使用 dest() 写入文件系统时,将从输出路径中删除 base ,以保留目录结构。

有关更深入的信息,请参阅 glob-parent 库。

publicDir

  • 类型: string | false
  • 默认: "public"

作为静态资源服务的文件夹。该目录中的文件在开发期间在 / 处提供,并在构建期间复制到 outDir 的根目录,并且始终按原样提供或复制而无需进行转换。该值可以是文件系统的绝对路径,也可以是相对于项目根目录的相对路径。

publicDir 设定为 false 可以关闭此项功能。

alias

  • 类型: { [key string]: string }

全局字符串别名,在处理html, javascript, css 文件时, 每一项将会被静态替换。

友情提醒

这里的 alias 仅仅是字符串的别名替换,不同于 webpack, vitealias 功能。

envDir

  • 类型: string
  • 默认: root

用于加载 .env 文件的目录。可以是一个绝对路径,也可以是相对于项目根的路径。

关于环境文件的更多信息,请参见 这里

',19),t=[d];function r(i,l,n,p,b,h){return o(),a("div",null,t)}const _=e(s,[["render",r]]);export{g as __pageData,_ as default}; diff --git a/assets/config_shared-options.md.4215ea58.lean.js b/assets/config_shared-options.md.5441c144.lean.js similarity index 56% rename from assets/config_shared-options.md.4215ea58.lean.js rename to assets/config_shared-options.md.5441c144.lean.js index 50737cd..ea27938 100644 --- a/assets/config_shared-options.md.4215ea58.lean.js +++ b/assets/config_shared-options.md.5441c144.lean.js @@ -1 +1 @@ -import{_ as e,o,c as a,Q as c}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"共享配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/shared-options.md","filePath":"config/shared-options.md","lastUpdated":1697424975000}'),s={name:"config/shared-options.md"},d=c("",19),t=[d];function r(i,l,n,p,b,h){return o(),a("div",null,t)}const _=e(s,[["render",r]]);export{g as __pageData,_ as default}; +import{_ as e,o,c as a,Q as c}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"共享配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/shared-options.md","filePath":"config/shared-options.md","lastUpdated":1698550829000}'),s={name:"config/shared-options.md"},d=c("",19),t=[d];function r(i,l,n,p,b,h){return o(),a("div",null,t)}const _=e(s,[["render",r]]);export{g as __pageData,_ as default}; diff --git a/assets/config_task-options.md.324d3e7b.js b/assets/config_task-options.md.c567d294.js similarity index 97% rename from assets/config_task-options.md.324d3e7b.js rename to assets/config_task-options.md.c567d294.js index 0109586..f6e6a3e 100644 --- a/assets/config_task-options.md.324d3e7b.js +++ b/assets/config_task-options.md.c567d294.js @@ -1 +1 @@ -import{_ as e,o,c as a,Q as i}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"任务配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/task-options.md","filePath":"config/task-options.md","lastUpdated":1697424975000}'),t={name:"config/task-options.md"},l=i('

任务配置

每个任务的单独配置项,设置后会覆盖全局配置。

name

  • 类型: string
  • 默认: [type]:[index]

任务名称, 默认为 任务类型 + 任务索引

type

  • 类型: string

任务类型。

内置任务类型: 'html' | 'style' | 'script' | 'static' | 'image' | 'server' | 'remove' | 'copy' | 'archive' | 'user'

input

  • 类型: string | string[] | object

指定任务入口文件。

dest

  • 类型: string
  • 默认: dist

指定任务输出路径。

继承 build.outDir 配置,请参见 这里

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

继承 全局 base 配置,请参见 这里

compiler

  • 类型: string

文件转译工具。仅对任务类型为 html, style, script 有效。

  • type'html'时, compiler 为 HTML模板引擎;(请参见 这里)
  • type'style'时, compiler 为 CSS预处理器。(请参见 这里)
  • type'script'时, compilerbabel

compilerOptions

  • 类型: object

转译配置项。

  • HTML模板引擎 配置项,请参见 这里
  • CSS预处理器 配置项,请参见 这里

minify

  • 类型: boolean | MinifyOptions
  • 默认: false

文件最小化混淆或压缩。

继承 build.minify 配置 或 对应的混淆/压缩配置项,请参见 这里

plugins

  • 类型: function[]

自定义任务处理流程。 请参见 这里

fileHash

  • 类型: boolean | '-' | '?'
  • 默认: false

文件哈希和版本控制

sourcemap

  • 类型: boolean
  • 默认: false

是否生成 source map 文件。

继承 build.sourcemap 配置,请参见 这里

alias

  • 类型: { [key: string]: string }

别名替换,会合并全局 alias 配置。

继承 全局 alias 配置,请参见 这里

watch

  • 类型: boolean
  • 默认: false

serve 阶段是否监视文件变动并重新编译、刷新页面。

filename

  • 类型: string
  • 默认: archive

生成的文件名。目前仅对 archive 任务类型有效。

温馨提示

如果需要创建压缩包,可以使用 pipflow pack 命令快速生成压缩包。 请参见 [这里]。

',53),c=[l];function s(r,d,n,p,h,u){return o(),a("div",null,c)}const b=e(t,[["render",s]]);export{g as __pageData,b as default}; +import{_ as e,o,c as a,Q as i}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"任务配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/task-options.md","filePath":"config/task-options.md","lastUpdated":1698550829000}'),t={name:"config/task-options.md"},l=i('

任务配置

每个任务的单独配置项,设置后会覆盖全局配置。

name

  • 类型: string
  • 默认: [type]:[index]

任务名称, 默认为 任务类型 + 任务索引

type

  • 类型: string

任务类型。

内置任务类型: 'html' | 'style' | 'script' | 'static' | 'image' | 'server' | 'remove' | 'copy' | 'archive' | 'user'

input

  • 类型: string | string[] | object

指定任务入口文件。

dest

  • 类型: string
  • 默认: dist

指定任务输出路径。

继承 build.outDir 配置,请参见 这里

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

继承 全局 base 配置,请参见 这里

compiler

  • 类型: string

文件转译工具。仅对任务类型为 html, style, script 有效。

  • type'html'时, compiler 为 HTML模板引擎;(请参见 这里)
  • type'style'时, compiler 为 CSS预处理器。(请参见 这里)
  • type'script'时, compilerbabel

compilerOptions

  • 类型: object

转译配置项。

  • HTML模板引擎 配置项,请参见 这里
  • CSS预处理器 配置项,请参见 这里

minify

  • 类型: boolean | MinifyOptions
  • 默认: false

文件最小化混淆或压缩。

继承 build.minify 配置 或 对应的混淆/压缩配置项,请参见 这里

plugins

  • 类型: function[]

自定义任务处理流程。 请参见 这里

fileHash

  • 类型: boolean | '-' | '?'
  • 默认: false

文件哈希和版本控制

sourcemap

  • 类型: boolean
  • 默认: false

是否生成 source map 文件。

继承 build.sourcemap 配置,请参见 这里

alias

  • 类型: { [key: string]: string }

别名替换,会合并全局 alias 配置。

继承 全局 alias 配置,请参见 这里

watch

  • 类型: boolean
  • 默认: false

serve 阶段是否监视文件变动并重新编译、刷新页面。

filename

  • 类型: string
  • 默认: archive

生成的文件名。目前仅对 archive 任务类型有效。

温馨提示

如果需要创建压缩包,可以使用 pipflow pack 命令快速生成压缩包。 请参见 [这里]。

',53),c=[l];function s(r,d,n,p,h,u){return o(),a("div",null,c)}const b=e(t,[["render",s]]);export{g as __pageData,b as default}; diff --git a/assets/config_task-options.md.324d3e7b.lean.js b/assets/config_task-options.md.c567d294.lean.js similarity index 55% rename from assets/config_task-options.md.324d3e7b.lean.js rename to assets/config_task-options.md.c567d294.lean.js index 3086205..e8b7901 100644 --- a/assets/config_task-options.md.324d3e7b.lean.js +++ b/assets/config_task-options.md.c567d294.lean.js @@ -1 +1 @@ -import{_ as e,o,c as a,Q as i}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"任务配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/task-options.md","filePath":"config/task-options.md","lastUpdated":1697424975000}'),t={name:"config/task-options.md"},l=i("",53),c=[l];function s(r,d,n,p,h,u){return o(),a("div",null,c)}const b=e(t,[["render",s]]);export{g as __pageData,b as default}; +import{_ as e,o,c as a,Q as i}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"任务配置","description":"","frontmatter":{},"headers":[],"relativePath":"config/task-options.md","filePath":"config/task-options.md","lastUpdated":1698550829000}'),t={name:"config/task-options.md"},l=i("",53),c=[l];function s(r,d,n,p,h,u){return o(),a("div",null,c)}const b=e(t,[["render",s]]);export{g as __pageData,b as default}; diff --git a/assets/guide_assets.md.7311d559.js b/assets/guide_assets.md.b79c2dfe.js similarity index 97% rename from assets/guide_assets.md.7311d559.js rename to assets/guide_assets.md.b79c2dfe.js index 400089c..fd4220c 100644 --- a/assets/guide_assets.md.7311d559.js +++ b/assets/guide_assets.md.b79c2dfe.js @@ -1,4 +1,4 @@ -import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"静态资源处理","description":"","frontmatter":{},"headers":[],"relativePath":"guide/assets.md","filePath":"guide/assets.md","lastUpdated":1697424975000}'),o={name:"guide/assets.md"},p=l(`

静态资源处理

资源文件URL

在页面中引入资源文件,建议用绝对路径(以 / 开头)引入。

你可以在 pipflow.config.js 配置文件中设置路径别名,在页面内通过别名+路径引入文件,编译阶段会被统一静态替换。

json
// pipflow.config.json
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"静态资源处理","description":"","frontmatter":{},"headers":[],"relativePath":"guide/assets.md","filePath":"guide/assets.md","lastUpdated":1698550829000}'),o={name:"guide/assets.md"},p=l(`

静态资源处理

资源文件URL

在页面中引入资源文件,建议用绝对路径(以 / 开头)引入。

你可以在 pipflow.config.js 配置文件中设置路径别名,在页面内通过别名+路径引入文件,编译阶段会被统一静态替换。

json
// pipflow.config.json
 {
   "alias": {
     "@img": "/assets/images",
diff --git a/assets/guide_assets.md.7311d559.lean.js b/assets/guide_assets.md.b79c2dfe.lean.js
similarity index 54%
rename from assets/guide_assets.md.7311d559.lean.js
rename to assets/guide_assets.md.b79c2dfe.lean.js
index b2326e7..e58e799 100644
--- a/assets/guide_assets.md.7311d559.lean.js
+++ b/assets/guide_assets.md.b79c2dfe.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"静态资源处理","description":"","frontmatter":{},"headers":[],"relativePath":"guide/assets.md","filePath":"guide/assets.md","lastUpdated":1697424975000}'),o={name:"guide/assets.md"},p=l("",16),e=[p];function t(c,i,r,d,u,E){return a(),n("div",null,e)}const h=s(o,[["render",t]]);export{g as __pageData,h as default};
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"静态资源处理","description":"","frontmatter":{},"headers":[],"relativePath":"guide/assets.md","filePath":"guide/assets.md","lastUpdated":1698550829000}'),o={name:"guide/assets.md"},p=l("",16),e=[p];function t(c,i,r,d,u,E){return a(),n("div",null,e)}const h=s(o,[["render",t]]);export{g as __pageData,h as default};
diff --git a/assets/guide_build.md.cd87829e.js b/assets/guide_build.md.40b7054e.js
similarity index 98%
rename from assets/guide_build.md.cd87829e.js
rename to assets/guide_build.md.40b7054e.js
index 714e1af..69a0b71 100644
--- a/assets/guide_build.md.cd87829e.js
+++ b/assets/guide_build.md.40b7054e.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as l,Q as o}from"./chunks/framework.38a791dd.js";const b=JSON.parse('{"title":"构建生产版本","description":"","frontmatter":{},"headers":[],"relativePath":"guide/build.md","filePath":"guide/build.md","lastUpdated":1697424975000}'),e={name:"guide/build.md"},p=o(`

构建生产版本

当需要将应用部署到生产环境时,只需运行 pipflow build 命令。默认情况下,它使用 <root>/index.html 作为其入口,并生成能够静态部署的应用程序包。

浏览器兼容性

browserslist

通过 pipflow create 创建的项目,在项目根目录下有一个单独的 .browserslistrc 文件,用于指定项目支持的浏览器范围。你也可以在 package.json 文件里配置 browserslist 字段。

这个值会被 @babel/preset-envpostcss-preset-env 用来确定需要转译的 JavaScript 特性和需要添加的 CSS 浏览器前缀。

现在查阅 这里 了解如何指定浏览器范围。

Polyfill

一个基于 pipflow CLI 创建的项目,它通过 @babel/preset-envbrowserslist 配置来决定项目需要的 polyfill。

默认情况下,babel.config.js 预设 useBuiltIns: "usage",这样它会根据源代码中出现的语言特性自动检测需要的 polyfill。这确保了最终包里 polyfill 数量的最小化。然而,这也意味着如果其中一个依赖需要特殊的 polyfill,默认情况下 Babel 无法将其检测出来。

你可以通过修改项目中的 babel.config.js 配置来自行调整 polyfill。

温馨提示

我们推荐以这种方式添加 polyfill 而不是在源代码中直接导入它们,因为如果这里列出的 polyfill 在 browserslist 的目标中不需要,则它会被自动排除。

自定义构建

构建生产环境应用程序包默认是通过 pipflow build 命令来完成的。如果在未修改配置文件 pipflow.config.jstasks 选项时,其构建过程任务如下:

└─┬ build
+import{_ as s,o as a,c as l,Q as o}from"./chunks/framework.e1e0b12f.js";const b=JSON.parse('{"title":"构建生产版本","description":"","frontmatter":{},"headers":[],"relativePath":"guide/build.md","filePath":"guide/build.md","lastUpdated":1698550829000}'),e={name:"guide/build.md"},p=o(`

构建生产版本

当需要将应用部署到生产环境时,只需运行 pipflow build 命令。默认情况下,它使用 <root>/index.html 作为其入口,并生成能够静态部署的应用程序包。

浏览器兼容性

browserslist

通过 pipflow create 创建的项目,在项目根目录下有一个单独的 .browserslistrc 文件,用于指定项目支持的浏览器范围。你也可以在 package.json 文件里配置 browserslist 字段。

这个值会被 @babel/preset-envpostcss-preset-env 用来确定需要转译的 JavaScript 特性和需要添加的 CSS 浏览器前缀。

现在查阅 这里 了解如何指定浏览器范围。

Polyfill

一个基于 pipflow CLI 创建的项目,它通过 @babel/preset-envbrowserslist 配置来决定项目需要的 polyfill。

默认情况下,babel.config.js 预设 useBuiltIns: "usage",这样它会根据源代码中出现的语言特性自动检测需要的 polyfill。这确保了最终包里 polyfill 数量的最小化。然而,这也意味着如果其中一个依赖需要特殊的 polyfill,默认情况下 Babel 无法将其检测出来。

你可以通过修改项目中的 babel.config.js 配置来自行调整 polyfill。

温馨提示

我们推荐以这种方式添加 polyfill 而不是在源代码中直接导入它们,因为如果这里列出的 polyfill 在 browserslist 的目标中不需要,则它会被自动排除。

自定义构建

构建生产环境应用程序包默认是通过 pipflow build 命令来完成的。如果在未修改配置文件 pipflow.config.jstasks 选项时,其构建过程任务如下:

└─┬ build
   └─┬ <series>
     ├── del:dest
     ├─┬ <parallel>
diff --git a/assets/guide_build.md.cd87829e.lean.js b/assets/guide_build.md.40b7054e.lean.js
similarity index 54%
rename from assets/guide_build.md.cd87829e.lean.js
rename to assets/guide_build.md.40b7054e.lean.js
index ec19b31..e2d6fe0 100644
--- a/assets/guide_build.md.cd87829e.lean.js
+++ b/assets/guide_build.md.40b7054e.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as l,Q as o}from"./chunks/framework.38a791dd.js";const b=JSON.parse('{"title":"构建生产版本","description":"","frontmatter":{},"headers":[],"relativePath":"guide/build.md","filePath":"guide/build.md","lastUpdated":1697424975000}'),e={name:"guide/build.md"},p=o("",23),n=[p];function t(c,i,r,d,u,y){return a(),l("div",null,n)}const h=s(e,[["render",t]]);export{b as __pageData,h as default};
+import{_ as s,o as a,c as l,Q as o}from"./chunks/framework.e1e0b12f.js";const b=JSON.parse('{"title":"构建生产版本","description":"","frontmatter":{},"headers":[],"relativePath":"guide/build.md","filePath":"guide/build.md","lastUpdated":1698550829000}'),e={name:"guide/build.md"},p=o("",23),n=[p];function t(c,i,r,d,u,y){return a(),l("div",null,n)}const h=s(e,[["render",t]]);export{b as __pageData,h as default};
diff --git a/assets/guide_cli.md.ae96431e.js b/assets/guide_cli.md.ba2cf263.js
similarity index 99%
rename from assets/guide_cli.md.ae96431e.js
rename to assets/guide_cli.md.ba2cf263.js
index bf6fe87..a630f7d 100644
--- a/assets/guide_cli.md.ae96431e.js
+++ b/assets/guide_cli.md.ba2cf263.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const C=JSON.parse('{"title":"命令行界面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md","lastUpdated":1697424975000}'),p={name:"guide/cli.md"},o=l(`

命令行界面

CLI (@pipflow/cli) 是一个全局安装的 npm 包,提供了终端里的 pipflow 命令。你可以通过 pipflow create 快速搭建一个新项目,然后运行 pipflow dev 进行便捷开发。下面我们来深入介绍每个命令的使用。

温馨提示

你也可以在终端里使用 pw 命令。它是 pipflow 命令的缩写,由 pipflow 的首尾字母组合而成。

创建项目

pipflow create

创建一个新项目。

使用

运行以下命令来创建一个新项目:

bash
pipflow create hello-world
pipflow create hello-world

你会被提示选取需要的特性。

bash
pipflow CLI v0.4.0
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const C=JSON.parse('{"title":"命令行界面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md","lastUpdated":1698550829000}'),p={name:"guide/cli.md"},o=l(`

命令行界面

CLI (@pipflow/cli) 是一个全局安装的 npm 包,提供了终端里的 pipflow 命令。你可以通过 pipflow create 快速搭建一个新项目,然后运行 pipflow dev 进行便捷开发。下面我们来深入介绍每个命令的使用。

温馨提示

你也可以在终端里使用 pw 命令。它是 pipflow 命令的缩写,由 pipflow 的首尾字母组合而成。

创建项目

pipflow create

创建一个新项目。

使用

运行以下命令来创建一个新项目:

bash
pipflow create hello-world
pipflow create hello-world

你会被提示选取需要的特性。

bash
pipflow CLI v0.4.0
 ? Check the features needed for your project: (Press <space> to select, <a> to toggle
 all, <i> to invert selection, and <enter> to proceed)
 ❯◯ Babel
diff --git a/assets/guide_cli.md.ae96431e.lean.js b/assets/guide_cli.md.ba2cf263.lean.js
similarity index 53%
rename from assets/guide_cli.md.ae96431e.lean.js
rename to assets/guide_cli.md.ba2cf263.lean.js
index a0a7a77..198f9db 100644
--- a/assets/guide_cli.md.ae96431e.lean.js
+++ b/assets/guide_cli.md.ba2cf263.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const C=JSON.parse('{"title":"命令行界面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md","lastUpdated":1697424975000}'),p={name:"guide/cli.md"},o=l("",52),e=[o];function t(c,r,E,y,F,i){return a(),n("div",null,e)}const h=s(p,[["render",t]]);export{C as __pageData,h as default};
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const C=JSON.parse('{"title":"命令行界面","description":"","frontmatter":{},"headers":[],"relativePath":"guide/cli.md","filePath":"guide/cli.md","lastUpdated":1698550829000}'),p={name:"guide/cli.md"},o=l("",52),e=[o];function t(c,r,E,y,F,i){return a(),n("div",null,e)}const h=s(p,[["render",t]]);export{C as __pageData,h as default};
diff --git a/assets/guide_env-and-mode.md.96d5abee.js b/assets/guide_env-and-mode.md.96d5abee.js
new file mode 100644
index 0000000..b951ca4
--- /dev/null
+++ b/assets/guide_env-and-mode.md.96d5abee.js
@@ -0,0 +1,27 @@
+import{_ as s,o as e,c as a,Q as o}from"./chunks/framework.e1e0b12f.js";const y=JSON.parse('{"title":"模式与环境变量","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env-and-mode.md","filePath":"guide/env-and-mode.md","lastUpdated":1698550829000}'),n={name:"guide/env-and-mode.md"},p=o(`

模式与环境变量

模式

默认情况下,开发服务器 (dev 命令) 运行在 development (开发) 模式,而 build 命令则运行在 production (生产) 模式。

这意味着当执行 pipflow build 时,它会自动加载 .env.production 中可能存在的环境变量:

# .env.production
+APP_TITLE=App Title
# .env.production
+APP_TITLE=App Title

在你的应用中,你可以使用 process.env.APP_TITLE 渲染标题。

在某些情况下,若想在 pipflow build 时运行不同的模式来渲染不同的标题,你可以通过传递 --mode 选项标志来覆盖命令使用的默认模式。例如,如果你想在 staging (预发布)模式下构建应用:

bash
pipflow build --mode staging
pipflow build --mode staging

还需要新建一个 .env.staging 文件:

# .env.staging
+APP_TITLE=App Title (staging)
# .env.staging
+APP_TITLE=App Title (staging)

由于 pipflow build 默认运行生产模式构建,你也可以通过使用不同的模式和对应的 .env 文件配置来改变它,用以运行开发模式的构建:

# .env.testing
+NODE_ENV=development
# .env.testing
+NODE_ENV=development

TIP

当运行 pipflow 命令时,所有的环境变量都从对应的环境文件中载入。如果文件内部不包含 NODE_ENV 变量,它的值将取决于模式,例如,在 production 模式下被设置为 "production",在 dev 模式下被设置为 "development"

NODE_ENV 将决定您的应用运行的模式,是开发,还是生产。例如,如果你在执行 pipflow build 时将环境变量设定为 NODE_ENV=development ,那么构建的应用程序包的资源文件将不会进行 hash,也不会混淆压缩。

所以当你运行 pipflow build 命令时,无论你要部署到哪个环境,应该始终把 NODE_ENV 设置为 "production" 来获取可用于部署的应用程序。

NODE_ENV

如果在环境中有默认的 NODE_ENV,你应该移除它或在运行 pipflow 命令的时候明确地设置 NODE_ENV

环境变量

在项目中,你可以通过 process.env 对象来获取环境变量, 如 process.env.APP_TITLE。比如在JS文件中,你可以这样写:

js
if (process.env.NODE_ENV === 'production') {
+  // 生产环境
+} else {
+  // 开发环境
+}
if (process.env.NODE_ENV === 'production') {
+  // 生产环境
+} else {
+  // 开发环境
+}

下面是一些内建变量,在所有情况下都可以使用:

  • process.env.MODE: {string} 应用运行的模式。
  • process.env.PROD: {boolean} 应用是否运行在生产环境。
  • process.env.DEV: {boolean} 应用是否运行在开发环境 (永远与 process.env.PROD 相反)。

.env文件

pipflow 会从你的 环境目录 中的下列文件加载额外的环境变量:

.env                # 所有情况下都会加载
+.env.local          # 所有情况下都会加载,但会被 git 忽略
+.env.[mode]         # 只在指定模式下加载
+.env.[mode].local   # 只在指定模式下加载,但会被 git 忽略
.env                # 所有情况下都会加载
+.env.local          # 所有情况下都会加载,但会被 git 忽略
+.env.[mode]         # 只在指定模式下加载
+.env.[mode].local   # 只在指定模式下加载,但会被 git 忽略

一个环境文件只包含环境变量的“键=值”对:

APP_TITLE=App Title
+API_BASE_URL=http://test.api.com
+
+NODE_ENV=development
APP_TITLE=App Title
+API_BASE_URL=http://test.api.com
+
+NODE_ENV=development

环境文件加载优先级

一份用于指定模式的环境文件 (例如 .env.production) 将会比一般的环境文件 (例如 .env) 拥有更高的优先级。

此外,pipflow 启动时已经存在的环境变量拥有最高优先级,并不会被 .env 文件覆写。

.env 环境文件是在 pipflow 启动一开始时被加载,因此环境文件发生变化,你需要重启服务。

想要了解解析环境文件规则的细节,请参考 dotenv

安全注意事项

  • .env.*.local 文件应是本地的,可以包含敏感变量。你应该将 *.local 添加到你的 .gitignore 中,以避免它们被 git 检入。
  • 由于任何暴露给 pipflow 源码的变量最终都将出现在客户端包中,因此环境变量应该不包含任何敏感信息。
`,27),l=[p];function c(t,d,i,r,v,E){return e(),a("div",null,l)}const h=s(n,[["render",c]]);export{y as __pageData,h as default}; diff --git a/assets/guide_env-and-mode.md.96d5abee.lean.js b/assets/guide_env-and-mode.md.96d5abee.lean.js new file mode 100644 index 0000000..1d951c4 --- /dev/null +++ b/assets/guide_env-and-mode.md.96d5abee.lean.js @@ -0,0 +1 @@ +import{_ as s,o as e,c as a,Q as o}from"./chunks/framework.e1e0b12f.js";const y=JSON.parse('{"title":"模式与环境变量","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env-and-mode.md","filePath":"guide/env-and-mode.md","lastUpdated":1698550829000}'),n={name:"guide/env-and-mode.md"},p=o("",27),l=[p];function c(t,d,i,r,v,E){return e(),a("div",null,l)}const h=s(n,[["render",c]]);export{y as __pageData,h as default}; diff --git a/assets/guide_env-and-mode.md.9760ec67.js b/assets/guide_env-and-mode.md.9760ec67.js deleted file mode 100644 index a18be99..0000000 --- a/assets/guide_env-and-mode.md.9760ec67.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.38a791dd.js";const f=JSON.parse('{"title":"环境变量和模式","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env-and-mode.md","filePath":"guide/env-and-mode.md","lastUpdated":1697424975000}'),n={name:"guide/env-and-mode.md"},d=o('

环境变量和模式

环境变量

.env文件

模式

',4),r=[d];function i(s,c,_,h,l,m){return a(),t("div",null,r)}const p=e(n,[["render",i]]);export{f as __pageData,p as default}; diff --git a/assets/guide_env-and-mode.md.9760ec67.lean.js b/assets/guide_env-and-mode.md.9760ec67.lean.js deleted file mode 100644 index f470545..0000000 --- a/assets/guide_env-and-mode.md.9760ec67.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.38a791dd.js";const f=JSON.parse('{"title":"环境变量和模式","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env-and-mode.md","filePath":"guide/env-and-mode.md","lastUpdated":1697424975000}'),n={name:"guide/env-and-mode.md"},d=o("",4),r=[d];function i(s,c,_,h,l,m){return a(),t("div",null,r)}const p=e(n,[["render",i]]);export{f as __pageData,p as default}; diff --git a/assets/guide_help.md.b055bf74.js b/assets/guide_help.md.eb140209.js similarity index 86% rename from assets/guide_help.md.b055bf74.js rename to assets/guide_help.md.eb140209.js index 038db25..be939ac 100644 --- a/assets/guide_help.md.b055bf74.js +++ b/assets/guide_help.md.eb140209.js @@ -1 +1 @@ -import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/help.md","filePath":"guide/help.md","lastUpdated":1697424975000}'),i={name:"guide/help.md"},l=o('

常见问题

安装依赖时间过长

  1. 设置 .mpmrc

  2. 使用 cnpm

我把部分依赖包抽离到外部,如果项目中不使用的话,可以直接删除。

  1. 图片压缩 删除package.json中的 gulp-imagemin 依赖 设置 imageMinify 为 false

安装依赖失败

经常碰到安装依赖失败,多数是因为网络原因:很多包将源码托管在 s3 服务器上,国内可能会被墙。

',7),r=[l];function c(d,n,s,p,_,h){return a(),t("div",null,r)}const f=e(i,[["render",c]]);export{u as __pageData,f as default}; +import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/help.md","filePath":"guide/help.md","lastUpdated":1698550829000}'),i={name:"guide/help.md"},l=o('

常见问题

安装依赖时间过长

  1. 设置 .mpmrc

  2. 使用 cnpm

我把部分依赖包抽离到外部,如果项目中不使用的话,可以直接删除。

  1. 图片压缩 删除package.json中的 gulp-imagemin 依赖 设置 imageMinify 为 false

安装依赖失败

经常碰到安装依赖失败,多数是因为网络原因:很多包将源码托管在 s3 服务器上,国内可能会被墙。

',7),r=[l];function c(d,n,s,p,_,h){return a(),t("div",null,r)}const f=e(i,[["render",c]]);export{u as __pageData,f as default}; diff --git a/assets/guide_help.md.b055bf74.lean.js b/assets/guide_help.md.eb140209.lean.js similarity index 53% rename from assets/guide_help.md.b055bf74.lean.js rename to assets/guide_help.md.eb140209.lean.js index 00459ce..d39322b 100644 --- a/assets/guide_help.md.b055bf74.lean.js +++ b/assets/guide_help.md.eb140209.lean.js @@ -1 +1 @@ -import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/help.md","filePath":"guide/help.md","lastUpdated":1697424975000}'),i={name:"guide/help.md"},l=o("",7),r=[l];function c(d,n,s,p,_,h){return a(),t("div",null,r)}const f=e(i,[["render",c]]);export{u as __pageData,f as default}; +import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/help.md","filePath":"guide/help.md","lastUpdated":1698550829000}'),i={name:"guide/help.md"},l=o("",7),r=[l];function c(d,n,s,p,_,h){return a(),t("div",null,r)}const f=e(i,[["render",c]]);export{u as __pageData,f as default}; diff --git a/assets/guide_index.md.0fc3b888.lean.js b/assets/guide_index.md.0fc3b888.lean.js deleted file mode 100644 index 134fbcf..0000000 --- a/assets/guide_index.md.0fc3b888.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,o as a,c as p,Q as o}from"./chunks/framework.38a791dd.js";const h=JSON.parse('{"title":"开始","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md","lastUpdated":1697424975000}'),l={name:"guide/index.md"},n=o("",17),e=[n];function t(c,r,i,d,E,u){return a(),p("div",null,e)}const q=s(l,[["render",t]]);export{h as __pageData,q as default}; diff --git a/assets/guide_index.md.0fc3b888.js b/assets/guide_index.md.fcecd5ed.js similarity index 93% rename from assets/guide_index.md.0fc3b888.js rename to assets/guide_index.md.fcecd5ed.js index 66c9587..6e6a0f8 100644 --- a/assets/guide_index.md.0fc3b888.js +++ b/assets/guide_index.md.fcecd5ed.js @@ -1,4 +1,4 @@ -import{_ as s,o as a,c as p,Q as o}from"./chunks/framework.38a791dd.js";const h=JSON.parse('{"title":"开始","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md","lastUpdated":1697424975000}'),l={name:"guide/index.md"},n=o(`

开始

总览

pipflow (pipe-workflow) 是一个基于gulp的前端开发工作流。它内置了诸如合并、编译、打包、压缩等功能,极大地简化了前端开发流程。它提供了一组开箱即用的gulp任务和功能,开发者无需从零开始配置就可以立即启动前端项目的开发。

pipflow的主要功能包括:

  • HTML模板渲染 - 内置5款流行的模板引擎,开箱即用
  • CSS预处理 - 支持LESS/SASS(SCSS)/Stylus,自动添加浏览器前缀,压缩等
  • JavaScript语法转换、合并、压缩、校验、兼容老版本浏览器
  • 图片优化 - 无损压缩图片,生成雪碧图
  • Sourcemap和文件指纹 - 更容易调试和版本控制
  • 本地开发服务器 - 支持HTTPS和浏览器同步测试
  • 文件监视 - 自动检测文件变动并重新编译、合并、刷新页面
  • 自定义任务 - 可以扩展已有任务,满足各种需求

通过pipflow,开发者可以专注于代码编写,无需浪费时间在重复的工程配置上。它使用简单的命令就可以完成复杂的前端构建工作,并标准化了构建流程,极大地提升了项目之间的一致性和开发效率。

💡 温馨说明

简单易用和预设功能,使其成为基于gulp工作流的理想选择。

搭建 pipflow 项目

兼容性注意

pipflow 需要 Node.js 版本 14.13+,16+。然而,有些模板需要依赖更高的 Node 版本才能正常运行,当你的包管理器发出警告时,请注意升级你的 Node 版本。

运行 create 命令创建新项目:

bash
pipflow create my-project
pipflow create my-project

然后按照提示操作即可! 具体参数说明请参见 这里

命令行界面

如果在本机全局安装了 @pipflow/cli,进入项目根目录后,可以直接运行 pipflow dev 即可启动当前项目。
下面是通过脚手架创建的 pipflow 项目中默认的 npm scripts:

json
{
+import{_ as s,o as a,c as o,Q as p}from"./chunks/framework.e1e0b12f.js";const h=JSON.parse('{"title":"开始","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md","lastUpdated":1698550829000}'),l={name:"guide/index.md"},n=p(`

开始

总览

pipflow (pipe-workflow) 是一个基于gulp的前端开发工作流。它内置了诸如合并、编译、打包、压缩等功能,极大地简化了前端开发流程。它提供了一组开箱即用的gulp任务和功能,开发者无需从零开始配置就可以立即启动前端项目的开发。

pipflow的主要功能包括:

  • HTML模板渲染 - 内置5款流行的模板引擎,开箱即用
  • CSS预处理 - 支持LESS/SASS(SCSS)/Stylus,自动添加浏览器前缀,压缩等
  • JavaScript语法转换、合并、压缩、校验、兼容老版本浏览器
  • 图片优化 - 无损压缩图片,生成雪碧图
  • Sourcemap和文件指纹 - 更容易调试和版本控制
  • 本地开发服务器 - 支持HTTPS和浏览器同步测试
  • 文件监视 - 自动检测文件变动并重新编译、合并、刷新页面
  • 自定义任务 - 可以扩展已有任务,满足各种需求

通过pipflow,开发者可以专注于代码编写,无需浪费时间在重复的工程配置上。它使用简单的命令就可以完成复杂的前端构建工作,并标准化了构建流程,极大地提升了项目之间的一致性和开发效率。

💡 温馨说明

简单易用和预设功能,使其成为基于gulp工作流的理想选择。

搭建 pipflow 项目

兼容性注意

pipflow 需要 Node.js 版本 14.13+,16+。然而,有些模板需要依赖更高的 Node 版本才能正常运行,当你的包管理器发出警告时,请注意升级你的 Node 版本。

运行 create 命令创建新项目:

bash
pipflow create my-project
pipflow create my-project

然后按照提示操作即可! 具体参数说明请参见 这里

命令行界面

如果在本机全局安装了 @pipflow/cli,进入项目根目录后,可以直接运行 pipflow dev 即可启动当前项目。
下面是通过脚手架创建的 pipflow 项目中默认的 npm scripts:

json
{
   "scripts": {
     "dev": "pipflow dev", // 启动开发服务器,\`pipflow dev\`或\`pw dev\`
     "build": "pipflow build", // 为生产环境构建产物
@@ -12,4 +12,4 @@ import{_ as s,o as a,c as p,Q as o}from"./chunks/framework.38a791dd.js";const h=
     "preview": "pipflow task preview", // 本地预览生产构建产物
     "lint": "pipflow task lint", // 代码检查
   }
-}

可以指定额外的命令行选项,如 --port--no-open。 运行 pipflow --help 获得完整的命令行选项列表。

查看 命令行界面 了解更多细节。

`,17),e=[n];function t(c,r,i,d,E,u){return a(),p("div",null,e)}const q=s(l,[["render",t]]);export{h as __pageData,q as default}; +}

可以指定额外的命令行选项,如 --port--no-open。 运行 pipflow --help 获得完整的命令行选项列表。

查看 命令行界面 了解更多细节。

配置

`,18),e=[n];function t(c,r,i,d,E,u){return a(),o("div",null,e)}const q=s(l,[["render",t]]);export{h as __pageData,q as default}; diff --git a/assets/guide_index.md.fcecd5ed.lean.js b/assets/guide_index.md.fcecd5ed.lean.js new file mode 100644 index 0000000..dba0fd3 --- /dev/null +++ b/assets/guide_index.md.fcecd5ed.lean.js @@ -0,0 +1 @@ +import{_ as s,o as a,c as o,Q as p}from"./chunks/framework.e1e0b12f.js";const h=JSON.parse('{"title":"开始","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md","filePath":"guide/index.md","lastUpdated":1698550829000}'),l={name:"guide/index.md"},n=p("",18),e=[n];function t(c,r,i,d,E,u){return a(),o("div",null,e)}const q=s(l,[["render",t]]);export{h as __pageData,q as default}; diff --git a/assets/guide_task-assets.md.1771cdae.lean.js b/assets/guide_task-assets.md.1771cdae.lean.js deleted file mode 100644 index 8563b64..0000000 --- a/assets/guide_task-assets.md.1771cdae.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const m=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-assets.md","filePath":"guide/task-assets.md","lastUpdated":1697424975000}'),p={name:"guide/task-assets.md"},o=l("",12),e=[o];function t(c,r,i,E,y,d){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{m as __pageData,u as default}; diff --git a/assets/guide_task-assets.md.1771cdae.js b/assets/guide_task-assets.md.7c420f8f.js similarity index 96% rename from assets/guide_task-assets.md.1771cdae.js rename to assets/guide_task-assets.md.7c420f8f.js index aa58f89..bfea28b 100644 --- a/assets/guide_task-assets.md.1771cdae.js +++ b/assets/guide_task-assets.md.7c420f8f.js @@ -1,4 +1,4 @@ -import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const m=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-assets.md","filePath":"guide/task-assets.md","lastUpdated":1697424975000}'),p={name:"guide/task-assets.md"},o=l(`

静态资源

静态文件任务

图片任务

图片压缩

由于图片压缩是一个耗时任务,且 gulp-imagemin 插件安装依赖经常失败(国内环境)。鉴于此会影响整个工程的安装运行,所以 pipflow 并未内置图片压缩功能,如果需要则手动安装依赖并引入插件即可。

具体步骤如下:

  1. 安装 gulp-imagemin 依赖
shell
npm install -D gulp-imagemin@7
npm install -D gulp-imagemin@7

注意

gulp-imagemin 只能安装 <=7 的版本,8及以上版本仅支持 esModule 模块化.

  1. pipflow.config.js 中找到当前任务,并加入以下代码
js
const imagemin = require('gulp-imagemin')
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const m=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-assets.md","filePath":"guide/task-assets.md","lastUpdated":1698550829000}'),p={name:"guide/task-assets.md"},o=l(`

静态资源

静态文件任务

图片任务

图片压缩

由于图片压缩是一个耗时任务,且 gulp-imagemin 插件安装依赖经常失败(国内环境)。鉴于此会影响整个工程的安装运行,所以 pipflow 并未内置图片压缩功能,如果需要则手动安装依赖并引入插件即可。

具体步骤如下:

  1. 安装 gulp-imagemin 依赖
shell
npm install -D gulp-imagemin@7
npm install -D gulp-imagemin@7

注意

gulp-imagemin 只能安装 <=7 的版本,8及以上版本仅支持 esModule 模块化.

  1. pipflow.config.js 中找到当前任务,并加入以下代码
js
const imagemin = require('gulp-imagemin')
 
 module.exports = {
   tasks: [
diff --git a/assets/guide_task-assets.md.7c420f8f.lean.js b/assets/guide_task-assets.md.7c420f8f.lean.js
new file mode 100644
index 0000000..7d6f418
--- /dev/null
+++ b/assets/guide_task-assets.md.7c420f8f.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const m=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-assets.md","filePath":"guide/task-assets.md","lastUpdated":1698550829000}'),p={name:"guide/task-assets.md"},o=l("",12),e=[o];function t(c,r,i,E,y,d){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{m as __pageData,u as default};
diff --git a/assets/guide_task-html.md.35a4be42.js b/assets/guide_task-html.md.3fba7211.js
similarity index 98%
rename from assets/guide_task-html.md.35a4be42.js
rename to assets/guide_task-html.md.3fba7211.js
index 0ce9638..ef49dd9 100644
--- a/assets/guide_task-html.md.35a4be42.js
+++ b/assets/guide_task-html.md.3fba7211.js
@@ -1,4 +1,4 @@
-import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"HTML 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-html.md","filePath":"guide/task-html.md","lastUpdated":1697424975000}'),p={name:"guide/task-html.md"},e=l(`

HTML 任务

处理流程

  • 环境变量处理 - 环境变量在构建时会被静态替换
  • 模板渲染 - 渲染HTML模板引擎,支持 Pug, EJS, Handlebars, Nunjucks, art-template
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • 内容压缩 - 基于 html-minifier-terser 的内容压缩
  • 资源文件指纹 - 将构建后通过生成的 manifest.json 中包含 hash 过的资源文件版本的映射,进行引入链接的替换

环境变量处理

html内容中的以 process.env.XXX 写入的环境变量将会被静态替换。

模板渲染

pipflow 内置了5款流行的模板引擎,它们曾经都是主流 🤪。让我们来逐一介绍它们:

  1. Pug:

    • 简介: Pug是一种高度可读性的模板引擎,具有简洁的语法和强大的功能。它采用缩进和标签语法,可以快速生成HTML代码。
    • 文档: Pug文档gulp-pug 插件文档
  2. EJS:

    • 简介: EJS(Embedded JavaScript)是一种简单而灵活的模板引擎,可将JavaScript代码嵌入到模板中。它允许您动态生成HTML页面。
    • 文档: EJS文档gulp-ejs 插件文档
  3. Handlebars:

    • 简介: Handlebars是一种语法简洁的模板引擎,它使用标签和表达式来生成HTML。它具有易学易用的特点,非常适合快速构建静态页面。
    • 文档: Handlebars文档gulp-hb 插件文档
  4. Nunjucks:

    • 简介: Nunjucks是一款功能强大的模板引擎,它支持条件语句、循环和继承等高级功能。它被广泛用于JavaScript开发中的模板渲染。
    • 文档: Nunjucks文档gulp-nunjucks 插件文档
  5. art-template:

    • 简介: art-template是一种快速、简洁而且可扩展的模板引擎。它支持JavaScript语法和自定义扩展,非常适合前端开发和服务器端渲染。
    • 它同时支持两种模板语法。原始语法兼容 EJSUnderscoreLoDash 模板,标准语法类似 Mustache
    • 文档: art-template文档gulp-art-tpl 插件文档
    • 个人推荐: 功能强大,使用简单

这些模板引擎在过去都很流行,每一款都有自己独特的特点和用法。您可以根据自己的需求和偏好选择适合的模板引擎来开发您的项目。

渲染配置项

示例

pipflow内置的模板引擎中,Handlebars 的使用相对复杂一些,那么我们来写一个 Handlebars 代码片段复用的示例。

模板文件:

html
<!-- ./src/index.html -->
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"HTML 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-html.md","filePath":"guide/task-html.md","lastUpdated":1698550829000}'),p={name:"guide/task-html.md"},e=l(`

HTML 任务

处理流程

  • 环境变量处理 - 环境变量在构建时会被静态替换
  • 模板渲染 - 渲染HTML模板引擎,支持 Pug, EJS, Handlebars, Nunjucks, art-template
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • 内容压缩 - 基于 html-minifier-terser 的内容压缩
  • 资源文件指纹 - 将构建后通过生成的 manifest.json 中包含 hash 过的资源文件版本的映射,进行引入链接的替换

环境变量处理

html内容中的以 process.env.XXX 写入的环境变量将会被静态替换。

模板渲染

pipflow 内置了5款流行的模板引擎,它们曾经都是主流 🤪。让我们来逐一介绍它们:

  1. Pug:

    • 简介: Pug是一种高度可读性的模板引擎,具有简洁的语法和强大的功能。它采用缩进和标签语法,可以快速生成HTML代码。
    • 文档: Pug文档gulp-pug 插件文档
  2. EJS:

    • 简介: EJS(Embedded JavaScript)是一种简单而灵活的模板引擎,可将JavaScript代码嵌入到模板中。它允许您动态生成HTML页面。
    • 文档: EJS文档gulp-ejs 插件文档
  3. Handlebars:

    • 简介: Handlebars是一种语法简洁的模板引擎,它使用标签和表达式来生成HTML。它具有易学易用的特点,非常适合快速构建静态页面。
    • 文档: Handlebars文档gulp-hb 插件文档
  4. Nunjucks:

    • 简介: Nunjucks是一款功能强大的模板引擎,它支持条件语句、循环和继承等高级功能。它被广泛用于JavaScript开发中的模板渲染。
    • 文档: Nunjucks文档gulp-nunjucks 插件文档
  5. art-template:

    • 简介: art-template是一种快速、简洁而且可扩展的模板引擎。它支持JavaScript语法和自定义扩展,非常适合前端开发和服务器端渲染。
    • 它同时支持两种模板语法。原始语法兼容 EJSUnderscoreLoDash 模板,标准语法类似 Mustache
    • 文档: art-template文档gulp-art-tpl 插件文档
    • 个人推荐: 功能强大,使用简单

这些模板引擎在过去都很流行,每一款都有自己独特的特点和用法。您可以根据自己的需求和偏好选择适合的模板引擎来开发您的项目。

渲染配置项

示例

pipflow内置的模板引擎中,Handlebars 的使用相对复杂一些,那么我们来写一个 Handlebars 代码片段复用的示例。

模板文件:

html
<!-- ./src/index.html -->
 <html>
   <head>
     <title>pipflow</title>
diff --git a/assets/guide_task-html.md.35a4be42.lean.js b/assets/guide_task-html.md.3fba7211.lean.js
similarity index 54%
rename from assets/guide_task-html.md.35a4be42.lean.js
rename to assets/guide_task-html.md.3fba7211.lean.js
index db59d1b..86816cf 100644
--- a/assets/guide_task-html.md.35a4be42.lean.js
+++ b/assets/guide_task-html.md.3fba7211.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"HTML 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-html.md","filePath":"guide/task-html.md","lastUpdated":1697424975000}'),p={name:"guide/task-html.md"},e=l("",21),o=[e];function t(r,c,i,E,y,d){return a(),n("div",null,o)}const u=s(p,[["render",t]]);export{g as __pageData,u as default};
+import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"HTML 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-html.md","filePath":"guide/task-html.md","lastUpdated":1698550829000}'),p={name:"guide/task-html.md"},e=l("",21),o=[e];function t(r,c,i,E,y,d){return a(),n("div",null,o)}const u=s(p,[["render",t]]);export{g as __pageData,u as default};
diff --git a/assets/guide_task-more.md.d77d71b4.js b/assets/guide_task-more.md.c1da7fa9.js
similarity index 95%
rename from assets/guide_task-more.md.d77d71b4.js
rename to assets/guide_task-more.md.c1da7fa9.js
index 04df776..8210625 100644
--- a/assets/guide_task-more.md.d77d71b4.js
+++ b/assets/guide_task-more.md.c1da7fa9.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.38a791dd.js";const F=JSON.parse('{"title":"其他任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-more.md","filePath":"guide/task-more.md","lastUpdated":1697424975000}'),o={name:"guide/task-more.md"},l=p('

其他任务

ZIP压缩任务 (archive)

bash
pipflow pack [options]\n\n# example\npipflow pack dist/ dist.zip\n# 将 `dist/` 目录打包, 压缩包 `dist.zip`在项目的根目录\n\npipflow pack public/favicon.ico src/ dist/source.zip\n# 将 `ico`文件 和 `src/` 目录打包, 压缩包 `source.zip`在dist目录中
pipflow pack [options]\n\n# example\npipflow pack dist/ dist.zip\n# 将 `dist/` 目录打包, 压缩包 `dist.zip`在项目的根目录\n\npipflow pack public/favicon.ico src/ dist/source.zip\n# 将 `ico`文件 和 `src/` 目录打包, 压缩包 `source.zip`在dist目录中

options

最后一项是打包输出的路径,其他项目是打包的目标路径。

',5),e=[l];function t(c,i,r,d,y,E){return a(),n("div",null,e)}const _=s(o,[["render",t]]);export{F as __pageData,_ as default}; +import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.e1e0b12f.js";const F=JSON.parse('{"title":"其他任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-more.md","filePath":"guide/task-more.md","lastUpdated":1698550829000}'),o={name:"guide/task-more.md"},l=p('

其他任务

ZIP压缩任务 (archive)

bash
pipflow pack [options]\n\n# example\npipflow pack dist/ dist.zip\n# 将 `dist/` 目录打包, 压缩包 `dist.zip`在项目的根目录\n\npipflow pack public/favicon.ico src/ dist/source.zip\n# 将 `ico`文件 和 `src/` 目录打包, 压缩包 `source.zip`在dist目录中
pipflow pack [options]\n\n# example\npipflow pack dist/ dist.zip\n# 将 `dist/` 目录打包, 压缩包 `dist.zip`在项目的根目录\n\npipflow pack public/favicon.ico src/ dist/source.zip\n# 将 `ico`文件 和 `src/` 目录打包, 压缩包 `source.zip`在dist目录中

options

最后一项是打包输出的路径,其他项目是打包的目标路径。

',5),e=[l];function t(c,i,r,d,y,E){return a(),n("div",null,e)}const _=s(o,[["render",t]]);export{F as __pageData,_ as default}; diff --git a/assets/guide_task-more.md.d77d71b4.lean.js b/assets/guide_task-more.md.c1da7fa9.lean.js similarity index 54% rename from assets/guide_task-more.md.d77d71b4.lean.js rename to assets/guide_task-more.md.c1da7fa9.lean.js index e82aeb7..9b6df67 100644 --- a/assets/guide_task-more.md.d77d71b4.lean.js +++ b/assets/guide_task-more.md.c1da7fa9.lean.js @@ -1 +1 @@ -import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.38a791dd.js";const F=JSON.parse('{"title":"其他任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-more.md","filePath":"guide/task-more.md","lastUpdated":1697424975000}'),o={name:"guide/task-more.md"},l=p("",5),e=[l];function t(c,i,r,d,y,E){return a(),n("div",null,e)}const _=s(o,[["render",t]]);export{F as __pageData,_ as default}; +import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.e1e0b12f.js";const F=JSON.parse('{"title":"其他任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-more.md","filePath":"guide/task-more.md","lastUpdated":1698550829000}'),o={name:"guide/task-more.md"},l=p("",5),e=[l];function t(c,i,r,d,y,E){return a(),n("div",null,e)}const _=s(o,[["render",t]]);export{F as __pageData,_ as default}; diff --git a/assets/guide_task-script.md.70d16c0a.js b/assets/guide_task-script.md.0125f4b2.js similarity index 97% rename from assets/guide_task-script.md.70d16c0a.js rename to assets/guide_task-script.md.0125f4b2.js index fdf4d53..2d2185b 100644 --- a/assets/guide_task-script.md.70d16c0a.js +++ b/assets/guide_task-script.md.0125f4b2.js @@ -1,4 +1,4 @@ -import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"script 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-script.md","filePath":"guide/task-script.md","lastUpdated":1697424975000}'),l={name:"guide/task-script.md"},e=p(`

script 任务

处理流程

  • 环境变量处理 - 环境变量注入
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • babel转译
  • 压缩混淆 - 基于 terser 压缩混淆
  • 生成 source map 文件
  • 生成文件hash - 支持 [name]-[hash][name]?[hash] 两种方式。

文件入口

文件入口配置支持 单一字符串,数组,和对象 3 种方式。

1. 字符串通配符

js
{
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"script 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-script.md","filePath":"guide/task-script.md","lastUpdated":1698550829000}'),l={name:"guide/task-script.md"},e=p(`

script 任务

处理流程

  • 环境变量处理 - 环境变量注入
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • babel转译
  • 压缩混淆 - 基于 terser 压缩混淆
  • 生成 source map 文件
  • 生成文件hash - 支持 [name]-[hash][name]?[hash] 两种方式。

文件入口

文件入口配置支持 单一字符串,数组,和对象 3 种方式。

1. 字符串通配符

js
{
   input: './src/scripts/**/*.{js,mjs}'
 }
{
   input: './src/scripts/**/*.{js,mjs}'
diff --git a/assets/guide_task-script.md.0125f4b2.lean.js b/assets/guide_task-script.md.0125f4b2.lean.js
new file mode 100644
index 0000000..a7d10d4
--- /dev/null
+++ b/assets/guide_task-script.md.0125f4b2.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"script 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-script.md","filePath":"guide/task-script.md","lastUpdated":1698550829000}'),l={name:"guide/task-script.md"},e=p("",19),o=[e];function c(t,r,i,E,d,y){return a(),n("div",null,o)}const b=s(l,[["render",c]]);export{u as __pageData,b as default};
diff --git a/assets/guide_task-script.md.70d16c0a.lean.js b/assets/guide_task-script.md.70d16c0a.lean.js
deleted file mode 100644
index 800f09e..0000000
--- a/assets/guide_task-script.md.70d16c0a.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,Q as p}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"script 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-script.md","filePath":"guide/task-script.md","lastUpdated":1697424975000}'),l={name:"guide/task-script.md"},e=p("",19),o=[e];function c(t,r,i,E,d,y){return a(),n("div",null,o)}const b=s(l,[["render",c]]);export{u as __pageData,b as default};
diff --git a/assets/guide_task-style.md.7cf8fe3f.lean.js b/assets/guide_task-style.md.7cf8fe3f.lean.js
deleted file mode 100644
index cee52ac..0000000
--- a/assets/guide_task-style.md.7cf8fe3f.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"style 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-style.md","filePath":"guide/task-style.md","lastUpdated":1697424975000}'),s={name:"guide/task-style.md"},r=o("",7),i=[r];function l(c,h,d,n,p,_){return a(),t("div",null,i)}const x=e(s,[["render",l]]);export{u as __pageData,x as default};
diff --git a/assets/guide_task-style.md.7cf8fe3f.js b/assets/guide_task-style.md.9a248d4f.js
similarity index 83%
rename from assets/guide_task-style.md.7cf8fe3f.js
rename to assets/guide_task-style.md.9a248d4f.js
index 86c10bb..8c2355e 100644
--- a/assets/guide_task-style.md.7cf8fe3f.js
+++ b/assets/guide_task-style.md.9a248d4f.js
@@ -1 +1 @@
-import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"style 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-style.md","filePath":"guide/task-style.md","lastUpdated":1697424975000}'),s={name:"guide/task-style.md"},r=o('

style 任务

处理流程

CSS 预处理器

postcss集成

remtopx

pxtorem

pxtoview

',7),i=[r];function l(c,h,d,n,p,_){return a(),t("div",null,i)}const x=e(s,[["render",l]]);export{u as __pageData,x as default}; +import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"style 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-style.md","filePath":"guide/task-style.md","lastUpdated":1698550829000}'),s={name:"guide/task-style.md"},r=o('

style 任务

处理流程

CSS 预处理器

postcss集成

remtopx

pxtorem

pxtoview

',7),i=[r];function l(c,h,d,n,p,_){return a(),t("div",null,i)}const x=e(s,[["render",l]]);export{u as __pageData,x as default}; diff --git a/assets/guide_task-style.md.9a248d4f.lean.js b/assets/guide_task-style.md.9a248d4f.lean.js new file mode 100644 index 0000000..7cdad48 --- /dev/null +++ b/assets/guide_task-style.md.9a248d4f.lean.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as t,Q as o}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"style 任务","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-style.md","filePath":"guide/task-style.md","lastUpdated":1698550829000}'),s={name:"guide/task-style.md"},r=o("",7),i=[r];function l(c,h,d,n,p,_){return a(),t("div",null,i)}const x=e(s,[["render",l]]);export{u as __pageData,x as default}; diff --git a/assets/guide_task-user.md.1a1ae04b.js b/assets/guide_task-user.md.1a1ae04b.js deleted file mode 100644 index 0bf3a69..0000000 --- a/assets/guide_task-user.md.1a1ae04b.js +++ /dev/null @@ -1,27 +0,0 @@ -import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const h=JSON.parse('{"title":"自定义任务和流程","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-user.md","filePath":"guide/task-user.md","lastUpdated":1697424975000}'),p={name:"guide/task-user.md"},o=l(`

自定义任务和流程

扩展任务

示例:

js
const { defineConfig } = require('pipflow')
-const replace = require('gulp-replace')
-
-module.exports = defineConfig({
-  tasks: [
-    {
-      type: 'html',
-      input: './src/**/*.html',
-      plugins: [
-        replace('@styles/', '/static/styles/')
-      ]
-    }
-  ]
-})
const { defineConfig } = require('pipflow')
-const replace = require('gulp-replace')
-
-module.exports = defineConfig({
-  tasks: [
-    {
-      type: 'html',
-      input: './src/**/*.html',
-      plugins: [
-        replace('@styles/', '/static/styles/')
-      ]
-    }
-  ]
-})

创建新任务

组合任务

`,6),e=[o];function t(c,r,E,y,i,d){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{h as __pageData,u as default}; diff --git a/assets/guide_task-user.md.1a1ae04b.lean.js b/assets/guide_task-user.md.1a1ae04b.lean.js deleted file mode 100644 index 2baf766..0000000 --- a/assets/guide_task-user.md.1a1ae04b.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.38a791dd.js";const h=JSON.parse('{"title":"自定义任务和流程","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-user.md","filePath":"guide/task-user.md","lastUpdated":1697424975000}'),p={name:"guide/task-user.md"},o=l("",6),e=[o];function t(c,r,E,y,i,d){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{h as __pageData,u as default}; diff --git a/assets/guide_task-user.md.5d9122db.js b/assets/guide_task-user.md.5d9122db.js new file mode 100644 index 0000000..2f1146d --- /dev/null +++ b/assets/guide_task-user.md.5d9122db.js @@ -0,0 +1,75 @@ +import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const F=JSON.parse('{"title":"自定义任务和流程","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-user.md","filePath":"guide/task-user.md","lastUpdated":1698550829000}'),p={name:"guide/task-user.md"},o=l(`

自定义任务和流程

扩展任务

示例:

js
const { defineConfig } = require('pipflow')
+const replace = require('gulp-replace')
+
+module.exports = defineConfig({
+  tasks: [
+    {
+      type: 'html',
+      input: './src/**/*.html',
+      plugins: [
+        replace('@styles/', '/static/styles/')
+      ]
+    }
+  ]
+})
const { defineConfig } = require('pipflow')
+const replace = require('gulp-replace')
+
+module.exports = defineConfig({
+  tasks: [
+    {
+      type: 'html',
+      input: './src/**/*.html',
+      plugins: [
+        replace('@styles/', '/static/styles/')
+      ]
+    }
+  ]
+})

创建新任务

组合任务

在Gulp中,seriesparallel 是用于定义任务执行顺序的两个方法。

  • series() - 用于按顺序串联执行任务。通过series方法,你可以按照顺序依次执行一系列的任务。当一个任务完成后,才会执行下一个任务。
  • parallel() - 用于并行执行任务。通过parallel方法,你可以同时执行一系列的任务,而不必等待一个任务完成后再执行下一个任务。所有的任务会并行执行。

下面我们将通过 compose 类型的组合任务来创建一个构建 预发布环境 应用程序包的任务。

  1. 先查看项目下的所有任务。通过下面命令可列显所有任务:
bash
pipflow task --list
pipflow task --list
  1. 从列显的任务中选择一些任务组合为一个新的任务。
js
// pipflow.config.js
+
+const { defineConfig } = require('pipflow')
+module.exports = defineConfig({
+  // 其他配置项 ...
+  tasks: [
+    // 其他任务 ...
+    {
+      name: 'build:stag', //任务名
+      type: 'compose', //任务类型
+      input: [ //任务入口
+        'del:dest',
+        ['copy:public', 'build:image'],
+        ['build:css', 'build:js'],
+        ['build:html'],
+      ]
+    }
+  ]
+})
// pipflow.config.js
+
+const { defineConfig } = require('pipflow')
+module.exports = defineConfig({
+  // 其他配置项 ...
+  tasks: [
+    // 其他任务 ...
+    {
+      name: 'build:stag', //任务名
+      type: 'compose', //任务类型
+      input: [ //任务入口
+        'del:dest',
+        ['copy:public', 'build:image'],
+        ['build:css', 'build:js'],
+        ['build:html'],
+      ]
+    }
+  ]
+})

入口说明

compose 任务中,input入口和其他类型任务有些不同,其 input 值是一个二维数组 string[][],数组的每一项是一个任务名。

input 的值转换后的结果:

js
series(parallel('任务名', ...), parallel(...), ...)
series(parallel('任务名', ...), parallel(...), ...)
  • 数组列表表示一个串联任务,其内部是通过 series 方法执行的。
  • 数组的子项表示一个并行任务,其内部是通过 parallel 方法执行的。
  1. 执行新任务,构建用于预发布环境的应用程序包。执行如下命令:
bash
pipflow task build:stag --mode=staging
pipflow task build:stag --mode=staging

为了方便发布,你可以在 package.jsonscripts 字段内添加 build:stag 脚本

json
{
+  "scripts": {
+    "dev": "pipflow dev",
+    "build": "pipflow build",
+    "build:stag": "cross-env NODE_ENV=staging pipflow task build:stag --mode=staging" 
+  }
+}
{
+  "scripts": {
+    "dev": "pipflow dev",
+    "build": "pipflow build",
+    "build:stag": "cross-env NODE_ENV=staging pipflow task build:stag --mode=staging" 
+  }
+}

TIP

如果当前主机的环境变量 NODE 未知或不等于 !== production ,那么请在执行的命令前加上 cross-env NODE_ENV=production (确保构建主机的环境变量 NODE_ENVproduction

`,19),e=[o];function c(t,r,E,y,i,d){return a(),n("div",null,e)}const g=s(p,[["render",c]]);export{F as __pageData,g as default}; diff --git a/assets/guide_task-user.md.5d9122db.lean.js b/assets/guide_task-user.md.5d9122db.lean.js new file mode 100644 index 0000000..1261fd5 --- /dev/null +++ b/assets/guide_task-user.md.5d9122db.lean.js @@ -0,0 +1 @@ +import{_ as s,o as a,c as n,Q as l}from"./chunks/framework.e1e0b12f.js";const F=JSON.parse('{"title":"自定义任务和流程","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task-user.md","filePath":"guide/task-user.md","lastUpdated":1698550829000}'),p={name:"guide/task-user.md"},o=l("",19),e=[o];function c(t,r,E,y,i,d){return a(),n("div",null,e)}const g=s(p,[["render",c]]);export{F as __pageData,g as default}; diff --git a/assets/guide_task.md.32d2fa1f.js b/assets/guide_task.md.32d2fa1f.js deleted file mode 100644 index 7ba37c3..0000000 --- a/assets/guide_task.md.32d2fa1f.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,o,c,Q as i}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"概要","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task.md","filePath":"guide/task.md","lastUpdated":1697424975000}'),t={name:"guide/task.md"},d=i('

概要

pipflow 内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。

主要任务类型包含:

  • html - HTML处理任务
  • script - JavaScript处理任务
  • style - CSS处理任务
  • static - 静态资源处理任务
  • image - 图片资源处理任务 (待开发)
  • server - 创建本地服务器任务
  • copy - 复制文件任务
  • remove - 删除文件任务
  • archive - 打包压缩任务
  • user - 用户自定义任务
  • compose - 组合任务
',4),a=[d];function l(s,r,_,p,n,m){return o(),c("div",null,a)}const f=e(t,[["render",l]]);export{u as __pageData,f as default}; diff --git a/assets/guide_task.md.c4654cc0.js b/assets/guide_task.md.c4654cc0.js new file mode 100644 index 0000000..95acd08 --- /dev/null +++ b/assets/guide_task.md.c4654cc0.js @@ -0,0 +1 @@ +import{_ as e,o,c,Q as i}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"概要","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task.md","filePath":"guide/task.md","lastUpdated":1698550829000}'),t={name:"guide/task.md"},d=i('

概要

pipflow 内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。

主要任务类型包含:

  • html - HTML处理任务
  • script - JavaScript处理任务
  • style - CSS处理任务
  • static - 静态资源处理任务
  • image - 图片资源处理任务
  • server - 创建本地服务器任务
  • copy - 复制文件任务
  • remove - 删除文件任务
  • archive - 打包压缩任务
  • user - 用户自定义任务
  • compose - 组合任务

基于以上任务类型,你可以很容易的实现各种构建任务。既可以在已有的任务上扩展,也可以创建新的任务,还可以将已有任务和新增任务组合成新的构建任务。

下面我将详细介绍每一个任务类型,及其使用方法。

',6),a=[d];function l(s,r,_,p,n,m){return o(),c("div",null,a)}const f=e(t,[["render",l]]);export{u as __pageData,f as default}; diff --git a/assets/guide_task.md.32d2fa1f.lean.js b/assets/guide_task.md.c4654cc0.lean.js similarity index 51% rename from assets/guide_task.md.32d2fa1f.lean.js rename to assets/guide_task.md.c4654cc0.lean.js index 038e85c..0015a4f 100644 --- a/assets/guide_task.md.32d2fa1f.lean.js +++ b/assets/guide_task.md.c4654cc0.lean.js @@ -1 +1 @@ -import{_ as e,o,c,Q as i}from"./chunks/framework.38a791dd.js";const u=JSON.parse('{"title":"概要","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task.md","filePath":"guide/task.md","lastUpdated":1697424975000}'),t={name:"guide/task.md"},d=i("",4),a=[d];function l(s,r,_,p,n,m){return o(),c("div",null,a)}const f=e(t,[["render",l]]);export{u as __pageData,f as default}; +import{_ as e,o,c,Q as i}from"./chunks/framework.e1e0b12f.js";const u=JSON.parse('{"title":"概要","description":"","frontmatter":{},"headers":[],"relativePath":"guide/task.md","filePath":"guide/task.md","lastUpdated":1698550829000}'),t={name:"guide/task.md"},d=i("",6),a=[d];function l(s,r,_,p,n,m){return o(),c("div",null,a)}const f=e(t,[["render",l]]);export{u as __pageData,f as default}; diff --git a/assets/index.md.7e1de573.js b/assets/index.md.da6dba14.js similarity index 92% rename from assets/index.md.7e1de573.js rename to assets/index.md.da6dba14.js index cd97785..152fe5c 100644 --- a/assets/index.md.7e1de573.js +++ b/assets/index.md.da6dba14.js @@ -1 +1 @@ -import{_ as t,o as e,c as i}from"./chunks/framework.38a791dd.js";const m=JSON.parse('{"title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","description":"","frontmatter":{"layout":"home","title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","hero":{"name":"Pipflow","text":"开箱即用的前端开发工作流","tagline":"旨在使web应用程序的开发/构建流程变得更简单!","actions":[{"theme":"brand","text":"开始","link":"/guide/"},{"theme":"alt","text":"在github上查看","link":"https://github.com/meqn/pipflow"}]},"features":[{"icon":"📦","title":"开箱即用","details":"通过`pipflow`命令快速创建项目,无需编写冗长的gulp配置代码!"},{"icon":"🚀","title":"高效性能","details":"优化gulp任务,缓存已通过的文件信息以实现增量构建。"},{"icon":"🎨","title":"功能丰富","details":"内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。"},{"icon":"🛠","title":"可配置","details":"通过简单配置即可完成前端流程的自动构建及任务顺序等。"},{"icon":"🔗","title":"可扩展","details":"根据需求轻松扩展现有任务处理流程或自定义新任务。"},{"icon":"🏳️‍🌈","title":"多环境支持","details":"设置运行模式, 可以在开发环境和生产环境之间轻松切换。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1697424975000}'),l={name:"index.md"};function a(o,n,p,s,d,c){return e(),i("div")}const f=t(l,[["render",a]]);export{m as __pageData,f as default}; +import{_ as t,o as e,c as i}from"./chunks/framework.e1e0b12f.js";const m=JSON.parse('{"title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","description":"","frontmatter":{"layout":"home","title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","hero":{"name":"Pipflow","text":"开箱即用的前端开发工作流","tagline":"旨在使web应用程序的开发/构建流程变得更简单!","actions":[{"theme":"brand","text":"开始","link":"/guide/"},{"theme":"alt","text":"在github上查看","link":"https://github.com/meqn/pipflow"}]},"features":[{"icon":"📦","title":"开箱即用","details":"通过`pipflow`命令快速创建项目,无需编写冗长的gulp配置代码!"},{"icon":"🚀","title":"高效性能","details":"优化gulp任务,缓存已通过的文件信息以实现增量构建。"},{"icon":"🎨","title":"功能丰富","details":"内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。"},{"icon":"🛠","title":"可配置","details":"通过简单配置即可完成前端流程的自动构建及任务顺序等。"},{"icon":"🔗","title":"可扩展","details":"根据需求轻松扩展现有任务处理流程或自定义新任务。"},{"icon":"🏳️‍🌈","title":"多环境支持","details":"设置运行模式, 可以在开发环境和生产环境之间轻松切换。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1698550829000}'),l={name:"index.md"};function a(o,n,p,s,d,c){return e(),i("div")}const f=t(l,[["render",a]]);export{m as __pageData,f as default}; diff --git a/assets/index.md.7e1de573.lean.js b/assets/index.md.da6dba14.lean.js similarity index 92% rename from assets/index.md.7e1de573.lean.js rename to assets/index.md.da6dba14.lean.js index cd97785..152fe5c 100644 --- a/assets/index.md.7e1de573.lean.js +++ b/assets/index.md.da6dba14.lean.js @@ -1 +1 @@ -import{_ as t,o as e,c as i}from"./chunks/framework.38a791dd.js";const m=JSON.parse('{"title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","description":"","frontmatter":{"layout":"home","title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","hero":{"name":"Pipflow","text":"开箱即用的前端开发工作流","tagline":"旨在使web应用程序的开发/构建流程变得更简单!","actions":[{"theme":"brand","text":"开始","link":"/guide/"},{"theme":"alt","text":"在github上查看","link":"https://github.com/meqn/pipflow"}]},"features":[{"icon":"📦","title":"开箱即用","details":"通过`pipflow`命令快速创建项目,无需编写冗长的gulp配置代码!"},{"icon":"🚀","title":"高效性能","details":"优化gulp任务,缓存已通过的文件信息以实现增量构建。"},{"icon":"🎨","title":"功能丰富","details":"内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。"},{"icon":"🛠","title":"可配置","details":"通过简单配置即可完成前端流程的自动构建及任务顺序等。"},{"icon":"🔗","title":"可扩展","details":"根据需求轻松扩展现有任务处理流程或自定义新任务。"},{"icon":"🏳️‍🌈","title":"多环境支持","details":"设置运行模式, 可以在开发环境和生产环境之间轻松切换。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1697424975000}'),l={name:"index.md"};function a(o,n,p,s,d,c){return e(),i("div")}const f=t(l,[["render",a]]);export{m as __pageData,f as default}; +import{_ as t,o as e,c as i}from"./chunks/framework.e1e0b12f.js";const m=JSON.parse('{"title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","description":"","frontmatter":{"layout":"home","title":"pipflow","titleTemplate":"基于gulp的web开发工作流,内置合并、编译、打包、压缩等功能,极大简化前端开发流程","hero":{"name":"Pipflow","text":"开箱即用的前端开发工作流","tagline":"旨在使web应用程序的开发/构建流程变得更简单!","actions":[{"theme":"brand","text":"开始","link":"/guide/"},{"theme":"alt","text":"在github上查看","link":"https://github.com/meqn/pipflow"}]},"features":[{"icon":"📦","title":"开箱即用","details":"通过`pipflow`命令快速创建项目,无需编写冗长的gulp配置代码!"},{"icon":"🚀","title":"高效性能","details":"优化gulp任务,缓存已通过的文件信息以实现增量构建。"},{"icon":"🎨","title":"功能丰富","details":"内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。"},{"icon":"🛠","title":"可配置","details":"通过简单配置即可完成前端流程的自动构建及任务顺序等。"},{"icon":"🔗","title":"可扩展","details":"根据需求轻松扩展现有任务处理流程或自定义新任务。"},{"icon":"🏳️‍🌈","title":"多环境支持","details":"设置运行模式, 可以在开发环境和生产环境之间轻松切换。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1698550829000}'),l={name:"index.md"};function a(o,n,p,s,d,c){return e(),i("div")}const f=t(l,[["render",a]]);export{m as __pageData,f as default}; diff --git a/assets/markdown-examples.md.11f46d7f.js b/assets/markdown-examples.md.53b5e870.js similarity index 97% rename from assets/markdown-examples.md.11f46d7f.js rename to assets/markdown-examples.md.53b5e870.js index 4d9f031..2119a39 100644 --- a/assets/markdown-examples.md.11f46d7f.js +++ b/assets/markdown-examples.md.53b5e870.js @@ -1,4 +1,4 @@ -import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md","lastUpdated":1697424975000}'),p={name:"markdown-examples.md"},e=l(`

Markdown Extension Examples

This page demonstrates some of the built-in markdown extensions provided by VitePress.

Syntax Highlighting

VitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:

Input

\`\`\`js{4}
+import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md","lastUpdated":1698550829000}'),p={name:"markdown-examples.md"},e=l(`

Markdown Extension Examples

This page demonstrates some of the built-in markdown extensions provided by VitePress.

Syntax Highlighting

VitePress provides Syntax Highlighting powered by Shiki, with additional features like line-highlighting:

Input

\`\`\`js{4}
 export default {
   data () {
     return {
diff --git a/assets/markdown-examples.md.11f46d7f.lean.js b/assets/markdown-examples.md.53b5e870.lean.js
similarity index 57%
rename from assets/markdown-examples.md.11f46d7f.lean.js
rename to assets/markdown-examples.md.53b5e870.lean.js
index 2f90669..d9778d9 100644
--- a/assets/markdown-examples.md.11f46d7f.lean.js
+++ b/assets/markdown-examples.md.53b5e870.lean.js
@@ -1 +1 @@
-import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.38a791dd.js";const g=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md","lastUpdated":1697424975000}'),p={name:"markdown-examples.md"},e=l("",19),o=[e];function t(i,c,r,d,h,E){return n(),a("div",null,o)}const u=s(p,[["render",t]]);export{g as __pageData,u as default};
+import{_ as s,o as n,c as a,Q as l}from"./chunks/framework.e1e0b12f.js";const g=JSON.parse('{"title":"Markdown Extension Examples","description":"","frontmatter":{},"headers":[],"relativePath":"markdown-examples.md","filePath":"markdown-examples.md","lastUpdated":1698550829000}'),p={name:"markdown-examples.md"},e=l("",19),o=[e];function t(i,c,r,d,h,E){return n(),a("div",null,o)}const u=s(p,[["render",t]]);export{g as __pageData,u as default};
diff --git a/config/build-options.html b/config/build-options.html
index 2ef8024..18ee4aa 100644
--- a/config/build-options.html
+++ b/config/build-options.html
@@ -7,17 +7,17 @@
     
     
     
-    
+    
     
-    
-    
-    
+    
+    
+    
     
     
   
   
-    
Skip to content

构建选项

build.outDir

  • 类型: string
  • 默认: dist

指定输出路径(相对于项目根目录)。

build.fileHash

  • 类型: boolean | '-' | '?'
  • 默认: '-'

build 命令构建后生成的静态资源在它们的文件名中包含了 hash 以便更好的控制缓存,同时也会生成对应的 manifest.json 文件。

  • 值为 false 时,关闭文件哈希。
  • 值为 true- 时,将生成文件名哈希和版本映射文件manifest.json
  • 值为 ? 时,仅生成版本映射文件manifest.json

build.sourcemap

  • 类型: string
  • 默认: dist

build 命令构建后是否生成 source map 文件。如果为 true,将会创建一个独立的 source map 文件。

build.minify

  • 类型: boolean
  • 默认: process.env.NODE_ENV === "production"

全局配置, 设置为 false 可以统一禁用最小化混淆或压缩。

⚠️ 提示

该配置项仅对任务类型 typehtml, style, script, static, image 有效。这里是全局配置,也可以在每个任务项内单独配置 minify

build.htmlMinify

  • 类型: boolean | HtmlMinifyOptions
  • 默认:build.minify 一致

HTML 最小化压缩配置项,此选项配置后会覆盖 build.minify

html压缩是基于 html-minifier-terser 插件, 详细配置请参见 这里

build.jsMinify

  • 类型: boolean | TerserMinifyOptions
  • 默认:build.minify 一致

Javascript 最小化混淆配置项,此选项配置后会覆盖 build.minify

JS最小化混淆是基于 terser 插件, 详细配置请参见 这里

build.cssMinify

  • 类型: boolean | CSSNanoOptions
  • 默认:build.minify 一致

CSS 最小化压缩配置项,此选项配置后会覆盖 build.minify

CSS压缩是基于 cssnano 插件, 详细配置请参见 这里

build.imageMinify

  • 类型: boolean | {plugins?: Plugin[], options?: Options}
  • 默认: dist

图片压缩配置项,此选项配置后会覆盖 build.minify

图片压缩是基于 gulp-imagemin 插件, 详细配置请参见 这里

🚨 提醒

由于安装 gulp-imagemin 依赖经常失败(国内环境),且图片压缩是一项耗时的一次性任务。所以 pipflowgulp-imagemin 的安装提取到项目的依赖中。如果你的项目不需要 压缩图片或者手动一次性压缩,请删除项目的 package.json 中的 gulp-imagemin 依赖,并将 imageMinify 配置项的值设置为 false

Released under the MIT License.

- +
Skip to content

构建选项

build.outDir

  • 类型: string
  • 默认: dist

指定输出路径(相对于项目根目录)。

build.fileHash

  • 类型: boolean | '-' | '?'
  • 默认: '-'

build 命令构建后生成的静态资源在它们的文件名中包含了 hash 以便更好的控制缓存,同时也会生成对应的 manifest.json 文件。

  • 值为 false 时,关闭文件哈希。
  • 值为 true- 时,将生成文件名哈希和版本映射文件manifest.json
  • 值为 ? 时,仅生成版本映射文件manifest.json

build.sourcemap

  • 类型: boolean | 'inline'
  • 默认: false

构建后是否生成 source map 文件。如果为 true,将会创建一个独立的 source map 文件。如果为 'inline',source map 将作为一个 data URI 附加在输出文件中。

build.minify

  • 类型: boolean
  • 默认: process.env.NODE_ENV === "production"

全局配置, 设置为 false 可以统一禁用最小化混淆或压缩。

⚠️ 提示

该配置项仅对任务类型 typehtml, style, script, static, image 有效。这里是全局配置,也可以在每个任务项内单独配置 minify

build.htmlMinify

  • 类型: boolean | HtmlMinifyOptions
  • 默认:build.minify 一致

HTML 最小化压缩配置项,此选项配置后会覆盖 build.minify

html压缩是基于 html-minifier-terser 插件, 详细配置请参见 这里

build.jsMinify

  • 类型: boolean | TerserMinifyOptions
  • 默认:build.minify 一致

Javascript 最小化混淆配置项,此选项配置后会覆盖 build.minify

JS最小化混淆是基于 terser 插件, 详细配置请参见 这里

build.cssMinify

  • 类型: boolean | CSSNanoOptions
  • 默认:build.minify 一致

CSS 最小化压缩配置项,此选项配置后会覆盖 build.minify

CSS压缩是基于 cssnano 插件, 详细配置请参见 这里

build.imageMinify

  • 类型: boolean | {plugins?: Plugin[], options?: Options}
  • 默认: dist

图片压缩配置项,此选项配置后会覆盖 build.minify

图片压缩是基于 gulp-imagemin 插件, 详细配置请参见 这里

🚨 提醒

由于安装 gulp-imagemin 依赖经常失败(国内环境),且图片压缩是一项耗时的一次性任务。所以 pipflowgulp-imagemin 的安装提取到项目的依赖中。如果你的项目不需要 压缩图片或者手动一次性压缩,请删除项目的 package.json 中的 gulp-imagemin 依赖,并将 imageMinify 配置项的值设置为 false

Released under the MIT License.

+ \ No newline at end of file diff --git a/config/index.html b/config/index.html index c85b9e4..922cfbc 100644 --- a/config/index.html +++ b/config/index.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -58,8 +58,8 @@ // build 独有配置 } } -})

Released under the MIT License.

- +})

Released under the MIT License.

+ \ No newline at end of file diff --git a/config/server-options.html b/config/server-options.html index 86662e0..053607b 100644 --- a/config/server-options.html +++ b/config/server-options.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

开发服务器选项

pipflow 的本地开发服务器是基于 Browsersync 工具, 它为开发过程提供自动化、高效的同步与调试功能。

配置详情请参见 这里

server.host

  • 类型: string
  • 默认: localhost

指定服务器应该监听哪个 IP 地址。

server.port

  • 类型: number
  • 默认: 9527

指定开发服务器端口。

也可以通过 CLI 使用 --port 3000 来设置。

server.https

  • 类型: boolean
  • 默认: false

为本地主机开发启用 https。注意: 代理选项不需要这样做,因为它会从目标网址中推断出来。

js
// Enable HTTPS for snippet mode
+    
Skip to content

开发服务器选项

pipflow 的本地开发服务器是基于 Browsersync 工具, 它为开发过程提供自动化、高效的同步与调试功能。

想要了解更多配置细节,请参考 这里

server.host

  • 类型: string
  • 默认: localhost

指定服务器应该监听哪个 IP 地址。

server.port

  • 类型: number
  • 默认: 9527

指定开发服务器端口。

也可以通过 CLI 使用 --port 3000 来设置。

server.https

  • 类型: boolean
  • 默认: false

为本地主机开发启用 https。注意: 代理选项不需要这样做,因为它会从目标网址中推断出来。

js
// Enable HTTPS for snippet mode
 {
   https: true
 }
@@ -178,8 +178,8 @@
 // Or switch them all off in one go
 {
   ghostMode: false
-}

server.notify

  • 类型: boolean
  • 默认: true

浏览器右上角的小弹窗通知。

Released under the MIT License.

- +}

server.notify

  • 类型: boolean
  • 默认: true

浏览器右上角的小弹窗通知。

Released under the MIT License.

+ \ No newline at end of file diff --git a/config/shared-options.html b/config/shared-options.html index 47e0b44..2acfe7a 100644 --- a/config/shared-options.html +++ b/config/shared-options.html @@ -7,17 +7,17 @@ - + - - - + + + -
Skip to content

共享配置

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

glob base (有时称为 glob parent)是 glob 字符串中任何特殊字符之前的路径段。因此,/src/js/**.js 的 blob base 是 /src/js/。所有匹配 glob 的路径都保证共享 glob base,该路径段不能是可变的。

src() 生成的 Vinyl 实例是用 glob base 集作为它们的 base 属性构造的。当使用 dest() 写入文件系统时,将从输出路径中删除 base ,以保留目录结构。

有关更深入的信息,请参阅 glob-parent 库。

publicDir

  • 类型: string | false
  • 默认: "public"

作为静态资源服务的文件夹。该目录中的文件在开发期间在 / 处提供,并在构建期间复制到 outDir 的根目录,并且始终按原样提供或复制而无需进行转换。该值可以是文件系统的绝对路径,也可以是相对于项目根目录的相对路径。

publicDir 设定为 false 可以关闭此项功能。

alias

  • 类型: { [key string]: string }

全局字符串别名,在处理html, javascript, css 文件时, 每一项将会被静态替换。

友情提醒

这里的 alias 仅仅是字符串的别名替换,不同于 webpack, vitealias 功能。

envDir

  • 类型: string
  • 默认: root

用于加载 .env 文件的目录。可以是一个绝对路径,也可以是相对于项目根的路径。

关于环境文件的更多信息,请参见 这里

Released under the MIT License.

- +
Skip to content

共享配置

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

glob base (有时称为 glob parent)是 glob 字符串中任何特殊字符之前的路径段。因此,/src/js/**.js 的 blob base 是 /src/js/。所有匹配 glob 的路径都保证共享 glob base,该路径段不能是可变的。

src() 生成的 Vinyl 实例是用 glob base 集作为它们的 base 属性构造的。当使用 dest() 写入文件系统时,将从输出路径中删除 base ,以保留目录结构。

有关更深入的信息,请参阅 glob-parent 库。

publicDir

  • 类型: string | false
  • 默认: "public"

作为静态资源服务的文件夹。该目录中的文件在开发期间在 / 处提供,并在构建期间复制到 outDir 的根目录,并且始终按原样提供或复制而无需进行转换。该值可以是文件系统的绝对路径,也可以是相对于项目根目录的相对路径。

publicDir 设定为 false 可以关闭此项功能。

alias

  • 类型: { [key string]: string }

全局字符串别名,在处理html, javascript, css 文件时, 每一项将会被静态替换。

友情提醒

这里的 alias 仅仅是字符串的别名替换,不同于 webpack, vitealias 功能。

envDir

  • 类型: string
  • 默认: root

用于加载 .env 文件的目录。可以是一个绝对路径,也可以是相对于项目根的路径。

关于环境文件的更多信息,请参见 这里

Released under the MIT License.

+ \ No newline at end of file diff --git a/config/task-options.html b/config/task-options.html index 78da925..66854fa 100644 --- a/config/task-options.html +++ b/config/task-options.html @@ -7,17 +7,17 @@ - + - - - + + + -
Skip to content

任务配置

每个任务的单独配置项,设置后会覆盖全局配置。

name

  • 类型: string
  • 默认: [type]:[index]

任务名称, 默认为 任务类型 + 任务索引

type

  • 类型: string

任务类型。

内置任务类型: 'html' | 'style' | 'script' | 'static' | 'image' | 'server' | 'remove' | 'copy' | 'archive' | 'user'

input

  • 类型: string | string[] | object

指定任务入口文件。

dest

  • 类型: string
  • 默认: dist

指定任务输出路径。

继承 build.outDir 配置,请参见 这里

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

继承 全局 base 配置,请参见 这里

compiler

  • 类型: string

文件转译工具。仅对任务类型为 html, style, script 有效。

  • type'html'时, compiler 为 HTML模板引擎;(请参见 这里)
  • type'style'时, compiler 为 CSS预处理器。(请参见 这里)
  • type'script'时, compilerbabel

compilerOptions

  • 类型: object

转译配置项。

  • HTML模板引擎 配置项,请参见 这里
  • CSS预处理器 配置项,请参见 这里

minify

  • 类型: boolean | MinifyOptions
  • 默认: false

文件最小化混淆或压缩。

继承 build.minify 配置 或 对应的混淆/压缩配置项,请参见 这里

plugins

  • 类型: function[]

自定义任务处理流程。 请参见 这里

fileHash

  • 类型: boolean | '-' | '?'
  • 默认: false

文件哈希和版本控制

sourcemap

  • 类型: boolean
  • 默认: false

是否生成 source map 文件。

继承 build.sourcemap 配置,请参见 这里

alias

  • 类型: { [key: string]: string }

别名替换,会合并全局 alias 配置。

继承 全局 alias 配置,请参见 这里

watch

  • 类型: boolean
  • 默认: false

serve 阶段是否监视文件变动并重新编译、刷新页面。

filename

  • 类型: string
  • 默认: archive

生成的文件名。目前仅对 archive 任务类型有效。

温馨提示

如果需要创建压缩包,可以使用 pipflow pack 命令快速生成压缩包。 请参见 [这里]。

Released under the MIT License.

- +
Skip to content

任务配置

每个任务的单独配置项,设置后会覆盖全局配置。

name

  • 类型: string
  • 默认: [type]:[index]

任务名称, 默认为 任务类型 + 任务索引

type

  • 类型: string

任务类型。

内置任务类型: 'html' | 'style' | 'script' | 'static' | 'image' | 'server' | 'remove' | 'copy' | 'archive' | 'user'

input

  • 类型: string | string[] | object

指定任务入口文件。

dest

  • 类型: string
  • 默认: dist

指定任务输出路径。

继承 build.outDir 配置,请参见 这里

base

  • 类型: string
  • 默认: ./src

显式地在创建的 Vinyl 对象上设置 base 属性。

继承 全局 base 配置,请参见 这里

compiler

  • 类型: string

文件转译工具。仅对任务类型为 html, style, script 有效。

  • type'html'时, compiler 为 HTML模板引擎;(请参见 这里)
  • type'style'时, compiler 为 CSS预处理器。(请参见 这里)
  • type'script'时, compilerbabel

compilerOptions

  • 类型: object

转译配置项。

  • HTML模板引擎 配置项,请参见 这里
  • CSS预处理器 配置项,请参见 这里

minify

  • 类型: boolean | MinifyOptions
  • 默认: false

文件最小化混淆或压缩。

继承 build.minify 配置 或 对应的混淆/压缩配置项,请参见 这里

plugins

  • 类型: function[]

自定义任务处理流程。 请参见 这里

fileHash

  • 类型: boolean | '-' | '?'
  • 默认: false

文件哈希和版本控制

sourcemap

  • 类型: boolean
  • 默认: false

是否生成 source map 文件。

继承 build.sourcemap 配置,请参见 这里

alias

  • 类型: { [key: string]: string }

别名替换,会合并全局 alias 配置。

继承 全局 alias 配置,请参见 这里

watch

  • 类型: boolean
  • 默认: false

serve 阶段是否监视文件变动并重新编译、刷新页面。

filename

  • 类型: string
  • 默认: archive

生成的文件名。目前仅对 archive 任务类型有效。

温馨提示

如果需要创建压缩包,可以使用 pipflow pack 命令快速生成压缩包。 请参见 [这里]。

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/assets.html b/guide/assets.html index 00b2b13..5db03d5 100644 --- a/guide/assets.html +++ b/guide/assets.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

静态资源处理

资源文件URL

在页面中引入资源文件,建议用绝对路径(以 / 开头)引入。

你可以在 pipflow.config.js 配置文件中设置路径别名,在页面内通过别名+路径引入文件,编译阶段会被统一静态替换。

json
// pipflow.config.json
+    
Skip to content

静态资源处理

资源文件URL

在页面中引入资源文件,建议用绝对路径(以 / 开头)引入。

你可以在 pipflow.config.js 配置文件中设置路径别名,在页面内通过别名+路径引入文件,编译阶段会被统一静态替换。

json
// pipflow.config.json
 {
   "alias": {
     "@img": "/assets/images",
@@ -36,8 +36,8 @@
 <img src="@img/background.png">
 
 <!-- 构建后的内容 -->
-<img src="/assets/images/background.png">

public 目录

如果你有下列这些资源:

  • 不会被源码引用(例如 robots.txt)
  • 必须保持原有文件名(没有经过 hash)
  • ...或者你压根不想引入该资源,只是想得到其 URL。

那么你可以将该资源放在指定的 public 目录中,它应位于你的项目根目录。该目录中的资源在开发时能直接通过 / 根路径访问到,并且打包时会被完整复制到目标目录的根目录下。

目录默认是 <root>/public,但可以通过 publicDir 选项 来配置。 请参见 这里

请注意

引入 public 中的资源永远应该使用根绝对路径 —— 举个例子,public/icon.png 应该在源码中被引用为 /icon.png

文件指纹

静态文件指纹是为了解决缓存问题,可以帮助优化浏览器缓存和文件更新的管理。它可以确保用户获得最新的文件版本,同时提高网站的性能和用户体验。

如果你在配置文件中开启了文件指纹,则在 build 之后引入的文件路径会携带文件指纹(以文件名或url参数形式)。仅在 build 阶段有效。

关于 build.fileHash 配置请参见 这里

Released under the MIT License.

- +<img src="/assets/images/background.png">

public 目录

如果你有下列这些资源:

  • 不会被源码引用(例如 robots.txt)
  • 必须保持原有文件名(没有经过 hash)
  • ...或者你压根不想引入该资源,只是想得到其 URL。

那么你可以将该资源放在指定的 public 目录中,它应位于你的项目根目录。该目录中的资源在开发时能直接通过 / 根路径访问到,并且打包时会被完整复制到目标目录的根目录下。

目录默认是 <root>/public,但可以通过 publicDir 选项 来配置。 请参见 这里

请注意

引入 public 中的资源永远应该使用根绝对路径 —— 举个例子,public/icon.png 应该在源码中被引用为 /icon.png

文件指纹

静态文件指纹是为了解决缓存问题,可以帮助优化浏览器缓存和文件更新的管理。它可以确保用户获得最新的文件版本,同时提高网站的性能和用户体验。

如果你在配置文件中开启了文件指纹,则在 build 之后引入的文件路径会携带文件指纹(以文件名或url参数形式)。仅在 build 阶段有效。

关于 build.fileHash 配置请参见 这里

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/build.html b/guide/build.html index 9edee92..5f45876 100644 --- a/guide/build.html +++ b/guide/build.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

构建生产版本

当需要将应用部署到生产环境时,只需运行 pipflow build 命令。默认情况下,它使用 <root>/index.html 作为其入口,并生成能够静态部署的应用程序包。

浏览器兼容性

browserslist

通过 pipflow create 创建的项目,在项目根目录下有一个单独的 .browserslistrc 文件,用于指定项目支持的浏览器范围。你也可以在 package.json 文件里配置 browserslist 字段。

这个值会被 @babel/preset-envpostcss-preset-env 用来确定需要转译的 JavaScript 特性和需要添加的 CSS 浏览器前缀。

现在查阅 这里 了解如何指定浏览器范围。

Polyfill

一个基于 pipflow CLI 创建的项目,它通过 @babel/preset-envbrowserslist 配置来决定项目需要的 polyfill。

默认情况下,babel.config.js 预设 useBuiltIns: "usage",这样它会根据源代码中出现的语言特性自动检测需要的 polyfill。这确保了最终包里 polyfill 数量的最小化。然而,这也意味着如果其中一个依赖需要特殊的 polyfill,默认情况下 Babel 无法将其检测出来。

你可以通过修改项目中的 babel.config.js 配置来自行调整 polyfill。

温馨提示

我们推荐以这种方式添加 polyfill 而不是在源代码中直接导入它们,因为如果这里列出的 polyfill 在 browserslist 的目标中不需要,则它会被自动排除。

自定义构建

构建生产环境应用程序包默认是通过 pipflow build 命令来完成的。如果在未修改配置文件 pipflow.config.jstasks 选项时,其构建过程任务如下:

└─┬ build
+    
Skip to content

构建生产版本

当需要将应用部署到生产环境时,只需运行 pipflow build 命令。默认情况下,它使用 <root>/index.html 作为其入口,并生成能够静态部署的应用程序包。

浏览器兼容性

browserslist

通过 pipflow create 创建的项目,在项目根目录下有一个单独的 .browserslistrc 文件,用于指定项目支持的浏览器范围。你也可以在 package.json 文件里配置 browserslist 字段。

这个值会被 @babel/preset-envpostcss-preset-env 用来确定需要转译的 JavaScript 特性和需要添加的 CSS 浏览器前缀。

现在查阅 这里 了解如何指定浏览器范围。

Polyfill

一个基于 pipflow CLI 创建的项目,它通过 @babel/preset-envbrowserslist 配置来决定项目需要的 polyfill。

默认情况下,babel.config.js 预设 useBuiltIns: "usage",这样它会根据源代码中出现的语言特性自动检测需要的 polyfill。这确保了最终包里 polyfill 数量的最小化。然而,这也意味着如果其中一个依赖需要特殊的 polyfill,默认情况下 Babel 无法将其检测出来。

你可以通过修改项目中的 babel.config.js 配置来自行调整 polyfill。

温馨提示

我们推荐以这种方式添加 polyfill 而不是在源代码中直接导入它们,因为如果这里列出的 polyfill 在 browserslist 的目标中不需要,则它会被自动排除。

自定义构建

构建生产环境应用程序包默认是通过 pipflow build 命令来完成的。如果在未修改配置文件 pipflow.config.jstasks 选项时,其构建过程任务如下:

└─┬ build
   └─┬ <series>
     ├── del:dest
     ├─┬ <parallel>
@@ -50,8 +50,8 @@
     "build": "pipflow task <compose-build-name> --mode=production", 
     "preview": "pipflow task server --preview"
   }
-}

然后运行 npm run build 即可。

提醒

自定义 build 命令必须使用 --mode=production 参数。 如果要构建 mode 不为 production 的其他平台环境的部署包,请在命令开头加上 cross-env NODE_ENV=production (确保构建主机的环境变量 NODE_ENVproduction)。

完整命令如下:

cross-env NODE_ENV=production pipflow task <compose-build-name> --mode=staging
cross-env NODE_ENV=production pipflow task <compose-build-name> --mode=staging

Released under the MIT License.

- +}

然后运行 npm run build 即可。

提醒

自定义 build 命令必须使用 --mode=production 参数。 如果要构建 mode 不为 production 的其他平台环境的部署包,请在命令开头加上 cross-env NODE_ENV=production (确保构建主机的环境变量 NODE_ENVproduction)。

完整命令如下:

cross-env NODE_ENV=production pipflow task <compose-build-name> --mode=staging
cross-env NODE_ENV=production pipflow task <compose-build-name> --mode=staging

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/cli.html b/guide/cli.html index 3e68a9e..7ac0776 100644 --- a/guide/cli.html +++ b/guide/cli.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

命令行界面

CLI (@pipflow/cli) 是一个全局安装的 npm 包,提供了终端里的 pipflow 命令。你可以通过 pipflow create 快速搭建一个新项目,然后运行 pipflow dev 进行便捷开发。下面我们来深入介绍每个命令的使用。

温馨提示

你也可以在终端里使用 pw 命令。它是 pipflow 命令的缩写,由 pipflow 的首尾字母组合而成。

创建项目

pipflow create

创建一个新项目。

使用

运行以下命令来创建一个新项目:

bash
pipflow create hello-world
pipflow create hello-world

你会被提示选取需要的特性。

bash
pipflow CLI v0.4.0
+    
Skip to content

命令行界面

CLI (@pipflow/cli) 是一个全局安装的 npm 包,提供了终端里的 pipflow 命令。你可以通过 pipflow create 快速搭建一个新项目,然后运行 pipflow dev 进行便捷开发。下面我们来深入介绍每个命令的使用。

温馨提示

你也可以在终端里使用 pw 命令。它是 pipflow 命令的缩写,由 pipflow 的首尾字母组合而成。

创建项目

pipflow create

创建一个新项目。

使用

运行以下命令来创建一个新项目:

bash
pipflow create hello-world
pipflow create hello-world

你会被提示选取需要的特性。

bash
pipflow CLI v0.4.0
 ? Check the features needed for your project: (Press <space> to select, <a> to toggle
 all, <i> to invert selection, and <enter> to proceed)
 ❯◯ Babel
@@ -224,8 +224,8 @@
   --open               open browser on server start
   --no-open            not open browser on server start
   --no-notify          disable the notify element in browser
-  -h, --help           display help for command

pipflow-info

打印当前项目的运行环境信息。

使用

bash
pipflow info
pipflow info

Released under the MIT License.

- + -h, --help display help for command

pipflow-info

打印当前项目的运行环境信息。

使用

bash
pipflow info
pipflow info

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/env-and-mode.html b/guide/env-and-mode.html index e663333..4aca8ba 100644 --- a/guide/env-and-mode.html +++ b/guide/env-and-mode.html @@ -3,21 +3,47 @@ - 环境变量和模式 | pipflow + 模式与环境变量 | pipflow - + - - - + + + -
Skip to content

环境变量和模式

环境变量

.env文件

模式

Released under the MIT License.

- +
Skip to content

模式与环境变量

模式

默认情况下,开发服务器 (dev 命令) 运行在 development (开发) 模式,而 build 命令则运行在 production (生产) 模式。

这意味着当执行 pipflow build 时,它会自动加载 .env.production 中可能存在的环境变量:

# .env.production
+APP_TITLE=App Title
# .env.production
+APP_TITLE=App Title

在你的应用中,你可以使用 process.env.APP_TITLE 渲染标题。

在某些情况下,若想在 pipflow build 时运行不同的模式来渲染不同的标题,你可以通过传递 --mode 选项标志来覆盖命令使用的默认模式。例如,如果你想在 staging (预发布)模式下构建应用:

bash
pipflow build --mode staging
pipflow build --mode staging

还需要新建一个 .env.staging 文件:

# .env.staging
+APP_TITLE=App Title (staging)
# .env.staging
+APP_TITLE=App Title (staging)

由于 pipflow build 默认运行生产模式构建,你也可以通过使用不同的模式和对应的 .env 文件配置来改变它,用以运行开发模式的构建:

# .env.testing
+NODE_ENV=development
# .env.testing
+NODE_ENV=development

TIP

当运行 pipflow 命令时,所有的环境变量都从对应的环境文件中载入。如果文件内部不包含 NODE_ENV 变量,它的值将取决于模式,例如,在 production 模式下被设置为 "production",在 dev 模式下被设置为 "development"

NODE_ENV 将决定您的应用运行的模式,是开发,还是生产。例如,如果你在执行 pipflow build 时将环境变量设定为 NODE_ENV=development ,那么构建的应用程序包的资源文件将不会进行 hash,也不会混淆压缩。

所以当你运行 pipflow build 命令时,无论你要部署到哪个环境,应该始终把 NODE_ENV 设置为 "production" 来获取可用于部署的应用程序。

NODE_ENV

如果在环境中有默认的 NODE_ENV,你应该移除它或在运行 pipflow 命令的时候明确地设置 NODE_ENV

环境变量

在项目中,你可以通过 process.env 对象来获取环境变量, 如 process.env.APP_TITLE。比如在JS文件中,你可以这样写:

js
if (process.env.NODE_ENV === 'production') {
+  // 生产环境
+} else {
+  // 开发环境
+}
if (process.env.NODE_ENV === 'production') {
+  // 生产环境
+} else {
+  // 开发环境
+}

下面是一些内建变量,在所有情况下都可以使用:

  • process.env.MODE: {string} 应用运行的模式。
  • process.env.PROD: {boolean} 应用是否运行在生产环境。
  • process.env.DEV: {boolean} 应用是否运行在开发环境 (永远与 process.env.PROD 相反)。

.env文件

pipflow 会从你的 环境目录 中的下列文件加载额外的环境变量:

.env                # 所有情况下都会加载
+.env.local          # 所有情况下都会加载,但会被 git 忽略
+.env.[mode]         # 只在指定模式下加载
+.env.[mode].local   # 只在指定模式下加载,但会被 git 忽略
.env                # 所有情况下都会加载
+.env.local          # 所有情况下都会加载,但会被 git 忽略
+.env.[mode]         # 只在指定模式下加载
+.env.[mode].local   # 只在指定模式下加载,但会被 git 忽略

一个环境文件只包含环境变量的“键=值”对:

APP_TITLE=App Title
+API_BASE_URL=http://test.api.com
+
+NODE_ENV=development
APP_TITLE=App Title
+API_BASE_URL=http://test.api.com
+
+NODE_ENV=development

环境文件加载优先级

一份用于指定模式的环境文件 (例如 .env.production) 将会比一般的环境文件 (例如 .env) 拥有更高的优先级。

此外,pipflow 启动时已经存在的环境变量拥有最高优先级,并不会被 .env 文件覆写。

.env 环境文件是在 pipflow 启动一开始时被加载,因此环境文件发生变化,你需要重启服务。

想要了解解析环境文件规则的细节,请参考 dotenv

安全注意事项

  • .env.*.local 文件应是本地的,可以包含敏感变量。你应该将 *.local 添加到你的 .gitignore 中,以避免它们被 git 检入。
  • 由于任何暴露给 pipflow 源码的变量最终都将出现在客户端包中,因此环境变量应该不包含任何敏感信息。

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/help.html b/guide/help.html index 2ce7f4d..b865c9c 100644 --- a/guide/help.html +++ b/guide/help.html @@ -7,17 +7,17 @@ - + - - - + + + -
Skip to content

常见问题

安装依赖时间过长

  1. 设置 .mpmrc

  2. 使用 cnpm

我把部分依赖包抽离到外部,如果项目中不使用的话,可以直接删除。

  1. 图片压缩 删除package.json中的 gulp-imagemin 依赖 设置 imageMinify 为 false

安装依赖失败

经常碰到安装依赖失败,多数是因为网络原因:很多包将源码托管在 s3 服务器上,国内可能会被墙。

Released under the MIT License.

- +
Skip to content

常见问题

安装依赖时间过长

  1. 设置 .mpmrc

  2. 使用 cnpm

我把部分依赖包抽离到外部,如果项目中不使用的话,可以直接删除。

  1. 图片压缩 删除package.json中的 gulp-imagemin 依赖 设置 imageMinify 为 false

安装依赖失败

经常碰到安装依赖失败,多数是因为网络原因:很多包将源码托管在 s3 服务器上,国内可能会被墙。

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/index.html b/guide/index.html index c17f901..1aad5e8 100644 --- a/guide/index.html +++ b/guide/index.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

开始

总览

pipflow (pipe-workflow) 是一个基于gulp的前端开发工作流。它内置了诸如合并、编译、打包、压缩等功能,极大地简化了前端开发流程。它提供了一组开箱即用的gulp任务和功能,开发者无需从零开始配置就可以立即启动前端项目的开发。

pipflow的主要功能包括:

  • HTML模板渲染 - 内置5款流行的模板引擎,开箱即用
  • CSS预处理 - 支持LESS/SASS(SCSS)/Stylus,自动添加浏览器前缀,压缩等
  • JavaScript语法转换、合并、压缩、校验、兼容老版本浏览器
  • 图片优化 - 无损压缩图片,生成雪碧图
  • Sourcemap和文件指纹 - 更容易调试和版本控制
  • 本地开发服务器 - 支持HTTPS和浏览器同步测试
  • 文件监视 - 自动检测文件变动并重新编译、合并、刷新页面
  • 自定义任务 - 可以扩展已有任务,满足各种需求

通过pipflow,开发者可以专注于代码编写,无需浪费时间在重复的工程配置上。它使用简单的命令就可以完成复杂的前端构建工作,并标准化了构建流程,极大地提升了项目之间的一致性和开发效率。

💡 温馨说明

简单易用和预设功能,使其成为基于gulp工作流的理想选择。

搭建 pipflow 项目

兼容性注意

pipflow 需要 Node.js 版本 14.13+,16+。然而,有些模板需要依赖更高的 Node 版本才能正常运行,当你的包管理器发出警告时,请注意升级你的 Node 版本。

运行 create 命令创建新项目:

bash
pipflow create my-project
pipflow create my-project

然后按照提示操作即可! 具体参数说明请参见 这里

命令行界面

如果在本机全局安装了 @pipflow/cli,进入项目根目录后,可以直接运行 pipflow dev 即可启动当前项目。
下面是通过脚手架创建的 pipflow 项目中默认的 npm scripts:

json
{
+    
Skip to content

开始

总览

pipflow (pipe-workflow) 是一个基于gulp的前端开发工作流。它内置了诸如合并、编译、打包、压缩等功能,极大地简化了前端开发流程。它提供了一组开箱即用的gulp任务和功能,开发者无需从零开始配置就可以立即启动前端项目的开发。

pipflow的主要功能包括:

  • HTML模板渲染 - 内置5款流行的模板引擎,开箱即用
  • CSS预处理 - 支持LESS/SASS(SCSS)/Stylus,自动添加浏览器前缀,压缩等
  • JavaScript语法转换、合并、压缩、校验、兼容老版本浏览器
  • 图片优化 - 无损压缩图片,生成雪碧图
  • Sourcemap和文件指纹 - 更容易调试和版本控制
  • 本地开发服务器 - 支持HTTPS和浏览器同步测试
  • 文件监视 - 自动检测文件变动并重新编译、合并、刷新页面
  • 自定义任务 - 可以扩展已有任务,满足各种需求

通过pipflow,开发者可以专注于代码编写,无需浪费时间在重复的工程配置上。它使用简单的命令就可以完成复杂的前端构建工作,并标准化了构建流程,极大地提升了项目之间的一致性和开发效率。

💡 温馨说明

简单易用和预设功能,使其成为基于gulp工作流的理想选择。

搭建 pipflow 项目

兼容性注意

pipflow 需要 Node.js 版本 14.13+,16+。然而,有些模板需要依赖更高的 Node 版本才能正常运行,当你的包管理器发出警告时,请注意升级你的 Node 版本。

运行 create 命令创建新项目:

bash
pipflow create my-project
pipflow create my-project

然后按照提示操作即可! 具体参数说明请参见 这里

命令行界面

如果在本机全局安装了 @pipflow/cli,进入项目根目录后,可以直接运行 pipflow dev 即可启动当前项目。
下面是通过脚手架创建的 pipflow 项目中默认的 npm scripts:

json
{
   "scripts": {
     "dev": "pipflow dev", // 启动开发服务器,`pipflow dev`或`pw dev`
     "build": "pipflow build", // 为生产环境构建产物
@@ -30,8 +30,8 @@
     "preview": "pipflow task preview", // 本地预览生产构建产物
     "lint": "pipflow task lint", // 代码检查
   }
-}

可以指定额外的命令行选项,如 --port--no-open。 运行 pipflow --help 获得完整的命令行选项列表。

查看 命令行界面 了解更多细节。

Released under the MIT License.

- +}

可以指定额外的命令行选项,如 --port--no-open。 运行 pipflow --help 获得完整的命令行选项列表。

查看 命令行界面 了解更多细节。

配置

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/task-assets.html b/guide/task-assets.html index a240117..7e2deb3 100644 --- a/guide/task-assets.html +++ b/guide/task-assets.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

静态资源

静态文件任务

图片任务

图片压缩

由于图片压缩是一个耗时任务,且 gulp-imagemin 插件安装依赖经常失败(国内环境)。鉴于此会影响整个工程的安装运行,所以 pipflow 并未内置图片压缩功能,如果需要则手动安装依赖并引入插件即可。

具体步骤如下:

  1. 安装 gulp-imagemin 依赖
shell
npm install -D gulp-imagemin@7
npm install -D gulp-imagemin@7

注意

gulp-imagemin 只能安装 <=7 的版本,8及以上版本仅支持 esModule 模块化.

  1. pipflow.config.js 中找到当前任务,并加入以下代码
js
const imagemin = require('gulp-imagemin')
+    
Skip to content

静态资源

静态文件任务

图片任务

图片压缩

由于图片压缩是一个耗时任务,且 gulp-imagemin 插件安装依赖经常失败(国内环境)。鉴于此会影响整个工程的安装运行,所以 pipflow 并未内置图片压缩功能,如果需要则手动安装依赖并引入插件即可。

具体步骤如下:

  1. 安装 gulp-imagemin 依赖
shell
npm install -D gulp-imagemin@7
npm install -D gulp-imagemin@7

注意

gulp-imagemin 只能安装 <=7 的版本,8及以上版本仅支持 esModule 模块化.

  1. pipflow.config.js 中找到当前任务,并加入以下代码
js
const imagemin = require('gulp-imagemin')
 
 module.exports = {
   tasks: [
@@ -38,8 +38,8 @@
       ]
     }
   ]
-}

gulp-imagemin 插件在压缩图片过程中会自动过滤非图片文件。 请点击查看文档

Released under the MIT License.

- +}

gulp-imagemin 插件在压缩图片过程中会自动过滤非图片文件。 请点击查看文档

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/task-html.html b/guide/task-html.html index 9c5349d..c1e8296 100644 --- a/guide/task-html.html +++ b/guide/task-html.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

HTML 任务

处理流程

  • 环境变量处理 - 环境变量在构建时会被静态替换
  • 模板渲染 - 渲染HTML模板引擎,支持 Pug, EJS, Handlebars, Nunjucks, art-template
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • 内容压缩 - 基于 html-minifier-terser 的内容压缩
  • 资源文件指纹 - 将构建后通过生成的 manifest.json 中包含 hash 过的资源文件版本的映射,进行引入链接的替换

环境变量处理

html内容中的以 process.env.XXX 写入的环境变量将会被静态替换。

模板渲染

pipflow 内置了5款流行的模板引擎,它们曾经都是主流 🤪。让我们来逐一介绍它们:

  1. Pug:

    • 简介: Pug是一种高度可读性的模板引擎,具有简洁的语法和强大的功能。它采用缩进和标签语法,可以快速生成HTML代码。
    • 文档: Pug文档gulp-pug 插件文档
  2. EJS:

    • 简介: EJS(Embedded JavaScript)是一种简单而灵活的模板引擎,可将JavaScript代码嵌入到模板中。它允许您动态生成HTML页面。
    • 文档: EJS文档gulp-ejs 插件文档
  3. Handlebars:

    • 简介: Handlebars是一种语法简洁的模板引擎,它使用标签和表达式来生成HTML。它具有易学易用的特点,非常适合快速构建静态页面。
    • 文档: Handlebars文档gulp-hb 插件文档
  4. Nunjucks:

    • 简介: Nunjucks是一款功能强大的模板引擎,它支持条件语句、循环和继承等高级功能。它被广泛用于JavaScript开发中的模板渲染。
    • 文档: Nunjucks文档gulp-nunjucks 插件文档
  5. art-template:

    • 简介: art-template是一种快速、简洁而且可扩展的模板引擎。它支持JavaScript语法和自定义扩展,非常适合前端开发和服务器端渲染。
    • 它同时支持两种模板语法。原始语法兼容 EJSUnderscoreLoDash 模板,标准语法类似 Mustache
    • 文档: art-template文档gulp-art-tpl 插件文档
    • 个人推荐: 功能强大,使用简单

这些模板引擎在过去都很流行,每一款都有自己独特的特点和用法。您可以根据自己的需求和偏好选择适合的模板引擎来开发您的项目。

渲染配置项

示例

pipflow内置的模板引擎中,Handlebars 的使用相对复杂一些,那么我们来写一个 Handlebars 代码片段复用的示例。

模板文件:

html
<!-- ./src/index.html -->
+    
Skip to content

HTML 任务

处理流程

  • 环境变量处理 - 环境变量在构建时会被静态替换
  • 模板渲染 - 渲染HTML模板引擎,支持 Pug, EJS, Handlebars, Nunjucks, art-template
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • 内容压缩 - 基于 html-minifier-terser 的内容压缩
  • 资源文件指纹 - 将构建后通过生成的 manifest.json 中包含 hash 过的资源文件版本的映射,进行引入链接的替换

环境变量处理

html内容中的以 process.env.XXX 写入的环境变量将会被静态替换。

模板渲染

pipflow 内置了5款流行的模板引擎,它们曾经都是主流 🤪。让我们来逐一介绍它们:

  1. Pug:

    • 简介: Pug是一种高度可读性的模板引擎,具有简洁的语法和强大的功能。它采用缩进和标签语法,可以快速生成HTML代码。
    • 文档: Pug文档gulp-pug 插件文档
  2. EJS:

    • 简介: EJS(Embedded JavaScript)是一种简单而灵活的模板引擎,可将JavaScript代码嵌入到模板中。它允许您动态生成HTML页面。
    • 文档: EJS文档gulp-ejs 插件文档
  3. Handlebars:

    • 简介: Handlebars是一种语法简洁的模板引擎,它使用标签和表达式来生成HTML。它具有易学易用的特点,非常适合快速构建静态页面。
    • 文档: Handlebars文档gulp-hb 插件文档
  4. Nunjucks:

    • 简介: Nunjucks是一款功能强大的模板引擎,它支持条件语句、循环和继承等高级功能。它被广泛用于JavaScript开发中的模板渲染。
    • 文档: Nunjucks文档gulp-nunjucks 插件文档
  5. art-template:

    • 简介: art-template是一种快速、简洁而且可扩展的模板引擎。它支持JavaScript语法和自定义扩展,非常适合前端开发和服务器端渲染。
    • 它同时支持两种模板语法。原始语法兼容 EJSUnderscoreLoDash 模板,标准语法类似 Mustache
    • 文档: art-template文档gulp-art-tpl 插件文档
    • 个人推荐: 功能强大,使用简单

这些模板引擎在过去都很流行,每一款都有自己独特的特点和用法。您可以根据自己的需求和偏好选择适合的模板引擎来开发您的项目。

渲染配置项

示例

pipflow内置的模板引擎中,Handlebars 的使用相对复杂一些,那么我们来写一个 Handlebars 代码片段复用的示例。

模板文件:

html
<!-- ./src/index.html -->
 <html>
   <head>
     <title>pipflow</title>
@@ -96,8 +96,8 @@
   collapseBooleanAttributes: true,
   minifyJS: true,
   minifyCSS: true
-}

你可以通过 build.htmlMinify 配置项来指定压缩选项。 参见 这里

Released under the MIT License.

- +}

你可以通过 build.htmlMinify 配置项来指定压缩选项。 参见 这里

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/task-more.html b/guide/task-more.html index c1d4fd2..3b4a6e0 100644 --- a/guide/task-more.html +++ b/guide/task-more.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

其他任务

ZIP压缩任务 (archive)

bash
pipflow pack [options]
+    
Skip to content

其他任务

ZIP压缩任务 (archive)

bash
pipflow pack [options]
 
 # example
 pipflow pack dist/ dist.zip
@@ -30,8 +30,8 @@
 # 将 `dist/` 目录打包, 压缩包 `dist.zip`在项目的根目录
 
 pipflow pack public/favicon.ico src/ dist/source.zip
-# 将 `ico`文件 和 `src/` 目录打包, 压缩包 `source.zip`在dist目录中

options

最后一项是打包输出的路径,其他项目是打包的目标路径。

Released under the MIT License.

- +# 将 `ico`文件 和 `src/` 目录打包, 压缩包 `source.zip`在dist目录中

options

最后一项是打包输出的路径,其他项目是打包的目标路径。

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/task-script.html b/guide/task-script.html index 83fbfd5..971741a 100644 --- a/guide/task-script.html +++ b/guide/task-script.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

script 任务

处理流程

  • 环境变量处理 - 环境变量注入
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • babel转译
  • 压缩混淆 - 基于 terser 压缩混淆
  • 生成 source map 文件
  • 生成文件hash - 支持 [name]-[hash][name]?[hash] 两种方式。

文件入口

文件入口配置支持 单一字符串,数组,和对象 3 种方式。

1. 字符串通配符

js
{
+    
Skip to content

script 任务

处理流程

  • 环境变量处理 - 环境变量注入
  • 别名替换 - 静态替换 alias 对应的字符串
  • 自定义处理流程 - 处理 pipflow.config.js 中添加的自定义 plugins
  • babel转译
  • 压缩混淆 - 基于 terser 压缩混淆
  • 生成 source map 文件
  • 生成文件hash - 支持 [name]-[hash][name]?[hash] 两种方式。

文件入口

文件入口配置支持 单一字符串,数组,和对象 3 种方式。

1. 字符串通配符

js
{
   input: './src/scripts/**/*.{js,mjs}'
 }
{
   input: './src/scripts/**/*.{js,mjs}'
@@ -54,8 +54,8 @@
 dist/scripts/index.js
 dist/scripts/pages.js
dist/scripts/comm/index.js
 dist/scripts/index.js
-dist/scripts/pages.js

babel 转译

如果开启 babel 转译,则使用 webpack 进行 Javascript 构建。

你可以通过修改项目中的 babel.config.js 文件来配置 babel 的转译选项。或者调整 .browserslistrc 修改支持的目标浏览器。

terser

Javascript 文件是基于 terser 进行压缩混淆,配置项请点 这里

具体配置可以查阅 terser

Released under the MIT License.

- +dist/scripts/pages.js

babel 转译

如果开启 babel 转译,则使用 webpack 进行 Javascript 构建。

你可以通过修改项目中的 babel.config.js 文件来配置 babel 的转译选项。或者调整 .browserslistrc 修改支持的目标浏览器。

terser

Javascript 文件是基于 terser 进行压缩混淆,配置项请点 这里

具体配置可以查阅 terser

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/task-style.html b/guide/task-style.html index e2cb113..62315fb 100644 --- a/guide/task-style.html +++ b/guide/task-style.html @@ -7,17 +7,17 @@ - + - - - + + + -
Skip to content

style 任务

处理流程

CSS 预处理器

postcss集成

remtopx

pxtorem

pxtoview

Released under the MIT License.

- +
Skip to content

style 任务

处理流程

CSS 预处理器

postcss集成

remtopx

pxtorem

pxtoview

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/task-user.html b/guide/task-user.html index f9239f6..985442f 100644 --- a/guide/task-user.html +++ b/guide/task-user.html @@ -7,16 +7,16 @@ - + - - - + + + -
Skip to content

自定义任务和流程

扩展任务

示例:

js
const { defineConfig } = require('pipflow')
+    
Skip to content

自定义任务和流程

扩展任务

示例:

js
const { defineConfig } = require('pipflow')
 const replace = require('gulp-replace')
 
 module.exports = defineConfig({
@@ -42,8 +42,56 @@
       ]
     }
   ]
-})

创建新任务

组合任务

Released under the MIT License.

- +})

创建新任务

组合任务

在Gulp中,seriesparallel 是用于定义任务执行顺序的两个方法。

  • series() - 用于按顺序串联执行任务。通过series方法,你可以按照顺序依次执行一系列的任务。当一个任务完成后,才会执行下一个任务。
  • parallel() - 用于并行执行任务。通过parallel方法,你可以同时执行一系列的任务,而不必等待一个任务完成后再执行下一个任务。所有的任务会并行执行。

下面我们将通过 compose 类型的组合任务来创建一个构建 预发布环境 应用程序包的任务。

  1. 先查看项目下的所有任务。通过下面命令可列显所有任务:
bash
pipflow task --list
pipflow task --list
  1. 从列显的任务中选择一些任务组合为一个新的任务。
js
// pipflow.config.js
+
+const { defineConfig } = require('pipflow')
+module.exports = defineConfig({
+  // 其他配置项 ...
+  tasks: [
+    // 其他任务 ...
+    {
+      name: 'build:stag', //任务名
+      type: 'compose', //任务类型
+      input: [ //任务入口
+        'del:dest',
+        ['copy:public', 'build:image'],
+        ['build:css', 'build:js'],
+        ['build:html'],
+      ]
+    }
+  ]
+})
// pipflow.config.js
+
+const { defineConfig } = require('pipflow')
+module.exports = defineConfig({
+  // 其他配置项 ...
+  tasks: [
+    // 其他任务 ...
+    {
+      name: 'build:stag', //任务名
+      type: 'compose', //任务类型
+      input: [ //任务入口
+        'del:dest',
+        ['copy:public', 'build:image'],
+        ['build:css', 'build:js'],
+        ['build:html'],
+      ]
+    }
+  ]
+})

入口说明

compose 任务中,input入口和其他类型任务有些不同,其 input 值是一个二维数组 string[][],数组的每一项是一个任务名。

input 的值转换后的结果:

js
series(parallel('任务名', ...), parallel(...), ...)
series(parallel('任务名', ...), parallel(...), ...)
  • 数组列表表示一个串联任务,其内部是通过 series 方法执行的。
  • 数组的子项表示一个并行任务,其内部是通过 parallel 方法执行的。
  1. 执行新任务,构建用于预发布环境的应用程序包。执行如下命令:
bash
pipflow task build:stag --mode=staging
pipflow task build:stag --mode=staging

为了方便发布,你可以在 package.jsonscripts 字段内添加 build:stag 脚本

json
{
+  "scripts": {
+    "dev": "pipflow dev",
+    "build": "pipflow build",
+    "build:stag": "cross-env NODE_ENV=staging pipflow task build:stag --mode=staging" 
+  }
+}
{
+  "scripts": {
+    "dev": "pipflow dev",
+    "build": "pipflow build",
+    "build:stag": "cross-env NODE_ENV=staging pipflow task build:stag --mode=staging" 
+  }
+}

TIP

如果当前主机的环境变量 NODE 未知或不等于 !== production ,那么请在执行的命令前加上 cross-env NODE_ENV=production (确保构建主机的环境变量 NODE_ENVproduction

Released under the MIT License.

+ \ No newline at end of file diff --git a/guide/task.html b/guide/task.html index d4141c3..d410b66 100644 --- a/guide/task.html +++ b/guide/task.html @@ -7,17 +7,17 @@ - + - - - + + + -
Skip to content

概要

pipflow 内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。

主要任务类型包含:

  • html - HTML处理任务
  • script - JavaScript处理任务
  • style - CSS处理任务
  • static - 静态资源处理任务
  • image - 图片资源处理任务 (待开发)
  • server - 创建本地服务器任务
  • copy - 复制文件任务
  • remove - 删除文件任务
  • archive - 打包压缩任务
  • user - 用户自定义任务
  • compose - 组合任务

Released under the MIT License.

- +
Skip to content

概要

pipflow 内置一套完整的构建流程和多类型构建任务,实现资源的自动化处理。

主要任务类型包含:

  • html - HTML处理任务
  • script - JavaScript处理任务
  • style - CSS处理任务
  • static - 静态资源处理任务
  • image - 图片资源处理任务
  • server - 创建本地服务器任务
  • copy - 复制文件任务
  • remove - 删除文件任务
  • archive - 打包压缩任务
  • user - 用户自定义任务
  • compose - 组合任务

基于以上任务类型,你可以很容易的实现各种构建任务。既可以在已有的任务上扩展,也可以创建新的任务,还可以将已有任务和新增任务组合成新的构建任务。

下面我将详细介绍每一个任务类型,及其使用方法。

Released under the MIT License.

+ \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 75c0b3a..ffaff8f 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"config_shared-options.md":"4215ea58","markdown-examples.md":"11f46d7f","guide_task-user.md":"1a1ae04b","guide_assets.md":"7311d559","guide_env-and-mode.md":"9760ec67","guide_help.md":"b055bf74","guide_index.md":"0fc3b888","guide_task-script.md":"70d16c0a","api-examples.md":"4e179dd4","config_index.md":"181a41ee","config_server-options.md":"ad4a83fc","guide_task-more.md":"d77d71b4","config_build-options.md":"4c9e59db","guide_task.md":"32d2fa1f","guide_build.md":"cd87829e","guide_task-html.md":"35a4be42","index.md":"7e1de573","config_task-options.md":"324d3e7b","guide_task-assets.md":"1771cdae","guide_cli.md":"ae96431e","guide_task-style.md":"7cf8fe3f"} +{"config_server-options.md":"d674f251","config_shared-options.md":"5441c144","config_task-options.md":"c567d294","guide_cli.md":"ba2cf263","api-examples.md":"0c33dfdd","config_build-options.md":"fdbc3a76","config_index.md":"419bb6cb","guide_assets.md":"b79c2dfe","guide_build.md":"40b7054e","guide_task.md":"c4654cc0","index.md":"da6dba14","markdown-examples.md":"53b5e870","guide_task-style.md":"9a248d4f","guide_env-and-mode.md":"96d5abee","guide_task-script.md":"0125f4b2","guide_task-html.md":"3fba7211","guide_task-more.md":"c1da7fa9","guide_task-user.md":"5d9122db","guide_task-assets.md":"7c420f8f","guide_help.md":"eb140209","guide_index.md":"fcecd5ed"} diff --git a/index.html b/index.html index ada3fb7..49eb905 100644 --- a/index.html +++ b/index.html @@ -7,17 +7,17 @@ - + - - - + + +
Skip to content

Pipflow

开箱即用的前端开发工作流

旨在使web应用程序的开发/构建流程变得更简单!

Released under the MIT License.

- + \ No newline at end of file diff --git a/markdown-examples.html b/markdown-examples.html index 522355e..518014c 100644 --- a/markdown-examples.html +++ b/markdown-examples.html @@ -7,11 +7,11 @@ - + - - - + + + @@ -80,8 +80,8 @@ ::: details This is a details block. -:::

Output

INFO

This is an info box.

TIP

This is a tip.

WARNING

This is a warning.

DANGER

This is a dangerous warning.

Details

This is a details block.

More

Check out the documentation for the full list of markdown extensions.

Released under the MIT License.

- +:::

Output

INFO

This is an info box.

TIP

This is a tip.

WARNING

This is a warning.

DANGER

This is a dangerous warning.

Details

This is a details block.

More

Check out the documentation for the full list of markdown extensions.

Released under the MIT License.

+ \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 59d36e6..dec2cc5 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://pipflow.mengqing.org/api-examples.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/config/build-options.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/config/2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/config/server-options.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/config/shared-options.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/config/task-options.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/assets.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/build.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/cli.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/env-and-mode.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/help.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/task-assets.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/task-html.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/task-more.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/task-script.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/task-style.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/task-user.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/guide/task.html2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/2023-10-16T02:56:15.000Zhttps://pipflow.mengqing.org/markdown-examples.html2023-10-16T02:56:15.000Z \ No newline at end of file +https://pipflow.mengqing.org/api-examples.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/config/build-options.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/config/2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/config/server-options.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/config/shared-options.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/config/task-options.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/assets.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/build.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/cli.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/env-and-mode.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/help.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/task-assets.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/task-html.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/task-more.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/task-script.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/task-style.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/task-user.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/guide/task.html2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/2023-10-29T03:40:29.000Zhttps://pipflow.mengqing.org/markdown-examples.html2023-10-29T03:40:29.000Z \ No newline at end of file