From add39975cf13e59d0caf5f9db49622d545209afa Mon Sep 17 00:00:00 2001 From: arashsheyda <38922203+arashsheyda@users.noreply.github.com> Date: Sun, 18 Jun 2023 10:05:36 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20arashshe?= =?UTF-8?q?yda/nuxt-mongoose@9e867fc0b3684a8c21cfd219d60b80a2b4d44b86=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 200.html | 5 +- 404.html | 5 +- .../{Alert.c0cc7db1.js => Alert.67812a3c.js} | 2 +- .../{Badge.0895b806.js => Badge.36286601.js} | 2 +- ...Hero.4cebaf63.js => BlockHero.50dbdff5.js} | 2 +- ...ink.6797971c.js => ButtonLink.7b7e2d25.js} | 2 +- ...allout.4df0c339.js => Callout.2a3a3366.js} | 2 +- _nuxt/{Card.9025e892.js => Card.d48adef9.js} | 2 +- ...dGrid.d685da17.js => CardGrid.4d12fe88.js} | 2 +- ...lock.e7a0dbd1.js => CodeBlock.1051c725.js} | 2 +- ...roup.644929bd.js => CodeGroup.f03e63d1.js} | 2 +- ...636.js => ComponentPlayground.1139c1be.js} | 2 +- ...js => ComponentPlaygroundData.7c5569f3.js} | 2 +- ...s => ComponentPlaygroundProps.3f583f36.js} | 2 +- _nuxt/ComponentPlaygroundSlots.4a5eca36.js | 1 - _nuxt/ComponentPlaygroundSlots.9e073aeb.js | 1 + ... ComponentPlaygroundSlots.vue.28d4f6c9.js} | 2 +- _nuxt/ComponentPlaygroundTokens.7905a1ee.js | 1 - _nuxt/ComponentPlaygroundTokens.c013a3a5.js | 1 + ...ComponentPlaygroundTokens.vue.8b918a33.js} | 2 +- ...Doc.a7917ddc.js => ContentDoc.5263eb6c.js} | 2 +- ...st.780db657.js => ContentList.afeacef6.js} | 2 +- ...fc258.js => ContentNavigation.58abeb31.js} | 2 +- ...y.702e6367.js => ContentQuery.d034fecd.js} | 2 +- ...edfd656.js => ContentRenderer.54f7a8d2.js} | 2 +- ...js => ContentRendererMarkdown.d1672c0f.js} | 2 +- ...ot.77b558c1.js => ContentSlot.725c9014.js} | 2 +- ...ton.8ef62a15.js => CopyButton.be7cffec.js} | 2 +- ...side.a0678493.js => DocsAside.72ea4d6e.js} | 2 +- ...e8627347.js => DocsPageBottom.4b461a23.js} | 2 +- ...26ebcdc9.js => DocsPageLayout.8f980530.js} | 2 +- ...t.256c0770.js => DocsPrevNext.4cf934f2.js} | 2 +- ...ocsToc.a188057b.js => DocsToc.ef429e13.js} | 2 +- ...s.8f3792f3.js => DocsTocLinks.92064971.js} | 2 +- ...a10.js => DocumentDrivenEmpty.a1939bad.js} | 2 +- ....js => DocumentDrivenNotFound.fc29f11a.js} | 2 +- _nuxt/EditOnLink.212dde24.js | 1 - _nuxt/EditOnLink.d791caa8.js | 1 + ...7088074c.js => EditOnLink.vue.0c5bf15e.js} | 2 +- ...ipsis.7579942a.js => Ellipsis.73152087.js} | 2 +- ...conCSS.8156f488.js => IconCSS.3c69444c.js} | 2 +- ...f9eca88.js => IconCodeSandBox.99d6ef65.js} | 2 +- ...ocus.fb83b1bb.js => IconDocus.d489610c.js} | 2 +- ...nNuxt.9eee3bc5.js => IconNuxt.3f93e1c4.js} | 2 +- ...4ee47bb.js => IconNuxtContent.9d1cdb08.js} | 2 +- ...s.7497cc0e.js => IconNuxtLabs.fd37cfef.js} | 2 +- ...410f773f.js => IconNuxtStudio.181cfe8e.js} | 2 +- ...5066853f.js => IconStackBlitz.77aa8391.js} | 2 +- ...d58166.js => IconVueTelescope.86cd0418.js} | 2 +- _nuxt/{List.2d156f73.js => List.32b85bf9.js} | 2 +- ...kdown.3c2726e6.js => Markdown.916a9d8a.js} | 2 +- _nuxt/NuxtImg.8bbf27a7.js | 1 - _nuxt/NuxtImg.b4d6da68.js | 1 + ...ue.2824c321.js => NuxtImg.vue.ca83f6df.js} | 2 +- ....0e16bb8d.js => PreviewLayout.afd75d63.js} | 2 +- .../{Props.6925c5e2.js => Props.c69907e8.js} | 2 +- ...{ProseA.ca1f4c92.js => ProseA.c5ff1621.js} | 2 +- ...4bbe079.js => ProseBlockquote.cdef9469.js} | 2 +- ...Code.d9498d20.js => ProseCode.a6112aad.js} | 2 +- ...8572d5e.js => ProseCodeInline.b7a651bb.js} | 2 +- ...roseEm.69eea3ce.js => ProseEm.ee2a244d.js} | 2 +- ...roseH1.fca92df8.js => ProseH1.2452ef57.js} | 2 +- ...roseH2.d485fff4.js => ProseH2.cf849b55.js} | 2 +- ...roseH3.7d7afd26.js => ProseH3.86ea161f.js} | 2 +- ...roseH4.9de664b0.js => ProseH4.3236b3b0.js} | 2 +- ...roseH5.7b359007.js => ProseH5.1f5561d7.js} | 2 +- ...roseH6.db61bb9d.js => ProseH6.82ccf283.js} | 2 +- ...roseHr.689d9f61.js => ProseHr.561cf66e.js} | 2 +- ...seImg.89fc2fda.js => ProseImg.56b34672.js} | 2 +- ...roseLi.d7a38b79.js => ProseLi.ee3d02d1.js} | 2 +- ...roseOl.1b4506ee.js => ProseOl.2f8bae7e.js} | 2 +- ...{ProseP.5f057a9e.js => ProseP.2d3578ce.js} | 2 +- ...ng.2a943fe2.js => ProseStrong.31c377ca.js} | 2 +- ...ble.0dd08eb9.js => ProseTable.4c735734.js} | 2 +- ...ody.2bf4a4e4.js => ProseTbody.a58122e4.js} | 2 +- ...roseTd.4fce2921.js => ProseTd.879b42af.js} | 2 +- ...roseTh.19e35f2f.js => ProseTh.ffa0ed16.js} | 2 +- ...ead.1503cc04.js => ProseThead.8c57fbed.js} | 2 +- ...roseTr.56b84ee2.js => ProseTr.c9eb84d1.js} | 2 +- ...roseUl.9dd56fba.js => ProseUl.ea2806f7.js} | 2 +- ...andbox.2df054bd.js => Sandbox.7607cf49.js} | 2 +- _nuxt/SourceLink.74792f8e.js | 1 + _nuxt/SourceLink.ae455d93.js | 1 - ...der.a59f3bef.js => TabsHeader.ecb32c9c.js} | 2 +- ...minal.91cd41a8.js => Terminal.ec98784b.js} | 2 +- ...0fb78c.js => TokensPlayground.1a087e87.js} | 2 +- ...er.46820105.js => VideoPlayer.29447bcb.js} | 2 +- ...ard.9709f00f.js => VoltaBoard.19a643dc.js} | 2 +- ...Data.fd6c0ee7.js => asyncData.b0a53602.js} | 2 +- ...t-db.eca98775.js => client-db.d86ea5ab.js} | 2 +- .../{debug.302d3adc.js => debug.e8a3e602.js} | 2 +- _nuxt/default.33e71634.js | 1 + _nuxt/default.402f08c2.js | 1 - ...ce9ea59.js => document-driven.d93d0675.js} | 2 +- .../{entry.ed643c4e.js => entry.4bb11f8f.js} | 8 +-- ...-404.e549e705.js => error-404.44168789.js} | 2 +- ...-500.c063357a.js => error-500.9da06ce0.js} | 2 +- ...4f3ea91.js => error-component.e46b3ac9.js} | 4 +- .../{index.8e6a446a.js => index.9d1c1506.js} | 2 +- _nuxt/{page.9d1cc5bc.js => page.2d5e4249.js} | 2 +- ...udio.30611511.js => useStudio.04562908.js} | 2 +- api/_content/cache.1687082481087.json | 1 - api/_content/cache.1687082698783.json | 1 + ...087.json => u7BbTyuhiE.1687082698783.json} | 0 ...087.json => ESs0FnB4WF.1687082698783.json} | 0 ...087.json => VvGAWv4HRl.1687082698783.json} | 0 ...087.json => XBhGGyCXGR.1687082698783.json} | 2 +- ...087.json => XtgCGvT2xN.1687082698783.json} | 0 ...087.json => YIMd7yQcGd.1687082698783.json} | 0 ...087.json => brX4CwCJoQ.1687082698783.json} | 0 ...087.json => g9pY1CqBBn.1687082698783.json} | 2 +- ...087.json => kM9p24TYPU.1687082698783.json} | 2 +- ...087.json => nEPUGZ7imQ.1687082698783.json} | 0 ...087.json => xWeY3NfYtX.1687082698783.json} | 0 api/devtools/index.html | 5 +- api/utils/index.html | 59 ++++++++++--------- getting-started/configuration/index.html | 41 ++++++------- getting-started/setup/index.html | 49 +++++++-------- index.html | 5 +- 119 files changed, 189 insertions(+), 182 deletions(-) rename _nuxt/{Alert.c0cc7db1.js => Alert.67812a3c.js} (75%) rename _nuxt/{Badge.0895b806.js => Badge.36286601.js} (72%) rename _nuxt/{BlockHero.4cebaf63.js => BlockHero.50dbdff5.js} (83%) rename _nuxt/{ButtonLink.6797971c.js => ButtonLink.7b7e2d25.js} (91%) rename _nuxt/{Callout.4df0c339.js => Callout.2a3a3366.js} (86%) rename _nuxt/{Card.9025e892.js => Card.d48adef9.js} (82%) rename _nuxt/{CardGrid.d685da17.js => CardGrid.4d12fe88.js} (78%) rename _nuxt/{CodeBlock.e7a0dbd1.js => CodeBlock.1051c725.js} (69%) rename _nuxt/{CodeGroup.644929bd.js => CodeGroup.f03e63d1.js} (88%) rename _nuxt/{ComponentPlayground.b267e636.js => ComponentPlayground.1139c1be.js} (79%) rename _nuxt/{ComponentPlaygroundData.e2407409.js => ComponentPlaygroundData.7c5569f3.js} (65%) rename _nuxt/{ComponentPlaygroundProps.18200ddb.js => ComponentPlaygroundProps.3f583f36.js} (77%) delete mode 100644 _nuxt/ComponentPlaygroundSlots.4a5eca36.js create mode 100644 _nuxt/ComponentPlaygroundSlots.9e073aeb.js rename _nuxt/{ComponentPlaygroundSlots.vue.05411867.js => ComponentPlaygroundSlots.vue.28d4f6c9.js} (80%) delete mode 100644 _nuxt/ComponentPlaygroundTokens.7905a1ee.js create mode 100644 _nuxt/ComponentPlaygroundTokens.c013a3a5.js rename _nuxt/{ComponentPlaygroundTokens.vue.ff8b8838.js => ComponentPlaygroundTokens.vue.8b918a33.js} (77%) rename _nuxt/{ContentDoc.a7917ddc.js => ContentDoc.5263eb6c.js} (86%) rename _nuxt/{ContentList.780db657.js => ContentList.afeacef6.js} (85%) rename _nuxt/{ContentNavigation.4c3fc258.js => ContentNavigation.58abeb31.js} (85%) rename _nuxt/{ContentQuery.702e6367.js => ContentQuery.d034fecd.js} (91%) rename _nuxt/{ContentRenderer.7edfd656.js => ContentRenderer.54f7a8d2.js} (89%) rename _nuxt/{ContentRendererMarkdown.32fe2ab3.js => ContentRendererMarkdown.d1672c0f.js} (99%) rename _nuxt/{ContentSlot.77b558c1.js => ContentSlot.725c9014.js} (86%) rename _nuxt/{CopyButton.8ef62a15.js => CopyButton.be7cffec.js} (91%) rename _nuxt/{DocsAside.a0678493.js => DocsAside.72ea4d6e.js} (89%) rename _nuxt/{DocsPageBottom.e8627347.js => DocsPageBottom.4b461a23.js} (87%) rename _nuxt/{DocsPageLayout.26ebcdc9.js => DocsPageLayout.8f980530.js} (83%) rename _nuxt/{DocsPrevNext.256c0770.js => DocsPrevNext.4cf934f2.js} (90%) rename _nuxt/{DocsToc.a188057b.js => DocsToc.ef429e13.js} (80%) rename _nuxt/{DocsTocLinks.8f3792f3.js => DocsTocLinks.92064971.js} (96%) rename _nuxt/{DocumentDrivenEmpty.f6bb8a10.js => DocumentDrivenEmpty.a1939bad.js} (77%) rename _nuxt/{DocumentDrivenNotFound.c186b31a.js => DocumentDrivenNotFound.fc29f11a.js} (74%) delete mode 100644 _nuxt/EditOnLink.212dde24.js create mode 100644 _nuxt/EditOnLink.d791caa8.js rename _nuxt/{EditOnLink.vue.7088074c.js => EditOnLink.vue.0c5bf15e.js} (97%) rename _nuxt/{Ellipsis.7579942a.js => Ellipsis.73152087.js} (95%) rename _nuxt/{IconCSS.8156f488.js => IconCSS.3c69444c.js} (92%) rename _nuxt/{IconCodeSandBox.cf9eca88.js => IconCodeSandBox.99d6ef65.js} (84%) rename _nuxt/{IconDocus.fb83b1bb.js => IconDocus.d489610c.js} (91%) rename _nuxt/{IconNuxt.9eee3bc5.js => IconNuxt.3f93e1c4.js} (94%) rename _nuxt/{IconNuxtContent.f4ee47bb.js => IconNuxtContent.9d1cdb08.js} (94%) rename _nuxt/{IconNuxtLabs.7497cc0e.js => IconNuxtLabs.fd37cfef.js} (94%) rename _nuxt/{IconNuxtStudio.410f773f.js => IconNuxtStudio.181cfe8e.js} (89%) rename _nuxt/{IconStackBlitz.5066853f.js => IconStackBlitz.77aa8391.js} (81%) rename _nuxt/{IconVueTelescope.5bd58166.js => IconVueTelescope.86cd0418.js} (91%) rename _nuxt/{List.2d156f73.js => List.32b85bf9.js} (92%) rename _nuxt/{Markdown.3c2726e6.js => Markdown.916a9d8a.js} (61%) delete mode 100644 _nuxt/NuxtImg.8bbf27a7.js create mode 100644 _nuxt/NuxtImg.b4d6da68.js rename _nuxt/{NuxtImg.vue.2824c321.js => NuxtImg.vue.ca83f6df.js} (89%) rename _nuxt/{PreviewLayout.0e16bb8d.js => PreviewLayout.afd75d63.js} (74%) rename _nuxt/{Props.6925c5e2.js => Props.c69907e8.js} (87%) rename _nuxt/{ProseA.ca1f4c92.js => ProseA.c5ff1621.js} (84%) rename _nuxt/{ProseBlockquote.e4bbe079.js => ProseBlockquote.cdef9469.js} (73%) rename _nuxt/{ProseCode.d9498d20.js => ProseCode.a6112aad.js} (92%) rename _nuxt/{ProseCodeInline.88572d5e.js => ProseCodeInline.b7a651bb.js} (72%) rename _nuxt/{ProseEm.69eea3ce.js => ProseEm.ee2a244d.js} (72%) rename _nuxt/{ProseH1.fca92df8.js => ProseH1.2452ef57.js} (91%) rename _nuxt/{ProseH2.d485fff4.js => ProseH2.cf849b55.js} (91%) rename _nuxt/{ProseH3.7d7afd26.js => ProseH3.86ea161f.js} (91%) rename _nuxt/{ProseH4.9de664b0.js => ProseH4.3236b3b0.js} (91%) rename _nuxt/{ProseH5.7b359007.js => ProseH5.1f5561d7.js} (91%) rename _nuxt/{ProseH6.db61bb9d.js => ProseH6.82ccf283.js} (91%) rename _nuxt/{ProseHr.689d9f61.js => ProseHr.561cf66e.js} (64%) rename _nuxt/{ProseImg.89fc2fda.js => ProseImg.56b34672.js} (89%) rename _nuxt/{ProseLi.d7a38b79.js => ProseLi.ee3d02d1.js} (72%) rename _nuxt/{ProseOl.1b4506ee.js => ProseOl.2f8bae7e.js} (72%) rename _nuxt/{ProseP.5f057a9e.js => ProseP.2d3578ce.js} (72%) rename _nuxt/{ProseStrong.2a943fe2.js => ProseStrong.31c377ca.js} (72%) rename _nuxt/{ProseTable.0dd08eb9.js => ProseTable.4c735734.js} (77%) rename _nuxt/{ProseTbody.2bf4a4e4.js => ProseTbody.a58122e4.js} (66%) rename _nuxt/{ProseTd.4fce2921.js => ProseTd.879b42af.js} (72%) rename _nuxt/{ProseTh.19e35f2f.js => ProseTh.ffa0ed16.js} (72%) rename _nuxt/{ProseThead.1503cc04.js => ProseThead.8c57fbed.js} (72%) rename _nuxt/{ProseTr.56b84ee2.js => ProseTr.c9eb84d1.js} (72%) rename _nuxt/{ProseUl.9dd56fba.js => ProseUl.ea2806f7.js} (72%) rename _nuxt/{Sandbox.2df054bd.js => Sandbox.7607cf49.js} (91%) create mode 100644 _nuxt/SourceLink.74792f8e.js delete mode 100644 _nuxt/SourceLink.ae455d93.js rename _nuxt/{TabsHeader.a59f3bef.js => TabsHeader.ecb32c9c.js} (94%) rename _nuxt/{Terminal.91cd41a8.js => Terminal.ec98784b.js} (89%) rename _nuxt/{TokensPlayground.ce0fb78c.js => TokensPlayground.1a087e87.js} (74%) rename _nuxt/{VideoPlayer.46820105.js => VideoPlayer.29447bcb.js} (93%) rename _nuxt/{VoltaBoard.9709f00f.js => VoltaBoard.19a643dc.js} (79%) rename _nuxt/{asyncData.fd6c0ee7.js => asyncData.b0a53602.js} (97%) rename _nuxt/{client-db.eca98775.js => client-db.d86ea5ab.js} (99%) rename _nuxt/{debug.302d3adc.js => debug.e8a3e602.js} (89%) create mode 100644 _nuxt/default.33e71634.js delete mode 100644 _nuxt/default.402f08c2.js rename _nuxt/{document-driven.8ce9ea59.js => document-driven.d93d0675.js} (71%) rename _nuxt/{entry.ed643c4e.js => entry.4bb11f8f.js} (89%) rename _nuxt/{error-404.e549e705.js => error-404.44168789.js} (97%) rename _nuxt/{error-500.c063357a.js => error-500.9da06ce0.js} (96%) rename _nuxt/{error-component.44f3ea91.js => error-component.e46b3ac9.js} (71%) rename _nuxt/{index.8e6a446a.js => index.9d1c1506.js} (98%) rename _nuxt/{page.9d1cc5bc.js => page.2d5e4249.js} (88%) rename _nuxt/{useStudio.30611511.js => useStudio.04562908.js} (98%) delete mode 100644 api/_content/cache.1687082481087.json create mode 100644 api/_content/cache.1687082698783.json rename api/_content/navigation/{u7BbTyuhiE.1687082481087.json => u7BbTyuhiE.1687082698783.json} (100%) rename api/_content/query/{ESs0FnB4WF.1687082481087.json => ESs0FnB4WF.1687082698783.json} (100%) rename api/_content/query/{VvGAWv4HRl.1687082481087.json => VvGAWv4HRl.1687082698783.json} (100%) rename api/_content/query/{XBhGGyCXGR.1687082481087.json => XBhGGyCXGR.1687082698783.json} (67%) rename api/_content/query/{XtgCGvT2xN.1687082481087.json => XtgCGvT2xN.1687082698783.json} (100%) rename api/_content/query/{YIMd7yQcGd.1687082481087.json => YIMd7yQcGd.1687082698783.json} (100%) rename api/_content/query/{brX4CwCJoQ.1687082481087.json => brX4CwCJoQ.1687082698783.json} (100%) rename api/_content/query/{g9pY1CqBBn.1687082481087.json => g9pY1CqBBn.1687082698783.json} (79%) rename api/_content/query/{kM9p24TYPU.1687082481087.json => kM9p24TYPU.1687082698783.json} (61%) rename api/_content/query/{nEPUGZ7imQ.1687082481087.json => nEPUGZ7imQ.1687082698783.json} (100%) rename api/_content/query/{xWeY3NfYtX.1687082481087.json => xWeY3NfYtX.1687082698783.json} (100%) diff --git a/200.html b/200.html index fb627df..c9c21d9 100644 --- a/200.html +++ b/200.html @@ -1,7 +1,8 @@ - -
+
\ No newline at end of file diff --git a/404.html b/404.html index fb627df..c9c21d9 100644 --- a/404.html +++ b/404.html @@ -1,7 +1,8 @@ - -
+
\ No newline at end of file diff --git a/_nuxt/Alert.c0cc7db1.js b/_nuxt/Alert.67812a3c.js similarity index 75% rename from _nuxt/Alert.c0cc7db1.js rename to _nuxt/Alert.67812a3c.js index 62106f3..2cdc793 100644 --- a/_nuxt/Alert.c0cc7db1.js +++ b/_nuxt/Alert.67812a3c.js @@ -1 +1 @@ -import s from"./ContentSlot.77b558c1.js";import{a,o,i as r,k as _,m as c,j as l,x as p}from"./entry.ed643c4e.js";const i={class:"alert-content"},d=a({__name:"Alert",props:{type:{type:String,default:"info",validator(e){return["info","success","warning","danger","primary"].includes(e)}}},setup(e){return(t,u)=>{const n=s;return o(),r("div",{class:l(["alert",[e.type]])},[_("div",i,[c(n,{use:t.$slots.default,unwrap:"p"},null,8,["use"])])],2)}}});const v=p(d,[["__scopeId","data-v-ffb9cc56"]]);export{v as default}; +import s from"./ContentSlot.725c9014.js";import{a,o,i as r,k as _,m as c,j as l,x as p}from"./entry.4bb11f8f.js";const i={class:"alert-content"},d=a({__name:"Alert",props:{type:{type:String,default:"info",validator(e){return["info","success","warning","danger","primary"].includes(e)}}},setup(e){return(t,u)=>{const n=s;return o(),r("div",{class:l(["alert",[e.type]])},[_("div",i,[c(n,{use:t.$slots.default,unwrap:"p"},null,8,["use"])])],2)}}});const v=p(d,[["__scopeId","data-v-ffb9cc56"]]);export{v as default}; diff --git a/_nuxt/Badge.0895b806.js b/_nuxt/Badge.36286601.js similarity index 72% rename from _nuxt/Badge.0895b806.js rename to _nuxt/Badge.36286601.js index 550b350..7ac5b50 100644 --- a/_nuxt/Badge.0895b806.js +++ b/_nuxt/Badge.36286601.js @@ -1 +1 @@ -import a from"./ContentSlot.77b558c1.js";import{a as s,o,i as _,m as r,j as c,x as p}from"./entry.ed643c4e.js";const d=s({__name:"Badge",props:{type:{type:String,default:"info",validator(e){return["info","success","warning","danger","primary"].includes(e)}}},setup(e){return(n,l)=>{const t=a;return o(),_("span",{class:c([[e.type],"badge"])},[r(t,{use:n.$slots.default,unwrap:"p"},null,8,["use"])],2)}}});const m=p(d,[["__scopeId","data-v-35fd83d3"]]);export{m as default}; +import a from"./ContentSlot.725c9014.js";import{a as s,o,i as _,m as r,j as c,x as p}from"./entry.4bb11f8f.js";const d=s({__name:"Badge",props:{type:{type:String,default:"info",validator(e){return["info","success","warning","danger","primary"].includes(e)}}},setup(e){return(n,l)=>{const t=a;return o(),_("span",{class:c([[e.type],"badge"])},[r(t,{use:n.$slots.default,unwrap:"p"},null,8,["use"])],2)}}});const m=p(d,[["__scopeId","data-v-35fd83d3"]]);export{m as default}; diff --git a/_nuxt/BlockHero.4cebaf63.js b/_nuxt/BlockHero.50dbdff5.js similarity index 83% rename from _nuxt/BlockHero.4cebaf63.js rename to _nuxt/BlockHero.50dbdff5.js index c8c4f31..46fa894 100644 --- a/_nuxt/BlockHero.4cebaf63.js +++ b/_nuxt/BlockHero.50dbdff5.js @@ -1 +1 @@ -import f from"./ContentSlot.77b558c1.js";import y from"./ButtonLink.6797971c.js";import h from"./Terminal.91cd41a8.js";import k from"./VideoPlayer.46820105.js";import{a as v,o as s,i as a,k as o,m as c,l as r,w as i,S as u,c as l,F as $,t as d,K as B,x as w}from"./entry.ed643c4e.js";import"./index.8e6a446a.js";import"./NuxtImg.vue.2824c321.js";const S={class:"block-hero"},g={class:"layout"},H={class:"content"},V={key:0,class:"announce"},b={class:"title"},q={class:"description"},x={key:1,class:"extra"},C={class:"actions"},N=["href"],A={class:"support"},T=v({__name:"BlockHero",props:{cta:{type:Array,required:!1,default:()=>[]},secondary:{type:Array,required:!1,default:()=>[]},video:{type:String,required:!1,default:""},snippet:{type:[Array,String],required:!1,default:""}},setup(e){return(t,F)=>{const n=f,_=y,p=h,m=k;return s(),a("section",S,[o("div",g,[o("div",H,[t.$slots.announce?(s(),a("p",V,[c(n,{use:t.$slots.announce,unwrap:"p"},null,8,["use"])])):r("",!0),o("h1",b,[c(n,{use:t.$slots.title,unwrap:"p"},{default:i(()=>[u(" Hero Title ")]),_:1},8,["use"])]),o("p",q,[c(n,{use:t.$slots.description,unwrap:"p"},{default:i(()=>[u(" Hero default description. ")]),_:1},8,["use"])]),t.$slots.extra?(s(),a("div",x,[c(n,{use:t.$slots.extra,unwrap:"p"},null,8,["use"])])):r("",!0),o("div",C,[t.$slots.actions?(s(),l(n,{key:0,use:t.$slots.actions,unwrap:"p"},null,8,["use"])):(s(),a($,{key:1},[e.cta?(s(),l(_,{key:0,class:"cta",bold:"",size:"medium",href:e.cta[1]},{default:i(()=>[u(d(e.cta[0]),1)]),_:1},8,["href"])):r("",!0),e.secondary?(s(),a("a",{key:1,href:e.secondary[1],class:"secondary"},d(e.secondary[0]),9,N)):r("",!0)],64))])]),o("div",A,[B(t.$slots,"support",{},()=>[e.snippet?(s(),l(p,{key:0,content:e.snippet},null,8,["content"])):e.video?(s(),l(m,{key:1,src:e.video},null,8,["src"])):r("",!0)],!0)])])])}}});const j=w(T,[["__scopeId","data-v-b7c89672"]]);export{j as default}; +import f from"./ContentSlot.725c9014.js";import y from"./ButtonLink.7b7e2d25.js";import h from"./Terminal.ec98784b.js";import k from"./VideoPlayer.29447bcb.js";import{a as v,o as s,i as a,k as o,m as c,l as r,w as i,S as u,c as l,F as $,t as d,K as B,x as w}from"./entry.4bb11f8f.js";import"./index.9d1c1506.js";import"./NuxtImg.vue.ca83f6df.js";const S={class:"block-hero"},g={class:"layout"},H={class:"content"},V={key:0,class:"announce"},b={class:"title"},q={class:"description"},x={key:1,class:"extra"},C={class:"actions"},N=["href"],A={class:"support"},T=v({__name:"BlockHero",props:{cta:{type:Array,required:!1,default:()=>[]},secondary:{type:Array,required:!1,default:()=>[]},video:{type:String,required:!1,default:""},snippet:{type:[Array,String],required:!1,default:""}},setup(e){return(t,F)=>{const n=f,_=y,p=h,m=k;return s(),a("section",S,[o("div",g,[o("div",H,[t.$slots.announce?(s(),a("p",V,[c(n,{use:t.$slots.announce,unwrap:"p"},null,8,["use"])])):r("",!0),o("h1",b,[c(n,{use:t.$slots.title,unwrap:"p"},{default:i(()=>[u(" Hero Title ")]),_:1},8,["use"])]),o("p",q,[c(n,{use:t.$slots.description,unwrap:"p"},{default:i(()=>[u(" Hero default description. ")]),_:1},8,["use"])]),t.$slots.extra?(s(),a("div",x,[c(n,{use:t.$slots.extra,unwrap:"p"},null,8,["use"])])):r("",!0),o("div",C,[t.$slots.actions?(s(),l(n,{key:0,use:t.$slots.actions,unwrap:"p"},null,8,["use"])):(s(),a($,{key:1},[e.cta?(s(),l(_,{key:0,class:"cta",bold:"",size:"medium",href:e.cta[1]},{default:i(()=>[u(d(e.cta[0]),1)]),_:1},8,["href"])):r("",!0),e.secondary?(s(),a("a",{key:1,href:e.secondary[1],class:"secondary"},d(e.secondary[0]),9,N)):r("",!0)],64))])]),o("div",A,[B(t.$slots,"support",{},()=>[e.snippet?(s(),l(p,{key:0,content:e.snippet},null,8,["content"])):e.video?(s(),l(m,{key:1,src:e.video},null,8,["src"])):r("",!0)],!0)])])])}}});const j=w(T,[["__scopeId","data-v-b7c89672"]]);export{j as default}; diff --git a/_nuxt/ButtonLink.6797971c.js b/_nuxt/ButtonLink.7b7e2d25.js similarity index 91% rename from _nuxt/ButtonLink.6797971c.js rename to _nuxt/ButtonLink.7b7e2d25.js index 7c3082a..df095aa 100644 --- a/_nuxt/ButtonLink.6797971c.js +++ b/_nuxt/ButtonLink.7b7e2d25.js @@ -1 +1 @@ -import{a as d,U as m,I as a,J as f,o,c as s,w as g,l as x,m as S,j as b,u as h,L as y,M as k,x as z}from"./entry.ed643c4e.js";import H from"./ContentSlot.77b558c1.js";const $=d({__name:"ButtonLink",props:{blank:{type:Boolean,required:!1,default:!1},color:m("primary"),href:{type:String,required:!0,default:""},icon:{type:String,default:""},size:{required:!1,type:[String,Object],default:"medium"},transparent:{required:!1,type:[Boolean,Object],default:!1}},setup(e){const n=e,i=a(()=>((t=n)=>`{color.${t.color}.600}`)()),l=a(()=>((t=n)=>`{color.${t.color}.500}`)()),c={size:{small:{padding:"{space.2} {space.4}",fontSize:"{text.sm.fontSize}",lineHeight:"{text.sm.lineHeight}"},medium:{padding:"{space.rem.625} {space.5}",fontSize:"{text.base.fontSize}",lineHeight:"{text.base.lineHeight}"},large:{padding:"{space.3} {space.6}",fontSize:"{text.lg.fontSize}",lineHeight:"{text.lg.lineHeight}"},giant:{padding:"{space.4} {space.8}",fontSize:"{text.lg.fontSize}",lineHeight:"{text.lg.lineHeight}"}},transparent:{true:{backgroundColor:"transparent"}}},{$pinceau:r}=f(n,c,{_YM9_buttonPrimary:i,_A23_buttonSecondary:l});return(t,B)=>{const u=y,_=H,p=k;return o(),s(p,{class:b(["button-link",[h(r)]]),to:e.href,target:e.blank?"_blank":void 0},{default:g(()=>[e.icon?(o(),s(u,{key:0,name:e.icon},null,8,["name"])):x("",!0),S(_,{use:t.$slots.default,unwrap:"p ul li"},null,8,["use"])]),_:1},8,["to","target","class"])}}});const v=z($,[["__scopeId","data-v-614b3880"]]);export{v as default}; +import{a as d,U as m,I as a,J as f,o,c as s,w as g,l as x,m as S,j as b,u as h,L as y,M as k,x as z}from"./entry.4bb11f8f.js";import H from"./ContentSlot.725c9014.js";const $=d({__name:"ButtonLink",props:{blank:{type:Boolean,required:!1,default:!1},color:m("primary"),href:{type:String,required:!0,default:""},icon:{type:String,default:""},size:{required:!1,type:[String,Object],default:"medium"},transparent:{required:!1,type:[Boolean,Object],default:!1}},setup(e){const n=e,i=a(()=>((t=n)=>`{color.${t.color}.600}`)()),l=a(()=>((t=n)=>`{color.${t.color}.500}`)()),c={size:{small:{padding:"{space.2} {space.4}",fontSize:"{text.sm.fontSize}",lineHeight:"{text.sm.lineHeight}"},medium:{padding:"{space.rem.625} {space.5}",fontSize:"{text.base.fontSize}",lineHeight:"{text.base.lineHeight}"},large:{padding:"{space.3} {space.6}",fontSize:"{text.lg.fontSize}",lineHeight:"{text.lg.lineHeight}"},giant:{padding:"{space.4} {space.8}",fontSize:"{text.lg.fontSize}",lineHeight:"{text.lg.lineHeight}"}},transparent:{true:{backgroundColor:"transparent"}}},{$pinceau:r}=f(n,c,{_YM9_buttonPrimary:i,_A23_buttonSecondary:l});return(t,B)=>{const u=y,_=H,p=k;return o(),s(p,{class:b(["button-link",[h(r)]]),to:e.href,target:e.blank?"_blank":void 0},{default:g(()=>[e.icon?(o(),s(u,{key:0,name:e.icon},null,8,["name"])):x("",!0),S(_,{use:t.$slots.default,unwrap:"p ul li"},null,8,["use"])]),_:1},8,["to","target","class"])}}});const v=z($,[["__scopeId","data-v-614b3880"]]);export{v as default}; diff --git a/_nuxt/Callout.4df0c339.js b/_nuxt/Callout.2a3a3366.js similarity index 86% rename from _nuxt/Callout.4df0c339.js rename to _nuxt/Callout.2a3a3366.js index 5a550d1..2313c40 100644 --- a/_nuxt/Callout.4df0c339.js +++ b/_nuxt/Callout.2a3a3366.js @@ -1 +1 @@ -import p from"./ContentSlot.77b558c1.js";import{a as d,r as l,o as m,i as f,k as a,m as o,j as c,u as r,ad as v,ae as h,L as y,x as g}from"./entry.ed643c4e.js";const C={class:"summary"},V={class:"content"},k=d({__name:"Callout",props:{type:{type:String,default:"info",validator(s){return["info","success","warning","danger","primary"].includes(s)}},modelValue:{required:!1,default:()=>l(!1)}},emits:["update:modelValue"],setup(s,{emit:u}){const e=l(s.modelValue),i=()=>{e.value=!e.value,u("update:modelValue",e.value)};return(t,x)=>{const n=p,_=y;return m(),f("div",{class:c(["callout",[s.type]])},[a("span",{class:"preview",onClick:i},[a("span",C,[o(n,{use:t.$slots.summary},null,8,["use"])]),o(_,{name:"heroicons-outline:chevron-right",class:c(["icon",[r(e)&&"rotate"]])},null,8,["class"])]),v(a("div",V,[o(n,{use:t.$slots.content},null,8,["use"])],512),[[h,r(e)]])],2)}}});const $=g(k,[["__scopeId","data-v-961b73c7"]]);export{$ as default}; +import p from"./ContentSlot.725c9014.js";import{a as d,r as l,o as m,i as f,k as a,m as o,j as c,u as r,ad as v,ae as h,L as y,x as g}from"./entry.4bb11f8f.js";const C={class:"summary"},V={class:"content"},k=d({__name:"Callout",props:{type:{type:String,default:"info",validator(s){return["info","success","warning","danger","primary"].includes(s)}},modelValue:{required:!1,default:()=>l(!1)}},emits:["update:modelValue"],setup(s,{emit:u}){const e=l(s.modelValue),i=()=>{e.value=!e.value,u("update:modelValue",e.value)};return(t,x)=>{const n=p,_=y;return m(),f("div",{class:c(["callout",[s.type]])},[a("span",{class:"preview",onClick:i},[a("span",C,[o(n,{use:t.$slots.summary},null,8,["use"])]),o(_,{name:"heroicons-outline:chevron-right",class:c(["icon",[r(e)&&"rotate"]])},null,8,["class"])]),v(a("div",V,[o(n,{use:t.$slots.content},null,8,["use"])],512),[[h,r(e)]])],2)}}});const $=g(k,[["__scopeId","data-v-961b73c7"]]);export{$ as default}; diff --git a/_nuxt/Card.9025e892.js b/_nuxt/Card.d48adef9.js similarity index 82% rename from _nuxt/Card.9025e892.js rename to _nuxt/Card.d48adef9.js index f5d77d9..bdbde39 100644 --- a/_nuxt/Card.9025e892.js +++ b/_nuxt/Card.d48adef9.js @@ -1 +1 @@ -import{a as d,o as a,i,c as l,l as p,K as u,k as t,m as n,w as c,S as r,L as m,x as f}from"./entry.ed643c4e.js";import C from"./ContentSlot.77b558c1.js";const b={class:"card"},h={class:"title"},v={class:"description"},k=d({__name:"Card",props:{icon:{type:String,default:""}},setup(o){return(e,x)=>{const _=m,s=C;return a(),i("div",b,[o.icon?(a(),l(_,{key:0,name:o.icon},null,8,["name"])):p("",!0),u(e.$slots,"default",{},void 0,!0),t("div",null,[t("h3",h,[n(s,{use:e.$slots.title,unwrap:"p"},{default:c(()=>[r(" Card title ")]),_:1},8,["use"])]),t("p",v,[n(s,{use:e.$slots.description,unwrap:"p"},{default:c(()=>[r(" Card description ")]),_:1},8,["use"])])])])}}});const B=f(k,[["__scopeId","data-v-7b5b6b25"]]);export{B as default}; +import{a as d,o as a,i,c as l,l as p,K as u,k as t,m as n,w as c,S as r,L as m,x as f}from"./entry.4bb11f8f.js";import C from"./ContentSlot.725c9014.js";const b={class:"card"},h={class:"title"},v={class:"description"},k=d({__name:"Card",props:{icon:{type:String,default:""}},setup(o){return(e,x)=>{const _=m,s=C;return a(),i("div",b,[o.icon?(a(),l(_,{key:0,name:o.icon},null,8,["name"])):p("",!0),u(e.$slots,"default",{},void 0,!0),t("div",null,[t("h3",h,[n(s,{use:e.$slots.title,unwrap:"p"},{default:c(()=>[r(" Card title ")]),_:1},8,["use"])]),t("p",v,[n(s,{use:e.$slots.description,unwrap:"p"},{default:c(()=>[r(" Card description ")]),_:1},8,["use"])])])])}}});const B=f(k,[["__scopeId","data-v-7b5b6b25"]]);export{B as default}; diff --git a/_nuxt/CardGrid.d685da17.js b/_nuxt/CardGrid.4d12fe88.js similarity index 78% rename from _nuxt/CardGrid.d685da17.js rename to _nuxt/CardGrid.4d12fe88.js index 77b0322..0643b37 100644 --- a/_nuxt/CardGrid.d685da17.js +++ b/_nuxt/CardGrid.4d12fe88.js @@ -1 +1 @@ -import r from"./ContentSlot.77b558c1.js";import{a as n,o as _,i as d,m as s,k as o,w as c,S as i,t as l,K as u,x as p}from"./entry.ed643c4e.js";const m={class:"card-grid"},f={class:"title"},h={class:"layout"},C=n({__name:"CardGrid",props:{title:{type:String,default:"Features"}},setup(a){return(e,v)=>{const t=r;return _(),d("section",m,[s(t,{use:e.$slots.root},null,8,["use"]),o("h2",f,[s(t,{use:e.$slots.title,unwrap:"p"},{default:c(()=>[i(l(a.title),1)]),_:1},8,["use"])]),o("div",h,[u(e.$slots,"default",{},void 0,!0)])])}}});const g=p(C,[["__scopeId","data-v-e09c77a3"]]);export{g as default}; +import r from"./ContentSlot.725c9014.js";import{a as n,o as _,i as d,m as s,k as o,w as c,S as i,t as l,K as u,x as p}from"./entry.4bb11f8f.js";const m={class:"card-grid"},f={class:"title"},h={class:"layout"},C=n({__name:"CardGrid",props:{title:{type:String,default:"Features"}},setup(a){return(e,v)=>{const t=r;return _(),d("section",m,[s(t,{use:e.$slots.root},null,8,["use"]),o("h2",f,[s(t,{use:e.$slots.title,unwrap:"p"},{default:c(()=>[i(l(a.title),1)]),_:1},8,["use"])]),o("div",h,[u(e.$slots,"default",{},void 0,!0)])])}}});const g=p(C,[["__scopeId","data-v-e09c77a3"]]);export{g as default}; diff --git a/_nuxt/CodeBlock.e7a0dbd1.js b/_nuxt/CodeBlock.1051c725.js similarity index 69% rename from _nuxt/CodeBlock.e7a0dbd1.js rename to _nuxt/CodeBlock.1051c725.js index 8c2b4a4..5af8c89 100644 --- a/_nuxt/CodeBlock.e7a0dbd1.js +++ b/_nuxt/CodeBlock.1051c725.js @@ -1 +1 @@ -import{a,o as t,i as d,K as l,j as s,x as c}from"./entry.ed643c4e.js";const n=a({__name:"CodeBlock",props:{label:{type:String,required:!0},active:{type:Boolean,default:!1},preview:{type:Boolean,default:!1}},setup(e){return(o,r)=>(t(),d("div",{class:s(["code-block",{active:e.active,"rounded-lg p-4":e.preview}])},[l(o.$slots,"default",{},void 0,!0)],2))}});const i=c(n,[["__scopeId","data-v-084dd8bd"]]);export{i as default}; +import{a,o as t,i as d,K as l,j as s,x as c}from"./entry.4bb11f8f.js";const n=a({__name:"CodeBlock",props:{label:{type:String,required:!0},active:{type:Boolean,default:!1},preview:{type:Boolean,default:!1}},setup(e){return(o,r)=>(t(),d("div",{class:s(["code-block",{active:e.active,"rounded-lg p-4":e.preview}])},[l(o.$slots,"default",{},void 0,!0)],2))}});const i=c(n,[["__scopeId","data-v-084dd8bd"]]);export{i as default}; diff --git a/_nuxt/CodeGroup.644929bd.js b/_nuxt/CodeGroup.f03e63d1.js similarity index 88% rename from _nuxt/CodeGroup.644929bd.js rename to _nuxt/CodeGroup.f03e63d1.js index 3b13336..3f8d306 100644 --- a/_nuxt/CodeGroup.644929bd.js +++ b/_nuxt/CodeGroup.f03e63d1.js @@ -1 +1 @@ -import o from"./TabsHeader.a59f3bef.js";import{a as v,W as c,x as u}from"./entry.ed643c4e.js";const _=(t,r)=>t.type&&t.type.tag&&t.type.tag===r,b=v({data(){return{activeTabIndex:0,counter:0}},render(){var d,p;const t=((p=(d=this.$slots)==null?void 0:d.default)==null?void 0:p.call(d))||[],r=t.map((e,i)=>{var a,n,s;return{label:((a=e==null?void 0:e.props)==null?void 0:a.filename)||((n=e==null?void 0:e.props)==null?void 0:n.label)||`${i}`,active:((s=e==null?void 0:e.props)==null?void 0:s.active)||!1,component:e}});return c("div",{class:{"code-group":!0,"first-tab":this.activeTabIndex===0}},[c(o,{ref:"tabs-header",activeTabIndex:this.activeTabIndex,tabs:r,"onUpdate:activeTabIndex":e=>this.activeTabIndex=e}),c("div",{class:"code-group-content",text:this.activeTabIndex},t.map((e,i)=>{var a,n;return c("div",{style:{display:i===this.activeTabIndex?"block":"none"},class:{"":!_(e,"code")}},[_(e,"code")?e:c("div",{class:{"preview-canvas":!0}},[((n=(a=e.children)==null?void 0:a.default)==null?void 0:n.call(a))||e.children])])}))])}});const m=u(b,[["__scopeId","data-v-577cdd71"]]);export{m as default}; +import o from"./TabsHeader.ecb32c9c.js";import{a as v,W as c,x as u}from"./entry.4bb11f8f.js";const _=(t,r)=>t.type&&t.type.tag&&t.type.tag===r,b=v({data(){return{activeTabIndex:0,counter:0}},render(){var d,p;const t=((p=(d=this.$slots)==null?void 0:d.default)==null?void 0:p.call(d))||[],r=t.map((e,i)=>{var a,n,s;return{label:((a=e==null?void 0:e.props)==null?void 0:a.filename)||((n=e==null?void 0:e.props)==null?void 0:n.label)||`${i}`,active:((s=e==null?void 0:e.props)==null?void 0:s.active)||!1,component:e}});return c("div",{class:{"code-group":!0,"first-tab":this.activeTabIndex===0}},[c(o,{ref:"tabs-header",activeTabIndex:this.activeTabIndex,tabs:r,"onUpdate:activeTabIndex":e=>this.activeTabIndex=e}),c("div",{class:"code-group-content",text:this.activeTabIndex},t.map((e,i)=>{var a,n;return c("div",{style:{display:i===this.activeTabIndex?"block":"none"},class:{"":!_(e,"code")}},[_(e,"code")?e:c("div",{class:{"preview-canvas":!0}},[((n=(a=e.children)==null?void 0:a.default)==null?void 0:n.call(a))||e.children])])}))])}});const m=u(b,[["__scopeId","data-v-577cdd71"]]);export{m as default}; diff --git a/_nuxt/ComponentPlayground.b267e636.js b/_nuxt/ComponentPlayground.1139c1be.js similarity index 79% rename from _nuxt/ComponentPlayground.b267e636.js rename to _nuxt/ComponentPlayground.1139c1be.js index c8f23f7..e25795c 100644 --- a/_nuxt/ComponentPlayground.b267e636.js +++ b/_nuxt/ComponentPlayground.1139c1be.js @@ -1 +1 @@ -import{b,u,I as a,a as m,J as S,o as $,i as I,j as w,s as x,v as P,k as C,x as _,ah as E,r as j,W as r}from"./entry.ed643c4e.js";import{u as D}from"./asyncData.fd6c0ee7.js";import z from"./ComponentPlaygroundData.e2407409.js";import"./TabsHeader.a59f3bef.js";import"./ComponentPlaygroundProps.18200ddb.js";import"./ProseH4.9de664b0.js";import"./ProseCodeInline.88572d5e.js";import"./Badge.0895b806.js";import"./ContentSlot.77b558c1.js";import"./ProseP.5f057a9e.js";import"./index.8e6a446a.js";import"./ComponentPlaygroundSlots.vue.05411867.js";import"./ComponentPlaygroundTokens.vue.ff8b8838.js";async function B(o){b();const e=u(o);{const{data:n}=await D(`nuxt-component-meta${e?`-${e}`:""}`,()=>$fetch(`/api/component-meta${e?`/${e}`:""}`));return a(()=>n.value)}}const N=o=>(x("data-v-a2bd7d25"),o=o(),P(),o),k=N(()=>C("div",{class:"ellipsis-item"},null,-1)),A=[k],V=m({__name:"Ellipsis",props:{width:{type:String,default:"10rem"},height:{type:String,default:"10rem"},zIndex:{type:String,default:"10"},top:{type:String,default:"0"},left:{type:String,default:"auto"},right:{type:String,default:"auto"},blur:{type:String,default:"50px"},colors:{type:Array,default:()=>["rgba(0, 71, 225, 0.22)","rgba(26, 214, 255, 0.22)","rgba(0, 220, 130, 0.22)"]}},setup(o){const e=o,n=a(()=>((t=e)=>t.top)()),s=a(()=>((t=e)=>t.left)()),i=a(()=>((t=e)=>t.right)()),c=a(()=>((t=e)=>t.zIndex)()),f=a(()=>((t=e)=>t.width)()),g=a(()=>((t=e)=>t.height)()),y=a(()=>((t=e)=>`blur(${t.blur})`)()),h=a(()=>((t=e)=>{var l,d,p;return`linear-gradient(97.62deg, ${(l=t==null?void 0:t.colors)==null?void 0:l[0]} 2.27%, ${(d=t==null?void 0:t.colors)==null?void 0:d[1]} 50.88%, ${(p=t==null?void 0:t.colors)==null?void 0:p[2]} 98.48%)`})()),{$pinceau:v}=S(e,void 0,{_cCN_top:n,_eih_insetInlineStart:s,_IfB_insetInlineEnd:i,_SsE_zIndex:c,_wj8_maxWidth:f,_t33_height:g,_Jfd_filter:y,_yUj_background:h});return(t,l)=>($(),I("div",{class:w(["ellipsis",[u(v)]])},A,2))}});const W=_(V,[["__scopeId","data-v-a2bd7d25"]]),q=m({props:{component:{type:String,required:!0},props:{type:Object,required:!1,default:()=>({})}},async setup(o){const e=a(()=>E(o.component)),n=j({...o.props}),s=await B(o.component);return{as:e,formProps:n,componentData:s}},render(o){const e=Object.entries(this.$slots).reduce((n,[s,i])=>{if(s.startsWith("component-")){const c=s.replace("component-","");n[c]=i}return n},{});return r("div",{class:"component-playground"},[r("div",{class:"component-playground-wrapper"},[r(W,{class:"component-playground-ellipsis",blur:"5vw",height:"100%",width:"100%"}),r(o.as,{...o.formProps,class:"component-playground-component"},{...e})]),r(z,{modelValue:o.formProps,componentData:o.componentData,"onUpdate:modelValue":n=>o.formProps=n})])}});const Y=_(q,[["__scopeId","data-v-ffdff82a"]]);export{Y as default}; +import{b,u,I as a,a as m,J as S,o as $,i as I,j as w,s as x,v as P,k as C,x as _,ah as E,r as j,W as r}from"./entry.4bb11f8f.js";import{u as D}from"./asyncData.b0a53602.js";import z from"./ComponentPlaygroundData.7c5569f3.js";import"./TabsHeader.ecb32c9c.js";import"./ComponentPlaygroundProps.3f583f36.js";import"./ProseH4.3236b3b0.js";import"./ProseCodeInline.b7a651bb.js";import"./Badge.36286601.js";import"./ContentSlot.725c9014.js";import"./ProseP.2d3578ce.js";import"./index.9d1c1506.js";import"./ComponentPlaygroundSlots.vue.28d4f6c9.js";import"./ComponentPlaygroundTokens.vue.8b918a33.js";async function B(o){b();const e=u(o);{const{data:n}=await D(`nuxt-component-meta${e?`-${e}`:""}`,()=>$fetch(`/api/component-meta${e?`/${e}`:""}`));return a(()=>n.value)}}const N=o=>(x("data-v-a2bd7d25"),o=o(),P(),o),k=N(()=>C("div",{class:"ellipsis-item"},null,-1)),A=[k],V=m({__name:"Ellipsis",props:{width:{type:String,default:"10rem"},height:{type:String,default:"10rem"},zIndex:{type:String,default:"10"},top:{type:String,default:"0"},left:{type:String,default:"auto"},right:{type:String,default:"auto"},blur:{type:String,default:"50px"},colors:{type:Array,default:()=>["rgba(0, 71, 225, 0.22)","rgba(26, 214, 255, 0.22)","rgba(0, 220, 130, 0.22)"]}},setup(o){const e=o,n=a(()=>((t=e)=>t.top)()),s=a(()=>((t=e)=>t.left)()),i=a(()=>((t=e)=>t.right)()),c=a(()=>((t=e)=>t.zIndex)()),f=a(()=>((t=e)=>t.width)()),g=a(()=>((t=e)=>t.height)()),y=a(()=>((t=e)=>`blur(${t.blur})`)()),h=a(()=>((t=e)=>{var l,d,p;return`linear-gradient(97.62deg, ${(l=t==null?void 0:t.colors)==null?void 0:l[0]} 2.27%, ${(d=t==null?void 0:t.colors)==null?void 0:d[1]} 50.88%, ${(p=t==null?void 0:t.colors)==null?void 0:p[2]} 98.48%)`})()),{$pinceau:v}=S(e,void 0,{_cCN_top:n,_eih_insetInlineStart:s,_IfB_insetInlineEnd:i,_SsE_zIndex:c,_wj8_maxWidth:f,_t33_height:g,_Jfd_filter:y,_yUj_background:h});return(t,l)=>($(),I("div",{class:w(["ellipsis",[u(v)]])},A,2))}});const W=_(V,[["__scopeId","data-v-a2bd7d25"]]),q=m({props:{component:{type:String,required:!0},props:{type:Object,required:!1,default:()=>({})}},async setup(o){const e=a(()=>E(o.component)),n=j({...o.props}),s=await B(o.component);return{as:e,formProps:n,componentData:s}},render(o){const e=Object.entries(this.$slots).reduce((n,[s,i])=>{if(s.startsWith("component-")){const c=s.replace("component-","");n[c]=i}return n},{});return r("div",{class:"component-playground"},[r("div",{class:"component-playground-wrapper"},[r(W,{class:"component-playground-ellipsis",blur:"5vw",height:"100%",width:"100%"}),r(o.as,{...o.formProps,class:"component-playground-component"},{...e})]),r(z,{modelValue:o.formProps,componentData:o.componentData,"onUpdate:modelValue":n=>o.formProps=n})])}});const Y=_(q,[["__scopeId","data-v-ffdff82a"]]);export{Y as default}; diff --git a/_nuxt/ComponentPlaygroundData.e2407409.js b/_nuxt/ComponentPlaygroundData.7c5569f3.js similarity index 65% rename from _nuxt/ComponentPlaygroundData.e2407409.js rename to _nuxt/ComponentPlaygroundData.7c5569f3.js index 5985f18..a7e71df 100644 --- a/_nuxt/ComponentPlaygroundData.e2407409.js +++ b/_nuxt/ComponentPlaygroundData.7c5569f3.js @@ -1 +1 @@ -import b from"./TabsHeader.a59f3bef.js";import x from"./ComponentPlaygroundProps.18200ddb.js";import{_ as v}from"./ComponentPlaygroundSlots.vue.05411867.js";import{_ as g}from"./ComponentPlaygroundTokens.vue.ff8b8838.js";import{a as D}from"./index.8e6a446a.js";import{a as V,r as k,o as a,i as C,m as P,u as o,c as m,ai as T,l,x as B}from"./entry.ed643c4e.js";import"./ProseH4.9de664b0.js";import"./ProseCodeInline.88572d5e.js";import"./Badge.0895b806.js";import"./ContentSlot.77b558c1.js";import"./ProseP.5f057a9e.js";const I={class:"component-playground-data"},j=V({__name:"ComponentPlaygroundData",props:{modelValue:{type:Object,required:!1,default:()=>({})},componentData:{type:Object,required:!1,default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:p}){const n=D(t,"modelValue",p),e=k(0),r=[{label:"Props"},{label:"Slots"},{label:"Design Tokens"}],d=s=>e.value=s;return(s,c)=>{const u=b,_=x,i=v,f=g;return a(),C("div",I,[P(u,{"active-tab-index":o(e),tabs:r,"onUpdate:activeTabIndex":d},null,8,["active-tab-index"]),o(e)===0?(a(),m(_,{key:0,modelValue:o(n),"onUpdate:modelValue":c[0]||(c[0]=y=>T(n)?n.value=y:null),"component-data":t.componentData},null,8,["modelValue","component-data"])):l("",!0),o(e)===1?(a(),m(i,{key:1,"component-data":t.componentData},null,8,["component-data"])):l("",!0),o(e)===2?(a(),m(f,{key:2,"component-data":t.componentData},null,8,["component-data"])):l("",!0)])}}});const z=B(j,[["__scopeId","data-v-ef4d9ec9"]]);export{z as default}; +import b from"./TabsHeader.ecb32c9c.js";import x from"./ComponentPlaygroundProps.3f583f36.js";import{_ as v}from"./ComponentPlaygroundSlots.vue.28d4f6c9.js";import{_ as g}from"./ComponentPlaygroundTokens.vue.8b918a33.js";import{a as D}from"./index.9d1c1506.js";import{a as V,r as k,o as a,i as C,m as P,u as o,c as m,ai as T,l,x as B}from"./entry.4bb11f8f.js";import"./ProseH4.3236b3b0.js";import"./ProseCodeInline.b7a651bb.js";import"./Badge.36286601.js";import"./ContentSlot.725c9014.js";import"./ProseP.2d3578ce.js";const I={class:"component-playground-data"},j=V({__name:"ComponentPlaygroundData",props:{modelValue:{type:Object,required:!1,default:()=>({})},componentData:{type:Object,required:!1,default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:p}){const n=D(t,"modelValue",p),e=k(0),r=[{label:"Props"},{label:"Slots"},{label:"Design Tokens"}],d=s=>e.value=s;return(s,c)=>{const u=b,_=x,i=v,f=g;return a(),C("div",I,[P(u,{"active-tab-index":o(e),tabs:r,"onUpdate:activeTabIndex":d},null,8,["active-tab-index"]),o(e)===0?(a(),m(_,{key:0,modelValue:o(n),"onUpdate:modelValue":c[0]||(c[0]=y=>T(n)?n.value=y:null),"component-data":t.componentData},null,8,["modelValue","component-data"])):l("",!0),o(e)===1?(a(),m(i,{key:1,"component-data":t.componentData},null,8,["component-data"])):l("",!0),o(e)===2?(a(),m(f,{key:2,"component-data":t.componentData},null,8,["component-data"])):l("",!0)])}}});const z=B(j,[["__scopeId","data-v-ef4d9ec9"]]);export{z as default}; diff --git a/_nuxt/ComponentPlaygroundProps.18200ddb.js b/_nuxt/ComponentPlaygroundProps.3f583f36.js similarity index 77% rename from _nuxt/ComponentPlaygroundProps.18200ddb.js rename to _nuxt/ComponentPlaygroundProps.3f583f36.js index c5a5966..8db3fd5 100644 --- a/_nuxt/ComponentPlaygroundProps.18200ddb.js +++ b/_nuxt/ComponentPlaygroundProps.3f583f36.js @@ -1 +1 @@ -import k from"./ProseH4.9de664b0.js";import B from"./ProseCodeInline.88572d5e.js";import q from"./Badge.0895b806.js";import D from"./ProseP.5f057a9e.js";import{a as N}from"./index.8e6a446a.js";import{a as I,I as b,o as n,i as c,F as j,a5 as w,u as d,k as m,m as l,w as s,S as _,t as u,c as i,l as p,x as F}from"./entry.ed643c4e.js";import"./ContentSlot.77b558c1.js";const O={class:"component-playground-data-section"},S=["id"],E=["value","onChange"],H=I({__name:"ComponentPlaygroundProps",props:{modelValue:{type:Object,required:!0},componentData:{type:Object,required:!0}},emits:["update:modelValue"],setup(f,{emit:x}){const a=f,r=N(a,"modelValue",x),y=(t,o)=>{r.value={...r.value,[o]:t.target.value}},g=b(()=>{var t,o;return(o=(t=a==null?void 0:a.componentData)==null?void 0:t.meta)==null?void 0:o.props});return(t,o)=>{const v=k,C=B,P=q,h=D;return n(),c("div",O,[(n(!0),c(j,null,w(d(g),e=>(n(),c("div",{key:e.name},[m("div",{id:e.name,class:"prop-title"},[l(v,{id:e.name},{default:s(()=>[_(u(e.name),1)]),_:2},1032,["id"]),m("span",null,[l(C,null,{default:s(()=>[_(u(e.type),1)]),_:2},1024),e.required?p("",!0):(n(),i(P,{key:0},{default:s(()=>[_(" Required ")]),_:1}))])],8,S),e.description?(n(),i(h,{key:0},{default:s(()=>[_(u(e.description),1)]),_:2},1024)):p("",!0),m("input",{value:d(r)[e.name],onChange:V=>y(V,e.name)},null,40,E)]))),128))])}}});const G=F(H,[["__scopeId","data-v-4939fa9a"]]);export{G as default}; +import k from"./ProseH4.3236b3b0.js";import B from"./ProseCodeInline.b7a651bb.js";import q from"./Badge.36286601.js";import D from"./ProseP.2d3578ce.js";import{a as N}from"./index.9d1c1506.js";import{a as I,I as b,o as n,i as c,F as j,a5 as w,u as d,k as m,m as l,w as s,S as _,t as u,c as i,l as p,x as F}from"./entry.4bb11f8f.js";import"./ContentSlot.725c9014.js";const O={class:"component-playground-data-section"},S=["id"],E=["value","onChange"],H=I({__name:"ComponentPlaygroundProps",props:{modelValue:{type:Object,required:!0},componentData:{type:Object,required:!0}},emits:["update:modelValue"],setup(f,{emit:x}){const a=f,r=N(a,"modelValue",x),y=(t,o)=>{r.value={...r.value,[o]:t.target.value}},g=b(()=>{var t,o;return(o=(t=a==null?void 0:a.componentData)==null?void 0:t.meta)==null?void 0:o.props});return(t,o)=>{const v=k,C=B,P=q,h=D;return n(),c("div",O,[(n(!0),c(j,null,w(d(g),e=>(n(),c("div",{key:e.name},[m("div",{id:e.name,class:"prop-title"},[l(v,{id:e.name},{default:s(()=>[_(u(e.name),1)]),_:2},1032,["id"]),m("span",null,[l(C,null,{default:s(()=>[_(u(e.type),1)]),_:2},1024),e.required?p("",!0):(n(),i(P,{key:0},{default:s(()=>[_(" Required ")]),_:1}))])],8,S),e.description?(n(),i(h,{key:0},{default:s(()=>[_(u(e.description),1)]),_:2},1024)):p("",!0),m("input",{value:d(r)[e.name],onChange:V=>y(V,e.name)},null,40,E)]))),128))])}}});const G=F(H,[["__scopeId","data-v-4939fa9a"]]);export{G as default}; diff --git a/_nuxt/ComponentPlaygroundSlots.4a5eca36.js b/_nuxt/ComponentPlaygroundSlots.4a5eca36.js deleted file mode 100644 index ec14337..0000000 --- a/_nuxt/ComponentPlaygroundSlots.4a5eca36.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ComponentPlaygroundSlots.vue.05411867.js";import"./entry.ed643c4e.js";export{m as default}; diff --git a/_nuxt/ComponentPlaygroundSlots.9e073aeb.js b/_nuxt/ComponentPlaygroundSlots.9e073aeb.js new file mode 100644 index 0000000..1721c8a --- /dev/null +++ b/_nuxt/ComponentPlaygroundSlots.9e073aeb.js @@ -0,0 +1 @@ +import{_ as m}from"./ComponentPlaygroundSlots.vue.28d4f6c9.js";import"./entry.4bb11f8f.js";export{m as default}; diff --git a/_nuxt/ComponentPlaygroundSlots.vue.05411867.js b/_nuxt/ComponentPlaygroundSlots.vue.28d4f6c9.js similarity index 80% rename from _nuxt/ComponentPlaygroundSlots.vue.05411867.js rename to _nuxt/ComponentPlaygroundSlots.vue.28d4f6c9.js index 650a0b1..33666ff 100644 --- a/_nuxt/ComponentPlaygroundSlots.vue.05411867.js +++ b/_nuxt/ComponentPlaygroundSlots.vue.28d4f6c9.js @@ -1 +1 @@ -import{a as t,o,i as n,k as a,t as s}from"./entry.ed643c4e.js";const r={class:"component-playground-data-section"},l=t({__name:"ComponentPlaygroundSlots",props:{componentData:{type:Object,required:!0}},setup(e){return(c,p)=>(o(),n("div",r,[a("pre",null,s(JSON.stringify(e.componentData,null,2)),1)]))}});export{l as _}; +import{a as t,o,i as n,k as a,t as s}from"./entry.4bb11f8f.js";const r={class:"component-playground-data-section"},l=t({__name:"ComponentPlaygroundSlots",props:{componentData:{type:Object,required:!0}},setup(e){return(c,p)=>(o(),n("div",r,[a("pre",null,s(JSON.stringify(e.componentData,null,2)),1)]))}});export{l as _}; diff --git a/_nuxt/ComponentPlaygroundTokens.7905a1ee.js b/_nuxt/ComponentPlaygroundTokens.7905a1ee.js deleted file mode 100644 index 9129193..0000000 --- a/_nuxt/ComponentPlaygroundTokens.7905a1ee.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./ComponentPlaygroundTokens.vue.ff8b8838.js";import"./entry.ed643c4e.js";export{m as default}; diff --git a/_nuxt/ComponentPlaygroundTokens.c013a3a5.js b/_nuxt/ComponentPlaygroundTokens.c013a3a5.js new file mode 100644 index 0000000..1147f04 --- /dev/null +++ b/_nuxt/ComponentPlaygroundTokens.c013a3a5.js @@ -0,0 +1 @@ +import{_ as m}from"./ComponentPlaygroundTokens.vue.8b918a33.js";import"./entry.4bb11f8f.js";export{m as default}; diff --git a/_nuxt/ComponentPlaygroundTokens.vue.ff8b8838.js b/_nuxt/ComponentPlaygroundTokens.vue.8b918a33.js similarity index 77% rename from _nuxt/ComponentPlaygroundTokens.vue.ff8b8838.js rename to _nuxt/ComponentPlaygroundTokens.vue.8b918a33.js index 5ed9b89..eb81543 100644 --- a/_nuxt/ComponentPlaygroundTokens.vue.ff8b8838.js +++ b/_nuxt/ComponentPlaygroundTokens.vue.8b918a33.js @@ -1 +1 @@ -import{a as o,o as t,i as n,t as a}from"./entry.ed643c4e.js";const s={class:"component-playground-data-section"},i=o({__name:"ComponentPlaygroundTokens",props:{componentData:{type:Object,required:!0}},setup(e){return(c,r)=>(t(),n("div",s,a(e.componentData),1))}});export{i as _}; +import{a as o,o as t,i as n,t as a}from"./entry.4bb11f8f.js";const s={class:"component-playground-data-section"},i=o({__name:"ComponentPlaygroundTokens",props:{componentData:{type:Object,required:!0}},setup(e){return(c,r)=>(t(),n("div",s,a(e.componentData),1))}});export{i as _}; diff --git a/_nuxt/ContentDoc.a7917ddc.js b/_nuxt/ContentDoc.5263eb6c.js similarity index 86% rename from _nuxt/ContentDoc.a7917ddc.js rename to _nuxt/ContentDoc.5263eb6c.js index 5fd667e..57b1b36 100644 --- a/_nuxt/ContentDoc.a7917ddc.js +++ b/_nuxt/ContentDoc.5263eb6c.js @@ -1 +1 @@ -import{a as s,V as y,ak as g,q as v,W as o,al as p}from"./entry.ed643c4e.js";import w from"./ContentRenderer.7edfd656.js";import C from"./ContentQuery.702e6367.js";import"./ContentRendererMarkdown.32fe2ab3.js";import"./asyncData.fd6c0ee7.js";const x=s({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:!0}},render(f){const e=y(),{tag:d,excerpt:a,path:m,query:r,head:i}=f,c={...r||{},path:m||(r==null?void 0:r.path)||g(v().path),find:"one"},l=(t,n)=>o("pre",null,JSON.stringify({message:"You should use slots with ",slot:t,data:n},null,2));return o(C,c,{default:e!=null&&e.default?({data:t,refresh:n,isPartial:h})=>{var u;return i&&p(t),(u=e.default)==null?void 0:u.call(e,{doc:t,refresh:n,isPartial:h,excerpt:a,...this.$attrs})}:({data:t})=>(i&&p(t),o(w,{value:t,excerpt:a,tag:d,...this.$attrs},{empty:n=>e!=null&&e.empty?e.empty(n):l("default",t)})),empty:t=>{var n;return((n=e==null?void 0:e.empty)==null?void 0:n.call(e,t))||o("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":t=>{var n;return((n=e==null?void 0:e["not-found"])==null?void 0:n.call(e,t))||o("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}});export{x as default}; +import{a as s,V as y,ak as g,q as v,W as o,al as p}from"./entry.4bb11f8f.js";import w from"./ContentRenderer.54f7a8d2.js";import C from"./ContentQuery.d034fecd.js";import"./ContentRendererMarkdown.d1672c0f.js";import"./asyncData.b0a53602.js";const x=s({name:"ContentDoc",props:{tag:{type:String,required:!1,default:"div"},excerpt:{type:Boolean,default:!1},path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0},head:{type:Boolean,required:!1,default:!0}},render(f){const e=y(),{tag:d,excerpt:a,path:m,query:r,head:i}=f,c={...r||{},path:m||(r==null?void 0:r.path)||g(v().path),find:"one"},l=(t,n)=>o("pre",null,JSON.stringify({message:"You should use slots with ",slot:t,data:n},null,2));return o(C,c,{default:e!=null&&e.default?({data:t,refresh:n,isPartial:h})=>{var u;return i&&p(t),(u=e.default)==null?void 0:u.call(e,{doc:t,refresh:n,isPartial:h,excerpt:a,...this.$attrs})}:({data:t})=>(i&&p(t),o(w,{value:t,excerpt:a,tag:d,...this.$attrs},{empty:n=>e!=null&&e.empty?e.empty(n):l("default",t)})),empty:t=>{var n;return((n=e==null?void 0:e.empty)==null?void 0:n.call(e,t))||o("p",null,"Document is empty, overwrite this content with #empty slot in .")},"not-found":t=>{var n;return((n=e==null?void 0:e["not-found"])==null?void 0:n.call(e,t))||o("p",null,"Document not found, overwrite this content with #not-found slot in .")}})}});export{x as default}; diff --git a/_nuxt/ContentList.780db657.js b/_nuxt/ContentList.afeacef6.js similarity index 85% rename from _nuxt/ContentList.780db657.js rename to _nuxt/ContentList.afeacef6.js index 53442e5..cfe741e 100644 --- a/_nuxt/ContentList.780db657.js +++ b/_nuxt/ContentList.afeacef6.js @@ -1 +1 @@ -import n from"./ContentQuery.702e6367.js";import{a as c,V as l,W as f}from"./entry.ed643c4e.js";import"./asyncData.fd6c0ee7.js";const r=(u,t)=>f("pre",null,JSON.stringify({message:"You should use slots with ",slot:u,data:t},null,2)),C=c({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(u){const t=l(),{path:p,query:a}=u,m={...a||{},path:p||(a==null?void 0:a.path)||"/"};return f(n,m,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:d})=>t.default({list:e,refresh:o,isPartial:d,...this.$attrs}):e=>r("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):r("default",e==null?void 0:e.data),"not-found":e=>{var o;return t!=null&&t["not-found"]?(o=t==null?void 0:t["not-found"])==null?void 0:o.call(t,e):r("not-found",e==null?void 0:e.data)}})}});export{C as default}; +import n from"./ContentQuery.d034fecd.js";import{a as c,V as l,W as f}from"./entry.4bb11f8f.js";import"./asyncData.b0a53602.js";const r=(u,t)=>f("pre",null,JSON.stringify({message:"You should use slots with ",slot:u,data:t},null,2)),C=c({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(u){const t=l(),{path:p,query:a}=u,m={...a||{},path:p||(a==null?void 0:a.path)||"/"};return f(n,m,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:d})=>t.default({list:e,refresh:o,isPartial:d,...this.$attrs}):e=>r("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):r("default",e==null?void 0:e.data),"not-found":e=>{var o;return t!=null&&t["not-found"]?(o=t==null?void 0:t["not-found"])==null?void 0:o.call(t,e):r("not-found",e==null?void 0:e.data)}})}});export{C as default}; diff --git a/_nuxt/ContentNavigation.4c3fc258.js b/_nuxt/ContentNavigation.58abeb31.js similarity index 85% rename from _nuxt/ContentNavigation.4c3fc258.js rename to _nuxt/ContentNavigation.58abeb31.js index 065f1b8..e6fe092 100644 --- a/_nuxt/ContentNavigation.4c3fc258.js +++ b/_nuxt/ContentNavigation.58abeb31.js @@ -1 +1 @@ -import{u as d}from"./asyncData.fd6c0ee7.js";import{a as l,am as f,I as v,z as p,$ as m,an as g,V as h,as as y,W as r,M as _}from"./entry.ed643c4e.js";const N=l({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(u){const{query:a}=f(u),n=v(()=>{var t;return typeof((t=a.value)==null?void 0:t.params)=="function"?a.value.params():a.value});if(!n.value&&p("dd-navigation").value){const{navigation:t}=m();return{navigation:t}}const{data:o}=await d(`content-navigation-${g(n.value)}`,()=>y(n.value));return{navigation:o}},render(u){const a=h(),{navigation:n}=u,o=e=>r(_,{to:e._path},()=>e.title),t=(e,i)=>r("ul",i?{"data-level":i}:null,e.map(s=>s.children?r("li",null,[o(s),t(s.children,i+1)]):r("li",null,o(s)))),c=e=>t(e,0);return a!=null&&a.default?a.default({navigation:n,...this.$attrs}):c(n)}});export{N as default}; +import{u as d}from"./asyncData.b0a53602.js";import{a as l,am as f,I as v,z as p,$ as m,an as g,V as h,as as y,W as r,M as _}from"./entry.4bb11f8f.js";const N=l({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(u){const{query:a}=f(u),n=v(()=>{var t;return typeof((t=a.value)==null?void 0:t.params)=="function"?a.value.params():a.value});if(!n.value&&p("dd-navigation").value){const{navigation:t}=m();return{navigation:t}}const{data:o}=await d(`content-navigation-${g(n.value)}`,()=>y(n.value));return{navigation:o}},render(u){const a=h(),{navigation:n}=u,o=e=>r(_,{to:e._path},()=>e.title),t=(e,i)=>r("ul",i?{"data-level":i}:null,e.map(s=>s.children?r("li",null,[o(s),t(s.children,i+1)]):r("li",null,o(s)))),c=e=>t(e,0);return a!=null&&a.default?a.default({navigation:n,...this.$attrs}):c(n)}});export{N as default}; diff --git a/_nuxt/ContentQuery.702e6367.js b/_nuxt/ContentQuery.d034fecd.js similarity index 91% rename from _nuxt/ContentQuery.702e6367.js rename to _nuxt/ContentQuery.d034fecd.js index 9558fab..9d3be74 100644 --- a/_nuxt/ContentQuery.702e6367.js +++ b/_nuxt/ContentQuery.d034fecd.js @@ -1 +1 @@ -import{u as q}from"./asyncData.fd6c0ee7.js";import{a as g,am as S,I as b,P as C,an as k,V as N,A as c,W as _}from"./entry.ed643c4e.js";const P=g({name:"ContentQuery",props:{path:{type:String,required:!1,default:void 0},only:{type:Array,required:!1,default:void 0},without:{type:Array,required:!1,default:void 0},where:{type:Object,required:!1,default:void 0},sort:{type:Object,required:!1,default:void 0},limit:{type:Number,required:!1,default:void 0},skip:{type:Number,required:!1,default:void 0},locale:{type:String,required:!1,default:void 0},find:{type:String,required:!1,default:void 0}},async setup(a){const{path:t,only:r,without:n,where:i,sort:l,limit:o,skip:f,locale:s,find:d}=S(a),h=b(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")});C(()=>a,()=>p(),{deep:!0});const{data:v,refresh:p}=await q(`content-query-${k(a)}`,()=>{let e;return t.value?e=c(t.value):e=c(),r.value&&(e=e.only(r.value)),n.value&&(e=e.without(n.value)),i.value&&(e=e.where(i.value)),l.value&&(e=e.sort(l.value)),o.value&&(e=e.limit(o.value)),f.value&&(e=e.skip(f.value)),s.value&&(e=e.where({_locale:s.value})),d.value==="one"?e.findOne():d.value==="surround"?t.value?e.findSurround(t.value):(console.warn("[Content] Surround queries requires `path` prop to be set."),console.warn("[Content] Query without `path` will return regular `find()` results."),e.find()):e.find()});return{isPartial:h,data:v,refresh:p}},render(a){var y;const t=N(),{data:r,refresh:n,isPartial:i,path:l,only:o,without:f,where:s,sort:d,limit:h,skip:v,locale:p,find:e}=a,u={path:l,only:o,without:f,where:s,sort:d,limit:h,skip:v,locale:p,find:e};if(u.find==="one"){if(!r&&(t!=null&&t["not-found"]))return t["not-found"]({props:u,...this.$attrs});if(t!=null&&t.empty&&(r==null?void 0:r._type)==="markdown"&&!((y=r==null?void 0:r.body)!=null&&y.children.length))return t.empty({props:u,...this.$attrs})}else if((!r||!r.length)&&t!=null&&t["not-found"])return t["not-found"]({props:u,...this.$attrs});return t!=null&&t.default?t.default({data:r,refresh:n,isPartial:i,props:u,...this.$attrs}):((m,w)=>_("pre",null,JSON.stringify({message:"You should use slots with !",slot:m,data:w},null,2)))("default",{data:r,props:u,isPartial:i})}});export{P as default}; +import{u as q}from"./asyncData.b0a53602.js";import{a as g,am as S,I as b,P as C,an as k,V as N,A as c,W as _}from"./entry.4bb11f8f.js";const P=g({name:"ContentQuery",props:{path:{type:String,required:!1,default:void 0},only:{type:Array,required:!1,default:void 0},without:{type:Array,required:!1,default:void 0},where:{type:Object,required:!1,default:void 0},sort:{type:Object,required:!1,default:void 0},limit:{type:Number,required:!1,default:void 0},skip:{type:Number,required:!1,default:void 0},locale:{type:String,required:!1,default:void 0},find:{type:String,required:!1,default:void 0}},async setup(a){const{path:t,only:r,without:n,where:i,sort:l,limit:o,skip:f,locale:s,find:d}=S(a),h=b(()=>{var e;return(e=t.value)==null?void 0:e.includes("/_")});C(()=>a,()=>p(),{deep:!0});const{data:v,refresh:p}=await q(`content-query-${k(a)}`,()=>{let e;return t.value?e=c(t.value):e=c(),r.value&&(e=e.only(r.value)),n.value&&(e=e.without(n.value)),i.value&&(e=e.where(i.value)),l.value&&(e=e.sort(l.value)),o.value&&(e=e.limit(o.value)),f.value&&(e=e.skip(f.value)),s.value&&(e=e.where({_locale:s.value})),d.value==="one"?e.findOne():d.value==="surround"?t.value?e.findSurround(t.value):(console.warn("[Content] Surround queries requires `path` prop to be set."),console.warn("[Content] Query without `path` will return regular `find()` results."),e.find()):e.find()});return{isPartial:h,data:v,refresh:p}},render(a){var y;const t=N(),{data:r,refresh:n,isPartial:i,path:l,only:o,without:f,where:s,sort:d,limit:h,skip:v,locale:p,find:e}=a,u={path:l,only:o,without:f,where:s,sort:d,limit:h,skip:v,locale:p,find:e};if(u.find==="one"){if(!r&&(t!=null&&t["not-found"]))return t["not-found"]({props:u,...this.$attrs});if(t!=null&&t.empty&&(r==null?void 0:r._type)==="markdown"&&!((y=r==null?void 0:r.body)!=null&&y.children.length))return t.empty({props:u,...this.$attrs})}else if((!r||!r.length)&&t!=null&&t["not-found"])return t["not-found"]({props:u,...this.$attrs});return t!=null&&t.default?t.default({data:r,refresh:n,isPartial:i,props:u,...this.$attrs}):((m,w)=>_("pre",null,JSON.stringify({message:"You should use slots with !",slot:m,data:w},null,2)))("default",{data:r,props:u,isPartial:i})}});export{P as default}; diff --git a/_nuxt/ContentRenderer.7edfd656.js b/_nuxt/ContentRenderer.54f7a8d2.js similarity index 89% rename from _nuxt/ContentRenderer.7edfd656.js rename to _nuxt/ContentRenderer.54f7a8d2.js index 5f1cd95..204280a 100644 --- a/_nuxt/ContentRenderer.7edfd656.js +++ b/_nuxt/ContentRenderer.54f7a8d2.js @@ -1 +1 @@ -import c from"./ContentRendererMarkdown.32fe2ab3.js";import{a as l,P as s,V as m,W as d}from"./entry.ed643c4e.js";const x=l({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,r,a;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(r=t==null?void 0:t.value)==null?void 0:r._path}.${(a=t==null?void 0:t.value)==null?void 0:a._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var u,i,o,f;const n=m(),{value:e,excerpt:r,tag:a}=t;return!((i=(u=e==null?void 0:e.body)==null?void 0:u.children)!=null&&i.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:r,tag:a,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:r,tag:a,...this.$attrs}):(e==null?void 0:e._type)==="markdown"&&((f=(o=e==null?void 0:e.body)==null?void 0:o.children)!=null&&f.length)?d(c,{value:e,excerpt:r,tag:a,...this.$attrs}):d("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:r,tag:a},null,2))}});export{x as default}; +import c from"./ContentRendererMarkdown.d1672c0f.js";import{a as l,P as s,V as m,W as d}from"./entry.4bb11f8f.js";const x=l({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,r,a;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(r=t==null?void 0:t.value)==null?void 0:r._path}.${(a=t==null?void 0:t.value)==null?void 0:a._extension}!`),console.warn("Make sure to use in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var u,i,o,f;const n=m(),{value:e,excerpt:r,tag:a}=t;return!((i=(u=e==null?void 0:e.body)==null?void 0:u.children)!=null&&i.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:r,tag:a,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:r,tag:a,...this.$attrs}):(e==null?void 0:e._type)==="markdown"&&((f=(o=e==null?void 0:e.body)==null?void 0:o.children)!=null&&f.length)?d(c,{value:e,excerpt:r,tag:a,...this.$attrs}):d("pre",null,JSON.stringify({message:"You should use slots with ",value:e,excerpt:r,tag:a},null,2))}});export{x as default}; diff --git a/_nuxt/ContentRendererMarkdown.32fe2ab3.js b/_nuxt/ContentRendererMarkdown.d1672c0f.js similarity index 99% rename from _nuxt/ContentRendererMarkdown.32fe2ab3.js rename to _nuxt/ContentRendererMarkdown.d1672c0f.js index 0d45017..477cb97 100644 --- a/_nuxt/ContentRendererMarkdown.32fe2ab3.js +++ b/_nuxt/ContentRendererMarkdown.d1672c0f.js @@ -1 +1 @@ -import{a as Z,y as J,ao as G,H as M,W as T,ah as E,ap as Q,aq as x,q as nn,ar as ln}from"./entry.ed643c4e.js";class S{constructor(e,t,o){this.property=e,this.normal=t,o&&(this.space=o)}}S.prototype.property={};S.prototype.normal={};S.prototype.space=null;function U(n,e){const t={},o={};let r=-1;for(;++r4&&t.slice(0,4)==="data"&&an.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(A,pn);o="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!A.test(a)){let i=a.replace(un,cn);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}r=L}return new r(o,e)}function cn(n){return"-"+n.toLowerCase()}function pn(n){return n.charAt(1).toUpperCase()}const dn=U([I,B,_,F,tn],"html");U([I,B,_,F,rn],"svg");const N=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],D="default",V=/^@|^v-on:/,q=/^:|^v-bind:/,W=/^v-model/,gn=["select","textarea","input"],On=Z({name:"ContentRendererMarkdown",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})}},async setup(n){var r,a,i;const{content:{tags:e={}}}=J().public,t=G().isEnabled();let o=((r=n.value)==null?void 0:r.body)||n.value;return n.excerpt&&((a=n.value)!=null&&a.excerpt)&&(o=n.value.excerpt),o&&await wn(o,{tags:{...e,...M(((i=n.value)==null?void 0:i._components)||{}),...n.components}}),{debug:t,tags:e}},render(n){var y;const{tags:e,tag:t,value:o,excerpt:r,components:a,debug:i}=n;if(!o)return null;let s=(o==null?void 0:o.body)||o;r&&(o!=null&&o.excerpt)&&(s=o.excerpt);const c={...o,tags:{...e,...M((o==null?void 0:o._components)||{}),...a}};let d=c.component||t;return typeof c.component=="object"&&(d=c.component.name),d=$(d),T(d,{...(y=c.component)==null?void 0:y.props,...this.$attrs,"data-content-id":i?o._id:void 0},X(s,T,c,c))}});function hn(n,e,t,o={}){var c;if(n.type==="text")return e(x,n.value);if(n.tag==="script")return e(x,K(n));const r=n.tag,a=typeof((c=n.props)==null?void 0:c.__ignoreMap)>"u"&&t.tags[r]||r;if(n.tag==="binding")return fn(n,e,t,o);const i=$(a);typeof i=="object"&&(i.tag=r);const s=mn(n,t);return e(i,s,X(n,e,t,{...o,...s}))}function K(n){var e,t;return n.type==="text"?n.value:(e=n.children)!=null&&e.length?`<${n.tag}>${((t=n.children)==null?void 0:t.map(K).join(""))||""}`:`<${n.tag}>`}function fn(n,e,t,o={}){var c;const r={...o,$route:()=>nn(),$document:t,$doc:t},a=/\.|\[(\d+)\]/,s=((c=n.props)==null?void 0:c.value.trim().split(a).filter(Boolean)).reduce((d,y)=>y in d?typeof d[y]=="function"?d[y]():d[y]:{},r);return e(x,s)}function X(n,e,t,o){const a=(n.children||[]).reduce((s,c)=>{if(!Sn(c))return s[D].push(c),s;const d=xn(c);return s[d]=s[d]||[],s[d].push(...c.children||[]),s},{[D]:[]});return Object.entries(a).reduce((s,[c,d])=>(d.length&&(s[c]=()=>{const y=d.map(h=>hn(h,e,t,o));return Cn(y)}),s),{})}function mn(n,e){const{tag:t="",props:o={}}=n;return Object.keys(o).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=o[a];if(W.test(a)&&!gn.includes(t))return yn(a,i,r,e);if(a==="v-bind")return vn(a,i,r,e);if(V.test(a))return bn(a,i,r,e);if(q.test(a))return kn(a,i,r,e);const{attribute:s}=sn(dn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function yn(n,e,t,o){const r=h=>+h,a=h=>h.trim(),i=h=>h,s=n.replace(W,"").split(".").filter(h=>h).reduce((h,Y)=>(h[Y]=!0,h),{}),c="value",d=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return t[c]=C(e,o),t.on=t.on||{},t.on[d]=h=>o[e]=y(h),t}function vn(n,e,t,o){const r=C(e,o);return t=Object.assign(t,r),t}function bn(n,e,t,o){return n=n.replace(V,""),t.on=t.on||{},t.on[n]=()=>C(e,o),t}function kn(n,e,t,o){return n=n.replace(q,""),t[n]=C(e,o),t}const $=n=>{if(!N.includes(n)&&!(n!=null&&n.render)){const e=E(Q(n),!1);if(typeof e=="object")return e}return n};function C(n,e){const t=n.split(".").reduce((o,r)=>typeof o=="object"?o[r]:void 0,e);return typeof t>"u"?ln(n):t}function xn(n){let e="";for(const t of Object.keys(n.props||{}))if(!(!t.startsWith("#")&&!t.startsWith("v-slot:"))){e=t.split(/[:#]/,2)[1];break}return e||D}function Sn(n){return n.tag==="template"}function Cn(n){const e=[];for(const t of n){const o=e[e.length-1];t.type===x&&(o==null?void 0:o.type)===x?o.children=o.children+t.children:e.push(t)}return e}async function wn(n,e){const t=Array.from(new Set(o(n,e)));await Promise.all(t.map(async r=>{if(r!=null&&r.render)return;const a=E(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function o(r,a){var c;if(r.type==="text"||r.tag==="binding")return[];const i=typeof((c=r.props)==null?void 0:c.__ignoreMap)>"u"&&a.tags[r.tag]||r.tag,s=[];r.type!=="root"&&!N.includes(i)&&s.push(i);for(const d of r.children||[])s.push(...o(d,a));return s}}export{On as default}; +import{a as Z,y as J,ao as G,H as M,W as T,ah as E,ap as Q,aq as x,q as nn,ar as ln}from"./entry.4bb11f8f.js";class S{constructor(e,t,o){this.property=e,this.normal=t,o&&(this.space=o)}}S.prototype.property={};S.prototype.normal={};S.prototype.space=null;function U(n,e){const t={},o={};let r=-1;for(;++r4&&t.slice(0,4)==="data"&&an.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(A,pn);o="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!A.test(a)){let i=a.replace(un,cn);i.charAt(0)!=="-"&&(i="-"+i),e="data"+i}}r=L}return new r(o,e)}function cn(n){return"-"+n.toLowerCase()}function pn(n){return n.charAt(1).toUpperCase()}const dn=U([I,B,_,F,tn],"html");U([I,B,_,F,rn],"svg");const N=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],D="default",V=/^@|^v-on:/,q=/^:|^v-bind:/,W=/^v-model/,gn=["select","textarea","input"],On=Z({name:"ContentRendererMarkdown",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})}},async setup(n){var r,a,i;const{content:{tags:e={}}}=J().public,t=G().isEnabled();let o=((r=n.value)==null?void 0:r.body)||n.value;return n.excerpt&&((a=n.value)!=null&&a.excerpt)&&(o=n.value.excerpt),o&&await wn(o,{tags:{...e,...M(((i=n.value)==null?void 0:i._components)||{}),...n.components}}),{debug:t,tags:e}},render(n){var y;const{tags:e,tag:t,value:o,excerpt:r,components:a,debug:i}=n;if(!o)return null;let s=(o==null?void 0:o.body)||o;r&&(o!=null&&o.excerpt)&&(s=o.excerpt);const c={...o,tags:{...e,...M((o==null?void 0:o._components)||{}),...a}};let d=c.component||t;return typeof c.component=="object"&&(d=c.component.name),d=$(d),T(d,{...(y=c.component)==null?void 0:y.props,...this.$attrs,"data-content-id":i?o._id:void 0},X(s,T,c,c))}});function hn(n,e,t,o={}){var c;if(n.type==="text")return e(x,n.value);if(n.tag==="script")return e(x,K(n));const r=n.tag,a=typeof((c=n.props)==null?void 0:c.__ignoreMap)>"u"&&t.tags[r]||r;if(n.tag==="binding")return fn(n,e,t,o);const i=$(a);typeof i=="object"&&(i.tag=r);const s=mn(n,t);return e(i,s,X(n,e,t,{...o,...s}))}function K(n){var e,t;return n.type==="text"?n.value:(e=n.children)!=null&&e.length?`<${n.tag}>${((t=n.children)==null?void 0:t.map(K).join(""))||""}`:`<${n.tag}>`}function fn(n,e,t,o={}){var c;const r={...o,$route:()=>nn(),$document:t,$doc:t},a=/\.|\[(\d+)\]/,s=((c=n.props)==null?void 0:c.value.trim().split(a).filter(Boolean)).reduce((d,y)=>y in d?typeof d[y]=="function"?d[y]():d[y]:{},r);return e(x,s)}function X(n,e,t,o){const a=(n.children||[]).reduce((s,c)=>{if(!Sn(c))return s[D].push(c),s;const d=xn(c);return s[d]=s[d]||[],s[d].push(...c.children||[]),s},{[D]:[]});return Object.entries(a).reduce((s,[c,d])=>(d.length&&(s[c]=()=>{const y=d.map(h=>hn(h,e,t,o));return Cn(y)}),s),{})}function mn(n,e){const{tag:t="",props:o={}}=n;return Object.keys(o).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=o[a];if(W.test(a)&&!gn.includes(t))return yn(a,i,r,e);if(a==="v-bind")return vn(a,i,r,e);if(V.test(a))return bn(a,i,r,e);if(q.test(a))return kn(a,i,r,e);const{attribute:s}=sn(dn,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function yn(n,e,t,o){const r=h=>+h,a=h=>h.trim(),i=h=>h,s=n.replace(W,"").split(".").filter(h=>h).reduce((h,Y)=>(h[Y]=!0,h),{}),c="value",d=s.lazy?"change":"input",y=s.number?r:s.trim?a:i;return t[c]=C(e,o),t.on=t.on||{},t.on[d]=h=>o[e]=y(h),t}function vn(n,e,t,o){const r=C(e,o);return t=Object.assign(t,r),t}function bn(n,e,t,o){return n=n.replace(V,""),t.on=t.on||{},t.on[n]=()=>C(e,o),t}function kn(n,e,t,o){return n=n.replace(q,""),t[n]=C(e,o),t}const $=n=>{if(!N.includes(n)&&!(n!=null&&n.render)){const e=E(Q(n),!1);if(typeof e=="object")return e}return n};function C(n,e){const t=n.split(".").reduce((o,r)=>typeof o=="object"?o[r]:void 0,e);return typeof t>"u"?ln(n):t}function xn(n){let e="";for(const t of Object.keys(n.props||{}))if(!(!t.startsWith("#")&&!t.startsWith("v-slot:"))){e=t.split(/[:#]/,2)[1];break}return e||D}function Sn(n){return n.tag==="template"}function Cn(n){const e=[];for(const t of n){const o=e[e.length-1];t.type===x&&(o==null?void 0:o.type)===x?o.children=o.children+t.children:e.push(t)}return e}async function wn(n,e){const t=Array.from(new Set(o(n,e)));await Promise.all(t.map(async r=>{if(r!=null&&r.render)return;const a=E(r);a!=null&&a.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function o(r,a){var c;if(r.type==="text"||r.tag==="binding")return[];const i=typeof((c=r.props)==null?void 0:c.__ignoreMap)>"u"&&a.tags[r.tag]||r.tag,s=[];r.type!=="root"&&!N.includes(i)&&s.push(i);for(const d of r.children||[])s.push(...o(d,a));return s}}export{On as default}; diff --git a/_nuxt/ContentSlot.77b558c1.js b/_nuxt/ContentSlot.725c9014.js similarity index 86% rename from _nuxt/ContentSlot.77b558c1.js rename to _nuxt/ContentSlot.725c9014.js index 7d03843..c236b5d 100644 --- a/_nuxt/ContentSlot.77b558c1.js +++ b/_nuxt/ContentSlot.725c9014.js @@ -1 +1 @@ -import{a as g,V as h,I as c,W as p,X as y,R as w}from"./entry.ed643c4e.js";const C=g({name:"ContentSlot",functional:!0,props:{use:{type:Function,default:void 0},unwrap:{type:[Boolean,String],default:!1}},setup(e){const{parent:u}=w(),{between:o,default:l}=h(),i=c(()=>typeof e.unwrap=="string"?e.unwrap.split(" "):["*"]);return{fallbackSlot:l,tags:i,between:o,parent:u}},render({use:e,unwrap:u,fallbackSlot:o,between:l,tags:i,parent:n}){var f;try{let r=e;if(typeof e=="string"&&(r=(n==null?void 0:n.slots[e])||((f=n==null?void 0:n.parent)==null?void 0:f.slots[e]),console.warn(`Please set :use="$slots.${e}" in component to enable reactivity`)),!r)return o?o():p("div");if(!u)return[r()];const{flatUnwrap:d}=y(),a=d(r(),i);return l?a.flatMap((t,s)=>s===0?[t]:[l(),t]):a.reduce((t,s)=>(typeof s.children=="string"?typeof t[t.length-1]=="string"?t[t.length-1]+=s.children:t.push(s.children):t.push(s),t),[])}catch{return p("div")}}});export{C as default}; +import{a as g,V as h,I as c,W as p,X as y,R as w}from"./entry.4bb11f8f.js";const C=g({name:"ContentSlot",functional:!0,props:{use:{type:Function,default:void 0},unwrap:{type:[Boolean,String],default:!1}},setup(e){const{parent:u}=w(),{between:o,default:l}=h(),i=c(()=>typeof e.unwrap=="string"?e.unwrap.split(" "):["*"]);return{fallbackSlot:l,tags:i,between:o,parent:u}},render({use:e,unwrap:u,fallbackSlot:o,between:l,tags:i,parent:n}){var f;try{let r=e;if(typeof e=="string"&&(r=(n==null?void 0:n.slots[e])||((f=n==null?void 0:n.parent)==null?void 0:f.slots[e]),console.warn(`Please set :use="$slots.${e}" in component to enable reactivity`)),!r)return o?o():p("div");if(!u)return[r()];const{flatUnwrap:d}=y(),a=d(r(),i);return l?a.flatMap((t,s)=>s===0?[t]:[l(),t]):a.reduce((t,s)=>(typeof s.children=="string"?typeof t[t.length-1]=="string"?t[t.length-1]+=s.children:t.push(s.children):t.push(s),t),[])}catch{return p("div")}}});export{C as default}; diff --git a/_nuxt/CopyButton.8ef62a15.js b/_nuxt/CopyButton.be7cffec.js similarity index 91% rename from _nuxt/CopyButton.8ef62a15.js rename to _nuxt/CopyButton.be7cffec.js index e180d9b..8ad5e14 100644 --- a/_nuxt/CopyButton.8ef62a15.js +++ b/_nuxt/CopyButton.be7cffec.js @@ -1 +1 @@ -import{a as l,r as i,o as e,i as u,u as m,c as n,L as d}from"./entry.ed643c4e.js";import{u as f}from"./index.8e6a446a.js";const b=l({__name:"CopyButton",props:{content:{type:String,default:""}},setup(c){const a=c,{copy:s}=f(),o=i("init"),p=r=>{s(a.content).then(()=>{o.value="copied",setTimeout(()=>{o.value="init"},1e3)}).catch(()=>{console.warn("Couldn't copy to clipboard!")})};return(r,y)=>{const t=d;return e(),u("button",{class:"copy rounded-lg bg-gray-800 px-2 py-2 font-mono text-xs font-semibold leading-none text-gray-400 focus:outline-none dark:bg-black",onClick:p},[m(o)==="copied"?(e(),n(t,{key:0,name:"fa-check",class:"h-4 w-4"})):(e(),n(t,{key:1,name:"fa-copy",class:"h-4 w-4"}))])}}});export{b as default}; +import{a as l,r as i,o as e,i as u,u as m,c as n,L as d}from"./entry.4bb11f8f.js";import{u as f}from"./index.9d1c1506.js";const b=l({__name:"CopyButton",props:{content:{type:String,default:""}},setup(c){const a=c,{copy:s}=f(),o=i("init"),p=r=>{s(a.content).then(()=>{o.value="copied",setTimeout(()=>{o.value="init"},1e3)}).catch(()=>{console.warn("Couldn't copy to clipboard!")})};return(r,y)=>{const t=d;return e(),u("button",{class:"copy rounded-lg bg-gray-800 px-2 py-2 font-mono text-xs font-semibold leading-none text-gray-400 focus:outline-none dark:bg-black",onClick:p},[m(o)==="copied"?(e(),n(t,{key:0,name:"fa-check",class:"h-4 w-4"})):(e(),n(t,{key:1,name:"fa-copy",class:"h-4 w-4"}))])}}});export{b as default}; diff --git a/_nuxt/DocsAside.a0678493.js b/_nuxt/DocsAside.72ea4d6e.js similarity index 89% rename from _nuxt/DocsAside.a0678493.js rename to _nuxt/DocsAside.72ea4d6e.js index b9c52aa..e5544cb 100644 --- a/_nuxt/DocsAside.a0678493.js +++ b/_nuxt/DocsAside.72ea4d6e.js @@ -1 +1 @@ -import{a as r,Y as d,o,i as l,u as n,c,w as u,m as i,Z as m,L as f,M as k,s as x,v as h,k as v,x as b}from"./entry.ed643c4e.js";const I=e=>(x("data-v-9f9b6cd1"),e=e(),h(),e),w=I(()=>v("span",{class:"text"},"Go back",-1)),y=r({__name:"DocsAside",setup(e){const{tree:s}=d();return(B,D)=>{var t;const _=m,a=f,p=k;return o(),l("nav",null,[((t=n(s))==null?void 0:t.length)>0?(o(),c(_,{key:0,links:n(s)},null,8,["links"])):(o(),c(p,{key:1,to:"/",class:"go-back-link"},{default:u(()=>[i(a,{name:"heroicons-outline:arrow-left",class:"icon"}),w]),_:1}))])}}});const A=b(y,[["__scopeId","data-v-9f9b6cd1"]]);export{A as default}; +import{a as r,Y as d,o,i as l,u as n,c,w as u,m as i,Z as m,L as f,M as k,s as x,v as h,k as v,x as b}from"./entry.4bb11f8f.js";const I=e=>(x("data-v-9f9b6cd1"),e=e(),h(),e),w=I(()=>v("span",{class:"text"},"Go back",-1)),y=r({__name:"DocsAside",setup(e){const{tree:s}=d();return(B,D)=>{var t;const _=m,a=f,p=k;return o(),l("nav",null,[((t=n(s))==null?void 0:t.length)>0?(o(),c(_,{key:0,links:n(s)},null,8,["links"])):(o(),c(p,{key:1,to:"/",class:"go-back-link"},{default:u(()=>[i(a,{name:"heroicons-outline:arrow-left",class:"icon"}),w]),_:1}))])}}});const A=b(y,[["__scopeId","data-v-9f9b6cd1"]]);export{A as default}; diff --git a/_nuxt/DocsPageBottom.e8627347.js b/_nuxt/DocsPageBottom.4b461a23.js similarity index 87% rename from _nuxt/DocsPageBottom.e8627347.js rename to _nuxt/DocsPageBottom.4b461a23.js index a2defb2..cffdc08 100644 --- a/_nuxt/DocsPageBottom.e8627347.js +++ b/_nuxt/DocsPageBottom.4b461a23.js @@ -1 +1 @@ -import{a as h,$ as x,Y as k,u as t,o as a,i as s,m as n,w as m,l as _,S as v,k as d,t as y,L as D,s as I,v as S,x as B}from"./entry.ed643c4e.js";import b from"./ProseA.ca1f4c92.js";import{_ as w}from"./EditOnLink.vue.7088074c.js";const C=e=>(I("data-v-1a8594aa"),e=e(),S(),e),N={key:0,class:"docs-page-bottom"},V={key:0,class:"edit-link"},E=C(()=>d("span",null," Edit this page on GitHub ",-1)),P={key:1},L=h({__name:"DocsPageBottom",setup(e){const{page:o}=x(),{config:r}=k();return(T,U)=>{var c,p,i;const u=D,l=b,f=w;return t(o)?(a(),s("div",N,[(p=(c=t(r))==null?void 0:c.github)!=null&&p.edit?(a(),s("div",V,[n(u,{name:"uil:edit"}),n(f,{page:t(o)},{default:m(({url:g})=>[n(l,{to:g},{default:m(()=>[E]),_:2},1032,["to"])]),_:1},8,["page"])])):_("",!0),(i=t(o))!=null&&i.mtime?(a(),s("span",P,[v("Updated on "),d("b",null,y(new Intl.DateTimeFormat("en-US").format(Date.parse(t(o).mtime))),1)])):_("",!0)])):_("",!0)}}});const G=B(L,[["__scopeId","data-v-1a8594aa"]]);export{G as default}; +import{a as h,$ as x,Y as k,u as t,o as a,i as s,m as n,w as m,l as _,S as v,k as d,t as y,L as D,s as I,v as S,x as B}from"./entry.4bb11f8f.js";import b from"./ProseA.c5ff1621.js";import{_ as w}from"./EditOnLink.vue.0c5bf15e.js";const C=e=>(I("data-v-1a8594aa"),e=e(),S(),e),N={key:0,class:"docs-page-bottom"},V={key:0,class:"edit-link"},E=C(()=>d("span",null," Edit this page on GitHub ",-1)),P={key:1},L=h({__name:"DocsPageBottom",setup(e){const{page:o}=x(),{config:r}=k();return(T,U)=>{var c,p,i;const u=D,l=b,f=w;return t(o)?(a(),s("div",N,[(p=(c=t(r))==null?void 0:c.github)!=null&&p.edit?(a(),s("div",V,[n(u,{name:"uil:edit"}),n(f,{page:t(o)},{default:m(({url:g})=>[n(l,{to:g},{default:m(()=>[E]),_:2},1032,["to"])]),_:1},8,["page"])])):_("",!0),(i=t(o))!=null&&i.mtime?(a(),s("span",P,[v("Updated on "),d("b",null,y(new Intl.DateTimeFormat("en-US").format(Date.parse(t(o).mtime))),1)])):_("",!0)])):_("",!0)}}});const G=B(L,[["__scopeId","data-v-1a8594aa"]]);export{G as default}; diff --git a/_nuxt/DocsPageLayout.26ebcdc9.js b/_nuxt/DocsPageLayout.8f980530.js similarity index 83% rename from _nuxt/DocsPageLayout.26ebcdc9.js rename to _nuxt/DocsPageLayout.8f980530.js index b85b5e4..eb363ad 100644 --- a/_nuxt/DocsPageLayout.26ebcdc9.js +++ b/_nuxt/DocsPageLayout.8f980530.js @@ -1 +1 @@ -import O from"./DocsAside.a0678493.js";import R from"./ProseCodeInline.88572d5e.js";import U from"./Alert.c0cc7db1.js";import Y from"./DocsPageBottom.e8627347.js";import G from"./DocsPrevNext.256c0770.js";import{a as J,$ as Q,Y as W,q as X,I as m,r as V,z as Z,f as ee,a1 as oe,o as u,c as A,w as h,u as t,i as g,m as r,l as y,k as p,K as te,S as x,t as se,F as ne,j as k,L as ae,a2 as ce,s as le,v as re,x as _e}from"./entry.ed643c4e.js";import ie from"./DocsToc.a188057b.js";import"./ContentSlot.77b558c1.js";import"./ProseA.ca1f4c92.js";import"./EditOnLink.vue.7088074c.js";import"./DocsTocLinks.8f3792f3.js";const ue=d=>(le("data-v-827d681e"),d=d(),re(),d),pe={class:"page-body"},de={key:1,class:"toc"},me={class:"toc-wrapper"},fe=ue(()=>p("span",{class:"title"},"Table of Contents",-1)),ve=J({__name:"DocsPageLayout",setup(d){const{page:n}=Q(),{config:f,tree:T}=W(),L=X(),j=(e,o=!0)=>{var s;return typeof((s=n.value)==null?void 0:s[e])<"u"?n.value[e]:o},S=m(()=>{var e,o,s;return!n.value||((s=(o=(e=n.value)==null?void 0:e.body)==null?void 0:o.children)==null?void 0:s.length)>0}),P=m(()=>{var e,o,s,c,l;return((e=n.value)==null?void 0:e.toc)!==!1&&((l=(c=(s=(o=n.value)==null?void 0:o.body)==null?void 0:s.toc)==null?void 0:c.links)==null?void 0:l.length)>=2}),C=m(()=>{var e,o,s,c,l;return((e=n.value)==null?void 0:e.aside)!==!1&&(((o=T.value)==null?void 0:o.length)>1||((l=(c=(s=T.value)==null?void 0:s[0])==null?void 0:c.children)==null?void 0:l.length))}),z=m(()=>j("bottom",!0)),_=V(!1),a=V(null),v=()=>L.path.split("/").slice(0,2).join("/"),i=Z("asideScroll",()=>{var e;return{parentPath:v(),scrollTop:((e=a.value)==null?void 0:e.scrollTop)||0}});function b(){a.value&&(a.value.scrollHeight===0&&setTimeout(b,0),a.value.scrollTop=i.value.scrollTop)}return ee(()=>{i.value.parentPath!==v()?(i.value.parentPath=v(),i.value.scrollTop=0):b()}),oe(()=>{a.value&&(i.value.scrollTop=a.value.scrollTop)}),(e,o)=>{var D,w,B,I,N,$;const s=O,c=R,l=U,F=Y,H=G,M=ae,q=ie,E=ce;return u(),A(E,{fluid:(w=(D=t(f))==null?void 0:D.main)==null?void 0:w.fluid,padded:(I=(B=t(f))==null?void 0:B.main)==null?void 0:I.padded,class:k(["docs-page-content",{fluid:($=(N=t(f))==null?void 0:N.main)==null?void 0:$.fluid,"has-toc":t(P),"has-aside":t(C)}])},{default:h(()=>[t(C)?(u(),g("aside",{key:0,ref_key:"asideNav",ref:a,class:"aside-nav"},[r(s,{class:"app-aside"})],512)):y("",!0),p("article",pe,[t(S)?te(e.$slots,"default",{key:0},void 0,!0):(u(),A(l,{key:1,type:"info"},{default:h(()=>[x(" Start writing in "),r(c,null,{default:h(()=>[x("content/"+se(t(n)._file),1)]),_:1}),x(" to see this page taking shape. ")]),_:1})),t(S)&&t(n)&&t(z)?(u(),g(ne,{key:2},[r(F),r(H)],64)):y("",!0)]),t(P)?(u(),g("div",de,[p("div",me,[p("button",{onClick:o[0]||(o[0]=K=>_.value=!t(_))},[fe,r(M,{name:"heroicons-outline:chevron-right",class:k(["icon",[t(_)&&"rotate"]])},null,8,["class"])]),p("div",{class:k(["docs-toc-wrapper",[t(_)&&"opened"]])},[r(q,{onMove:o[1]||(o[1]=K=>_.value=!1)})],2)])])):y("",!0)]),_:3},8,["fluid","padded","class"])}}});const we=_e(ve,[["__scopeId","data-v-827d681e"]]);export{we as default}; +import O from"./DocsAside.72ea4d6e.js";import R from"./ProseCodeInline.b7a651bb.js";import U from"./Alert.67812a3c.js";import Y from"./DocsPageBottom.4b461a23.js";import G from"./DocsPrevNext.4cf934f2.js";import{a as J,$ as Q,Y as W,q as X,I as m,r as V,z as Z,f as ee,a1 as oe,o as u,c as A,w as h,u as t,i as g,m as r,l as y,k as p,K as te,S as x,t as se,F as ne,j as k,L as ae,a2 as ce,s as le,v as re,x as _e}from"./entry.4bb11f8f.js";import ie from"./DocsToc.ef429e13.js";import"./ContentSlot.725c9014.js";import"./ProseA.c5ff1621.js";import"./EditOnLink.vue.0c5bf15e.js";import"./DocsTocLinks.92064971.js";const ue=d=>(le("data-v-827d681e"),d=d(),re(),d),pe={class:"page-body"},de={key:1,class:"toc"},me={class:"toc-wrapper"},fe=ue(()=>p("span",{class:"title"},"Table of Contents",-1)),ve=J({__name:"DocsPageLayout",setup(d){const{page:n}=Q(),{config:f,tree:T}=W(),L=X(),j=(e,o=!0)=>{var s;return typeof((s=n.value)==null?void 0:s[e])<"u"?n.value[e]:o},S=m(()=>{var e,o,s;return!n.value||((s=(o=(e=n.value)==null?void 0:e.body)==null?void 0:o.children)==null?void 0:s.length)>0}),P=m(()=>{var e,o,s,c,l;return((e=n.value)==null?void 0:e.toc)!==!1&&((l=(c=(s=(o=n.value)==null?void 0:o.body)==null?void 0:s.toc)==null?void 0:c.links)==null?void 0:l.length)>=2}),C=m(()=>{var e,o,s,c,l;return((e=n.value)==null?void 0:e.aside)!==!1&&(((o=T.value)==null?void 0:o.length)>1||((l=(c=(s=T.value)==null?void 0:s[0])==null?void 0:c.children)==null?void 0:l.length))}),z=m(()=>j("bottom",!0)),_=V(!1),a=V(null),v=()=>L.path.split("/").slice(0,2).join("/"),i=Z("asideScroll",()=>{var e;return{parentPath:v(),scrollTop:((e=a.value)==null?void 0:e.scrollTop)||0}});function b(){a.value&&(a.value.scrollHeight===0&&setTimeout(b,0),a.value.scrollTop=i.value.scrollTop)}return ee(()=>{i.value.parentPath!==v()?(i.value.parentPath=v(),i.value.scrollTop=0):b()}),oe(()=>{a.value&&(i.value.scrollTop=a.value.scrollTop)}),(e,o)=>{var D,w,B,I,N,$;const s=O,c=R,l=U,F=Y,H=G,M=ae,q=ie,E=ce;return u(),A(E,{fluid:(w=(D=t(f))==null?void 0:D.main)==null?void 0:w.fluid,padded:(I=(B=t(f))==null?void 0:B.main)==null?void 0:I.padded,class:k(["docs-page-content",{fluid:($=(N=t(f))==null?void 0:N.main)==null?void 0:$.fluid,"has-toc":t(P),"has-aside":t(C)}])},{default:h(()=>[t(C)?(u(),g("aside",{key:0,ref_key:"asideNav",ref:a,class:"aside-nav"},[r(s,{class:"app-aside"})],512)):y("",!0),p("article",pe,[t(S)?te(e.$slots,"default",{key:0},void 0,!0):(u(),A(l,{key:1,type:"info"},{default:h(()=>[x(" Start writing in "),r(c,null,{default:h(()=>[x("content/"+se(t(n)._file),1)]),_:1}),x(" to see this page taking shape. ")]),_:1})),t(S)&&t(n)&&t(z)?(u(),g(ne,{key:2},[r(F),r(H)],64)):y("",!0)]),t(P)?(u(),g("div",de,[p("div",me,[p("button",{onClick:o[0]||(o[0]=K=>_.value=!t(_))},[fe,r(M,{name:"heroicons-outline:chevron-right",class:k(["icon",[t(_)&&"rotate"]])},null,8,["class"])]),p("div",{class:k(["docs-toc-wrapper",[t(_)&&"opened"]])},[r(q,{onMove:o[1]||(o[1]=K=>_.value=!1)})],2)])])):y("",!0)]),_:3},8,["fluid","padded","class"])}}});const we=_e(ve,[["__scopeId","data-v-827d681e"]]);export{we as default}; diff --git a/_nuxt/DocsPrevNext.256c0770.js b/_nuxt/DocsPrevNext.4cf934f2.js similarity index 90% rename from _nuxt/DocsPrevNext.256c0770.js rename to _nuxt/DocsPrevNext.4cf934f2.js index e3fedfc..e793fd1 100644 --- a/_nuxt/DocsPrevNext.256c0770.js +++ b/_nuxt/DocsPrevNext.4cf934f2.js @@ -1 +1 @@ -import{a as y,$ as f,u as t,o as n,i as r,c as u,w as h,m,k as p,t as i,l,a3 as k,L as g,M as w,a4 as N,x as C}from"./entry.ed643c4e.js";const B={key:0,class:"docs-prev-next"},D={class:"wrapper"},P={key:0,class:"directory"},V={class:"title"},b={key:1},F={class:"wrapper"},I={key:0,class:"directory"},L={class:"title"},$=y({__name:"DocsPrevNext",setup(j){const{prev:e,next:s,navigation:v}=f(),{navDirFromPath:x}=N(),_=d=>{var a;const c=x(d._path,v.value||[]);if(c&&c[0])return((a=c[0])==null?void 0:a._path)??"";{const o=d.split("/");return(o.length>1?o[o.length-2]:"").split("-").map(k).join(" ")}};return(d,c)=>{const a=g,o=w;return t(e)||t(s)?(n(),r("div",B,[t(e)&&t(e)._path?(n(),u(o,{key:0,to:t(e)._path,class:"prev"},{default:h(()=>[m(a,{name:"heroicons-outline:arrow-sm-left",class:"icon"}),p("div",D,[_(t(e)._path)?(n(),r("span",P,i(_(t(e)._path)),1)):l("",!0),p("span",V,i(t(e).title),1)])]),_:1},8,["to"])):(n(),r("span",b)),t(s)&&t(s)._path?(n(),u(o,{key:2,to:t(s)._path,class:"next"},{default:h(()=>[p("div",F,[_(t(s)._path)?(n(),r("span",I,i(_(t(s)._path)),1)):l("",!0),p("span",L,i(t(s).title),1)]),m(a,{name:"heroicons-outline:arrow-sm-right",class:"icon"})]),_:1},8,["to"])):l("",!0)])):l("",!0)}}});const M=C($,[["__scopeId","data-v-e2b2334e"]]);export{M as default}; +import{a as y,$ as f,u as t,o as n,i as r,c as u,w as h,m,k as p,t as i,l,a3 as k,L as g,M as w,a4 as N,x as C}from"./entry.4bb11f8f.js";const B={key:0,class:"docs-prev-next"},D={class:"wrapper"},P={key:0,class:"directory"},V={class:"title"},b={key:1},F={class:"wrapper"},I={key:0,class:"directory"},L={class:"title"},$=y({__name:"DocsPrevNext",setup(j){const{prev:e,next:s,navigation:v}=f(),{navDirFromPath:x}=N(),_=d=>{var a;const c=x(d._path,v.value||[]);if(c&&c[0])return((a=c[0])==null?void 0:a._path)??"";{const o=d.split("/");return(o.length>1?o[o.length-2]:"").split("-").map(k).join(" ")}};return(d,c)=>{const a=g,o=w;return t(e)||t(s)?(n(),r("div",B,[t(e)&&t(e)._path?(n(),u(o,{key:0,to:t(e)._path,class:"prev"},{default:h(()=>[m(a,{name:"heroicons-outline:arrow-sm-left",class:"icon"}),p("div",D,[_(t(e)._path)?(n(),r("span",P,i(_(t(e)._path)),1)):l("",!0),p("span",V,i(t(e).title),1)])]),_:1},8,["to"])):(n(),r("span",b)),t(s)&&t(s)._path?(n(),u(o,{key:2,to:t(s)._path,class:"next"},{default:h(()=>[p("div",F,[_(t(s)._path)?(n(),r("span",I,i(_(t(s)._path)),1)):l("",!0),p("span",L,i(t(s).title),1)]),m(a,{name:"heroicons-outline:arrow-sm-right",class:"icon"})]),_:1},8,["to"])):l("",!0)])):l("",!0)}}});const M=C($,[["__scopeId","data-v-e2b2334e"]]);export{M as default}; diff --git a/_nuxt/DocsToc.a188057b.js b/_nuxt/DocsToc.ef429e13.js similarity index 80% rename from _nuxt/DocsToc.a188057b.js rename to _nuxt/DocsToc.ef429e13.js index 6bf9cb7..4f37ffe 100644 --- a/_nuxt/DocsToc.a188057b.js +++ b/_nuxt/DocsToc.ef429e13.js @@ -1 +1 @@ -import l from"./DocsTocLinks.8f3792f3.js";import{a as m,$ as i,o as c,i as _,u as a,F as u,m as f,l as v,s as k,v as x,k as d,x as h}from"./entry.ed643c4e.js";const C=e=>(k("data-v-7f8d31cc"),e=e(),x(),e),I={class:"docs-toc"},T=C(()=>d("div",{class:"docs-toc-title"},[d("span",null,"Table of Contents")],-1)),g=m({__name:"DocsToc",emits:["move"],setup(e,{emit:p}){const{toc:o}=i();return(y,s)=>{var t,n;const r=l;return c(),_("div",I,[(n=(t=a(o))==null?void 0:t.links)!=null&&n.length?(c(),_(u,{key:0},[T,f(r,{links:a(o).links,onMove:s[0]||(s[0]=B=>p("move"))},null,8,["links"])],64)):v("",!0)])}}});const S=h(g,[["__scopeId","data-v-7f8d31cc"]]);export{S as default}; +import l from"./DocsTocLinks.92064971.js";import{a as m,$ as i,o as c,i as _,u as a,F as u,m as f,l as v,s as k,v as x,k as d,x as h}from"./entry.4bb11f8f.js";const C=e=>(k("data-v-7f8d31cc"),e=e(),x(),e),I={class:"docs-toc"},T=C(()=>d("div",{class:"docs-toc-title"},[d("span",null,"Table of Contents")],-1)),g=m({__name:"DocsToc",emits:["move"],setup(e,{emit:p}){const{toc:o}=i();return(y,s)=>{var t,n;const r=l;return c(),_("div",I,[(n=(t=a(o))==null?void 0:t.links)!=null&&n.length?(c(),_(u,{key:0},[T,f(r,{links:a(o).links,onMove:s[0]||(s[0]=B=>p("move"))},null,8,["links"])],64)):v("",!0)])}}});const S=h(g,[["__scopeId","data-v-7f8d31cc"]]);export{S as default}; diff --git a/_nuxt/DocsTocLinks.8f3792f3.js b/_nuxt/DocsTocLinks.92064971.js similarity index 96% rename from _nuxt/DocsTocLinks.8f3792f3.js rename to _nuxt/DocsTocLinks.92064971.js index 64d778b..b6ca6e0 100644 --- a/_nuxt/DocsTocLinks.8f3792f3.js +++ b/_nuxt/DocsTocLinks.92064971.js @@ -1 +1 @@ -import{r as i,P as h,O as f,a1 as g,a as y,e as k,o as u,i as v,F as b,a5 as x,j as p,k as B,t as C,u as H,a6 as S,c as A,l as T,x as q}from"./entry.ed643c4e.js";const D=()=>{const c=i(),t=i([]),a=i([]),l=e=>e.forEach(o=>{const s=o.target.id;o.isIntersecting?t.value.push(s):t.value=t.value.filter(r=>r!==s)}),d=e=>e.forEach(o=>{c.value.observe(o)});return h(t,(e,o)=>{e.length===0?a.value=o:a.value=e},{deep:!0}),f(()=>c.value=new IntersectionObserver(l)),g(()=>{var e;return(e=c.value)==null?void 0:e.disconnect()}),{visibleHeadings:t,activeHeadings:a,updateHeadings:d}},L={class:"docs-toc-links"},M=["href","onClick"],$=y({__name:"DocsTocLinks",props:{links:{type:Array,default:()=>[]}},emits:["move"],setup(c,{emit:t}){const a=k(),{activeHeadings:l,updateHeadings:d}=D();setTimeout(()=>{d([...document.querySelectorAll(".document-driven-page h1, .docus-content h1"),...document.querySelectorAll(".document-driven-page h2, .docus-content h2"),...document.querySelectorAll(".document-driven-page h3, .docus-content h3"),...document.querySelectorAll(".document-driven-page h4, .docus-content h4")])},300);function e(s){a.push(`#${s}`),t("move",s)}function o(s){t("move",s)}return(s,r)=>{const m=w;return u(),v("ul",L,[(u(!0),v(b,null,x(c.links,n=>(u(),v("li",{key:n.text,class:p([`depth-${n.depth}`])},[B("a",{href:`#${n.id}`,class:p([H(l).includes(n.id)&&"active"]),onClick:S(_=>e(n.id),["prevent"])},C(n.text),11,M),n.children?(u(),A(m,{key:0,links:n.children,onMove:r[0]||(r[0]=_=>o(_))},null,8,["links"])):T("",!0)],2))),128))])}}});const w=q($,[["__scopeId","data-v-b187056d"]]);export{w as default}; +import{r as i,P as h,O as f,a1 as g,a as y,e as k,o as u,i as v,F as b,a5 as x,j as p,k as B,t as C,u as H,a6 as S,c as A,l as T,x as q}from"./entry.4bb11f8f.js";const D=()=>{const c=i(),t=i([]),a=i([]),l=e=>e.forEach(o=>{const s=o.target.id;o.isIntersecting?t.value.push(s):t.value=t.value.filter(r=>r!==s)}),d=e=>e.forEach(o=>{c.value.observe(o)});return h(t,(e,o)=>{e.length===0?a.value=o:a.value=e},{deep:!0}),f(()=>c.value=new IntersectionObserver(l)),g(()=>{var e;return(e=c.value)==null?void 0:e.disconnect()}),{visibleHeadings:t,activeHeadings:a,updateHeadings:d}},L={class:"docs-toc-links"},M=["href","onClick"],$=y({__name:"DocsTocLinks",props:{links:{type:Array,default:()=>[]}},emits:["move"],setup(c,{emit:t}){const a=k(),{activeHeadings:l,updateHeadings:d}=D();setTimeout(()=>{d([...document.querySelectorAll(".document-driven-page h1, .docus-content h1"),...document.querySelectorAll(".document-driven-page h2, .docus-content h2"),...document.querySelectorAll(".document-driven-page h3, .docus-content h3"),...document.querySelectorAll(".document-driven-page h4, .docus-content h4")])},300);function e(s){a.push(`#${s}`),t("move",s)}function o(s){t("move",s)}return(s,r)=>{const m=w;return u(),v("ul",L,[(u(!0),v(b,null,x(c.links,n=>(u(),v("li",{key:n.text,class:p([`depth-${n.depth}`])},[B("a",{href:`#${n.id}`,class:p([H(l).includes(n.id)&&"active"]),onClick:S(_=>e(n.id),["prevent"])},C(n.text),11,M),n.children?(u(),A(m,{key:0,links:n.children,onMove:r[0]||(r[0]=_=>o(_))},null,8,["links"])):T("",!0)],2))),128))])}}});const w=q($,[["__scopeId","data-v-b187056d"]]);export{w as default}; diff --git a/_nuxt/DocumentDrivenEmpty.f6bb8a10.js b/_nuxt/DocumentDrivenEmpty.a1939bad.js similarity index 77% rename from _nuxt/DocumentDrivenEmpty.f6bb8a10.js rename to _nuxt/DocumentDrivenEmpty.a1939bad.js index 4c60176..1f85170 100644 --- a/_nuxt/DocumentDrivenEmpty.f6bb8a10.js +++ b/_nuxt/DocumentDrivenEmpty.a1939bad.js @@ -1 +1 @@ -import{a as n,W as e}from"./entry.ed643c4e.js";const r=n({name:"DocumentDrivenEmpty",props:{value:{type:Object,required:!0}},render({value:t}){return e("div",void 0,[e("p","Document is empty"),e("p",`Add content to it by opening ${t._source}/${t._file} file.`)])}});export{r as default}; +import{a as n,W as e}from"./entry.4bb11f8f.js";const r=n({name:"DocumentDrivenEmpty",props:{value:{type:Object,required:!0}},render({value:t}){return e("div",void 0,[e("p","Document is empty"),e("p",`Add content to it by opening ${t._source}/${t._file} file.`)])}});export{r as default}; diff --git a/_nuxt/DocumentDrivenNotFound.c186b31a.js b/_nuxt/DocumentDrivenNotFound.fc29f11a.js similarity index 74% rename from _nuxt/DocumentDrivenNotFound.c186b31a.js rename to _nuxt/DocumentDrivenNotFound.fc29f11a.js index 891dda5..4b60daa 100644 --- a/_nuxt/DocumentDrivenNotFound.c186b31a.js +++ b/_nuxt/DocumentDrivenNotFound.fc29f11a.js @@ -1 +1 @@ -import s from"./ButtonLink.6797971c.js";import{x as c,o as _,i as a,k as o,m as d,w as i,S as r,s as p,v as u}from"./entry.ed643c4e.js";import"./ContentSlot.77b558c1.js";const l={},e=t=>(p("data-v-7fc6983a"),t=t(),u(),t),m={class:"document-driven-not-found not-prose"},f=e(()=>o("p",null," 404 ",-1)),h={class:"content"},v=e(()=>o("div",{class:"text-section"},[o("h1",null," Not Found "),o("p",null," This is not the page you're looking for. ")],-1)),x={class:"button-section"};function k(t,N){const n=s;return _(),a("div",m,[o("main",null,[f,o("div",h,[v,o("div",x,[d(n,{href:"/",size:"large",variant:"primary"},{default:i(()=>[r(" Go back home ")]),_:1})])])])])}const I=c(l,[["render",k],["__scopeId","data-v-7fc6983a"]]);export{I as default}; +import s from"./ButtonLink.7b7e2d25.js";import{x as c,o as _,i as a,k as o,m as d,w as i,S as r,s as p,v as u}from"./entry.4bb11f8f.js";import"./ContentSlot.725c9014.js";const l={},e=t=>(p("data-v-7fc6983a"),t=t(),u(),t),m={class:"document-driven-not-found not-prose"},f=e(()=>o("p",null," 404 ",-1)),h={class:"content"},v=e(()=>o("div",{class:"text-section"},[o("h1",null," Not Found "),o("p",null," This is not the page you're looking for. ")],-1)),x={class:"button-section"};function k(t,N){const n=s;return _(),a("div",m,[o("main",null,[f,o("div",h,[v,o("div",x,[d(n,{href:"/",size:"large",variant:"primary"},{default:i(()=>[r(" Go back home ")]),_:1})])])])])}const I=c(l,[["render",k],["__scopeId","data-v-7fc6983a"]]);export{I as default}; diff --git a/_nuxt/EditOnLink.212dde24.js b/_nuxt/EditOnLink.212dde24.js deleted file mode 100644 index 0adfa07..0000000 --- a/_nuxt/EditOnLink.212dde24.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./EditOnLink.vue.7088074c.js";import"./entry.ed643c4e.js";export{m as default}; diff --git a/_nuxt/EditOnLink.d791caa8.js b/_nuxt/EditOnLink.d791caa8.js new file mode 100644 index 0000000..8c69b65 --- /dev/null +++ b/_nuxt/EditOnLink.d791caa8.js @@ -0,0 +1 @@ +import{_ as m}from"./EditOnLink.vue.0c5bf15e.js";import"./entry.4bb11f8f.js";export{m as default}; diff --git a/_nuxt/EditOnLink.vue.7088074c.js b/_nuxt/EditOnLink.vue.0c5bf15e.js similarity index 97% rename from _nuxt/EditOnLink.vue.7088074c.js rename to _nuxt/EditOnLink.vue.0c5bf15e.js index 73a7117..660dfca 100644 --- a/_nuxt/EditOnLink.vue.7088074c.js +++ b/_nuxt/EditOnLink.vue.0c5bf15e.js @@ -1 +1 @@ -import{a as y,C as a,I as c,a0 as v,V as w}from"./entry.ed643c4e.js";const q=y({props:{owner:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.owner},required:!1},repo:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.repo},required:!1},branch:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.branch},required:!1},dir:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.dir},required:!1},source:{type:String,required:!1,default:void 0},page:{type:Object,required:!1,default:void 0},contentDir:{type:String,required:!1,default:()=>{var e,t,r;return((r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.dir)||"content"}},edit:{type:Boolean,required:!1,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.edit}}},setup(e){if(!e.owner||!e.repo||!e.branch)throw new Error("If you want to use `GithubLink` component, you must specify: `owner`, `repo` and `branch`.");const t=c(()=>{var s,h;let{repo:n,owner:u,branch:d,contentDir:f}=e,l="";if((h=(s=a())==null?void 0:s.public)!=null&&h.content){let i;const{sources:b}=a().public.content;for(const g in b||[])if(e.page._id.startsWith(g)){i=b[g];break}(i==null?void 0:i.driver)==="github"&&(n=i.repo||e.repo||"",u=i.owner||e.owner||"",d=i.branch||e.branch||"main",f=i.dir||e.contentDir||"",l=i.prefix||"")}return{repo:n,owner:u,branch:d,contentDir:f,prefix:l}}),r=c(()=>v("https://github.com",`${t.value.owner}/${t.value.repo}`)),o=c(()=>{var u;const n=[];return(u=e==null?void 0:e.page)!=null&&u._path?(t.value.contentDir&&n.push(t.value.contentDir),n.push(e.page._file.substring(t.value.prefix.length)),n):(e.dir&&n.push(e.dir),e.source&&n.push(e.source),n)});return{url:c(()=>{var u;const n=[r.value];return e.edit?n.push("edit"):n.push("tree"),n.push(((u=t==null?void 0:t.value)==null?void 0:u.branch)||"",...o.value),n.filter(Boolean).join("/")})}},render(e){var o;const{url:t}=e,r=w();return(o=r==null?void 0:r.default)==null?void 0:o.call(r,{url:t})}});export{q as _}; +import{a as y,C as a,I as c,a0 as v,V as w}from"./entry.4bb11f8f.js";const q=y({props:{owner:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.owner},required:!1},repo:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.repo},required:!1},branch:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.branch},required:!1},dir:{type:String,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.dir},required:!1},source:{type:String,required:!1,default:void 0},page:{type:Object,required:!1,default:void 0},contentDir:{type:String,required:!1,default:()=>{var e,t,r;return((r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.dir)||"content"}},edit:{type:Boolean,required:!1,default:()=>{var e,t,r;return(r=(t=(e=a())==null?void 0:e.docus)==null?void 0:t.github)==null?void 0:r.edit}}},setup(e){if(!e.owner||!e.repo||!e.branch)throw new Error("If you want to use `GithubLink` component, you must specify: `owner`, `repo` and `branch`.");const t=c(()=>{var s,h;let{repo:n,owner:u,branch:d,contentDir:f}=e,l="";if((h=(s=a())==null?void 0:s.public)!=null&&h.content){let i;const{sources:b}=a().public.content;for(const g in b||[])if(e.page._id.startsWith(g)){i=b[g];break}(i==null?void 0:i.driver)==="github"&&(n=i.repo||e.repo||"",u=i.owner||e.owner||"",d=i.branch||e.branch||"main",f=i.dir||e.contentDir||"",l=i.prefix||"")}return{repo:n,owner:u,branch:d,contentDir:f,prefix:l}}),r=c(()=>v("https://github.com",`${t.value.owner}/${t.value.repo}`)),o=c(()=>{var u;const n=[];return(u=e==null?void 0:e.page)!=null&&u._path?(t.value.contentDir&&n.push(t.value.contentDir),n.push(e.page._file.substring(t.value.prefix.length)),n):(e.dir&&n.push(e.dir),e.source&&n.push(e.source),n)});return{url:c(()=>{var u;const n=[r.value];return e.edit?n.push("edit"):n.push("tree"),n.push(((u=t==null?void 0:t.value)==null?void 0:u.branch)||"",...o.value),n.filter(Boolean).join("/")})}},render(e){var o;const{url:t}=e,r=w();return(o=r==null?void 0:r.default)==null?void 0:o.call(r,{url:t})}});export{q as _}; diff --git a/_nuxt/Ellipsis.7579942a.js b/_nuxt/Ellipsis.73152087.js similarity index 95% rename from _nuxt/Ellipsis.7579942a.js rename to _nuxt/Ellipsis.73152087.js index 94eabc5..b2a57b4 100644 --- a/_nuxt/Ellipsis.7579942a.js +++ b/_nuxt/Ellipsis.73152087.js @@ -1 +1 @@ -import{a as m,I as n,J as y,o as S,i as I,j as b,u as p,s as x,v,k as E,x as $}from"./entry.ed643c4e.js";const k=s=>(x("data-v-b9d33280"),s=s(),v(),s),w=k(()=>E("div",{class:"ellipsis-item"},null,-1)),z=[w],B=m({__name:"Ellipsis",props:{width:{type:String,default:"10rem"},height:{type:String,default:"10rem"},zIndex:{type:String,default:"10"},top:{type:String,default:"0"},left:{type:String,default:"auto"},right:{type:String,default:"auto"},blur:{type:String,default:"50px"},colors:{type:Array,default:()=>["rgba(0, 71, 225, 0.22)","rgba(26, 214, 255, 0.22)","rgba(0, 220, 130, 0.22)"]}},setup(s){const e=s,l=n(()=>((t=e)=>t.top)()),c=n(()=>((t=e)=>t.left)()),o=n(()=>((t=e)=>t.right)()),d=n(()=>((t=e)=>t.zIndex)()),r=n(()=>((t=e)=>t.width)()),u=n(()=>((t=e)=>t.height)()),f=n(()=>((t=e)=>`blur(${t.blur})`)()),g=n(()=>((t=e)=>{var a,i,_;return`linear-gradient(97.62deg, ${(a=t==null?void 0:t.colors)==null?void 0:a[0]} 2.27%, ${(i=t==null?void 0:t.colors)==null?void 0:i[1]} 50.88%, ${(_=t==null?void 0:t.colors)==null?void 0:_[2]} 98.48%)`})()),{$pinceau:h}=y(e,void 0,{_cCN_top:l,_eih_insetInlineStart:c,_IfB_insetInlineEnd:o,_SsE_zIndex:d,_wj8_maxWidth:r,_t33_height:u,_Jfd_filter:f,_yUj_background:g});return(t,a)=>(S(),I("div",{class:b(["ellipsis",[p(h)]])},z,2))}});const C=$(B,[["__scopeId","data-v-b9d33280"]]);export{C as default}; +import{a as m,I as n,J as y,o as S,i as I,j as b,u as p,s as x,v,k as E,x as $}from"./entry.4bb11f8f.js";const k=s=>(x("data-v-b9d33280"),s=s(),v(),s),w=k(()=>E("div",{class:"ellipsis-item"},null,-1)),z=[w],B=m({__name:"Ellipsis",props:{width:{type:String,default:"10rem"},height:{type:String,default:"10rem"},zIndex:{type:String,default:"10"},top:{type:String,default:"0"},left:{type:String,default:"auto"},right:{type:String,default:"auto"},blur:{type:String,default:"50px"},colors:{type:Array,default:()=>["rgba(0, 71, 225, 0.22)","rgba(26, 214, 255, 0.22)","rgba(0, 220, 130, 0.22)"]}},setup(s){const e=s,l=n(()=>((t=e)=>t.top)()),c=n(()=>((t=e)=>t.left)()),o=n(()=>((t=e)=>t.right)()),d=n(()=>((t=e)=>t.zIndex)()),r=n(()=>((t=e)=>t.width)()),u=n(()=>((t=e)=>t.height)()),f=n(()=>((t=e)=>`blur(${t.blur})`)()),g=n(()=>((t=e)=>{var a,i,_;return`linear-gradient(97.62deg, ${(a=t==null?void 0:t.colors)==null?void 0:a[0]} 2.27%, ${(i=t==null?void 0:t.colors)==null?void 0:i[1]} 50.88%, ${(_=t==null?void 0:t.colors)==null?void 0:_[2]} 98.48%)`})()),{$pinceau:h}=y(e,void 0,{_cCN_top:l,_eih_insetInlineStart:c,_IfB_insetInlineEnd:o,_SsE_zIndex:d,_wj8_maxWidth:r,_t33_height:u,_Jfd_filter:f,_yUj_background:g});return(t,a)=>(S(),I("div",{class:b(["ellipsis",[p(h)]])},z,2))}});const C=$(B,[["__scopeId","data-v-b9d33280"]]);export{C as default}; diff --git a/_nuxt/IconCSS.8156f488.js b/_nuxt/IconCSS.3c69444c.js similarity index 92% rename from _nuxt/IconCSS.8156f488.js rename to _nuxt/IconCSS.3c69444c.js index 77f2305..1d5b1fa 100644 --- a/_nuxt/IconCSS.8156f488.js +++ b/_nuxt/IconCSS.3c69444c.js @@ -1 +1 @@ -import{a as d,at as m,C as x,I as o,o as S,i as f,au as I,u as a,x as z}from"./entry.ed643c4e.js";const y=d({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(_){var r;const s=_;m(n=>({"85f54cb8":a(p)}));const e=x();(r=e==null?void 0:e.nuxtIcon)!=null&&r.aliases;const l=o(()=>{var n;return(((n=e==null?void 0:e.nuxtIcon)==null?void 0:n.aliases)||{})[s.name]||s.name}),p=o(()=>`url('https://api.iconify.design/${l.value.replace(":","/")}.svg')`),c=o(()=>{var t,i,u;if(!s.size&&typeof((t=e.nuxtIcon)==null?void 0:t.size)=="boolean"&&!((i=e.nuxtIcon)!=null&&i.size))return;const n=s.size||((u=e.nuxtIcon)==null?void 0:u.size)||"1em";return String(Number(n))===n?`${n}px`:n});return(n,t)=>(S(),f("span",{style:I({width:a(c),height:a(c)})},null,4))}});const b=z(y,[["__scopeId","data-v-a58be67d"]]);export{b as default}; +import{a as d,at as m,C as x,I as o,o as S,i as f,au as I,u as a,x as z}from"./entry.4bb11f8f.js";const y=d({__name:"IconCSS",props:{name:{type:String,required:!0},size:{type:String,default:""}},setup(_){var r;const s=_;m(n=>({"85f54cb8":a(p)}));const e=x();(r=e==null?void 0:e.nuxtIcon)!=null&&r.aliases;const l=o(()=>{var n;return(((n=e==null?void 0:e.nuxtIcon)==null?void 0:n.aliases)||{})[s.name]||s.name}),p=o(()=>`url('https://api.iconify.design/${l.value.replace(":","/")}.svg')`),c=o(()=>{var t,i,u;if(!s.size&&typeof((t=e.nuxtIcon)==null?void 0:t.size)=="boolean"&&!((i=e.nuxtIcon)!=null&&i.size))return;const n=s.size||((u=e.nuxtIcon)==null?void 0:u.size)||"1em";return String(Number(n))===n?`${n}px`:n});return(n,t)=>(S(),f("span",{style:I({width:a(c),height:a(c)})},null,4))}});const b=z(y,[["__scopeId","data-v-a58be67d"]]);export{b as default}; diff --git a/_nuxt/IconCodeSandBox.cf9eca88.js b/_nuxt/IconCodeSandBox.99d6ef65.js similarity index 84% rename from _nuxt/IconCodeSandBox.cf9eca88.js rename to _nuxt/IconCodeSandBox.99d6ef65.js index 2fd6588..e933936 100644 --- a/_nuxt/IconCodeSandBox.cf9eca88.js +++ b/_nuxt/IconCodeSandBox.99d6ef65.js @@ -1 +1 @@ -import{x as e,o,i as n,k as t}from"./entry.ed643c4e.js";const s={},c={viewBox:"0 0 105 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M104.297.31104.87354.3111V103.735H104.297V.31104ZM93.7196 93.1572V10.8885H11.4509v82.2687h82.2687Z",fill:"currentColor"},null,-1),l=[r];function d(_,a){return o(),n("svg",c,l)}const f=e(s,[["render",d]]);export{f as default}; +import{x as e,o,i as n,k as t}from"./entry.4bb11f8f.js";const s={},c={viewBox:"0 0 105 104",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M104.297.31104.87354.3111V103.735H104.297V.31104ZM93.7196 93.1572V10.8885H11.4509v82.2687h82.2687Z",fill:"currentColor"},null,-1),l=[r];function d(_,a){return o(),n("svg",c,l)}const f=e(s,[["render",d]]);export{f as default}; diff --git a/_nuxt/IconDocus.fb83b1bb.js b/_nuxt/IconDocus.d489610c.js similarity index 91% rename from _nuxt/IconDocus.fb83b1bb.js rename to _nuxt/IconDocus.d489610c.js index 4ced09e..f409576 100644 --- a/_nuxt/IconDocus.fb83b1bb.js +++ b/_nuxt/IconDocus.d489610c.js @@ -1 +1 @@ -import{x as e,o,i as c,k as s}from"./entry.ed643c4e.js";const t={},n={viewBox:"0 0 57 57",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.5445 0C12.8044 0 0 12.7599 0 28.5v25.4549c0 1.5835 1.28368 2.8672 2.86718 2.8672H28.5889C44.2799 56.8221 57 44.102 57 28.4111 57 12.7201 44.2355 0 28.5445 0Zm15.4963 34.452c3.3649 0 6.0927-2.7278 6.0927-6.0928 0-3.3649-2.7278-6.0927-6.0927-6.0927-3.365 0-6.0928 2.7278-6.0928 6.0927 0 3.365 2.7278 6.0928 6.0928 6.0928Zm-18.0833.0003c3.3649 0 6.0927-2.7278 6.0927-6.0927s-2.7278-6.0928-6.0927-6.0928-6.0928 2.7279-6.0928 6.0928c0 3.3649 2.7279 6.0927 6.0928 6.0927Z",fill:"currentColor"},null,-1),l=[r];function _(a,d){return o(),c("svg",n,l)}const f=e(t,[["render",_]]);export{f as default}; +import{x as e,o,i as c,k as s}from"./entry.4bb11f8f.js";const t={},n={viewBox:"0 0 57 57",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=s("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M28.5445 0C12.8044 0 0 12.7599 0 28.5v25.4549c0 1.5835 1.28368 2.8672 2.86718 2.8672H28.5889C44.2799 56.8221 57 44.102 57 28.4111 57 12.7201 44.2355 0 28.5445 0Zm15.4963 34.452c3.3649 0 6.0927-2.7278 6.0927-6.0928 0-3.3649-2.7278-6.0927-6.0927-6.0927-3.365 0-6.0928 2.7278-6.0928 6.0927 0 3.365 2.7278 6.0928 6.0928 6.0928Zm-18.0833.0003c3.3649 0 6.0927-2.7278 6.0927-6.0927s-2.7278-6.0928-6.0927-6.0928-6.0928 2.7279-6.0928 6.0928c0 3.3649 2.7279 6.0927 6.0928 6.0927Z",fill:"currentColor"},null,-1),l=[r];function _(a,d){return o(),c("svg",n,l)}const f=e(t,[["render",_]]);export{f as default}; diff --git a/_nuxt/IconNuxt.9eee3bc5.js b/_nuxt/IconNuxt.3f93e1c4.js similarity index 94% rename from _nuxt/IconNuxt.9eee3bc5.js rename to _nuxt/IconNuxt.3f93e1c4.js index 81da8a2..f218479 100644 --- a/_nuxt/IconNuxt.9eee3bc5.js +++ b/_nuxt/IconNuxt.3f93e1c4.js @@ -1 +1 @@ -import{x as c,o as e,i as o,k as t}from"./entry.ed643c4e.js";const s={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},r=t("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1),_=[r];function l(a,h){return e(),o("svg",n,_)}const d=c(s,[["render",l]]);export{d as default}; +import{x as c,o as e,i as o,k as t}from"./entry.4bb11f8f.js";const s={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},r=t("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1),_=[r];function l(a,h){return e(),o("svg",n,_)}const d=c(s,[["render",l]]);export{d as default}; diff --git a/_nuxt/IconNuxtContent.f4ee47bb.js b/_nuxt/IconNuxtContent.9d1cdb08.js similarity index 94% rename from _nuxt/IconNuxtContent.f4ee47bb.js rename to _nuxt/IconNuxtContent.9d1cdb08.js index 57d5bdf..7b2d794 100644 --- a/_nuxt/IconNuxtContent.f4ee47bb.js +++ b/_nuxt/IconNuxtContent.9d1cdb08.js @@ -1 +1 @@ -import{x as c,o as t,i as e,k as o}from"./entry.ed643c4e.js";const s={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},r=o("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1),_=[r];function l(a,h){return t(),e("svg",n,_)}const d=c(s,[["render",l]]);export{d as default}; +import{x as c,o as t,i as e,k as o}from"./entry.4bb11f8f.js";const s={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},r=o("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1),_=[r];function l(a,h){return t(),e("svg",n,_)}const d=c(s,[["render",l]]);export{d as default}; diff --git a/_nuxt/IconNuxtLabs.7497cc0e.js b/_nuxt/IconNuxtLabs.fd37cfef.js similarity index 94% rename from _nuxt/IconNuxtLabs.7497cc0e.js rename to _nuxt/IconNuxtLabs.fd37cfef.js index 3240c10..7e8c9cb 100644 --- a/_nuxt/IconNuxtLabs.7497cc0e.js +++ b/_nuxt/IconNuxtLabs.fd37cfef.js @@ -1 +1 @@ -import{x as c,o as e,i as o,k as t}from"./entry.ed643c4e.js";const s={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},r=t("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1),_=[r];function a(l,h){return e(),o("svg",n,_)}const d=c(s,[["render",a]]);export{d as default}; +import{x as c,o as e,i as o,k as t}from"./entry.4bb11f8f.js";const s={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},r=t("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1),_=[r];function a(l,h){return e(),o("svg",n,_)}const d=c(s,[["render",a]]);export{d as default}; diff --git a/_nuxt/IconNuxtStudio.410f773f.js b/_nuxt/IconNuxtStudio.181cfe8e.js similarity index 89% rename from _nuxt/IconNuxtStudio.410f773f.js rename to _nuxt/IconNuxtStudio.181cfe8e.js index ac064f2..f606f26 100644 --- a/_nuxt/IconNuxtStudio.410f773f.js +++ b/_nuxt/IconNuxtStudio.181cfe8e.js @@ -1 +1 @@ -import{x as o,o as t,i as c,s,v as _,k as d}from"./entry.ed643c4e.js";const a={},n=e=>(s("data-v-dff2da5e"),e=e(),_(),e),r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},l=n(()=>d("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1)),p=[l];function f(e,i){return t(),c("svg",r,p)}const h=o(a,[["render",f],["__scopeId","data-v-dff2da5e"]]);export{h as default}; +import{x as o,o as t,i as c,s,v as _,k as d}from"./entry.4bb11f8f.js";const a={},n=e=>(s("data-v-dff2da5e"),e=e(),_(),e),r={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 324 324"},l=n(()=>d("path",{fill:"currentColor",d:"M181.767 270h120.444c3.826 0 7.584-.997 10.897-2.893 3.313-1.896 6.064-4.623 7.976-7.907 1.912-3.285 2.918-7.01 2.916-10.801-.002-3.792-1.011-7.516-2.926-10.798L240.187 98.7439c-1.912-3.2832-4.662-6.0097-7.974-7.9054-3.312-1.8956-7.07-2.8936-10.895-2.8936-3.824 0-7.582.998-10.894 2.8936-3.312 1.8957-6.063 4.6222-7.975 7.9054l-20.682 35.5281-40.438-69.4745c-1.913-3.283-4.665-6.0091-7.978-7.9044C130.038 54.9978 126.28 54 122.454 54c-3.825 0-7.583.9978-10.896 2.8931-3.313 1.8953-6.065 4.6214-7.978 7.9044L2.9255 237.601C1.0107 240.883.0017 244.607 0 248.399c-.0017 3.791 1.004 7.516 2.916 10.801 1.912 3.284 4.6628 6.011 7.9758 7.907C14.2047 269.003 17.963 270 21.7886 270h75.605c29.9554 0 52.0464-13.041 67.2474-38.483l36.905-63.345 19.767-33.9L280.637 236.1h-79.091L181.767 270Zm-85.6059-33.935-52.7627-.011L122.49 100.291l39.463 67.881-26.422 45.371c-10.095 16.508-21.563 22.522-39.3699 22.522Z"},null,-1)),p=[l];function f(e,i){return t(),c("svg",r,p)}const h=o(a,[["render",f],["__scopeId","data-v-dff2da5e"]]);export{h as default}; diff --git a/_nuxt/IconStackBlitz.5066853f.js b/_nuxt/IconStackBlitz.77aa8391.js similarity index 81% rename from _nuxt/IconStackBlitz.5066853f.js rename to _nuxt/IconStackBlitz.77aa8391.js index d9b1d04..0c057f0 100644 --- a/_nuxt/IconStackBlitz.5066853f.js +++ b/_nuxt/IconStackBlitz.77aa8391.js @@ -1 +1 @@ -import{x as e,o,i as t,k as s}from"./entry.ed643c4e.js";const c={},n={viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=s("path",{d:"M11.46 14.773H4L17.638 0l-3.671 10.227h7.46L7.788 25l3.671-10.227h.001Z",fill:"currentColor"},null,-1),l=[r];function _(a,i){return o(),t("svg",n,l)}const f=e(c,[["render",_]]);export{f as default}; +import{x as e,o,i as t,k as s}from"./entry.4bb11f8f.js";const c={},n={viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r=s("path",{d:"M11.46 14.773H4L17.638 0l-3.671 10.227h7.46L7.788 25l3.671-10.227h.001Z",fill:"currentColor"},null,-1),l=[r];function _(a,i){return o(),t("svg",n,l)}const f=e(c,[["render",_]]);export{f as default}; diff --git a/_nuxt/IconVueTelescope.5bd58166.js b/_nuxt/IconVueTelescope.86cd0418.js similarity index 91% rename from _nuxt/IconVueTelescope.5bd58166.js rename to _nuxt/IconVueTelescope.86cd0418.js index e036505..487c35b 100644 --- a/_nuxt/IconVueTelescope.5bd58166.js +++ b/_nuxt/IconVueTelescope.86cd0418.js @@ -1 +1 @@ -import{x as e,o as t,i as l,k as o}from"./entry.ed643c4e.js";const n={},s={viewBox:"0 0 124 124",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c=o("path",{d:"M48 82.5887L57.1066 98.175C59.3073 101.942 64.8092 101.942 67.0102 98.175L101 40H72.8834L48 82.5887Z",fill:"currentColor"},null,-1),r=o("path",{d:"M77 33H104.936L105.23 32.4924C107.417 28.718 104.684 24 100.31 24H82.2142L77 33Z",fill:"currentColor"},null,-1),_=o("path",{d:"M74 24L68.7601 33H19.0689L18.7734 32.4924C16.5759 28.718 19.3228 24 23.7177 24H74Z",fill:"currentColor"},null,-1),i=o("path",{d:"M65 40L44 76L23 40H65Z",fill:"currentColor"},null,-1),a=[c,r,_,i];function d(h,u){return t(),l("svg",s,a)}const p=e(n,[["render",d]]);export{p as default}; +import{x as e,o as t,i as l,k as o}from"./entry.4bb11f8f.js";const n={},s={viewBox:"0 0 124 124",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c=o("path",{d:"M48 82.5887L57.1066 98.175C59.3073 101.942 64.8092 101.942 67.0102 98.175L101 40H72.8834L48 82.5887Z",fill:"currentColor"},null,-1),r=o("path",{d:"M77 33H104.936L105.23 32.4924C107.417 28.718 104.684 24 100.31 24H82.2142L77 33Z",fill:"currentColor"},null,-1),_=o("path",{d:"M74 24L68.7601 33H19.0689L18.7734 32.4924C16.5759 28.718 19.3228 24 23.7177 24H74Z",fill:"currentColor"},null,-1),i=o("path",{d:"M65 40L44 76L23 40H65Z",fill:"currentColor"},null,-1),a=[c,r,_,i];function d(h,u){return t(),l("svg",s,a)}const p=e(n,[["render",d]]);export{p as default}; diff --git a/_nuxt/List.2d156f73.js b/_nuxt/List.32b85bf9.js similarity index 92% rename from _nuxt/List.2d156f73.js rename to _nuxt/List.32b85bf9.js index 5c7fd37..1138695 100644 --- a/_nuxt/List.2d156f73.js +++ b/_nuxt/List.32b85bf9.js @@ -1 +1 @@ -import{a as r,V as l,I as u,W as e,L as p,X as _,x as m}from"./entry.ed643c4e.js";import d from"./ContentSlot.77b558c1.js";const f={primary:"heroicons-outline:check",info:"heroicons-outline:information-circle",success:"heroicons-outline:check-circle",warning:"heroicons-outline:exclamation",danger:"heroicons-outline:exclamation-circle"},y=r({props:{icon:{type:String,default:null},type:{type:String,default:"primary",validator:n=>["primary","info","success","warning","danger"].includes(n)}},setup(n){const o=l(),{flatUnwrap:s,unwrap:a}=_(),i=u(()=>n.icon||f[n.type]);return()=>{const c=s((o.default&&o.default())??[],["ul"]).map(t=>a(t,["li"]));return e("ul",c.map(t=>e("li",[e("span",{class:`list-icon ${n.type}`},e(p,{name:i.value,class:"icon"})),e("span",e(d,{use:()=>t}))])))}}});const x=m(y,[["__scopeId","data-v-6109395b"]]);export{x as default}; +import{a as r,V as l,I as u,W as e,L as p,X as _,x as m}from"./entry.4bb11f8f.js";import d from"./ContentSlot.725c9014.js";const f={primary:"heroicons-outline:check",info:"heroicons-outline:information-circle",success:"heroicons-outline:check-circle",warning:"heroicons-outline:exclamation",danger:"heroicons-outline:exclamation-circle"},y=r({props:{icon:{type:String,default:null},type:{type:String,default:"primary",validator:n=>["primary","info","success","warning","danger"].includes(n)}},setup(n){const o=l(),{flatUnwrap:s,unwrap:a}=_(),i=u(()=>n.icon||f[n.type]);return()=>{const c=s((o.default&&o.default())??[],["ul"]).map(t=>a(t,["li"]));return e("ul",c.map(t=>e("li",[e("span",{class:`list-icon ${n.type}`},e(p,{name:i.value,class:"icon"})),e("span",e(d,{use:()=>t}))])))}}});const x=m(y,[["__scopeId","data-v-6109395b"]]);export{x as default}; diff --git a/_nuxt/Markdown.3c2726e6.js b/_nuxt/Markdown.916a9d8a.js similarity index 61% rename from _nuxt/Markdown.3c2726e6.js rename to _nuxt/Markdown.916a9d8a.js index 21ea106..0c6bbb9 100644 --- a/_nuxt/Markdown.3c2726e6.js +++ b/_nuxt/Markdown.916a9d8a.js @@ -1 +1 @@ -import r from"./ContentSlot.77b558c1.js";import{a as o,V as u,I as f,R as c}from"./entry.ed643c4e.js";const i=o({name:"Markdown",extends:r,setup(t){const{parent:e}=c(),{between:n,default:a}=u(),s=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:a,tags:s,between:n,parent:e}}});export{i as default}; +import r from"./ContentSlot.725c9014.js";import{a as o,V as u,I as f,R as c}from"./entry.4bb11f8f.js";const i=o({name:"Markdown",extends:r,setup(t){const{parent:e}=c(),{between:n,default:a}=u(),s=f(()=>typeof t.unwrap=="string"?t.unwrap.split(" "):["*"]);return{fallbackSlot:a,tags:s,between:n,parent:e}}});export{i as default}; diff --git a/_nuxt/NuxtImg.8bbf27a7.js b/_nuxt/NuxtImg.8bbf27a7.js deleted file mode 100644 index 6ee2898..0000000 --- a/_nuxt/NuxtImg.8bbf27a7.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as m}from"./NuxtImg.vue.2824c321.js";import"./entry.ed643c4e.js";export{m as default}; diff --git a/_nuxt/NuxtImg.b4d6da68.js b/_nuxt/NuxtImg.b4d6da68.js new file mode 100644 index 0000000..7aae6ad --- /dev/null +++ b/_nuxt/NuxtImg.b4d6da68.js @@ -0,0 +1 @@ +import{_ as m}from"./NuxtImg.vue.ca83f6df.js";import"./entry.4bb11f8f.js";export{m as default}; diff --git a/_nuxt/NuxtImg.vue.2824c321.js b/_nuxt/NuxtImg.vue.ca83f6df.js similarity index 89% rename from _nuxt/NuxtImg.vue.2824c321.js rename to _nuxt/NuxtImg.vue.ca83f6df.js index 88301bf..8e5410d 100644 --- a/_nuxt/NuxtImg.vue.2824c321.js +++ b/_nuxt/NuxtImg.vue.ca83f6df.js @@ -1 +1 @@ -import{a,I as i,W as e,ab as n,y as h}from"./entry.ed643c4e.js";const f=a({props:{src:{type:[String,Object],default:null}},setup(s){const r=t=>t&&t.startsWith("/")&&!t.startsWith("//")?n(t,h().app.baseURL):t;return{imgSrc:i(()=>{let t=s.src;try{t=JSON.parse(t)}catch{t=s.src}return typeof t=="string"?r(s.src):{light:r(t.light),dark:r(t.dark)}})}},render({imgSrc:s}){if(typeof s=="string")return e("img",{src:s,...this.$attrs});const r=[];return s.light&&r.push(e("img",{src:s.light,class:["dark-img"],...this.$attrs})),s.dark&&r.push(e("img",{src:s.dark,class:["light-img"],...this.$attrs})),r}});export{f as _}; +import{a,I as i,W as e,ab as n,y as h}from"./entry.4bb11f8f.js";const f=a({props:{src:{type:[String,Object],default:null}},setup(s){const r=t=>t&&t.startsWith("/")&&!t.startsWith("//")?n(t,h().app.baseURL):t;return{imgSrc:i(()=>{let t=s.src;try{t=JSON.parse(t)}catch{t=s.src}return typeof t=="string"?r(s.src):{light:r(t.light),dark:r(t.dark)}})}},render({imgSrc:s}){if(typeof s=="string")return e("img",{src:s,...this.$attrs});const r=[];return s.light&&r.push(e("img",{src:s.light,class:["dark-img"],...this.$attrs})),s.dark&&r.push(e("img",{src:s.dark,class:["light-img"],...this.$attrs})),r}});export{f as _}; diff --git a/_nuxt/PreviewLayout.0e16bb8d.js b/_nuxt/PreviewLayout.afd75d63.js similarity index 74% rename from _nuxt/PreviewLayout.0e16bb8d.js rename to _nuxt/PreviewLayout.afd75d63.js index 55311e7..b5c4ca5 100644 --- a/_nuxt/PreviewLayout.0e16bb8d.js +++ b/_nuxt/PreviewLayout.afd75d63.js @@ -1 +1 @@ -import{x as t,o,i as _,K as s}from"./entry.ed643c4e.js";const a={},r={class:"preview-layout"};function c(e,n){return o(),_("div",r,[s(e.$slots,"default",{},void 0,!0)])}const u=t(a,[["render",c],["__scopeId","data-v-e118c7a6"]]);export{u as default}; +import{x as t,o,i as _,K as s}from"./entry.4bb11f8f.js";const a={},r={class:"preview-layout"};function c(e,n){return o(),_("div",r,[s(e.$slots,"default",{},void 0,!0)])}const u=t(a,[["render",c],["__scopeId","data-v-e118c7a6"]]);export{u as default}; diff --git a/_nuxt/Props.6925c5e2.js b/_nuxt/Props.c69907e8.js similarity index 87% rename from _nuxt/Props.6925c5e2.js rename to _nuxt/Props.c69907e8.js index bca5a74..46f1344 100644 --- a/_nuxt/Props.6925c5e2.js +++ b/_nuxt/Props.c69907e8.js @@ -1 +1 @@ -import B from"./ProseTh.19e35f2f.js";import N from"./ProseTr.56b84ee2.js";import V from"./ProseThead.1503cc04.js";import g from"./ProseCodeInline.88572d5e.js";import C from"./ProseTd.4fce2921.js";import b from"./ProseTbody.2bf4a4e4.js";import R from"./ProseTable.0dd08eb9.js";import{u as F}from"./asyncData.fd6c0ee7.js";import{x as S,a as I,af as x,I as m,o,c as l,w as e,m as s,S as d,l as f,i as A,F as E,a5 as L,t as c}from"./entry.ed643c4e.js";const Y=I({props:{of:{type:String,default:void 0},required:{type:Boolean,default:void 0},values:{type:Boolean,default:void 0},description:{type:Boolean,default:void 0},default:{type:Boolean,default:void 0}},async setup(t){const k=`/api/component-meta/${x(t.of)}`,{data:h}=await F(t.of,()=>$fetch(k),"$NfwNoFP45N"),i=m(()=>h.value.props.filter(a=>{var n;return!((n=a.tags)!=null&&n.ignore.includes(a))})),w=m(()=>{var a;return t.required!==void 0?t.required:(a=i.value)==null?void 0:a.find(n=>n.required!==void 0)}),q=m(()=>{var a;return t.values!==void 0?t.values:(a=i.value)==null?void 0:a.find(n=>n.values)}),r=m(()=>{var a;return t.description!==void 0?t.description:(a=i.value)==null?void 0:a.find(n=>n.description)}),y=m(()=>{var a;return t.default!==void 0?t.default:(a=i.value)==null?void 0:a.find(n=>n.default)});return{meta:h,properties:i,showRequired:w,showValues:q,showDescription:r,showDefault:y}}});function j(t,k,h,i,w,q){var v,D,P;const r=B,y=N,a=V,n=g,_=C,T=b,$=R;return t.meta&&((v=t.meta)!=null&&v.props)&&((P=(D=t.meta)==null?void 0:D.props)!=null&&P.length)?(o(),l($,{key:0},{default:e(()=>[s(a,null,{default:e(()=>[s(y,null,{default:e(()=>[s(r,null,{default:e(()=>[d("Prop")]),_:1}),s(r,null,{default:e(()=>[d("Type")]),_:1}),t.showRequired?(o(),l(r,{key:0},{default:e(()=>[d(" Required ")]),_:1})):f("",!0),t.showDefault?(o(),l(r,{key:1},{default:e(()=>[d(" Default ")]),_:1})):f("",!0),t.showValues?(o(),l(r,{key:2},{default:e(()=>[d(" Values ")]),_:1})):f("",!0),t.showDescription?(o(),l(r,{key:3},{default:e(()=>[d(" Description ")]),_:1})):f("",!0)]),_:1})]),_:1}),s(T,null,{default:e(()=>[(o(!0),A(E,null,L(t.properties,u=>(o(),l(y,{key:u.name},{default:e(()=>[s(_,null,{default:e(()=>[s(n,null,{default:e(()=>[d(c((u==null?void 0:u.name)||"?"),1)]),_:2},1024)]),_:2},1024),s(_,null,{default:e(()=>[s(n,null,{default:e(()=>[d(c((u==null?void 0:u.type)||"?"),1)]),_:2},1024)]),_:2},1024),t.showRequired?(o(),l(_,{key:0},{default:e(()=>[s(n,null,{default:e(()=>[d(c(u.required==="?"?"?":u.required?"Yes":"No"),1)]),_:2},1024)]),_:2},1024)):f("",!0),t.showDefault?(o(),l(_,{key:1},{default:e(()=>[u.default?(o(),l(n,{key:0},{default:e(()=>[d(c((u==null?void 0:u.default)||"?"),1)]),_:2},1024)):f("",!0)]),_:2},1024)):f("",!0),t.showValues?(o(),l(_,{key:2},{default:e(()=>[u.values?(o(),l(n,{key:0},{default:e(()=>[d(c((u==null?void 0:u.values)||"?"),1)]),_:2},1024)):(o(),l(n,{key:1},{default:e(()=>[d(" - ")]),_:1}))]),_:2},1024)):f("",!0),t.showDescription?(o(),l(_,{key:3},{default:e(()=>[s(n,null,{default:e(()=>[d(c(u.description),1)]),_:2},1024)]),_:2},1024)):f("",!0)]),_:2},1024))),128))]),_:1})]),_:1})):f("",!0)}const W=S(Y,[["render",j]]);export{W as default}; +import B from"./ProseTh.ffa0ed16.js";import N from"./ProseTr.c9eb84d1.js";import V from"./ProseThead.8c57fbed.js";import g from"./ProseCodeInline.b7a651bb.js";import C from"./ProseTd.879b42af.js";import b from"./ProseTbody.a58122e4.js";import R from"./ProseTable.4c735734.js";import{u as F}from"./asyncData.b0a53602.js";import{x as S,a as I,af as x,I as m,o,c as l,w as e,m as s,S as d,l as f,i as A,F as E,a5 as L,t as c}from"./entry.4bb11f8f.js";const Y=I({props:{of:{type:String,default:void 0},required:{type:Boolean,default:void 0},values:{type:Boolean,default:void 0},description:{type:Boolean,default:void 0},default:{type:Boolean,default:void 0}},async setup(t){const k=`/api/component-meta/${x(t.of)}`,{data:h}=await F(t.of,()=>$fetch(k),"$NfwNoFP45N"),i=m(()=>h.value.props.filter(a=>{var n;return!((n=a.tags)!=null&&n.ignore.includes(a))})),w=m(()=>{var a;return t.required!==void 0?t.required:(a=i.value)==null?void 0:a.find(n=>n.required!==void 0)}),q=m(()=>{var a;return t.values!==void 0?t.values:(a=i.value)==null?void 0:a.find(n=>n.values)}),r=m(()=>{var a;return t.description!==void 0?t.description:(a=i.value)==null?void 0:a.find(n=>n.description)}),y=m(()=>{var a;return t.default!==void 0?t.default:(a=i.value)==null?void 0:a.find(n=>n.default)});return{meta:h,properties:i,showRequired:w,showValues:q,showDescription:r,showDefault:y}}});function j(t,k,h,i,w,q){var v,D,P;const r=B,y=N,a=V,n=g,_=C,T=b,$=R;return t.meta&&((v=t.meta)!=null&&v.props)&&((P=(D=t.meta)==null?void 0:D.props)!=null&&P.length)?(o(),l($,{key:0},{default:e(()=>[s(a,null,{default:e(()=>[s(y,null,{default:e(()=>[s(r,null,{default:e(()=>[d("Prop")]),_:1}),s(r,null,{default:e(()=>[d("Type")]),_:1}),t.showRequired?(o(),l(r,{key:0},{default:e(()=>[d(" Required ")]),_:1})):f("",!0),t.showDefault?(o(),l(r,{key:1},{default:e(()=>[d(" Default ")]),_:1})):f("",!0),t.showValues?(o(),l(r,{key:2},{default:e(()=>[d(" Values ")]),_:1})):f("",!0),t.showDescription?(o(),l(r,{key:3},{default:e(()=>[d(" Description ")]),_:1})):f("",!0)]),_:1})]),_:1}),s(T,null,{default:e(()=>[(o(!0),A(E,null,L(t.properties,u=>(o(),l(y,{key:u.name},{default:e(()=>[s(_,null,{default:e(()=>[s(n,null,{default:e(()=>[d(c((u==null?void 0:u.name)||"?"),1)]),_:2},1024)]),_:2},1024),s(_,null,{default:e(()=>[s(n,null,{default:e(()=>[d(c((u==null?void 0:u.type)||"?"),1)]),_:2},1024)]),_:2},1024),t.showRequired?(o(),l(_,{key:0},{default:e(()=>[s(n,null,{default:e(()=>[d(c(u.required==="?"?"?":u.required?"Yes":"No"),1)]),_:2},1024)]),_:2},1024)):f("",!0),t.showDefault?(o(),l(_,{key:1},{default:e(()=>[u.default?(o(),l(n,{key:0},{default:e(()=>[d(c((u==null?void 0:u.default)||"?"),1)]),_:2},1024)):f("",!0)]),_:2},1024)):f("",!0),t.showValues?(o(),l(_,{key:2},{default:e(()=>[u.values?(o(),l(n,{key:0},{default:e(()=>[d(c((u==null?void 0:u.values)||"?"),1)]),_:2},1024)):(o(),l(n,{key:1},{default:e(()=>[d(" - ")]),_:1}))]),_:2},1024)):f("",!0),t.showDescription?(o(),l(_,{key:3},{default:e(()=>[s(n,null,{default:e(()=>[d(c(u.description),1)]),_:2},1024)]),_:2},1024)):f("",!0)]),_:2},1024))),128))]),_:1})]),_:1})):f("",!0)}const W=S(Y,[["render",j]]);export{W as default}; diff --git a/_nuxt/ProseA.ca1f4c92.js b/_nuxt/ProseA.c5ff1621.js similarity index 84% rename from _nuxt/ProseA.ca1f4c92.js rename to _nuxt/ProseA.c5ff1621.js index da04d25..56e4332 100644 --- a/_nuxt/ProseA.ca1f4c92.js +++ b/_nuxt/ProseA.c5ff1621.js @@ -1 +1 @@ -import{a,o as _,c as n,w as r,K as s,M as c,x as u}from"./entry.ed643c4e.js";const d=a({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(t){return(e,f)=>{const o=c;return _(),n(o,{to:t.href,target:t.target},{default:r(()=>[s(e.$slots,"default",{},void 0,!0)]),_:3},8,["to","target"])}}});const l=u(d,[["__scopeId","data-v-af1c0c3b"]]);export{l as default}; +import{a,o as _,c as n,w as r,K as s,M as c,x as u}from"./entry.4bb11f8f.js";const d=a({__name:"ProseA",props:{href:{type:String,default:""},target:{type:String,default:void 0,required:!1}},setup(t){return(e,f)=>{const o=c;return _(),n(o,{to:t.href,target:t.target},{default:r(()=>[s(e.$slots,"default",{},void 0,!0)]),_:3},8,["to","target"])}}});const l=u(d,[["__scopeId","data-v-af1c0c3b"]]);export{l as default}; diff --git a/_nuxt/ProseBlockquote.e4bbe079.js b/_nuxt/ProseBlockquote.cdef9469.js similarity index 73% rename from _nuxt/ProseBlockquote.e4bbe079.js rename to _nuxt/ProseBlockquote.cdef9469.js index 3c91c1e..03433f3 100644 --- a/_nuxt/ProseBlockquote.e4bbe079.js +++ b/_nuxt/ProseBlockquote.cdef9469.js @@ -1 +1 @@ -import{x as o,o as t,i as _,K as r}from"./entry.ed643c4e.js";const s={};function n(e,c){return t(),_("blockquote",null,[r(e.$slots,"default",{},void 0,!0)])}const l=o(s,[["render",n],["__scopeId","data-v-40e15040"]]);export{l as default}; +import{x as o,o as t,i as _,K as r}from"./entry.4bb11f8f.js";const s={};function n(e,c){return t(),_("blockquote",null,[r(e.$slots,"default",{},void 0,!0)])}const l=o(s,[["render",n],["__scopeId","data-v-40e15040"]]);export{l as default}; diff --git a/_nuxt/ProseCode.d9498d20.js b/_nuxt/ProseCode.a6112aad.js similarity index 92% rename from _nuxt/ProseCode.d9498d20.js rename to _nuxt/ProseCode.a6112aad.js index af2bb6b..088a30f 100644 --- a/_nuxt/ProseCode.d9498d20.js +++ b/_nuxt/ProseCode.a6112aad.js @@ -1 +1 @@ -import{a as y,r as l,C as k,o as s,i as p,k as m,m as C,w,c as _,u as f,T as x,j as v,L as S,s as b,v as $,x as h,t as I,l as P,K as z}from"./entry.ed643c4e.js";import{u as N,o as T}from"./index.8e6a446a.js";const V=e=>(b("data-v-75636234"),e=e(),$(),e),A=V(()=>m("span",{class:"sr-only"},"Copy to clipboard",-1)),M={class:"icon-wrapper"},R=y({__name:"ProseCodeCopyButton",props:{content:{type:String,default:""},show:{type:Boolean,default:!1}},setup(e){const n=e,a=l(),{copy:t}=N();T(a,()=>{o.value==="copied"&&(o.value="init")});const{prose:c}=k(),o=l("init"),g=B=>{t(n.content).then(()=>{o.value="copied"}).catch(r=>{console.warn("Couldn't copy to clipboard!",r)})};return(B,r)=>{const u=S;return s(),p("button",{ref_key:"copyButtonRef",ref:a,class:v([(e.show||o.value==="copied")&&"show"]),onClick:g},[A,m("span",M,[C(x,{name:"fade"},{default:w(()=>{var d,i;return[o.value==="copied"?(s(),_(u,{key:0,name:(d=f(c).copyButton)==null?void 0:d.iconCopied,size:"18",class:"copied"},null,8,["name"])):(s(),_(u,{key:1,name:(i=f(c).copyButton)==null?void 0:i.iconCopy,size:"18"},null,8,["name"]))]}),_:1})])],2)}}});const j=h(R,[["__scopeId","data-v-75636234"]]),D={key:0,class:"filename"},E=y({__name:"ProseCode",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]}},setup(e){const n=l(!1);return(a,t)=>{const c=j;return s(),p("div",{class:v([[`highlight-${e.language}`],"prose-code"]),onMouseenter:t[0]||(t[0]=o=>n.value=!0),onMouseleave:t[1]||(t[1]=o=>n.value=!1)},[e.filename?(s(),p("span",D,I(e.filename),1)):P("",!0),z(a.$slots,"default",{},void 0,!0),C(c,{show:n.value,content:e.code,class:"copy-button"},null,8,["show","content"])],34)}}});const O=h(E,[["__scopeId","data-v-bfc7416e"]]);export{O as default}; +import{a as y,r as l,C as k,o as s,i as p,k as m,m as C,w,c as _,u as f,T as x,j as v,L as S,s as b,v as $,x as h,t as I,l as P,K as z}from"./entry.4bb11f8f.js";import{u as N,o as T}from"./index.9d1c1506.js";const V=e=>(b("data-v-75636234"),e=e(),$(),e),A=V(()=>m("span",{class:"sr-only"},"Copy to clipboard",-1)),M={class:"icon-wrapper"},R=y({__name:"ProseCodeCopyButton",props:{content:{type:String,default:""},show:{type:Boolean,default:!1}},setup(e){const n=e,a=l(),{copy:t}=N();T(a,()=>{o.value==="copied"&&(o.value="init")});const{prose:c}=k(),o=l("init"),g=B=>{t(n.content).then(()=>{o.value="copied"}).catch(r=>{console.warn("Couldn't copy to clipboard!",r)})};return(B,r)=>{const u=S;return s(),p("button",{ref_key:"copyButtonRef",ref:a,class:v([(e.show||o.value==="copied")&&"show"]),onClick:g},[A,m("span",M,[C(x,{name:"fade"},{default:w(()=>{var d,i;return[o.value==="copied"?(s(),_(u,{key:0,name:(d=f(c).copyButton)==null?void 0:d.iconCopied,size:"18",class:"copied"},null,8,["name"])):(s(),_(u,{key:1,name:(i=f(c).copyButton)==null?void 0:i.iconCopy,size:"18"},null,8,["name"]))]}),_:1})])],2)}}});const j=h(R,[["__scopeId","data-v-75636234"]]),D={key:0,class:"filename"},E=y({__name:"ProseCode",props:{code:{type:String,default:""},language:{type:String,default:null},filename:{type:String,default:null},highlights:{type:Array,default:()=>[]}},setup(e){const n=l(!1);return(a,t)=>{const c=j;return s(),p("div",{class:v([[`highlight-${e.language}`],"prose-code"]),onMouseenter:t[0]||(t[0]=o=>n.value=!0),onMouseleave:t[1]||(t[1]=o=>n.value=!1)},[e.filename?(s(),p("span",D,I(e.filename),1)):P("",!0),z(a.$slots,"default",{},void 0,!0),C(c,{show:n.value,content:e.code,class:"copy-button"},null,8,["show","content"])],34)}}});const O=h(E,[["__scopeId","data-v-bfc7416e"]]);export{O as default}; diff --git a/_nuxt/ProseCodeInline.88572d5e.js b/_nuxt/ProseCodeInline.b7a651bb.js similarity index 72% rename from _nuxt/ProseCodeInline.88572d5e.js rename to _nuxt/ProseCodeInline.b7a651bb.js index 82d46ff..355c5fa 100644 --- a/_nuxt/ProseCodeInline.88572d5e.js +++ b/_nuxt/ProseCodeInline.b7a651bb.js @@ -1 +1 @@ -import{x as _,o as n,i as o,K as t}from"./entry.ed643c4e.js";const c={};function r(e,s){return n(),o("code",null,[t(e.$slots,"default",{},void 0,!0)])}const a=_(c,[["render",r],["__scopeId","data-v-c81ed8f1"]]);export{a as default}; +import{x as _,o as n,i as o,K as t}from"./entry.4bb11f8f.js";const c={};function r(e,s){return n(),o("code",null,[t(e.$slots,"default",{},void 0,!0)])}const a=_(c,[["render",r],["__scopeId","data-v-c81ed8f1"]]);export{a as default}; diff --git a/_nuxt/ProseEm.69eea3ce.js b/_nuxt/ProseEm.ee2a244d.js similarity index 72% rename from _nuxt/ProseEm.69eea3ce.js rename to _nuxt/ProseEm.ee2a244d.js index bfca3e8..f8b4a50 100644 --- a/_nuxt/ProseEm.69eea3ce.js +++ b/_nuxt/ProseEm.ee2a244d.js @@ -1 +1 @@ -import{x as t,o as _,i as o,K as r}from"./entry.ed643c4e.js";const s={};function n(e,a){return _(),o("em",null,[r(e.$slots,"default",{},void 0,!0)])}const d=t(s,[["render",n],["__scopeId","data-v-177b5f01"]]);export{d as default}; +import{x as t,o as _,i as o,K as r}from"./entry.4bb11f8f.js";const s={};function n(e,a){return _(),o("em",null,[r(e.$slots,"default",{},void 0,!0)])}const d=t(s,[["render",n],["__scopeId","data-v-177b5f01"]]);export{d as default}; diff --git a/_nuxt/ProseH1.fca92df8.js b/_nuxt/ProseH1.2452ef57.js similarity index 91% rename from _nuxt/ProseH1.fca92df8.js rename to _nuxt/ProseH1.2452ef57.js index 30fa783..2faca97 100644 --- a/_nuxt/ProseH1.fca92df8.js +++ b/_nuxt/ProseH1.2452ef57.js @@ -1 +1 @@ -import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as p,c as f,l as h,L as v,M as x,x as k}from"./entry.ed643c4e.js";const C=["id"],g=i({__name:"ProseH1",props:{id:{}},setup(I){const{prose:e}=r(),s=t(()=>{var n,o;return((n=e==null?void 0:e.h1)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),_=t(()=>{var n,o;return((n=e==null?void 0:e.h1)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const c=v,d=x;return a(),u("h1",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),s.value?(a(),f(c,{key:0,name:_.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-a5759516"]]);export{B as default}; +import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as p,c as f,l as h,L as v,M as x,x as k}from"./entry.4bb11f8f.js";const C=["id"],g=i({__name:"ProseH1",props:{id:{}},setup(I){const{prose:e}=r(),s=t(()=>{var n,o;return((n=e==null?void 0:e.h1)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),_=t(()=>{var n,o;return((n=e==null?void 0:e.h1)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const c=v,d=x;return a(),u("h1",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),s.value?(a(),f(c,{key:0,name:_.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-a5759516"]]);export{B as default}; diff --git a/_nuxt/ProseH2.d485fff4.js b/_nuxt/ProseH2.cf849b55.js similarity index 91% rename from _nuxt/ProseH2.d485fff4.js rename to _nuxt/ProseH2.cf849b55.js index 39ad3d4..a4ea30b 100644 --- a/_nuxt/ProseH2.d485fff4.js +++ b/_nuxt/ProseH2.cf849b55.js @@ -1 +1 @@ -import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as f,c as p,l as h,L as v,M as x,x as k}from"./entry.ed643c4e.js";const C=["id"],g=i({__name:"ProseH2",props:{id:{}},setup(I){const{prose:e}=r(),s=t(()=>{var n,o;return((n=e==null?void 0:e.h2)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),_=t(()=>{var n,o;return((n=e==null?void 0:e.h2)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const c=v,d=x;return a(),u("h2",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[f(n.$slots,"default",{},void 0,!0),s.value?(a(),p(c,{key:0,name:_.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-1daf0210"]]);export{B as default}; +import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as f,c as p,l as h,L as v,M as x,x as k}from"./entry.4bb11f8f.js";const C=["id"],g=i({__name:"ProseH2",props:{id:{}},setup(I){const{prose:e}=r(),s=t(()=>{var n,o;return((n=e==null?void 0:e.h2)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),_=t(()=>{var n,o;return((n=e==null?void 0:e.h2)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const c=v,d=x;return a(),u("h2",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[f(n.$slots,"default",{},void 0,!0),s.value?(a(),p(c,{key:0,name:_.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-1daf0210"]]);export{B as default}; diff --git a/_nuxt/ProseH3.7d7afd26.js b/_nuxt/ProseH3.86ea161f.js similarity index 91% rename from _nuxt/ProseH3.7d7afd26.js rename to _nuxt/ProseH3.86ea161f.js index 603fd64..990e65f 100644 --- a/_nuxt/ProseH3.7d7afd26.js +++ b/_nuxt/ProseH3.86ea161f.js @@ -1 +1 @@ -import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as p,c as f,l as h,L as v,M as x,x as k}from"./entry.ed643c4e.js";const C=["id"],g=i({__name:"ProseH3",props:{id:{}},setup(I){const{prose:e}=r(),c=t(()=>{var n,o;return((n=e==null?void 0:e.h3)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),s=t(()=>{var n,o;return((n=e==null?void 0:e.h3)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const _=v,d=x;return a(),u("h3",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),c.value?(a(),f(_,{key:0,name:s.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-4ddca5e2"]]);export{B as default}; +import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as p,c as f,l as h,L as v,M as x,x as k}from"./entry.4bb11f8f.js";const C=["id"],g=i({__name:"ProseH3",props:{id:{}},setup(I){const{prose:e}=r(),c=t(()=>{var n,o;return((n=e==null?void 0:e.h3)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),s=t(()=>{var n,o;return((n=e==null?void 0:e.h3)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const _=v,d=x;return a(),u("h3",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),c.value?(a(),f(_,{key:0,name:s.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-4ddca5e2"]]);export{B as default}; diff --git a/_nuxt/ProseH4.9de664b0.js b/_nuxt/ProseH4.3236b3b0.js similarity index 91% rename from _nuxt/ProseH4.9de664b0.js rename to _nuxt/ProseH4.3236b3b0.js index 9c3d7a4..5358b50 100644 --- a/_nuxt/ProseH4.9de664b0.js +++ b/_nuxt/ProseH4.3236b3b0.js @@ -1 +1 @@ -import{a as i,C as u,I as t,o as _,i as m,m as r,w as l,K as p,c as f,l as h,L as x,M as v,x as k}from"./entry.ed643c4e.js";const C=["id"],b=i({__name:"ProseH4",props:{id:{}},setup(g){const{prose:e}=u(),a=t(()=>{var n,o;return((n=e==null?void 0:e.h4)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),c=t(()=>{var n,o;return((n=e==null?void 0:e.h4)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const s=x,d=v;return _(),m("h4",{id:n.id},[r(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),a.value?(_(),f(s,{key:0,name:c.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const $=k(b,[["__scopeId","data-v-f6ab8c5b"]]);export{$ as default}; +import{a as i,C as u,I as t,o as _,i as m,m as r,w as l,K as p,c as f,l as h,L as x,M as v,x as k}from"./entry.4bb11f8f.js";const C=["id"],b=i({__name:"ProseH4",props:{id:{}},setup(g){const{prose:e}=u(),a=t(()=>{var n,o;return((n=e==null?void 0:e.h4)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),c=t(()=>{var n,o;return((n=e==null?void 0:e.h4)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const s=x,d=v;return _(),m("h4",{id:n.id},[r(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),a.value?(_(),f(s,{key:0,name:c.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const $=k(b,[["__scopeId","data-v-f6ab8c5b"]]);export{$ as default}; diff --git a/_nuxt/ProseH5.7b359007.js b/_nuxt/ProseH5.1f5561d7.js similarity index 91% rename from _nuxt/ProseH5.7b359007.js rename to _nuxt/ProseH5.1f5561d7.js index af75743..c876a38 100644 --- a/_nuxt/ProseH5.7b359007.js +++ b/_nuxt/ProseH5.1f5561d7.js @@ -1 +1 @@ -import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as f,c as p,l as h,L as b,M as v,x}from"./entry.ed643c4e.js";const k=["id"],C=i({__name:"ProseH5",props:{id:{}},setup(g){const{prose:e}=r(),c=t(()=>{var n,o;return((n=e==null?void 0:e.h5)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),s=t(()=>{var n,o;return((n=e==null?void 0:e.h5)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const _=b,d=v;return a(),u("h5",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[f(n.$slots,"default",{},void 0,!0),c.value?(a(),p(_,{key:0,name:s.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,k)}}});const y=x(C,[["__scopeId","data-v-b4bcf4b8"]]);export{y as default}; +import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as f,c as p,l as h,L as b,M as v,x}from"./entry.4bb11f8f.js";const k=["id"],C=i({__name:"ProseH5",props:{id:{}},setup(g){const{prose:e}=r(),c=t(()=>{var n,o;return((n=e==null?void 0:e.h5)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),s=t(()=>{var n,o;return((n=e==null?void 0:e.h5)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const _=b,d=v;return a(),u("h5",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[f(n.$slots,"default",{},void 0,!0),c.value?(a(),p(_,{key:0,name:s.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,k)}}});const y=x(C,[["__scopeId","data-v-b4bcf4b8"]]);export{y as default}; diff --git a/_nuxt/ProseH6.db61bb9d.js b/_nuxt/ProseH6.82ccf283.js similarity index 91% rename from _nuxt/ProseH6.db61bb9d.js rename to _nuxt/ProseH6.82ccf283.js index 08158d3..e732666 100644 --- a/_nuxt/ProseH6.db61bb9d.js +++ b/_nuxt/ProseH6.82ccf283.js @@ -1 +1 @@ -import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as p,c as f,l as h,L as v,M as x,x as k}from"./entry.ed643c4e.js";const C=["id"],g=i({__name:"ProseH6",props:{id:{}},setup(I){const{prose:e}=r(),c=t(()=>{var n,o;return((n=e==null?void 0:e.h6)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),s=t(()=>{var n,o;return((n=e==null?void 0:e.h6)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const _=v,d=x;return a(),u("h6",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),c.value?(a(),f(_,{key:0,name:s.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-dab6e1c3"]]);export{B as default}; +import{a as i,C as r,I as t,o as a,i as u,m,w as l,K as p,c as f,l as h,L as v,M as x,x as k}from"./entry.4bb11f8f.js";const C=["id"],g=i({__name:"ProseH6",props:{id:{}},setup(I){const{prose:e}=r(),c=t(()=>{var n,o;return((n=e==null?void 0:e.h6)==null?void 0:n.icon)&&((o=e==null?void 0:e.headings)==null?void 0:o.icon)}),s=t(()=>{var n,o;return((n=e==null?void 0:e.h6)==null?void 0:n.icon)||((o=e==null?void 0:e.headings)==null?void 0:o.icon)});return(n,o)=>{const _=v,d=x;return a(),u("h6",{id:n.id},[m(d,{href:`#${n.id}`},{default:l(()=>[p(n.$slots,"default",{},void 0,!0),c.value?(a(),f(_,{key:0,name:s.value},null,8,["name"])):h("",!0)]),_:3},8,["href"])],8,C)}}});const B=k(g,[["__scopeId","data-v-dab6e1c3"]]);export{B as default}; diff --git a/_nuxt/ProseHr.689d9f61.js b/_nuxt/ProseHr.561cf66e.js similarity index 64% rename from _nuxt/ProseHr.689d9f61.js rename to _nuxt/ProseHr.561cf66e.js index 417caab..25cf4f4 100644 --- a/_nuxt/ProseHr.689d9f61.js +++ b/_nuxt/ProseHr.561cf66e.js @@ -1 +1 @@ -import{x as e,o as _,i as r}from"./entry.ed643c4e.js";const o={};function t(a,s){return _(),r("hr")}const n=e(o,[["render",t],["__scopeId","data-v-a7e94ae7"]]);export{n as default}; +import{x as e,o as _,i as r}from"./entry.4bb11f8f.js";const o={};function t(a,s){return _(),r("hr")}const n=e(o,[["render",t],["__scopeId","data-v-a7e94ae7"]]);export{n as default}; diff --git a/_nuxt/ProseImg.89fc2fda.js b/_nuxt/ProseImg.56b34672.js similarity index 89% rename from _nuxt/ProseImg.89fc2fda.js rename to _nuxt/ProseImg.56b34672.js index 5879de8..65cce95 100644 --- a/_nuxt/ProseImg.89fc2fda.js +++ b/_nuxt/ProseImg.56b34672.js @@ -1 +1 @@ -import{a,I as n,ab as i,y as o,o as c,i as d,ac as u,u as h,x as l}from"./entry.ed643c4e.js";const m=["src","alt","width","height"],_=a({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(t){const e=t,r=n(()=>{var s;return(s=e.src)!=null&&s.startsWith("/")&&!e.src.startsWith("//")?i(e.src,o().app.baseURL):e.src});return(s,g)=>(c(),d("img",u(s.$attrs,{src:h(r),alt:t.alt,width:t.width,height:t.height}),null,16,m))}});const f=l(_,[["__scopeId","data-v-e5a4106d"]]);export{f as default}; +import{a,I as n,ab as i,y as o,o as c,i as d,ac as u,u as h,x as l}from"./entry.4bb11f8f.js";const m=["src","alt","width","height"],_=a({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(t){const e=t,r=n(()=>{var s;return(s=e.src)!=null&&s.startsWith("/")&&!e.src.startsWith("//")?i(e.src,o().app.baseURL):e.src});return(s,g)=>(c(),d("img",u(s.$attrs,{src:h(r),alt:t.alt,width:t.width,height:t.height}),null,16,m))}});const f=l(_,[["__scopeId","data-v-e5a4106d"]]);export{f as default}; diff --git a/_nuxt/ProseLi.d7a38b79.js b/_nuxt/ProseLi.ee3d02d1.js similarity index 72% rename from _nuxt/ProseLi.d7a38b79.js rename to _nuxt/ProseLi.ee3d02d1.js index 3f7f15e..d20ac6f 100644 --- a/_nuxt/ProseLi.d7a38b79.js +++ b/_nuxt/ProseLi.ee3d02d1.js @@ -1 +1 @@ -import{x as t,o as _,i as o,K as r}from"./entry.ed643c4e.js";const s={};function n(e,c){return _(),o("li",null,[r(e.$slots,"default",{},void 0,!0)])}const d=t(s,[["render",n],["__scopeId","data-v-996e086c"]]);export{d as default}; +import{x as t,o as _,i as o,K as r}from"./entry.4bb11f8f.js";const s={};function n(e,c){return _(),o("li",null,[r(e.$slots,"default",{},void 0,!0)])}const d=t(s,[["render",n],["__scopeId","data-v-996e086c"]]);export{d as default}; diff --git a/_nuxt/ProseOl.1b4506ee.js b/_nuxt/ProseOl.2f8bae7e.js similarity index 72% rename from _nuxt/ProseOl.1b4506ee.js rename to _nuxt/ProseOl.2f8bae7e.js index a9e1b78..b4baac3 100644 --- a/_nuxt/ProseOl.1b4506ee.js +++ b/_nuxt/ProseOl.2f8bae7e.js @@ -1 +1 @@ -import{x as o,o as t,i as _,K as r}from"./entry.ed643c4e.js";const s={};function n(e,a){return t(),_("ol",null,[r(e.$slots,"default",{},void 0,!0)])}const d=o(s,[["render",n],["__scopeId","data-v-44d26a39"]]);export{d as default}; +import{x as o,o as t,i as _,K as r}from"./entry.4bb11f8f.js";const s={};function n(e,a){return t(),_("ol",null,[r(e.$slots,"default",{},void 0,!0)])}const d=o(s,[["render",n],["__scopeId","data-v-44d26a39"]]);export{d as default}; diff --git a/_nuxt/ProseP.5f057a9e.js b/_nuxt/ProseP.2d3578ce.js similarity index 72% rename from _nuxt/ProseP.5f057a9e.js rename to _nuxt/ProseP.2d3578ce.js index 3d74268..30ed23f 100644 --- a/_nuxt/ProseP.5f057a9e.js +++ b/_nuxt/ProseP.2d3578ce.js @@ -1 +1 @@ -import{x as _,o as t,i as n,K as o}from"./entry.ed643c4e.js";const r={};function s(e,a){return t(),n("p",null,[o(e.$slots,"default",{},void 0,!0)])}const d=_(r,[["render",s],["__scopeId","data-v-63bfa697"]]);export{d as default}; +import{x as _,o as t,i as n,K as o}from"./entry.4bb11f8f.js";const r={};function s(e,a){return t(),n("p",null,[o(e.$slots,"default",{},void 0,!0)])}const d=_(r,[["render",s],["__scopeId","data-v-63bfa697"]]);export{d as default}; diff --git a/_nuxt/ProseStrong.2a943fe2.js b/_nuxt/ProseStrong.31c377ca.js similarity index 72% rename from _nuxt/ProseStrong.2a943fe2.js rename to _nuxt/ProseStrong.31c377ca.js index 41f07c1..bd44308 100644 --- a/_nuxt/ProseStrong.2a943fe2.js +++ b/_nuxt/ProseStrong.31c377ca.js @@ -1 +1 @@ -import{x as t,o,i as r,K as n}from"./entry.ed643c4e.js";const s={};function _(e,d){return o(),r("strong",null,[n(e.$slots,"default",{},void 0,!0)])}const c=t(s,[["render",_],["__scopeId","data-v-9d7bd52e"]]);export{c as default}; +import{x as t,o,i as r,K as n}from"./entry.4bb11f8f.js";const s={};function _(e,d){return o(),r("strong",null,[n(e.$slots,"default",{},void 0,!0)])}const c=t(s,[["render",_],["__scopeId","data-v-9d7bd52e"]]);export{c as default}; diff --git a/_nuxt/ProseTable.0dd08eb9.js b/_nuxt/ProseTable.4c735734.js similarity index 77% rename from _nuxt/ProseTable.0dd08eb9.js rename to _nuxt/ProseTable.4c735734.js index a768bbd..af68e37 100644 --- a/_nuxt/ProseTable.0dd08eb9.js +++ b/_nuxt/ProseTable.4c735734.js @@ -1 +1 @@ -import{x as t,o as _,i as a,k as s,K as o}from"./entry.ed643c4e.js";const n={},r={class:"table-wrapper"};function c(e,d){return _(),a("div",r,[s("table",null,[o(e.$slots,"default",{},void 0,!0)])])}const f=t(n,[["render",c],["__scopeId","data-v-6b1afcb9"]]);export{f as default}; +import{x as t,o as _,i as a,k as s,K as o}from"./entry.4bb11f8f.js";const n={},r={class:"table-wrapper"};function c(e,d){return _(),a("div",r,[s("table",null,[o(e.$slots,"default",{},void 0,!0)])])}const f=t(n,[["render",c],["__scopeId","data-v-6b1afcb9"]]);export{f as default}; diff --git a/_nuxt/ProseTbody.2bf4a4e4.js b/_nuxt/ProseTbody.a58122e4.js similarity index 66% rename from _nuxt/ProseTbody.2bf4a4e4.js rename to _nuxt/ProseTbody.a58122e4.js index d1a82e2..5e48a79 100644 --- a/_nuxt/ProseTbody.2bf4a4e4.js +++ b/_nuxt/ProseTbody.a58122e4.js @@ -1 +1 @@ -import{x as o,o as t,i as n,K as r}from"./entry.ed643c4e.js";const c={};function s(e,_){return t(),n("tbody",null,[r(e.$slots,"default")])}const l=o(c,[["render",s]]);export{l as default}; +import{x as o,o as t,i as n,K as r}from"./entry.4bb11f8f.js";const c={};function s(e,_){return t(),n("tbody",null,[r(e.$slots,"default")])}const l=o(c,[["render",s]]);export{l as default}; diff --git a/_nuxt/ProseTd.4fce2921.js b/_nuxt/ProseTd.879b42af.js similarity index 72% rename from _nuxt/ProseTd.4fce2921.js rename to _nuxt/ProseTd.879b42af.js index ed9c717..681947f 100644 --- a/_nuxt/ProseTd.4fce2921.js +++ b/_nuxt/ProseTd.879b42af.js @@ -1 +1 @@ -import{x as _,o as t,i as n,K as o}from"./entry.ed643c4e.js";const r={};function s(e,c){return t(),n("td",null,[o(e.$slots,"default",{},void 0,!0)])}const a=_(r,[["render",s],["__scopeId","data-v-cfe1bbd3"]]);export{a as default}; +import{x as _,o as t,i as n,K as o}from"./entry.4bb11f8f.js";const r={};function s(e,c){return t(),n("td",null,[o(e.$slots,"default",{},void 0,!0)])}const a=_(r,[["render",s],["__scopeId","data-v-cfe1bbd3"]]);export{a as default}; diff --git a/_nuxt/ProseTh.19e35f2f.js b/_nuxt/ProseTh.ffa0ed16.js similarity index 72% rename from _nuxt/ProseTh.19e35f2f.js rename to _nuxt/ProseTh.ffa0ed16.js index bd0ab76..af3039b 100644 --- a/_nuxt/ProseTh.19e35f2f.js +++ b/_nuxt/ProseTh.ffa0ed16.js @@ -1 +1 @@ -import{x as _,o as t,i as n,K as o}from"./entry.ed643c4e.js";const r={};function s(e,a){return t(),n("th",null,[o(e.$slots,"default",{},void 0,!0)])}const d=_(r,[["render",s],["__scopeId","data-v-eebbe65a"]]);export{d as default}; +import{x as _,o as t,i as n,K as o}from"./entry.4bb11f8f.js";const r={};function s(e,a){return t(),n("th",null,[o(e.$slots,"default",{},void 0,!0)])}const d=_(r,[["render",s],["__scopeId","data-v-eebbe65a"]]);export{d as default}; diff --git a/_nuxt/ProseThead.1503cc04.js b/_nuxt/ProseThead.8c57fbed.js similarity index 72% rename from _nuxt/ProseThead.1503cc04.js rename to _nuxt/ProseThead.8c57fbed.js index acb223f..b4152c8 100644 --- a/_nuxt/ProseThead.1503cc04.js +++ b/_nuxt/ProseThead.8c57fbed.js @@ -1 +1 @@ -import{x as _,o as t,i as n,K as a}from"./entry.ed643c4e.js";const o={};function r(e,s){return t(),n("thead",null,[a(e.$slots,"default",{},void 0,!0)])}const d=_(o,[["render",r],["__scopeId","data-v-513aac1f"]]);export{d as default}; +import{x as _,o as t,i as n,K as a}from"./entry.4bb11f8f.js";const o={};function r(e,s){return t(),n("thead",null,[a(e.$slots,"default",{},void 0,!0)])}const d=_(o,[["render",r],["__scopeId","data-v-513aac1f"]]);export{d as default}; diff --git a/_nuxt/ProseTr.56b84ee2.js b/_nuxt/ProseTr.c9eb84d1.js similarity index 72% rename from _nuxt/ProseTr.56b84ee2.js rename to _nuxt/ProseTr.c9eb84d1.js index 7c25021..d7911d9 100644 --- a/_nuxt/ProseTr.56b84ee2.js +++ b/_nuxt/ProseTr.c9eb84d1.js @@ -1 +1 @@ -import{x as _,o as t,i as n,K as o}from"./entry.ed643c4e.js";const r={};function a(e,s){return t(),n("tr",null,[o(e.$slots,"default",{},void 0,!0)])}const d=_(r,[["render",a],["__scopeId","data-v-a0e7c17a"]]);export{d as default}; +import{x as _,o as t,i as n,K as o}from"./entry.4bb11f8f.js";const r={};function a(e,s){return t(),n("tr",null,[o(e.$slots,"default",{},void 0,!0)])}const d=_(r,[["render",a],["__scopeId","data-v-a0e7c17a"]]);export{d as default}; diff --git a/_nuxt/ProseUl.9dd56fba.js b/_nuxt/ProseUl.ea2806f7.js similarity index 72% rename from _nuxt/ProseUl.9dd56fba.js rename to _nuxt/ProseUl.ea2806f7.js index e7afd22..ab8bce9 100644 --- a/_nuxt/ProseUl.9dd56fba.js +++ b/_nuxt/ProseUl.ea2806f7.js @@ -1 +1 @@ -import{x as t,o as _,i as o,K as r}from"./entry.ed643c4e.js";const s={};function n(e,a){return _(),o("ul",null,[r(e.$slots,"default",{},void 0,!0)])}const d=t(s,[["render",n],["__scopeId","data-v-5feda7b5"]]);export{d as default}; +import{x as t,o as _,i as o,K as r}from"./entry.4bb11f8f.js";const s={};function n(e,a){return _(),o("ul",null,[r(e.$slots,"default",{},void 0,!0)])}const d=t(s,[["render",n],["__scopeId","data-v-5feda7b5"]]);export{d as default}; diff --git a/_nuxt/Sandbox.2df054bd.js b/_nuxt/Sandbox.7607cf49.js similarity index 91% rename from _nuxt/Sandbox.2df054bd.js rename to _nuxt/Sandbox.7607cf49.js index 68a15e7..f310543 100644 --- a/_nuxt/Sandbox.2df054bd.js +++ b/_nuxt/Sandbox.7607cf49.js @@ -1 +1 @@ -import f from"./TabsHeader.a59f3bef.js";import{a as x,ag as g,r as n,f as h,o as r,i as l,c as S,u as c,l as y,x as k}from"./entry.ed643c4e.js";const $={class:"sandbox"},w=["src"],B={key:2},C=x({__name:"Sandbox",props:{src:{type:String,default:""},repo:{type:String,default:""},branch:{type:String,default:""},dir:{type:String,default:""},file:{type:String,default:"app.vue"}},setup(i){const e=i,u=g(),o={CodeSandBox:()=>`https://codesandbox.io/embed/github/${e.repo}/tree/${e.branch}/${e.dir}?hidenavigation=1&theme=${u.value}`,StackBlitz:()=>`https://stackblitz.com/github/${e.repo}/tree/${e.branch}/${e.dir}?embed=1&file=${e.file}&theme=${u.value}`},p=Object.keys(o).map(t=>({label:t})),d=n(-1),b=n(),s=n(""),a=n(""),_=t=>{a.value=t,s.value=e.src||o[a.value](),localStorage.setItem("docus_sandbox",t)},m=t=>{d.value=t,_(p[t].label)};return h(()=>{a.value=window.localStorage.getItem("docus_sandbox")||"CodeSandBox",s.value=e.src||o[a.value](),d.value=Object.keys(o).indexOf(a.value)}),(t,I)=>{const v=f;return r(),l("div",$,[i.src?y("",!0):(r(),S(v,{key:0,ref_key:"tabs",ref:b,"active-tab-index":c(d),tabs:c(p),"onUpdate:activeTabIndex":m},null,8,["active-tab-index","tabs"])),c(s)?(r(),l("iframe",{key:1,src:c(s),title:"Sandbox editor",sandbox:"allow-modals allow-forms allow-popups allow-scripts allow-same-origin"},null,8,w)):(r(),l("span",B,"Loading Sandbox..."))])}}});const O=k(C,[["__scopeId","data-v-91be1191"]]);export{O as default}; +import f from"./TabsHeader.ecb32c9c.js";import{a as x,ag as g,r as n,f as h,o as r,i as l,c as S,u as c,l as y,x as k}from"./entry.4bb11f8f.js";const $={class:"sandbox"},w=["src"],B={key:2},C=x({__name:"Sandbox",props:{src:{type:String,default:""},repo:{type:String,default:""},branch:{type:String,default:""},dir:{type:String,default:""},file:{type:String,default:"app.vue"}},setup(i){const e=i,u=g(),o={CodeSandBox:()=>`https://codesandbox.io/embed/github/${e.repo}/tree/${e.branch}/${e.dir}?hidenavigation=1&theme=${u.value}`,StackBlitz:()=>`https://stackblitz.com/github/${e.repo}/tree/${e.branch}/${e.dir}?embed=1&file=${e.file}&theme=${u.value}`},p=Object.keys(o).map(t=>({label:t})),d=n(-1),b=n(),s=n(""),a=n(""),_=t=>{a.value=t,s.value=e.src||o[a.value](),localStorage.setItem("docus_sandbox",t)},m=t=>{d.value=t,_(p[t].label)};return h(()=>{a.value=window.localStorage.getItem("docus_sandbox")||"CodeSandBox",s.value=e.src||o[a.value](),d.value=Object.keys(o).indexOf(a.value)}),(t,I)=>{const v=f;return r(),l("div",$,[i.src?y("",!0):(r(),S(v,{key:0,ref_key:"tabs",ref:b,"active-tab-index":c(d),tabs:c(p),"onUpdate:activeTabIndex":m},null,8,["active-tab-index","tabs"])),c(s)?(r(),l("iframe",{key:1,src:c(s),title:"Sandbox editor",sandbox:"allow-modals allow-forms allow-popups allow-scripts allow-same-origin"},null,8,w)):(r(),l("span",B,"Loading Sandbox..."))])}}});const O=k(C,[["__scopeId","data-v-91be1191"]]);export{O as default}; diff --git a/_nuxt/SourceLink.74792f8e.js b/_nuxt/SourceLink.74792f8e.js new file mode 100644 index 0000000..fd974c9 --- /dev/null +++ b/_nuxt/SourceLink.74792f8e.js @@ -0,0 +1 @@ +import o from"./ProseP.2d3578ce.js";import{a as r,o as t,c as n}from"./entry.4bb11f8f.js";const m=r({__name:"SourceLink",props:{source:{type:String,required:!0}},setup(c){return(_,p)=>{const e=o;return t(),n(e)}}});export{m as default}; diff --git a/_nuxt/SourceLink.ae455d93.js b/_nuxt/SourceLink.ae455d93.js deleted file mode 100644 index fd51571..0000000 --- a/_nuxt/SourceLink.ae455d93.js +++ /dev/null @@ -1 +0,0 @@ -import o from"./ProseP.5f057a9e.js";import{a as r,o as t,c as n}from"./entry.ed643c4e.js";const m=r({__name:"SourceLink",props:{source:{type:String,required:!0}},setup(c){return(_,p)=>{const e=o;return t(),n(e)}}});export{m as default}; diff --git a/_nuxt/TabsHeader.a59f3bef.js b/_nuxt/TabsHeader.ecb32c9c.js similarity index 94% rename from _nuxt/TabsHeader.a59f3bef.js rename to _nuxt/TabsHeader.ecb32c9c.js index e2f2826..1f7732a 100644 --- a/_nuxt/TabsHeader.a59f3bef.js +++ b/_nuxt/TabsHeader.ecb32c9c.js @@ -1 +1 @@ -import{a as b,r as l,P as m,o as a,i as s,F as v,a5 as x,k as u,l as g,K as y,j as k,t as I,s as T,v as S,aa as C,x as $}from"./entry.ed643c4e.js";const w=t=>(T("data-v-11acbdc3"),t=t(),S(),t),B={class:"tabs-header"},H=["onClick"],N=w(()=>u("span",{class:"tab"},null,-1)),U=[N],q=b({__name:"TabsHeader",props:{tabs:{type:Array,required:!0},activeTabIndex:{type:Number,required:!0}},emits:["update:activeTabIndex"],setup(t,{emit:_}){const p=t,n=l(),r=l(),i=e=>{e&&(r.value.style.insetInlineStart=`${e.offsetLeft}px`,r.value.style.width=`${e.clientWidth}px`)},h=(e,c)=>{_("update:activeTabIndex",c),C(()=>i(e.target))};return m(n,e=>{e&&setTimeout(()=>{i(n.value.children[p.activeTabIndex])},50)},{immediate:!0}),(e,c)=>(a(),s("div",B,[t.tabs?(a(),s("div",{key:0,ref_key:"tabsRef",ref:n,class:"tabs"},[(a(!0),s(v,null,x(t.tabs,({label:d},o)=>(a(),s("button",{key:`${o}${d}`,class:k([t.activeTabIndex===o?"active":"not-active"]),onClick:f=>h(f,o)},I(d),11,H))),128)),u("span",{ref_key:"highlightUnderline",ref:r,class:"highlight-underline"},U,512)],512)):g("",!0),y(e.$slots,"footer",{},void 0,!0)]))}});const L=$(q,[["__scopeId","data-v-11acbdc3"]]);export{L as default}; +import{a as b,r as l,P as m,o as a,i as s,F as v,a5 as x,k as u,l as g,K as y,j as k,t as I,s as T,v as S,aa as C,x as $}from"./entry.4bb11f8f.js";const w=t=>(T("data-v-11acbdc3"),t=t(),S(),t),B={class:"tabs-header"},H=["onClick"],N=w(()=>u("span",{class:"tab"},null,-1)),U=[N],q=b({__name:"TabsHeader",props:{tabs:{type:Array,required:!0},activeTabIndex:{type:Number,required:!0}},emits:["update:activeTabIndex"],setup(t,{emit:_}){const p=t,n=l(),r=l(),i=e=>{e&&(r.value.style.insetInlineStart=`${e.offsetLeft}px`,r.value.style.width=`${e.clientWidth}px`)},h=(e,c)=>{_("update:activeTabIndex",c),C(()=>i(e.target))};return m(n,e=>{e&&setTimeout(()=>{i(n.value.children[p.activeTabIndex])},50)},{immediate:!0}),(e,c)=>(a(),s("div",B,[t.tabs?(a(),s("div",{key:0,ref_key:"tabsRef",ref:n,class:"tabs"},[(a(!0),s(v,null,x(t.tabs,({label:d},o)=>(a(),s("button",{key:`${o}${d}`,class:k([t.activeTabIndex===o?"active":"not-active"]),onClick:f=>h(f,o)},I(d),11,H))),128)),u("span",{ref_key:"highlightUnderline",ref:r,class:"highlight-underline"},U,512)],512)):g("",!0),y(e.$slots,"footer",{},void 0,!0)]))}});const L=$(q,[["__scopeId","data-v-11acbdc3"]]);export{L as default}; diff --git a/_nuxt/Terminal.91cd41a8.js b/_nuxt/Terminal.ec98784b.js similarity index 89% rename from _nuxt/Terminal.91cd41a8.js rename to _nuxt/Terminal.ec98784b.js index 72fc2f1..1d94132 100644 --- a/_nuxt/Terminal.91cd41a8.js +++ b/_nuxt/Terminal.ec98784b.js @@ -1,2 +1,2 @@ -import{u as m}from"./index.8e6a446a.js";import{a as v,r as h,I as y,o as s,i as o,u as i,l as _,k as t,F as f,a5 as k,s as C,v as b,t as g,x}from"./entry.ed643c4e.js";const n=e=>(C("data-v-c33b9d7c"),e=e(),b(),e),I={key:0,class:"copied"},S=n(()=>t("div",{class:"scrim"},null,-1)),w=n(()=>t("div",{class:"content"}," Copied! ",-1)),B=[S,w],T=n(()=>t("div",{class:"header"},[t("div",{class:"controls"},[t("div"),t("div"),t("div")]),t("div",{class:"title"}," Bash ")],-1)),F={class:"window"},N=n(()=>t("span",{class:"sign"},"$",-1)),V={class:"content"},j={key:1,class:"prompt"},q=v({__name:"Terminal",props:{content:{type:[Array,String],required:!0}},setup(e){const a=e,{copy:p}=m(),c=h("init"),r=y(()=>typeof a.content=="string"?[a.content]:a.content),l=u=>{p(r.value.join(` +import{u as m}from"./index.9d1c1506.js";import{a as v,r as h,I as y,o as s,i as o,u as i,l as _,k as t,F as f,a5 as k,s as C,v as b,t as g,x}from"./entry.4bb11f8f.js";const n=e=>(C("data-v-c33b9d7c"),e=e(),b(),e),I={key:0,class:"copied"},S=n(()=>t("div",{class:"scrim"},null,-1)),w=n(()=>t("div",{class:"content"}," Copied! ",-1)),B=[S,w],T=n(()=>t("div",{class:"header"},[t("div",{class:"controls"},[t("div"),t("div"),t("div")]),t("div",{class:"title"}," Bash ")],-1)),F={class:"window"},N=n(()=>t("span",{class:"sign"},"$",-1)),V={class:"content"},j={key:1,class:"prompt"},q=v({__name:"Terminal",props:{content:{type:[Array,String],required:!0}},setup(e){const a=e,{copy:p}=m(),c=h("init"),r=y(()=>typeof a.content=="string"?[a.content]:a.content),l=u=>{p(r.value.join(` `)).then(()=>{c.value="copied",setTimeout(()=>{c.value="init"},1e3)}).catch(()=>{console.warn("Couldn't copy to clipboard!")})};return(u,A)=>(s(),o("div",{class:"terminal",onClick:l},[i(c)==="copied"?(s(),o("div",I,B)):_("",!0),T,t("div",F,[(s(!0),o(f,null,k(i(r),d=>(s(),o("span",{key:d,class:"line"},[N,t("span",V,g(d),1)]))),128))]),i(c)!=="copied"?(s(),o("div",j," Click to copy ")):_("",!0)]))}});const L=x(q,[["__scopeId","data-v-c33b9d7c"]]);export{L as default}; diff --git a/_nuxt/TokensPlayground.ce0fb78c.js b/_nuxt/TokensPlayground.1a087e87.js similarity index 74% rename from _nuxt/TokensPlayground.ce0fb78c.js rename to _nuxt/TokensPlayground.1a087e87.js index d7a85dd..d18306f 100644 --- a/_nuxt/TokensPlayground.ce0fb78c.js +++ b/_nuxt/TokensPlayground.1a087e87.js @@ -1 +1 @@ -import{a,aj as n,o as s,i as t,k as o,t as r,u as l}from"./entry.ed643c4e.js";const m=a({__name:"TokensPlayground",setup(u){const{theme:e}=n();return(c,i)=>(s(),t("div",null,[o("pre",null,r(JSON.stringify(l(e),null,2)),1)]))}});export{m as default}; +import{a,aj as n,o as s,i as t,k as o,t as r,u as l}from"./entry.4bb11f8f.js";const m=a({__name:"TokensPlayground",setup(u){const{theme:e}=n();return(c,i)=>(s(),t("div",null,[o("pre",null,r(JSON.stringify(l(e),null,2)),1)]))}});export{m as default}; diff --git a/_nuxt/VideoPlayer.46820105.js b/_nuxt/VideoPlayer.29447bcb.js similarity index 93% rename from _nuxt/VideoPlayer.46820105.js rename to _nuxt/VideoPlayer.29447bcb.js index f99ed00..dcac847 100644 --- a/_nuxt/VideoPlayer.46820105.js +++ b/_nuxt/VideoPlayer.29447bcb.js @@ -1 +1 @@ -import{_}from"./NuxtImg.vue.2824c321.js";import{a as m,I as i,r as f,o as s,i as a,u as e,c as v,l as u,F as b,a5 as h,j as k,s as g,v as w,k as x,x as I}from"./entry.ed643c4e.js";const B=t=>(g("data-v-db4f7db4"),t=t(),w(),t),S={key:1,class:"loaded"},V=["poster"],C=["src"],$=["src","type"],N=["autoplay","src"],P=B(()=>x("button",null,null,-1)),j=[P],E=m({__name:"VideoPlayer",props:{poster:{type:String,default:""},src:{type:String,default:""},sources:{type:Array,default:()=>[]},autoplay:{type:Boolean,default:!1}},setup(t){const r=t,c=i(()=>{if(r.src&&r.src.includes("youtube.com/watch")){const o=r.src.match(/\?v=([^&]*)/);return{name:"youtube",src:`https://www.youtube-nocookie.com/embed/${(o==null?void 0:o[1])||""}?autoplay=1`,poster:r.poster||`https://i3.ytimg.com/vi/${(o==null?void 0:o[1])||""}/hqdefault.jpg`}}}),d=f(!1);if(!r.src&&!r.sources.length)throw new Error("VideoPlayer: you need to provide either `src` or `sources` props");const p=i(()=>{var o,l;return r.src||((l=(o=r.sources)==null?void 0:o[0])==null?void 0:l.src)||!1});return(o,l)=>{const y=_;return s(),a("div",{class:k(["video-player",{loaded:e(d)}])},[(e(c)?e(c).poster:t.poster)?(s(),v(y,{key:0,src:e(c)?e(c).poster:t.poster},null,8,["src"])):u("",!0),e(d)?(s(),a("div",S,[e(c)?e(c).name==="youtube"?(s(),a("iframe",{key:1,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"true",autoplay:t.autoplay,src:e(c).src},null,8,N)):u("",!0):(s(),a("video",{key:0,poster:t.poster,controls:"",autoplay:""},[e(p)?(s(),a("source",{key:0,src:e(p)},null,8,C)):u("",!0),(s(!0),a(b,null,h(t.sources,n=>(s(),a("source",{key:n.src||n,src:n.src||n,type:n.type},null,8,$))),128))],8,V))])):u("",!0),e(d)?u("",!0):(s(),a("div",{key:2,class:"play-button",onClick:l[0]||(l[0]=n=>d.value=!0)},j))],2)}}});const z=I(E,[["__scopeId","data-v-db4f7db4"]]);export{z as default}; +import{_}from"./NuxtImg.vue.ca83f6df.js";import{a as m,I as i,r as f,o as s,i as a,u as e,c as v,l as u,F as b,a5 as h,j as k,s as g,v as w,k as x,x as I}from"./entry.4bb11f8f.js";const B=t=>(g("data-v-db4f7db4"),t=t(),w(),t),S={key:1,class:"loaded"},V=["poster"],C=["src"],$=["src","type"],N=["autoplay","src"],P=B(()=>x("button",null,null,-1)),j=[P],E=m({__name:"VideoPlayer",props:{poster:{type:String,default:""},src:{type:String,default:""},sources:{type:Array,default:()=>[]},autoplay:{type:Boolean,default:!1}},setup(t){const r=t,c=i(()=>{if(r.src&&r.src.includes("youtube.com/watch")){const o=r.src.match(/\?v=([^&]*)/);return{name:"youtube",src:`https://www.youtube-nocookie.com/embed/${(o==null?void 0:o[1])||""}?autoplay=1`,poster:r.poster||`https://i3.ytimg.com/vi/${(o==null?void 0:o[1])||""}/hqdefault.jpg`}}}),d=f(!1);if(!r.src&&!r.sources.length)throw new Error("VideoPlayer: you need to provide either `src` or `sources` props");const p=i(()=>{var o,l;return r.src||((l=(o=r.sources)==null?void 0:o[0])==null?void 0:l.src)||!1});return(o,l)=>{const y=_;return s(),a("div",{class:k(["video-player",{loaded:e(d)}])},[(e(c)?e(c).poster:t.poster)?(s(),v(y,{key:0,src:e(c)?e(c).poster:t.poster},null,8,["src"])):u("",!0),e(d)?(s(),a("div",S,[e(c)?e(c).name==="youtube"?(s(),a("iframe",{key:1,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"true",autoplay:t.autoplay,src:e(c).src},null,8,N)):u("",!0):(s(),a("video",{key:0,poster:t.poster,controls:"",autoplay:""},[e(p)?(s(),a("source",{key:0,src:e(p)},null,8,C)):u("",!0),(s(!0),a(b,null,h(t.sources,n=>(s(),a("source",{key:n.src||n,src:n.src||n,type:n.type},null,8,$))),128))],8,V))])):u("",!0),e(d)?u("",!0):(s(),a("div",{key:2,class:"play-button",onClick:l[0]||(l[0]=n=>d.value=!0)},j))],2)}}});const z=I(E,[["__scopeId","data-v-db4f7db4"]]);export{z as default}; diff --git a/_nuxt/VoltaBoard.9709f00f.js b/_nuxt/VoltaBoard.19a643dc.js similarity index 79% rename from _nuxt/VoltaBoard.9709f00f.js rename to _nuxt/VoltaBoard.19a643dc.js index 9d8089c..4fbc471 100644 --- a/_nuxt/VoltaBoard.9709f00f.js +++ b/_nuxt/VoltaBoard.19a643dc.js @@ -1 +1 @@ -import{a as r,I as s,o as n,i as a,u as c}from"./entry.ed643c4e.js";const _=["src"],d=r({__name:"VoltaBoard",props:{token:{type:String,required:!0}},setup(e){const t=e,o=s(()=>`https://volta.net/embed/${t.token}`);return(l,u)=>(n(),a("iframe",{src:c(o),class:"w-full"},null,8,_))}});export{d as default}; +import{a as r,I as s,o as n,i as a,u as c}from"./entry.4bb11f8f.js";const _=["src"],d=r({__name:"VoltaBoard",props:{token:{type:String,required:!0}},setup(e){const t=e,o=s(()=>`https://volta.net/embed/${t.token}`);return(l,u)=>(n(),a("iframe",{src:c(o),class:"w-full"},null,8,_))}});export{d as default}; diff --git a/_nuxt/asyncData.fd6c0ee7.js b/_nuxt/asyncData.b0a53602.js similarity index 97% rename from _nuxt/asyncData.fd6c0ee7.js rename to _nuxt/asyncData.b0a53602.js index 6ea3f62..4efe6bb 100644 --- a/_nuxt/asyncData.fd6c0ee7.js +++ b/_nuxt/asyncData.b0a53602.js @@ -1 +1 @@ -import{b as v,r as m,N as g,O as x,h as D,P as b,u as w,Q as O,R as C}from"./entry.ed643c4e.js";const k=()=>null;function A(...s){var p;const l=typeof s[s.length-1]=="string"?s.pop():void 0;typeof s[0]!="string"&&s.unshift(l);let[t,u,e={}]=s;if(typeof t!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof u!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");e.server=e.server??!0,e.default=e.default??k,e.lazy=e.lazy??!1,e.immediate=e.immediate??!0;const a=v(),f=()=>a.isHydrating?a.payload.data[t]:a.static.data[t],d=()=>f()!==void 0;a._asyncData[t]||(a._asyncData[t]={data:m(f()??((p=e.default)==null?void 0:p.call(e))??null),pending:m(!d()),error:g(a.payload._errors,t)});const r={...a._asyncData[t]};r.refresh=r.execute=(i={})=>{if(a._asyncDataPromises[t]){if(i.dedupe===!1)return a._asyncDataPromises[t];a._asyncDataPromises[t].cancelled=!0}if(i._initial&&d())return f();r.pending.value=!0;const c=new Promise((n,o)=>{try{n(u(a))}catch(P){o(P)}}).then(n=>{if(c.cancelled)return a._asyncDataPromises[t];let o=n;e.transform&&(o=e.transform(n)),e.pick&&(o=B(o,e.pick)),r.data.value=o,r.error.value=null}).catch(n=>{var o;if(c.cancelled)return a._asyncDataPromises[t];r.error.value=n,r.data.value=w(((o=e.default)==null?void 0:o.call(e))??null)}).finally(()=>{c.cancelled||(r.pending.value=!1,a.payload.data[t]=r.data.value,r.error.value&&(a.payload._errors[t]=O(r.error.value)),delete a._asyncDataPromises[t])});return a._asyncDataPromises[t]=c,a._asyncDataPromises[t]};const y=()=>r.refresh({_initial:!0}),_=e.server!==!1&&a.payload.serverRendered;{const i=C();if(i&&!i._nuxtOnBeforeMountCbs){i._nuxtOnBeforeMountCbs=[];const n=i._nuxtOnBeforeMountCbs;i&&(x(()=>{n.forEach(o=>{o()}),n.splice(0,n.length)}),D(()=>n.splice(0,n.length)))}_&&a.isHydrating&&d()?r.pending.value=!1:i&&(a.payload.serverRendered&&a.isHydrating||e.lazy)&&e.immediate?i._nuxtOnBeforeMountCbs.push(y):e.immediate&&y(),e.watch&&b(e.watch,()=>r.refresh());const c=a.hook("app:data:refresh",n=>{if(!n||n.includes(t))return r.refresh()});i&&D(c)}const h=Promise.resolve(a._asyncDataPromises[t]).then(()=>r);return Object.assign(h,r),h}async function E(s){const l=s?Array.isArray(s)?s:[s]:void 0;await v().hooks.callHookParallel("app:data:refresh",l)}function B(s,l){const t={};for(const u of l)t[u]=s[u];return t}export{E as r,A as u}; +import{b as v,r as m,N as g,O as x,h as D,P as b,u as w,Q as O,R as C}from"./entry.4bb11f8f.js";const k=()=>null;function A(...s){var p;const l=typeof s[s.length-1]=="string"?s.pop():void 0;typeof s[0]!="string"&&s.unshift(l);let[t,u,e={}]=s;if(typeof t!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof u!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");e.server=e.server??!0,e.default=e.default??k,e.lazy=e.lazy??!1,e.immediate=e.immediate??!0;const a=v(),f=()=>a.isHydrating?a.payload.data[t]:a.static.data[t],d=()=>f()!==void 0;a._asyncData[t]||(a._asyncData[t]={data:m(f()??((p=e.default)==null?void 0:p.call(e))??null),pending:m(!d()),error:g(a.payload._errors,t)});const r={...a._asyncData[t]};r.refresh=r.execute=(i={})=>{if(a._asyncDataPromises[t]){if(i.dedupe===!1)return a._asyncDataPromises[t];a._asyncDataPromises[t].cancelled=!0}if(i._initial&&d())return f();r.pending.value=!0;const c=new Promise((n,o)=>{try{n(u(a))}catch(P){o(P)}}).then(n=>{if(c.cancelled)return a._asyncDataPromises[t];let o=n;e.transform&&(o=e.transform(n)),e.pick&&(o=B(o,e.pick)),r.data.value=o,r.error.value=null}).catch(n=>{var o;if(c.cancelled)return a._asyncDataPromises[t];r.error.value=n,r.data.value=w(((o=e.default)==null?void 0:o.call(e))??null)}).finally(()=>{c.cancelled||(r.pending.value=!1,a.payload.data[t]=r.data.value,r.error.value&&(a.payload._errors[t]=O(r.error.value)),delete a._asyncDataPromises[t])});return a._asyncDataPromises[t]=c,a._asyncDataPromises[t]};const y=()=>r.refresh({_initial:!0}),_=e.server!==!1&&a.payload.serverRendered;{const i=C();if(i&&!i._nuxtOnBeforeMountCbs){i._nuxtOnBeforeMountCbs=[];const n=i._nuxtOnBeforeMountCbs;i&&(x(()=>{n.forEach(o=>{o()}),n.splice(0,n.length)}),D(()=>n.splice(0,n.length)))}_&&a.isHydrating&&d()?r.pending.value=!1:i&&(a.payload.serverRendered&&a.isHydrating||e.lazy)&&e.immediate?i._nuxtOnBeforeMountCbs.push(y):e.immediate&&y(),e.watch&&b(e.watch,()=>r.refresh());const c=a.hook("app:data:refresh",n=>{if(!n||n.includes(t))return r.refresh()});i&&D(c)}const h=Promise.resolve(a._asyncDataPromises[t]).then(()=>r);return Object.assign(h,r),h}async function E(s){const l=s?Array.isArray(s)?s:[s]:void 0;await v().hooks.callHookParallel("app:data:refresh",l)}function B(s,l){const t={};for(const u of l)t[u]=s[u];return t}export{E as r,A as u}; diff --git a/_nuxt/client-db.eca98775.js b/_nuxt/client-db.d86ea5ab.js similarity index 99% rename from _nuxt/client-db.eca98775.js rename to _nuxt/client-db.d86ea5ab.js index 732af9e..171e028 100644 --- a/_nuxt/client-db.eca98775.js +++ b/_nuxt/client-db.d86ea5ab.js @@ -1 +1 @@ -import{ar as R,aA as U,aB as $,aC as I,aD as Y,aE as j,aF as T,aG as W,ap as b,y as K,aH as B,b as H,ao as D,ab as J}from"./entry.ed643c4e.js";const q="memory",G=()=>{const r=new Map;return{name:q,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function Z(r){return!r||typeof r.then!="function"?Promise.resolve(r):r}function g(r,...t){try{return Z(r(...t))}catch(n){return Promise.reject(n)}}function F(r){const t=typeof r;return r===null||t!=="object"&&t!=="function"}function V(r){const t=Object.getPrototypeOf(r);return!t||t.isPrototypeOf(Object)}function M(r){if(F(r))return String(r);if(V(r)||Array.isArray(r))return JSON.stringify(r);if(typeof r.toJSON=="function")return M(r.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function L(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const _="base64:";function Q(r){if(typeof r=="string")return r;L();const t=Buffer.from(r).toString("base64");return _+t}function X(r){return typeof r!="string"||!r.startsWith(_)?r:(L(),Buffer.from(r.slice(_.length),"base64"))}const k=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function ee(r,t){if(t=v(t),!t)return r;const n={...r};for(const a of k)n[a]=(s="",...c)=>r[a](t+s,...c);return n.getKeys=(a="",...s)=>r.getKeys(t+a,...s).then(c=>c.map(u=>u.slice(t.length))),n}function p(r){return r?r.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function v(r){return r=p(r),r?r+":":""}const te="memory",re=()=>{const r=new Map;return{name:te,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function ne(r={}){const t={mounts:{"":r.driver||re()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of t.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:t.mounts[i]};return{base:"",relativeKey:e,driver:t.mounts[""]}},a=(e,i)=>t.mountpoints.filter(o=>o.startsWith(e)||i&&e.startsWith(o)).map(o=>({relativeBase:e.length>o.length?e.slice(o.length):void 0,mountpoint:o,driver:t.mounts[o]})),s=(e,i)=>{if(t.watching){i=p(i);for(const o of t.watchListeners)o(e,i)}},c=async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await P(t.mounts[e],s,e)}},u=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},h={hasItem(e,i={}){e=p(e);const{relativeKey:o,driver:f}=n(e);return g(f.hasItem,o,i)},getItem(e,i={}){e=p(e);const{relativeKey:o,driver:f}=n(e);return g(f.getItem,o,i).then(m=>R(m))},getItemRaw(e,i={}){e=p(e);const{relativeKey:o,driver:f}=n(e);return f.getItemRaw?g(f.getItemRaw,o,i):g(f.getItem,o,i).then(m=>X(m))},async setItem(e,i,o={}){if(i===void 0)return h.removeItem(e);e=p(e);const{relativeKey:f,driver:m}=n(e);m.setItem&&(await g(m.setItem,f,M(i),o),m.watch||s("update",e))},async setItemRaw(e,i,o={}){if(i===void 0)return h.removeItem(e,o);e=p(e);const{relativeKey:f,driver:m}=n(e);if(m.setItemRaw)await g(m.setItemRaw,f,i,o);else if(m.setItem)await g(m.setItem,f,Q(i),o);else return;m.watch||s("update",e)},async removeItem(e,i={}){typeof i=="boolean"&&(i={removeMata:i}),e=p(e);const{relativeKey:o,driver:f}=n(e);f.removeItem&&(await g(f.removeItem,o,i),i.removeMata&&await g(f.removeItem,o+"$",i),f.watch||s("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=p(e);const{relativeKey:o,driver:f}=n(e),m=Object.create(null);if(f.getMeta&&Object.assign(m,await g(f.getMeta,o,i)),!i.nativeOnly){const l=await g(f.getItem,o+"$",i).then(w=>R(w));l&&typeof l=="object"&&(typeof l.atime=="string"&&(l.atime=new Date(l.atime)),typeof l.mtime=="string"&&(l.mtime=new Date(l.mtime)),Object.assign(m,l))}return m},setMeta(e,i,o={}){return this.setItem(e+"$",i,o)},removeMeta(e,i={}){return this.removeItem(e+"$",i)},async getKeys(e,i={}){e=v(e);const o=a(e,!0);let f=[];const m=[];for(const l of o){const E=(await g(l.driver.getKeys,l.relativeBase,i)).map(d=>l.mountpoint+p(d)).filter(d=>!f.some(y=>d.startsWith(y)));m.push(...E),f=[l.mountpoint,...f.filter(d=>!d.startsWith(l.mountpoint))]}return e?m.filter(l=>l.startsWith(e)&&!l.endsWith("$")):m.filter(l=>!l.endsWith("$"))},async clear(e,i={}){e=v(e),await Promise.all(a(e,!1).map(async o=>{if(o.driver.clear)return g(o.driver.clear,o.relativeBase,i);if(o.driver.removeItem){const f=await o.driver.getKeys(o.relativeBase,i);return Promise.all(f.map(m=>o.driver.removeItem(m)))}}))},async dispose(){await Promise.all(Object.values(t.mounts).map(e=>C(e)))},async watch(e){return await c(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter(i=>i!==e),t.watchListeners.length===0&&await u()}},async unwatch(){t.watchListeners=[],await u()},mount(e,i){if(e=v(e),e&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort((o,f)=>f.length-o.length)),t.mounts[e]=i,t.watching&&Promise.resolve(P(i,s,e)).then(o=>{t.unwatch[e]=o}).catch(console.error),h},async unmount(e,i=!0){e=v(e),!(!e||!t.mounts[e])&&(t.watching&&e in t.unwatch&&(t.unwatch[e](),delete t.unwatch[e]),i&&await C(t.mounts[e]),t.mountpoints=t.mountpoints.filter(o=>o!==e),delete t.mounts[e])},getMount(e=""){e=p(e)+":";const i=n(e);return{driver:i.driver,base:i.base}},getMounts(e="",i={}){return e=p(e),a(e,i.parents).map(f=>({driver:f.driver,base:f.mountpoint}))}};return h}function P(r,t,n){return r.watch?r.watch((a,s)=>t(a,n+s)):()=>{}}async function C(r){typeof r.dispose=="function"&&await g(r.dispose)}function ae(r={}){const t=ie(n,r.operators);function n(a,s){return typeof s!="object"||s instanceof RegExp?t.$eq(a,s):Object.keys(s||{}).every(c=>{const u=s[c];if(c.startsWith("$")&&t[c]){const h=t[c];return typeof h=="function"?h(a,u):!1}return n(U(a,c),u)})}return n}function ie(r,t={}){return{$match:(n,a)=>r(n,a),$eq:(n,a)=>a instanceof RegExp?a.test(n):n===a,$ne:(n,a)=>a instanceof RegExp?!a.test(n):n!==a,$not:(n,a)=>!r(n,a),$and:(n,a)=>($(a,"$and requires an array as condition"),a.every(s=>r(n,s))),$or:(n,a)=>($(a,"$or requires an array as condition"),a.some(s=>r(n,s))),$in:(n,a)=>I(a).some(s=>Array.isArray(n)?r(n,{$contains:s}):r(n,s)),$contains:(n,a)=>(n=Array.isArray(n)?n:String(n),I(a).every(s=>n.includes(s))),$icontains:(n,a)=>{if(typeof a!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),I(a).every(s=>n.includes(s.toLocaleLowerCase()))},$containsAny:(n,a)=>($(a,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),a.some(s=>n.includes(s))),$exists:(n,a)=>a?typeof n<"u":typeof n>"u",$type:(n,a)=>typeof n===String(a),$regex:(n,a)=>{if(!(a instanceof RegExp)){const s=String(a).match(/\/(.*)\/([dgimsuy]*)$/);a=s?new RegExp(s[1],s[2]||""):new RegExp(a)}return a.test(String(n||""))},$lt:(n,a)=>nn<=a,$gt:(n,a)=>n>a,$gte:(n,a)=>n>=a,...t||{}}}function x(r){const t=ae(),n=(s,{query:c,before:u,after:h})=>{const e=typeof c=="string"?{_path:c}:c,i=s.findIndex(f=>t(f,e));u=u??1,h=h??1;const o=new Array(u+h).fill(null,0);return i===-1?o:o.map((f,m)=>s[i-u+m+ +(m>=u)]||null)},a=[(s,c)=>s.filter(u=>I(c.where).every(h=>t(u,h))),(s,c)=>I(c.sort).forEach(u=>Y(s,u)),(s,c)=>c.surround?n(s,c.surround):s,(s,c)=>c.skip?s.slice(c.skip):s,(s,c)=>c.limit?s.slice(0,c.limit):s,(s,c)=>j(T(c.without))(s),(s,c)=>j(W(c.only))(s)];return async s=>{const c=await r(),u=s.params(),h=a.reduce((e,i)=>i(e,u)||e,c);return u.first?h[0]:h}}var se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oe={exports:{}};(function(r,t){(function(n,a,s){r.exports=s(),r.exports.default=s()})("slugify",se,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function s(c,u){if(typeof c!="string")throw new Error("slugify: string argument expected");u=typeof u=="string"?{replacement:u}:u||{};var h=a[u.locale]||{},e=u.replacement===void 0?"-":u.replacement,i=u.trim===void 0?!0:u.trim,o=c.normalize().split("").reduce(function(f,m){var l=h[m];return l===void 0&&(l=n[m]),l===void 0&&(l=m),l===e&&(l=" "),f+l.replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return u.strict&&(o=o.replace(/[^A-Za-z0-9\s]/g,"")),i&&(o=o.trim()),o=o.replace(/\s+/g,e),u.lower&&(o=o.toLowerCase()),o}return s.extend=function(c){Object.assign(n,c)},s})})(oe);const ce=r=>r.split(/[\s-]/g).map(b).join(" ");function ue(r,t){const{navigation:n}=K().public.content,a=c=>({...fe(["title",...n.fields])(c),...me(c==null?void 0:c.navigation)?c.navigation:{}}),s=r.sort((c,u)=>c._path.localeCompare(u._path)).reduce((c,u)=>{const h=u._path.substring(1).split("/"),e=u._id.split(":").slice(1),i=!!e[e.length-1].match(/([1-9][0-9]*\.)?index.md/g),o=l=>({title:l.title,_path:l._path,_file:l._file,children:[],...a(l),...l._draft?{_draft:!0}:{}}),f=o(u);if(i){const l=t[f._path];if(typeof(l==null?void 0:l.navigation)<"u"&&!(l!=null&&l.navigation))return c;if(u._path!=="/"){const w=o(u);f.children.push(w)}Object.assign(f,a(l))}return h.length===1?(c.push(f),c):(h.slice(0,-1).reduce((l,w,E)=>{const d="/"+h.slice(0,E+1).join("/"),y=t[d];if(typeof(y==null?void 0:y.navigation)<"u"&&!y.navigation)return[];let A=l.find(z=>z._path===d);return A||(A={title:ce(w),_path:d,_file:u._file,children:[],...a(y)},l.push(A)),A.children},c).push(f),c)},[]);return N(s)}const le=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function N(r){var n;const t=r.sort((a,s)=>le.compare(a._file,s._file));for(const a of t)(n=a.children)!=null&&n.length?N(a.children):delete a.children,delete a._file;return r}function fe(r){return t=>(t=t||{},r&&r.length?r.filter(n=>typeof t[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:t[a]}),{}):t)}function me(r){return Object.prototype.toString.call(r)==="[object Object]"}const he=r=>J(r,K().public.content.api.baseURL),ge=ee(ne({driver:G()}),"@content");function pe(r){async function t(){const n=new Set(await r.getKeys("cache:")),a=D().getPreviewToken();if(a){const c=await r.getItem(`${a}$`).then(e=>e||{});if(Array.isArray(c.ignoreSources)){const e=c.ignoreSources.map(i=>`cache:${i.trim()}:`);for(const i of n)e.some(o=>i.startsWith(o))&&n.delete(i)}const u=await r.getKeys(`${a}:`),h=await Promise.all(u.map(e=>r.getItem(e)));for(const e of h)n.delete(`cache:${e._id}`),e.__deleted||n.add(`${a}:${e._id}`)}return await Promise.all(Array.from(n).map(c=>r.getItem(c)))}return{storage:r,fetch:x(t),query:n=>B(x(t),n)}}let S=null,O=null;async function de(){return O?await O:S||(O=ye(),S=await O),S}async function ye(){const r=H(),{content:t}=K().public,n=pe(ge),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:s,navigation:c}=await $fetch(he(t.integrity?`cache.${t.integrity}.json`:"cache.json"));await Promise.all(s.map(u=>n.storage.setItem(`cache:${u._id}`,u))),await n.storage.setItem("navigation",c),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function ve(r){const t=await de();if(!D().getPreviewToken()&&Object.keys(r||{}).length===0)return t.storage.getItem("navigation");const n=await t.query(r).where({_partial:!1,navigation:{$ne:!1}}).find(),s=(await t.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((c,u)=>{var e;((e=u.title)==null?void 0:e.toLowerCase())==="dir"&&(u.title=void 0);const h=u._path.split("/").slice(0,-1).join("/")||"/";return c[h]={...u,...u.body},c},{});return ue(n,s)}export{ge as contentStorage,pe as createDB,ve as generateNavigation,de as useContentDatabase}; +import{ar as R,aA as U,aB as $,aC as I,aD as Y,aE as j,aF as T,aG as W,ap as b,y as K,aH as B,b as H,ao as D,ab as J}from"./entry.4bb11f8f.js";const q="memory",G=()=>{const r=new Map;return{name:q,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function Z(r){return!r||typeof r.then!="function"?Promise.resolve(r):r}function g(r,...t){try{return Z(r(...t))}catch(n){return Promise.reject(n)}}function F(r){const t=typeof r;return r===null||t!=="object"&&t!=="function"}function V(r){const t=Object.getPrototypeOf(r);return!t||t.isPrototypeOf(Object)}function M(r){if(F(r))return String(r);if(V(r)||Array.isArray(r))return JSON.stringify(r);if(typeof r.toJSON=="function")return M(r.toJSON());throw new Error("[unstorage] Cannot stringify value!")}function L(){if(typeof Buffer===void 0)throw new TypeError("[unstorage] Buffer is not supported!")}const _="base64:";function Q(r){if(typeof r=="string")return r;L();const t=Buffer.from(r).toString("base64");return _+t}function X(r){return typeof r!="string"||!r.startsWith(_)?r:(L(),Buffer.from(r.slice(_.length),"base64"))}const k=["hasItem","getItem","getItemRaw","setItem","setItemRaw","removeItem","getMeta","setMeta","removeMeta","getKeys","clear","mount","unmount"];function ee(r,t){if(t=v(t),!t)return r;const n={...r};for(const a of k)n[a]=(s="",...c)=>r[a](t+s,...c);return n.getKeys=(a="",...s)=>r.getKeys(t+a,...s).then(c=>c.map(u=>u.slice(t.length))),n}function p(r){return r?r.split("?")[0].replace(/[/\\]/g,":").replace(/:+/g,":").replace(/^:|:$/g,""):""}function v(r){return r=p(r),r?r+":":""}const te="memory",re=()=>{const r=new Map;return{name:te,options:{},hasItem(t){return r.has(t)},getItem(t){return r.get(t)||null},getItemRaw(t){return r.get(t)||null},setItem(t,n){r.set(t,n)},setItemRaw(t,n){r.set(t,n)},removeItem(t){r.delete(t)},getKeys(){return Array.from(r.keys())},clear(){r.clear()},dispose(){r.clear()}}};function ne(r={}){const t={mounts:{"":r.driver||re()},mountpoints:[""],watching:!1,watchListeners:[],unwatch:{}},n=e=>{for(const i of t.mountpoints)if(e.startsWith(i))return{base:i,relativeKey:e.slice(i.length),driver:t.mounts[i]};return{base:"",relativeKey:e,driver:t.mounts[""]}},a=(e,i)=>t.mountpoints.filter(o=>o.startsWith(e)||i&&e.startsWith(o)).map(o=>({relativeBase:e.length>o.length?e.slice(o.length):void 0,mountpoint:o,driver:t.mounts[o]})),s=(e,i)=>{if(t.watching){i=p(i);for(const o of t.watchListeners)o(e,i)}},c=async()=>{if(!t.watching){t.watching=!0;for(const e in t.mounts)t.unwatch[e]=await P(t.mounts[e],s,e)}},u=async()=>{if(t.watching){for(const e in t.unwatch)await t.unwatch[e]();t.unwatch={},t.watching=!1}},h={hasItem(e,i={}){e=p(e);const{relativeKey:o,driver:f}=n(e);return g(f.hasItem,o,i)},getItem(e,i={}){e=p(e);const{relativeKey:o,driver:f}=n(e);return g(f.getItem,o,i).then(m=>R(m))},getItemRaw(e,i={}){e=p(e);const{relativeKey:o,driver:f}=n(e);return f.getItemRaw?g(f.getItemRaw,o,i):g(f.getItem,o,i).then(m=>X(m))},async setItem(e,i,o={}){if(i===void 0)return h.removeItem(e);e=p(e);const{relativeKey:f,driver:m}=n(e);m.setItem&&(await g(m.setItem,f,M(i),o),m.watch||s("update",e))},async setItemRaw(e,i,o={}){if(i===void 0)return h.removeItem(e,o);e=p(e);const{relativeKey:f,driver:m}=n(e);if(m.setItemRaw)await g(m.setItemRaw,f,i,o);else if(m.setItem)await g(m.setItem,f,Q(i),o);else return;m.watch||s("update",e)},async removeItem(e,i={}){typeof i=="boolean"&&(i={removeMata:i}),e=p(e);const{relativeKey:o,driver:f}=n(e);f.removeItem&&(await g(f.removeItem,o,i),i.removeMata&&await g(f.removeItem,o+"$",i),f.watch||s("remove",e))},async getMeta(e,i={}){typeof i=="boolean"&&(i={nativeOnly:i}),e=p(e);const{relativeKey:o,driver:f}=n(e),m=Object.create(null);if(f.getMeta&&Object.assign(m,await g(f.getMeta,o,i)),!i.nativeOnly){const l=await g(f.getItem,o+"$",i).then(w=>R(w));l&&typeof l=="object"&&(typeof l.atime=="string"&&(l.atime=new Date(l.atime)),typeof l.mtime=="string"&&(l.mtime=new Date(l.mtime)),Object.assign(m,l))}return m},setMeta(e,i,o={}){return this.setItem(e+"$",i,o)},removeMeta(e,i={}){return this.removeItem(e+"$",i)},async getKeys(e,i={}){e=v(e);const o=a(e,!0);let f=[];const m=[];for(const l of o){const E=(await g(l.driver.getKeys,l.relativeBase,i)).map(d=>l.mountpoint+p(d)).filter(d=>!f.some(y=>d.startsWith(y)));m.push(...E),f=[l.mountpoint,...f.filter(d=>!d.startsWith(l.mountpoint))]}return e?m.filter(l=>l.startsWith(e)&&!l.endsWith("$")):m.filter(l=>!l.endsWith("$"))},async clear(e,i={}){e=v(e),await Promise.all(a(e,!1).map(async o=>{if(o.driver.clear)return g(o.driver.clear,o.relativeBase,i);if(o.driver.removeItem){const f=await o.driver.getKeys(o.relativeBase,i);return Promise.all(f.map(m=>o.driver.removeItem(m)))}}))},async dispose(){await Promise.all(Object.values(t.mounts).map(e=>C(e)))},async watch(e){return await c(),t.watchListeners.push(e),async()=>{t.watchListeners=t.watchListeners.filter(i=>i!==e),t.watchListeners.length===0&&await u()}},async unwatch(){t.watchListeners=[],await u()},mount(e,i){if(e=v(e),e&&t.mounts[e])throw new Error(`already mounted at ${e}`);return e&&(t.mountpoints.push(e),t.mountpoints.sort((o,f)=>f.length-o.length)),t.mounts[e]=i,t.watching&&Promise.resolve(P(i,s,e)).then(o=>{t.unwatch[e]=o}).catch(console.error),h},async unmount(e,i=!0){e=v(e),!(!e||!t.mounts[e])&&(t.watching&&e in t.unwatch&&(t.unwatch[e](),delete t.unwatch[e]),i&&await C(t.mounts[e]),t.mountpoints=t.mountpoints.filter(o=>o!==e),delete t.mounts[e])},getMount(e=""){e=p(e)+":";const i=n(e);return{driver:i.driver,base:i.base}},getMounts(e="",i={}){return e=p(e),a(e,i.parents).map(f=>({driver:f.driver,base:f.mountpoint}))}};return h}function P(r,t,n){return r.watch?r.watch((a,s)=>t(a,n+s)):()=>{}}async function C(r){typeof r.dispose=="function"&&await g(r.dispose)}function ae(r={}){const t=ie(n,r.operators);function n(a,s){return typeof s!="object"||s instanceof RegExp?t.$eq(a,s):Object.keys(s||{}).every(c=>{const u=s[c];if(c.startsWith("$")&&t[c]){const h=t[c];return typeof h=="function"?h(a,u):!1}return n(U(a,c),u)})}return n}function ie(r,t={}){return{$match:(n,a)=>r(n,a),$eq:(n,a)=>a instanceof RegExp?a.test(n):n===a,$ne:(n,a)=>a instanceof RegExp?!a.test(n):n!==a,$not:(n,a)=>!r(n,a),$and:(n,a)=>($(a,"$and requires an array as condition"),a.every(s=>r(n,s))),$or:(n,a)=>($(a,"$or requires an array as condition"),a.some(s=>r(n,s))),$in:(n,a)=>I(a).some(s=>Array.isArray(n)?r(n,{$contains:s}):r(n,s)),$contains:(n,a)=>(n=Array.isArray(n)?n:String(n),I(a).every(s=>n.includes(s))),$icontains:(n,a)=>{if(typeof a!="string")throw new TypeError("$icontains requires a string, use $contains instead");return n=String(n).toLocaleLowerCase(),I(a).every(s=>n.includes(s.toLocaleLowerCase()))},$containsAny:(n,a)=>($(a,"$containsAny requires an array as condition"),n=Array.isArray(n)?n:String(n),a.some(s=>n.includes(s))),$exists:(n,a)=>a?typeof n<"u":typeof n>"u",$type:(n,a)=>typeof n===String(a),$regex:(n,a)=>{if(!(a instanceof RegExp)){const s=String(a).match(/\/(.*)\/([dgimsuy]*)$/);a=s?new RegExp(s[1],s[2]||""):new RegExp(a)}return a.test(String(n||""))},$lt:(n,a)=>nn<=a,$gt:(n,a)=>n>a,$gte:(n,a)=>n>=a,...t||{}}}function x(r){const t=ae(),n=(s,{query:c,before:u,after:h})=>{const e=typeof c=="string"?{_path:c}:c,i=s.findIndex(f=>t(f,e));u=u??1,h=h??1;const o=new Array(u+h).fill(null,0);return i===-1?o:o.map((f,m)=>s[i-u+m+ +(m>=u)]||null)},a=[(s,c)=>s.filter(u=>I(c.where).every(h=>t(u,h))),(s,c)=>I(c.sort).forEach(u=>Y(s,u)),(s,c)=>c.surround?n(s,c.surround):s,(s,c)=>c.skip?s.slice(c.skip):s,(s,c)=>c.limit?s.slice(0,c.limit):s,(s,c)=>j(T(c.without))(s),(s,c)=>j(W(c.only))(s)];return async s=>{const c=await r(),u=s.params(),h=a.reduce((e,i)=>i(e,u)||e,c);return u.first?h[0]:h}}var se=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oe={exports:{}};(function(r,t){(function(n,a,s){r.exports=s(),r.exports.default=s()})("slugify",se,function(){var n=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),a=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function s(c,u){if(typeof c!="string")throw new Error("slugify: string argument expected");u=typeof u=="string"?{replacement:u}:u||{};var h=a[u.locale]||{},e=u.replacement===void 0?"-":u.replacement,i=u.trim===void 0?!0:u.trim,o=c.normalize().split("").reduce(function(f,m){var l=h[m];return l===void 0&&(l=n[m]),l===void 0&&(l=m),l===e&&(l=" "),f+l.replace(u.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return u.strict&&(o=o.replace(/[^A-Za-z0-9\s]/g,"")),i&&(o=o.trim()),o=o.replace(/\s+/g,e),u.lower&&(o=o.toLowerCase()),o}return s.extend=function(c){Object.assign(n,c)},s})})(oe);const ce=r=>r.split(/[\s-]/g).map(b).join(" ");function ue(r,t){const{navigation:n}=K().public.content,a=c=>({...fe(["title",...n.fields])(c),...me(c==null?void 0:c.navigation)?c.navigation:{}}),s=r.sort((c,u)=>c._path.localeCompare(u._path)).reduce((c,u)=>{const h=u._path.substring(1).split("/"),e=u._id.split(":").slice(1),i=!!e[e.length-1].match(/([1-9][0-9]*\.)?index.md/g),o=l=>({title:l.title,_path:l._path,_file:l._file,children:[],...a(l),...l._draft?{_draft:!0}:{}}),f=o(u);if(i){const l=t[f._path];if(typeof(l==null?void 0:l.navigation)<"u"&&!(l!=null&&l.navigation))return c;if(u._path!=="/"){const w=o(u);f.children.push(w)}Object.assign(f,a(l))}return h.length===1?(c.push(f),c):(h.slice(0,-1).reduce((l,w,E)=>{const d="/"+h.slice(0,E+1).join("/"),y=t[d];if(typeof(y==null?void 0:y.navigation)<"u"&&!y.navigation)return[];let A=l.find(z=>z._path===d);return A||(A={title:ce(w),_path:d,_file:u._file,children:[],...a(y)},l.push(A)),A.children},c).push(f),c)},[]);return N(s)}const le=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function N(r){var n;const t=r.sort((a,s)=>le.compare(a._file,s._file));for(const a of t)(n=a.children)!=null&&n.length?N(a.children):delete a.children,delete a._file;return r}function fe(r){return t=>(t=t||{},r&&r.length?r.filter(n=>typeof t[n]<"u").reduce((n,a)=>Object.assign(n,{[a]:t[a]}),{}):t)}function me(r){return Object.prototype.toString.call(r)==="[object Object]"}const he=r=>J(r,K().public.content.api.baseURL),ge=ee(ne({driver:G()}),"@content");function pe(r){async function t(){const n=new Set(await r.getKeys("cache:")),a=D().getPreviewToken();if(a){const c=await r.getItem(`${a}$`).then(e=>e||{});if(Array.isArray(c.ignoreSources)){const e=c.ignoreSources.map(i=>`cache:${i.trim()}:`);for(const i of n)e.some(o=>i.startsWith(o))&&n.delete(i)}const u=await r.getKeys(`${a}:`),h=await Promise.all(u.map(e=>r.getItem(e)));for(const e of h)n.delete(`cache:${e._id}`),e.__deleted||n.add(`${a}:${e._id}`)}return await Promise.all(Array.from(n).map(c=>r.getItem(c)))}return{storage:r,fetch:x(t),query:n=>B(x(t),n)}}let S=null,O=null;async function de(){return O?await O:S||(O=ye(),S=await O),S}async function ye(){const r=H(),{content:t}=K().public,n=pe(ge),a=await n.storage.getItem("integrity");if(t.integrity!==+(a||0)){const{contents:s,navigation:c}=await $fetch(he(t.integrity?`cache.${t.integrity}.json`:"cache.json"));await Promise.all(s.map(u=>n.storage.setItem(`cache:${u._id}`,u))),await n.storage.setItem("navigation",c),await n.storage.setItem("integrity",t.integrity)}return await r.callHook("content:storage",n.storage),n}async function ve(r){const t=await de();if(!D().getPreviewToken()&&Object.keys(r||{}).length===0)return t.storage.getItem("navigation");const n=await t.query(r).where({_partial:!1,navigation:{$ne:!1}}).find(),s=(await t.query().where({_path:/\/_dir$/i,_partial:!0}).find()).reduce((c,u)=>{var e;((e=u.title)==null?void 0:e.toLowerCase())==="dir"&&(u.title=void 0);const h=u._path.split("/").slice(0,-1).join("/")||"/";return c[h]={...u,...u.body},c},{});return ue(n,s)}export{ge as contentStorage,pe as createDB,ve as generateNavigation,de as useContentDatabase}; diff --git a/_nuxt/debug.302d3adc.js b/_nuxt/debug.e8a3e602.js similarity index 89% rename from _nuxt/debug.302d3adc.js rename to _nuxt/debug.e8a3e602.js index 84b93c5..1b3a65d 100644 --- a/_nuxt/debug.302d3adc.js +++ b/_nuxt/debug.e8a3e602.js @@ -1,2 +1,2 @@ -import{aa as r}from"./entry.ed643c4e.js";function d(t){let o=[],i=!1;const s=(u,a)=>{const{loc:e}=a,n=[`🔑 ${u}`];e!=null&&e.file&&(n.push(""),n.push(`🔗 ${e.file}`)),e!=null&&e.type&&(n.push(""),n.push(`❓ Missing token inside a ${e.type==="v"?"variant":"computed style or CSS prop"}.`)),o.push(n.join(` +import{aa as r}from"./entry.4bb11f8f.js";function d(t){let o=[],i=!1;const s=(u,a)=>{const{loc:e}=a,n=[`🔑 ${u}`];e!=null&&e.file&&(n.push(""),n.push(`🔗 ${e.file}`)),e!=null&&e.type&&(n.push(""),n.push(`❓ Missing token inside a ${e.type==="v"?"variant":"computed style or CSS prop"}.`)),o.push(n.join(` `)),i||(r(()=>{console.log("🖌️ Pinceau `runtime` encountered some errors!"),o.forEach(l=>{console.log(l)}),console.log("‼️ This warning will be hidden from production and can be disabled using `dev: false` option.")}),i=!0)};t.onNotFound=s}export{d as usePinceauRuntimeDebug}; diff --git a/_nuxt/default.33e71634.js b/_nuxt/default.33e71634.js new file mode 100644 index 0000000..8a15a28 --- /dev/null +++ b/_nuxt/default.33e71634.js @@ -0,0 +1 @@ +import r from"./DocsPageLayout.8f980530.js";import{x as e,c as m,w as n,o as p,K as c}from"./entry.4bb11f8f.js";import"./DocsAside.72ea4d6e.js";import"./ProseCodeInline.b7a651bb.js";import"./Alert.67812a3c.js";import"./ContentSlot.725c9014.js";import"./DocsPageBottom.4b461a23.js";import"./ProseA.c5ff1621.js";import"./EditOnLink.vue.0c5bf15e.js";import"./DocsPrevNext.4cf934f2.js";import"./DocsToc.ef429e13.js";import"./DocsTocLinks.92064971.js";const a={};function i(o,s){const t=r;return p(),m(t,null,{default:n(()=>[c(o.$slots,"default")]),_:3})}const C=e(a,[["render",i]]);export{C as default}; diff --git a/_nuxt/default.402f08c2.js b/_nuxt/default.402f08c2.js deleted file mode 100644 index 2d55b18..0000000 --- a/_nuxt/default.402f08c2.js +++ /dev/null @@ -1 +0,0 @@ -import r from"./DocsPageLayout.26ebcdc9.js";import{x as e,c as m,w as n,o as p,K as c}from"./entry.ed643c4e.js";import"./DocsAside.a0678493.js";import"./ProseCodeInline.88572d5e.js";import"./Alert.c0cc7db1.js";import"./ContentSlot.77b558c1.js";import"./DocsPageBottom.e8627347.js";import"./ProseA.ca1f4c92.js";import"./EditOnLink.vue.7088074c.js";import"./DocsPrevNext.256c0770.js";import"./DocsToc.a188057b.js";import"./DocsTocLinks.8f3792f3.js";const a={};function i(o,s){const t=r;return p(),m(t,null,{default:n(()=>[c(o.$slots,"default")]),_:3})}const C=e(a,[["render",i]]);export{C as default}; diff --git a/_nuxt/document-driven.8ce9ea59.js b/_nuxt/document-driven.d93d0675.js similarity index 71% rename from _nuxt/document-driven.8ce9ea59.js rename to _nuxt/document-driven.d93d0675.js index 2df19e4..c6a967e 100644 --- a/_nuxt/document-driven.8ce9ea59.js +++ b/_nuxt/document-driven.d93d0675.js @@ -1 +1 @@ -import L from"./DocumentDrivenEmpty.f6bb8a10.js";import h from"./ContentRenderer.7edfd656.js";import x from"./DocumentDrivenNotFound.c186b31a.js";import{b as z,a as m,av as C,q as k,aw as R,I as w,u as o,ax as d,ay as N,az as i,T as g,W as B,$ as D,al as E,o as c,i as T,m as l,w as p,c as _}from"./entry.ed643c4e.js";import"./ContentRendererMarkdown.32fe2ab3.js";import"./ButtonLink.6797971c.js";import"./ContentSlot.77b558c1.js";const $=m({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(s,t){const n=await d[s.name]().then(e=>e.default||e);return()=>B(n,t.attrs,t.slots)}}),j=m({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(s,t){const n=C("_route"),e=n===k()?R():n,a=w(()=>o(s.name)??e.meta.layout??"default");return()=>{const u=a.value&&a.value in d,r=e.meta.layoutTransition??N;return i(g,u&&r,{default:()=>i($,u&&{key:a.value,name:a.value,...t.attrs},t.slots).default()}).default()}}}),q={class:"document-driven-page"},P=m({__name:"document-driven",setup(s){const{page:t,layout:n}=D();return t.value,E(t),(e,a)=>{const u=L,r=h,f=x,y=j;return c(),T("div",q,[l(y,{name:o(n)||"default"},{default:p(()=>[o(t)?(c(),_(r,{key:o(t)._id,value:o(t)},{empty:p(({value:v})=>[l(u,{value:v},null,8,["value"])]),_:1},8,["value"])):(c(),_(f,{key:1}))]),_:1},8,["name"])])}}});export{P as default}; +import L from"./DocumentDrivenEmpty.a1939bad.js";import h from"./ContentRenderer.54f7a8d2.js";import x from"./DocumentDrivenNotFound.fc29f11a.js";import{b as z,a as m,av as C,q as k,aw as R,I as w,u as o,ax as d,ay as N,az as i,T as g,W as B,$ as D,al as E,o as c,i as T,m as l,w as p,c as _}from"./entry.4bb11f8f.js";import"./ContentRendererMarkdown.d1672c0f.js";import"./ButtonLink.7b7e2d25.js";import"./ContentSlot.725c9014.js";const $=m({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(s,t){const n=await d[s.name]().then(e=>e.default||e);return()=>B(n,t.attrs,t.slots)}}),j=m({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(s,t){const n=C("_route"),e=n===k()?R():n,a=w(()=>o(s.name)??e.meta.layout??"default");return()=>{const u=a.value&&a.value in d,r=e.meta.layoutTransition??N;return i(g,u&&r,{default:()=>i($,u&&{key:a.value,name:a.value,...t.attrs},t.slots).default()}).default()}}}),q={class:"document-driven-page"},P=m({__name:"document-driven",setup(s){const{page:t,layout:n}=D();return t.value,E(t),(e,a)=>{const u=L,r=h,f=x,y=j;return c(),T("div",q,[l(y,{name:o(n)||"default"},{default:p(()=>[o(t)?(c(),_(r,{key:o(t)._id,value:o(t)},{empty:p(({value:v})=>[l(u,{value:v},null,8,["value"])]),_:1},8,["value"])):(c(),_(f,{key:1}))]),_:1},8,["name"])])}}});export{P as default}; diff --git a/_nuxt/entry.ed643c4e.js b/_nuxt/entry.4bb11f8f.js similarity index 89% rename from _nuxt/entry.ed643c4e.js rename to _nuxt/entry.4bb11f8f.js index 8b87175..41b7a48 100644 --- a/_nuxt/entry.ed643c4e.js +++ b/_nuxt/entry.4bb11f8f.js @@ -1,8 +1,8 @@ -function Ts(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const ye={},sn=[],rt=()=>{},Ku=()=>!1,qu=/^on[^a-z]/,sr=e=>qu.test(e),Cs=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qu=Object.prototype.hasOwnProperty,se=(e,t)=>Qu.call(e,t),Z=Array.isArray,an=e=>ir(e)==="[object Map]",nc=e=>ir(e)==="[object Set]",Ju=e=>ir(e)==="[object RegExp]",ee=e=>typeof e=="function",ve=e=>typeof e=="string",xs=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",As=e=>_e(e)&&ee(e.then)&&ee(e.catch),rc=Object.prototype.toString,ir=e=>rc.call(e),Xu=e=>ir(e).slice(8,-1),oc=e=>ir(e)==="[object Object]",Ss=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nn=Ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gu=/-(\w)/g,ft=Zr(e=>e.replace(Gu,(t,n)=>n?n.toUpperCase():"")),Yu=/\B([A-Z])/g,bn=Zr(e=>e.replace(Yu,"-$1").toLowerCase()),eo=Zr(e=>e.charAt(0).toUpperCase()+e.slice(1)),_o=Zr(e=>e?`on${eo(e)}`:""),Qn=(e,t)=>!Object.is(e,t),jn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Zu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sc=e=>{const t=ve(e)?Number(e):NaN;return isNaN(t)?e:t};let yi;const Ho=()=>yi||(yi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wn(e){if(Z(e)){const t={};for(let n=0;n{if(n){const r=n.split(tf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function je(e){let t="";if(ve(e))t=e;else if(Z(e))for(let n=0;nve(e)?e:e==null?"":Z(e)||_e(e)&&(e.toString===rc||!ee(e.toString))?JSON.stringify(e,ac,2):String(e),ac=(e,t)=>t&&t.__v_isRef?ac(e,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:nc(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!Z(t)&&!oc(t)?String(t):t;let Ke;class af{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){Ke=this}off(){Ke=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},cc=e=>(e.w&Lt)>0,lc=e=>(e.n&Lt)>0,uf=({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{(u==="length"||u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":Z(e)?Ss(n)&&a.push(i.get("length")):(a.push(i.get(Vt)),an(e)&&a.push(i.get(jo)));break;case"delete":Z(e)||(a.push(i.get(Vt)),an(e)&&a.push(i.get(jo)));break;case"set":an(e)&&a.push(i.get(Vt));break}if(a.length===1)a[0]&&Fo(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);Fo(Is(c))}}function Fo(e,t){const n=Z(e)?e:[...e];for(const r of n)r.computed&&bi(r);for(const r of n)r.computed||bi(r)}function bi(e,t){(e!==tt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function df(e,t){var n;return(n=Dr.get(e))==null?void 0:n.get(t)}const pf=Ts("__proto__,__v_isRef,__isVue"),dc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xs)),hf=Os(),mf=Os(!1,!0),gf=Os(!0),wi=_f();function _f(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ie(this);for(let s=0,i=this.length;s{e[t]=function(...n){En();const r=ie(this)[t].apply(this,n);return Tn(),r}}),e}function yf(e){const t=ie(this);return ze(t,"has",e),t.hasOwnProperty(e)}function Os(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?$f:_c:t?gc:mc).get(r))return r;const i=Z(r);if(!e){if(i&&se(wi,o))return Reflect.get(wi,o,s);if(o==="hasOwnProperty")return yf}const a=Reflect.get(r,o,s);return(xs(o)?dc.has(o):pf(o))||(e||ze(r,"get",o),t)?a:Ae(a)?i&&Ss(o)?a:a.value:_e(a)?e?vc(a):Ue(a):a}}const vf=pc(),bf=pc(!0);function pc(e=!1){return function(n,r,o,s){let i=n[r];if(qt(i)&&Ae(i)&&!Ae(o))return!1;if(!e&&(!Mr(o)&&!qt(o)&&(i=ie(i),o=ie(o)),!Z(n)&&Ae(i)&&!Ae(o)))return i.value=o,!0;const a=Z(n)&&Ss(r)?Number(r)e,to=e=>Reflect.getPrototypeOf(e);function dr(e,t,n=!1,r=!1){e=e.__v_raw;const o=ie(e),s=ie(t);n||(t!==s&&ze(o,"get",t),ze(o,"get",s));const{has:i}=to(o),a=r?Ls:n?Ms:Jn;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function pr(e,t=!1){const n=this.__v_raw,r=ie(n),o=ie(e);return t||(e!==o&&ze(r,"has",e),ze(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function hr(e,t=!1){return e=e.__v_raw,!t&&ze(ie(e),"iterate",Vt),Reflect.get(e,"size",e)}function Ei(e){e=ie(e);const t=ie(this);return to(t).has.call(t,e)||(t.add(e),yt(t,"add",e,e)),this}function Ti(e,t){t=ie(t);const n=ie(this),{has:r,get:o}=to(n);let s=r.call(n,e);s||(e=ie(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?Qn(t,i)&&yt(n,"set",e,t):yt(n,"add",e,t),this}function Ci(e){const t=ie(this),{has:n,get:r}=to(t);let o=n.call(t,e);o||(e=ie(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&yt(t,"delete",e,void 0),s}function Pi(){const e=ie(this),t=e.size!==0,n=e.clear();return t&&yt(e,"clear",void 0,void 0),n}function mr(e,t){return function(r,o){const s=this,i=s.__v_raw,a=ie(i),c=t?Ls:e?Ms:Jn;return!e&&ze(a,"iterate",Vt),i.forEach((l,u)=>r.call(o,c(l),c(u),s))}}function gr(e,t,n){return function(...r){const o=this.__v_raw,s=ie(o),i=an(s),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=o[e](...r),u=n?Ls:t?Ms:Jn;return!t&&ze(s,"iterate",c?jo:Vt),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ct(e){return function(...t){return e==="delete"?!1:this}}function xf(){const e={get(s){return dr(this,s)},get size(){return hr(this)},has:pr,add:Ei,set:Ti,delete:Ci,clear:Pi,forEach:mr(!1,!1)},t={get(s){return dr(this,s,!1,!0)},get size(){return hr(this)},has:pr,add:Ei,set:Ti,delete:Ci,clear:Pi,forEach:mr(!1,!0)},n={get(s){return dr(this,s,!0)},get size(){return hr(this,!0)},has(s){return pr.call(this,s,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:mr(!0,!1)},r={get(s){return dr(this,s,!0,!0)},get size(){return hr(this,!0)},has(s){return pr.call(this,s,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:mr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=gr(s,!1,!1),n[s]=gr(s,!0,!1),t[s]=gr(s,!1,!0),r[s]=gr(s,!0,!0)}),[e,n,t,r]}const[Af,Sf,Rf,If]=xf();function $s(e,t){const n=t?e?If:Rf:e?Sf:Af;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(se(n,o)&&o in r?n:r,o,s)}const kf={get:$s(!1,!1)},Of={get:$s(!1,!0)},Lf={get:$s(!0,!1)},mc=new WeakMap,gc=new WeakMap,_c=new WeakMap,$f=new WeakMap;function Df(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Mf(e){return e.__v_skip||!Object.isExtensible(e)?0:Df(Xu(e))}function Ue(e){return qt(e)?e:Ds(e,!1,hc,kf,mc)}function yc(e){return Ds(e,!1,Pf,Of,gc)}function vc(e){return Ds(e,!0,Cf,Lf,_c)}function Ds(e,t,n,r,o){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Mf(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function cn(e){return qt(e)?cn(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function Mr(e){return!!(e&&e.__v_isShallow)}function bc(e){return cn(e)||qt(e)}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function wc(e){return $r(e,"__v_skip",!0),e}const Jn=e=>_e(e)?Ue(e):e,Ms=e=>_e(e)?vc(e):e;function Ec(e){It&&tt&&(e=ie(e),fc(e.dep||(e.dep=Is())))}function Tc(e,t){e=ie(e);const n=e.dep;n&&Fo(n)}function Ae(e){return!!(e&&e.__v_isRef===!0)}function be(e){return Cc(e,!1)}function Xn(e){return Cc(e,!0)}function Cc(e,t){return Ae(e)?e:new Hf(e,t)}class Hf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ie(t),this._value=n?t:Jn(t)}get value(){return Ec(this),this._value}set value(t){const n=this.__v_isShallow||Mr(t)||qt(t);t=n?t:ie(t),Qn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Jn(t),Tc(this))}}function $(e){return Ae(e)?e.value:e}const Nf={get:(e,t,n)=>$(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ae(o)&&!Ae(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Pc(e){return cn(e)?e:new Proxy(e,Nf)}function iE(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Ac(e,n);return t}class jf{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 df(ie(this._object),this._key)}}class Ff{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xc(e,t,n){return Ae(e)?e:ee(e)?new Ff(e):_e(e)&&arguments.length>1?Ac(e,t,n):be(e)}function Ac(e,t,n){const r=e[t];return Ae(r)?r:new jf(e,t,n)}class Bf{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ks(t,()=>{this._dirty||(this._dirty=!0,Tc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ie(this);return Ec(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function zf(e,t,n=!1){let r,o;const s=ee(e);return s?(r=e,o=rt):(r=e.get,o=e.set),new Bf(r,o,s||!o,n)}function kt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Cn(s,t,n)}return o}function Ye(e,t,n,r){if(ee(e)){const s=kt(e,t,n,r);return s&&As(s)&&s.catch(i=>{Cn(i,t,n)}),s}const o=[];for(let s=0;s>>1;Yn(Oe[r])lt&&Oe.splice(t,1)}function Ic(e){Z(e)?ln.push(...e):(!_t||!_t.includes(e,e.allowRecurse?Bt+1:Bt))&&ln.push(e),Rc()}function xi(e,t=Gn?lt+1:0){for(;tYn(n)-Yn(r)),Bt=0;Bt<_t.length;Bt++)_t[Bt]();_t=null,Bt=0}}const Yn=e=>e.id==null?1/0:e.id,Kf=(e,t)=>{const n=Yn(e)-Yn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function kc(e){Bo=!1,Gn=!0,Oe.sort(Kf);const t=rt;try{for(lt=0;ltve(g)?g.trim():g)),f&&(o=n.map(Zu))}let a,c=r[a=_o(t)]||r[a=_o(ft(t))];!c&&s&&(c=r[a=_o(bn(t))]),c&&Ye(c,e,6,o);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ye(l,e,6,o)}}function Oc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!ee(e)){const c=l=>{const u=Oc(l,t,!0);u&&(a=!0,Pe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(_e(e)&&r.set(e,null),null):(Z(s)?s.forEach(c=>i[c]=null):Pe(i,s),_e(e)&&r.set(e,i),i)}function ro(e,t){return!e||!sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,bn(t))||se(e,t))}let Se=null,oo=null;function Nr(e){const t=Se;return Se=e,oo=e&&e.type.__scopeId||null,t}function Qf(e){oo=e}function Jf(){oo=null}function Qe(e,t=Se,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Fi(-1);const s=Nr(t);let i;try{i=e(...o)}finally{Nr(s),r._d&&Fi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function yo(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:g,ctx:h,inheritAttrs:p}=e;let w,_;const m=Nr(e);try{if(n.shapeFlag&4){const v=o||r;w=Xe(u.call(v,v,f,s,g,d,h)),_=c}else{const v=t;w=Xe(v.length>1?v(s,{attrs:c,slots:a,emit:l}):v(s,null)),_=t.props?c:Gf(c)}}catch(v){zn.length=0,Cn(v,e,1),w=ne($e)}let E=w;if(_&&p!==!1){const v=Object.keys(_),{shapeFlag:C}=E;v.length&&C&7&&(i&&v.some(Cs)&&(_=Yf(_,i)),E=vt(E,_))}return n.dirs&&(E=vt(E),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),w=E,Nr(m),w}function Xf(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||sr(n))&&((t||(t={}))[n]=e[n]);return t},Yf=(e,t)=>{const n={};for(const r in e)(!Cs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zf(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ai(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense,ed={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){e==null?td(t,n,r,o,s,i,a,c,l):nd(e,t,n,r,o,i,a,c,l)},hydrate:rd,create:js,normalize:od},$c=ed;function Zn(e,t){const n=e.props&&e.props[t];ee(n)&&n()}function td(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=js(e,o,r,t,f,n,s,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Zn(e,"onPending"),Zn(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),un(d,e.ssFallback)):d.resolve(!1,!0)}function nd(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:h,pendingBranch:p,isInFallback:w,isHydrating:_}=f;if(p)f.pendingBranch=d,nt(d,p)?(c(p,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():w&&(c(h,g,n,r,o,null,s,i,a),un(f,g))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=p):l(p,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),w?(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(c(h,g,n,r,o,null,s,i,a),un(f,g))):h&&nt(d,h)?(c(h,d,n,r,o,f,s,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(h&&nt(d,h))c(h,d,n,r,o,f,s,i,a),un(f,d);else if(Zn(t,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:m,pendingId:E}=f;m>0?setTimeout(()=>{f.pendingId===E&&f.fallback(g)},m):m===0&&f.fallback(g)}}function js(e,t,n,r,o,s,i,a,c,l,u=!1){const{p:f,m:d,um:g,n:h,o:{parentNode:p,remove:w}}=l;let _;const m=sd(e);m&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const E=e.props?sc(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,x=!1){const{vnode:S,activeBranch:P,pendingBranch:M,pendingId:N,effects:Q,parentComponent:B,container:U}=v;if(v.isHydrating)v.isHydrating=!1;else if(!C){const oe=P&&M.transition&&M.transition.mode==="out-in";oe&&(P.transition.afterLeave=()=>{N===v.pendingId&&d(M,U,ae,0)});let{anchor:ae}=v;P&&(ae=h(P),g(P,B,v,!0)),oe||d(M,U,ae,0)}un(v,M),v.pendingBranch=null,v.isInFallback=!1;let W=v.parent,Ee=!1;for(;W;){if(W.pendingBranch){W.effects.push(...Q),Ee=!0;break}W=W.parent}Ee||Ic(Q),v.effects=[],m&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!x&&t.resolve()),Zn(S,"onResolve")},fallback(C){if(!v.pendingBranch)return;const{vnode:x,activeBranch:S,parentComponent:P,container:M,isSVG:N}=v;Zn(x,"onFallback");const Q=h(S),B=()=>{v.isInFallback&&(f(null,C,M,Q,P,null,N,a,c),un(v,C))},U=C.transition&&C.transition.mode==="out-in";U&&(S.transition.afterLeave=B),v.isInFallback=!0,g(S,P,null,!0),U||B()},move(C,x,S){v.activeBranch&&d(v.activeBranch,C,x,S),v.container=C},next(){return v.activeBranch&&h(v.activeBranch)},registerDep(C,x){const S=!!v.pendingBranch;S&&v.deps++;const P=C.vnode.el;C.asyncDep.catch(M=>{Cn(M,C,0)}).then(M=>{if(C.isUnmounted||v.isUnmounted||v.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:N}=C;Qo(C,M,!1),P&&(N.el=P);const Q=!P&&C.subTree.el;x(C,N,p(P||C.subTree.el),P?null:h(C.subTree),v,i,c),Q&&w(Q),Ns(C,N.el),S&&--v.deps===0&&v.resolve()})},unmount(C,x){v.isUnmounted=!0,v.activeBranch&&g(v.activeBranch,n,C,x),v.pendingBranch&&g(v.pendingBranch,n,C,x)}};return v}function rd(e,t,n,r,o,s,i,a,c){const l=t.suspense=js(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);return l.deps===0&&l.resolve(!1,!0),u}function od(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Si(r?n.default:n),e.ssFallback=r?Si(n.fallback):ne($e)}function Si(e){let t;if(ee(e)){const n=hn&&e._c;n&&(e._d=!1,q()),e=e(),n&&(e._d=!0,t=Ge,rl())}return Z(e)&&(e=Xf(e)),e=Xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Dc(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Ic(e)}function un(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Ns(r,o))}function sd(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function id(e,t){return so(e,null,t)}function ad(e,t){return so(e,null,{flush:"post"})}const _r={};function Ie(e,t,n){return so(e,t,n)}function so(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=ye){var a;const c=lf()===((a=Ce)==null?void 0:a.scope)?Ce:null;let l,u=!1,f=!1;if(Ae(e)?(l=()=>e.value,u=Mr(e)):cn(e)?(l=()=>e,r=!0):Z(e)?(f=!0,u=e.some(v=>cn(v)||Mr(v)),l=()=>e.map(v=>{if(Ae(v))return v.value;if(cn(v))return Ut(v);if(ee(v))return kt(v,c,2)})):ee(e)?t?l=()=>kt(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),Ye(e,c,3,[g])}:l=rt,t&&r){const v=l;l=()=>Ut(v())}let d,g=v=>{d=m.onStop=()=>{kt(v,c,4)}},h;if(gn)if(g=rt,t?n&&Ye(t,c,3,[l(),f?[]:void 0,g]):l(),o==="sync"){const v=op();h=v.__watcherHandles||(v.__watcherHandles=[])}else return rt;let p=f?new Array(e.length).fill(_r):_r;const w=()=>{if(m.active)if(t){const v=m.run();(r||u||(f?v.some((C,x)=>Qn(C,p[x])):Qn(v,p)))&&(d&&d(),Ye(t,c,3,[v,p===_r?void 0:f&&p[0]===_r?[]:p,g]),p=v)}else m.run()};w.allowRecurse=!!t;let _;o==="sync"?_=w:o==="post"?_=()=>Re(w,c&&c.suspense):(w.pre=!0,c&&(w.id=c.uid),_=()=>no(w));const m=new ks(l,_);t?n?w():p=m.run():o==="post"?Re(m.run.bind(m),c&&c.suspense):m.run();const E=()=>{m.stop(),c&&c.scope&&Ps(c.scope.effects,m)};return h&&h.push(E),E}function cd(e,t,n){const r=this.proxy,o=ve(e)?e.includes(".")?Mc(r,e):()=>r[e]:e.bind(r,r);let s;ee(t)?s=t:(s=t.handler,n=t);const i=Ce;$t(this);const a=so(o,s.bind(r),n);return i?$t(i):Ot(),a}function Mc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{Ut(n,t)});else if(oc(e))for(const n in e)Ut(e[n],t);return e}function ld(e,t){const n=Se;if(n===null)return e;const r=lo(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),xn(()=>{e.isUnmounting=!0}),e}const Je=[Function,Array],Hc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Je,onEnter:Je,onAfterEnter:Je,onEnterCancelled:Je,onBeforeLeave:Je,onLeave:Je,onAfterLeave:Je,onLeaveCancelled:Je,onBeforeAppear:Je,onAppear:Je,onAfterAppear:Je,onAppearCancelled:Je},fd={name:"BaseTransition",props:Hc,setup(e,{slots:t}){const n=wt(),r=ud();let o;return()=>{const s=t.default&&jc(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const p of s)if(p.type!==$e){i=p;break}}const a=ie(e),{mode:c}=a;if(r.isLeaving)return vo(i);const l=Ri(i);if(!l)return vo(i);const u=zo(l,a,r,n);jr(l,u);const f=n.subTree,d=f&&Ri(f);let g=!1;const{getTransitionKey:h}=l.type;if(h){const p=h();o===void 0?o=p:p!==o&&(o=p,g=!0)}if(d&&d.type!==$e&&(!nt(l,d)||g)){const p=zo(d,a,r,n);if(jr(d,p),c==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},vo(i);c==="in-out"&&l.type!==$e&&(p.delayLeave=(w,_,m)=>{const E=Nc(r,d);E[String(d.key)]=d,w._leaveCb=()=>{_(),w._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=m})}return i}}},dd=fd;function Nc(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 zo(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:h,onBeforeAppear:p,onAppear:w,onAfterAppear:_,onAppearCancelled:m}=t,E=String(e.key),v=Nc(n,e),C=(P,M)=>{P&&Ye(P,r,9,M)},x=(P,M)=>{const N=M[1];C(P,M),Z(P)?P.every(Q=>Q.length<=1)&&N():P.length<=1&&N()},S={mode:s,persisted:i,beforeEnter(P){let M=a;if(!n.isMounted)if(o)M=p||a;else return;P._leaveCb&&P._leaveCb(!0);const N=v[E];N&&nt(e,N)&&N.el._leaveCb&&N.el._leaveCb(),C(M,[P])},enter(P){let M=c,N=l,Q=u;if(!n.isMounted)if(o)M=w||c,N=_||l,Q=m||u;else return;let B=!1;const U=P._enterCb=W=>{B||(B=!0,W?C(Q,[P]):C(N,[P]),S.delayedLeave&&S.delayedLeave(),P._enterCb=void 0)};M?x(M,[P,U]):U()},leave(P,M){const N=String(e.key);if(P._enterCb&&P._enterCb(!0),n.isUnmounting)return M();C(f,[P]);let Q=!1;const B=P._leaveCb=U=>{Q||(Q=!0,M(),U?C(h,[P]):C(g,[P]),P._leaveCb=void 0,v[N]===e&&delete v[N])};v[N]=e,d?x(d,[P,B]):B()},clone(P){return zo(P,t,n,r)}};return S}function vo(e){if(ar(e))return e=vt(e),e.children=null,e}function Ri(e){return ar(e)?e.children?e.children[0]:void 0:e}function jr(e,t){e.shapeFlag&6&&e.component?jr(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 jc(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sPe({name:e.name},t,{setup:e}))():e}const Wt=e=>!!e.type.__asyncLoader;function D(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let g;return c||(g=c=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((p,w)=>{a(h,()=>p(f()),()=>w(h),u+1)});throw h}).then(h=>g!==c&&c?c:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),l=h,h)))};return xe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const g=Ce;if(l)return()=>bo(l,g);const h=m=>{c=null,Cn(m,g,13,!r)};if(i&&g.suspense||gn)return d().then(m=>()=>bo(m,g)).catch(m=>(h(m),()=>r?ne(r,{error:m}):null));const p=be(!1),w=be(),_=be(!!o);return o&&setTimeout(()=>{_.value=!1},o),s!=null&&setTimeout(()=>{if(!p.value&&!w.value){const m=new Error(`Async component timed out after ${s}ms.`);h(m),w.value=m}},s),d().then(()=>{p.value=!0,g.parent&&ar(g.parent.vnode)&&no(g.parent.update)}).catch(m=>{h(m),w.value=m}),()=>{if(p.value&&l)return bo(l,g);if(w.value&&r)return ne(r,{error:w.value});if(n&&!_.value)return ne(n)}}})}function bo(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=ne(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const ar=e=>e.type.__isKeepAlive,pd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=wt(),r=n.ctx;if(!r.renderer)return()=>{const m=t.default&&t.default();return m&&m.length===1?m[0]:m};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(m,E,v,C,x)=>{const S=m.component;l(m,E,v,0,a),c(S.vnode,m,E,v,S,a,C,m.slotScopeIds,x),Re(()=>{S.isDeactivated=!1,S.a&&jn(S.a);const P=m.props&&m.props.onVnodeMounted;P&&Ne(P,S.parent,m)},a)},r.deactivate=m=>{const E=m.component;l(m,d,null,1,a),Re(()=>{E.da&&jn(E.da);const v=m.props&&m.props.onVnodeUnmounted;v&&Ne(v,E.parent,m),E.isDeactivated=!0},a)};function g(m){wo(m),u(m,n,a,!0)}function h(m){o.forEach((E,v)=>{const C=Jo(E.type);C&&(!m||!m(C))&&p(v)})}function p(m){const E=o.get(m);!i||!nt(E,i)?g(E):i&&wo(i),o.delete(m),s.delete(m)}Ie(()=>[e.include,e.exclude],([m,E])=>{m&&h(v=>Dn(m,v)),E&&h(v=>!Dn(E,v))},{flush:"post",deep:!0});let w=null;const _=()=>{w!=null&&o.set(w,Eo(n.subTree))};return Pn(_),Uc(_),xn(()=>{o.forEach(m=>{const{subTree:E,suspense:v}=n,C=Eo(E);if(m.type===C.type&&m.key===C.key){wo(C);const x=C.component.da;x&&Re(x,v);return}g(m)})}),()=>{if(w=null,!t.default)return null;const m=t.default(),E=m[0];if(m.length>1)return i=null,m;if(!mn(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let v=Eo(E);const C=v.type,x=Jo(Wt(v)?v.type.__asyncResolved||{}:C),{include:S,exclude:P,max:M}=e;if(S&&(!x||!Dn(S,x))||P&&x&&Dn(P,x))return i=v,E;const N=v.key==null?C:v.key,Q=o.get(N);return v.el&&(v=vt(v),E.shapeFlag&128&&(E.ssContent=v)),w=N,Q?(v.el=Q.el,v.component=Q.component,v.transition&&jr(v,v.transition),v.shapeFlag|=512,s.delete(N),s.add(N)):(s.add(N),M&&s.size>parseInt(M,10)&&p(s.values().next().value)),v.shapeFlag|=256,i=v,Lc(E.type)?E:v}}},hd=pd;function Dn(e,t){return Z(e)?e.some(n=>Dn(n,t)):ve(e)?e.split(",").includes(t):Ju(e)?e.test(t):!1}function Fc(e,t){zc(e,"a",t)}function Bc(e,t){zc(e,"da",t)}function zc(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(io(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ar(o.parent.vnode)&&md(r,t,n,o),o=o.parent}}function md(e,t,n,r){const o=io(t,e,r,!0);Fs(()=>{Ps(r[t],o)},n)}function wo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Eo(e){return e.shapeFlag&128?e.ssContent:e}function io(e,t,n=Ce,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;En(),$t(n);const a=Ye(t,n,e,i);return Ot(),Tn(),a});return r?o.unshift(s):o.push(s),s}}const bt=e=>(t,n=Ce)=>(!gn||e==="sp")&&io(e,(...r)=>t(...r),n),gd=bt("bm"),Pn=bt("m"),_d=bt("bu"),Uc=bt("u"),xn=bt("bum"),Fs=bt("um"),yd=bt("sp"),vd=bt("rtg"),bd=bt("rtc");function Vc(e,t=Ce){io("ec",e,t)}const Bs="components";function wd(e,t){return Kc(Bs,e,!0,t)||e}const Wc=Symbol.for("v-ndc");function cr(e){return ve(e)?Kc(Bs,e,!1)||e:e||Wc}function Kc(e,t,n=!0,r=!1){const o=Se||Ce;if(o){const s=o.type;if(e===Bs){const a=Jo(s,!1);if(a&&(a===t||a===ft(t)||a===eo(ft(t))))return s}const i=Ii(o[e]||s[e],t)||Ii(o.appContext[e],t);return!i&&r?s:i}}function Ii(e,t){return e&&(e[t]||e[ft(t)]||e[eo(ft(t))])}function er(e,t,n,r){let o;const s=n&&n[r];if(Z(e)||ve(e)){o=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,c=i.length;amn(t)?!(t.type===$e||t.type===we&&!qc(t.children)):!0)?e:null}const Uo=e=>e?il(e)?lo(e)||e.proxy:Uo(e.parent):null,Fn=Pe(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=>Uo(e.parent),$root:e=>Uo(e.root),$emit:e=>e.emit,$options:e=>Us(e),$forceUpdate:e=>e.f||(e.f=()=>no(e.update)),$nextTick:e=>e.n||(e.n=Xt.bind(e.proxy)),$watch:e=>cd.bind(e)}),To=(e,t)=>e!==ye&&!e.__isScriptSetup&&se(e,t),Ed={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(To(r,t))return i[t]=1,r[t];if(o!==ye&&se(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&se(l,t))return i[t]=3,s[t];if(n!==ye&&se(n,t))return i[t]=4,n[t];Vo&&(i[t]=0)}}const u=Fn[t];let f,d;if(u)return t==="$attrs"&&ze(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ye&&se(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,se(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return To(o,t)?(o[t]=n,!0):r!==ye&&se(r,t)?(r[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==ye&&se(e,i)||To(t,i)||(a=s[0])&&se(a,i)||se(r,i)||se(Fn,i)||se(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function aE(){return Td().slots}function Td(){const e=wt();return e.setupContext||(e.setupContext=cl(e))}function ki(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Cd(e){const t=wt();let n=e();return Ot(),As(n)&&(n=n.catch(r=>{throw $t(t),r})),[n,()=>$t(t)]}let Vo=!0;function Pd(e){const t=Us(e),n=e.proxy,r=e.ctx;Vo=!1,t.beforeCreate&&Oi(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:h,activated:p,deactivated:w,beforeDestroy:_,beforeUnmount:m,destroyed:E,unmounted:v,render:C,renderTracked:x,renderTriggered:S,errorCaptured:P,serverPrefetch:M,expose:N,inheritAttrs:Q,components:B,directives:U,filters:W}=t;if(l&&xd(l,r,null),i)for(const ae in i){const le=i[ae];ee(le)&&(r[ae]=le.bind(n))}if(o){const ae=o.call(n,n);_e(ae)&&(e.data=Ue(ae))}if(Vo=!0,s)for(const ae in s){const le=s[ae],pt=ee(le)?le.bind(n,n):ee(le.get)?le.get.bind(n,n):rt,Tt=!ee(le)&&ee(le.set)?le.set.bind(n):rt,st=Y({get:pt,set:Tt});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>st.value,set:Me=>st.value=Me})}if(a)for(const ae in a)Qc(a[ae],r,n,ae);if(c){const ae=ee(c)?c.call(n):c;Reflect.ownKeys(ae).forEach(le=>{fn(le,ae[le])})}u&&Oi(u,e,"c");function oe(ae,le){Z(le)?le.forEach(pt=>ae(pt.bind(n))):le&&ae(le.bind(n))}if(oe(gd,f),oe(Pn,d),oe(_d,g),oe(Uc,h),oe(Fc,p),oe(Bc,w),oe(Vc,P),oe(bd,x),oe(vd,S),oe(xn,m),oe(Fs,v),oe(yd,M),Z(N))if(N.length){const ae=e.exposed||(e.exposed={});N.forEach(le=>{Object.defineProperty(ae,le,{get:()=>n[le],set:pt=>n[le]=pt})})}else e.exposed||(e.exposed={});C&&e.render===rt&&(e.render=C),Q!=null&&(e.inheritAttrs=Q),B&&(e.components=B),U&&(e.directives=U)}function xd(e,t,n=rt){Z(e)&&(e=Wo(e));for(const r in e){const o=e[r];let s;_e(o)?"default"in o?s=Fe(o.from||r,o.default,!0):s=Fe(o.from||r):s=Fe(o),Ae(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Oi(e,t,n){Ye(Z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qc(e,t,n,r){const o=r.includes(".")?Mc(n,r):()=>n[r];if(ve(e)){const s=t[e];ee(s)&&Ie(o,s)}else if(ee(e))Ie(o,e.bind(n));else if(_e(e))if(Z(e))e.forEach(s=>Qc(s,t,n,r));else{const s=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(s)&&Ie(o,s,e)}}function Us(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>Fr(c,l,i,!0)),Fr(c,t,i)),_e(t)&&s.set(t,c),c}function Fr(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Fr(e,s,n,!0),o&&o.forEach(i=>Fr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Ad[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ad={data:Li,props:$i,emits:$i,methods:Mn,computed:Mn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:Mn,directives:Mn,watch:Rd,provide:Li,inject:Sd};function Li(e,t){return t?e?function(){return Pe(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Sd(e,t){return Mn(Wo(e),Wo(t))}function Wo(e){if(Z(e)){const t={};for(let n=0;n1)return n&&ee(t)?t.call(r&&r.proxy):t}}function Od(){return!!(Ce||Se||tr)}function Ld(e,t,n,r=!1){const o={},s={};$r(s,ao,1),e.propsDefaults=Object.create(null),Xc(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:yc(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function $d(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=ie(o),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,g]=Gc(f,t,!0);Pe(i,d),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!c)return _e(e)&&r.set(e,sn),sn;if(Z(s))for(let u=0;u-1,g[1]=p<0||h-1||se(g,"default"))&&a.push(f)}}}const l=[i,a];return _e(e)&&r.set(e,l),l}function Di(e){return e[0]!=="$"}function Mi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Hi(e,t){return Mi(e)===Mi(t)}function Ni(e,t){return Z(t)?t.findIndex(n=>Hi(n,e)):ee(t)&&Hi(t,e)?0:-1}const Yc=e=>e[0]==="_"||e==="$stable",Vs=e=>Z(e)?e.map(Xe):[Xe(e)],Dd=(e,t,n)=>{if(t._n)return t;const r=Qe((...o)=>Vs(t(...o)),n);return r._c=!1,r},Zc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Yc(o))continue;const s=e[o];if(ee(s))t[o]=Dd(o,s,r);else if(s!=null){const i=Vs(s);t[o]=()=>i}}},el=(e,t)=>{const n=Vs(t);e.slots.default=()=>n},Md=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ie(t),$r(t,"_",n)):Zc(t,e.slots={})}else e.slots={},t&&el(e,t);$r(e.slots,ao,1)},Hd=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Pe(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Zc(t,o)),i=t}else t&&(el(e,t),i={default:1});if(s)for(const a in o)!Yc(a)&&!(a in i)&&delete o[a]};function Br(e,t,n,r,o=!1){if(Z(e)){e.forEach((d,g)=>Br(d,t&&(Z(t)?t[g]:t),n,r,o));return}if(Wt(r)&&!o)return;const s=r.shapeFlag&4?lo(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:c}=e,l=t&&t.r,u=a.refs===ye?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(ve(l)?(u[l]=null,se(f,l)&&(f[l]=null)):Ae(l)&&(l.value=null)),ee(c))kt(c,a,12,[i,u]);else{const d=ve(c),g=Ae(c);if(d||g){const h=()=>{if(e.f){const p=d?se(f,c)?f[c]:u[c]:c.value;o?Z(p)&&Ps(p,s):Z(p)?p.includes(s)||p.push(s):d?(u[c]=[s],se(f,c)&&(f[c]=u[c])):(c.value=[s],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,se(f,c)&&(f[c]=i)):g&&(c.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,Re(h,n)):h()}}}let Pt=!1;const yr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",vr=e=>e.nodeType===8;function Nd(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(_,m)=>{if(!m.hasChildNodes()){n(null,_,m),Hr(),m._vnode=_;return}Pt=!1,f(m.firstChild,_,null,null,null),Hr(),m._vnode=_,Pt&&console.error("Hydration completed but contains mismatches.")},f=(_,m,E,v,C,x=!1)=>{const S=vr(_)&&_.data==="[",P=()=>p(_,m,E,v,C,S),{type:M,ref:N,shapeFlag:Q,patchFlag:B}=m;let U=_.nodeType;m.el=_,B===-2&&(x=!1,m.dynamicChildren=null);let W=null;switch(M){case pn:U!==3?m.children===""?(c(m.el=o(""),i(_),_),W=_):W=P():(_.data!==m.children&&(Pt=!0,_.data=m.children),W=s(_));break;case $e:U!==8||S?W=P():W=s(_);break;case dn:if(S&&(_=s(_),U=_.nodeType),U===1||U===3){W=_;const Ee=!m.children.length;for(let oe=0;oe{x=x||!!m.dynamicChildren;const{type:S,props:P,patchFlag:M,shapeFlag:N,dirs:Q}=m,B=S==="input"&&Q||S==="option";if(B||M!==-1){if(Q&&ct(m,null,E,"created"),P)if(B||!x||M&48)for(const W in P)(B&&W.endsWith("value")||sr(W)&&!Nn(W))&&r(_,W,null,P[W],!1,void 0,E);else P.onClick&&r(_,"onClick",null,P.onClick,!1,void 0,E);let U;if((U=P&&P.onVnodeBeforeMount)&&Ne(U,E,m),Q&&ct(m,null,E,"beforeMount"),((U=P&&P.onVnodeMounted)||Q)&&Dc(()=>{U&&Ne(U,E,m),Q&&ct(m,null,E,"mounted")},v),N&16&&!(P&&(P.innerHTML||P.textContent))){let W=g(_.firstChild,m,_,E,v,C,x);for(;W;){Pt=!0;const Ee=W;W=W.nextSibling,a(Ee)}}else N&8&&_.textContent!==m.children&&(Pt=!0,_.textContent=m.children)}return _.nextSibling},g=(_,m,E,v,C,x,S)=>{S=S||!!m.dynamicChildren;const P=m.children,M=P.length;for(let N=0;N{const{slotScopeIds:S}=m;S&&(C=C?C.concat(S):S);const P=i(_),M=g(s(_),m,P,E,v,C,x);return M&&vr(M)&&M.data==="]"?s(m.anchor=M):(Pt=!0,c(m.anchor=l("]"),P,M),M)},p=(_,m,E,v,C,x)=>{if(Pt=!0,m.el=null,x){const M=w(_);for(;;){const N=s(_);if(N&&N!==M)a(N);else break}}const S=s(_),P=i(_);return a(_),n(null,m,P,S,E,v,yr(P),C),S},w=_=>{let m=0;for(;_;)if(_=s(_),_&&vr(_)&&(_.data==="["&&m++,_.data==="]")){if(m===0)return s(_);m--}return _};return[u,f]}const Re=Dc;function jd(e){return tl(e)}function Fd(e){return tl(e,Nd)}function tl(e,t){const n=Ho();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=rt,insertStaticContent:h}=e,p=(y,b,T,A=null,I=null,O=null,z=!1,H=null,j=!!b.dynamicChildren)=>{if(y===b)return;y&&!nt(y,b)&&(A=R(y),Me(y,I,O,!0),y=null),b.patchFlag===-2&&(j=!1,b.dynamicChildren=null);const{type:L,ref:X,shapeFlag:K}=b;switch(L){case pn:w(y,b,T,A);break;case $e:_(y,b,T,A);break;case dn:y==null&&m(b,T,A,z);break;case we:B(y,b,T,A,I,O,z,H,j);break;default:K&1?C(y,b,T,A,I,O,z,H,j):K&6?U(y,b,T,A,I,O,z,H,j):(K&64||K&128)&&L.process(y,b,T,A,I,O,z,H,j,F)}X!=null&&I&&Br(X,y&&y.ref,O,b||y,!b)},w=(y,b,T,A)=>{if(y==null)r(b.el=a(b.children),T,A);else{const I=b.el=y.el;b.children!==y.children&&l(I,b.children)}},_=(y,b,T,A)=>{y==null?r(b.el=c(b.children||""),T,A):b.el=y.el},m=(y,b,T,A)=>{[y.el,y.anchor]=h(y.children,b,T,A,y.el,y.anchor)},E=({el:y,anchor:b},T,A)=>{let I;for(;y&&y!==b;)I=d(y),r(y,T,A),y=I;r(b,T,A)},v=({el:y,anchor:b})=>{let T;for(;y&&y!==b;)T=d(y),o(y),y=T;o(b)},C=(y,b,T,A,I,O,z,H,j)=>{z=z||b.type==="svg",y==null?x(b,T,A,I,O,z,H,j):M(y,b,I,O,z,H,j)},x=(y,b,T,A,I,O,z,H)=>{let j,L;const{type:X,props:K,shapeFlag:G,transition:te,dirs:re}=y;if(j=y.el=i(y.type,O,K&&K.is,K),G&8?u(j,y.children):G&16&&P(y.children,j,null,A,I,O&&X!=="foreignObject",z,H),re&&ct(y,null,A,"created"),S(j,y,y.scopeId,z,A),K){for(const pe in K)pe!=="value"&&!Nn(pe)&&s(j,pe,null,K[pe],O,y.children,A,I,ke);"value"in K&&s(j,"value",null,K.value),(L=K.onVnodeBeforeMount)&&Ne(L,A,y)}re&&ct(y,null,A,"beforeMount");const ge=(!I||I&&!I.pendingBranch)&&te&&!te.persisted;ge&&te.beforeEnter(j),r(j,b,T),((L=K&&K.onVnodeMounted)||ge||re)&&Re(()=>{L&&Ne(L,A,y),ge&&te.enter(j),re&&ct(y,null,A,"mounted")},I)},S=(y,b,T,A,I)=>{if(T&&g(y,T),A)for(let O=0;O{for(let L=j;L{const H=b.el=y.el;let{patchFlag:j,dynamicChildren:L,dirs:X}=b;j|=y.patchFlag&16;const K=y.props||ye,G=b.props||ye;let te;T&&Ht(T,!1),(te=G.onVnodeBeforeUpdate)&&Ne(te,T,b,y),X&&ct(b,y,T,"beforeUpdate"),T&&Ht(T,!0);const re=I&&b.type!=="foreignObject";if(L?N(y.dynamicChildren,L,H,T,A,re,O):z||le(y,b,H,null,T,A,re,O,!1),j>0){if(j&16)Q(H,b,K,G,T,A,I);else if(j&2&&K.class!==G.class&&s(H,"class",null,G.class,I),j&4&&s(H,"style",K.style,G.style,I),j&8){const ge=b.dynamicProps;for(let pe=0;pe{te&&Ne(te,T,b,y),X&&ct(b,y,T,"updated")},A)},N=(y,b,T,A,I,O,z)=>{for(let H=0;H{if(T!==A){if(T!==ye)for(const H in T)!Nn(H)&&!(H in A)&&s(y,H,T[H],null,z,b.children,I,O,ke);for(const H in A){if(Nn(H))continue;const j=A[H],L=T[H];j!==L&&H!=="value"&&s(y,H,L,j,z,b.children,I,O,ke)}"value"in A&&s(y,"value",T.value,A.value)}},B=(y,b,T,A,I,O,z,H,j)=>{const L=b.el=y?y.el:a(""),X=b.anchor=y?y.anchor:a("");let{patchFlag:K,dynamicChildren:G,slotScopeIds:te}=b;te&&(H=H?H.concat(te):te),y==null?(r(L,T,A),r(X,T,A),P(b.children,T,X,I,O,z,H,j)):K>0&&K&64&&G&&y.dynamicChildren?(N(y.dynamicChildren,G,T,I,O,z,H),(b.key!=null||I&&b===I.subTree)&&Ws(y,b,!0)):le(y,b,T,X,I,O,z,H,j)},U=(y,b,T,A,I,O,z,H,j)=>{b.slotScopeIds=H,y==null?b.shapeFlag&512?I.ctx.activate(b,T,A,z,j):W(b,T,A,I,O,z,j):Ee(y,b,j)},W=(y,b,T,A,I,O,z)=>{const H=y.component=Yd(y,A,I);if(ar(y)&&(H.ctx.renderer=F),Zd(H),H.asyncDep){if(I&&I.registerDep(H,oe),!y.el){const j=H.subTree=ne($e);_(null,j,b,T)}return}oe(H,y,b,T,I,O,z)},Ee=(y,b,T)=>{const A=b.component=y.component;if(Zf(y,b,T))if(A.asyncDep&&!A.asyncResolved){ae(A,b,T);return}else A.next=b,Wf(A.update),A.update();else b.el=y.el,A.vnode=b},oe=(y,b,T,A,I,O,z)=>{const H=()=>{if(y.isMounted){let{next:X,bu:K,u:G,parent:te,vnode:re}=y,ge=X,pe;Ht(y,!1),X?(X.el=re.el,ae(y,X,z)):X=re,K&&jn(K),(pe=X.props&&X.props.onVnodeBeforeUpdate)&&Ne(pe,te,X,re),Ht(y,!0);const Te=yo(y),et=y.subTree;y.subTree=Te,p(et,Te,f(et.el),R(et),y,I,O),X.el=Te.el,ge===null&&Ns(y,Te.el),G&&Re(G,I),(pe=X.props&&X.props.onVnodeUpdated)&&Re(()=>Ne(pe,te,X,re),I)}else{let X;const{el:K,props:G}=b,{bm:te,m:re,parent:ge}=y,pe=Wt(b);if(Ht(y,!1),te&&jn(te),!pe&&(X=G&&G.onVnodeBeforeMount)&&Ne(X,ge,b),Ht(y,!0),K&&ue){const Te=()=>{y.subTree=yo(y),ue(K,y.subTree,y,I,null)};pe?b.type.__asyncLoader().then(()=>!y.isUnmounted&&Te()):Te()}else{const Te=y.subTree=yo(y);p(null,Te,T,A,y,I,O),b.el=Te.el}if(re&&Re(re,I),!pe&&(X=G&&G.onVnodeMounted)){const Te=b;Re(()=>Ne(X,ge,Te),I)}(b.shapeFlag&256||ge&&Wt(ge.vnode)&&ge.vnode.shapeFlag&256)&&y.a&&Re(y.a,I),y.isMounted=!0,b=T=A=null}},j=y.effect=new ks(H,()=>no(L),y.scope),L=y.update=()=>j.run();L.id=y.uid,Ht(y,!0),L()},ae=(y,b,T)=>{b.component=y;const A=y.vnode.props;y.vnode=b,y.next=null,$d(y,b.props,A,T),Hd(y,b.children,T),En(),xi(),Tn()},le=(y,b,T,A,I,O,z,H,j=!1)=>{const L=y&&y.children,X=y?y.shapeFlag:0,K=b.children,{patchFlag:G,shapeFlag:te}=b;if(G>0){if(G&128){Tt(L,K,T,A,I,O,z,H,j);return}else if(G&256){pt(L,K,T,A,I,O,z,H,j);return}}te&8?(X&16&&ke(L,I,O),K!==L&&u(T,K)):X&16?te&16?Tt(L,K,T,A,I,O,z,H,j):ke(L,I,O,!0):(X&8&&u(T,""),te&16&&P(K,T,A,I,O,z,H,j))},pt=(y,b,T,A,I,O,z,H,j)=>{y=y||sn,b=b||sn;const L=y.length,X=b.length,K=Math.min(L,X);let G;for(G=0;GX?ke(y,I,O,!0,!1,K):P(b,T,A,I,O,z,H,j,K)},Tt=(y,b,T,A,I,O,z,H,j)=>{let L=0;const X=b.length;let K=y.length-1,G=X-1;for(;L<=K&&L<=G;){const te=y[L],re=b[L]=j?St(b[L]):Xe(b[L]);if(nt(te,re))p(te,re,T,null,I,O,z,H,j);else break;L++}for(;L<=K&&L<=G;){const te=y[K],re=b[G]=j?St(b[G]):Xe(b[G]);if(nt(te,re))p(te,re,T,null,I,O,z,H,j);else break;K--,G--}if(L>K){if(L<=G){const te=G+1,re=teG)for(;L<=K;)Me(y[L],I,O,!0),L++;else{const te=L,re=L,ge=new Map;for(L=re;L<=G;L++){const We=b[L]=j?St(b[L]):Xe(b[L]);We.key!=null&&ge.set(We.key,L)}let pe,Te=0;const et=G-re+1;let en=!1,mi=0;const Sn=new Array(et);for(L=0;L=et){Me(We,I,O,!0);continue}let it;if(We.key!=null)it=ge.get(We.key);else for(pe=re;pe<=G;pe++)if(Sn[pe-re]===0&&nt(We,b[pe])){it=pe;break}it===void 0?Me(We,I,O,!0):(Sn[it-re]=L+1,it>=mi?mi=it:en=!0,p(We,b[it],T,null,I,O,z,H,j),Te++)}const gi=en?Bd(Sn):sn;for(pe=gi.length-1,L=et-1;L>=0;L--){const We=re+L,it=b[We],_i=We+1{const{el:O,type:z,transition:H,children:j,shapeFlag:L}=y;if(L&6){st(y.component.subTree,b,T,A);return}if(L&128){y.suspense.move(b,T,A);return}if(L&64){z.move(y,b,T,F);return}if(z===we){r(O,b,T);for(let K=0;KH.enter(O),I);else{const{leave:K,delayLeave:G,afterLeave:te}=H,re=()=>r(O,b,T),ge=()=>{K(O,()=>{re(),te&&te()})};G?G(O,re,ge):ge()}else r(O,b,T)},Me=(y,b,T,A=!1,I=!1)=>{const{type:O,props:z,ref:H,children:j,dynamicChildren:L,shapeFlag:X,patchFlag:K,dirs:G}=y;if(H!=null&&Br(H,null,T,y,!0),X&256){b.ctx.deactivate(y);return}const te=X&1&&G,re=!Wt(y);let ge;if(re&&(ge=z&&z.onVnodeBeforeUnmount)&&Ne(ge,b,y),X&6)fr(y.component,T,A);else{if(X&128){y.suspense.unmount(T,A);return}te&&ct(y,null,b,"beforeUnmount"),X&64?y.type.remove(y,b,T,I,F,A):L&&(O!==we||K>0&&K&64)?ke(L,b,T,!1,!0):(O===we&&K&384||!I&&X&16)&&ke(j,b,T),A&&Yt(y)}(re&&(ge=z&&z.onVnodeUnmounted)||te)&&Re(()=>{ge&&Ne(ge,b,y),te&&ct(y,null,b,"unmounted")},T)},Yt=y=>{const{type:b,el:T,anchor:A,transition:I}=y;if(b===we){Zt(T,A);return}if(b===dn){v(y);return}const O=()=>{o(T),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(y.shapeFlag&1&&I&&!I.persisted){const{leave:z,delayLeave:H}=I,j=()=>z(T,O);H?H(y.el,O,j):j()}else O()},Zt=(y,b)=>{let T;for(;y!==b;)T=d(y),o(y),y=T;o(b)},fr=(y,b,T)=>{const{bum:A,scope:I,update:O,subTree:z,um:H}=y;A&&jn(A),I.stop(),O&&(O.active=!1,Me(z,y,b,T)),H&&Re(H,b),Re(()=>{y.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ke=(y,b,T,A=!1,I=!1,O=0)=>{for(let z=O;zy.shapeFlag&6?R(y.component.subTree):y.shapeFlag&128?y.suspense.next():d(y.anchor||y.el),V=(y,b,T)=>{y==null?b._vnode&&Me(b._vnode,null,null,!0):p(b._vnode||null,y,b,null,null,null,T),xi(),Hr(),b._vnode=y},F={p,um:Me,m:st,r:Yt,mt:W,mc:P,pc:le,pbc:N,n:R,o:e};let J,ue;return t&&([J,ue]=t(F)),{render:V,hydrate:J,createApp:kd(V,J)}}function Ht({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ws(e,t,n=!1){const r=e.children,o=t.children;if(Z(r)&&Z(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const zd=e=>e.__isTeleport,Bn=e=>e&&(e.disabled||e.disabled===""),ji=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qo=(e,t)=>{const n=e&&e.to;return ve(n)?t?t(n):null:n},Ud={__isTeleport:!0,process(e,t,n,r,o,s,i,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:h,createText:p,createComment:w}}=l,_=Bn(t.props);let{shapeFlag:m,children:E,dynamicChildren:v}=t;if(e==null){const C=t.el=p(""),x=t.anchor=p("");g(C,n,r),g(x,n,r);const S=t.target=qo(t.props,h),P=t.targetAnchor=p("");S&&(g(P,S),i=i||ji(S));const M=(N,Q)=>{m&16&&u(E,N,Q,o,s,i,a,c)};_?M(n,x):S&&M(S,P)}else{t.el=e.el;const C=t.anchor=e.anchor,x=t.target=e.target,S=t.targetAnchor=e.targetAnchor,P=Bn(e.props),M=P?n:x,N=P?C:S;if(i=i||ji(x),v?(d(e.dynamicChildren,v,M,o,s,i,a),Ws(e,t,!0)):c||f(e,t,M,N,o,s,i,a,!1),_)P||br(t,n,C,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Q=t.target=qo(t.props,h);Q&&br(t,Q,null,l,0)}else P&&br(t,x,S,l,1)}nl(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),(i||!Bn(d))&&(s(l),a&16))for(let g=0;g0?Ge||sn:null,rl(),hn>0&&Ge&&Ge.push(e),e}function he(e,t,n,r,o,s){return ol(de(e,t,n,r,o,s,!0))}function ce(e,t,n,r,o){return ol(ne(e,t,n,r,o,!0))}function mn(e){return e?e.__v_isVNode===!0:!1}function nt(e,t){return e.type===t.type&&e.key===t.key}const ao="__vInternal",sl=({key:e})=>e??null,Ar=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Ae(e)||ee(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function de(e,t=null,n=null,r=0,o=null,s=e===we?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sl(t),ref:t&&Ar(t),scopeId:oo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Se};return a?(Ks(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=ve(n)?8:16),hn>0&&!i&&Ge&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Ge.push(c),c}const ne=Kd;function Kd(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Wc)&&(e=$e),mn(e)){const a=vt(e,t,!0);return n&&Ks(a,n),hn>0&&!s&&Ge&&(a.shapeFlag&6?Ge[Ge.indexOf(e)]=a:Ge.push(a)),a.patchFlag|=-2,a}if(np(e)&&(e=e.__vccOpts),t){t=qd(t);let{class:a,style:c}=t;a&&!ve(a)&&(t.class=je(a)),_e(c)&&(bc(c)&&!Z(c)&&(c=Pe({},c)),t.style=wn(c))}const i=ve(e)?1:Lc(e)?128:zd(e)?64:_e(e)?4:ee(e)?2:0;return de(e,t,n,r,o,i,s,!0)}function qd(e){return e?bc(e)||ao in e?Pe({},e):e:null}function vt(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?Jd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&sl(a),ref:t&&t.ref?n&&o?Z(o)?o.concat(Ar(t)):[o,Ar(t)]:Ar(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function co(e=" ",t=0){return ne(pn,null,e,t)}function Qd(e,t){const n=ne(dn,null,e);return n.staticCount=t,n}function Be(e="",t=!1){return t?(q(),ce($e,null,e)):ne($e,null,e)}function Xe(e){return e==null||typeof e=="boolean"?ne($e):Z(e)?ne(we,null,e.slice()):typeof e=="object"?St(e):ne(pn,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function Ks(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ks(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ao in t)?t._ctx=Se:o===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),r&64?(n=16,t=[co(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jd(...e){const t={};for(let n=0;nCe||Se;let qs,tn,Bi="__VUE_INSTANCE_SETTERS__";(tn=Ho()[Bi])||(tn=Ho()[Bi]=[]),tn.push(e=>Ce=e),qs=e=>{tn.length>1?tn.forEach(t=>t(e)):tn[0](e)};const $t=e=>{qs(e),e.scope.on()},Ot=()=>{Ce&&Ce.scope.off(),qs(null)};function il(e){return e.vnode.shapeFlag&4}let gn=!1;function Zd(e,t=!1){gn=t;const{props:n,children:r}=e.vnode,o=il(e);Ld(e,n,o,t),Md(e,r);const s=o?ep(e,t):void 0;return gn=!1,s}function ep(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=wc(new Proxy(e.ctx,Ed));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?cl(e):null;$t(e),En();const s=kt(r,e,0,[e.props,o]);if(Tn(),Ot(),As(s)){if(s.then(Ot,Ot),t)return s.then(i=>{Qo(e,i,t)}).catch(i=>{Cn(i,e,0)});e.asyncDep=s}else Qo(e,s,t)}else al(e,t)}function Qo(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=Pc(t)),al(e,n)}let zi;function al(e,t,n){const r=e.type;if(!e.render){if(!t&&zi&&!r.render){const o=r.template||Us(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=Pe(Pe({isCustomElement:s,delimiters:a},i),c);r.render=zi(o,l)}}e.render=r.render||rt}$t(e),En(),Pd(e),Tn(),Ot()}function tp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ze(e,"get","$attrs"),t[n]}}))}function cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return tp(e)},slots:e.slots,emit:e.emit,expose:t}}function lo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Pc(wc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Fn)return Fn[n](e)},has(t,n){return n in t||n in Fn}}))}function Jo(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function np(e){return ee(e)&&"__vccOpts"in e}const Y=(e,t)=>zf(e,t,gn);function qe(e,t,n){const r=arguments.length;return r===2?_e(t)&&!Z(t)?mn(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&mn(n)&&(n=[n]),ne(e,t,n))}const rp=Symbol.for("v-scx"),op=()=>Fe(rp),ll="3.3.4",sp="http://www.w3.org/2000/svg",zt=typeof document<"u"?document:null,Ui=zt&&zt.createElement("template"),ip={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?zt.createElementNS(sp,e):zt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>zt.createTextNode(e),createComment:e=>zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ui.innerHTML=r?`${e}`:e;const a=Ui.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function ap(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 cp(e,t,n){const r=e.style,o=ve(n);if(n&&!o){if(t&&!ve(t))for(const s in t)n[s]==null&&Xo(r,s,"");for(const s in n)Xo(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Vi=/\s*!important$/;function Xo(e,t,n){if(Z(n))n.forEach(r=>Xo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=lp(e,t);Vi.test(n)?e.setProperty(bn(r),n.replace(Vi,""),"important"):e[r]=n}}const Wi=["Webkit","Moz","ms"],Co={};function lp(e,t){const n=Co[t];if(n)return n;let r=ft(t);if(r!=="filter"&&r in e)return Co[t]=r;r=eo(r);for(let o=0;oPo||(gp.then(()=>Po=0),Po=Date.now());function yp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ye(vp(r,n.value),t,5,[r])};return n.value=e,n.attached=_p(),n}function vp(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Qi=/^on[a-z]/,bp=(e,t,n,r,o=!1,s,i,a,c)=>{t==="class"?ap(e,r,o):t==="style"?cp(e,n,r):sr(t)?Cs(t)||hp(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wp(e,t,r,o))?fp(e,t,r,s,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),up(e,t,r,o))};function wp(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Qi.test(t)&&ee(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Qi.test(t)&&ve(n)?!1:t in e}function cE(e){const t=wt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Yo(s,o))},r=()=>{const o=e(t.proxy);Go(t.subTree,o),n(o)};ad(r),Pn(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Fs(()=>o.disconnect())})}function Go(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Go(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Yo(e.el,t);else if(e.type===we)e.children.forEach(n=>Go(n,t));else if(e.type===dn){let{el:n,anchor:r}=e;for(;n&&(Yo(n,t),n!==r);)n=n.nextSibling}}function Yo(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const xt="transition",Rn="animation",Qs=(e,{slots:t})=>qe(dd,Ep(e),t);Qs.displayName="Transition";const ul={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};Qs.props=Pe({},Hc,ul);const Nt=(e,t=[])=>{Z(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ji=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function Ep(e){const t={};for(const B in e)B in ul||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,h=Tp(o),p=h&&h[0],w=h&&h[1],{onBeforeEnter:_,onEnter:m,onEnterCancelled:E,onLeave:v,onLeaveCancelled:C,onBeforeAppear:x=_,onAppear:S=m,onAppearCancelled:P=E}=t,M=(B,U,W)=>{jt(B,U?u:a),jt(B,U?l:i),W&&W()},N=(B,U)=>{B._isLeaving=!1,jt(B,f),jt(B,g),jt(B,d),U&&U()},Q=B=>(U,W)=>{const Ee=B?S:m,oe=()=>M(U,B,W);Nt(Ee,[U,oe]),Xi(()=>{jt(U,B?c:s),At(U,B?u:a),Ji(Ee)||Gi(U,r,p,oe)})};return Pe(t,{onBeforeEnter(B){Nt(_,[B]),At(B,s),At(B,i)},onBeforeAppear(B){Nt(x,[B]),At(B,c),At(B,l)},onEnter:Q(!1),onAppear:Q(!0),onLeave(B,U){B._isLeaving=!0;const W=()=>N(B,U);At(B,f),xp(),At(B,d),Xi(()=>{B._isLeaving&&(jt(B,f),At(B,g),Ji(v)||Gi(B,r,w,W))}),Nt(v,[B,W])},onEnterCancelled(B){M(B,!1),Nt(E,[B])},onAppearCancelled(B){M(B,!0),Nt(P,[B])},onLeaveCancelled(B){N(B),Nt(C,[B])}})}function Tp(e){if(e==null)return null;if(_e(e))return[xo(e.enter),xo(e.leave)];{const t=xo(e);return[t,t]}}function xo(e){return sc(e)}function At(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function jt(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 Xi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Cp=0;function Gi(e,t,n,r){const o=e._endId=++Cp,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=Pp(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),s()},d=g=>{g.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[h]||"").split(", "),o=r(`${xt}Delay`),s=r(`${xt}Duration`),i=Yi(o,s),a=r(`${Rn}Delay`),c=r(`${Rn}Duration`),l=Yi(a,c);let u=null,f=0,d=0;t===xt?i>0&&(u=xt,f=i,d=s.length):t===Rn?l>0&&(u=Rn,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?xt:Rn:null,d=u?u===xt?s.length:c.length:0);const g=u===xt&&/\b(transform|all)(,|$)/.test(r(`${xt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:g}}function Yi(e,t){for(;e.lengthZi(n)+Zi(e[r])))}function Zi(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function xp(){return document.body.offsetHeight}const Ap=["ctrl","shift","alt","meta"],Sp={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)=>Ap.some(n=>e[`${n}Key`]&&!t.includes(n))},Rp=(e,t)=>(n,...r)=>{for(let o=0;o{In(e,!1)}):In(e,t))},beforeUnmount(e,{value:t}){In(e,t)}};function In(e,t){e.style.display=t?e._vod:"none"}const fl=Pe({patchProp:bp},ip);let Un,ea=!1;function kp(){return Un||(Un=jd(fl))}function Op(){return Un=ea?Un:Fd(fl),ea=!0,Un}const Lp=(...e)=>{const t=kp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=dl(r);if(!o)return;const s=t._component;!ee(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},$p=(...e)=>{const t=Op().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=dl(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function dl(e){return ve(e)?document.querySelector(e):e}const Dp=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Mp=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Hp=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Np(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function pl(e,t={}){if(typeof e!="string")return e;const n=e.toLowerCase().trim();if(n==="true")return!0;if(n==="false")return!1;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n!=="undefined"){if(!Hp.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return Dp.test(e)||Mp.test(e)?JSON.parse(e,Np):JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const jp=/#/g,Fp=/&/g,Bp=/=/g,hl=/\+/g,zp=/%5e/gi,Up=/%60/gi,Vp=/%7c/gi,Wp=/%20/gi;function Kp(e){return encodeURI(""+e).replace(Vp,"|")}function Zo(e){return Kp(typeof e=="string"?e:JSON.stringify(e)).replace(hl,"%2B").replace(Wp,"+").replace(jp,"%23").replace(Fp,"%26").replace(Up,"`").replace(zp,"^")}function Ao(e){return Zo(e).replace(Bp,"%3D")}function ml(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function qp(e){return ml(e.replace(hl," "))}function gl(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=ml(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=qp(r[2]||"");typeof t[o]<"u"?Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]:t[o]=s}return t}function Qp(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ao(e)}=${Zo(n)}`).join("&"):`${Ao(e)}=${Zo(t)}`:Ao(e)}function Jp(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Qp(t,e[t])).join("&")}const Xp=/^\w{2,}:([/\\]{1,2})/,Gp=/^\w{2,}:([/\\]{2})?/,Yp=/^([/\\]\s*){2,}[^/\\]/;function Gt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Xp.test(e):Gp.test(e)||(t.acceptRelative?Yp.test(e):!1)}const Zp=/\/$|\/\?/;function es(e="",t=!1){return t?Zp.test(e):e.endsWith("/")}function Qt(e="",t=!1){if(!t)return(es(e)?e.slice(0,-1):e)||"/";if(!es(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function _l(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(es(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function yl(e=""){return e.startsWith("/")}function eh(e=""){return(yl(e)?e.slice(1):e)||"/"}function th(e=""){return yl(e)?e:"/"+e}function vl(e,t){if(bl(t)||Gt(e))return e;const n=Qt(t);return e.startsWith(n)?e:An(n,e)}function ta(e,t){if(bl(t))return e;const n=Qt(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function nh(e,t){const n=lr(e),r={...gl(n.search),...t};return n.search=Jp(r),oh(n)}function bl(e){return!e||e==="/"}function rh(e){return e&&e!=="/"}function An(e,...t){let n=e||"";for(const r of t.filter(o=>rh(o)))n=n?_l(n)+eh(r):r;return n}function lr(e="",t){if(!Gt(e,{acceptRelative:!0}))return t?lr(t+e):na(e);const[n="",r,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[s="",i=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=na(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:s,pathname:a,search:c,hash:l}}function na(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function oh(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class sh extends Error{constructor(){super(...arguments),this.name="FetchError"}}function ih(e,t,n){let r="";t&&(r=t.message),e&&n?r=`${r} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(r=`${r} (${e.toString()})`);const o=new sh(r);return Object.defineProperty(o,"request",{get(){return e}}),Object.defineProperty(o,"response",{get(){return n}}),Object.defineProperty(o,"data",{get(){return n&&n._data}}),Object.defineProperty(o,"status",{get(){return n&&n.status}}),Object.defineProperty(o,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(o,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(o,"statusMessage",{get(){return n&&n.statusText}}),o}const ah=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ra(e="GET"){return ah.has(e.toUpperCase())}function ch(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const lh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),uh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function fh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return uh.test(t)?"json":lh.has(t)||t.startsWith("text/")?"text":"blob"}const dh=new Set([408,409,425,429,500,502,503,504]);function wl(e){const{fetch:t,Headers:n}=e;function r(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let l;typeof i.options.retry=="number"?l=i.options.retry:l=ra(i.options.method)?0:1;const u=i.response&&i.response.status||500;if(l>0&&dh.has(u))return o(i.request,{...i.options,retry:l-1})}const c=ih(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(a,c={}){const l={request:a,options:{...e.defaults,...c},response:void 0,error:void 0};l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=vl(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=nh(l.request,{...l.options.params,...l.options.query})),l.options.body&&ra(l.options.method)&&ch(l.options.body)&&(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json"))),l.response=await t(l.request,l.options).catch(async f=>(l.error=f,l.options.onRequestError&&await l.options.onRequestError(l),r(l)));const u=(l.options.parseResponse?"json":l.options.responseType)||fh(l.response.headers.get("content-type")||"");if(u==="json"){const f=await l.response.text(),d=l.options.parseResponse||pl;l.response._data=d(f)}else u==="stream"?l.response._data=l.response.body:l.response._data=await l.response[u]();return l.options.onResponse&&await l.options.onResponse(l),l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),r(l)):l.response},s=function(a,c){return o(a,c).then(l=>l._data)};return s.raw=o,s.native=t,s.create=(i={})=>wl({...e,defaults:{...e.defaults,...i}}),s}const El=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),ph=El.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),hh=El.Headers,mh=wl({fetch:ph,Headers:hh}),gh=mh,_h=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},zr=_h().app,yh=()=>zr.baseURL,vh=()=>zr.buildAssetsDir,bh=(...e)=>An(Tl(),vh(),...e),Tl=(...e)=>{const t=zr.cdnURL||zr.baseURL;return e.length?An(t,...e):t};globalThis.__buildAssetsURL=bh,globalThis.__publicAssetsURL=Tl;function ts(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?ts(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const wh={run:e=>e()},Eh=()=>wh,Cl=typeof console.createTask<"u"?console.createTask:Eh;function Th(e,t){const n=t.shift(),r=Cl(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function Ch(e,t){const n=t.shift(),r=Cl(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function So(e,t){for(const n of[...e])n(t)}class Ph{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ts(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=ts(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Th,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ch,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&So(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&So(this._after,o)}):(this._after&&o&&So(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Pl(){return new Ph}function xh(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;ns.add(l);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{ns.delete(l)}}}}function Ah(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=xh({...e,...r})),t[n],t[n]}}}const Ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},oa="__unctx__",Sh=Ur[oa]||(Ur[oa]=Ah()),Rh=(e,t={})=>Sh.get(e,t),sa="__unctx_async_handlers__",ns=Ur[sa]||(Ur[sa]=new Set);function Vr(e){const t=[];for(const o of ns){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const xl=Rh("nuxt-app"),Ih="__nuxt_plugin";function kh(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.5.0"},get vue(){return n.vueApp.version}},payload:Ue({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>Al(n,o),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Pl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;wr(n,i,s),wr(n.vueApp.config.globalProperties,i,s)},wr(n.vueApp,"$nuxt",n),wr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})});const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=Ue(n.payload.config);return n.provide("config",r),n}async function Oh(e,t){if(typeof t!="function")return;const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}async function Lh(e,t){var o;const n=[],r=[];for(const s of t){const i=Oh(e,s);(o=s.meta)!=null&&o.parallel?n.push(i.catch(a=>r.push(a))):await i}if(await Promise.all(n),r.length)throw r[0]}function $h(e){const t=[];for(const n of e){if(typeof n!="function")continue;let r=n;n.length>1&&(r=o=>n(o,o.provide)),t.push(r)}return t.sort((n,r)=>{var o,s;return(((o=n.meta)==null?void 0:o.order)||Wr.default)-(((s=r.meta)==null?void 0:s.order)||Wr.default)}),t}const Wr={pre:-20,default:0,post:20};function Ve(e,t){var r;if(typeof e=="function")return Ve({setup:e},t);const n=o=>{if(e.hooks&&o.hooks.addHooks(e.hooks),e.setup)return e.setup(o)};return n.meta={name:(t==null?void 0:t.name)||e.name||((r=e.setup)==null?void 0:r.name),parallel:e.parallel,order:(t==null?void 0:t.order)||e.order||Wr[e.enforce||"default"]||Wr.default},n[Ih]=!0,n}function Al(e,t,n){const r=()=>n?t(...n):t();return xl.set(e),e.vueApp.runWithContext(r)}function me(){const e=xl.tryUse();if(!e){const t=wt();if(!t)throw new Error("[nuxt] instance unavailable");return t.appContext.app.$nuxt}return e}function Ze(){return me().$config}function wr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Dh="modulepreload",Mh=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},ia={},Hh=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=Mh(s,r),s in ia)return;ia[s]=!0;const i=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===s&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Dh,i||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),i)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())},k=(...e)=>Hh(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Nh=-1,jh=-2,Fh=-3,Bh=-4,zh=-5,Uh=-6;function Vh(e,t){return Wh(JSON.parse(e),t)}function Wh(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===Nh)return;if(s===Fh)return NaN;if(s===Bh)return 1/0;if(s===zh)return-1/0;if(s===Uh)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[s]=l(o(a[1]));switch(c){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let g=1;g>>9)+65536).toString(16).substring(1,8).toLowerCase()}function rs(e){return Il(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Xh(e){let t=9;for(const n of e)for(let r=0;r>>9)+65536).toString(16).substring(1,8).toLowerCase()}function kl(e,t){const{props:n,tag:r}=e;if(Qh.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function aa(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Er(e,t=!1,n){const{tag:r,$el:o}=e;o&&(Object.entries(r.props).forEach(([s,i])=>{i=String(i);const a=`attr:${s}`;if(s==="class"){if(!i)return;for(const c of i.split(" ")){const l=`${a}:${c}`;n&&n(e,l,()=>o.classList.remove(c)),o.classList.contains(c)||o.classList.add(c)}return}n&&!s.startsWith("data-h-")&&n(e,a,()=>o.removeAttribute(s)),(t||o.getAttribute(s)!==i)&&o.setAttribute(s,i)}),Sl.includes(r.tag)&&(r.textContent&&r.textContent!==o.textContent?o.textContent=r.textContent:r.innerHTML&&r.innerHTML!==o.innerHTML&&(o.innerHTML=r.innerHTML)))}let kn=!1;async function Gh(e,t={}){var d,g;const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||e.resolvedOptions.document||window.document,o=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(kn=kn||e._hash||!1,kn)){const h=Xh(o.map(p=>p.tag._h));if(kn===h)return;kn=h}const s=e._popSideEffectQueue();e.headEntries().map(h=>h._sde).forEach(h=>{Object.entries(h).forEach(([p,w])=>{s[p]=w})});const i=(h,p,w)=>{p=`${h.renderId}:${p}`,h.entry&&(h.entry._sde[p]=w),delete s[p]};function a(h){const p=e.headEntries().find(_=>_._i===h._e),w={renderId:h._d||rs(h),$el:null,shouldRender:!0,tag:h,entry:p,markSideEffect:(_,m)=>i(w,_,m)};return w}const c=[],l={body:[],head:[]},u=h=>{e._elMap[h.renderId]=h.$el,c.push(h),i(h,"el",()=>{var p;(p=h.$el)==null||p.remove(),delete e._elMap[h.renderId]})};for(const h of o){if(await e.hooks.callHook("dom:beforeRenderTag",h),!h.shouldRender)continue;const{tag:p}=h;if(p.tag==="title"){r.title=p.textContent||"",c.push(h);continue}if(p.tag==="htmlAttrs"||p.tag==="bodyAttrs"){h.$el=r[p.tag==="htmlAttrs"?"documentElement":"body"],Er(h,!1,i),c.push(h);continue}if(h.$el=e._elMap[h.renderId],!h.$el&&p.key&&(h.$el=r.querySelector(`${(d=p.tagPosition)!=null&&d.startsWith("body")?"body":"head"} > ${p.tag}[data-h-${p._h}]`)),h.$el){h.tag._d&&Er(h),u(h);continue}l[(g=p.tagPosition)!=null&&g.startsWith("body")?"body":"head"].push(h)}const f={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(l).forEach(([h,p])=>{var _;if(!p.length)return;const w=(_=r==null?void 0:r[h])==null?void 0:_.children;if(w){for(const m of[...w].reverse()){const E=m.tagName.toLowerCase();if(!Rl.includes(E))continue;const v=m.getAttributeNames().reduce((P,M)=>({...P,[M]:m.getAttribute(M)}),{}),C={tag:E,props:v};m.innerHTML&&(C.innerHTML=m.innerHTML);const x=rs(C);let S=p.findIndex(P=>(P==null?void 0:P.renderId)===x);if(S===-1){const P=kl(C);S=p.findIndex(M=>(M==null?void 0:M.tag._d)&&M.tag._d===P)}if(S!==-1){const P=p[S];P.$el=m,Er(P),u(P),delete p[S]}}p.forEach(m=>{const E=m.tag.tagPosition||"head";f[E]=f[E]||r.createDocumentFragment(),m.$el||(m.$el=r.createElement(m.tag.tag),Er(m,!0)),f[E].appendChild(m.$el),u(m)})}}),f.head&&r.head.appendChild(f.head),f.bodyOpen&&r.body.insertBefore(f.bodyOpen,r.body.firstChild),f.bodyClose&&r.body.appendChild(f.bodyClose);for(const h of c)await e.hooks.callHook("dom:renderTag",h);Object.values(s).forEach(h=>h())}let Ro=null;async function Yh(e,t={}){function n(){return Ro=null,Gh(e,t)}const r=t.delayFn||(o=>setTimeout(o,10));return Ro=Ro||new Promise(o=>r(()=>o(n())))}function Zh(e){return{hooks:{"entries:updated":function(t){if(typeof(e==null?void 0:e.document)>"u"&&typeof window>"u")return;let n=e==null?void 0:e.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),Yh(t,{document:(e==null?void 0:e.document)||window.document,delayFn:n})}}}}function em(e){var t;return((t=e==null?void 0:e.head.querySelector('meta[name="unhead:ssr"]'))==null?void 0:t.getAttribute("content"))||!1}const ca={critical:2,high:9,low:12,base:-1,title:1,meta:10};function la(e){if(typeof e.tagPriority=="number")return e.tagPriority;if(e.tag==="meta"){if(e.props.charset)return-2;if(e.props["http-equiv"]==="content-security-policy")return 0}const t=e.tagPriority||e.tag;return t in ca?ca[t]:10}const tm=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function nm(){return{hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of tm)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>la(n)-la(r))}}}}function rm(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=aa(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=aa(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function om(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const sm=["link","style","script","noscript"];function im(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=rs(e)),e.key&&sm.includes(e.tag)&&(e._h=Il(e.key),e.props[`data-h-${e._h}`]="")}}}}const ua=["script","link","bodyAttrs"];function am(){const e=(t,n)=>{const r={},o={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?o[i]=a:r[i]=a});let s;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof o.onload<"u"&&(s=r.src,delete r.src),{props:r,eventHandlers:o,delayedSrc:s}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!ua.includes(n.tag)||!Object.entries(n.props).find(([r,o])=>r.startsWith("on")&&typeof o=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!ua.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([s,i])=>s.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:r,delayedSrc:o}=e("dom",t.tag);Object.keys(r).length&&(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=o)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([o,s])=>{const i=`${t.tag._d||t.tag._p}:${o}`,a=o.slice(2).toLowerCase(),c=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(c))return;const l=s;n.setAttribute(c,""),r.addEventListener(a,l),t.entry&&(t.entry._sde[i]=()=>{r.removeEventListener(a,l),n.removeAttribute(c)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const cm=["templateParams","htmlAttrs","bodyAttrs"];function lm(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=kl(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&cm.includes(r.tag)&&(a="merge"),a==="merge"){const c=s.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),t[o].props={...c,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Rl.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n}}}}function Tr(e,t){function n(s){if(["s","pageTitle"].includes(s))return t.pageTitle;let i;return s.includes(".")?i=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):i=t[s],typeof i<"u"?i||"":!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const i=n(s.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),`${i}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function um(){return{hooks:{"tags:resolve":e=>{var s;const{tags:t}=e,n=(s=t.find(i=>i.tag==="title"))==null?void 0:s.textContent,r=t.findIndex(i=>i.tag==="templateParams"),o=r!==-1?t[r].props:{};o.pageTitle=o.pageTitle||n||"";for(const i of t)if(["titleTemplate","title"].includes(i.tag)&&typeof i.textContent=="string")i.textContent=Tr(i.textContent,o);else if(i.tag==="meta"&&typeof i.props.content=="string")i.props.content=Tr(i.props.content,o);else if(i.tag==="link"&&typeof i.props.href=="string")i.props.href=Tr(i.props.href,o);else if(i.tag==="script"&&["application/json","application/ld+json"].includes(i.props.type)&&typeof i.innerHTML=="string")try{i.innerHTML=JSON.stringify(JSON.parse(i.innerHTML),(a,c)=>typeof c=="string"?Tr(c,o):c)}catch{}e.tags=t.filter(i=>i.tag!=="templateParams")}}}}const fm=typeof window<"u";let Ol;function dm(e){return Ol=e}function pm(){return Ol}async function hm(e,t){const n={tag:e,props:{}};return e==="templateParams"?(n.props=t,n):["title","titleTemplate"].includes(e)?(n.textContent=t instanceof Promise?await t:t,n):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?n.props.src=t:n.innerHTML=t,n):!1:(n.props=await gm(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(r=>Jh.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||Sl.includes(n.tag))&&(n[r]=n.props[r]),delete n.props[r]}),["innerHTML","textContent"].forEach(r=>{if(n.tag==="script"&&typeof n[r]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[r]=JSON.parse(n[r])}catch{n[r]=""}typeof n[r]=="object"&&(n[r]=JSON.stringify(n[r]))}),n.props.class&&(n.props.class=mm(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(r=>({...n,props:{...n.props,content:r}})):n)}function mm(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function gm(e,t){for(const n of Object.keys(t)){const r=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=r?"true":"":String(t[n])==="false"&&(r?t[n]="false":delete t[n])}return t}const _m=10;async function ym(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&qh.includes(n)).forEach(([n,r])=>{const o=Kh(r);t.push(...o.map(s=>hm(n,s)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,n._p=(e._i<<_m)+r,n))}function vm(){return[lm(),nm(),um(),rm(),im(),am(),om()]}function bm(e={}){return[Zh({document:e==null?void 0:e.document,delayFn:e==null?void 0:e.domDelayFn})]}function wm(e={}){const t=Em({...e,plugins:[...bm(e),...(e==null?void 0:e.plugins)||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=em(t.resolvedOptions.document)),dm(t),t}function Em(e={}){let t=[],n={},r=0;const o=Pl();e!=null&&e.hooks&&o.addHooks(e.hooks),e.plugins=[...vm(),...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(a=>a.hooks&&o.addHooks(a.hooks)),e.document=e.document||(fm?document:void 0);const s=()=>o.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return o},use(a){a.hooks&&o.addHooks(a.hooks)},push(a,c){const l={_i:r++,input:a,_sde:{}};return c!=null&&c.mode&&(l._m=c==null?void 0:c.mode),c!=null&&c.transform&&(l._t=c==null?void 0:c.transform),t.push(l),s(),{dispose(){t=t.filter(u=>u._i!==l._i?!0:(n={...n,...u._sde||{}},u._sde={},s(),!1))},patch(u){t=t.map(f=>(f._i===l._i&&(l.input=f.input=u,s()),f))}}},async resolveTags(){const a={tags:[],entries:[...t]};await o.callHook("entries:resolve",a);for(const c of a.entries){const l=c._t||(u=>u);if(c.resolvedInput=l(c.resolvedInput||c.input),c.resolvedInput)for(const u of await ym(c)){const f={tag:u,entry:c,resolvedOptions:i.resolvedOptions};await o.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await o.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function Tm(e){return typeof e=="function"?e():$(e)}function Kr(e,t=""){if(e instanceof Promise)return e;const n=Tm(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Kr(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,$(o)]:[r,Kr(o,r)])):n}const Cm=ll.startsWith("3"),Pm=typeof window<"u",Ll="usehead";function Js(){return wt()&&Fe(Ll)||pm()}function xm(e){return{install(n){Cm&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ll,e))}}.install}function Am(e={}){const t=wm({...e,domDelayFn:n=>setTimeout(()=>Xt(()=>n()),10),plugins:[Sm(),...(e==null?void 0:e.plugins)||[]]});return t.install=xm(t),t}function Sm(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Kr(t.input)}}}}function Rm(e,t={}){const n=Js(),r=be(!1),o=be({});id(()=>{o.value=r.value?{}:Kr(e)});const s=n.push(o.value,t);return Ie(o,a=>{s.patch(a)}),wt()&&(xn(()=>{s.dispose()}),Bc(()=>{r.value=!0}),Fc(()=>{r.value=!1})),s}function Im(e,t={}){return Js().push(e,t)}function qr(e,t={}){var r;const n=Js();if(n){const o=Pm||!!((r=n.resolvedOptions)!=null&&r.document);return t.mode==="server"&&o||t.mode==="client"&&!o?void 0:o?Rm(e,t):Im(e,t)}}const km={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[],htmlAttrs:{lang:"en"}},lE=!1,os=!1,Om=!1,Lm="__nuxt",$m=!0;function fa(e,t={}){const n=Dm(e,t),r=me(),o=r._payloadCache=r._payloadCache||{};return o[n]||(o[n]=$l(n).then(s=>s||(delete o[n],null))),o[n]}const da="json";function Dm(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Gt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return An(Ze().app.baseURL,n.pathname,r?`_payload.${r}.${da}`:`_payload.${da}`)}async function $l(e){try{return $m?Dl(await fetch(e).then(t=>t.text())):await k(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function Mm(){return!!me().payload.prerenderedAt}let Cr=null;async function Hm(){if(Cr)return Cr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Dl(e.textContent||""),n=e.dataset.src?await $l(e.dataset.src):void 0;return Cr={...t,...n,...window.__NUXT__},Cr}function Dl(e){return Vh(e,me()._payloadRevivers)}function Nm(e,t){me()._payloadRevivers[e]=t}const Pr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function jm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||zm;let s=0;for(;st.reduce((n,r)=>ss(n,r,"",e),{})}const Sr=Ml(),Vm=Ml((e,t,n)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0});class is extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:cs(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Hl(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}is.__h3_error__=!0;function as(e){if(typeof e=="string")return new is(e);if(Wm(e))return e;const t=new is(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=cs(e.statusCode,t.statusCode):e.status&&(t.statusCode=cs(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Hl(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Wm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Km=/[^\u0009\u0020-\u007E]/g;function Hl(e=""){return e.replace(Km,"")}function cs(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}function ut(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o="$s"+n,s=me(),i=xc(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(Ae(a))return s.payload.state[o]=a,a;i.value=a}return i}const Et=()=>{var e;return(e=me())==null?void 0:e.$router},dt=()=>Od()?Fe("_route",me()._route):me()._route,qm=e=>e,Qm=(e,t,n={})=>{const r=me(),o=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(s):r._middleware.named[e]=s},Jm=()=>{try{if(me()._processingMiddleware)return!0}catch{return!0}return!1},Nl=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=(t==null?void 0:t.external)||Gt(n,{acceptRelative:!0});if(r&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(r&&lr(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const o=Jm();if(!r&&o)return e;const s=Et();return r?(t!=null&&t.replace?location.replace(n):location.href=n,Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},uo=()=>xc(me().payload,"error"),on=e=>{const t=Xs(e);try{const n=me(),r=uo();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Xm=async(e={})=>{const t=me(),n=uo();t.callHook("app:error:cleared",e),e.redirect&&await Et().replace(e.redirect),n.value=null},Gm=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Xs=e=>{const t=as(e);return t.__nuxt_error=!0,t},ha={NuxtError:e=>Xs(e),EmptyShallowRef:e=>Xn(e==="_"?void 0:JSON.parse(e)),EmptyRef:e=>be(e==="_"?void 0:JSON.parse(e)),ShallowRef:e=>Xn(e),ShallowReactive:e=>yc(e),Ref:e=>be(e),Reactive:e=>Ue(e)},Ym=Ve({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in ha)Nm(r,ha[r]);Object.assign(e.payload,([t,n]=Vr(()=>e.runWithContext(Hm)),t=await t,n(),t)),window.__NUXT__=e.payload}},1),Zm=D(()=>k(()=>Promise.resolve().then(()=>dw),void 0,import.meta.url).then(e=>e.default)),eg=D(()=>k(()=>Promise.resolve().then(()=>Xw),void 0,import.meta.url).then(e=>e.default)),tg=D(()=>k(()=>Promise.resolve().then(()=>zw),void 0,import.meta.url).then(e=>e.default)),ng=D(()=>k(()=>Promise.resolve().then(()=>iw),void 0,import.meta.url).then(e=>e.default)),rg=D(()=>k(()=>Promise.resolve().then(()=>yw),void 0,import.meta.url).then(e=>e.default)),og=D(()=>k(()=>Promise.resolve().then(()=>ww),void 0,import.meta.url).then(e=>e.default)),sg=D(()=>k(()=>Promise.resolve().then(()=>eE),void 0,import.meta.url).then(e=>e.default)),ig=D(()=>k(()=>Promise.resolve().then(()=>j0),void 0,import.meta.url).then(e=>e.default)),ag=D(()=>k(()=>Promise.resolve().then(()=>Aw),void 0,import.meta.url).then(e=>e.default)),cg=D(()=>k(()=>Promise.resolve().then(()=>Jb),void 0,import.meta.url).then(e=>e.default)),lg=D(()=>k(()=>import("./DocumentDrivenNotFound.c186b31a.js"),["./DocumentDrivenNotFound.c186b31a.js","./ButtonLink.6797971c.js","./ContentSlot.77b558c1.js","./ButtonLink.74c3aea5.css","./DocumentDrivenNotFound.b9a06f3f.css"],import.meta.url).then(e=>e.default)),ug=D(()=>k(()=>import("./Ellipsis.7579942a.js"),["./Ellipsis.7579942a.js","./Ellipsis.8dde0a34.css"],import.meta.url).then(e=>e.default)),fg=D(()=>k(()=>Promise.resolve().then(()=>$w),void 0,import.meta.url).then(e=>e.default)),dg=D(()=>k(()=>import("./DocsAside.a0678493.js"),["./DocsAside.a0678493.js","./DocsAside.93fb97b1.css"],import.meta.url).then(e=>e.default)),pg=D(()=>k(()=>Promise.resolve().then(()=>tw),void 0,import.meta.url).then(e=>e.default)),hg=D(()=>k(()=>import("./DocsPageBottom.e8627347.js"),["./DocsPageBottom.e8627347.js","./ProseA.ca1f4c92.js","./ProseA.baee409d.css","./EditOnLink.vue.7088074c.js","./DocsPageBottom.ed3d15ba.css"],import.meta.url).then(e=>e.default)),mg=D(()=>k(()=>import("./DocsPageLayout.26ebcdc9.js"),["./DocsPageLayout.26ebcdc9.js","./DocsAside.a0678493.js","./DocsAside.93fb97b1.css","./ProseCodeInline.88572d5e.js","./ProseCodeInline.873c7ac7.css","./Alert.c0cc7db1.js","./ContentSlot.77b558c1.js","./Alert.dcca94b5.css","./DocsPageBottom.e8627347.js","./ProseA.ca1f4c92.js","./ProseA.baee409d.css","./EditOnLink.vue.7088074c.js","./DocsPageBottom.ed3d15ba.css","./DocsPrevNext.256c0770.js","./DocsPrevNext.993701ce.css","./DocsToc.a188057b.js","./DocsTocLinks.8f3792f3.js","./DocsTocLinks.f2cb44fe.css","./DocsToc.54ec0b10.css","./DocsPageLayout.613dfac8.css"],import.meta.url).then(e=>e.default)),gg=D(()=>k(()=>import("./DocsPrevNext.256c0770.js"),["./DocsPrevNext.256c0770.js","./DocsPrevNext.993701ce.css"],import.meta.url).then(e=>e.default)),_g=D(()=>k(()=>import("./DocsToc.a188057b.js"),["./DocsToc.a188057b.js","./DocsTocLinks.8f3792f3.js","./DocsTocLinks.f2cb44fe.css","./DocsToc.54ec0b10.css"],import.meta.url).then(e=>e.default)),yg=D(()=>k(()=>import("./DocsTocLinks.8f3792f3.js"),["./DocsTocLinks.8f3792f3.js","./DocsTocLinks.f2cb44fe.css"],import.meta.url).then(e=>e.default)),vg=D(()=>k(()=>import("./EditOnLink.212dde24.js"),["./EditOnLink.212dde24.js","./EditOnLink.vue.7088074c.js"],import.meta.url).then(e=>e.default)),bg=D(()=>k(()=>import("./SourceLink.ae455d93.js"),["./SourceLink.ae455d93.js","./ProseP.5f057a9e.js","./ProseP.b99f89cd.css"],import.meta.url).then(e=>e.default)),wg=D(()=>k(()=>import("./ProseA.ca1f4c92.js"),["./ProseA.ca1f4c92.js","./ProseA.baee409d.css"],import.meta.url).then(e=>e.default)),Eg=D(()=>k(()=>import("./ProseBlockquote.e4bbe079.js"),["./ProseBlockquote.e4bbe079.js","./ProseBlockquote.0eef9772.css"],import.meta.url).then(e=>e.default)),Tg=D(()=>k(()=>import("./ProseCode.d9498d20.js"),["./ProseCode.d9498d20.js","./index.8e6a446a.js","./ProseCode.07e596a7.css"],import.meta.url).then(e=>e.default)),Cg=D(()=>k(()=>import("./ProseCodeInline.88572d5e.js"),["./ProseCodeInline.88572d5e.js","./ProseCodeInline.873c7ac7.css"],import.meta.url).then(e=>e.default)),Pg=D(()=>k(()=>import("./ProseEm.69eea3ce.js"),["./ProseEm.69eea3ce.js","./ProseEm.35a26f4d.css"],import.meta.url).then(e=>e.default)),xg=D(()=>k(()=>import("./ProseH1.fca92df8.js"),["./ProseH1.fca92df8.js","./ProseH1.48e3ee79.css"],import.meta.url).then(e=>e.default)),Ag=D(()=>k(()=>import("./ProseH2.d485fff4.js"),["./ProseH2.d485fff4.js","./ProseH2.cc4fedda.css"],import.meta.url).then(e=>e.default)),Sg=D(()=>k(()=>import("./ProseH3.7d7afd26.js"),["./ProseH3.7d7afd26.js","./ProseH3.60b6f0cb.css"],import.meta.url).then(e=>e.default)),Rg=D(()=>k(()=>import("./ProseH4.9de664b0.js"),["./ProseH4.9de664b0.js","./ProseH4.b0dd3c9c.css"],import.meta.url).then(e=>e.default)),Ig=D(()=>k(()=>import("./ProseH5.7b359007.js"),["./ProseH5.7b359007.js","./ProseH5.f1047c93.css"],import.meta.url).then(e=>e.default)),kg=D(()=>k(()=>import("./ProseH6.db61bb9d.js"),["./ProseH6.db61bb9d.js","./ProseH6.d217464f.css"],import.meta.url).then(e=>e.default)),Og=D(()=>k(()=>import("./ProseHr.689d9f61.js"),["./ProseHr.689d9f61.js","./ProseHr.51db3351.css"],import.meta.url).then(e=>e.default)),Lg=D(()=>k(()=>import("./ProseImg.89fc2fda.js"),["./ProseImg.89fc2fda.js","./ProseImg.eeea4224.css"],import.meta.url).then(e=>e.default)),$g=D(()=>k(()=>import("./ProseLi.d7a38b79.js"),["./ProseLi.d7a38b79.js","./ProseLi.a0b5f8a8.css"],import.meta.url).then(e=>e.default)),Dg=D(()=>k(()=>import("./ProseOl.1b4506ee.js"),["./ProseOl.1b4506ee.js","./ProseOl.c1244fbe.css"],import.meta.url).then(e=>e.default)),Mg=D(()=>k(()=>import("./ProseP.5f057a9e.js"),["./ProseP.5f057a9e.js","./ProseP.b99f89cd.css"],import.meta.url).then(e=>e.default)),Hg=D(()=>k(()=>import("./ProseStrong.2a943fe2.js"),["./ProseStrong.2a943fe2.js","./ProseStrong.b01d4b3b.css"],import.meta.url).then(e=>e.default)),Ng=D(()=>k(()=>import("./ProseTable.0dd08eb9.js"),["./ProseTable.0dd08eb9.js","./ProseTable.d34ed667.css"],import.meta.url).then(e=>e.default)),jg=D(()=>k(()=>import("./ProseTbody.2bf4a4e4.js"),[],import.meta.url).then(e=>e.default)),Fg=D(()=>k(()=>import("./ProseTd.4fce2921.js"),["./ProseTd.4fce2921.js","./ProseTd.30dfa955.css"],import.meta.url).then(e=>e.default)),Bg=D(()=>k(()=>import("./ProseTh.19e35f2f.js"),["./ProseTh.19e35f2f.js","./ProseTh.b9477385.css"],import.meta.url).then(e=>e.default)),zg=D(()=>k(()=>import("./ProseThead.1503cc04.js"),["./ProseThead.1503cc04.js","./ProseThead.01a5506b.css"],import.meta.url).then(e=>e.default)),Ug=D(()=>k(()=>import("./ProseTr.56b84ee2.js"),["./ProseTr.56b84ee2.js","./ProseTr.a14ca635.css"],import.meta.url).then(e=>e.default)),Vg=D(()=>k(()=>import("./ProseUl.9dd56fba.js"),["./ProseUl.9dd56fba.js","./ProseUl.a02dec6f.css"],import.meta.url).then(e=>e.default)),Wg=D(()=>k(()=>import("./Alert.c0cc7db1.js"),["./Alert.c0cc7db1.js","./ContentSlot.77b558c1.js","./Alert.dcca94b5.css"],import.meta.url).then(e=>e.default)),Kg=D(()=>k(()=>import("./Badge.0895b806.js"),["./Badge.0895b806.js","./ContentSlot.77b558c1.js","./Badge.8408a4a3.css"],import.meta.url).then(e=>e.default)),qg=D(()=>k(()=>import("./ButtonLink.6797971c.js"),["./ButtonLink.6797971c.js","./ContentSlot.77b558c1.js","./ButtonLink.74c3aea5.css"],import.meta.url).then(e=>e.default)),Qg=D(()=>k(()=>import("./Callout.4df0c339.js"),["./Callout.4df0c339.js","./ContentSlot.77b558c1.js","./Callout.f4810d25.css"],import.meta.url).then(e=>e.default)),Jg=D(()=>k(()=>import("./CodeBlock.e7a0dbd1.js"),["./CodeBlock.e7a0dbd1.js","./CodeBlock.f192b7ea.css"],import.meta.url).then(e=>e.default)),Xg=D(()=>k(()=>import("./CodeGroup.644929bd.js"),["./CodeGroup.644929bd.js","./TabsHeader.a59f3bef.js","./TabsHeader.f1dd239e.css","./CodeGroup.890662e9.css"],import.meta.url).then(e=>e.default)),Gg=D(()=>k(()=>Promise.resolve().then(()=>Mw),void 0,import.meta.url).then(e=>e.default)),Yg=D(()=>k(()=>import("./CopyButton.8ef62a15.js"),["./CopyButton.8ef62a15.js","./index.8e6a446a.js"],import.meta.url).then(e=>e.default)),Zg=D(()=>k(()=>import("./List.2d156f73.js"),["./List.2d156f73.js","./ContentSlot.77b558c1.js","./List.06ab62c2.css"],import.meta.url).then(e=>e.default)),e_=D(()=>k(()=>import("./NuxtImg.8bbf27a7.js"),["./NuxtImg.8bbf27a7.js","./NuxtImg.vue.2824c321.js"],import.meta.url).then(e=>e.default)),t_=D(()=>k(()=>import("./Props.6925c5e2.js"),["./Props.6925c5e2.js","./ProseTh.19e35f2f.js","./ProseTh.b9477385.css","./ProseTr.56b84ee2.js","./ProseTr.a14ca635.css","./ProseThead.1503cc04.js","./ProseThead.01a5506b.css","./ProseCodeInline.88572d5e.js","./ProseCodeInline.873c7ac7.css","./ProseTd.4fce2921.js","./ProseTd.30dfa955.css","./ProseTbody.2bf4a4e4.js","./ProseTable.0dd08eb9.js","./ProseTable.d34ed667.css","./asyncData.fd6c0ee7.js"],import.meta.url).then(e=>e.default)),n_=D(()=>k(()=>import("./Sandbox.2df054bd.js"),["./Sandbox.2df054bd.js","./TabsHeader.a59f3bef.js","./TabsHeader.f1dd239e.css","./Sandbox.452b6404.css"],import.meta.url).then(e=>e.default)),r_=D(()=>k(()=>import("./TabsHeader.a59f3bef.js"),["./TabsHeader.a59f3bef.js","./TabsHeader.f1dd239e.css"],import.meta.url).then(e=>e.default)),o_=D(()=>k(()=>import("./Terminal.91cd41a8.js"),["./Terminal.91cd41a8.js","./index.8e6a446a.js","./Terminal.2f29184f.css"],import.meta.url).then(e=>e.default)),s_=D(()=>k(()=>import("./VideoPlayer.46820105.js"),["./VideoPlayer.46820105.js","./NuxtImg.vue.2824c321.js","./VideoPlayer.f1611332.css"],import.meta.url).then(e=>e.default)),i_=D(()=>k(()=>import("./IconCodeSandBox.cf9eca88.js"),[],import.meta.url).then(e=>e.default)),a_=D(()=>k(()=>import("./IconDocus.fb83b1bb.js"),[],import.meta.url).then(e=>e.default)),c_=D(()=>k(()=>import("./IconNuxt.9eee3bc5.js"),[],import.meta.url).then(e=>e.default)),l_=D(()=>k(()=>import("./IconNuxtContent.f4ee47bb.js"),[],import.meta.url).then(e=>e.default)),u_=D(()=>k(()=>import("./IconNuxtLabs.7497cc0e.js"),[],import.meta.url).then(e=>e.default)),f_=D(()=>k(()=>import("./IconNuxtStudio.410f773f.js"),["./IconNuxtStudio.410f773f.js","./IconNuxtStudio.18603c63.css"],import.meta.url).then(e=>e.default)),d_=D(()=>k(()=>import("./IconStackBlitz.5066853f.js"),[],import.meta.url).then(e=>e.default)),p_=D(()=>k(()=>import("./IconVueTelescope.5bd58166.js"),[],import.meta.url).then(e=>e.default)),h_=D(()=>k(()=>import("./BlockHero.4cebaf63.js"),["./BlockHero.4cebaf63.js","./ContentSlot.77b558c1.js","./ButtonLink.6797971c.js","./ButtonLink.74c3aea5.css","./Terminal.91cd41a8.js","./index.8e6a446a.js","./Terminal.2f29184f.css","./VideoPlayer.46820105.js","./NuxtImg.vue.2824c321.js","./VideoPlayer.f1611332.css","./BlockHero.159952b0.css"],import.meta.url).then(e=>e.default)),m_=D(()=>k(()=>import("./Card.9025e892.js"),["./Card.9025e892.js","./ContentSlot.77b558c1.js","./Card.6d4d1e95.css"],import.meta.url).then(e=>e.default)),g_=D(()=>k(()=>import("./CardGrid.d685da17.js"),["./CardGrid.d685da17.js","./ContentSlot.77b558c1.js","./CardGrid.0dc99038.css"],import.meta.url).then(e=>e.default)),__=D(()=>k(()=>import("./VoltaBoard.9709f00f.js"),["./VoltaBoard.9709f00f.js","./VoltaBoard.a5d6b336.css"],import.meta.url).then(e=>e.default)),y_=D(()=>k(()=>import("./ComponentPlayground.b267e636.js"),["./ComponentPlayground.b267e636.js","./asyncData.fd6c0ee7.js","./ComponentPlaygroundData.e2407409.js","./TabsHeader.a59f3bef.js","./TabsHeader.f1dd239e.css","./ComponentPlaygroundProps.18200ddb.js","./ProseH4.9de664b0.js","./ProseH4.b0dd3c9c.css","./ProseCodeInline.88572d5e.js","./ProseCodeInline.873c7ac7.css","./Badge.0895b806.js","./ContentSlot.77b558c1.js","./Badge.8408a4a3.css","./ProseP.5f057a9e.js","./ProseP.b99f89cd.css","./index.8e6a446a.js","./ComponentPlaygroundProps.68721060.css","./ComponentPlaygroundSlots.vue.05411867.js","./ComponentPlaygroundTokens.vue.ff8b8838.js","./ComponentPlaygroundData.b6ce71d5.css","./ComponentPlayground.a4479924.css"],import.meta.url).then(e=>e.default)),v_=D(()=>k(()=>import("./ComponentPlaygroundData.e2407409.js"),["./ComponentPlaygroundData.e2407409.js","./TabsHeader.a59f3bef.js","./TabsHeader.f1dd239e.css","./ComponentPlaygroundProps.18200ddb.js","./ProseH4.9de664b0.js","./ProseH4.b0dd3c9c.css","./ProseCodeInline.88572d5e.js","./ProseCodeInline.873c7ac7.css","./Badge.0895b806.js","./ContentSlot.77b558c1.js","./Badge.8408a4a3.css","./ProseP.5f057a9e.js","./ProseP.b99f89cd.css","./index.8e6a446a.js","./ComponentPlaygroundProps.68721060.css","./ComponentPlaygroundSlots.vue.05411867.js","./ComponentPlaygroundTokens.vue.ff8b8838.js","./ComponentPlaygroundData.b6ce71d5.css"],import.meta.url).then(e=>e.default)),b_=D(()=>k(()=>import("./ComponentPlaygroundProps.18200ddb.js"),["./ComponentPlaygroundProps.18200ddb.js","./ProseH4.9de664b0.js","./ProseH4.b0dd3c9c.css","./ProseCodeInline.88572d5e.js","./ProseCodeInline.873c7ac7.css","./Badge.0895b806.js","./ContentSlot.77b558c1.js","./Badge.8408a4a3.css","./ProseP.5f057a9e.js","./ProseP.b99f89cd.css","./index.8e6a446a.js","./ComponentPlaygroundProps.68721060.css"],import.meta.url).then(e=>e.default)),w_=D(()=>k(()=>import("./ComponentPlaygroundSlots.4a5eca36.js"),["./ComponentPlaygroundSlots.4a5eca36.js","./ComponentPlaygroundSlots.vue.05411867.js"],import.meta.url).then(e=>e.default)),E_=D(()=>k(()=>import("./ComponentPlaygroundTokens.7905a1ee.js"),["./ComponentPlaygroundTokens.7905a1ee.js","./ComponentPlaygroundTokens.vue.ff8b8838.js"],import.meta.url).then(e=>e.default)),T_=D(()=>k(()=>import("./PreviewLayout.0e16bb8d.js"),["./PreviewLayout.0e16bb8d.js","./PreviewLayout.d562786d.css"],import.meta.url).then(e=>e.default)),C_=D(()=>k(()=>import("./TokensPlayground.ce0fb78c.js"),[],import.meta.url).then(e=>e.default)),P_=D(()=>k(()=>import("./ContentDoc.a7917ddc.js"),["./ContentDoc.a7917ddc.js","./ContentRenderer.7edfd656.js","./ContentRendererMarkdown.32fe2ab3.js","./ContentQuery.702e6367.js","./asyncData.fd6c0ee7.js"],import.meta.url).then(e=>e.default)),x_=D(()=>k(()=>import("./ContentList.780db657.js"),["./ContentList.780db657.js","./ContentQuery.702e6367.js","./asyncData.fd6c0ee7.js"],import.meta.url).then(e=>e.default)),A_=D(()=>k(()=>import("./ContentNavigation.4c3fc258.js"),["./ContentNavigation.4c3fc258.js","./asyncData.fd6c0ee7.js"],import.meta.url).then(e=>e.default)),S_=D(()=>k(()=>import("./ContentQuery.702e6367.js"),["./ContentQuery.702e6367.js","./asyncData.fd6c0ee7.js"],import.meta.url).then(e=>e.default)),R_=D(()=>k(()=>import("./ContentRenderer.7edfd656.js"),["./ContentRenderer.7edfd656.js","./ContentRendererMarkdown.32fe2ab3.js"],import.meta.url).then(e=>e.default)),I_=D(()=>k(()=>import("./ContentRendererMarkdown.32fe2ab3.js"),[],import.meta.url).then(e=>e.default)),k_=D(()=>k(()=>import("./ContentSlot.77b558c1.js"),[],import.meta.url).then(e=>e.default)),O_=D(()=>k(()=>import("./DocumentDrivenEmpty.f6bb8a10.js"),[],import.meta.url).then(e=>e.default)),L_=D(()=>k(()=>import("./Markdown.3c2726e6.js"),["./Markdown.3c2726e6.js","./ContentSlot.77b558c1.js"],import.meta.url).then(e=>e.default)),$_=D(()=>k(()=>Promise.resolve().then(()=>qb),void 0,import.meta.url).then(e=>e.default)),D_=D(()=>k(()=>import("./IconCSS.8156f488.js"),["./IconCSS.8156f488.js","./IconCSS.8da48618.css"],import.meta.url).then(e=>e.default)),M_=[["Logo",Zm],["AppFooter",eg],["AppHeader",tg],["AppHeaderDialog",ng],["AppHeaderLogo",rg],["AppHeaderNavigation",og],["AppLayout",sg],["AppLoadingBar",ig],["AppSearch",ag],["AppSocialIcons",cg],["DocumentDrivenNotFound",lg],["Ellipsis",ug],["ThemeSelect",fg],["DocsAside",dg],["DocsAsideTree",pg],["DocsPageBottom",hg],["DocsPageLayout",mg],["DocsPrevNext",gg],["DocsToc",_g],["DocsTocLinks",yg],["EditOnLink",vg],["SourceLink",bg],["ProseA",wg],["ProseBlockquote",Eg],["ProseCode",Tg],["ProseCodeInline",Cg],["ProseEm",Pg],["ProseH1",xg],["ProseH2",Ag],["ProseH3",Sg],["ProseH4",Rg],["ProseH5",Ig],["ProseH6",kg],["ProseHr",Og],["ProseImg",Lg],["ProseLi",$g],["ProseOl",Dg],["ProseP",Mg],["ProseStrong",Hg],["ProseTable",Ng],["ProseTbody",jg],["ProseTd",Fg],["ProseTh",Bg],["ProseThead",zg],["ProseTr",Ug],["ProseUl",Vg],["Alert",Wg],["Badge",Kg],["ButtonLink",qg],["Callout",Qg],["CodeBlock",Jg],["CodeGroup",Xg],["Container",Gg],["CopyButton",Yg],["List",Zg],["NuxtImg",e_],["Props",t_],["Sandbox",n_],["TabsHeader",r_],["Terminal",o_],["VideoPlayer",s_],["IconCodeSandBox",i_],["IconDocus",a_],["IconNuxt",c_],["IconNuxtContent",l_],["IconNuxtLabs",u_],["IconNuxtStudio",f_],["IconStackBlitz",d_],["IconVueTelescope",p_],["BlockHero",h_],["Card",m_],["CardGrid",g_],["VoltaBoard",__],["ComponentPlayground",y_],["ComponentPlaygroundData",v_],["ComponentPlaygroundProps",b_],["ComponentPlaygroundSlots",w_],["ComponentPlaygroundTokens",E_],["PreviewLayout",T_],["TokensPlayground",C_],["ContentDoc",P_],["ContentList",x_],["ContentNavigation",A_],["ContentQuery",S_],["ContentRenderer",R_],["ContentRendererMarkdown",I_],["ContentSlot",k_],["DocumentDrivenEmpty",O_],["Markdown",L_],["Icon",$_],["IconCSS",D_]],H_=Ve({name:"nuxt:global-components",setup(e){for(const[t,n]of M_)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),N_=Ve({name:"nuxt:head",setup(e){const n=Am();n.push(km),e.vueApp.use(n);{let r=!0;const o=()=>{r=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",o),e.hooks.hook("app:suspense:resolve",o)}}});/*! +function Ts(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const ye={},sn=[],rt=()=>{},Ku=()=>!1,qu=/^on[^a-z]/,sr=e=>qu.test(e),Cs=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qu=Object.prototype.hasOwnProperty,se=(e,t)=>Qu.call(e,t),Z=Array.isArray,an=e=>ir(e)==="[object Map]",nc=e=>ir(e)==="[object Set]",Ju=e=>ir(e)==="[object RegExp]",ee=e=>typeof e=="function",ve=e=>typeof e=="string",xs=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",As=e=>_e(e)&&ee(e.then)&&ee(e.catch),rc=Object.prototype.toString,ir=e=>rc.call(e),Xu=e=>ir(e).slice(8,-1),oc=e=>ir(e)==="[object Object]",Ss=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nn=Ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Gu=/-(\w)/g,ft=Zr(e=>e.replace(Gu,(t,n)=>n?n.toUpperCase():"")),Yu=/\B([A-Z])/g,bn=Zr(e=>e.replace(Yu,"-$1").toLowerCase()),eo=Zr(e=>e.charAt(0).toUpperCase()+e.slice(1)),_o=Zr(e=>e?`on${eo(e)}`:""),Qn=(e,t)=>!Object.is(e,t),jn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Zu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},sc=e=>{const t=ve(e)?Number(e):NaN;return isNaN(t)?e:t};let yi;const Ho=()=>yi||(yi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wn(e){if(Z(e)){const t={};for(let n=0;n{if(n){const r=n.split(tf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function je(e){let t="";if(ve(e))t=e;else if(Z(e))for(let n=0;nve(e)?e:e==null?"":Z(e)||_e(e)&&(e.toString===rc||!ee(e.toString))?JSON.stringify(e,ac,2):String(e),ac=(e,t)=>t&&t.__v_isRef?ac(e,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:nc(t)?{[`Set(${t.size})`]:[...t.values()]}:_e(t)&&!Z(t)&&!oc(t)?String(t):t;let Ke;class af{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){Ke=this}off(){Ke=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},cc=e=>(e.w&Lt)>0,lc=e=>(e.n&Lt)>0,uf=({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{(u==="length"||u>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":Z(e)?Ss(n)&&a.push(i.get("length")):(a.push(i.get(Vt)),an(e)&&a.push(i.get(jo)));break;case"delete":Z(e)||(a.push(i.get(Vt)),an(e)&&a.push(i.get(jo)));break;case"set":an(e)&&a.push(i.get(Vt));break}if(a.length===1)a[0]&&Fo(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);Fo(Is(c))}}function Fo(e,t){const n=Z(e)?e:[...e];for(const r of n)r.computed&&bi(r);for(const r of n)r.computed||bi(r)}function bi(e,t){(e!==tt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function df(e,t){var n;return(n=Dr.get(e))==null?void 0:n.get(t)}const pf=Ts("__proto__,__v_isRef,__isVue"),dc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xs)),hf=Os(),mf=Os(!1,!0),gf=Os(!0),wi=_f();function _f(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ie(this);for(let s=0,i=this.length;s{e[t]=function(...n){En();const r=ie(this)[t].apply(this,n);return Tn(),r}}),e}function yf(e){const t=ie(this);return ze(t,"has",e),t.hasOwnProperty(e)}function Os(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?$f:_c:t?gc:mc).get(r))return r;const i=Z(r);if(!e){if(i&&se(wi,o))return Reflect.get(wi,o,s);if(o==="hasOwnProperty")return yf}const a=Reflect.get(r,o,s);return(xs(o)?dc.has(o):pf(o))||(e||ze(r,"get",o),t)?a:Ae(a)?i&&Ss(o)?a:a.value:_e(a)?e?vc(a):Ue(a):a}}const vf=pc(),bf=pc(!0);function pc(e=!1){return function(n,r,o,s){let i=n[r];if(qt(i)&&Ae(i)&&!Ae(o))return!1;if(!e&&(!Mr(o)&&!qt(o)&&(i=ie(i),o=ie(o)),!Z(n)&&Ae(i)&&!Ae(o)))return i.value=o,!0;const a=Z(n)&&Ss(r)?Number(r)e,to=e=>Reflect.getPrototypeOf(e);function dr(e,t,n=!1,r=!1){e=e.__v_raw;const o=ie(e),s=ie(t);n||(t!==s&&ze(o,"get",t),ze(o,"get",s));const{has:i}=to(o),a=r?Ls:n?Ms:Jn;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function pr(e,t=!1){const n=this.__v_raw,r=ie(n),o=ie(e);return t||(e!==o&&ze(r,"has",e),ze(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function hr(e,t=!1){return e=e.__v_raw,!t&&ze(ie(e),"iterate",Vt),Reflect.get(e,"size",e)}function Ei(e){e=ie(e);const t=ie(this);return to(t).has.call(t,e)||(t.add(e),yt(t,"add",e,e)),this}function Ti(e,t){t=ie(t);const n=ie(this),{has:r,get:o}=to(n);let s=r.call(n,e);s||(e=ie(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?Qn(t,i)&&yt(n,"set",e,t):yt(n,"add",e,t),this}function Ci(e){const t=ie(this),{has:n,get:r}=to(t);let o=n.call(t,e);o||(e=ie(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&yt(t,"delete",e,void 0),s}function Pi(){const e=ie(this),t=e.size!==0,n=e.clear();return t&&yt(e,"clear",void 0,void 0),n}function mr(e,t){return function(r,o){const s=this,i=s.__v_raw,a=ie(i),c=t?Ls:e?Ms:Jn;return!e&&ze(a,"iterate",Vt),i.forEach((l,u)=>r.call(o,c(l),c(u),s))}}function gr(e,t,n){return function(...r){const o=this.__v_raw,s=ie(o),i=an(s),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=o[e](...r),u=n?Ls:t?Ms:Jn;return!t&&ze(s,"iterate",c?jo:Vt),{next(){const{value:f,done:d}=l.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Ct(e){return function(...t){return e==="delete"?!1:this}}function xf(){const e={get(s){return dr(this,s)},get size(){return hr(this)},has:pr,add:Ei,set:Ti,delete:Ci,clear:Pi,forEach:mr(!1,!1)},t={get(s){return dr(this,s,!1,!0)},get size(){return hr(this)},has:pr,add:Ei,set:Ti,delete:Ci,clear:Pi,forEach:mr(!1,!0)},n={get(s){return dr(this,s,!0)},get size(){return hr(this,!0)},has(s){return pr.call(this,s,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:mr(!0,!1)},r={get(s){return dr(this,s,!0,!0)},get size(){return hr(this,!0)},has(s){return pr.call(this,s,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:mr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=gr(s,!1,!1),n[s]=gr(s,!0,!1),t[s]=gr(s,!1,!0),r[s]=gr(s,!0,!0)}),[e,n,t,r]}const[Af,Sf,Rf,If]=xf();function $s(e,t){const n=t?e?If:Rf:e?Sf:Af;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(se(n,o)&&o in r?n:r,o,s)}const kf={get:$s(!1,!1)},Of={get:$s(!1,!0)},Lf={get:$s(!0,!1)},mc=new WeakMap,gc=new WeakMap,_c=new WeakMap,$f=new WeakMap;function Df(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Mf(e){return e.__v_skip||!Object.isExtensible(e)?0:Df(Xu(e))}function Ue(e){return qt(e)?e:Ds(e,!1,hc,kf,mc)}function yc(e){return Ds(e,!1,Pf,Of,gc)}function vc(e){return Ds(e,!0,Cf,Lf,_c)}function Ds(e,t,n,r,o){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Mf(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function cn(e){return qt(e)?cn(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function Mr(e){return!!(e&&e.__v_isShallow)}function bc(e){return cn(e)||qt(e)}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function wc(e){return $r(e,"__v_skip",!0),e}const Jn=e=>_e(e)?Ue(e):e,Ms=e=>_e(e)?vc(e):e;function Ec(e){It&&tt&&(e=ie(e),fc(e.dep||(e.dep=Is())))}function Tc(e,t){e=ie(e);const n=e.dep;n&&Fo(n)}function Ae(e){return!!(e&&e.__v_isRef===!0)}function be(e){return Cc(e,!1)}function Xn(e){return Cc(e,!0)}function Cc(e,t){return Ae(e)?e:new Hf(e,t)}class Hf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ie(t),this._value=n?t:Jn(t)}get value(){return Ec(this),this._value}set value(t){const n=this.__v_isShallow||Mr(t)||qt(t);t=n?t:ie(t),Qn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Jn(t),Tc(this))}}function $(e){return Ae(e)?e.value:e}const Nf={get:(e,t,n)=>$(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ae(o)&&!Ae(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Pc(e){return cn(e)?e:new Proxy(e,Nf)}function iE(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Ac(e,n);return t}class jf{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 df(ie(this._object),this._key)}}class Ff{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function xc(e,t,n){return Ae(e)?e:ee(e)?new Ff(e):_e(e)&&arguments.length>1?Ac(e,t,n):be(e)}function Ac(e,t,n){const r=e[t];return Ae(r)?r:new jf(e,t,n)}class Bf{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ks(t,()=>{this._dirty||(this._dirty=!0,Tc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ie(this);return Ec(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function zf(e,t,n=!1){let r,o;const s=ee(e);return s?(r=e,o=rt):(r=e.get,o=e.set),new Bf(r,o,s||!o,n)}function kt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Cn(s,t,n)}return o}function Ye(e,t,n,r){if(ee(e)){const s=kt(e,t,n,r);return s&&As(s)&&s.catch(i=>{Cn(i,t,n)}),s}const o=[];for(let s=0;s>>1;Yn(Oe[r])lt&&Oe.splice(t,1)}function Ic(e){Z(e)?ln.push(...e):(!_t||!_t.includes(e,e.allowRecurse?Bt+1:Bt))&&ln.push(e),Rc()}function xi(e,t=Gn?lt+1:0){for(;tYn(n)-Yn(r)),Bt=0;Bt<_t.length;Bt++)_t[Bt]();_t=null,Bt=0}}const Yn=e=>e.id==null?1/0:e.id,Kf=(e,t)=>{const n=Yn(e)-Yn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function kc(e){Bo=!1,Gn=!0,Oe.sort(Kf);const t=rt;try{for(lt=0;ltve(g)?g.trim():g)),f&&(o=n.map(Zu))}let a,c=r[a=_o(t)]||r[a=_o(ft(t))];!c&&s&&(c=r[a=_o(bn(t))]),c&&Ye(c,e,6,o);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ye(l,e,6,o)}}function Oc(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!ee(e)){const c=l=>{const u=Oc(l,t,!0);u&&(a=!0,Pe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!a?(_e(e)&&r.set(e,null),null):(Z(s)?s.forEach(c=>i[c]=null):Pe(i,s),_e(e)&&r.set(e,i),i)}function ro(e,t){return!e||!sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,bn(t))||se(e,t))}let Se=null,oo=null;function Nr(e){const t=Se;return Se=e,oo=e&&e.type.__scopeId||null,t}function Qf(e){oo=e}function Jf(){oo=null}function Qe(e,t=Se,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Fi(-1);const s=Nr(t);let i;try{i=e(...o)}finally{Nr(s),r._d&&Fi(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function yo(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:c,emit:l,render:u,renderCache:f,data:d,setupState:g,ctx:h,inheritAttrs:p}=e;let w,_;const m=Nr(e);try{if(n.shapeFlag&4){const v=o||r;w=Xe(u.call(v,v,f,s,g,d,h)),_=c}else{const v=t;w=Xe(v.length>1?v(s,{attrs:c,slots:a,emit:l}):v(s,null)),_=t.props?c:Gf(c)}}catch(v){zn.length=0,Cn(v,e,1),w=ne($e)}let E=w;if(_&&p!==!1){const v=Object.keys(_),{shapeFlag:C}=E;v.length&&C&7&&(i&&v.some(Cs)&&(_=Yf(_,i)),E=vt(E,_))}return n.dirs&&(E=vt(E),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),w=E,Nr(m),w}function Xf(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||sr(n))&&((t||(t={}))[n]=e[n]);return t},Yf=(e,t)=>{const n={};for(const r in e)(!Cs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zf(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:c}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ai(r,i,l):!!i;if(c&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense,ed={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,c,l){e==null?td(t,n,r,o,s,i,a,c,l):nd(e,t,n,r,o,i,a,c,l)},hydrate:rd,create:js,normalize:od},$c=ed;function Zn(e,t){const n=e.props&&e.props[t];ee(n)&&n()}function td(e,t,n,r,o,s,i,a,c){const{p:l,o:{createElement:u}}=c,f=u("div"),d=e.suspense=js(e,o,r,t,f,n,s,i,a,c);l(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Zn(e,"onPending"),Zn(e,"onFallback"),l(null,e.ssFallback,t,n,r,null,s,i),un(d,e.ssFallback)):d.resolve(!1,!0)}function nd(e,t,n,r,o,s,i,a,{p:c,um:l,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:h,pendingBranch:p,isInFallback:w,isHydrating:_}=f;if(p)f.pendingBranch=d,nt(d,p)?(c(p,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():w&&(c(h,g,n,r,o,null,s,i,a),un(f,g))):(f.pendingId++,_?(f.isHydrating=!1,f.activeBranch=p):l(p,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),w?(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(c(h,g,n,r,o,null,s,i,a),un(f,g))):h&&nt(d,h)?(c(h,d,n,r,o,f,s,i,a),f.resolve(!0)):(c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(h&&nt(d,h))c(h,d,n,r,o,f,s,i,a),un(f,d);else if(Zn(t,"onPending"),f.pendingBranch=d,f.pendingId++,c(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:m,pendingId:E}=f;m>0?setTimeout(()=>{f.pendingId===E&&f.fallback(g)},m):m===0&&f.fallback(g)}}function js(e,t,n,r,o,s,i,a,c,l,u=!1){const{p:f,m:d,um:g,n:h,o:{parentNode:p,remove:w}}=l;let _;const m=sd(e);m&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const E=e.props?sc(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof E=="number"?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,x=!1){const{vnode:S,activeBranch:P,pendingBranch:M,pendingId:N,effects:Q,parentComponent:B,container:U}=v;if(v.isHydrating)v.isHydrating=!1;else if(!C){const oe=P&&M.transition&&M.transition.mode==="out-in";oe&&(P.transition.afterLeave=()=>{N===v.pendingId&&d(M,U,ae,0)});let{anchor:ae}=v;P&&(ae=h(P),g(P,B,v,!0)),oe||d(M,U,ae,0)}un(v,M),v.pendingBranch=null,v.isInFallback=!1;let W=v.parent,Ee=!1;for(;W;){if(W.pendingBranch){W.effects.push(...Q),Ee=!0;break}W=W.parent}Ee||Ic(Q),v.effects=[],m&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!x&&t.resolve()),Zn(S,"onResolve")},fallback(C){if(!v.pendingBranch)return;const{vnode:x,activeBranch:S,parentComponent:P,container:M,isSVG:N}=v;Zn(x,"onFallback");const Q=h(S),B=()=>{v.isInFallback&&(f(null,C,M,Q,P,null,N,a,c),un(v,C))},U=C.transition&&C.transition.mode==="out-in";U&&(S.transition.afterLeave=B),v.isInFallback=!0,g(S,P,null,!0),U||B()},move(C,x,S){v.activeBranch&&d(v.activeBranch,C,x,S),v.container=C},next(){return v.activeBranch&&h(v.activeBranch)},registerDep(C,x){const S=!!v.pendingBranch;S&&v.deps++;const P=C.vnode.el;C.asyncDep.catch(M=>{Cn(M,C,0)}).then(M=>{if(C.isUnmounted||v.isUnmounted||v.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:N}=C;Qo(C,M,!1),P&&(N.el=P);const Q=!P&&C.subTree.el;x(C,N,p(P||C.subTree.el),P?null:h(C.subTree),v,i,c),Q&&w(Q),Ns(C,N.el),S&&--v.deps===0&&v.resolve()})},unmount(C,x){v.isUnmounted=!0,v.activeBranch&&g(v.activeBranch,n,C,x),v.pendingBranch&&g(v.pendingBranch,n,C,x)}};return v}function rd(e,t,n,r,o,s,i,a,c){const l=t.suspense=js(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,s,i);return l.deps===0&&l.resolve(!1,!0),u}function od(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Si(r?n.default:n),e.ssFallback=r?Si(n.fallback):ne($e)}function Si(e){let t;if(ee(e)){const n=hn&&e._c;n&&(e._d=!1,q()),e=e(),n&&(e._d=!0,t=Ge,rl())}return Z(e)&&(e=Xf(e)),e=Xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Dc(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Ic(e)}function un(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Ns(r,o))}function sd(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function id(e,t){return so(e,null,t)}function ad(e,t){return so(e,null,{flush:"post"})}const _r={};function Ie(e,t,n){return so(e,t,n)}function so(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=ye){var a;const c=lf()===((a=Ce)==null?void 0:a.scope)?Ce:null;let l,u=!1,f=!1;if(Ae(e)?(l=()=>e.value,u=Mr(e)):cn(e)?(l=()=>e,r=!0):Z(e)?(f=!0,u=e.some(v=>cn(v)||Mr(v)),l=()=>e.map(v=>{if(Ae(v))return v.value;if(cn(v))return Ut(v);if(ee(v))return kt(v,c,2)})):ee(e)?t?l=()=>kt(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return d&&d(),Ye(e,c,3,[g])}:l=rt,t&&r){const v=l;l=()=>Ut(v())}let d,g=v=>{d=m.onStop=()=>{kt(v,c,4)}},h;if(gn)if(g=rt,t?n&&Ye(t,c,3,[l(),f?[]:void 0,g]):l(),o==="sync"){const v=op();h=v.__watcherHandles||(v.__watcherHandles=[])}else return rt;let p=f?new Array(e.length).fill(_r):_r;const w=()=>{if(m.active)if(t){const v=m.run();(r||u||(f?v.some((C,x)=>Qn(C,p[x])):Qn(v,p)))&&(d&&d(),Ye(t,c,3,[v,p===_r?void 0:f&&p[0]===_r?[]:p,g]),p=v)}else m.run()};w.allowRecurse=!!t;let _;o==="sync"?_=w:o==="post"?_=()=>Re(w,c&&c.suspense):(w.pre=!0,c&&(w.id=c.uid),_=()=>no(w));const m=new ks(l,_);t?n?w():p=m.run():o==="post"?Re(m.run.bind(m),c&&c.suspense):m.run();const E=()=>{m.stop(),c&&c.scope&&Ps(c.scope.effects,m)};return h&&h.push(E),E}function cd(e,t,n){const r=this.proxy,o=ve(e)?e.includes(".")?Mc(r,e):()=>r[e]:e.bind(r,r);let s;ee(t)?s=t:(s=t.handler,n=t);const i=Ce;$t(this);const a=so(o,s.bind(r),n);return i?$t(i):Ot(),a}function Mc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{Ut(n,t)});else if(oc(e))for(const n in e)Ut(e[n],t);return e}function ld(e,t){const n=Se;if(n===null)return e;const r=lo(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),xn(()=>{e.isUnmounting=!0}),e}const Je=[Function,Array],Hc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Je,onEnter:Je,onAfterEnter:Je,onEnterCancelled:Je,onBeforeLeave:Je,onLeave:Je,onAfterLeave:Je,onLeaveCancelled:Je,onBeforeAppear:Je,onAppear:Je,onAfterAppear:Je,onAppearCancelled:Je},fd={name:"BaseTransition",props:Hc,setup(e,{slots:t}){const n=wt(),r=ud();let o;return()=>{const s=t.default&&jc(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const p of s)if(p.type!==$e){i=p;break}}const a=ie(e),{mode:c}=a;if(r.isLeaving)return vo(i);const l=Ri(i);if(!l)return vo(i);const u=zo(l,a,r,n);jr(l,u);const f=n.subTree,d=f&&Ri(f);let g=!1;const{getTransitionKey:h}=l.type;if(h){const p=h();o===void 0?o=p:p!==o&&(o=p,g=!0)}if(d&&d.type!==$e&&(!nt(l,d)||g)){const p=zo(d,a,r,n);if(jr(d,p),c==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},vo(i);c==="in-out"&&l.type!==$e&&(p.delayLeave=(w,_,m)=>{const E=Nc(r,d);E[String(d.key)]=d,w._leaveCb=()=>{_(),w._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=m})}return i}}},dd=fd;function Nc(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 zo(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:g,onLeaveCancelled:h,onBeforeAppear:p,onAppear:w,onAfterAppear:_,onAppearCancelled:m}=t,E=String(e.key),v=Nc(n,e),C=(P,M)=>{P&&Ye(P,r,9,M)},x=(P,M)=>{const N=M[1];C(P,M),Z(P)?P.every(Q=>Q.length<=1)&&N():P.length<=1&&N()},S={mode:s,persisted:i,beforeEnter(P){let M=a;if(!n.isMounted)if(o)M=p||a;else return;P._leaveCb&&P._leaveCb(!0);const N=v[E];N&&nt(e,N)&&N.el._leaveCb&&N.el._leaveCb(),C(M,[P])},enter(P){let M=c,N=l,Q=u;if(!n.isMounted)if(o)M=w||c,N=_||l,Q=m||u;else return;let B=!1;const U=P._enterCb=W=>{B||(B=!0,W?C(Q,[P]):C(N,[P]),S.delayedLeave&&S.delayedLeave(),P._enterCb=void 0)};M?x(M,[P,U]):U()},leave(P,M){const N=String(e.key);if(P._enterCb&&P._enterCb(!0),n.isUnmounting)return M();C(f,[P]);let Q=!1;const B=P._leaveCb=U=>{Q||(Q=!0,M(),U?C(h,[P]):C(g,[P]),P._leaveCb=void 0,v[N]===e&&delete v[N])};v[N]=e,d?x(d,[P,B]):B()},clone(P){return zo(P,t,n,r)}};return S}function vo(e){if(ar(e))return e=vt(e),e.children=null,e}function Ri(e){return ar(e)?e.children?e.children[0]:void 0:e}function jr(e,t){e.shapeFlag&6&&e.component?jr(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 jc(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sPe({name:e.name},t,{setup:e}))():e}const Wt=e=>!!e.type.__asyncLoader;function D(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let c=null,l,u=0;const f=()=>(u++,c=null,d()),d=()=>{let g;return c||(g=c=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((p,w)=>{a(h,()=>p(f()),()=>w(h),u+1)});throw h}).then(h=>g!==c&&c?c:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),l=h,h)))};return xe({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const g=Ce;if(l)return()=>bo(l,g);const h=m=>{c=null,Cn(m,g,13,!r)};if(i&&g.suspense||gn)return d().then(m=>()=>bo(m,g)).catch(m=>(h(m),()=>r?ne(r,{error:m}):null));const p=be(!1),w=be(),_=be(!!o);return o&&setTimeout(()=>{_.value=!1},o),s!=null&&setTimeout(()=>{if(!p.value&&!w.value){const m=new Error(`Async component timed out after ${s}ms.`);h(m),w.value=m}},s),d().then(()=>{p.value=!0,g.parent&&ar(g.parent.vnode)&&no(g.parent.update)}).catch(m=>{h(m),w.value=m}),()=>{if(p.value&&l)return bo(l,g);if(w.value&&r)return ne(r,{error:w.value});if(n&&!_.value)return ne(n)}}})}function bo(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=ne(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const ar=e=>e.type.__isKeepAlive,pd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=wt(),r=n.ctx;if(!r.renderer)return()=>{const m=t.default&&t.default();return m&&m.length===1?m[0]:m};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(m,E,v,C,x)=>{const S=m.component;l(m,E,v,0,a),c(S.vnode,m,E,v,S,a,C,m.slotScopeIds,x),Re(()=>{S.isDeactivated=!1,S.a&&jn(S.a);const P=m.props&&m.props.onVnodeMounted;P&&Ne(P,S.parent,m)},a)},r.deactivate=m=>{const E=m.component;l(m,d,null,1,a),Re(()=>{E.da&&jn(E.da);const v=m.props&&m.props.onVnodeUnmounted;v&&Ne(v,E.parent,m),E.isDeactivated=!0},a)};function g(m){wo(m),u(m,n,a,!0)}function h(m){o.forEach((E,v)=>{const C=Jo(E.type);C&&(!m||!m(C))&&p(v)})}function p(m){const E=o.get(m);!i||!nt(E,i)?g(E):i&&wo(i),o.delete(m),s.delete(m)}Ie(()=>[e.include,e.exclude],([m,E])=>{m&&h(v=>Dn(m,v)),E&&h(v=>!Dn(E,v))},{flush:"post",deep:!0});let w=null;const _=()=>{w!=null&&o.set(w,Eo(n.subTree))};return Pn(_),Uc(_),xn(()=>{o.forEach(m=>{const{subTree:E,suspense:v}=n,C=Eo(E);if(m.type===C.type&&m.key===C.key){wo(C);const x=C.component.da;x&&Re(x,v);return}g(m)})}),()=>{if(w=null,!t.default)return null;const m=t.default(),E=m[0];if(m.length>1)return i=null,m;if(!mn(E)||!(E.shapeFlag&4)&&!(E.shapeFlag&128))return i=null,E;let v=Eo(E);const C=v.type,x=Jo(Wt(v)?v.type.__asyncResolved||{}:C),{include:S,exclude:P,max:M}=e;if(S&&(!x||!Dn(S,x))||P&&x&&Dn(P,x))return i=v,E;const N=v.key==null?C:v.key,Q=o.get(N);return v.el&&(v=vt(v),E.shapeFlag&128&&(E.ssContent=v)),w=N,Q?(v.el=Q.el,v.component=Q.component,v.transition&&jr(v,v.transition),v.shapeFlag|=512,s.delete(N),s.add(N)):(s.add(N),M&&s.size>parseInt(M,10)&&p(s.values().next().value)),v.shapeFlag|=256,i=v,Lc(E.type)?E:v}}},hd=pd;function Dn(e,t){return Z(e)?e.some(n=>Dn(n,t)):ve(e)?e.split(",").includes(t):Ju(e)?e.test(t):!1}function Fc(e,t){zc(e,"a",t)}function Bc(e,t){zc(e,"da",t)}function zc(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(io(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ar(o.parent.vnode)&&md(r,t,n,o),o=o.parent}}function md(e,t,n,r){const o=io(t,e,r,!0);Fs(()=>{Ps(r[t],o)},n)}function wo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Eo(e){return e.shapeFlag&128?e.ssContent:e}function io(e,t,n=Ce,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;En(),$t(n);const a=Ye(t,n,e,i);return Ot(),Tn(),a});return r?o.unshift(s):o.push(s),s}}const bt=e=>(t,n=Ce)=>(!gn||e==="sp")&&io(e,(...r)=>t(...r),n),gd=bt("bm"),Pn=bt("m"),_d=bt("bu"),Uc=bt("u"),xn=bt("bum"),Fs=bt("um"),yd=bt("sp"),vd=bt("rtg"),bd=bt("rtc");function Vc(e,t=Ce){io("ec",e,t)}const Bs="components";function wd(e,t){return Kc(Bs,e,!0,t)||e}const Wc=Symbol.for("v-ndc");function cr(e){return ve(e)?Kc(Bs,e,!1)||e:e||Wc}function Kc(e,t,n=!0,r=!1){const o=Se||Ce;if(o){const s=o.type;if(e===Bs){const a=Jo(s,!1);if(a&&(a===t||a===ft(t)||a===eo(ft(t))))return s}const i=Ii(o[e]||s[e],t)||Ii(o.appContext[e],t);return!i&&r?s:i}}function Ii(e,t){return e&&(e[t]||e[ft(t)]||e[eo(ft(t))])}function er(e,t,n,r){let o;const s=n&&n[r];if(Z(e)||ve(e)){o=new Array(e.length);for(let i=0,a=e.length;it(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,c=i.length;amn(t)?!(t.type===$e||t.type===we&&!qc(t.children)):!0)?e:null}const Uo=e=>e?il(e)?lo(e)||e.proxy:Uo(e.parent):null,Fn=Pe(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=>Uo(e.parent),$root:e=>Uo(e.root),$emit:e=>e.emit,$options:e=>Us(e),$forceUpdate:e=>e.f||(e.f=()=>no(e.update)),$nextTick:e=>e.n||(e.n=Xt.bind(e.proxy)),$watch:e=>cd.bind(e)}),To=(e,t)=>e!==ye&&!e.__isScriptSetup&&se(e,t),Ed={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const g=i[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(To(r,t))return i[t]=1,r[t];if(o!==ye&&se(o,t))return i[t]=2,o[t];if((l=e.propsOptions[0])&&se(l,t))return i[t]=3,s[t];if(n!==ye&&se(n,t))return i[t]=4,n[t];Vo&&(i[t]=0)}}const u=Fn[t];let f,d;if(u)return t==="$attrs"&&ze(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ye&&se(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,se(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return To(o,t)?(o[t]=n,!0):r!==ye&&se(r,t)?(r[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==ye&&se(e,i)||To(t,i)||(a=s[0])&&se(a,i)||se(r,i)||se(Fn,i)||se(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function aE(){return Td().slots}function Td(){const e=wt();return e.setupContext||(e.setupContext=cl(e))}function ki(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Cd(e){const t=wt();let n=e();return Ot(),As(n)&&(n=n.catch(r=>{throw $t(t),r})),[n,()=>$t(t)]}let Vo=!0;function Pd(e){const t=Us(e),n=e.proxy,r=e.ctx;Vo=!1,t.beforeCreate&&Oi(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:c,inject:l,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:h,activated:p,deactivated:w,beforeDestroy:_,beforeUnmount:m,destroyed:E,unmounted:v,render:C,renderTracked:x,renderTriggered:S,errorCaptured:P,serverPrefetch:M,expose:N,inheritAttrs:Q,components:B,directives:U,filters:W}=t;if(l&&xd(l,r,null),i)for(const ae in i){const le=i[ae];ee(le)&&(r[ae]=le.bind(n))}if(o){const ae=o.call(n,n);_e(ae)&&(e.data=Ue(ae))}if(Vo=!0,s)for(const ae in s){const le=s[ae],pt=ee(le)?le.bind(n,n):ee(le.get)?le.get.bind(n,n):rt,Tt=!ee(le)&&ee(le.set)?le.set.bind(n):rt,st=Y({get:pt,set:Tt});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>st.value,set:Me=>st.value=Me})}if(a)for(const ae in a)Qc(a[ae],r,n,ae);if(c){const ae=ee(c)?c.call(n):c;Reflect.ownKeys(ae).forEach(le=>{fn(le,ae[le])})}u&&Oi(u,e,"c");function oe(ae,le){Z(le)?le.forEach(pt=>ae(pt.bind(n))):le&&ae(le.bind(n))}if(oe(gd,f),oe(Pn,d),oe(_d,g),oe(Uc,h),oe(Fc,p),oe(Bc,w),oe(Vc,P),oe(bd,x),oe(vd,S),oe(xn,m),oe(Fs,v),oe(yd,M),Z(N))if(N.length){const ae=e.exposed||(e.exposed={});N.forEach(le=>{Object.defineProperty(ae,le,{get:()=>n[le],set:pt=>n[le]=pt})})}else e.exposed||(e.exposed={});C&&e.render===rt&&(e.render=C),Q!=null&&(e.inheritAttrs=Q),B&&(e.components=B),U&&(e.directives=U)}function xd(e,t,n=rt){Z(e)&&(e=Wo(e));for(const r in e){const o=e[r];let s;_e(o)?"default"in o?s=Fe(o.from||r,o.default,!0):s=Fe(o.from||r):s=Fe(o),Ae(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Oi(e,t,n){Ye(Z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qc(e,t,n,r){const o=r.includes(".")?Mc(n,r):()=>n[r];if(ve(e)){const s=t[e];ee(s)&&Ie(o,s)}else if(ee(e))Ie(o,e.bind(n));else if(_e(e))if(Z(e))e.forEach(s=>Qc(s,t,n,r));else{const s=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(s)&&Ie(o,s,e)}}function Us(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let c;return a?c=a:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(l=>Fr(c,l,i,!0)),Fr(c,t,i)),_e(t)&&s.set(t,c),c}function Fr(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Fr(e,s,n,!0),o&&o.forEach(i=>Fr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Ad[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ad={data:Li,props:$i,emits:$i,methods:Mn,computed:Mn,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:Mn,directives:Mn,watch:Rd,provide:Li,inject:Sd};function Li(e,t){return t?e?function(){return Pe(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function Sd(e,t){return Mn(Wo(e),Wo(t))}function Wo(e){if(Z(e)){const t={};for(let n=0;n1)return n&&ee(t)?t.call(r&&r.proxy):t}}function Od(){return!!(Ce||Se||tr)}function Ld(e,t,n,r=!1){const o={},s={};$r(s,ao,1),e.propsDefaults=Object.create(null),Xc(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:yc(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function $d(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=ie(o),[c]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{c=!0;const[d,g]=Gc(f,t,!0);Pe(i,d),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!c)return _e(e)&&r.set(e,sn),sn;if(Z(s))for(let u=0;u-1,g[1]=p<0||h-1||se(g,"default"))&&a.push(f)}}}const l=[i,a];return _e(e)&&r.set(e,l),l}function Di(e){return e[0]!=="$"}function Mi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Hi(e,t){return Mi(e)===Mi(t)}function Ni(e,t){return Z(t)?t.findIndex(n=>Hi(n,e)):ee(t)&&Hi(t,e)?0:-1}const Yc=e=>e[0]==="_"||e==="$stable",Vs=e=>Z(e)?e.map(Xe):[Xe(e)],Dd=(e,t,n)=>{if(t._n)return t;const r=Qe((...o)=>Vs(t(...o)),n);return r._c=!1,r},Zc=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Yc(o))continue;const s=e[o];if(ee(s))t[o]=Dd(o,s,r);else if(s!=null){const i=Vs(s);t[o]=()=>i}}},el=(e,t)=>{const n=Vs(t);e.slots.default=()=>n},Md=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ie(t),$r(t,"_",n)):Zc(t,e.slots={})}else e.slots={},t&&el(e,t);$r(e.slots,ao,1)},Hd=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Pe(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Zc(t,o)),i=t}else t&&(el(e,t),i={default:1});if(s)for(const a in o)!Yc(a)&&!(a in i)&&delete o[a]};function Br(e,t,n,r,o=!1){if(Z(e)){e.forEach((d,g)=>Br(d,t&&(Z(t)?t[g]:t),n,r,o));return}if(Wt(r)&&!o)return;const s=r.shapeFlag&4?lo(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:c}=e,l=t&&t.r,u=a.refs===ye?a.refs={}:a.refs,f=a.setupState;if(l!=null&&l!==c&&(ve(l)?(u[l]=null,se(f,l)&&(f[l]=null)):Ae(l)&&(l.value=null)),ee(c))kt(c,a,12,[i,u]);else{const d=ve(c),g=Ae(c);if(d||g){const h=()=>{if(e.f){const p=d?se(f,c)?f[c]:u[c]:c.value;o?Z(p)&&Ps(p,s):Z(p)?p.includes(s)||p.push(s):d?(u[c]=[s],se(f,c)&&(f[c]=u[c])):(c.value=[s],e.k&&(u[e.k]=c.value))}else d?(u[c]=i,se(f,c)&&(f[c]=i)):g&&(c.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,Re(h,n)):h()}}}let Pt=!1;const yr=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",vr=e=>e.nodeType===8;function Nd(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:c,createComment:l}}=e,u=(_,m)=>{if(!m.hasChildNodes()){n(null,_,m),Hr(),m._vnode=_;return}Pt=!1,f(m.firstChild,_,null,null,null),Hr(),m._vnode=_,Pt&&console.error("Hydration completed but contains mismatches.")},f=(_,m,E,v,C,x=!1)=>{const S=vr(_)&&_.data==="[",P=()=>p(_,m,E,v,C,S),{type:M,ref:N,shapeFlag:Q,patchFlag:B}=m;let U=_.nodeType;m.el=_,B===-2&&(x=!1,m.dynamicChildren=null);let W=null;switch(M){case pn:U!==3?m.children===""?(c(m.el=o(""),i(_),_),W=_):W=P():(_.data!==m.children&&(Pt=!0,_.data=m.children),W=s(_));break;case $e:U!==8||S?W=P():W=s(_);break;case dn:if(S&&(_=s(_),U=_.nodeType),U===1||U===3){W=_;const Ee=!m.children.length;for(let oe=0;oe{x=x||!!m.dynamicChildren;const{type:S,props:P,patchFlag:M,shapeFlag:N,dirs:Q}=m,B=S==="input"&&Q||S==="option";if(B||M!==-1){if(Q&&ct(m,null,E,"created"),P)if(B||!x||M&48)for(const W in P)(B&&W.endsWith("value")||sr(W)&&!Nn(W))&&r(_,W,null,P[W],!1,void 0,E);else P.onClick&&r(_,"onClick",null,P.onClick,!1,void 0,E);let U;if((U=P&&P.onVnodeBeforeMount)&&Ne(U,E,m),Q&&ct(m,null,E,"beforeMount"),((U=P&&P.onVnodeMounted)||Q)&&Dc(()=>{U&&Ne(U,E,m),Q&&ct(m,null,E,"mounted")},v),N&16&&!(P&&(P.innerHTML||P.textContent))){let W=g(_.firstChild,m,_,E,v,C,x);for(;W;){Pt=!0;const Ee=W;W=W.nextSibling,a(Ee)}}else N&8&&_.textContent!==m.children&&(Pt=!0,_.textContent=m.children)}return _.nextSibling},g=(_,m,E,v,C,x,S)=>{S=S||!!m.dynamicChildren;const P=m.children,M=P.length;for(let N=0;N{const{slotScopeIds:S}=m;S&&(C=C?C.concat(S):S);const P=i(_),M=g(s(_),m,P,E,v,C,x);return M&&vr(M)&&M.data==="]"?s(m.anchor=M):(Pt=!0,c(m.anchor=l("]"),P,M),M)},p=(_,m,E,v,C,x)=>{if(Pt=!0,m.el=null,x){const M=w(_);for(;;){const N=s(_);if(N&&N!==M)a(N);else break}}const S=s(_),P=i(_);return a(_),n(null,m,P,S,E,v,yr(P),C),S},w=_=>{let m=0;for(;_;)if(_=s(_),_&&vr(_)&&(_.data==="["&&m++,_.data==="]")){if(m===0)return s(_);m--}return _};return[u,f]}const Re=Dc;function jd(e){return tl(e)}function Fd(e){return tl(e,Nd)}function tl(e,t){const n=Ho();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:c,setText:l,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=rt,insertStaticContent:h}=e,p=(y,b,T,A=null,I=null,O=null,z=!1,H=null,j=!!b.dynamicChildren)=>{if(y===b)return;y&&!nt(y,b)&&(A=R(y),Me(y,I,O,!0),y=null),b.patchFlag===-2&&(j=!1,b.dynamicChildren=null);const{type:L,ref:X,shapeFlag:K}=b;switch(L){case pn:w(y,b,T,A);break;case $e:_(y,b,T,A);break;case dn:y==null&&m(b,T,A,z);break;case we:B(y,b,T,A,I,O,z,H,j);break;default:K&1?C(y,b,T,A,I,O,z,H,j):K&6?U(y,b,T,A,I,O,z,H,j):(K&64||K&128)&&L.process(y,b,T,A,I,O,z,H,j,F)}X!=null&&I&&Br(X,y&&y.ref,O,b||y,!b)},w=(y,b,T,A)=>{if(y==null)r(b.el=a(b.children),T,A);else{const I=b.el=y.el;b.children!==y.children&&l(I,b.children)}},_=(y,b,T,A)=>{y==null?r(b.el=c(b.children||""),T,A):b.el=y.el},m=(y,b,T,A)=>{[y.el,y.anchor]=h(y.children,b,T,A,y.el,y.anchor)},E=({el:y,anchor:b},T,A)=>{let I;for(;y&&y!==b;)I=d(y),r(y,T,A),y=I;r(b,T,A)},v=({el:y,anchor:b})=>{let T;for(;y&&y!==b;)T=d(y),o(y),y=T;o(b)},C=(y,b,T,A,I,O,z,H,j)=>{z=z||b.type==="svg",y==null?x(b,T,A,I,O,z,H,j):M(y,b,I,O,z,H,j)},x=(y,b,T,A,I,O,z,H)=>{let j,L;const{type:X,props:K,shapeFlag:G,transition:te,dirs:re}=y;if(j=y.el=i(y.type,O,K&&K.is,K),G&8?u(j,y.children):G&16&&P(y.children,j,null,A,I,O&&X!=="foreignObject",z,H),re&&ct(y,null,A,"created"),S(j,y,y.scopeId,z,A),K){for(const pe in K)pe!=="value"&&!Nn(pe)&&s(j,pe,null,K[pe],O,y.children,A,I,ke);"value"in K&&s(j,"value",null,K.value),(L=K.onVnodeBeforeMount)&&Ne(L,A,y)}re&&ct(y,null,A,"beforeMount");const ge=(!I||I&&!I.pendingBranch)&&te&&!te.persisted;ge&&te.beforeEnter(j),r(j,b,T),((L=K&&K.onVnodeMounted)||ge||re)&&Re(()=>{L&&Ne(L,A,y),ge&&te.enter(j),re&&ct(y,null,A,"mounted")},I)},S=(y,b,T,A,I)=>{if(T&&g(y,T),A)for(let O=0;O{for(let L=j;L{const H=b.el=y.el;let{patchFlag:j,dynamicChildren:L,dirs:X}=b;j|=y.patchFlag&16;const K=y.props||ye,G=b.props||ye;let te;T&&Ht(T,!1),(te=G.onVnodeBeforeUpdate)&&Ne(te,T,b,y),X&&ct(b,y,T,"beforeUpdate"),T&&Ht(T,!0);const re=I&&b.type!=="foreignObject";if(L?N(y.dynamicChildren,L,H,T,A,re,O):z||le(y,b,H,null,T,A,re,O,!1),j>0){if(j&16)Q(H,b,K,G,T,A,I);else if(j&2&&K.class!==G.class&&s(H,"class",null,G.class,I),j&4&&s(H,"style",K.style,G.style,I),j&8){const ge=b.dynamicProps;for(let pe=0;pe{te&&Ne(te,T,b,y),X&&ct(b,y,T,"updated")},A)},N=(y,b,T,A,I,O,z)=>{for(let H=0;H{if(T!==A){if(T!==ye)for(const H in T)!Nn(H)&&!(H in A)&&s(y,H,T[H],null,z,b.children,I,O,ke);for(const H in A){if(Nn(H))continue;const j=A[H],L=T[H];j!==L&&H!=="value"&&s(y,H,L,j,z,b.children,I,O,ke)}"value"in A&&s(y,"value",T.value,A.value)}},B=(y,b,T,A,I,O,z,H,j)=>{const L=b.el=y?y.el:a(""),X=b.anchor=y?y.anchor:a("");let{patchFlag:K,dynamicChildren:G,slotScopeIds:te}=b;te&&(H=H?H.concat(te):te),y==null?(r(L,T,A),r(X,T,A),P(b.children,T,X,I,O,z,H,j)):K>0&&K&64&&G&&y.dynamicChildren?(N(y.dynamicChildren,G,T,I,O,z,H),(b.key!=null||I&&b===I.subTree)&&Ws(y,b,!0)):le(y,b,T,X,I,O,z,H,j)},U=(y,b,T,A,I,O,z,H,j)=>{b.slotScopeIds=H,y==null?b.shapeFlag&512?I.ctx.activate(b,T,A,z,j):W(b,T,A,I,O,z,j):Ee(y,b,j)},W=(y,b,T,A,I,O,z)=>{const H=y.component=Yd(y,A,I);if(ar(y)&&(H.ctx.renderer=F),Zd(H),H.asyncDep){if(I&&I.registerDep(H,oe),!y.el){const j=H.subTree=ne($e);_(null,j,b,T)}return}oe(H,y,b,T,I,O,z)},Ee=(y,b,T)=>{const A=b.component=y.component;if(Zf(y,b,T))if(A.asyncDep&&!A.asyncResolved){ae(A,b,T);return}else A.next=b,Wf(A.update),A.update();else b.el=y.el,A.vnode=b},oe=(y,b,T,A,I,O,z)=>{const H=()=>{if(y.isMounted){let{next:X,bu:K,u:G,parent:te,vnode:re}=y,ge=X,pe;Ht(y,!1),X?(X.el=re.el,ae(y,X,z)):X=re,K&&jn(K),(pe=X.props&&X.props.onVnodeBeforeUpdate)&&Ne(pe,te,X,re),Ht(y,!0);const Te=yo(y),et=y.subTree;y.subTree=Te,p(et,Te,f(et.el),R(et),y,I,O),X.el=Te.el,ge===null&&Ns(y,Te.el),G&&Re(G,I),(pe=X.props&&X.props.onVnodeUpdated)&&Re(()=>Ne(pe,te,X,re),I)}else{let X;const{el:K,props:G}=b,{bm:te,m:re,parent:ge}=y,pe=Wt(b);if(Ht(y,!1),te&&jn(te),!pe&&(X=G&&G.onVnodeBeforeMount)&&Ne(X,ge,b),Ht(y,!0),K&&ue){const Te=()=>{y.subTree=yo(y),ue(K,y.subTree,y,I,null)};pe?b.type.__asyncLoader().then(()=>!y.isUnmounted&&Te()):Te()}else{const Te=y.subTree=yo(y);p(null,Te,T,A,y,I,O),b.el=Te.el}if(re&&Re(re,I),!pe&&(X=G&&G.onVnodeMounted)){const Te=b;Re(()=>Ne(X,ge,Te),I)}(b.shapeFlag&256||ge&&Wt(ge.vnode)&&ge.vnode.shapeFlag&256)&&y.a&&Re(y.a,I),y.isMounted=!0,b=T=A=null}},j=y.effect=new ks(H,()=>no(L),y.scope),L=y.update=()=>j.run();L.id=y.uid,Ht(y,!0),L()},ae=(y,b,T)=>{b.component=y;const A=y.vnode.props;y.vnode=b,y.next=null,$d(y,b.props,A,T),Hd(y,b.children,T),En(),xi(),Tn()},le=(y,b,T,A,I,O,z,H,j=!1)=>{const L=y&&y.children,X=y?y.shapeFlag:0,K=b.children,{patchFlag:G,shapeFlag:te}=b;if(G>0){if(G&128){Tt(L,K,T,A,I,O,z,H,j);return}else if(G&256){pt(L,K,T,A,I,O,z,H,j);return}}te&8?(X&16&&ke(L,I,O),K!==L&&u(T,K)):X&16?te&16?Tt(L,K,T,A,I,O,z,H,j):ke(L,I,O,!0):(X&8&&u(T,""),te&16&&P(K,T,A,I,O,z,H,j))},pt=(y,b,T,A,I,O,z,H,j)=>{y=y||sn,b=b||sn;const L=y.length,X=b.length,K=Math.min(L,X);let G;for(G=0;GX?ke(y,I,O,!0,!1,K):P(b,T,A,I,O,z,H,j,K)},Tt=(y,b,T,A,I,O,z,H,j)=>{let L=0;const X=b.length;let K=y.length-1,G=X-1;for(;L<=K&&L<=G;){const te=y[L],re=b[L]=j?St(b[L]):Xe(b[L]);if(nt(te,re))p(te,re,T,null,I,O,z,H,j);else break;L++}for(;L<=K&&L<=G;){const te=y[K],re=b[G]=j?St(b[G]):Xe(b[G]);if(nt(te,re))p(te,re,T,null,I,O,z,H,j);else break;K--,G--}if(L>K){if(L<=G){const te=G+1,re=teG)for(;L<=K;)Me(y[L],I,O,!0),L++;else{const te=L,re=L,ge=new Map;for(L=re;L<=G;L++){const We=b[L]=j?St(b[L]):Xe(b[L]);We.key!=null&&ge.set(We.key,L)}let pe,Te=0;const et=G-re+1;let en=!1,mi=0;const Sn=new Array(et);for(L=0;L=et){Me(We,I,O,!0);continue}let it;if(We.key!=null)it=ge.get(We.key);else for(pe=re;pe<=G;pe++)if(Sn[pe-re]===0&&nt(We,b[pe])){it=pe;break}it===void 0?Me(We,I,O,!0):(Sn[it-re]=L+1,it>=mi?mi=it:en=!0,p(We,b[it],T,null,I,O,z,H,j),Te++)}const gi=en?Bd(Sn):sn;for(pe=gi.length-1,L=et-1;L>=0;L--){const We=re+L,it=b[We],_i=We+1{const{el:O,type:z,transition:H,children:j,shapeFlag:L}=y;if(L&6){st(y.component.subTree,b,T,A);return}if(L&128){y.suspense.move(b,T,A);return}if(L&64){z.move(y,b,T,F);return}if(z===we){r(O,b,T);for(let K=0;KH.enter(O),I);else{const{leave:K,delayLeave:G,afterLeave:te}=H,re=()=>r(O,b,T),ge=()=>{K(O,()=>{re(),te&&te()})};G?G(O,re,ge):ge()}else r(O,b,T)},Me=(y,b,T,A=!1,I=!1)=>{const{type:O,props:z,ref:H,children:j,dynamicChildren:L,shapeFlag:X,patchFlag:K,dirs:G}=y;if(H!=null&&Br(H,null,T,y,!0),X&256){b.ctx.deactivate(y);return}const te=X&1&&G,re=!Wt(y);let ge;if(re&&(ge=z&&z.onVnodeBeforeUnmount)&&Ne(ge,b,y),X&6)fr(y.component,T,A);else{if(X&128){y.suspense.unmount(T,A);return}te&&ct(y,null,b,"beforeUnmount"),X&64?y.type.remove(y,b,T,I,F,A):L&&(O!==we||K>0&&K&64)?ke(L,b,T,!1,!0):(O===we&&K&384||!I&&X&16)&&ke(j,b,T),A&&Yt(y)}(re&&(ge=z&&z.onVnodeUnmounted)||te)&&Re(()=>{ge&&Ne(ge,b,y),te&&ct(y,null,b,"unmounted")},T)},Yt=y=>{const{type:b,el:T,anchor:A,transition:I}=y;if(b===we){Zt(T,A);return}if(b===dn){v(y);return}const O=()=>{o(T),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(y.shapeFlag&1&&I&&!I.persisted){const{leave:z,delayLeave:H}=I,j=()=>z(T,O);H?H(y.el,O,j):j()}else O()},Zt=(y,b)=>{let T;for(;y!==b;)T=d(y),o(y),y=T;o(b)},fr=(y,b,T)=>{const{bum:A,scope:I,update:O,subTree:z,um:H}=y;A&&jn(A),I.stop(),O&&(O.active=!1,Me(z,y,b,T)),H&&Re(H,b),Re(()=>{y.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ke=(y,b,T,A=!1,I=!1,O=0)=>{for(let z=O;zy.shapeFlag&6?R(y.component.subTree):y.shapeFlag&128?y.suspense.next():d(y.anchor||y.el),V=(y,b,T)=>{y==null?b._vnode&&Me(b._vnode,null,null,!0):p(b._vnode||null,y,b,null,null,null,T),xi(),Hr(),b._vnode=y},F={p,um:Me,m:st,r:Yt,mt:W,mc:P,pc:le,pbc:N,n:R,o:e};let J,ue;return t&&([J,ue]=t(F)),{render:V,hydrate:J,createApp:kd(V,J)}}function Ht({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ws(e,t,n=!1){const r=e.children,o=t.children;if(Z(r)&&Z(o))for(let s=0;s>1,e[n[a]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const zd=e=>e.__isTeleport,Bn=e=>e&&(e.disabled||e.disabled===""),ji=e=>typeof SVGElement<"u"&&e instanceof SVGElement,qo=(e,t)=>{const n=e&&e.to;return ve(n)?t?t(n):null:n},Ud={__isTeleport:!0,process(e,t,n,r,o,s,i,a,c,l){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:h,createText:p,createComment:w}}=l,_=Bn(t.props);let{shapeFlag:m,children:E,dynamicChildren:v}=t;if(e==null){const C=t.el=p(""),x=t.anchor=p("");g(C,n,r),g(x,n,r);const S=t.target=qo(t.props,h),P=t.targetAnchor=p("");S&&(g(P,S),i=i||ji(S));const M=(N,Q)=>{m&16&&u(E,N,Q,o,s,i,a,c)};_?M(n,x):S&&M(S,P)}else{t.el=e.el;const C=t.anchor=e.anchor,x=t.target=e.target,S=t.targetAnchor=e.targetAnchor,P=Bn(e.props),M=P?n:x,N=P?C:S;if(i=i||ji(x),v?(d(e.dynamicChildren,v,M,o,s,i,a),Ws(e,t,!0)):c||f(e,t,M,N,o,s,i,a,!1),_)P||br(t,n,C,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Q=t.target=qo(t.props,h);Q&&br(t,Q,null,l,0)}else P&&br(t,x,S,l,1)}nl(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),(i||!Bn(d))&&(s(l),a&16))for(let g=0;g0?Ge||sn:null,rl(),hn>0&&Ge&&Ge.push(e),e}function he(e,t,n,r,o,s){return ol(de(e,t,n,r,o,s,!0))}function ce(e,t,n,r,o){return ol(ne(e,t,n,r,o,!0))}function mn(e){return e?e.__v_isVNode===!0:!1}function nt(e,t){return e.type===t.type&&e.key===t.key}const ao="__vInternal",sl=({key:e})=>e??null,Ar=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Ae(e)||ee(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function de(e,t=null,n=null,r=0,o=null,s=e===we?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sl(t),ref:t&&Ar(t),scopeId:oo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Se};return a?(Ks(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=ve(n)?8:16),hn>0&&!i&&Ge&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Ge.push(c),c}const ne=Kd;function Kd(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Wc)&&(e=$e),mn(e)){const a=vt(e,t,!0);return n&&Ks(a,n),hn>0&&!s&&Ge&&(a.shapeFlag&6?Ge[Ge.indexOf(e)]=a:Ge.push(a)),a.patchFlag|=-2,a}if(np(e)&&(e=e.__vccOpts),t){t=qd(t);let{class:a,style:c}=t;a&&!ve(a)&&(t.class=je(a)),_e(c)&&(bc(c)&&!Z(c)&&(c=Pe({},c)),t.style=wn(c))}const i=ve(e)?1:Lc(e)?128:zd(e)?64:_e(e)?4:ee(e)?2:0;return de(e,t,n,r,o,i,s,!0)}function qd(e){return e?bc(e)||ao in e?Pe({},e):e:null}function vt(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?Jd(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&sl(a),ref:t&&t.ref?n&&o?Z(o)?o.concat(Ar(t)):[o,Ar(t)]:Ar(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function co(e=" ",t=0){return ne(pn,null,e,t)}function Qd(e,t){const n=ne(dn,null,e);return n.staticCount=t,n}function Be(e="",t=!1){return t?(q(),ce($e,null,e)):ne($e,null,e)}function Xe(e){return e==null||typeof e=="boolean"?ne($e):Z(e)?ne(we,null,e.slice()):typeof e=="object"?St(e):ne(pn,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function Ks(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ks(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ao in t)?t._ctx=Se:o===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),r&64?(n=16,t=[co(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jd(...e){const t={};for(let n=0;nCe||Se;let qs,tn,Bi="__VUE_INSTANCE_SETTERS__";(tn=Ho()[Bi])||(tn=Ho()[Bi]=[]),tn.push(e=>Ce=e),qs=e=>{tn.length>1?tn.forEach(t=>t(e)):tn[0](e)};const $t=e=>{qs(e),e.scope.on()},Ot=()=>{Ce&&Ce.scope.off(),qs(null)};function il(e){return e.vnode.shapeFlag&4}let gn=!1;function Zd(e,t=!1){gn=t;const{props:n,children:r}=e.vnode,o=il(e);Ld(e,n,o,t),Md(e,r);const s=o?ep(e,t):void 0;return gn=!1,s}function ep(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=wc(new Proxy(e.ctx,Ed));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?cl(e):null;$t(e),En();const s=kt(r,e,0,[e.props,o]);if(Tn(),Ot(),As(s)){if(s.then(Ot,Ot),t)return s.then(i=>{Qo(e,i,t)}).catch(i=>{Cn(i,e,0)});e.asyncDep=s}else Qo(e,s,t)}else al(e,t)}function Qo(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=Pc(t)),al(e,n)}let zi;function al(e,t,n){const r=e.type;if(!e.render){if(!t&&zi&&!r.render){const o=r.template||Us(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=r,l=Pe(Pe({isCustomElement:s,delimiters:a},i),c);r.render=zi(o,l)}}e.render=r.render||rt}$t(e),En(),Pd(e),Tn(),Ot()}function tp(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ze(e,"get","$attrs"),t[n]}}))}function cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return tp(e)},slots:e.slots,emit:e.emit,expose:t}}function lo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Pc(wc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Fn)return Fn[n](e)},has(t,n){return n in t||n in Fn}}))}function Jo(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function np(e){return ee(e)&&"__vccOpts"in e}const Y=(e,t)=>zf(e,t,gn);function qe(e,t,n){const r=arguments.length;return r===2?_e(t)&&!Z(t)?mn(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&mn(n)&&(n=[n]),ne(e,t,n))}const rp=Symbol.for("v-scx"),op=()=>Fe(rp),ll="3.3.4",sp="http://www.w3.org/2000/svg",zt=typeof document<"u"?document:null,Ui=zt&&zt.createElement("template"),ip={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?zt.createElementNS(sp,e):zt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>zt.createTextNode(e),createComment:e=>zt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Ui.innerHTML=r?`${e}`:e;const a=Ui.content;if(r){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function ap(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 cp(e,t,n){const r=e.style,o=ve(n);if(n&&!o){if(t&&!ve(t))for(const s in t)n[s]==null&&Xo(r,s,"");for(const s in n)Xo(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Vi=/\s*!important$/;function Xo(e,t,n){if(Z(n))n.forEach(r=>Xo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=lp(e,t);Vi.test(n)?e.setProperty(bn(r),n.replace(Vi,""),"important"):e[r]=n}}const Wi=["Webkit","Moz","ms"],Co={};function lp(e,t){const n=Co[t];if(n)return n;let r=ft(t);if(r!=="filter"&&r in e)return Co[t]=r;r=eo(r);for(let o=0;oPo||(gp.then(()=>Po=0),Po=Date.now());function yp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ye(vp(r,n.value),t,5,[r])};return n.value=e,n.attached=_p(),n}function vp(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Qi=/^on[a-z]/,bp=(e,t,n,r,o=!1,s,i,a,c)=>{t==="class"?ap(e,r,o):t==="style"?cp(e,n,r):sr(t)?Cs(t)||hp(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wp(e,t,r,o))?fp(e,t,r,s,i,a,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),up(e,t,r,o))};function wp(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Qi.test(t)&&ee(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Qi.test(t)&&ve(n)?!1:t in e}function cE(e){const t=wt();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Yo(s,o))},r=()=>{const o=e(t.proxy);Go(t.subTree,o),n(o)};ad(r),Pn(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Fs(()=>o.disconnect())})}function Go(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Go(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Yo(e.el,t);else if(e.type===we)e.children.forEach(n=>Go(n,t));else if(e.type===dn){let{el:n,anchor:r}=e;for(;n&&(Yo(n,t),n!==r);)n=n.nextSibling}}function Yo(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const xt="transition",Rn="animation",Qs=(e,{slots:t})=>qe(dd,Ep(e),t);Qs.displayName="Transition";const ul={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};Qs.props=Pe({},Hc,ul);const Nt=(e,t=[])=>{Z(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ji=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function Ep(e){const t={};for(const B in e)B in ul||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:l=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,h=Tp(o),p=h&&h[0],w=h&&h[1],{onBeforeEnter:_,onEnter:m,onEnterCancelled:E,onLeave:v,onLeaveCancelled:C,onBeforeAppear:x=_,onAppear:S=m,onAppearCancelled:P=E}=t,M=(B,U,W)=>{jt(B,U?u:a),jt(B,U?l:i),W&&W()},N=(B,U)=>{B._isLeaving=!1,jt(B,f),jt(B,g),jt(B,d),U&&U()},Q=B=>(U,W)=>{const Ee=B?S:m,oe=()=>M(U,B,W);Nt(Ee,[U,oe]),Xi(()=>{jt(U,B?c:s),At(U,B?u:a),Ji(Ee)||Gi(U,r,p,oe)})};return Pe(t,{onBeforeEnter(B){Nt(_,[B]),At(B,s),At(B,i)},onBeforeAppear(B){Nt(x,[B]),At(B,c),At(B,l)},onEnter:Q(!1),onAppear:Q(!0),onLeave(B,U){B._isLeaving=!0;const W=()=>N(B,U);At(B,f),xp(),At(B,d),Xi(()=>{B._isLeaving&&(jt(B,f),At(B,g),Ji(v)||Gi(B,r,w,W))}),Nt(v,[B,W])},onEnterCancelled(B){M(B,!1),Nt(E,[B])},onAppearCancelled(B){M(B,!0),Nt(P,[B])},onLeaveCancelled(B){N(B),Nt(C,[B])}})}function Tp(e){if(e==null)return null;if(_e(e))return[xo(e.enter),xo(e.leave)];{const t=xo(e);return[t,t]}}function xo(e){return sc(e)}function At(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function jt(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 Xi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Cp=0;function Gi(e,t,n,r){const o=e._endId=++Cp,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:c}=Pp(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,d),s()},d=g=>{g.target===e&&++u>=c&&f()};setTimeout(()=>{u(n[h]||"").split(", "),o=r(`${xt}Delay`),s=r(`${xt}Duration`),i=Yi(o,s),a=r(`${Rn}Delay`),c=r(`${Rn}Duration`),l=Yi(a,c);let u=null,f=0,d=0;t===xt?i>0&&(u=xt,f=i,d=s.length):t===Rn?l>0&&(u=Rn,f=l,d=c.length):(f=Math.max(i,l),u=f>0?i>l?xt:Rn:null,d=u?u===xt?s.length:c.length:0);const g=u===xt&&/\b(transform|all)(,|$)/.test(r(`${xt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:g}}function Yi(e,t){for(;e.lengthZi(n)+Zi(e[r])))}function Zi(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function xp(){return document.body.offsetHeight}const Ap=["ctrl","shift","alt","meta"],Sp={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)=>Ap.some(n=>e[`${n}Key`]&&!t.includes(n))},Rp=(e,t)=>(n,...r)=>{for(let o=0;o{In(e,!1)}):In(e,t))},beforeUnmount(e,{value:t}){In(e,t)}};function In(e,t){e.style.display=t?e._vod:"none"}const fl=Pe({patchProp:bp},ip);let Un,ea=!1;function kp(){return Un||(Un=jd(fl))}function Op(){return Un=ea?Un:Fd(fl),ea=!0,Un}const Lp=(...e)=>{const t=kp().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=dl(r);if(!o)return;const s=t._component;!ee(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},$p=(...e)=>{const t=Op().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=dl(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function dl(e){return ve(e)?document.querySelector(e):e}const Dp=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Mp=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Hp=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Np(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function pl(e,t={}){if(typeof e!="string")return e;const n=e.toLowerCase().trim();if(n==="true")return!0;if(n==="false")return!1;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n!=="undefined"){if(!Hp.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return Dp.test(e)||Mp.test(e)?JSON.parse(e,Np):JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const jp=/#/g,Fp=/&/g,Bp=/=/g,hl=/\+/g,zp=/%5e/gi,Up=/%60/gi,Vp=/%7c/gi,Wp=/%20/gi;function Kp(e){return encodeURI(""+e).replace(Vp,"|")}function Zo(e){return Kp(typeof e=="string"?e:JSON.stringify(e)).replace(hl,"%2B").replace(Wp,"+").replace(jp,"%23").replace(Fp,"%26").replace(Up,"`").replace(zp,"^")}function Ao(e){return Zo(e).replace(Bp,"%3D")}function ml(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function qp(e){return ml(e.replace(hl," "))}function gl(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=ml(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=qp(r[2]||"");typeof t[o]<"u"?Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]:t[o]=s}return t}function Qp(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ao(e)}=${Zo(n)}`).join("&"):`${Ao(e)}=${Zo(t)}`:Ao(e)}function Jp(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Qp(t,e[t])).join("&")}const Xp=/^\w{2,}:([/\\]{1,2})/,Gp=/^\w{2,}:([/\\]{2})?/,Yp=/^([/\\]\s*){2,}[^/\\]/;function Gt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Xp.test(e):Gp.test(e)||(t.acceptRelative?Yp.test(e):!1)}const Zp=/\/$|\/\?/;function es(e="",t=!1){return t?Zp.test(e):e.endsWith("/")}function Qt(e="",t=!1){if(!t)return(es(e)?e.slice(0,-1):e)||"/";if(!es(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function _l(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(es(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function yl(e=""){return e.startsWith("/")}function eh(e=""){return(yl(e)?e.slice(1):e)||"/"}function th(e=""){return yl(e)?e:"/"+e}function vl(e,t){if(bl(t)||Gt(e))return e;const n=Qt(t);return e.startsWith(n)?e:An(n,e)}function ta(e,t){if(bl(t))return e;const n=Qt(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function nh(e,t){const n=lr(e),r={...gl(n.search),...t};return n.search=Jp(r),oh(n)}function bl(e){return!e||e==="/"}function rh(e){return e&&e!=="/"}function An(e,...t){let n=e||"";for(const r of t.filter(o=>rh(o)))n=n?_l(n)+eh(r):r;return n}function lr(e="",t){if(!Gt(e,{acceptRelative:!0}))return t?lr(t+e):na(e);const[n="",r,o=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[s="",i=""]=(o.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=na(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:s,pathname:a,search:c,hash:l}}function na(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function oh(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class sh extends Error{constructor(){super(...arguments),this.name="FetchError"}}function ih(e,t,n){let r="";t&&(r=t.message),e&&n?r=`${r} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(r=`${r} (${e.toString()})`);const o=new sh(r);return Object.defineProperty(o,"request",{get(){return e}}),Object.defineProperty(o,"response",{get(){return n}}),Object.defineProperty(o,"data",{get(){return n&&n._data}}),Object.defineProperty(o,"status",{get(){return n&&n.status}}),Object.defineProperty(o,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(o,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(o,"statusMessage",{get(){return n&&n.statusText}}),o}const ah=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ra(e="GET"){return ah.has(e.toUpperCase())}function ch(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const lh=new Set(["image/svg","application/xml","application/xhtml","application/html"]),uh=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function fh(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return uh.test(t)?"json":lh.has(t)||t.startsWith("text/")?"text":"blob"}const dh=new Set([408,409,425,429,500,502,503,504]);function wl(e){const{fetch:t,Headers:n}=e;function r(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let l;typeof i.options.retry=="number"?l=i.options.retry:l=ra(i.options.method)?0:1;const u=i.response&&i.response.status||500;if(l>0&&dh.has(u))return o(i.request,{...i.options,retry:l-1})}const c=ih(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(a,c={}){const l={request:a,options:{...e.defaults,...c},response:void 0,error:void 0};l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=vl(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=nh(l.request,{...l.options.params,...l.options.query})),l.options.body&&ra(l.options.method)&&ch(l.options.body)&&(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json"))),l.response=await t(l.request,l.options).catch(async f=>(l.error=f,l.options.onRequestError&&await l.options.onRequestError(l),r(l)));const u=(l.options.parseResponse?"json":l.options.responseType)||fh(l.response.headers.get("content-type")||"");if(u==="json"){const f=await l.response.text(),d=l.options.parseResponse||pl;l.response._data=d(f)}else u==="stream"?l.response._data=l.response.body:l.response._data=await l.response[u]();return l.options.onResponse&&await l.options.onResponse(l),l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),r(l)):l.response},s=function(a,c){return o(a,c).then(l=>l._data)};return s.raw=o,s.native=t,s.create=(i={})=>wl({...e,defaults:{...e.defaults,...i}}),s}const El=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),ph=El.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),hh=El.Headers,mh=wl({fetch:ph,Headers:hh}),gh=mh,_h=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},zr=_h().app,yh=()=>zr.baseURL,vh=()=>zr.buildAssetsDir,bh=(...e)=>An(Tl(),vh(),...e),Tl=(...e)=>{const t=zr.cdnURL||zr.baseURL;return e.length?An(t,...e):t};globalThis.__buildAssetsURL=bh,globalThis.__publicAssetsURL=Tl;function ts(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?ts(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const wh={run:e=>e()},Eh=()=>wh,Cl=typeof console.createTask<"u"?console.createTask:Eh;function Th(e,t){const n=t.shift(),r=Cl(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function Ch(e,t){const n=t.shift(),r=Cl(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function So(e,t){for(const n of[...e])n(t)}class Ph{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ts(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=ts(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Th,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Ch,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&So(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&So(this._after,o)}):(this._after&&o&&So(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Pl(){return new Ph}function xh(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;ns.add(l);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{ns.delete(l)}}}}function Ah(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=xh({...e,...r})),t[n],t[n]}}}const Ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},oa="__unctx__",Sh=Ur[oa]||(Ur[oa]=Ah()),Rh=(e,t={})=>Sh.get(e,t),sa="__unctx_async_handlers__",ns=Ur[sa]||(Ur[sa]=new Set);function Vr(e){const t=[];for(const o of ns){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const xl=Rh("nuxt-app"),Ih="__nuxt_plugin";function kh(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.5.0"},get vue(){return n.vueApp.version}},payload:Ue({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>Al(n,o),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Pl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;wr(n,i,s),wr(n.vueApp.config.globalProperties,i,s)},wr(n.vueApp,"$nuxt",n),wr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})});const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=Ue(n.payload.config);return n.provide("config",r),n}async function Oh(e,t){if(typeof t!="function")return;const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}async function Lh(e,t){var o;const n=[],r=[];for(const s of t){const i=Oh(e,s);(o=s.meta)!=null&&o.parallel?n.push(i.catch(a=>r.push(a))):await i}if(await Promise.all(n),r.length)throw r[0]}function $h(e){const t=[];for(const n of e){if(typeof n!="function")continue;let r=n;n.length>1&&(r=o=>n(o,o.provide)),t.push(r)}return t.sort((n,r)=>{var o,s;return(((o=n.meta)==null?void 0:o.order)||Wr.default)-(((s=r.meta)==null?void 0:s.order)||Wr.default)}),t}const Wr={pre:-20,default:0,post:20};function Ve(e,t){var r;if(typeof e=="function")return Ve({setup:e},t);const n=o=>{if(e.hooks&&o.hooks.addHooks(e.hooks),e.setup)return e.setup(o)};return n.meta={name:(t==null?void 0:t.name)||e.name||((r=e.setup)==null?void 0:r.name),parallel:e.parallel,order:(t==null?void 0:t.order)||e.order||Wr[e.enforce||"default"]||Wr.default},n[Ih]=!0,n}function Al(e,t,n){const r=()=>n?t(...n):t();return xl.set(e),e.vueApp.runWithContext(r)}function me(){const e=xl.tryUse();if(!e){const t=wt();if(!t)throw new Error("[nuxt] instance unavailable");return t.appContext.app.$nuxt}return e}function Ze(){return me().$config}function wr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Dh="modulepreload",Mh=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},ia={},Hh=function(t,n,r){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=Mh(s,r),s in ia)return;ia[s]=!0;const i=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===s&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":Dh,i||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),i)return new Promise((u,f)=>{l.addEventListener("load",u),l.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())},k=(...e)=>Hh(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Nh=-1,jh=-2,Fh=-3,Bh=-4,zh=-5,Uh=-6;function Vh(e,t){return Wh(JSON.parse(e),t)}function Wh(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===Nh)return;if(s===Fh)return NaN;if(s===Bh)return 1/0;if(s===zh)return-1/0;if(s===Uh)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t==null?void 0:t[c];if(l)return r[s]=l(o(a[1]));switch(c){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let g=1;g>>9)+65536).toString(16).substring(1,8).toLowerCase()}function rs(e){return Il(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Xh(e){let t=9;for(const n of e)for(let r=0;r>>9)+65536).toString(16).substring(1,8).toLowerCase()}function kl(e,t){const{props:n,tag:r}=e;if(Qh.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function aa(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Er(e,t=!1,n){const{tag:r,$el:o}=e;o&&(Object.entries(r.props).forEach(([s,i])=>{i=String(i);const a=`attr:${s}`;if(s==="class"){if(!i)return;for(const c of i.split(" ")){const l=`${a}:${c}`;n&&n(e,l,()=>o.classList.remove(c)),o.classList.contains(c)||o.classList.add(c)}return}n&&!s.startsWith("data-h-")&&n(e,a,()=>o.removeAttribute(s)),(t||o.getAttribute(s)!==i)&&o.setAttribute(s,i)}),Sl.includes(r.tag)&&(r.textContent&&r.textContent!==o.textContent?o.textContent=r.textContent:r.innerHTML&&r.innerHTML!==o.innerHTML&&(o.innerHTML=r.innerHTML)))}let kn=!1;async function Gh(e,t={}){var d,g;const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||e.resolvedOptions.document||window.document,o=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(kn=kn||e._hash||!1,kn)){const h=Xh(o.map(p=>p.tag._h));if(kn===h)return;kn=h}const s=e._popSideEffectQueue();e.headEntries().map(h=>h._sde).forEach(h=>{Object.entries(h).forEach(([p,w])=>{s[p]=w})});const i=(h,p,w)=>{p=`${h.renderId}:${p}`,h.entry&&(h.entry._sde[p]=w),delete s[p]};function a(h){const p=e.headEntries().find(_=>_._i===h._e),w={renderId:h._d||rs(h),$el:null,shouldRender:!0,tag:h,entry:p,markSideEffect:(_,m)=>i(w,_,m)};return w}const c=[],l={body:[],head:[]},u=h=>{e._elMap[h.renderId]=h.$el,c.push(h),i(h,"el",()=>{var p;(p=h.$el)==null||p.remove(),delete e._elMap[h.renderId]})};for(const h of o){if(await e.hooks.callHook("dom:beforeRenderTag",h),!h.shouldRender)continue;const{tag:p}=h;if(p.tag==="title"){r.title=p.textContent||"",c.push(h);continue}if(p.tag==="htmlAttrs"||p.tag==="bodyAttrs"){h.$el=r[p.tag==="htmlAttrs"?"documentElement":"body"],Er(h,!1,i),c.push(h);continue}if(h.$el=e._elMap[h.renderId],!h.$el&&p.key&&(h.$el=r.querySelector(`${(d=p.tagPosition)!=null&&d.startsWith("body")?"body":"head"} > ${p.tag}[data-h-${p._h}]`)),h.$el){h.tag._d&&Er(h),u(h);continue}l[(g=p.tagPosition)!=null&&g.startsWith("body")?"body":"head"].push(h)}const f={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(l).forEach(([h,p])=>{var _;if(!p.length)return;const w=(_=r==null?void 0:r[h])==null?void 0:_.children;if(w){for(const m of[...w].reverse()){const E=m.tagName.toLowerCase();if(!Rl.includes(E))continue;const v=m.getAttributeNames().reduce((P,M)=>({...P,[M]:m.getAttribute(M)}),{}),C={tag:E,props:v};m.innerHTML&&(C.innerHTML=m.innerHTML);const x=rs(C);let S=p.findIndex(P=>(P==null?void 0:P.renderId)===x);if(S===-1){const P=kl(C);S=p.findIndex(M=>(M==null?void 0:M.tag._d)&&M.tag._d===P)}if(S!==-1){const P=p[S];P.$el=m,Er(P),u(P),delete p[S]}}p.forEach(m=>{const E=m.tag.tagPosition||"head";f[E]=f[E]||r.createDocumentFragment(),m.$el||(m.$el=r.createElement(m.tag.tag),Er(m,!0)),f[E].appendChild(m.$el),u(m)})}}),f.head&&r.head.appendChild(f.head),f.bodyOpen&&r.body.insertBefore(f.bodyOpen,r.body.firstChild),f.bodyClose&&r.body.appendChild(f.bodyClose);for(const h of c)await e.hooks.callHook("dom:renderTag",h);Object.values(s).forEach(h=>h())}let Ro=null;async function Yh(e,t={}){function n(){return Ro=null,Gh(e,t)}const r=t.delayFn||(o=>setTimeout(o,10));return Ro=Ro||new Promise(o=>r(()=>o(n())))}function Zh(e){return{hooks:{"entries:updated":function(t){if(typeof(e==null?void 0:e.document)>"u"&&typeof window>"u")return;let n=e==null?void 0:e.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),Yh(t,{document:(e==null?void 0:e.document)||window.document,delayFn:n})}}}}function em(e){var t;return((t=e==null?void 0:e.head.querySelector('meta[name="unhead:ssr"]'))==null?void 0:t.getAttribute("content"))||!1}const ca={critical:2,high:9,low:12,base:-1,title:1,meta:10};function la(e){if(typeof e.tagPriority=="number")return e.tagPriority;if(e.tag==="meta"){if(e.props.charset)return-2;if(e.props["http-equiv"]==="content-security-policy")return 0}const t=e.tagPriority||e.tag;return t in ca?ca[t]:10}const tm=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function nm(){return{hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of tm)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>la(n)-la(r))}}}}function rm(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=aa(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=aa(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function om(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const sm=["link","style","script","noscript"];function im(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=rs(e)),e.key&&sm.includes(e.tag)&&(e._h=Il(e.key),e.props[`data-h-${e._h}`]="")}}}}const ua=["script","link","bodyAttrs"];function am(){const e=(t,n)=>{const r={},o={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?o[i]=a:r[i]=a});let s;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof o.onload<"u"&&(s=r.src,delete r.src),{props:r,eventHandlers:o,delayedSrc:s}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!ua.includes(n.tag)||!Object.entries(n.props).find(([r,o])=>r.startsWith("on")&&typeof o=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!ua.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([s,i])=>s.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:r,delayedSrc:o}=e("dom",t.tag);Object.keys(r).length&&(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=o)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([o,s])=>{const i=`${t.tag._d||t.tag._p}:${o}`,a=o.slice(2).toLowerCase(),c=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(c))return;const l=s;n.setAttribute(c,""),r.addEventListener(a,l),t.entry&&(t.entry._sde[i]=()=>{r.removeEventListener(a,l),n.removeAttribute(c)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const cm=["templateParams","htmlAttrs","bodyAttrs"];function lm(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=kl(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&cm.includes(r.tag)&&(a="merge"),a==="merge"){const c=s.props;["class","style"].forEach(l=>{r.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),r.props[l]=`${c[l]} ${r.props[l]}`)}),t[o].props={...c,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Rl.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n}}}}function Tr(e,t){function n(s){if(["s","pageTitle"].includes(s))return t.pageTitle;let i;return s.includes(".")?i=s.split(".").reduce((a,c)=>a&&a[c]||void 0,t):i=t[s],typeof i<"u"?i||"":!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const i=n(s.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),`${i}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function um(){return{hooks:{"tags:resolve":e=>{var s;const{tags:t}=e,n=(s=t.find(i=>i.tag==="title"))==null?void 0:s.textContent,r=t.findIndex(i=>i.tag==="templateParams"),o=r!==-1?t[r].props:{};o.pageTitle=o.pageTitle||n||"";for(const i of t)if(["titleTemplate","title"].includes(i.tag)&&typeof i.textContent=="string")i.textContent=Tr(i.textContent,o);else if(i.tag==="meta"&&typeof i.props.content=="string")i.props.content=Tr(i.props.content,o);else if(i.tag==="link"&&typeof i.props.href=="string")i.props.href=Tr(i.props.href,o);else if(i.tag==="script"&&["application/json","application/ld+json"].includes(i.props.type)&&typeof i.innerHTML=="string")try{i.innerHTML=JSON.stringify(JSON.parse(i.innerHTML),(a,c)=>typeof c=="string"?Tr(c,o):c)}catch{}e.tags=t.filter(i=>i.tag!=="templateParams")}}}}const fm=typeof window<"u";let Ol;function dm(e){return Ol=e}function pm(){return Ol}async function hm(e,t){const n={tag:e,props:{}};return e==="templateParams"?(n.props=t,n):["title","titleTemplate"].includes(e)?(n.textContent=t instanceof Promise?await t:t,n):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?n.props.src=t:n.innerHTML=t,n):!1:(n.props=await gm(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(r=>Jh.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||Sl.includes(n.tag))&&(n[r]=n.props[r]),delete n.props[r]}),["innerHTML","textContent"].forEach(r=>{if(n.tag==="script"&&typeof n[r]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[r]=JSON.parse(n[r])}catch{n[r]=""}typeof n[r]=="object"&&(n[r]=JSON.stringify(n[r]))}),n.props.class&&(n.props.class=mm(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(r=>({...n,props:{...n.props,content:r}})):n)}function mm(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function gm(e,t){for(const n of Object.keys(t)){const r=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=r?"true":"":String(t[n])==="false"&&(r?t[n]="false":delete t[n])}return t}const _m=10;async function ym(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&qh.includes(n)).forEach(([n,r])=>{const o=Kh(r);t.push(...o.map(s=>hm(n,s)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,n._p=(e._i<<_m)+r,n))}function vm(){return[lm(),nm(),um(),rm(),im(),am(),om()]}function bm(e={}){return[Zh({document:e==null?void 0:e.document,delayFn:e==null?void 0:e.domDelayFn})]}function wm(e={}){const t=Em({...e,plugins:[...bm(e),...(e==null?void 0:e.plugins)||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=em(t.resolvedOptions.document)),dm(t),t}function Em(e={}){let t=[],n={},r=0;const o=Pl();e!=null&&e.hooks&&o.addHooks(e.hooks),e.plugins=[...vm(),...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(a=>a.hooks&&o.addHooks(a.hooks)),e.document=e.document||(fm?document:void 0);const s=()=>o.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return o},use(a){a.hooks&&o.addHooks(a.hooks)},push(a,c){const l={_i:r++,input:a,_sde:{}};return c!=null&&c.mode&&(l._m=c==null?void 0:c.mode),c!=null&&c.transform&&(l._t=c==null?void 0:c.transform),t.push(l),s(),{dispose(){t=t.filter(u=>u._i!==l._i?!0:(n={...n,...u._sde||{}},u._sde={},s(),!1))},patch(u){t=t.map(f=>(f._i===l._i&&(l.input=f.input=u,s()),f))}}},async resolveTags(){const a={tags:[],entries:[...t]};await o.callHook("entries:resolve",a);for(const c of a.entries){const l=c._t||(u=>u);if(c.resolvedInput=l(c.resolvedInput||c.input),c.resolvedInput)for(const u of await ym(c)){const f={tag:u,entry:c,resolvedOptions:i.resolvedOptions};await o.callHook("tag:normalise",f),a.tags.push(f.tag)}}return await o.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function Tm(e){return typeof e=="function"?e():$(e)}function Kr(e,t=""){if(e instanceof Promise)return e;const n=Tm(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Kr(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,$(o)]:[r,Kr(o,r)])):n}const Cm=ll.startsWith("3"),Pm=typeof window<"u",Ll="usehead";function Js(){return wt()&&Fe(Ll)||pm()}function xm(e){return{install(n){Cm&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ll,e))}}.install}function Am(e={}){const t=wm({...e,domDelayFn:n=>setTimeout(()=>Xt(()=>n()),10),plugins:[Sm(),...(e==null?void 0:e.plugins)||[]]});return t.install=xm(t),t}function Sm(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Kr(t.input)}}}}function Rm(e,t={}){const n=Js(),r=be(!1),o=be({});id(()=>{o.value=r.value?{}:Kr(e)});const s=n.push(o.value,t);return Ie(o,a=>{s.patch(a)}),wt()&&(xn(()=>{s.dispose()}),Bc(()=>{r.value=!0}),Fc(()=>{r.value=!1})),s}function Im(e,t={}){return Js().push(e,t)}function qr(e,t={}){var r;const n=Js();if(n){const o=Pm||!!((r=n.resolvedOptions)!=null&&r.document);return t.mode==="server"&&o||t.mode==="client"&&!o?void 0:o?Rm(e,t):Im(e,t)}}const km={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[{rel:"icon",type:"image/x-icon",href:"/mongoose-icon.svg"}],style:[],script:[],noscript:[],htmlAttrs:{lang:"en"}},lE=!1,os=!1,Om=!1,Lm="__nuxt",$m=!0;function fa(e,t={}){const n=Dm(e,t),r=me(),o=r._payloadCache=r._payloadCache||{};return o[n]||(o[n]=$l(n).then(s=>s||(delete o[n],null))),o[n]}const da="json";function Dm(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Gt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return An(Ze().app.baseURL,n.pathname,r?`_payload.${r}.${da}`:`_payload.${da}`)}async function $l(e){try{return $m?Dl(await fetch(e).then(t=>t.text())):await k(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function Mm(){return!!me().payload.prerenderedAt}let Cr=null;async function Hm(){if(Cr)return Cr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Dl(e.textContent||""),n=e.dataset.src?await $l(e.dataset.src):void 0;return Cr={...t,...n,...window.__NUXT__},Cr}function Dl(e){return Vh(e,me()._payloadRevivers)}function Nm(e,t){me()._payloadRevivers[e]=t}const Pr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function jm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=(t||{}).decode||zm;let s=0;for(;st.reduce((n,r)=>ss(n,r,"",e),{})}const Sr=Ml(),Vm=Ml((e,t,n)=>{if(typeof e[t]<"u"&&typeof n=="function")return e[t]=n(e[t]),!0});class is extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:cs(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Hl(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}is.__h3_error__=!0;function as(e){if(typeof e=="string")return new is(e);if(Wm(e))return e;const t=new is(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=cs(e.statusCode,t.statusCode):e.status&&(t.statusCode=cs(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Hl(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Wm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Km=/[^\u0009\u0020-\u007E]/g;function Hl(e=""){return e.replace(Km,"")}function cs(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}function ut(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o="$s"+n,s=me(),i=xc(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(Ae(a))return s.payload.state[o]=a,a;i.value=a}return i}const Et=()=>{var e;return(e=me())==null?void 0:e.$router},dt=()=>Od()?Fe("_route",me()._route):me()._route,qm=e=>e,Qm=(e,t,n={})=>{const r=me(),o=n.global||typeof e!="string",s=typeof e!="string"?e:t;if(!s){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?r._middleware.global.push(s):r._middleware.named[e]=s},Jm=()=>{try{if(me()._processingMiddleware)return!0}catch{return!0}return!1},Nl=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:e.path||"/",r=(t==null?void 0:t.external)||Gt(n,{acceptRelative:!0});if(r&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(r&&lr(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const o=Jm();if(!r&&o)return e;const s=Et();return r?(t!=null&&t.replace?location.replace(n):location.href=n,Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},uo=()=>xc(me().payload,"error"),on=e=>{const t=Xs(e);try{const n=me(),r=uo();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Xm=async(e={})=>{const t=me(),n=uo();t.callHook("app:error:cleared",e),e.redirect&&await Et().replace(e.redirect),n.value=null},Gm=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Xs=e=>{const t=as(e);return t.__nuxt_error=!0,t},ha={NuxtError:e=>Xs(e),EmptyShallowRef:e=>Xn(e==="_"?void 0:JSON.parse(e)),EmptyRef:e=>be(e==="_"?void 0:JSON.parse(e)),ShallowRef:e=>Xn(e),ShallowReactive:e=>yc(e),Ref:e=>be(e),Reactive:e=>Ue(e)},Ym=Ve({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in ha)Nm(r,ha[r]);Object.assign(e.payload,([t,n]=Vr(()=>e.runWithContext(Hm)),t=await t,n(),t)),window.__NUXT__=e.payload}},1),Zm=D(()=>k(()=>Promise.resolve().then(()=>dw),void 0,import.meta.url).then(e=>e.default)),eg=D(()=>k(()=>Promise.resolve().then(()=>Xw),void 0,import.meta.url).then(e=>e.default)),tg=D(()=>k(()=>Promise.resolve().then(()=>zw),void 0,import.meta.url).then(e=>e.default)),ng=D(()=>k(()=>Promise.resolve().then(()=>iw),void 0,import.meta.url).then(e=>e.default)),rg=D(()=>k(()=>Promise.resolve().then(()=>yw),void 0,import.meta.url).then(e=>e.default)),og=D(()=>k(()=>Promise.resolve().then(()=>ww),void 0,import.meta.url).then(e=>e.default)),sg=D(()=>k(()=>Promise.resolve().then(()=>eE),void 0,import.meta.url).then(e=>e.default)),ig=D(()=>k(()=>Promise.resolve().then(()=>j0),void 0,import.meta.url).then(e=>e.default)),ag=D(()=>k(()=>Promise.resolve().then(()=>Aw),void 0,import.meta.url).then(e=>e.default)),cg=D(()=>k(()=>Promise.resolve().then(()=>Jb),void 0,import.meta.url).then(e=>e.default)),lg=D(()=>k(()=>import("./DocumentDrivenNotFound.fc29f11a.js"),["./DocumentDrivenNotFound.fc29f11a.js","./ButtonLink.7b7e2d25.js","./ContentSlot.725c9014.js","./ButtonLink.74c3aea5.css","./DocumentDrivenNotFound.b9a06f3f.css"],import.meta.url).then(e=>e.default)),ug=D(()=>k(()=>import("./Ellipsis.73152087.js"),["./Ellipsis.73152087.js","./Ellipsis.8dde0a34.css"],import.meta.url).then(e=>e.default)),fg=D(()=>k(()=>Promise.resolve().then(()=>$w),void 0,import.meta.url).then(e=>e.default)),dg=D(()=>k(()=>import("./DocsAside.72ea4d6e.js"),["./DocsAside.72ea4d6e.js","./DocsAside.93fb97b1.css"],import.meta.url).then(e=>e.default)),pg=D(()=>k(()=>Promise.resolve().then(()=>tw),void 0,import.meta.url).then(e=>e.default)),hg=D(()=>k(()=>import("./DocsPageBottom.4b461a23.js"),["./DocsPageBottom.4b461a23.js","./ProseA.c5ff1621.js","./ProseA.baee409d.css","./EditOnLink.vue.0c5bf15e.js","./DocsPageBottom.ed3d15ba.css"],import.meta.url).then(e=>e.default)),mg=D(()=>k(()=>import("./DocsPageLayout.8f980530.js"),["./DocsPageLayout.8f980530.js","./DocsAside.72ea4d6e.js","./DocsAside.93fb97b1.css","./ProseCodeInline.b7a651bb.js","./ProseCodeInline.873c7ac7.css","./Alert.67812a3c.js","./ContentSlot.725c9014.js","./Alert.dcca94b5.css","./DocsPageBottom.4b461a23.js","./ProseA.c5ff1621.js","./ProseA.baee409d.css","./EditOnLink.vue.0c5bf15e.js","./DocsPageBottom.ed3d15ba.css","./DocsPrevNext.4cf934f2.js","./DocsPrevNext.993701ce.css","./DocsToc.ef429e13.js","./DocsTocLinks.92064971.js","./DocsTocLinks.f2cb44fe.css","./DocsToc.54ec0b10.css","./DocsPageLayout.613dfac8.css"],import.meta.url).then(e=>e.default)),gg=D(()=>k(()=>import("./DocsPrevNext.4cf934f2.js"),["./DocsPrevNext.4cf934f2.js","./DocsPrevNext.993701ce.css"],import.meta.url).then(e=>e.default)),_g=D(()=>k(()=>import("./DocsToc.ef429e13.js"),["./DocsToc.ef429e13.js","./DocsTocLinks.92064971.js","./DocsTocLinks.f2cb44fe.css","./DocsToc.54ec0b10.css"],import.meta.url).then(e=>e.default)),yg=D(()=>k(()=>import("./DocsTocLinks.92064971.js"),["./DocsTocLinks.92064971.js","./DocsTocLinks.f2cb44fe.css"],import.meta.url).then(e=>e.default)),vg=D(()=>k(()=>import("./EditOnLink.d791caa8.js"),["./EditOnLink.d791caa8.js","./EditOnLink.vue.0c5bf15e.js"],import.meta.url).then(e=>e.default)),bg=D(()=>k(()=>import("./SourceLink.74792f8e.js"),["./SourceLink.74792f8e.js","./ProseP.2d3578ce.js","./ProseP.b99f89cd.css"],import.meta.url).then(e=>e.default)),wg=D(()=>k(()=>import("./ProseA.c5ff1621.js"),["./ProseA.c5ff1621.js","./ProseA.baee409d.css"],import.meta.url).then(e=>e.default)),Eg=D(()=>k(()=>import("./ProseBlockquote.cdef9469.js"),["./ProseBlockquote.cdef9469.js","./ProseBlockquote.0eef9772.css"],import.meta.url).then(e=>e.default)),Tg=D(()=>k(()=>import("./ProseCode.a6112aad.js"),["./ProseCode.a6112aad.js","./index.9d1c1506.js","./ProseCode.07e596a7.css"],import.meta.url).then(e=>e.default)),Cg=D(()=>k(()=>import("./ProseCodeInline.b7a651bb.js"),["./ProseCodeInline.b7a651bb.js","./ProseCodeInline.873c7ac7.css"],import.meta.url).then(e=>e.default)),Pg=D(()=>k(()=>import("./ProseEm.ee2a244d.js"),["./ProseEm.ee2a244d.js","./ProseEm.35a26f4d.css"],import.meta.url).then(e=>e.default)),xg=D(()=>k(()=>import("./ProseH1.2452ef57.js"),["./ProseH1.2452ef57.js","./ProseH1.48e3ee79.css"],import.meta.url).then(e=>e.default)),Ag=D(()=>k(()=>import("./ProseH2.cf849b55.js"),["./ProseH2.cf849b55.js","./ProseH2.cc4fedda.css"],import.meta.url).then(e=>e.default)),Sg=D(()=>k(()=>import("./ProseH3.86ea161f.js"),["./ProseH3.86ea161f.js","./ProseH3.60b6f0cb.css"],import.meta.url).then(e=>e.default)),Rg=D(()=>k(()=>import("./ProseH4.3236b3b0.js"),["./ProseH4.3236b3b0.js","./ProseH4.b0dd3c9c.css"],import.meta.url).then(e=>e.default)),Ig=D(()=>k(()=>import("./ProseH5.1f5561d7.js"),["./ProseH5.1f5561d7.js","./ProseH5.f1047c93.css"],import.meta.url).then(e=>e.default)),kg=D(()=>k(()=>import("./ProseH6.82ccf283.js"),["./ProseH6.82ccf283.js","./ProseH6.d217464f.css"],import.meta.url).then(e=>e.default)),Og=D(()=>k(()=>import("./ProseHr.561cf66e.js"),["./ProseHr.561cf66e.js","./ProseHr.51db3351.css"],import.meta.url).then(e=>e.default)),Lg=D(()=>k(()=>import("./ProseImg.56b34672.js"),["./ProseImg.56b34672.js","./ProseImg.eeea4224.css"],import.meta.url).then(e=>e.default)),$g=D(()=>k(()=>import("./ProseLi.ee3d02d1.js"),["./ProseLi.ee3d02d1.js","./ProseLi.a0b5f8a8.css"],import.meta.url).then(e=>e.default)),Dg=D(()=>k(()=>import("./ProseOl.2f8bae7e.js"),["./ProseOl.2f8bae7e.js","./ProseOl.c1244fbe.css"],import.meta.url).then(e=>e.default)),Mg=D(()=>k(()=>import("./ProseP.2d3578ce.js"),["./ProseP.2d3578ce.js","./ProseP.b99f89cd.css"],import.meta.url).then(e=>e.default)),Hg=D(()=>k(()=>import("./ProseStrong.31c377ca.js"),["./ProseStrong.31c377ca.js","./ProseStrong.b01d4b3b.css"],import.meta.url).then(e=>e.default)),Ng=D(()=>k(()=>import("./ProseTable.4c735734.js"),["./ProseTable.4c735734.js","./ProseTable.d34ed667.css"],import.meta.url).then(e=>e.default)),jg=D(()=>k(()=>import("./ProseTbody.a58122e4.js"),[],import.meta.url).then(e=>e.default)),Fg=D(()=>k(()=>import("./ProseTd.879b42af.js"),["./ProseTd.879b42af.js","./ProseTd.30dfa955.css"],import.meta.url).then(e=>e.default)),Bg=D(()=>k(()=>import("./ProseTh.ffa0ed16.js"),["./ProseTh.ffa0ed16.js","./ProseTh.b9477385.css"],import.meta.url).then(e=>e.default)),zg=D(()=>k(()=>import("./ProseThead.8c57fbed.js"),["./ProseThead.8c57fbed.js","./ProseThead.01a5506b.css"],import.meta.url).then(e=>e.default)),Ug=D(()=>k(()=>import("./ProseTr.c9eb84d1.js"),["./ProseTr.c9eb84d1.js","./ProseTr.a14ca635.css"],import.meta.url).then(e=>e.default)),Vg=D(()=>k(()=>import("./ProseUl.ea2806f7.js"),["./ProseUl.ea2806f7.js","./ProseUl.a02dec6f.css"],import.meta.url).then(e=>e.default)),Wg=D(()=>k(()=>import("./Alert.67812a3c.js"),["./Alert.67812a3c.js","./ContentSlot.725c9014.js","./Alert.dcca94b5.css"],import.meta.url).then(e=>e.default)),Kg=D(()=>k(()=>import("./Badge.36286601.js"),["./Badge.36286601.js","./ContentSlot.725c9014.js","./Badge.8408a4a3.css"],import.meta.url).then(e=>e.default)),qg=D(()=>k(()=>import("./ButtonLink.7b7e2d25.js"),["./ButtonLink.7b7e2d25.js","./ContentSlot.725c9014.js","./ButtonLink.74c3aea5.css"],import.meta.url).then(e=>e.default)),Qg=D(()=>k(()=>import("./Callout.2a3a3366.js"),["./Callout.2a3a3366.js","./ContentSlot.725c9014.js","./Callout.f4810d25.css"],import.meta.url).then(e=>e.default)),Jg=D(()=>k(()=>import("./CodeBlock.1051c725.js"),["./CodeBlock.1051c725.js","./CodeBlock.f192b7ea.css"],import.meta.url).then(e=>e.default)),Xg=D(()=>k(()=>import("./CodeGroup.f03e63d1.js"),["./CodeGroup.f03e63d1.js","./TabsHeader.ecb32c9c.js","./TabsHeader.f1dd239e.css","./CodeGroup.890662e9.css"],import.meta.url).then(e=>e.default)),Gg=D(()=>k(()=>Promise.resolve().then(()=>Mw),void 0,import.meta.url).then(e=>e.default)),Yg=D(()=>k(()=>import("./CopyButton.be7cffec.js"),["./CopyButton.be7cffec.js","./index.9d1c1506.js"],import.meta.url).then(e=>e.default)),Zg=D(()=>k(()=>import("./List.32b85bf9.js"),["./List.32b85bf9.js","./ContentSlot.725c9014.js","./List.06ab62c2.css"],import.meta.url).then(e=>e.default)),e_=D(()=>k(()=>import("./NuxtImg.b4d6da68.js"),["./NuxtImg.b4d6da68.js","./NuxtImg.vue.ca83f6df.js"],import.meta.url).then(e=>e.default)),t_=D(()=>k(()=>import("./Props.c69907e8.js"),["./Props.c69907e8.js","./ProseTh.ffa0ed16.js","./ProseTh.b9477385.css","./ProseTr.c9eb84d1.js","./ProseTr.a14ca635.css","./ProseThead.8c57fbed.js","./ProseThead.01a5506b.css","./ProseCodeInline.b7a651bb.js","./ProseCodeInline.873c7ac7.css","./ProseTd.879b42af.js","./ProseTd.30dfa955.css","./ProseTbody.a58122e4.js","./ProseTable.4c735734.js","./ProseTable.d34ed667.css","./asyncData.b0a53602.js"],import.meta.url).then(e=>e.default)),n_=D(()=>k(()=>import("./Sandbox.7607cf49.js"),["./Sandbox.7607cf49.js","./TabsHeader.ecb32c9c.js","./TabsHeader.f1dd239e.css","./Sandbox.452b6404.css"],import.meta.url).then(e=>e.default)),r_=D(()=>k(()=>import("./TabsHeader.ecb32c9c.js"),["./TabsHeader.ecb32c9c.js","./TabsHeader.f1dd239e.css"],import.meta.url).then(e=>e.default)),o_=D(()=>k(()=>import("./Terminal.ec98784b.js"),["./Terminal.ec98784b.js","./index.9d1c1506.js","./Terminal.2f29184f.css"],import.meta.url).then(e=>e.default)),s_=D(()=>k(()=>import("./VideoPlayer.29447bcb.js"),["./VideoPlayer.29447bcb.js","./NuxtImg.vue.ca83f6df.js","./VideoPlayer.f1611332.css"],import.meta.url).then(e=>e.default)),i_=D(()=>k(()=>import("./IconCodeSandBox.99d6ef65.js"),[],import.meta.url).then(e=>e.default)),a_=D(()=>k(()=>import("./IconDocus.d489610c.js"),[],import.meta.url).then(e=>e.default)),c_=D(()=>k(()=>import("./IconNuxt.3f93e1c4.js"),[],import.meta.url).then(e=>e.default)),l_=D(()=>k(()=>import("./IconNuxtContent.9d1cdb08.js"),[],import.meta.url).then(e=>e.default)),u_=D(()=>k(()=>import("./IconNuxtLabs.fd37cfef.js"),[],import.meta.url).then(e=>e.default)),f_=D(()=>k(()=>import("./IconNuxtStudio.181cfe8e.js"),["./IconNuxtStudio.181cfe8e.js","./IconNuxtStudio.18603c63.css"],import.meta.url).then(e=>e.default)),d_=D(()=>k(()=>import("./IconStackBlitz.77aa8391.js"),[],import.meta.url).then(e=>e.default)),p_=D(()=>k(()=>import("./IconVueTelescope.86cd0418.js"),[],import.meta.url).then(e=>e.default)),h_=D(()=>k(()=>import("./BlockHero.50dbdff5.js"),["./BlockHero.50dbdff5.js","./ContentSlot.725c9014.js","./ButtonLink.7b7e2d25.js","./ButtonLink.74c3aea5.css","./Terminal.ec98784b.js","./index.9d1c1506.js","./Terminal.2f29184f.css","./VideoPlayer.29447bcb.js","./NuxtImg.vue.ca83f6df.js","./VideoPlayer.f1611332.css","./BlockHero.159952b0.css"],import.meta.url).then(e=>e.default)),m_=D(()=>k(()=>import("./Card.d48adef9.js"),["./Card.d48adef9.js","./ContentSlot.725c9014.js","./Card.6d4d1e95.css"],import.meta.url).then(e=>e.default)),g_=D(()=>k(()=>import("./CardGrid.4d12fe88.js"),["./CardGrid.4d12fe88.js","./ContentSlot.725c9014.js","./CardGrid.0dc99038.css"],import.meta.url).then(e=>e.default)),__=D(()=>k(()=>import("./VoltaBoard.19a643dc.js"),["./VoltaBoard.19a643dc.js","./VoltaBoard.a5d6b336.css"],import.meta.url).then(e=>e.default)),y_=D(()=>k(()=>import("./ComponentPlayground.1139c1be.js"),["./ComponentPlayground.1139c1be.js","./asyncData.b0a53602.js","./ComponentPlaygroundData.7c5569f3.js","./TabsHeader.ecb32c9c.js","./TabsHeader.f1dd239e.css","./ComponentPlaygroundProps.3f583f36.js","./ProseH4.3236b3b0.js","./ProseH4.b0dd3c9c.css","./ProseCodeInline.b7a651bb.js","./ProseCodeInline.873c7ac7.css","./Badge.36286601.js","./ContentSlot.725c9014.js","./Badge.8408a4a3.css","./ProseP.2d3578ce.js","./ProseP.b99f89cd.css","./index.9d1c1506.js","./ComponentPlaygroundProps.68721060.css","./ComponentPlaygroundSlots.vue.28d4f6c9.js","./ComponentPlaygroundTokens.vue.8b918a33.js","./ComponentPlaygroundData.b6ce71d5.css","./ComponentPlayground.a4479924.css"],import.meta.url).then(e=>e.default)),v_=D(()=>k(()=>import("./ComponentPlaygroundData.7c5569f3.js"),["./ComponentPlaygroundData.7c5569f3.js","./TabsHeader.ecb32c9c.js","./TabsHeader.f1dd239e.css","./ComponentPlaygroundProps.3f583f36.js","./ProseH4.3236b3b0.js","./ProseH4.b0dd3c9c.css","./ProseCodeInline.b7a651bb.js","./ProseCodeInline.873c7ac7.css","./Badge.36286601.js","./ContentSlot.725c9014.js","./Badge.8408a4a3.css","./ProseP.2d3578ce.js","./ProseP.b99f89cd.css","./index.9d1c1506.js","./ComponentPlaygroundProps.68721060.css","./ComponentPlaygroundSlots.vue.28d4f6c9.js","./ComponentPlaygroundTokens.vue.8b918a33.js","./ComponentPlaygroundData.b6ce71d5.css"],import.meta.url).then(e=>e.default)),b_=D(()=>k(()=>import("./ComponentPlaygroundProps.3f583f36.js"),["./ComponentPlaygroundProps.3f583f36.js","./ProseH4.3236b3b0.js","./ProseH4.b0dd3c9c.css","./ProseCodeInline.b7a651bb.js","./ProseCodeInline.873c7ac7.css","./Badge.36286601.js","./ContentSlot.725c9014.js","./Badge.8408a4a3.css","./ProseP.2d3578ce.js","./ProseP.b99f89cd.css","./index.9d1c1506.js","./ComponentPlaygroundProps.68721060.css"],import.meta.url).then(e=>e.default)),w_=D(()=>k(()=>import("./ComponentPlaygroundSlots.9e073aeb.js"),["./ComponentPlaygroundSlots.9e073aeb.js","./ComponentPlaygroundSlots.vue.28d4f6c9.js"],import.meta.url).then(e=>e.default)),E_=D(()=>k(()=>import("./ComponentPlaygroundTokens.c013a3a5.js"),["./ComponentPlaygroundTokens.c013a3a5.js","./ComponentPlaygroundTokens.vue.8b918a33.js"],import.meta.url).then(e=>e.default)),T_=D(()=>k(()=>import("./PreviewLayout.afd75d63.js"),["./PreviewLayout.afd75d63.js","./PreviewLayout.d562786d.css"],import.meta.url).then(e=>e.default)),C_=D(()=>k(()=>import("./TokensPlayground.1a087e87.js"),[],import.meta.url).then(e=>e.default)),P_=D(()=>k(()=>import("./ContentDoc.5263eb6c.js"),["./ContentDoc.5263eb6c.js","./ContentRenderer.54f7a8d2.js","./ContentRendererMarkdown.d1672c0f.js","./ContentQuery.d034fecd.js","./asyncData.b0a53602.js"],import.meta.url).then(e=>e.default)),x_=D(()=>k(()=>import("./ContentList.afeacef6.js"),["./ContentList.afeacef6.js","./ContentQuery.d034fecd.js","./asyncData.b0a53602.js"],import.meta.url).then(e=>e.default)),A_=D(()=>k(()=>import("./ContentNavigation.58abeb31.js"),["./ContentNavigation.58abeb31.js","./asyncData.b0a53602.js"],import.meta.url).then(e=>e.default)),S_=D(()=>k(()=>import("./ContentQuery.d034fecd.js"),["./ContentQuery.d034fecd.js","./asyncData.b0a53602.js"],import.meta.url).then(e=>e.default)),R_=D(()=>k(()=>import("./ContentRenderer.54f7a8d2.js"),["./ContentRenderer.54f7a8d2.js","./ContentRendererMarkdown.d1672c0f.js"],import.meta.url).then(e=>e.default)),I_=D(()=>k(()=>import("./ContentRendererMarkdown.d1672c0f.js"),[],import.meta.url).then(e=>e.default)),k_=D(()=>k(()=>import("./ContentSlot.725c9014.js"),[],import.meta.url).then(e=>e.default)),O_=D(()=>k(()=>import("./DocumentDrivenEmpty.a1939bad.js"),[],import.meta.url).then(e=>e.default)),L_=D(()=>k(()=>import("./Markdown.916a9d8a.js"),["./Markdown.916a9d8a.js","./ContentSlot.725c9014.js"],import.meta.url).then(e=>e.default)),$_=D(()=>k(()=>Promise.resolve().then(()=>qb),void 0,import.meta.url).then(e=>e.default)),D_=D(()=>k(()=>import("./IconCSS.3c69444c.js"),["./IconCSS.3c69444c.js","./IconCSS.8da48618.css"],import.meta.url).then(e=>e.default)),M_=[["Logo",Zm],["AppFooter",eg],["AppHeader",tg],["AppHeaderDialog",ng],["AppHeaderLogo",rg],["AppHeaderNavigation",og],["AppLayout",sg],["AppLoadingBar",ig],["AppSearch",ag],["AppSocialIcons",cg],["DocumentDrivenNotFound",lg],["Ellipsis",ug],["ThemeSelect",fg],["DocsAside",dg],["DocsAsideTree",pg],["DocsPageBottom",hg],["DocsPageLayout",mg],["DocsPrevNext",gg],["DocsToc",_g],["DocsTocLinks",yg],["EditOnLink",vg],["SourceLink",bg],["ProseA",wg],["ProseBlockquote",Eg],["ProseCode",Tg],["ProseCodeInline",Cg],["ProseEm",Pg],["ProseH1",xg],["ProseH2",Ag],["ProseH3",Sg],["ProseH4",Rg],["ProseH5",Ig],["ProseH6",kg],["ProseHr",Og],["ProseImg",Lg],["ProseLi",$g],["ProseOl",Dg],["ProseP",Mg],["ProseStrong",Hg],["ProseTable",Ng],["ProseTbody",jg],["ProseTd",Fg],["ProseTh",Bg],["ProseThead",zg],["ProseTr",Ug],["ProseUl",Vg],["Alert",Wg],["Badge",Kg],["ButtonLink",qg],["Callout",Qg],["CodeBlock",Jg],["CodeGroup",Xg],["Container",Gg],["CopyButton",Yg],["List",Zg],["NuxtImg",e_],["Props",t_],["Sandbox",n_],["TabsHeader",r_],["Terminal",o_],["VideoPlayer",s_],["IconCodeSandBox",i_],["IconDocus",a_],["IconNuxt",c_],["IconNuxtContent",l_],["IconNuxtLabs",u_],["IconNuxtStudio",f_],["IconStackBlitz",d_],["IconVueTelescope",p_],["BlockHero",h_],["Card",m_],["CardGrid",g_],["VoltaBoard",__],["ComponentPlayground",y_],["ComponentPlaygroundData",v_],["ComponentPlaygroundProps",b_],["ComponentPlaygroundSlots",w_],["ComponentPlaygroundTokens",E_],["PreviewLayout",T_],["TokensPlayground",C_],["ContentDoc",P_],["ContentList",x_],["ContentNavigation",A_],["ContentQuery",S_],["ContentRenderer",R_],["ContentRendererMarkdown",I_],["ContentSlot",k_],["DocumentDrivenEmpty",O_],["Markdown",L_],["Icon",$_],["IconCSS",D_]],H_=Ve({name:"nuxt:global-components",setup(e){for(const[t,n]of M_)e.vueApp.component(t,n),e.vueApp.component("Lazy"+t,n)}}),N_=Ve({name:"nuxt:head",setup(e){const n=Am();n.push(km),e.vueApp.use(n);{let r=!0;const o=()=>{r=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",o),e.hooks.hook("app:suspense:resolve",o)}}});/*! * vue-router v4.2.2 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const nn=typeof window<"u";function j_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fe=Object.assign;function ko(e,t){const n={};for(const r in t){const o=t[r];n[r]=ot(o)?o.map(e):e(o)}return n}const Vn=()=>{},ot=Array.isArray,F_=/\/$/,B_=e=>e.replace(F_,"");function Oo(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=W_(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function z_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ma(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function U_(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&_n(t.matched[r],n.matched[o])&&jl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!V_(e[n],t[n]))return!1;return!0}function V_(e,t){return ot(e)?ga(e,t):ot(t)?ga(t,e):e===t}function ga(e,t){return ot(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function W_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var nr;(function(e){e.pop="pop",e.push="push"})(nr||(nr={}));var Wn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Wn||(Wn={}));function K_(e){if(!e)if(nn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),B_(e)}const q_=/^[^#]+#/;function Q_(e,t){return e.replace(q_,"#")+t}function J_(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const fo=()=>({left:window.pageXOffset,top:window.pageYOffset});function X_(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=J_(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _a(e,t){return(history.state?history.state.position-t:-1)+e}const ls=new Map;function G_(e,t){ls.set(e,t)}function Y_(e){const t=ls.get(e);return ls.delete(e),t}let Z_=()=>location.protocol+"//"+location.host;function Fl(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),ma(c,"")}return ma(n,e)+r+o}function ey(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const g=Fl(e,location),h=n.value,p=t.value;let w=0;if(d){if(n.value=g,t.value=d,i&&i===h){i=null;return}w=p?d.position-p.position:0}else r(g);o.forEach(_=>{_(n.value,h,{delta:w,type:nr.pop,direction:w?w>0?Wn.forward:Wn.back:Wn.unknown})})};function c(){i=n.value}function l(d){o.push(d);const g=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(g),g}function u(){const{history:d}=window;d.state&&d.replaceState(fe({},d.state,{scroll:fo()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function ya(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?fo():null}}function ty(e){const{history:t,location:n}=window,r={value:Fl(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Z_()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function i(c,l){const u=fe({},t.state,ya(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});s(c,u,!0),r.value=c}function a(c,l){const u=fe({},o.value,t.state,{forward:c,scroll:fo()});s(u.current,u,!0);const f=fe({},ya(r.value,c,null),{position:u.position+1},l);s(c,f,!1),r.value=c}return{location:r,state:o,push:a,replace:i}}function Bl(e){e=K_(e);const t=ty(e),n=ey(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=fe({location:"",base:e,go:r,createHref:Q_.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ny(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Bl(e)}function ry(e){return typeof e=="string"||e&&typeof e=="object"}function zl(e){return typeof e=="string"||typeof e=="symbol"}const at={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ul=Symbol("");var va;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(va||(va={}));function yn(e,t){return fe(new Error,{type:e,[Ul]:!0},t)}function ht(e,t){return e instanceof Error&&Ul in e&&(t==null||!!(e.type&t))}const ba="[^/]+?",oy={sensitive:!1,strict:!1,start:!0,end:!0},sy=/[.+*?^${}()[\]/\\]/g;function iy(e,t){const n=fe({},oy,t),r=[];let o=n.start?"^":"";const s=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function cy(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const ly={type:0,value:""},uy=/[a-zA-Z0-9_]/;function fy(e){if(!e)return[[]];if(e==="/")return[[ly]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${l}": ${g}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,c,l="",u="";function f(){l&&(n===0?s.push({type:0,value:l}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(m)}:Vn}function i(u){if(zl(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Vl(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Ta(u)&&r.set(u.record.name,u)}function l(u,f){let d,g={},h,p;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw yn(1,{location:u});p=d.record.name,g=fe(Ea(f.params,d.keys.filter(m=>!m.optional).map(m=>m.name)),u.params&&Ea(u.params,d.keys.map(m=>m.name))),h=d.stringify(g)}else if("path"in u)h=u.path,d=n.find(m=>m.re.test(h)),d&&(g=d.parse(h),p=d.record.name);else{if(d=f.name?r.get(f.name):n.find(m=>m.re.test(f.path)),!d)throw yn(1,{location:u,currentLocation:f});p=d.record.name,g=fe({},f.params,u.params),h=d.stringify(g)}const w=[];let _=d;for(;_;)w.unshift(_.record),_=_.parent;return{name:p,path:h,params:g,matched:w,meta:gy(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Ea(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function hy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:my(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function my(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Ta(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gy(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function Ca(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Vl(e,t){return t.children.some(n=>n===e||Vl(e,n))}const Wl=/#/g,_y=/&/g,yy=/\//g,vy=/=/g,by=/\?/g,Kl=/\+/g,wy=/%5B/g,Ey=/%5D/g,ql=/%5E/g,Ty=/%60/g,Ql=/%7B/g,Cy=/%7C/g,Jl=/%7D/g,Py=/%20/g;function Gs(e){return encodeURI(""+e).replace(Cy,"|").replace(wy,"[").replace(Ey,"]")}function xy(e){return Gs(e).replace(Ql,"{").replace(Jl,"}").replace(ql,"^")}function us(e){return Gs(e).replace(Kl,"%2B").replace(Py,"+").replace(Wl,"%23").replace(_y,"%26").replace(Ty,"`").replace(Ql,"{").replace(Jl,"}").replace(ql,"^")}function Ay(e){return us(e).replace(vy,"%3D")}function Sy(e){return Gs(e).replace(Wl,"%23").replace(by,"%3F")}function Ry(e){return e==null?"":Sy(e).replace(yy,"%2F")}function Qr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Iy(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&us(s)):[r&&us(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function ky(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ot(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Oy=Symbol(""),xa=Symbol(""),Ys=Symbol(""),Zs=Symbol(""),fs=Symbol("");function On(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Rt(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(yn(4,{from:n,to:t})):f instanceof Error?a(f):ry(f)?a(yn(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},l=e.call(r&&r.instances[o],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch(f=>a(f))})}function Lo(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Ly(a)){const l=(a.__vccOpts||a)[t];l&&o.push(Rt(l,n,r,s,i))}else{let c=a();o.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=j_(l)?l.default:l;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Rt(d,n,r,s,i)()}))}}return o}function Ly(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Aa(e){const t=Fe(Ys),n=Fe(Zs),r=Y(()=>t.resolve($(e.to))),o=Y(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(_n.bind(null,u));if(d>-1)return d;const g=Sa(c[l-2]);return l>1&&Sa(u)===g&&f[f.length-1].path!==g?f.findIndex(_n.bind(null,c[l-2])):d}),s=Y(()=>o.value>-1&&Hy(n.params,r.value.params)),i=Y(()=>o.value>-1&&o.value===n.matched.length-1&&jl(n.params,r.value.params));function a(c={}){return My(c)?t[$(e.replace)?"replace":"push"]($(e.to)).catch(Vn):Promise.resolve()}return{route:r,href:Y(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const $y=xe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Aa,setup(e,{slots:t}){const n=Ue(Aa(e)),{options:r}=Fe(Ys),o=Y(()=>({[Ra(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ra(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Dy=$y;function My(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Hy(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ot(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Sa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ra=(e,t,n)=>e??t??n,Ny=xe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Fe(fs),o=Y(()=>e.route||r.value),s=Fe(xa,0),i=Y(()=>{let l=$(s);const{matched:u}=o.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=Y(()=>o.value.matched[i.value]);fn(xa,Y(()=>i.value+1)),fn(Oy,a),fn(fs,o);const c=be();return Ie(()=>[c.value,a.value,e.name],([l,u,f],[d,g,h])=>{u&&(u.instances[f]=l,g&&g!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),l&&u&&(!g||!_n(u,g)||!d)&&(u.enterCallbacks[f]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Ia(n.default,{Component:d,route:l});const g=f.props[u],h=g?g===!0?l.params:typeof g=="function"?g(l):g:null,w=qe(d,fe({},h,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return Ia(n.default,{Component:w,route:l})||w}}});function Ia(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Xl=Ny;function jy(e){const t=py(e.routes,e),n=e.parseQuery||Iy,r=e.stringifyQuery||Pa,o=e.history,s=On(),i=On(),a=On(),c=Xn(at);let l=at;nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ko.bind(null,R=>""+R),f=ko.bind(null,Ry),d=ko.bind(null,Qr);function g(R,V){let F,J;return zl(R)?(F=t.getRecordMatcher(R),J=V):J=R,t.addRoute(J,F)}function h(R){const V=t.getRecordMatcher(R);V&&t.removeRoute(V)}function p(){return t.getRoutes().map(R=>R.record)}function w(R){return!!t.getRecordMatcher(R)}function _(R,V){if(V=fe({},V||c.value),typeof R=="string"){const T=Oo(n,R,V.path),A=t.resolve({path:T.path},V),I=o.createHref(T.fullPath);return fe(T,A,{params:d(A.params),hash:Qr(T.hash),redirectedFrom:void 0,href:I})}let F;if("path"in R)F=fe({},R,{path:Oo(n,R.path,V.path).path});else{const T=fe({},R.params);for(const A in T)T[A]==null&&delete T[A];F=fe({},R,{params:f(T)}),V.params=f(V.params)}const J=t.resolve(F,V),ue=R.hash||"";J.params=u(d(J.params));const y=z_(r,fe({},R,{hash:xy(ue),path:J.path})),b=o.createHref(y);return fe({fullPath:y,hash:ue,query:r===Pa?ky(R.query):R.query||{}},J,{redirectedFrom:void 0,href:b})}function m(R){return typeof R=="string"?Oo(n,R,c.value.path):fe({},R)}function E(R,V){if(l!==R)return yn(8,{from:V,to:R})}function v(R){return S(R)}function C(R){return v(fe(m(R),{replace:!0}))}function x(R){const V=R.matched[R.matched.length-1];if(V&&V.redirect){const{redirect:F}=V;let J=typeof F=="function"?F(R):F;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=m(J):{path:J},J.params={}),fe({query:R.query,hash:R.hash,params:"path"in J?{}:R.params},J)}}function S(R,V){const F=l=_(R),J=c.value,ue=R.state,y=R.force,b=R.replace===!0,T=x(F);if(T)return S(fe(m(T),{state:typeof T=="object"?fe({},ue,T.state):ue,force:y,replace:b}),V||F);const A=F;A.redirectedFrom=V;let I;return!y&&U_(r,J,F)&&(I=yn(16,{to:A,from:J}),st(J,J,!0,!1)),(I?Promise.resolve(I):N(A,J)).catch(O=>ht(O)?ht(O,2)?O:Tt(O):le(O,A,J)).then(O=>{if(O){if(ht(O,2))return S(fe({replace:b},m(O.to),{state:typeof O.to=="object"?fe({},ue,O.to.state):ue,force:y}),V||A)}else O=B(A,J,!0,b,ue);return Q(A,J,O),O})}function P(R,V){const F=E(R,V);return F?Promise.reject(F):Promise.resolve()}function M(R){const V=Zt.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(R):R()}function N(R,V){let F;const[J,ue,y]=Fy(R,V);F=Lo(J.reverse(),"beforeRouteLeave",R,V);for(const T of J)T.leaveGuards.forEach(A=>{F.push(Rt(A,R,V))});const b=P.bind(null,R,V);return F.push(b),ke(F).then(()=>{F=[];for(const T of s.list())F.push(Rt(T,R,V));return F.push(b),ke(F)}).then(()=>{F=Lo(ue,"beforeRouteUpdate",R,V);for(const T of ue)T.updateGuards.forEach(A=>{F.push(Rt(A,R,V))});return F.push(b),ke(F)}).then(()=>{F=[];for(const T of R.matched)if(T.beforeEnter&&!V.matched.includes(T))if(ot(T.beforeEnter))for(const A of T.beforeEnter)F.push(Rt(A,R,V));else F.push(Rt(T.beforeEnter,R,V));return F.push(b),ke(F)}).then(()=>(R.matched.forEach(T=>T.enterCallbacks={}),F=Lo(y,"beforeRouteEnter",R,V),F.push(b),ke(F))).then(()=>{F=[];for(const T of i.list())F.push(Rt(T,R,V));return F.push(b),ke(F)}).catch(T=>ht(T,8)?T:Promise.reject(T))}function Q(R,V,F){for(const J of a.list())M(()=>J(R,V,F))}function B(R,V,F,J,ue){const y=E(R,V);if(y)return y;const b=V===at,T=nn?history.state:{};F&&(J||b?o.replace(R.fullPath,fe({scroll:b&&T&&T.scroll},ue)):o.push(R.fullPath,ue)),c.value=R,st(R,V,F,b),Tt()}let U;function W(){U||(U=o.listen((R,V,F)=>{if(!fr.listening)return;const J=_(R),ue=x(J);if(ue){S(fe(ue,{replace:!0}),J).catch(Vn);return}l=J;const y=c.value;nn&&G_(_a(y.fullPath,F.delta),fo()),N(J,y).catch(b=>ht(b,12)?b:ht(b,2)?(S(b.to,J).then(T=>{ht(T,20)&&!F.delta&&F.type===nr.pop&&o.go(-1,!1)}).catch(Vn),Promise.reject()):(F.delta&&o.go(-F.delta,!1),le(b,J,y))).then(b=>{b=b||B(J,y,!1),b&&(F.delta&&!ht(b,8)?o.go(-F.delta,!1):F.type===nr.pop&&ht(b,20)&&o.go(-1,!1)),Q(J,y,b)}).catch(Vn)}))}let Ee=On(),oe=On(),ae;function le(R,V,F){Tt(R);const J=oe.list();return J.length?J.forEach(ue=>ue(R,V,F)):console.error(R),Promise.reject(R)}function pt(){return ae&&c.value!==at?Promise.resolve():new Promise((R,V)=>{Ee.add([R,V])})}function Tt(R){return ae||(ae=!R,W(),Ee.list().forEach(([V,F])=>R?F(R):V()),Ee.reset()),R}function st(R,V,F,J){const{scrollBehavior:ue}=e;if(!nn||!ue)return Promise.resolve();const y=!F&&Y_(_a(R.fullPath,0))||(J||!F)&&history.state&&history.state.scroll||null;return Xt().then(()=>ue(R,V,y)).then(b=>b&&X_(b)).catch(b=>le(b,R,V))}const Me=R=>o.go(R);let Yt;const Zt=new Set,fr={currentRoute:c,listening:!0,addRoute:g,removeRoute:h,hasRoute:w,getRoutes:p,resolve:_,options:e,push:v,replace:C,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:oe.add,isReady:pt,install(R){const V=this;R.component("RouterLink",Dy),R.component("RouterView",Xl),R.config.globalProperties.$router=V,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>$(c)}),nn&&!Yt&&c.value===at&&(Yt=!0,v(o.location).catch(ue=>{}));const F={};for(const ue in at)F[ue]=Y(()=>c.value[ue]);R.provide(Ys,V),R.provide(Zs,Ue(F)),R.provide(fs,c);const J=R.unmount;Zt.add(R),R.unmount=function(){Zt.delete(R),Zt.size<1&&(l=at,U&&U(),U=null,c.value=at,Yt=!1,ae=!1),J()}}};function ke(R){return R.reduce((V,F)=>V.then(()=>M(F)),Promise.resolve())}return fr}function Fy(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i_n(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>_n(l,c))||o.push(c))}return[n,r,o]}function uE(){return Fe(Zs)}const ka=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>k(()=>import("./document-driven.8ce9ea59.js"),["./document-driven.8ce9ea59.js","./DocumentDrivenEmpty.f6bb8a10.js","./ContentRenderer.7edfd656.js","./ContentRendererMarkdown.32fe2ab3.js","./DocumentDrivenNotFound.c186b31a.js","./ButtonLink.6797971c.js","./ContentSlot.77b558c1.js","./ButtonLink.74c3aea5.css","./DocumentDrivenNotFound.b9a06f3f.css"],import.meta.url).then(e=>e.default||e)}],By={scrollBehavior(e,t,n){if(!history.state.stop){if(history.state.smooth)return{el:history.state.smooth,behavior:"smooth"};if(e.hash){const r=document.querySelector(e.hash);if(!r)return;const{marginTop:o}=getComputedStyle(r),s=parseInt(o);return{top:document.querySelector(e.hash).offsetTop-s,behavior:"smooth"}}return n||{top:0}}}},zy={scrollBehavior(e,t,n){const r=me();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&Uy(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Oa(e.hash)}}const s=a=>!!(a.meta.pageTransition??os),i=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Xt(),e.hash&&(o={el:e.hash,top:Oa(e.hash)}),a(o)})})}};function Oa(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Uy(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Vy={},He={...Vy,...zy,...By},Wy=qm(async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=me(),o=Et();if(([t,n]=Vr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Xs({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(l=>{if(a(),l===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>on(i)),window.history.pushState({},"",e.fullPath)});return!1}})}),Ky=[Wy],Kn={};function qy(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){const a=o.includes(e.slice(s))?e.slice(s).length:1;let c=o.slice(a);return c[0]!=="/"&&(c="/"+c),ta(c,"")}return ta(n,e)+r+o}const Qy=Ve({name:"nuxt:router",enforce:"pre",async setup(e){var p,w;let t,n,r=Ze().app.baseURL;He.hashMode&&!r.includes("#")&&(r+="#");const o=((p=He.history)==null?void 0:p.call(He,r))??(He.hashMode?ny(r):Bl(r)),s=((w=He.routes)==null?void 0:w.call(He,ka))??ka;let i;const a=qy(r,window.location),c=jy({...He,scrollBehavior:(_,m,E)=>{var v;if(m===at){i=E;return}return c.options.scrollBehavior=He.scrollBehavior,(v=He.scrollBehavior)==null?void 0:v.call(He,_,at,i||E)},history:o,routes:s});e.vueApp.use(c);const l=Xn(c.currentRoute.value);c.afterEach((_,m)=>{l.value=m}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=Xn(c.resolve(a)),f=()=>{u.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((_,m)=>{var E,v,C,x;((v=(E=_.matched[0])==null?void 0:E.components)==null?void 0:v.default)===((x=(C=m.matched[0])==null?void 0:C.components)==null?void 0:x.default)&&f()});const d={};for(const _ in u.value)d[_]=Y(()=>u.value[_]);e._route=Ue(d),e._middleware=e._middleware||{global:[],named:{}};const g=uo();try{[t,n]=Vr(()=>c.isReady()),await t,n()}catch(_){[t,n]=Vr(()=>e.runWithContext(()=>on(_))),await t,n()}const h=ut("_layout");return c.beforeEach(async(_,m)=>{var v;_.meta=Ue(_.meta),e.isHydrating&&h.value&&!qt(_.meta.layout)&&(_.meta.layout=h.value),e._processingMiddleware=!0;const E=new Set([...Ky,...e._middleware.global]);for(const C of _.matched){const x=C.meta.middleware;if(x)if(Array.isArray(x))for(const S of x)E.add(S);else E.add(x)}for(const C of E){const x=typeof C=="string"?e._middleware.named[C]||await((v=Kn[C])==null?void 0:v.call(Kn).then(P=>P.default||P)):C;if(!x)throw new Error(`Unknown route middleware: '${C}'.`);const S=await e.runWithContext(()=>x(_,m));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const P=S||as({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>on(P)),!1}if(S||S===!1)return S}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(_,m,E)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Xm),_.matched.length===0&&await e.runWithContext(()=>on(as({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=He.scrollBehavior}catch(_){await e.runWithContext(()=>on(_))}}),{provide:{router:c}}}},1),Hn={default:()=>k(()=>import("./default.402f08c2.js"),["./default.402f08c2.js","./DocsPageLayout.26ebcdc9.js","./DocsAside.a0678493.js","./DocsAside.93fb97b1.css","./ProseCodeInline.88572d5e.js","./ProseCodeInline.873c7ac7.css","./Alert.c0cc7db1.js","./ContentSlot.77b558c1.js","./Alert.dcca94b5.css","./DocsPageBottom.e8627347.js","./ProseA.ca1f4c92.js","./ProseA.baee409d.css","./EditOnLink.vue.7088074c.js","./DocsPageBottom.ed3d15ba.css","./DocsPrevNext.256c0770.js","./DocsPrevNext.993701ce.css","./DocsToc.a188057b.js","./DocsTocLinks.8f3792f3.js","./DocsTocLinks.f2cb44fe.css","./DocsToc.54ec0b10.css","./DocsPageLayout.613dfac8.css"],import.meta.url).then(e=>e.default||e),page:()=>k(()=>import("./page.9d1cc5bc.js"),["./page.9d1cc5bc.js","./page.6ab22972.css"],import.meta.url).then(e=>e.default||e)},Jy=Ve({name:"nuxt:prefetch",setup(e){const t=Et();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Hn[r]=="function"&&await Hn[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,a,c,l;if(Gt(n))return;const r=t.resolve(n);if(!r)return;const o=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let s=Array.isArray((a=r==null?void 0:r.meta)==null?void 0:a.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(l=r==null?void 0:r.meta)==null?void 0:l.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof Kn[u]=="function"&&Kn[u]();o&&typeof Hn[o]=="function"&&Hn[o]()})}}),Xy={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function Gy(e,t={}){t={...Xy,...t};const n=Gl(t);return n.dispatch(e),n.toString()}function Gl(e){const t=[];let n=[];const r=o=>{t.push(o)};return{toString(){return t.join("")},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this["_"+(o===null?"null":typeof o)](o)},_object(o){if(o&&typeof o.toJSON=="function")return this._object(o.toJSON());const s=/\[object (.*)]/i,i=Object.prototype.toString.call(o),a=s.exec(i),c=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let l=null;if((l=n.indexOf(o))>=0)return this.dispatch("[CIRCULAR:"+l+"]");if(n.push(o),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(c!=="object"&&c!=="function"&&c!=="asyncfunction")this["_"+c]?this["_"+c](o):e.ignoreUnknown||this._unkown(o,c);else{let u=Object.keys(o);e.unorderedObjects&&(u=u.sort()),e.respectType!==!1&&!La(o)&&u.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(u=u.filter(function(f){return!e.excludeKeys(f)})),r("object:"+u.length+":");for(const f of u)this.dispatch(f),r(":"),e.excludeValues||this.dispatch(o[f]),r(",")}},_array(o,s){if(s=typeof s<"u"?s:e.unorderedArrays!==!1,r("array:"+o.length+":"),!s||o.length<=1){for(const c of o)this.dispatch(c);return}const i=[],a=o.map(c=>{const l=Gl(e);return l.dispatch(c),i.push(l.getContext()),l.toString()});return n=[...n,...i],a.sort(),this._array(a,!1)},_date(o){return r("date:"+o.toJSON())},_symbol(o){return r("symbol:"+o.toString())},_unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this._array(Array.from(o.entries()),!0)},_error(o){return r("error:"+o.toString())},_boolean(o){return r("bool:"+o.toString())},_string(o){r("string:"+o.length+":"),r(o.toString())},_function(o){r("fn:"),La(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this._object(o)},_number(o){return r("number:"+o.toString())},_xml(o){return r("xml:"+o.toString())},_null(){return r("Null")},_undefined(){return r("Undefined")},_regexp(o){return r("regex:"+o.toString())},_uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},_uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},_int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},_uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},_int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},_uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},_int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},_float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},_float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},_arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},_url(o){return r("url:"+o.toString())},_map(o){r("map:");const s=[...o];return this._array(s,e.unorderedSets!==!1)},_set(o){r("set:");const s=[...o];return this._array(s,e.unorderedSets!==!1)},_file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},_blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported + */const nn=typeof window<"u";function j_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fe=Object.assign;function ko(e,t){const n={};for(const r in t){const o=t[r];n[r]=ot(o)?o.map(e):e(o)}return n}const Vn=()=>{},ot=Array.isArray,F_=/\/$/,B_=e=>e.replace(F_,"");function Oo(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=W_(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function z_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ma(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function U_(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&_n(t.matched[r],n.matched[o])&&jl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function _n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!V_(e[n],t[n]))return!1;return!0}function V_(e,t){return ot(e)?ga(e,t):ot(t)?ga(t,e):e===t}function ga(e,t){return ot(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function W_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var nr;(function(e){e.pop="pop",e.push="push"})(nr||(nr={}));var Wn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Wn||(Wn={}));function K_(e){if(!e)if(nn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),B_(e)}const q_=/^[^#]+#/;function Q_(e,t){return e.replace(q_,"#")+t}function J_(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const fo=()=>({left:window.pageXOffset,top:window.pageYOffset});function X_(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=J_(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _a(e,t){return(history.state?history.state.position-t:-1)+e}const ls=new Map;function G_(e,t){ls.set(e,t)}function Y_(e){const t=ls.get(e);return ls.delete(e),t}let Z_=()=>location.protocol+"//"+location.host;function Fl(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),ma(c,"")}return ma(n,e)+r+o}function ey(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const g=Fl(e,location),h=n.value,p=t.value;let w=0;if(d){if(n.value=g,t.value=d,i&&i===h){i=null;return}w=p?d.position-p.position:0}else r(g);o.forEach(_=>{_(n.value,h,{delta:w,type:nr.pop,direction:w?w>0?Wn.forward:Wn.back:Wn.unknown})})};function c(){i=n.value}function l(d){o.push(d);const g=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(g),g}function u(){const{history:d}=window;d.state&&d.replaceState(fe({},d.state,{scroll:fo()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:l,destroy:f}}function ya(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?fo():null}}function ty(e){const{history:t,location:n}=window,r={value:Fl(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,l,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+c:Z_()+e+c;try{t[u?"replaceState":"pushState"](l,"",d),o.value=l}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function i(c,l){const u=fe({},t.state,ya(o.value.back,c,o.value.forward,!0),l,{position:o.value.position});s(c,u,!0),r.value=c}function a(c,l){const u=fe({},o.value,t.state,{forward:c,scroll:fo()});s(u.current,u,!0);const f=fe({},ya(r.value,c,null),{position:u.position+1},l);s(c,f,!1),r.value=c}return{location:r,state:o,push:a,replace:i}}function Bl(e){e=K_(e);const t=ty(e),n=ey(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=fe({location:"",base:e,go:r,createHref:Q_.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ny(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Bl(e)}function ry(e){return typeof e=="string"||e&&typeof e=="object"}function zl(e){return typeof e=="string"||typeof e=="symbol"}const at={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ul=Symbol("");var va;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(va||(va={}));function yn(e,t){return fe(new Error,{type:e,[Ul]:!0},t)}function ht(e,t){return e instanceof Error&&Ul in e&&(t==null||!!(e.type&t))}const ba="[^/]+?",oy={sensitive:!1,strict:!1,start:!0,end:!0},sy=/[.+*?^${}()[\]/\\]/g;function iy(e,t){const n=fe({},oy,t),r=[];let o=n.start?"^":"";const s=[];for(const l of e){const u=l.length?[]:[90];n.strict&&!l.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function cy(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const ly={type:0,value:""},uy=/[a-zA-Z0-9_]/;function fy(e){if(!e)return[[]];if(e==="/")return[[ly]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${l}": ${g}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,c,l="",u="";function f(){l&&(n===0?s.push({type:0,value:l}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:l,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function d(){l+=c}for(;a{i(m)}:Vn}function i(u){if(zl(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function c(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Vl(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Ta(u)&&r.set(u.record.name,u)}function l(u,f){let d,g={},h,p;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw yn(1,{location:u});p=d.record.name,g=fe(Ea(f.params,d.keys.filter(m=>!m.optional).map(m=>m.name)),u.params&&Ea(u.params,d.keys.map(m=>m.name))),h=d.stringify(g)}else if("path"in u)h=u.path,d=n.find(m=>m.re.test(h)),d&&(g=d.parse(h),p=d.record.name);else{if(d=f.name?r.get(f.name):n.find(m=>m.re.test(f.path)),!d)throw yn(1,{location:u,currentLocation:f});p=d.record.name,g=fe({},f.params,u.params),h=d.stringify(g)}const w=[];let _=d;for(;_;)w.unshift(_.record),_=_.parent;return{name:p,path:h,params:g,matched:w,meta:gy(w)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Ea(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function hy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:my(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function my(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Ta(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gy(e){return e.reduce((t,n)=>fe(t,n.meta),{})}function Ca(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Vl(e,t){return t.children.some(n=>n===e||Vl(e,n))}const Wl=/#/g,_y=/&/g,yy=/\//g,vy=/=/g,by=/\?/g,Kl=/\+/g,wy=/%5B/g,Ey=/%5D/g,ql=/%5E/g,Ty=/%60/g,Ql=/%7B/g,Cy=/%7C/g,Jl=/%7D/g,Py=/%20/g;function Gs(e){return encodeURI(""+e).replace(Cy,"|").replace(wy,"[").replace(Ey,"]")}function xy(e){return Gs(e).replace(Ql,"{").replace(Jl,"}").replace(ql,"^")}function us(e){return Gs(e).replace(Kl,"%2B").replace(Py,"+").replace(Wl,"%23").replace(_y,"%26").replace(Ty,"`").replace(Ql,"{").replace(Jl,"}").replace(ql,"^")}function Ay(e){return us(e).replace(vy,"%3D")}function Sy(e){return Gs(e).replace(Wl,"%23").replace(by,"%3F")}function Ry(e){return e==null?"":Sy(e).replace(yy,"%2F")}function Qr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Iy(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&us(s)):[r&&us(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function ky(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ot(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Oy=Symbol(""),xa=Symbol(""),Ys=Symbol(""),Zs=Symbol(""),fs=Symbol("");function On(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Rt(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const c=f=>{f===!1?a(yn(4,{from:n,to:t})):f instanceof Error?a(f):ry(f)?a(yn(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},l=e.call(r&&r.instances[o],t,n,c);let u=Promise.resolve(l);e.length<3&&(u=u.then(c)),u.catch(f=>a(f))})}function Lo(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(Ly(a)){const l=(a.__vccOpts||a)[t];l&&o.push(Rt(l,n,r,s,i))}else{let c=a();o.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const u=j_(l)?l.default:l;s.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Rt(d,n,r,s,i)()}))}}return o}function Ly(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Aa(e){const t=Fe(Ys),n=Fe(Zs),r=Y(()=>t.resolve($(e.to))),o=Y(()=>{const{matched:c}=r.value,{length:l}=c,u=c[l-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(_n.bind(null,u));if(d>-1)return d;const g=Sa(c[l-2]);return l>1&&Sa(u)===g&&f[f.length-1].path!==g?f.findIndex(_n.bind(null,c[l-2])):d}),s=Y(()=>o.value>-1&&Hy(n.params,r.value.params)),i=Y(()=>o.value>-1&&o.value===n.matched.length-1&&jl(n.params,r.value.params));function a(c={}){return My(c)?t[$(e.replace)?"replace":"push"]($(e.to)).catch(Vn):Promise.resolve()}return{route:r,href:Y(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const $y=xe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Aa,setup(e,{slots:t}){const n=Ue(Aa(e)),{options:r}=Fe(Ys),o=Y(()=>({[Ra(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ra(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Dy=$y;function My(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Hy(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ot(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Sa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ra=(e,t,n)=>e??t??n,Ny=xe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Fe(fs),o=Y(()=>e.route||r.value),s=Fe(xa,0),i=Y(()=>{let l=$(s);const{matched:u}=o.value;let f;for(;(f=u[l])&&!f.components;)l++;return l}),a=Y(()=>o.value.matched[i.value]);fn(xa,Y(()=>i.value+1)),fn(Oy,a),fn(fs,o);const c=be();return Ie(()=>[c.value,a.value,e.name],([l,u,f],[d,g,h])=>{u&&(u.instances[f]=l,g&&g!==u&&l&&l===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),l&&u&&(!g||!_n(u,g)||!d)&&(u.enterCallbacks[f]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Ia(n.default,{Component:d,route:l});const g=f.props[u],h=g?g===!0?l.params:typeof g=="function"?g(l):g:null,w=qe(d,fe({},h,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:c}));return Ia(n.default,{Component:w,route:l})||w}}});function Ia(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Xl=Ny;function jy(e){const t=py(e.routes,e),n=e.parseQuery||Iy,r=e.stringifyQuery||Pa,o=e.history,s=On(),i=On(),a=On(),c=Xn(at);let l=at;nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ko.bind(null,R=>""+R),f=ko.bind(null,Ry),d=ko.bind(null,Qr);function g(R,V){let F,J;return zl(R)?(F=t.getRecordMatcher(R),J=V):J=R,t.addRoute(J,F)}function h(R){const V=t.getRecordMatcher(R);V&&t.removeRoute(V)}function p(){return t.getRoutes().map(R=>R.record)}function w(R){return!!t.getRecordMatcher(R)}function _(R,V){if(V=fe({},V||c.value),typeof R=="string"){const T=Oo(n,R,V.path),A=t.resolve({path:T.path},V),I=o.createHref(T.fullPath);return fe(T,A,{params:d(A.params),hash:Qr(T.hash),redirectedFrom:void 0,href:I})}let F;if("path"in R)F=fe({},R,{path:Oo(n,R.path,V.path).path});else{const T=fe({},R.params);for(const A in T)T[A]==null&&delete T[A];F=fe({},R,{params:f(T)}),V.params=f(V.params)}const J=t.resolve(F,V),ue=R.hash||"";J.params=u(d(J.params));const y=z_(r,fe({},R,{hash:xy(ue),path:J.path})),b=o.createHref(y);return fe({fullPath:y,hash:ue,query:r===Pa?ky(R.query):R.query||{}},J,{redirectedFrom:void 0,href:b})}function m(R){return typeof R=="string"?Oo(n,R,c.value.path):fe({},R)}function E(R,V){if(l!==R)return yn(8,{from:V,to:R})}function v(R){return S(R)}function C(R){return v(fe(m(R),{replace:!0}))}function x(R){const V=R.matched[R.matched.length-1];if(V&&V.redirect){const{redirect:F}=V;let J=typeof F=="function"?F(R):F;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=m(J):{path:J},J.params={}),fe({query:R.query,hash:R.hash,params:"path"in J?{}:R.params},J)}}function S(R,V){const F=l=_(R),J=c.value,ue=R.state,y=R.force,b=R.replace===!0,T=x(F);if(T)return S(fe(m(T),{state:typeof T=="object"?fe({},ue,T.state):ue,force:y,replace:b}),V||F);const A=F;A.redirectedFrom=V;let I;return!y&&U_(r,J,F)&&(I=yn(16,{to:A,from:J}),st(J,J,!0,!1)),(I?Promise.resolve(I):N(A,J)).catch(O=>ht(O)?ht(O,2)?O:Tt(O):le(O,A,J)).then(O=>{if(O){if(ht(O,2))return S(fe({replace:b},m(O.to),{state:typeof O.to=="object"?fe({},ue,O.to.state):ue,force:y}),V||A)}else O=B(A,J,!0,b,ue);return Q(A,J,O),O})}function P(R,V){const F=E(R,V);return F?Promise.reject(F):Promise.resolve()}function M(R){const V=Zt.values().next().value;return V&&typeof V.runWithContext=="function"?V.runWithContext(R):R()}function N(R,V){let F;const[J,ue,y]=Fy(R,V);F=Lo(J.reverse(),"beforeRouteLeave",R,V);for(const T of J)T.leaveGuards.forEach(A=>{F.push(Rt(A,R,V))});const b=P.bind(null,R,V);return F.push(b),ke(F).then(()=>{F=[];for(const T of s.list())F.push(Rt(T,R,V));return F.push(b),ke(F)}).then(()=>{F=Lo(ue,"beforeRouteUpdate",R,V);for(const T of ue)T.updateGuards.forEach(A=>{F.push(Rt(A,R,V))});return F.push(b),ke(F)}).then(()=>{F=[];for(const T of R.matched)if(T.beforeEnter&&!V.matched.includes(T))if(ot(T.beforeEnter))for(const A of T.beforeEnter)F.push(Rt(A,R,V));else F.push(Rt(T.beforeEnter,R,V));return F.push(b),ke(F)}).then(()=>(R.matched.forEach(T=>T.enterCallbacks={}),F=Lo(y,"beforeRouteEnter",R,V),F.push(b),ke(F))).then(()=>{F=[];for(const T of i.list())F.push(Rt(T,R,V));return F.push(b),ke(F)}).catch(T=>ht(T,8)?T:Promise.reject(T))}function Q(R,V,F){for(const J of a.list())M(()=>J(R,V,F))}function B(R,V,F,J,ue){const y=E(R,V);if(y)return y;const b=V===at,T=nn?history.state:{};F&&(J||b?o.replace(R.fullPath,fe({scroll:b&&T&&T.scroll},ue)):o.push(R.fullPath,ue)),c.value=R,st(R,V,F,b),Tt()}let U;function W(){U||(U=o.listen((R,V,F)=>{if(!fr.listening)return;const J=_(R),ue=x(J);if(ue){S(fe(ue,{replace:!0}),J).catch(Vn);return}l=J;const y=c.value;nn&&G_(_a(y.fullPath,F.delta),fo()),N(J,y).catch(b=>ht(b,12)?b:ht(b,2)?(S(b.to,J).then(T=>{ht(T,20)&&!F.delta&&F.type===nr.pop&&o.go(-1,!1)}).catch(Vn),Promise.reject()):(F.delta&&o.go(-F.delta,!1),le(b,J,y))).then(b=>{b=b||B(J,y,!1),b&&(F.delta&&!ht(b,8)?o.go(-F.delta,!1):F.type===nr.pop&&ht(b,20)&&o.go(-1,!1)),Q(J,y,b)}).catch(Vn)}))}let Ee=On(),oe=On(),ae;function le(R,V,F){Tt(R);const J=oe.list();return J.length?J.forEach(ue=>ue(R,V,F)):console.error(R),Promise.reject(R)}function pt(){return ae&&c.value!==at?Promise.resolve():new Promise((R,V)=>{Ee.add([R,V])})}function Tt(R){return ae||(ae=!R,W(),Ee.list().forEach(([V,F])=>R?F(R):V()),Ee.reset()),R}function st(R,V,F,J){const{scrollBehavior:ue}=e;if(!nn||!ue)return Promise.resolve();const y=!F&&Y_(_a(R.fullPath,0))||(J||!F)&&history.state&&history.state.scroll||null;return Xt().then(()=>ue(R,V,y)).then(b=>b&&X_(b)).catch(b=>le(b,R,V))}const Me=R=>o.go(R);let Yt;const Zt=new Set,fr={currentRoute:c,listening:!0,addRoute:g,removeRoute:h,hasRoute:w,getRoutes:p,resolve:_,options:e,push:v,replace:C,go:Me,back:()=>Me(-1),forward:()=>Me(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:oe.add,isReady:pt,install(R){const V=this;R.component("RouterLink",Dy),R.component("RouterView",Xl),R.config.globalProperties.$router=V,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>$(c)}),nn&&!Yt&&c.value===at&&(Yt=!0,v(o.location).catch(ue=>{}));const F={};for(const ue in at)F[ue]=Y(()=>c.value[ue]);R.provide(Ys,V),R.provide(Zs,Ue(F)),R.provide(fs,c);const J=R.unmount;Zt.add(R),R.unmount=function(){Zt.delete(R),Zt.size<1&&(l=at,U&&U(),U=null,c.value=at,Yt=!1,ae=!1),J()}}};function ke(R){return R.reduce((V,F)=>V.then(()=>M(F)),Promise.resolve())}return fr}function Fy(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i_n(l,a))?r.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>_n(l,c))||o.push(c))}return[n,r,o]}function uE(){return Fe(Zs)}const ka=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>k(()=>import("./document-driven.d93d0675.js"),["./document-driven.d93d0675.js","./DocumentDrivenEmpty.a1939bad.js","./ContentRenderer.54f7a8d2.js","./ContentRendererMarkdown.d1672c0f.js","./DocumentDrivenNotFound.fc29f11a.js","./ButtonLink.7b7e2d25.js","./ContentSlot.725c9014.js","./ButtonLink.74c3aea5.css","./DocumentDrivenNotFound.b9a06f3f.css"],import.meta.url).then(e=>e.default||e)}],By={scrollBehavior(e,t,n){if(!history.state.stop){if(history.state.smooth)return{el:history.state.smooth,behavior:"smooth"};if(e.hash){const r=document.querySelector(e.hash);if(!r)return;const{marginTop:o}=getComputedStyle(r),s=parseInt(o);return{top:document.querySelector(e.hash).offsetTop-s,behavior:"smooth"}}return n||{top:0}}}},zy={scrollBehavior(e,t,n){const r=me();let o=n||void 0;if(!o&&t&&e&&e.meta.scrollToTop!==!1&&Uy(t,e)&&(o={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Oa(e.hash)}}const s=a=>!!(a.meta.pageTransition??os),i=s(t)&&s(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await Xt(),e.hash&&(o={el:e.hash,top:Oa(e.hash)}),a(o)})})}};function Oa(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Uy(e,t){const n=e.matched[0]===t.matched[0];return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Vy={},He={...Vy,...zy,...By},Wy=qm(async e=>{var c;let t,n;if(!((c=e.meta)!=null&&c.validate))return;const r=me(),o=Et();if(([t,n]=Vr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Xs({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(l=>{if(a(),l===e){const u=o.afterEach(async()=>{u(),await r.runWithContext(()=>on(i)),window.history.pushState({},"",e.fullPath)});return!1}})}),Ky=[Wy],Kn={};function qy(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){const a=o.includes(e.slice(s))?e.slice(s).length:1;let c=o.slice(a);return c[0]!=="/"&&(c="/"+c),ta(c,"")}return ta(n,e)+r+o}const Qy=Ve({name:"nuxt:router",enforce:"pre",async setup(e){var p,w;let t,n,r=Ze().app.baseURL;He.hashMode&&!r.includes("#")&&(r+="#");const o=((p=He.history)==null?void 0:p.call(He,r))??(He.hashMode?ny(r):Bl(r)),s=((w=He.routes)==null?void 0:w.call(He,ka))??ka;let i;const a=qy(r,window.location),c=jy({...He,scrollBehavior:(_,m,E)=>{var v;if(m===at){i=E;return}return c.options.scrollBehavior=He.scrollBehavior,(v=He.scrollBehavior)==null?void 0:v.call(He,_,at,i||E)},history:o,routes:s});e.vueApp.use(c);const l=Xn(c.currentRoute.value);c.afterEach((_,m)=>{l.value=m}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=Xn(c.resolve(a)),f=()=>{u.value=c.currentRoute.value};e.hook("page:finish",f),c.afterEach((_,m)=>{var E,v,C,x;((v=(E=_.matched[0])==null?void 0:E.components)==null?void 0:v.default)===((x=(C=m.matched[0])==null?void 0:C.components)==null?void 0:x.default)&&f()});const d={};for(const _ in u.value)d[_]=Y(()=>u.value[_]);e._route=Ue(d),e._middleware=e._middleware||{global:[],named:{}};const g=uo();try{[t,n]=Vr(()=>c.isReady()),await t,n()}catch(_){[t,n]=Vr(()=>e.runWithContext(()=>on(_))),await t,n()}const h=ut("_layout");return c.beforeEach(async(_,m)=>{var v;_.meta=Ue(_.meta),e.isHydrating&&h.value&&!qt(_.meta.layout)&&(_.meta.layout=h.value),e._processingMiddleware=!0;const E=new Set([...Ky,...e._middleware.global]);for(const C of _.matched){const x=C.meta.middleware;if(x)if(Array.isArray(x))for(const S of x)E.add(S);else E.add(x)}for(const C of E){const x=typeof C=="string"?e._middleware.named[C]||await((v=Kn[C])==null?void 0:v.call(Kn).then(P=>P.default||P)):C;if(!x)throw new Error(`Unknown route middleware: '${C}'.`);const S=await e.runWithContext(()=>x(_,m));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const P=S||as({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>on(P)),!1}if(S||S===!1)return S}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(_,m,E)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(Xm),_.matched.length===0&&await e.runWithContext(()=>on(as({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=He.scrollBehavior}catch(_){await e.runWithContext(()=>on(_))}}),{provide:{router:c}}}},1),Hn={default:()=>k(()=>import("./default.33e71634.js"),["./default.33e71634.js","./DocsPageLayout.8f980530.js","./DocsAside.72ea4d6e.js","./DocsAside.93fb97b1.css","./ProseCodeInline.b7a651bb.js","./ProseCodeInline.873c7ac7.css","./Alert.67812a3c.js","./ContentSlot.725c9014.js","./Alert.dcca94b5.css","./DocsPageBottom.4b461a23.js","./ProseA.c5ff1621.js","./ProseA.baee409d.css","./EditOnLink.vue.0c5bf15e.js","./DocsPageBottom.ed3d15ba.css","./DocsPrevNext.4cf934f2.js","./DocsPrevNext.993701ce.css","./DocsToc.ef429e13.js","./DocsTocLinks.92064971.js","./DocsTocLinks.f2cb44fe.css","./DocsToc.54ec0b10.css","./DocsPageLayout.613dfac8.css"],import.meta.url).then(e=>e.default||e),page:()=>k(()=>import("./page.2d5e4249.js"),["./page.2d5e4249.js","./page.6ab22972.css"],import.meta.url).then(e=>e.default||e)},Jy=Ve({name:"nuxt:prefetch",setup(e){const t=Et();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const r=(o=n==null?void 0:n.meta)==null?void 0:o.layout;r&&typeof Hn[r]=="function"&&await Hn[r]()})}),e.hooks.hook("link:prefetch",n=>{var i,a,c,l;if(Gt(n))return;const r=t.resolve(n);if(!r)return;const o=(i=r==null?void 0:r.meta)==null?void 0:i.layout;let s=Array.isArray((a=r==null?void 0:r.meta)==null?void 0:a.middleware)?(c=r==null?void 0:r.meta)==null?void 0:c.middleware:[(l=r==null?void 0:r.meta)==null?void 0:l.middleware];s=s.filter(u=>typeof u=="string");for(const u of s)typeof Kn[u]=="function"&&Kn[u]();o&&typeof Hn[o]=="function"&&Hn[o]()})}}),Xy={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function Gy(e,t={}){t={...Xy,...t};const n=Gl(t);return n.dispatch(e),n.toString()}function Gl(e){const t=[];let n=[];const r=o=>{t.push(o)};return{toString(){return t.join("")},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this["_"+(o===null?"null":typeof o)](o)},_object(o){if(o&&typeof o.toJSON=="function")return this._object(o.toJSON());const s=/\[object (.*)]/i,i=Object.prototype.toString.call(o),a=s.exec(i),c=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let l=null;if((l=n.indexOf(o))>=0)return this.dispatch("[CIRCULAR:"+l+"]");if(n.push(o),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(c!=="object"&&c!=="function"&&c!=="asyncfunction")this["_"+c]?this["_"+c](o):e.ignoreUnknown||this._unkown(o,c);else{let u=Object.keys(o);e.unorderedObjects&&(u=u.sort()),e.respectType!==!1&&!La(o)&&u.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(u=u.filter(function(f){return!e.excludeKeys(f)})),r("object:"+u.length+":");for(const f of u)this.dispatch(f),r(":"),e.excludeValues||this.dispatch(o[f]),r(",")}},_array(o,s){if(s=typeof s<"u"?s:e.unorderedArrays!==!1,r("array:"+o.length+":"),!s||o.length<=1){for(const c of o)this.dispatch(c);return}const i=[],a=o.map(c=>{const l=Gl(e);return l.dispatch(c),i.push(l.getContext()),l.toString()});return n=[...n,...i],a.sort(),this._array(a,!1)},_date(o){return r("date:"+o.toJSON())},_symbol(o){return r("symbol:"+o.toString())},_unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this._array(Array.from(o.entries()),!0)},_error(o){return r("error:"+o.toString())},_boolean(o){return r("bool:"+o.toString())},_string(o){r("string:"+o.length+":"),r(o.toString())},_function(o){r("fn:"),La(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this._object(o)},_number(o){return r("number:"+o.toString())},_xml(o){return r("xml:"+o.toString())},_null(){return r("Null")},_undefined(){return r("Undefined")},_regexp(o){return r("regex:"+o.toString())},_uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},_uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},_int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},_uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},_int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},_uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},_int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},_float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},_float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},_arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},_url(o){return r("url:"+o.toString())},_map(o){r("map:");const s=[...o];return this._array(s,e.unorderedSets!==!1)},_set(o){r("set:");const s=[...o];return this._array(s,e.unorderedSets!==!1)},_file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},_blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported Use "options.replacer" or "options.ignoreUnknown" -`)},_domwindow(){return r("domwindow")},_bigint(o){return r("bigint:"+o.toString())},_process(){return r("process")},_timer(){return r("timer")},_pipe(){return r("pipe")},_tcp(){return r("tcp")},_udp(){return r("udp")},_tty(){return r("tty")},_statwatcher(){return r("statwatcher")},_securecontext(){return r("securecontext")},_connection(){return r("connection")},_zlib(){return r("zlib")},_context(){return r("context")},_nodescript(){return r("nodescript")},_httpparser(){return r("httpparser")},_dataview(){return r("dataview")},_signal(){return r("signal")},_fsevent(){return r("fsevent")},_tlswrap(){return r("tlswrap")}}}function La(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class vn{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||Yy).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new vn([...this.words])}}const Yy={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},Zy={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let c=0;c<4&&r*8+c*6>>6*(3-c)&63))}return n.join("")}},ev={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new vn(n,t)}},tv={parse(e){return ev.parse(unescape(encodeURIComponent(e)))}};class nv{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new vn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=tv.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i>>7)^(E<<14|E>>>18)^E>>>3,C=Ft[d-2],x=(C<<15|C>>>17)^(C<<13|C>>>19)^C>>>10;Ft[d]=v+Ft[d-7]+x+Ft[d-16]}const g=c&l^~c&u,h=o&s^o&i^s&i,p=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),w=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),_=f+w+g+sv[d]+Ft[d],m=p+h;f=u,u=l,l=c,c=a+_|0,a=i,i=s,s=o,o=_+m|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function av(e){return new iv().finalize(e).toString(Zy)}function Jr(e,t={}){const n=typeof e=="string"?e:Gy(e,t);return av(n).slice(0,10)}const cv={path:"/",watch:!0,decode:e=>pl(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Rr(e,t){var s;const n={...cv,...t},r=lv(n)||{},o=be(r[e]??((s=n.default)==null?void 0:s.call(n)));{const i=()=>{fv(e,o.value,n)};n.watch?Ie(o,i,{deep:n.watch!=="shallow"}):i()}return o}function lv(e={}){return jm(document.cookie,e)}function uv(e,t,n={}){return t==null?pa(e,t,{...n,maxAge:-1}):pa(e,t,n)}function fv(e,t,n={}){document.cookie=uv(e,t,n)}const ds=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),dv=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),pv=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ds(e)}):ds(e)};async function Yl(e,t=Et()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Yl(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function hv(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)e.find(t=>t!==void 0),gv="noopener noreferrer";function _v(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const s=e.trailingSlash==="append"?_l:Qt;if(typeof r=="string")return s(r,!0);const i="path"in r?r.path:o(r).path;return{...r,name:void 0,path:s(i,!0)}};return xe({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=Et(),i=Y(()=>{const f=r.to||r.href||"";return n(f,s.resolve)}),a=Y(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Gt(i.value,{acceptRelative:!0})),c=be(!1),l=be(null),u=f=>{var d;l.value=r.custom?(d=f==null?void 0:f.$el)==null?void 0:d.nextElementSibling:f==null?void 0:f.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!vv()){const d=me();let g,h=null;Pn(()=>{const p=yv();pv(()=>{g=ds(()=>{var w;(w=l==null?void 0:l.value)!=null&&w.tagName&&(h=p.observe(l.value,async()=>{h==null||h(),h=null;const _=typeof i.value=="string"?i.value:s.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",_).catch(()=>{}),!a.value&&Yl(i.value,s).catch(()=>{})]),c.value=!0}))})})}),xn(()=>{g&&dv(g),h==null||h(),h=null})}return()=>{var p,w;if(!a.value){const _={ref:u,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(_.class=r.prefetchedClass||e.prefetchedClass),_.rel=r.rel),qe(wd("RouterLink"),_,o.default)}const f=typeof i.value=="object"?((p=s.resolve(i.value))==null?void 0:p.href)??null:i.value||null,d=r.target||null,g=r.noRel?null:mv(r.rel,e.externalRelAttribute,f?gv:"")||null,h=()=>Nl(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:h,get route(){if(!f)return;const _=lr(f);return{path:_.pathname,fullPath:_.pathname,get query(){return gl(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:g,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:qe("a",{ref:l,href:f,rel:g,target:d},(w=o.default)==null?void 0:w.call(o))}}})}const ur=_v({componentName:"NuxtLink"});function yv(){const e=me();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function vv(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const bv={docus:{title:"Nuxt Mongoose",description:"A Nuxt module for simplifying the use of Mongoose in your project.",image:"/cover.jpg",socials:{twitter:"arash_sheyda",github:"arashsheyda/nuxt-mongoose"},github:{dir:"docs/content",branch:"main",repo:"nuxt-mongoose",owner:"arashsheyda",edit:!0},aside:{level:0,collapsed:!1,exclude:[]},main:{padded:!0,fluid:!0},header:{logo:!0,showLinkIcon:!0,exclude:[],fluid:!0},footer:{fluid:!0,iconLinks:[{href:"https://nuxt.com",icon:"simple-icons:nuxtdotjs"}]}}},wv={docus:{title:"Docus",description:"The best place to start your documentation.",image:"https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png",socials:{},layout:"default",header:{title:"",logo:!1,showLinkIcon:!1,fluid:!1,exclude:[]},aside:{level:0,collapsed:!1,exclude:[]},footer:{credits:{icon:"IconDocus",text:"Powered by Docus",href:"https://docus.dev"},textLinks:[],iconLinks:[],fluid:!1},github:{dir:void 0,branch:void 0,repo:void 0,owner:void 0,edit:!1}}},Ev={prose:{copyButton:{iconCopy:"ph:copy",iconCopied:"ph:check"},headings:{icon:"ph:link"}}},Tv={},Cv={},Pv=Vm(bv,wv,Ev,Tv,Cv);function Zl(){const e=me();return e._appConfig||(e._appConfig=Ue(Pv)),e._appConfig}const rn=()=>{const e=ut("dd-pages",()=>({})),t=ut("dd-surrounds",()=>({})),n=ut("dd-navigation"),r=ut("dd-globals",()=>({}));return{pages:e,surrounds:t,navigation:n,globals:r}},po=()=>{const{navigation:e,pages:t,surrounds:n,globals:r}=rn(),o=Y(()=>Qt(dt().path)),s=Y(()=>t.value[o.value]),i=Y(()=>n.value[o.value]),a=Y(()=>{var g,h;return(h=(g=s==null?void 0:s.value)==null?void 0:g.body)==null?void 0:h.toc}),c=Y(()=>{var g;return(g=s.value)==null?void 0:g.type}),l=Y(()=>{var g;return(g=s.value)==null?void 0:g.excerpt}),u=Y(()=>{var g;return(g=s.value)==null?void 0:g.layout}),f=Y(()=>{var g;return(g=i.value)==null?void 0:g[1]}),d=Y(()=>{var g;return(g=i.value)==null?void 0:g[0]});return{globals:r,navigation:e,surround:i,page:s,excerpt:l,toc:a,type:c,layout:u,next:f,prev:d}},eu=e=>{if(!e.children)return e._path;for(const t of(e==null?void 0:e.children)||[]){const n=eu(t);if(n)return n}},tu=(e,t)=>{for(const n of t){if(n._path===e&&!n._id)return n.children;if(n.children){const r=tu(e,n.children);if(r)return r}}},nu=(e,t)=>{for(const n of t){if(n._path===e)return n;if(n.children){const r=nu(e,n.children);if(r)return r}}},xv=(e,t,n)=>{let r;const o=(s,i)=>{for(const a of i)if(!(s!=="/"&&a._path==="/")){if(s!=null&&s.startsWith(a._path)&&a[t]&&(r=a[t]),a._path===s)return;a.children&&o(s,a.children)}};return o(e,n),r},ei=()=>({navBottomLink:eu,navDirFromPath:tu,navPageFromPath:nu,navKeyFromPath:xv});function ti(e){return JSON.stringify(e,Av)}function Av(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const ru=e=>{let t=ti(e);return t=typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t),t=t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(t.match(/.{1,100}/g)||[]).join("/")},Sv=["p","h1","h2","h3","h4","h5","h6","li"];function ps(e,t){return e.type===t||typeof e.type=="object"&&e.type.tag===t||e.tag===t}function ou(e){return ps(e,"text")||typeof e.children=="string"}function su(e){var t;return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof((t=e.children)==null?void 0:t.default)=="function"?e.children.default():[]}function hs(e){if(!e)return"";if(Array.isArray(e))return e.map(hs).join("");if(ou(e))return e.children||e.value;const t=su(e);return Array.isArray(t)?t.map(hs).join(""):""}function ni(e,t=["p"]){if(Array.isArray(e))return e.flatMap(r=>ni(r,t));let n=e;return t.some(r=>r==="*"||ps(e,r))&&(n=su(e)||e,!Array.isArray(n)&&Sv.some(r=>ps(e,r))&&(n=[n])),n}function iu(e,t=["p"]){return e=Array.isArray(e)?e:[e],t.length?e.flatMap(n=>iu(ni(n,[t[0]]),t.slice(1))).filter(n=>!(ou(n)&&hs(n).trim()==="")):e}const ri=()=>({isEnabled:()=>{const r=dt().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||Rr("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>Rr("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{Rr("previewToken").value=r,dt().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),Xr=e=>vl(e,Ze().public.content.api.baseURL),fE=()=>({unwrap:ni,flatUnwrap:iu}),au=()=>{const{experimental:e}=Ze().public.content;return e.clientDB?!0:ri().isEnabled()},$a=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),cu=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),dE=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),lu=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},pE=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=lu(e);return cu(t,o=>!r.includes(o)&&!n.includes(o[0]))},hE=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=lu(e);return cu(t,o=>r.includes(o)||n.includes(o[0]))},mE=(e,t)=>{const n=new Intl.Collator(t.$locale,{numeric:t.$numeric,caseFirst:t.$caseFirst,sensitivity:t.$sensitivity}),r=Object.keys(t).filter(o=>!o.startsWith("$"));for(const o of r)e=e.sort((s,i)=>{const a=[$a(s,o),$a(i,o)].map(c=>{if(c!==null)return c instanceof Date?c.toISOString():c});return t[o]===-1&&a.reverse(),n.compare(a[0],a[1])});return e},gE=(e,t="Expected an array")=>{if(!Array.isArray(e))throw new TypeError(t)},mt=e=>Array.isArray(e)?e:e?[e]:[],Rv=["sort","where","only","without"],Iv=(e,t)=>{const n={...t};for(const s of Rv)n[s]&&(n[s]=mt(n[s]));const r=(s,i=a=>a)=>(...a)=>(n[s]=i(...a),o),o={params:()=>({...n,...n.where?{where:[...mt(n.where)]}:{},...n.sort?{sort:[...mt(n.sort)]}:{}}),only:r("only",mt),without:r("without",mt),where:r("where",s=>[...mt(n.where),...mt(s)]),sort:r("sort",s=>[...mt(n.sort),...mt(s)]),limit:r("limit",s=>parseInt(String(s),10)),skip:r("skip",s=>parseInt(String(s),10)),find:()=>e(o),findOne:()=>(n.first=!0,e(o)),findSurround:(s,i)=>(n.surround={query:s,...i},e(o)),locale:s=>o.where({_locale:s})};return o},kv=()=>async e=>{const{content:t}=Ze().public,n=e.params(),r=t.experimental.stripQueryParameters?Xr(`/query/${`${Jr(n)}.${t.integrity}`}/${ru(n)}.json`):Xr(`/query/${Jr(n)}.${t.integrity}.json`);if(au())return(await k(()=>import("./client-db.eca98775.js"),[],import.meta.url).then(i=>i.useContentDatabase())).fetch(e);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:ti(n),previewToken:ri().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function Ir(e,...t){const{content:n}=Ze().public,r=Iv(kv(),typeof e!="string"?e:{});let o;typeof e=="string"&&(o=th(An(e,...t)));const s=r.params;return r.params=()=>{var a,c,l;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:Qt(o)}):i.where.push({_path:new RegExp(`^${o.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(a=i.sort)!=null&&a.length||(i.sort=[{_file:1,$numeric:!0}]),n.locales.length&&((l=(c=i.where)==null?void 0:c.find(f=>f._locale))!=null&&l._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const Ov=async e=>{const{content:t}=Ze().public;typeof(e==null?void 0:e.params)!="function"&&(e=Ir(e));const n=e.params(),r=t.experimental.stripQueryParameters?Xr(`/navigation/${`${Jr(n)}.${t.integrity}`}/${ru(n)}.json`):Xr(`/navigation/${Jr(n)}.${t.integrity}.json`);if(au())return(await k(()=>import("./client-db.eca98775.js"),[],import.meta.url).then(i=>i.generateNavigation))(n);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:ti(n),previewToken:ri().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o},Lv=Ve(e=>{var l,u,f,d;const t=(u=(l=Ze())==null?void 0:l.public)==null?void 0:u.content.documentDriven,n=(d=(f=Ze())==null?void 0:f.public)==null?void 0:d.content.experimental.clientDB,{navigation:r,pages:o,globals:s,surrounds:i}=rn(),a=(g,h,p,w)=>{var _;if(h&&(h!=null&&h.layout))return h.layout;if(g.matched.length&&((_=g.matched[0].meta)!=null&&_.layout))return g.matched[0].meta.layout;if(p&&h){const{navKeyFromPath:m}=ei(),E=m(h._path,"layout",p);if(E)return E}if(t.layoutFallbacks&&w){let m;for(const E of t.layoutFallbacks)if(w[E]&&w[E].layout){m=w[E].layout;break}if(m)return m}return"default"},c=async(g,h=!1)=>{e.callHook("content:document-driven:start",{route:g,dedup:h});const p=g.meta.documentDriven||{};if(g.meta.documentDriven===!1)return;const w=Qt(g.path),_=[];if(t.navigation&&p.navigation!==!1){const m=()=>{const{navigation:E}=rn();return E.value&&!h?E.value:Ov().then(v=>(E.value=v,v)).catch(()=>null)};_.push(m)}else _.push(()=>Promise.resolve(null));if(t.globals){const m=()=>{const{globals:E}=rn();if(typeof t.globals=="object"&&Array.isArray(t.globals)){console.log("Globals must be a list of keys with QueryBuilderParams as a value.");return}return Promise.all(Object.entries(t.globals).map(([v,C])=>{if(!h&&E.value[v])return E.value[v];let x="findOne";return C!=null&&C.type&&(x=C.type),Ir(C)[x]().catch(()=>null)})).then(v=>v.reduce((C,x,S)=>{const P=Object.keys(t.globals)[S];return C[P]=x,C},{}))};_.push(m)}else _.push(()=>Promise.resolve(null));if(t.page&&p.page!==!1){let m={_path:w};typeof p.page=="string"&&(m={_path:p.page}),typeof p.page=="object"&&(m=p.page);const E=()=>{const{pages:v}=rn();return!h&&v.value[w]&&v.value[w]._path===w?v.value[w]:Ir().where(m).findOne().catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));if(t.surround&&p.surround!==!1){let m=w;["string","object"].includes(typeof p.page)&&(m=p.page),["string","object"].includes(typeof p.surround)&&(m=p.surround);const E=()=>{const{surrounds:v}=rn();return!h&&v.value[w]?v.value[w]:Ir().where({_partial:{$not:!0},navigation:{$not:!1}}).without(["body"]).findSurround(m).catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));return await Promise.all(_.map(m=>m())).then(async([m,E,v,C])=>{var S,P;m&&(r.value=m),E&&(s.value=E),C&&(i.value[w]=C);const x=(v==null?void 0:v.redirect)||((P=(S=v==null?void 0:v._dir)==null?void 0:S.navigation)==null?void 0:P.redirect);if(x)return o.value[w]=v,x;if(v){const M=a(g,v,m,E),N=Hn[M];N&&typeof N=="function"&&await N(),g.meta.layout=M,v.layout=M}o.value[w]=v,await e.callHook("content:document-driven:finish",{route:g,dedup:h,page:v,navigation:m,globals:E,surround:C})})};Qm(async(g,h)=>{if(g.path.includes("favicon.ico"))return;if(!n&&g.path===h.path){if(!g.meta.layout){const w=Qt(g.path);o.value[w]&&(g.meta.layout=o.value[w].layout)}return}const p=await c(g,!1);if(p)return Gt(p)?Al(e,Nl,[p,{external:!0}]):p}),e.hook("app:data:refresh",async()=>await c(dt(),!0))});let oi=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");const $v=/\d/,Dv=["-","_","/","."];function Mv(e=""){if(!$v.test(e))return e.toUpperCase()===e}function uu(e,t){const n=t??Dv,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const c=n.includes(a);if(c===!0){r.push(o),o="",s=void 0;continue}const l=Mv(a);if(i===!1){if(s===!1&&l===!0){r.push(o),o=a,s=l;continue}if(s===!0&&l===!1&&o.length>1){const u=o[o.length-1];r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=l;continue}}o+=a,s=l,i=c}return r.push(o),r}function Hv(e){return e?e[0].toUpperCase()+e.slice(1):""}function _E(e){return e?(Array.isArray(e)?e:uu(e)).map(t=>Hv(t)).join(""):""}function ms(e,t){return e?(Array.isArray(e)?e:uu(e)).map(n=>n.toLowerCase()).join(t??"-"):""}const fu=new RegExp("\\{([^}]+)\\}","g"),Nv="@dark",jv="@light",Fv="@initial";function Da(e,t,n,r="."){typeof t=="string"&&(t=t.split(r));const o=t.length-1;for(let i=0;it.includes(i))){r[o]={value:e[o]};continue}r[o]=pu(e[o],t,n)}}return r}function Bv(e={},t={}){const n={key:"attributes.variable",onNotFound:!1,...t};function r(o=void 0,s){if(!o)return $(e);const i={...n,...s},{key:a,onNotFound:c}=i,l=Gr($(e),o);if(!l&&typeof c=="function"){c(o,i);return}return a?l&&(l[a]?l[a]:Gr(l,a)):l}return r.bind(this)}function hu(e){return Array.isArray(e)&&(e=e.join("-")),e.charAt(0)==="{"&&e.charAt(e.length-1)==="}"&&(e=e.substr(1,e.length-2)),`--${e.split(".").join("-")}`}function zv(e,t,n,r,o=[],s,i){var c;const a=Vv(e,t,r,s,i);return a||((c=s==null?void 0:s.utils)!=null&&c[e]?typeof s.utils[e]=="function"?s.utils[e](t):t?s.utils[e]:{}:(t=Uv(e,t,o,s,i),{[e]:t}))}function Uv(e,t,n,r,o){return(Array.isArray(t)||typeof t=="string"||typeof t=="number")&&(Array.isArray(t)?t=t.map(s=>Ma(e,s,n,r,o)).join(","):t=Ma(e,t,n,r,o)),t}function Ma(e,t,n,r,o){return typeof t=="number"?t:(t.match(fu)&&(t=mu(e,t,n,r,o)),t==="{}"?"":t)}function mu(e,t,n,r,o){return typeof t!="string"||(t=t.replace(fu,(s,i)=>{const a=hu(i),c=`var(${a})`;if(n.includes(a))return c;const l=r.$tokens(i,{key:void 0,loc:o}),u=typeof l=="string"?l:(l==null?void 0:l.variable)||(l==null?void 0:l.value);return u||c})),t}function Vv(e,t,n,r,o){if(e.startsWith("@")){const s=a=>{a=r.options.colorSchemeMode==="class"?`:root.${a}`:`@media (prefers-color-scheme: ${a})`;const c=a.startsWith("@media");return r!=null&&r.runtime?{"@media":{[a]:t}}:{[c?a:`${a} &`]:t}};if(e===Nv)return s("dark");if(e===jv)return s("light");if(e===Fv){const a=r.$tokens("media.initial",{key:"value",onNotFound:!1,loc:o});return{[`@media${a?` ${a}`:""}`]:t}}const i=r.$tokens("media",{key:void 0,loc:o});if(i){const a=e.replace("@","");if(i[a])return{[`@media ${i[a].value}`]:t}}return{[e]:t}}}function Wv(e,t,n,r){var i;let o="";if(e==="dark"||e==="light")r==="class"?o=`:root.${e}`:o=`(prefers-color-scheme: ${e})`;else if(e!=="initial"&&n){const a=(i=n==null?void 0:n.media)==null?void 0:i[e];a&&(o=a.value)}let s;return o?o.startsWith(".")?s=`@media { :root${o} {`:o.startsWith(":root")?s=`@media { ${o} {`:s=`@media ${o} { :root {`:s="@media { :root {",`${`${`${s}--pinceau-mq: ${String(e)}; ${t}`} } }`} -`}const Ha=/\s*,\s*(?![^()]*\))/,Kv=(e,t)=>e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):`${r} ${o}`)),n),[]),{prototype:{toString:qv}}=Object,Qv=(e,t=void 0)=>{const n=new WeakSet,r=(s,i,a,c,l,u,f)=>{for(let d=0;d{let u="";for(const f in s){const d=f.charCodeAt(0)===64,g=f.charCodeAt(0)===45&&f.charCodeAt(1)===45;for(const h of d&&Array.isArray(s[f])?s[f]:[s[f]]){if(t&&(f!==c||h!==l)){const w=t(f,h,s,i);if(w!==null){u+=typeof w=="object"&&w?o(w,i,a,f,h):w??"";continue}}if(typeof h=="object"&&h&&h.toString===qv){n.has(i)&&(n.delete(i),u+="}");const w=Object(f);let _;d?(_=i,u+=o(h,_,a.concat(w))):(_=i.length?Kv(i,f.split(Ha)):f.split(Ha),u+=o(h,_,a)),n.has(w)&&(n.delete(w),u+="}"),n.has(_)&&(n.delete(_),u+="}")}else u=r(u,i,a,f,h,d,g)}}return u};return o(e,[],[])},gu=".phy[--]";function Jv(e,t={},n,r){const o=be(),s=be(t),i={},a=(h,p)=>Qv(h,(w,_,m,E)=>zv(w,_,m,E,[],{$tokens:e,utils:s.value,options:{colorSchemeMode:n,runtime:!0}},p));function c(){const h=globalThis||window;let p,w;if(h&&h.document){const _=`pinceau-runtime${r?`-${r}`:""}`,m=h.document;if(p=m.querySelector(`style#${_}`),!p){const E=m.createElement("style");E.id=_,E.type="text/css",p=m.head.appendChild(E)}w=m.querySelector(`style#pinceau-runtime-hydratable${r?`-${r}`:""}`)}return o.value=(p==null?void 0:p.sheet)||Xv(),w?l(w):void 0}function l(h){var w,_;const p={};for(const m of Object.entries(((w=h==null?void 0:h.sheet)==null?void 0:w.cssRules)||((_=o.value)==null?void 0:_.cssRules)||{})){const[E,v]=m,C=Gv(v);if(!C||!C.uid)continue;p[C.uid]||(p[C.uid]={});const x=o.value.insertRule(v.cssText,Number(E));p[C.uid][C.type]=o.value.cssRules.item(x)}return h&&h.remove(),p}function u(){return o.value?Object.entries(o.value.cssRules).reduce((h,[,p])=>(h+=`${p==null?void 0:p.cssText} `||"",h),""):""}function f(h,p,w,_,m){if(!Object.keys(w).length)return;const E=a({"@media":{[gu]:{"--puid":`${h}-${p}`},...w}},m);if(!E)return;_&&d(_);const v=o.value.insertRule(E);return o.value.cssRules[v]}function d(h){const p=Object.values(o.value.cssRules).indexOf(h);if(!(typeof p>"u"||isNaN(p)))try{o.value.deleteRule(p)}catch{}}const g=c();return{stringify:a,cache:i,pushDeclaration:f,deleteRule:d,sheet:o,toString:u,hydratableRules:g}}function Xv(){return{cssRules:[],insertRule(e,t=this.cssRules.length){return this.cssRules.splice(t,1,{cssText:e}),t},deleteRule(e){delete this.cssRules[e]}}}function Gv(e){const t=e.cssRules&&e.cssRules.length?Object.entries(e==null?void 0:e.cssRules).find(([s,i])=>i.selectorText===gu):void 0;if(!t)return;const n=/--puid:(.*)?-(c|v|p)?/m,[,r,o]=t[1].cssText.match(n);if(r)return{uid:r,type:o}}function Yv(e,t,n){var a,c,l;let r;const o=(a=e==null?void 0:e.vnode)==null?void 0:a.el;o&&o.classList?o.classList.forEach(u=>{r||u.startsWith("pc-")&&(r=u.split("pc-")[1])}):r=oi(6);const s=(l=(c=e==null?void 0:e.vnode)==null?void 0:c.type)==null?void 0:l.__scopeId,i={uid:r,componentId:s?`[${s}]`:"",uniqueClassName:`pc-${r}`};return t.value.c=i.uniqueClassName,Y(()=>i)}function Zv(e,t={},n){const r=be(),o=be(e||{});t=Object.assign({key:"variable"},t||{});const s=Bv(o,t);let i={};c();function a(p){var w;for(const _ of p.styleSheets)if((w=_==null?void 0:_.ownerNode)!=null&&w.textContent.includes("--pinceau-mq"))return _.ownerNode}function c(){var w;const p=globalThis||window;if(p&&p.document){let _=document.querySelector("#pinceau-theme");_||(_=a(document)),r.value=_==null?void 0:_.sheet,r.value&&l((w=r.value)==null?void 0:w.cssRules)}}function l(p){i={},Object.entries(p||{}).forEach(([w,_])=>{var E,v;if((_==null?void 0:_.type)!==4&&!((E=_==null?void 0:_.cssText)!=null&&E.includes("--pinceau-mq")))return!1;let m="initial";(v=_.cssText.match(/--([\w-]+)\s*:\s*(.+?);/gm))==null||v.forEach(C=>{var M;const[x,S]=C.replace(";","").split(/:\s(.*)/s);if(x==="--pinceau-mq"){if(m=S,!i[S]){const N=(M=Object.entries((_==null?void 0:_.cssRules)||{}).find(([Q,B])=>B==null?void 0:B.cssText.includes(`--pinceau-mq: ${S}`)))==null?void 0:M[1];N&&(i[S]=N)}return}const P=[...x.substring(2).split("-")];Da(o.value,P,g(P,S,x,m))})})}function u(p){var m;const w=Array.from(new Set(["dark","light",...Object.keys((p==null?void 0:p.media)||{}),...Object.keys(((m=o.value)==null?void 0:m.media)||{})])),_=pu(p||{},w,!0);du(_,(E,v,C)=>f(C,E.value))}function f(p,w,_="initial"){var v;if(typeof w=="object"){Object.entries(w).forEach(([C,x])=>f(p,x,C));return}const m=hu(p);i!=null&&i[_]||h(_);const E=mu(void 0,w,[],{$tokens:s});Da(o.value,p,g(p,E,m,_)),(v=i==null?void 0:i[_])==null||v.style.setProperty(m,E)}function d(p){return Y({get(){return Gr(o.value,`${p}.value`)},set(w){f(p,w)}})}function g(p,w,_,m="initial"){const E={value:w,variable:`var(${_})`},v=Gr(o.value,p);return v&&!_.startsWith("--media")&&(typeof(v==null?void 0:v.value)=="object"?E.value={...v.value,[m]:w}:E.value={initial:v.value,[m]:w}),E}function h(p){if(i!=null&&i[p])return i==null?void 0:i[p];const w=Wv(p,"",o.value,n),_=r.value.insertRule(w,r.value.cssRules.length);return i[p]=r.value.cssRules.item(_).cssRules[0],i[p]}return{$tokens:s,updateToken:f,updateTheme:u,reactiveToken:d,resolveStylesheet:c,theme:o}}function e0(e,t,n,r){var s,i;let o=(i=(s=n.hydratableRules)==null?void 0:s[e.value.uid])==null?void 0:i.c;Ie(()=>t,a=>{a=t0(e.value,a),o=n.pushDeclaration(e.value.uid,"c",a,o,{...r,type:"c"})},{immediate:!o,deep:!0}),Rs(()=>o&&n.deleteRule(o))}function t0(e,t){const n={},r=`.${e.uniqueClassName}${e.componentId}`;if(t&&Object.keys(t).length){n[r]=n[r]||{};for(const[o,s]of Object.entries(t)){const i=$(s);if(o==="css"){n[r]=Object.assign(n[r],i);continue}if(typeof i=="object")for(const[a,c]of Object.entries(i)){const l=$(c);if(!l)continue;a==="initial"&&(n[r]||(n[r]={}),n[r]||(n[r]={}),n[r][`--${o}`]=l);const u=`@${a}`;n[u]||(n[u]={}),n[u][r]||(n[u][r]={}),n[u][r][`--${ms(o)}`]=l}else{const a=$(i);a&&(n[r][`--${ms(o)}`]=a)}}}return n}const n0=(e,t,n,r,o,s)=>{var l,u;let i=(u=(l=r.hydratableRules)==null?void 0:l[e.value.uid])==null?void 0:u.v;const a=Y(()=>t?o0(e.value,n,t):{}),c=be([]);return Ie(a,({cacheId:f,variantsProps:d})=>{let g;if(r.cache[f]){const h=r.cache[f];i=h.rule,g=h.variantClass,h!=null&&h.classes&&(c.value=h.classes),h.count++}else{g=`pv-${oi(6)}`;const{declaration:h,classes:p}=r0(g,e.value,t,d);c.value=p,i=r.pushDeclaration(e.value.uid,"v",h,void 0,{...s,type:"v"}),r.cache[f]={rule:i,variantClass:g,classes:p,count:1}}o.value.v=g},{immediate:!0}),Rs(()=>{var g;const f=a==null?void 0:a.value,d=(g=r.cache)==null?void 0:g[f.cacheId];d&&(d.count--,d.count<=0&&(r.deleteRule(d.rule),delete r.cache[f.cacheId]))}),{variantsClasses:c}};function r0(e,t,n,r){var i,a;let o=[];const s={};if(r&&Object.keys(r).length){const c=`.${e}`;for(const[l,u]of Object.entries(r))if(typeof u=="object")for(const[f,d]of Object.entries(u)){const g=(d==null?void 0:d.toString())||d,h=n[l][g];if(!h)continue;if(s[c]||(s[c]={}),typeof h=="string"||Array.isArray(h)||h!=null&&h.$class){const w=typeof h=="string"||Array.isArray(h)?h:h.$class;o=[...o,...typeof w=="string"?w.split(" "):w],delete h.$class}f==="initial"&&(s[c]||(s[c]={}),s[c]=Sr(s[c],h));const p=`@${f}`;s[p]||(s[p]={}),s[p][c]||(s[p][c]={}),s[p][c]=Sr(s[p][c],h)}else{const f=((i=u==null?void 0:u.toString)==null?void 0:i.call(u))||u,d=(a=n==null?void 0:n[l])==null?void 0:a[f];if(!d)continue;s[c]||(s[c]={}),s[c]=Sr(s[c],d)}}return{declaration:s,classes:o}}function o0(e,t,n){if(!t||!n)return{};let r=e.componentId;const o=Object.entries(t).reduce((s,[i,a])=>(n[i]&&(typeof a=="object"?Object.entries(a).forEach(([c,l])=>r+=`${i}:${c}:${l}|`):r+=`${i}:${a}|`,s[i]=a),s),{});return{cacheId:r,variantsProps:o}}function s0(e,t,n,r){var i,a;let o=(a=(i=n.hydratableRules)==null?void 0:i[e.value.uid])==null?void 0:a.p;const s=Y(()=>t==null?void 0:t.css);Ie(s,c=>{c=i0(e.value,c),o&&n.deleteRule(o),o=n.pushDeclaration(e.value.uid,"p",c,o,{...r,type:"c"})},{immediate:!o}),Rs(()=>o&&n.deleteRule(o))}function i0(e,t){const n={};if(t){const r=`.${e.uniqueClassName}${e.componentId}`;n[r]=Object.assign(n[r]||{},t)}return n}const a0={theme:{},utils:{},tokensHelperConfig:{},multiApp:!1,colorSchemeMode:"media",dev:!1},c0={install(e,t){t=Object.assign(a0,t);const{theme:n,tokensHelperConfig:r,dev:o,multiApp:s,colorSchemeMode:i,utils:a}=t,c=Zv(n,r,i),l=s?oi(6):void 0,u=Jv(c.$tokens,a,i,l);function f(d={},g,h){const p=wt();let w;const _=be({v:"",c:""}),m=Yv(p,_);h&&Object.keys(h).length>0&&e0(m,h,u,w);let E;if(g&&Object.keys(g).length>0){const{variantsClasses:v}=n0(m,g,d,u,_,w);E=v}return d!=null&&d.css&&Object.keys(d==null?void 0:d.css).length>0&&s0(m,d,u,w),{$pinceau:Y(()=>{var v;return[_.value.v,_.value.c,(v=E==null?void 0:E.value)==null?void 0:v.join(" ")].join(" ")})}}e.config.globalProperties.$pinceauRuntime=f,e.config.globalProperties.$pinceauTheme=c,e.config.globalProperties.$pinceauSsr={get:()=>u.toString()},e.provide("pinceauRuntime",f),e.provide("pinceauTheme",c)}};function l0(e,t,n){return Fe("pinceauRuntime")(e,t,n)}function yE(){return Fe("pinceauTheme")}function vE(e,t=!1){return{type:[String,Object],default:e,required:t}}const u0=e=>({marginTop:e,marginBottom:e}),f0=e=>({marginLeft:e,marginRight:e}),d0=e=>({paddingTop:e,paddingBottom:e}),p0=e=>({paddingLeft:e,paddingRight:e}),h0={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},m0=e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),g0=e=>({fontSize:`{text.${e}.fontSize}`,lineHeight:`{text.${e}.lineHeight}`}),_0=e=>({color:`{elements.state.${e}.color.primary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.primary} !important`,borderColor:`{elements.state.${e}.borderColor.primary} !important`,":deep(p code)":{color:`{elements.state.${e}.color.secondary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`},":deep(code)":{color:`{elements.state.${e}.color.primary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`},":deep(a code)":{borderColor:`{elements.state.${e}.borderColor.primary} !important`},":deep(a)":{borderColor:"currentColor",code:{backgroundColor:`{elements.state.${e}.backgroundColor.primary} !important`},"&:hover":{color:`{elements.state.${e}.color.secondary} !important`,borderColor:"currentColor !important",code:{backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`,color:`{elements.state.${e}.color.secondary} !important`,borderColor:`{elements.state.${e}.borderColor.secondary} !important`}}}}),y0={my:u0,mx:f0,py:d0,px:p0,truncate:h0,lineClamp:m0,text:g0,stateColors:_0},v0=Ve(async e=>e.vueApp.use(c0,{colorSchemeMode:"class",utils:y0})),b0="__NUXT_COLOR_MODE__",w0="ColorScheme",E0="theme",T0="nuxt-color-mode",gt=window[b0],C0=Ve(e=>{const t=ut("color-mode",()=>Ue({preference:gt.preference,value:gt.value,unknown:!1,forced:!1})).value;qr({htmlAttrs:{[`data-${E0}`]:Y(()=>t.value)}}),Et().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?gt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=gt.getColorScheme())}))}Ie(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=gt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(T0,o))},{immediate:!0}),Ie(()=>t.value,(o,s)=>{gt.removeColorScheme(s),gt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=gt.preference,t.value=gt.value,t.unknown=!1)}),e.provide("colorMode",t)}),P0=Ve(e=>{const t=Ze().public.studio||{},n=dt(),r=Rr("previewToken",{sameSite:"none",secure:!0}),o=ut("studio-client-db",()=>null);async function s(){const i=await k(()=>import("./useStudio.30611511.js"),["./useStudio.30611511.js","./asyncData.fd6c0ee7.js","./useStudio.d997f0bf.css"],import.meta.url).then(l=>l.useStudio),{mountPreviewUI:a,initiateIframeCommunication:c}=i();a(),c()}if(t.apiURL){if(Object.prototype.hasOwnProperty.call(n.query,"preview")&&!n.query.preview||!n.query.preview&&!r.value)return;n.query.preview&&(r.value=String(n.query.preview)),window.sessionStorage.setItem("previewToken",String(r.value)),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}}),x0=Ve({name:"nuxt:chunk-reload",setup(e){const t=Et(),n=Ze(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)}),t.onError((o,s)=>{if(r.has(o)){const a="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:An(n.app.baseURL,s.fullPath);hv({path:a,persistState:!0})}})}}),A0=Ve({name:"nuxt:payload",setup(e){Mm()&&(e.hooks.hook("link:prefetch",async t=>{lr(t).protocol||await fa(t)}),Et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await fa(t.path);r&&Object.assign(e.static.data,r.data)}))}}),S0=Ve(e=>{const t=be(!1),n=()=>t.value=!0,r=()=>t.value=!1,o=()=>t.value=!t.value;return e.$router.afterEach(()=>setTimeout(r,50)),Ie(t,s=>{const i=document.documentElement;s?i.style.overflow="hidden":setTimeout(()=>{i.style.overflow=""},100)},{immediate:!0}),{provide:{menu:{visible:t,close:r,open:n,toggle:o}}}}),R0=Ve(()=>{navigator&&navigator.userAgent&&navigator.userAgent.match(/Win[a-z0-9]*;/)&&document.documentElement.classList.add("docus-scrollbars")}),I0=[Ym,H_,N_,Qy,Jy,Lv,v0,C0,P0,x0,A0,S0,R0],k0=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),O0=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&k0(e.route,n));return typeof r=="function"?r(e.route):r},L0=(e,t)=>({default:()=>e?qe(hd,e===!0?{}:e,t):t}),$0=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?qe(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),D0=xe({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const n=me();return()=>qe(Xl,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const o=O0(r,e.pageKey),s=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??os),a=i&&H0([e.transition,r.route.meta.pageTransition,os,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return $0(Qs,i&&a,L0(e.keepalive??r.route.meta.keepalive??Om,qe($c,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Xt(()=>n.callHook("page:finish",r.Component).finally(s))}},{default:()=>qe(N0,{key:o,routeProps:r,pageKey:o,hasTransition:i})}))).default()}})}});function M0(e){return Array.isArray(e)?e:e?[e]:[]}function H0(e){const t=e.map(n=>({...n,onAfterLeave:M0(n.onAfterLeave)}));return Sr(...t)}const N0=xe({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const o in e.routeProps.route)r[o]=Y(()=>t===e.pageKey?e.routeProps.route[o]:n[o]);return fn("_route",Ue(r)),()=>qe(e.routeProps.Component)}});const _u={__name:"AppLoadingBar",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3}},setup(e){const t=e,n=me(),r=Ue({percent:0,show:!1,canSucceed:!0});let o=null,s=null,i;function a(){o&&clearInterval(o),s&&clearTimeout(s),o=null}function c(){r.show||(a(),r.percent=0,r.canSucceed=!0,t.throttle?s=setTimeout(d,t.throttle):d())}function l(g){r.percent=Math.min(100,Math.floor(r.percent+g))}function u(){r.percent=100,f()}function f(){a(),setTimeout(()=>{r.show=!1,setTimeout(()=>{r.percent=0},400)},500)}function d(){r.show=!0,i=1e4/Math.floor(t.duration),o=setInterval(()=>{l(i)},100)}return n.hook("content:middleware:start",c),n.hook("page:start",c),n.hook("page:finish",u),xn(()=>a),(g,h)=>(q(),he("div",{class:je(["nuxt-progress",{"nuxt-progress-failed":!$(r).canSucceed}]),style:wn({width:`${$(r).percent}%`,left:$(r).left,opacity:$(r).show?1:0,backgroundSize:`${100/$(r).percent*100}% auto`})},null,6))}},j0=Object.freeze(Object.defineProperty({__proto__:null,default:_u},Symbol.toStringTag,{value:"Module"})),yu=Object.freeze({left:0,top:0,width:16,height:16}),vu=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),si=Object.freeze({...yu,...vu});Object.freeze({...si,body:"",hidden:!1});({...yu});const bu=Object.freeze({width:null,height:null}),wu=Object.freeze({...bu,...vu});function F0(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in bu?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const B0=/[\s,]+/;function z0(e,t){t.split(B0).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function U0(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const V0=/(-?[0-9.]*[0-9]+[0-9.]*)/g,W0=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Na(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(V0);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=W0.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const K0=e=>e==="unset"||e==="undefined"||e==="none";function q0(e,t){const n={...si,...e},r={...wu,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const p=[],w=h.hFlip,_=h.vFlip;let m=h.rotate;w?_?m+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):_&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let E;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:E=o.height/2+o.top,p.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:E=o.width/2+o.left,p.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}m%2===1&&(o.left!==o.top&&(E=o.left,o.left=o.top,o.top=E),o.width!==o.height&&(E=o.width,o.width=o.height,o.height=E)),p.length&&(s=''+s+"")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?l:a,u=Na(f,c/l)):(u=i==="auto"?c:i,f=a===null?Na(u,l/c):a==="auto"?l:a);const d={},g=(h,p)=>{K0(p)||(d[h]=p.toString())};return g("width",u),g("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:s}}const Q0=/\sid="(\S+)"/g,J0="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let X0=0;function G0(e,t=J0){const n=[];let r;for(;r=Q0.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(X0++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function Y0(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function Z0(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function eb(e){return"data:image/svg+xml,"+Z0(e)}function tb(e){return'url("'+eb(e)+'")'}const ja={...wu,inline:!1},nb={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},rb={display:"inline-block"},gs={backgroundColor:"currentColor"},Eu={backgroundColor:"transparent"},Fa={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ba={webkitMask:gs,mask:gs,background:Eu};for(const e in Ba){const t=Ba[e];for(const n in Fa)t[e+n]=Fa[n]}const kr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";kr[e+"-flip"]=t,kr[e.slice(0,1)+"-flip"]=t,kr[e+"Flip"]=t});function za(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ob=(e,t)=>{const n=F0(ja,t),r={...nb},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const w=t[p];if(w!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=w===!0||w==="true"||w===1;break;case"flip":typeof w=="string"&&z0(n,w);break;case"color":s.color=w;break;case"rotate":typeof w=="string"?n[p]=U0(w):typeof w=="number"&&(n[p]=w);break;case"ariaHidden":case"aria-hidden":w!==!0&&w!=="true"&&delete r["aria-hidden"];break;default:{const _=kr[p];_?(w===!0||w==="true"||w===1)&&(n[_]=!0):ja[p]===void 0&&(r[p]=w)}}}const c=q0(e,n),l=c.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,l);let p=0,w=t.id;return typeof w=="string"&&(w=w.replace(/-/g,"_")),r.innerHTML=G0(c.body,w?()=>w+"ID"+p++:"iconifyVue"),qe("svg",r)}const{body:u,width:f,height:d}=e,g=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=Y0(u,{...l,width:f+"",height:d+""});return r.style={...s,"--svg":tb(h),width:za(l.width),height:za(l.height),...rb,...g?gs:Eu,...a},qe("span",r)},sb=Object.create(null),ib=xe({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?sb[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:ob({...si,...n},e)}}),qn=/^[a-z0-9]+(-[a-z0-9]+)*$/,ho=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!Or(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Or(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Or(a,n)?null:a}return null},Or=(e,t)=>e?!!((e.provider===""||e.provider.match(qn))&&(t&&e.prefix===""||e.prefix.match(qn))&&e.name.match(qn)):!1,Tu=Object.freeze({left:0,top:0,width:16,height:16}),Yr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ii=Object.freeze({...Tu,...Yr}),_s=Object.freeze({...ii,body:"",hidden:!1});function ab(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ua(e,t){const n=ab(e,t);for(const r in _s)r in Yr?r in e&&!(r in n)&&(n[r]=Yr[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function cb(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function lb(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Ua(r[a]||o[a],s)}return i(t),n.forEach(i),Ua(e,s)}function Cu(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=cb(e);for(const o in r){const s=r[o];s&&(t(o,lb(e,o,s)),n.push(o))}return n}const ub={provider:"",aliases:{},not_found:{},...Tu};function $o(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Pu(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!$o(e,ub))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(qn)||typeof s.body!="string"||!$o(s,_s))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(qn)||typeof i!="string"||!n[i]&&!r[i]||!$o(s,_s))return null}return t}const Va=Object.create(null);function fb(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Jt(e,t){const n=Va[e]||(Va[e]=Object.create(null));return n[t]||(n[t]=fb(e,t))}function ai(e,t){return Pu(t)?Cu(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function db(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let rr=!1;function xu(e){return typeof e=="boolean"&&(rr=e),rr}function pb(e){const t=typeof e=="string"?ho(e,!0,rr):e;if(t){const n=Jt(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function hb(e,t){const n=ho(e,!0,rr);if(!n)return!1;const r=Jt(n.provider,n.prefix);return db(r,n.name,t)}function mb(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),rr&&!t&&!e.prefix){let o=!1;return Pu(e)&&(e.prefix="",Cu(e,(s,i)=>{i&&hb(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Or({provider:t,prefix:n,name:"a"}))return!1;const r=Jt(t,n);return!!ai(r,e)}const gb=Object.freeze({width:null,height:null}),_b=Object.freeze({...gb,...Yr});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const ys=Object.create(null);function yb(e,t){ys[e]=t}function vs(e){return ys[e]||ys[""]}function ci(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const li=Object.create(null),Ln=["https://api.simplesvg.com","https://api.unisvg.com"],Lr=[];for(;Ln.length>0;)Ln.length===1||Math.random()>.5?Lr.push(Ln.shift()):Lr.push(Ln.pop());li[""]=ci({resources:["https://api.iconify.design"].concat(Lr)});function vb(e,t){const n=ci(t);return n===null?!1:(li[e]=n,!0)}function ui(e){return li[e]}const bb=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Wa=bb();function wb(e,t){const n=ui(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function Eb(e){return e===404}const Tb=(e,t,n)=>{const r=[],o=wb(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function Cb(e){if(typeof e=="string"){const t=ui(e);if(t)return t.path}return"/"}const Pb=(e,t,n)=>{if(!Wa){n("abort",424);return}let r=Cb(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;Wa(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Eb(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},xb={prepare:Tb,send:Pb};function Ab(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=Jt(s,i));let u;a in l.icons?u=t.loaded:i===""||l.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function Au(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Sb(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Au([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Rb=0;function Ib(e,t,n){const r=Rb++,o=Au.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function kb(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ho(o,t,n):o;s&&r.push(s)}),r}var Ob={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Lb(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let x=e.resources.slice(0);for(i=[];x.length>1;){const S=Math.floor(Math.random()*x.length);i.push(x[S]),x=x.slice(0,S).concat(x.slice(S+1))}i=i.concat(x)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,f=null,d=[],g=[];typeof r=="function"&&g.push(r);function h(){f&&(clearTimeout(f),f=null)}function p(){c==="pending"&&(c="aborted"),h(),d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function w(x,S){S&&(g=[]),typeof x=="function"&&g.push(x)}function _(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:d.length,subscribe:w,abort:p}}function m(){c="failed",g.forEach(x=>{x(void 0,u)})}function E(){d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function v(x,S,P){const M=S!=="success";switch(d=d.filter(N=>N!==x),c){case"pending":break;case"failed":if(M||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=P,m();return}if(M){u=P,d.length||(i.length?C():m());return}if(h(),E(),!e.random){const N=e.resources.indexOf(x.resource);N!==-1&&N!==e.index&&(e.index=N)}c="completed",g.forEach(N=>{N(P)})}function C(){if(c!=="pending")return;h();const x=i.shift();if(x===void 0){if(d.length){f=setTimeout(()=>{h(),c==="pending"&&(E(),m())},e.timeout);return}m();return}const S={status:"pending",resource:x,callback:(P,M)=>{v(S,P,M)}};d.push(S),l++,f=setTimeout(C,e.rotate),n(x,t,S.callback)}return setTimeout(C),_}function Su(e){const t={...Ob,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=Lb(t,a,c,(f,d)=>{r(),l&&l(f,d)});return n.push(u),u}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Ka(){}const Do=Object.create(null);function $b(e){if(!Do[e]){const t=ui(e);if(!t)return;const n=Su(t),r={config:t,redundancy:n};Do[e]=r}return Do[e]}function Db(e,t,n){let r,o;if(typeof e=="string"){const s=vs(e);if(!s)return n(void 0,424),Ka;o=s.send;const i=$b(e);i&&(r=i.redundancy)}else{const s=ci(e);if(s){r=Su(s);const i=e.resources?e.resources[0]:"",a=vs(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Ka):r.query(t,o,n)().abort}const qa="iconify2",or="iconify",Ru=or+"-count",Qa=or+"-version",Iu=36e5,Mb=168;function bs(e,t){try{return e.getItem(t)}catch{}}function fi(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ja(e,t){try{e.removeItem(t)}catch{}}function ws(e,t){return fi(e,Ru,t.toString())}function Es(e){return parseInt(bs(e,Ru))||0}const mo={local:!0,session:!0},ku={local:new Set,session:new Set};let di=!1;function Hb(e){di=e}let xr=typeof window>"u"?{}:window;function Ou(e){const t=e+"Storage";try{if(xr&&xr[t]&&typeof xr[t].length=="number")return xr[t]}catch{}mo[e]=!1}function Lu(e,t){const n=Ou(e);if(!n)return;const r=bs(n,Qa);if(r!==qa){if(r){const a=Es(n);for(let c=0;c{const c=or+a.toString(),l=bs(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}Ja(n,c)}};let i=Es(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,ws(n,i)):ku[e].add(a))}function $u(){if(!di){Hb(!0);for(const e in mo)Lu(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=Jt(r,o);if(!ai(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function Nb(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in mo)Lu(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function jb(e,t){di||$u();function n(r){let o;if(!mo[r]||!(o=Ou(r)))return;const s=ku[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=Es(o),!ws(o,i+1))return;const a={cached:Math.floor(Date.now()/Iu),provider:e.provider,data:t};return fi(o,or+i.toString(),JSON.stringify(a))}t.lastModified&&!Nb(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Xa(){}function Fb(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Sb(e)}))}function Bb(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=vs(n)))return;s.prepare(n,r,o).forEach(a=>{Db(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=ai(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),jb(e,c)}catch(l){console.error(l)}Fb(e)})})}))}const zb=(e,t)=>{const n=kb(e,!0,xu()),r=Ab(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Xa)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(Jt(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=Jt(l,u),g=d.pendingIcons||(d.pendingIcons=new Set);g.has(f)||(g.add(f),o[l][u].push(f))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&Bb(c,o[l][u])}),t?Ib(t,r,s):Xa},Ub=e=>new Promise((t,n)=>{const r=typeof e=="string"?ho(e,!0):e;if(!r){n(e);return}zb([r||e],o=>{if(o.length&&r){const s=pb(r);if(s){t({...ii,...s});return}}n(e)})});({..._b});const Ga={backgroundColor:"currentColor"},Vb={backgroundColor:"transparent"},Ya={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Za={webkitMask:Ga,mask:Ga,background:Vb};for(const e in Za){const t=Za[e];for(const n in Ya)t[e+n]=Ya[n]}const Mo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Mo[e+"-flip"]=t,Mo[e.slice(0,1)+"-flip"]=t,Mo[e+"Flip"]=t});xu(!0);yb("",xb);if(typeof document<"u"&&typeof window<"u"){$u();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!mb(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;vb(n,o)||console.error(r)}catch{console.error(r)}}}}({...ii});const Wb=["width","height"],Kb=xe({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){var h;let t,n;const r=e,o=me(),s=Zl();(h=s==null?void 0:s.nuxtIcon)!=null&&h.aliases;const i=ut("icons",()=>({})),a=be(!1),c=Y(()=>{var p;return(((p=s.nuxtIcon)==null?void 0:p.aliases)||{})[r.name]||r.name}),l=Y(()=>{var p;return(p=i.value)==null?void 0:p[c.value]}),u=Y(()=>o.vueApp.component(c.value)),f=Y(()=>{var w,_,m;if(!r.size&&typeof((w=s.nuxtIcon)==null?void 0:w.size)=="boolean"&&!((_=s.nuxtIcon)!=null&&_.size))return;const p=r.size||((m=s.nuxtIcon)==null?void 0:m.size)||"1em";return String(Number(p))===p?`${p}px`:p}),d=Y(()=>{var p;return((p=s==null?void 0:s.nuxtIcon)==null?void 0:p.class)??"icon"});async function g(){var p;u.value||(p=i.value)!=null&&p[c.value]||(a.value=!0,i.value[c.value]=await Ub(c.value).catch(()=>{}),a.value=!1)}return Ie(()=>c.value,g),!u.value&&([t,n]=Cd(()=>g()),t=await t,n()),(p,w)=>$(a)?(q(),he("span",{key:0,class:je($(d)),width:$(f),height:$(f)},null,10,Wb)):$(l)?(q(),ce($(ib),{key:1,icon:$(l),class:je($(d)),width:$(f),height:$(f)},null,8,["icon","class","width","height"])):$(u)?(q(),ce(cr($(u)),{key:2,class:je($(d)),width:$(f),height:$(f)},null,8,["class","width","height"])):(q(),he("span",{key:3,class:je($(d)),style:wn({fontSize:$(f),lineHeight:$(f),width:$(f),height:$(f)})},Kt(e.name),7))}});const De=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Dt=De(Kb,[["__scopeId","data-v-121c6e7d"]]),qb=Object.freeze(Object.defineProperty({__proto__:null,default:Dt},Symbol.toStringTag,{value:"Module"})),Mt=()=>{const e=Y(()=>{var l;return((l=Zl())==null?void 0:l.docus)||{}}),{navPageFromPath:t,navDirFromPath:n,navKeyFromPath:r}=ei(),{navigation:o,page:s}=po(),i=dt(),a=Y(()=>{var h,p,w,_,m,E,v,C,x,S,P;const l=((h=e==null?void 0:e.value)==null?void 0:h.titleTemplate)||r((p=s==null?void 0:s.value)==null?void 0:p._path,"titleTemplate",o.value||[])||`%s · ${((w=e==null?void 0:e.value)==null?void 0:w.title)||"Docus"}`,u=((_=e==null?void 0:e.value)==null?void 0:_.main)||{},f=((m=e==null?void 0:e.value)==null?void 0:m.header)||{},d=((E=e==null?void 0:e.value)==null?void 0:E.aside)||{},g=((v=e==null?void 0:e.value)==null?void 0:v.footer)||{};return{...e.value,titleTemplate:l,main:{...u,...r(i.path,"main",o.value||[]),...(C=s.value)==null?void 0:C.main},header:{...f,...r(i.path,"header",o.value||[]),...(x=s.value)==null?void 0:x.header},aside:{...d,...r(i.path,"aside",o.value||[]),...(S=s.value)==null?void 0:S.aside},footer:{...g,...r(i.path,"footer",o.value||[]),...(P=s.value)==null?void 0:P.footer}}});return{tree:Y(()=>{var g,h,p,w,_;let l=o.value||[];const u=i.path,f=((h=(g=a==null?void 0:a.value)==null?void 0:g.aside)==null?void 0:h.level)||0,d=((w=(p=a==null?void 0:a.value)==null?void 0:p.aside)==null?void 0:w.exclude)||[];if(f){const E=u.split("/").splice(0,1+f).join("/");l=n(E,l)||[],Array.isArray(l)||(l=[l])}if(l.length===0){if(l=t(((_=s.value)==null?void 0:_._path)||"/",o.value||[]),!l)return[];Array.isArray(l)||(l=[l])}return l.filter(m=>!d.includes(m._path))}),config:a}},Qb=xe({__name:"AppSocialIcons",setup(e){const t=["twitter","facebook","instagram","youtube","github","medium"],{config:n}=Mt(),r=Y(()=>Object.entries(n.value.socials||{}).map(([o,s])=>typeof s=="object"?s:typeof s=="string"&&s&&t.includes(o)?{href:`https://${o}.com/${s}`,icon:`fa-brands:${o}`,label:s,rel:"noopener noreferrer"}:null).filter(Boolean));return(o,s)=>{const i=Dt,a=ur;return q(!0),he(we,null,er($(r),c=>(q(),ce(a,{key:c.label,rel:c.rel,title:c.label,"aria-label":c.label,href:c.href,target:"_blank"},{default:Qe(()=>[c.icon?(q(),ce(i,{key:0,name:c.icon},null,8,["name"])):Be("",!0)]),_:2},1032,["rel","title","aria-label","href"]))),128)}}});const go=De(Qb,[["__scopeId","data-v-61bedeb2"]]),Jb=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"})),Xb={class:"docs-aside-tree"},Gb=["onClick"],Yb={class:"content"},Zb={class:"content"},ew=xe({__name:"DocsAsideTree",props:{links:{type:Array,default:()=>[]},level:{type:Number,default:0},max:{type:Number,default:null},parent:{type:Object,default:null}},setup(e){var l;const t=e,n=dt(),{config:r}=Mt(),o=ut(`docus-docs-aside-collapse-map-${((l=t.parent)==null?void 0:l._path)||"/"}`,()=>t.level===0?{}:t.links.filter(u=>!!u.children).reduce((u,f)=>(u[f._path]=!0,u),{})),s=u=>n.path===u._path,i=u=>{var f,d,g,h;if(u.children){if(typeof o.value[u._path]<"u")return o.value[u._path];if([!0,!1].includes((f=u==null?void 0:u.aside)==null?void 0:f.collapsed))return u.aside.collapsed;if(u!=null&&u.collapsed)return u==null?void 0:u.collapsed;if((g=(d=r==null?void 0:r.value)==null?void 0:d.aside)!=null&&g.collapsed)return(h=r.value.aside)==null?void 0:h.collapsed}return!1},a=u=>o.value[u._path]=!i(u),c=Y(()=>t.links.some(u=>u.children));return(u,f)=>{const d=Dt,g=ur,h=pi;return q(),he("ul",Xb,[(q(!0),he(we,null,er(e.links,p=>{var w,_,m,E,v;return q(),he("li",{key:p._path,class:je({"has-parent-icon":(w=e.parent)==null?void 0:w.icon,"has-children":e.level>0&&p.children,bordered:e.level>0||!$(c),active:s(p)})},[p.children?(q(),he("button",{key:0,class:"title-collapsible-button",onClick:C=>a(p)},[de("span",Yb,[(_=p==null?void 0:p.navigation)!=null&&_.icon||p.icon?(q(),ce(d,{key:0,name:((m=p==null?void 0:p.navigation)==null?void 0:m.icon)||p.icon,class:"icon"},null,8,["name"])):Be("",!0),de("span",null,Kt(((E=p==null?void 0:p.navigation)==null?void 0:E.title)||p.title||p._path),1)]),de("span",null,[ne(d,{name:i(p)?"lucide:chevrons-up-down":"lucide:chevrons-down-up",class:"collapsible-icon"},null,8,["name"])])],8,Gb)):(q(),ce(g,{key:1,to:p.redirect?p.redirect:p._path,class:je(["link",{padded:e.level>0||!$(c),active:s(p)}]),exact:p.exact},{default:Qe(()=>{var C,x,S;return[de("span",Zb,[(C=p==null?void 0:p.navigation)!=null&&C.icon||p.icon?(q(),ce(d,{key:0,name:((x=p==null?void 0:p.navigation)==null?void 0:x.icon)||p.icon,class:"icon"},null,8,["name"])):Be("",!0),de("span",null,Kt(((S=p==null?void 0:p.navigation)==null?void 0:S.title)||p.title||p._path),1)])]}),_:2},1032,["to","exact","class"])),(v=p.children)!=null&&v.length&&(e.max===null||e.level+1{const{$menu:e}=me();return e},rw={class:"wrapper"},ow={class:"icons"},sw=xe({__name:"AppHeaderDialog",setup(e){const{navigation:t}=po(),{config:n}=Mt(),r=Y(()=>{var c;return((c=n.value.aside)==null?void 0:c.exclude)||[]}),o=Y(()=>(t.value||[]).filter(c=>!r.value.includes(c._path))),{visible:s,open:i,close:a}=nw();return Ie(s,c=>c?i():a()),(c,l)=>{const u=Dt,f=go,d=pi;return q(),he(we,null,[de("button",{"aria-label":"Menu",onClick:l[0]||(l[0]=(...g)=>$(i)&&$(i)(...g))},[ne(u,{name:"heroicons-outline:menu","aria-hidden":"”true”"})]),(q(),ce(Wd,{to:"body"},[$(s)?(q(),he("nav",{key:0,class:"dialog",onClick:l[3]||(l[3]=(...g)=>$(a)&&$(a)(...g))},[de("div",{onClick:l[2]||(l[2]=Rp(()=>{},["stop"]))},[de("div",rw,[de("button",{"aria-label":"Menu",onClick:l[1]||(l[1]=(...g)=>$(a)&&$(a)(...g))},[ne(u,{name:"heroicons-outline:x","aria-hidden":"”true”"})]),de("div",ow,[ne(f)])]),ne(d,{links:$(o)},null,8,["links"])])])):Be("",!0)]))],64)}}});const Du=De(sw,[["__scopeId","data-v-3a415e05"]]),iw=Object.freeze(Object.defineProperty({__proto__:null,default:Du},Symbol.toStringTag,{value:"Module"}));const aw={},cw={id:"NuxtMongooseLogo",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 235.5 33.2"},lw=Qd('NuxtMongoose',5),uw=[lw];function fw(e,t){return q(),he("svg",cw,uw)}const Mu=De(aw,[["render",fw]]),dw=Object.freeze(Object.defineProperty({__proto__:null,default:Mu},Symbol.toStringTag,{value:"Module"})),pw={key:0,class:"logo"},hw=["src"],mw=["src"],gw={key:1,class:"title"},_w=xe({__name:"AppHeaderLogo",setup(e){const{config:t}=Mt(),n=Y(()=>{var o;return((o=t.value.header)==null?void 0:o.logo)||!1}),r=Y(()=>{var o;return((o=t.value.header)==null?void 0:o.title)||t.value.title});return(o,s)=>{const i=Mu,a=ur;return q(),ce(a,{class:"navbar-logo",to:"/","aria-label":$(r)},{default:Qe(()=>[$(n)?(q(),he("span",pw,[typeof $(n)=="string"?(q(),ce(cr($(n)),{key:0})):$(n).light&&$(n).dark?(q(),he(we,{key:1},[de("img",{src:$(n).light,alt:"",class:"light-img"},null,8,hw),de("img",{src:$(n).dark,alt:"",class:"dark-img"},null,8,mw)],64)):$(n)?(q(),ce(i,{key:2})):Be("",!0)])):(q(),he("span",gw,Kt($(r)),1))]),_:1},8,["aria-label"])}}});const Hu=De(_w,[["__scopeId","data-v-55fca887"]]),yw=Object.freeze(Object.defineProperty({__proto__:null,default:Hu},Symbol.toStringTag,{value:"Module"})),vw={key:0},bw=xe({__name:"AppHeaderNavigation",setup(e){const t=dt(),{navBottomLink:n}=ei(),{navigation:r}=po(),{config:o}=Mt(),s=Y(()=>{var l;return!!((l=o.value.aside)!=null&&l.level)}),i=Y(()=>{var l;return((l=o.value.header)==null?void 0:l.exclude)||[]}),a=Y(()=>(r.value||[]).filter(l=>!i.value.includes(l._path))),c=l=>l.exact?t.fullPath===l._path:t.fullPath.startsWith(l._path);return(l,u)=>{const f=Dt,d=ur;return $(s)?(q(),he("nav",vw,[de("ul",null,[(q(!0),he(we,null,er($(a),g=>(q(),he("li",{key:g._path},[ne(d,{class:je(["link",{active:c(g)}]),to:g.redirect?g.redirect:$(n)(g)},{default:Qe(()=>{var h,p;return[g.icon&&((p=(h=$(o))==null?void 0:h.header)!=null&&p.showLinkIcon)?(q(),ce(f,{key:0,name:g.icon},null,8,["name"])):Be("",!0),co(" "+Kt(g.title),1)]}),_:2},1032,["to","class"])]))),128))])])):Be("",!0)}}});const Nu=De(bw,[["__scopeId","data-v-005c31f4"]]),ww=Object.freeze(Object.defineProperty({__proto__:null,default:Nu},Symbol.toStringTag,{value:"Module"})),ju=()=>{const{$docSearch:e}=me();return e||{hasDocSearch:be(!1)}},Fu=e=>(Qf("data-v-5a1b2fdc"),e=e(),Jf(),e),Ew={type:"button","aria-label":"Search"},Tw={class:"content"},Cw=Fu(()=>de("span",null,"Search",-1)),Pw=Fu(()=>de("span",null,[de("kbd",null,"⌘"),de("kbd",null,"K")],-1)),xw=xe({__name:"AppSearch",setup(e){const{element:t}=ju(),n=()=>t.value.querySelector("button").click();return(r,o)=>{const s=Dt;return q(),he("div",{class:"doc-search",onClick:n},[de("button",Ew,[de("span",Tw,[ne(s,{name:"heroicons-outline:search"}),Cw,Pw])])])}}});const Bu=De(xw,[["__scopeId","data-v-5a1b2fdc"]]),Aw=Object.freeze(Object.defineProperty({__proto__:null,default:Bu},Symbol.toStringTag,{value:"Module"})),Sw=xe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=be(!1);return Pn(()=>{r.value=!0}),o=>{var c;if(r.value)return(c=t.default)==null?void 0:c.call(t);const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return he(a,n,i)}}}),Rw={name:w0,props:{placeholder:String,tag:{type:String,default:"span"}}};function Iw(e,t,n,r,o,s){const i=Sw;return q(),ce(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Qe(()=>[zs(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const kw=De(Rw,[["render",Iw]]),Ow=()=>ut("color-mode").value,Lw=xe({__name:"ThemeSelect",setup(e){const t=Ow(),n=()=>{const r=["system","light","dark"],s=(r.indexOf(t.preference)+1)%r.length;t.preference=r[s]};return(r,o)=>{const s=Dt,i=kw;return q(),he("button",{"aria-label":"Color Mode",onClick:n},[ne(i,{placeholder:"..."},{default:Qe(()=>[$(t).preference==="dark"?(q(),ce(s,{key:0,name:"uil:moon"})):$(t).preference==="light"?(q(),ce(s,{key:1,name:"uil:sun"})):(q(),ce(s,{key:2,name:"uil:desktop"}))]),_:1})])}}});const zu=De(Lw,[["__scopeId","data-v-0c4f4835"]]),$w=Object.freeze(Object.defineProperty({__proto__:null,default:zu},Symbol.toStringTag,{value:"Module"})),Dw=xe({__name:"Container",props:{as:{type:String,required:!1,default:"div"},padded:{required:!1,type:[Boolean,Object],default:!0},fluid:{required:!1,type:[Boolean,Object],default:!1}},setup(e){const t=e,n={padded:{true:{px:"{elements.container.padding.mobile}","@xs":{px:"{elements.container.padding.xs}"},"@sm":{px:"{elements.container.padding.sm}"},"@md":{px:"{elements.container.padding.md}"}}},fluid:{true:{},false:{maxWidth:"{elements.container.maxWidth}"}}},{$pinceau:r}=l0(t,n,void 0);return(o,s)=>(q(),ce(cr(e.as),{class:je(["container",[$(r)]])},{default:Qe(()=>[zs(o.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}});const hi=De(Dw,[["__scopeId","data-v-6d327d86"]]),Mw=Object.freeze(Object.defineProperty({__proto__:null,default:hi},Symbol.toStringTag,{value:"Module"})),Hw={class:"section left"},Nw={class:"section center"},jw={class:"section right"},Fw={class:"social-icons"},Bw=xe({__name:"AppHeader",props:{},setup(e){const{config:t}=Mt(),{navigation:n}=po(),{hasDocSearch:r}=ju(),o=Y(()=>{var s,i,a,c;return((s=n.value)==null?void 0:s.length)>1||((c=(a=(i=n.value)==null?void 0:i[0])==null?void 0:a.children)==null?void 0:c.length)});return(s,i)=>{var h,p;const a=Du,c=Hu,l=Nu,u=Bu,f=zu,d=go,g=hi;return q(),he("header",{class:je({"has-dialog":$(o),"has-doc-search":$(r)})},[ne(g,{fluid:(p=(h=$(t))==null?void 0:h.header)==null?void 0:p.fluid},{default:Qe(()=>[de("div",Hw,[$(o)?(q(),ce(a,{key:0})):Be("",!0),ne(c)]),de("div",Nw,[$(o)?(q(),ce(c,{key:0})):Be("",!0),ne(l)]),de("div",jw,[$(r)?(q(),ce(u,{key:0})):Be("",!0),ne(f),de("div",Fw,[ne(d)])])]),_:1},8,["fluid"])],2)}}});const Uu=De(Bw,[["__scopeId","data-v-56e123b3"]]),zw=Object.freeze(Object.defineProperty({__proto__:null,default:Uu},Symbol.toStringTag,{value:"Module"})),Uw={class:"left"},Vw=["href"],Ww={key:1},Kw={class:"center"},qw={class:"right"},Qw=["aria-label","href","rel"],Jw=xe({__name:"AppFooter",setup(e){const{config:t}=Mt(),n=be(null),r=Y(()=>{var a,c;return((c=(a=t.value)==null?void 0:a.footer)==null?void 0:c.iconLinks)||[]}),o=Y(()=>{var a,c;return((c=(a=t.value)==null?void 0:a.footer)==null?void 0:c.textLinks)||[]}),s=Y(()=>{var a;return Object.entries(((a=t.value)==null?void 0:a.socials)||{}).filter(([,c])=>c).length}),i=Y(()=>n.value?s.value:0);return(a,c)=>{var g,h;const l=ur,u=Dt,f=go,d=hi;return q(),he("footer",null,[ne(d,{fluid:(h=(g=$(t))==null?void 0:g.footer)==null?void 0:h.fluid,padded:"",class:"footer-container"},{default:Qe(()=>{var p,w,_,m,E,v,C,x,S,P,M,N,Q,B;return[de("div",Uw,[(w=(p=$(t))==null?void 0:p.footer)!=null&&w.credits?(q(),he("a",{key:0,href:((E=(m=(_=$(t))==null?void 0:_.footer)==null?void 0:m.credits)==null?void 0:E.href)||"#",rel:"noopener",target:"_blank"},[(x=(C=(v=$(t))==null?void 0:v.footer)==null?void 0:C.credits)!=null&&x.icon?(q(),ce(cr((M=(P=(S=$(t))==null?void 0:S.footer)==null?void 0:P.credits)==null?void 0:M.icon),{key:0,class:"left-icon"})):Be("",!0),(B=(Q=(N=$(t))==null?void 0:N.footer)==null?void 0:Q.credits)!=null&&B.text?(q(),he("p",Ww,Kt($(t).footer.credits.text),1)):Be("",!0)],8,Vw)):Be("",!0)]),de("div",Kw,[(q(!0),he(we,null,er($(o),U=>(q(),ce(l,{key:U.href,class:"text-link","aria-label":U.text,href:U.href,target:(U==null?void 0:U.target)||"_self",rel:(U==null?void 0:U.rel)||"noopener noreferrer"},{default:Qe(()=>[co(Kt(U.text),1)]),_:2},1032,["aria-label","href","target","rel"]))),128))]),de("div",qw,[(q(!0),he(we,null,er($(r).slice(0,6-$(i)),U=>(q(),he("a",{key:U.label,class:"icon-link","aria-label":U.label,href:U.href,target:"_blank",rel:(U==null?void 0:U.rel)||"noopener noreferrer"},[ne(u,{name:U.icon},null,8,["name"])],8,Qw))),128)),ne(f,{ref_key:"socialIcons",ref:n},null,512)])]}),_:1},8,["fluid"])])}}});const Vu=De(Jw,[["__scopeId","data-v-b0012ff5"]]),Xw=Object.freeze(Object.defineProperty({__proto__:null,default:Vu},Symbol.toStringTag,{value:"Module"})),Gw=(e,t=dt())=>{const n=$(e),r=Ze();Ie(()=>$(e),(s=n)=>{if(!t.path||!s)return;const i=Object.assign({},(s==null?void 0:s.head)||{});i.meta=[...i.meta||[]],i.link=[...i.link||[]];const a=i.title||(s==null?void 0:s.title);a&&(i.title=a),r.public.content.host;const c=(i==null?void 0:i.description)||(s==null?void 0:s.description);c&&i.meta.filter(l=>l.name==="description").length===0&&i.meta.push({name:"description",content:c}),i!=null&&i.image||(s==null||s.image),Xt(()=>qr(i))},{immediate:!0})},Yw={class:"app-layout"},Zw=xe({__name:"AppLayout",setup(e){const{config:t}=Mt();return qr({titleTemplate:t.value.titleTemplate,meta:[{name:"twitter:card",content:"summary_large_image"}]}),Ie(()=>t.value.titleTemplate,()=>qr({titleTemplate:t.value.titleTemplate})),Gw(t.value),(n,r)=>{const o=_u,s=Uu,i=Vu;return q(),he("div",Yw,[ne(o),ne(s),de("main",null,[zs(n.$slots,"default",{},void 0,!0)]),ne(i)])}}});const Wu=De(Zw,[["__scopeId","data-v-846ba430"]]),eE=Object.freeze(Object.defineProperty({__proto__:null,default:Wu},Symbol.toStringTag,{value:"Module"})),tE={};function nE(e,t){const n=D0,r=Wu;return q(),ce(r,null,{default:Qe(()=>[ne(n)]),_:1})}const rE=De(tE,[["render",nE]]),ec={__name:"nuxt-root",setup(e){const t=D(()=>k(()=>import("./error-component.44f3ea91.js"),[],import.meta.url).then(c=>c.default||c)),n=()=>null,r=me(),o=r.deferHydration(),s=!1;fn("_route",dt()),r.hooks.callHookWith(c=>c.map(l=>l()),"vue:setup");const i=uo();Vc((c,l,u)=>{if(r.hooks.callHook("vue:error",c,l,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Gm(c)&&(c.fatal||c.unhandled))return r.runWithContext(()=>on(c)),!1});const{islandContext:a}=!1;return(c,l)=>(q(),ce($c,{onResolve:$(o)},{default:Qe(()=>[$(i)?(q(),ce($(t),{key:0,error:$(i)},null,8,["error"])):$(a)?(q(),ce($(n),{key:1,context:$(a)},null,8,["context"])):$(s)?(q(),ce(cr($(s)),{key:2})):(q(),ce($(rE),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=gh.create({baseURL:yh()}));let tc;const oE=$h(I0);{let e;tc=async function(){var s,i;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?$p(ec):Lp(ec),o=kh({vueApp:r});try{await Lh(o,oE)}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount("#"+Lm),await o.hooks.callHook("app:mounted",r),await Xt()}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}return r},e=tc().catch(t=>{console.error("Error while mounting app:",t)})}export{po as $,Ir as A,Al as B,Zl as C,Sr as D,Lp as E,we as F,rn as G,ie as H,Y as I,l0 as J,zs as K,Dt as L,ur as M,xc as N,gd as O,Ie as P,Xs as Q,wt as R,co as S,Qs as T,vE as U,aE as V,qe as W,fE as X,Mt as Y,pi as Z,k as _,xe as a,An as a0,xn as a1,hi as a2,Hv as a3,ei as a4,er as a5,Rp as a6,vc as a7,lf as a8,Rs as a9,$a as aA,gE as aB,mt as aC,mE as aD,dE as aE,pE as aF,hE as aG,Iv as aH,qr as aI,Xt as aa,vl as ab,Jd as ac,ld as ad,Ip as ae,ms as af,Ow as ag,wd as ah,Ae as ai,yE as aj,_l as ak,Gw as al,iE as am,Jr as an,ri as ao,_E as ap,pn as aq,pl as ar,Ov as as,cE as at,wn as au,Fe as av,uE as aw,Hn as ax,lE as ay,$0 as az,me as b,ce as c,D as d,Et as e,Pn as f,qd as g,Fs as h,he as i,je as j,de as k,Be as l,ne as m,sE as n,q as o,Rr as p,dt as q,be as r,Qf as s,Kt as t,$ as u,Jf as v,Qe as w,De as x,Ze as y,ut as z}; +`)},_domwindow(){return r("domwindow")},_bigint(o){return r("bigint:"+o.toString())},_process(){return r("process")},_timer(){return r("timer")},_pipe(){return r("pipe")},_tcp(){return r("tcp")},_udp(){return r("udp")},_tty(){return r("tty")},_statwatcher(){return r("statwatcher")},_securecontext(){return r("securecontext")},_connection(){return r("connection")},_zlib(){return r("zlib")},_context(){return r("context")},_nodescript(){return r("nodescript")},_httpparser(){return r("httpparser")},_dataview(){return r("dataview")},_signal(){return r("signal")},_fsevent(){return r("fsevent")},_tlswrap(){return r("tlswrap")}}}function La(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class vn{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||Yy).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new vn([...this.words])}}const Yy={stringify(e){const t=[];for(let n=0;n>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},Zy={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let c=0;c<4&&r*8+c*6>>6*(3-c)&63))}return n.join("")}},ev={parse(e){const t=e.length,n=[];for(let r=0;r>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new vn(n,t)}},tv={parse(e){return ev.parse(unescape(encodeURIComponent(e)))}};class nv{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new vn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=tv.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i>>7)^(E<<14|E>>>18)^E>>>3,C=Ft[d-2],x=(C<<15|C>>>17)^(C<<13|C>>>19)^C>>>10;Ft[d]=v+Ft[d-7]+x+Ft[d-16]}const g=c&l^~c&u,h=o&s^o&i^s&i,p=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),w=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),_=f+w+g+sv[d]+Ft[d],m=p+h;f=u,u=l,l=c,c=a+_|0,a=i,i=s,s=o,o=_+m|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+l|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function av(e){return new iv().finalize(e).toString(Zy)}function Jr(e,t={}){const n=typeof e=="string"?e:Gy(e,t);return av(n).slice(0,10)}const cv={path:"/",watch:!0,decode:e=>pl(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))};function Rr(e,t){var s;const n={...cv,...t},r=lv(n)||{},o=be(r[e]??((s=n.default)==null?void 0:s.call(n)));{const i=()=>{fv(e,o.value,n)};n.watch?Ie(o,i,{deep:n.watch!=="shallow"}):i()}return o}function lv(e={}){return jm(document.cookie,e)}function uv(e,t,n={}){return t==null?pa(e,t,{...n,maxAge:-1}):pa(e,t,n)}function fv(e,t,n={}){document.cookie=uv(e,t,n)}const ds=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),dv=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),pv=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ds(e)}):ds(e)};async function Yl(e,t=Et()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Yl(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}function hv(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)e.find(t=>t!==void 0),gv="noopener noreferrer";function _v(e){const t=e.componentName||"NuxtLink",n=(r,o)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const s=e.trailingSlash==="append"?_l:Qt;if(typeof r=="string")return s(r,!0);const i="path"in r?r.path:o(r).path;return{...r,name:void 0,path:s(i,!0)}};return xe({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=Et(),i=Y(()=>{const f=r.to||r.href||"";return n(f,s.resolve)}),a=Y(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Gt(i.value,{acceptRelative:!0})),c=be(!1),l=be(null),u=f=>{var d;l.value=r.custom?(d=f==null?void 0:f.$el)==null?void 0:d.nextElementSibling:f==null?void 0:f.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!vv()){const d=me();let g,h=null;Pn(()=>{const p=yv();pv(()=>{g=ds(()=>{var w;(w=l==null?void 0:l.value)!=null&&w.tagName&&(h=p.observe(l.value,async()=>{h==null||h(),h=null;const _=typeof i.value=="string"?i.value:s.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",_).catch(()=>{}),!a.value&&Yl(i.value,s).catch(()=>{})]),c.value=!0}))})})}),xn(()=>{g&&dv(g),h==null||h(),h=null})}return()=>{var p,w;if(!a.value){const _={ref:u,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(c.value&&(_.class=r.prefetchedClass||e.prefetchedClass),_.rel=r.rel),qe(wd("RouterLink"),_,o.default)}const f=typeof i.value=="object"?((p=s.resolve(i.value))==null?void 0:p.href)??null:i.value||null,d=r.target||null,g=r.noRel?null:mv(r.rel,e.externalRelAttribute,f?gv:"")||null,h=()=>Nl(f,{replace:r.replace});return r.custom?o.default?o.default({href:f,navigate:h,get route(){if(!f)return;const _=lr(f);return{path:_.pathname,fullPath:_.pathname,get query(){return gl(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f}},rel:g,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:qe("a",{ref:l,href:f,rel:g,target:d},(w=o.default)==null?void 0:w.call(o))}}})}const ur=_v({componentName:"NuxtLink"});function yv(){const e=me();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function vv(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const bv={docus:{title:"Nuxt Mongoose",description:"A Nuxt module for simplifying the use of Mongoose in your project.",image:"/cover.jpg",socials:{twitter:"arash_sheyda",github:"arashsheyda/nuxt-mongoose"},github:{dir:"docs/content",branch:"main",repo:"nuxt-mongoose",owner:"arashsheyda",edit:!0},aside:{level:0,collapsed:!1,exclude:[]},main:{padded:!0,fluid:!0},header:{logo:!0,showLinkIcon:!0,exclude:[],fluid:!0},footer:{fluid:!0,iconLinks:[{href:"https://nuxt.com",icon:"simple-icons:nuxtdotjs"}]}}},wv={docus:{title:"Docus",description:"The best place to start your documentation.",image:"https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png",socials:{},layout:"default",header:{title:"",logo:!1,showLinkIcon:!1,fluid:!1,exclude:[]},aside:{level:0,collapsed:!1,exclude:[]},footer:{credits:{icon:"IconDocus",text:"Powered by Docus",href:"https://docus.dev"},textLinks:[],iconLinks:[],fluid:!1},github:{dir:void 0,branch:void 0,repo:void 0,owner:void 0,edit:!1}}},Ev={prose:{copyButton:{iconCopy:"ph:copy",iconCopied:"ph:check"},headings:{icon:"ph:link"}}},Tv={},Cv={},Pv=Vm(bv,wv,Ev,Tv,Cv);function Zl(){const e=me();return e._appConfig||(e._appConfig=Ue(Pv)),e._appConfig}const rn=()=>{const e=ut("dd-pages",()=>({})),t=ut("dd-surrounds",()=>({})),n=ut("dd-navigation"),r=ut("dd-globals",()=>({}));return{pages:e,surrounds:t,navigation:n,globals:r}},po=()=>{const{navigation:e,pages:t,surrounds:n,globals:r}=rn(),o=Y(()=>Qt(dt().path)),s=Y(()=>t.value[o.value]),i=Y(()=>n.value[o.value]),a=Y(()=>{var g,h;return(h=(g=s==null?void 0:s.value)==null?void 0:g.body)==null?void 0:h.toc}),c=Y(()=>{var g;return(g=s.value)==null?void 0:g.type}),l=Y(()=>{var g;return(g=s.value)==null?void 0:g.excerpt}),u=Y(()=>{var g;return(g=s.value)==null?void 0:g.layout}),f=Y(()=>{var g;return(g=i.value)==null?void 0:g[1]}),d=Y(()=>{var g;return(g=i.value)==null?void 0:g[0]});return{globals:r,navigation:e,surround:i,page:s,excerpt:l,toc:a,type:c,layout:u,next:f,prev:d}},eu=e=>{if(!e.children)return e._path;for(const t of(e==null?void 0:e.children)||[]){const n=eu(t);if(n)return n}},tu=(e,t)=>{for(const n of t){if(n._path===e&&!n._id)return n.children;if(n.children){const r=tu(e,n.children);if(r)return r}}},nu=(e,t)=>{for(const n of t){if(n._path===e)return n;if(n.children){const r=nu(e,n.children);if(r)return r}}},xv=(e,t,n)=>{let r;const o=(s,i)=>{for(const a of i)if(!(s!=="/"&&a._path==="/")){if(s!=null&&s.startsWith(a._path)&&a[t]&&(r=a[t]),a._path===s)return;a.children&&o(s,a.children)}};return o(e,n),r},ei=()=>({navBottomLink:eu,navDirFromPath:tu,navPageFromPath:nu,navKeyFromPath:xv});function ti(e){return JSON.stringify(e,Av)}function Av(e,t){return t instanceof RegExp?`--REGEX ${t.toString()}`:t}const ru=e=>{let t=ti(e);return t=typeof Buffer<"u"?Buffer.from(t).toString("base64"):btoa(t),t=t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),(t.match(/.{1,100}/g)||[]).join("/")},Sv=["p","h1","h2","h3","h4","h5","h6","li"];function ps(e,t){return e.type===t||typeof e.type=="object"&&e.type.tag===t||e.tag===t}function ou(e){return ps(e,"text")||typeof e.children=="string"}function su(e){var t;return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof((t=e.children)==null?void 0:t.default)=="function"?e.children.default():[]}function hs(e){if(!e)return"";if(Array.isArray(e))return e.map(hs).join("");if(ou(e))return e.children||e.value;const t=su(e);return Array.isArray(t)?t.map(hs).join(""):""}function ni(e,t=["p"]){if(Array.isArray(e))return e.flatMap(r=>ni(r,t));let n=e;return t.some(r=>r==="*"||ps(e,r))&&(n=su(e)||e,!Array.isArray(n)&&Sv.some(r=>ps(e,r))&&(n=[n])),n}function iu(e,t=["p"]){return e=Array.isArray(e)?e:[e],t.length?e.flatMap(n=>iu(ni(n,[t[0]]),t.slice(1))).filter(n=>!(ou(n)&&hs(n).trim()==="")):e}const ri=()=>({isEnabled:()=>{const r=dt().query;return Object.prototype.hasOwnProperty.call(r,"preview")&&!r.preview?!1:!!(r.preview||Rr("previewToken").value||sessionStorage.getItem("previewToken"))},getPreviewToken:()=>Rr("previewToken").value||sessionStorage.getItem("previewToken")||void 0,setPreviewToken:r=>{Rr("previewToken").value=r,dt().query.preview=r||"",r?sessionStorage.setItem("previewToken",r):sessionStorage.removeItem("previewToken"),window.location.reload()}}),Xr=e=>vl(e,Ze().public.content.api.baseURL),fE=()=>({unwrap:ni,flatUnwrap:iu}),au=()=>{const{experimental:e}=Ze().public.content;return e.clientDB?!0:ri().isEnabled()},$a=(e,t)=>t.split(".").reduce((n,r)=>n&&n[r],e),cu=(e,t)=>Object.keys(e).filter(t).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),dE=e=>t=>Array.isArray(t)?t.map(n=>e(n)):e(t),lu=e=>{const t=[],n=[];for(const r of e)["$","_"].includes(r)?t.push(r):n.push(r);return{prefixes:t,properties:n}},pE=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=lu(e);return cu(t,o=>!r.includes(o)&&!n.includes(o[0]))},hE=(e=[])=>t=>{if(e.length===0||!t)return t;const{prefixes:n,properties:r}=lu(e);return cu(t,o=>r.includes(o)||n.includes(o[0]))},mE=(e,t)=>{const n=new Intl.Collator(t.$locale,{numeric:t.$numeric,caseFirst:t.$caseFirst,sensitivity:t.$sensitivity}),r=Object.keys(t).filter(o=>!o.startsWith("$"));for(const o of r)e=e.sort((s,i)=>{const a=[$a(s,o),$a(i,o)].map(c=>{if(c!==null)return c instanceof Date?c.toISOString():c});return t[o]===-1&&a.reverse(),n.compare(a[0],a[1])});return e},gE=(e,t="Expected an array")=>{if(!Array.isArray(e))throw new TypeError(t)},mt=e=>Array.isArray(e)?e:e?[e]:[],Rv=["sort","where","only","without"],Iv=(e,t)=>{const n={...t};for(const s of Rv)n[s]&&(n[s]=mt(n[s]));const r=(s,i=a=>a)=>(...a)=>(n[s]=i(...a),o),o={params:()=>({...n,...n.where?{where:[...mt(n.where)]}:{},...n.sort?{sort:[...mt(n.sort)]}:{}}),only:r("only",mt),without:r("without",mt),where:r("where",s=>[...mt(n.where),...mt(s)]),sort:r("sort",s=>[...mt(n.sort),...mt(s)]),limit:r("limit",s=>parseInt(String(s),10)),skip:r("skip",s=>parseInt(String(s),10)),find:()=>e(o),findOne:()=>(n.first=!0,e(o)),findSurround:(s,i)=>(n.surround={query:s,...i},e(o)),locale:s=>o.where({_locale:s})};return o},kv=()=>async e=>{const{content:t}=Ze().public,n=e.params(),r=t.experimental.stripQueryParameters?Xr(`/query/${`${Jr(n)}.${t.integrity}`}/${ru(n)}.json`):Xr(`/query/${Jr(n)}.${t.integrity}.json`);if(au())return(await k(()=>import("./client-db.d86ea5ab.js"),[],import.meta.url).then(i=>i.useContentDatabase())).fetch(e);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:ti(n),previewToken:ri().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o};function Ir(e,...t){const{content:n}=Ze().public,r=Iv(kv(),typeof e!="string"?e:{});let o;typeof e=="string"&&(o=th(An(e,...t)));const s=r.params;return r.params=()=>{var a,c,l;const i=s();return o&&(i.where=i.where||[],i.first&&(i.where||[]).length===0?i.where.push({_path:Qt(o)}):i.where.push({_path:new RegExp(`^${o.replace(/[-[\]{}()*+.,^$\s/]/g,"\\$&")}`)})),(a=i.sort)!=null&&a.length||(i.sort=[{_file:1,$numeric:!0}]),n.locales.length&&((l=(c=i.where)==null?void 0:c.find(f=>f._locale))!=null&&l._locale||(i.where=i.where||[],i.where.push({_locale:n.defaultLocale}))),i},r}const Ov=async e=>{const{content:t}=Ze().public;typeof(e==null?void 0:e.params)!="function"&&(e=Ir(e));const n=e.params(),r=t.experimental.stripQueryParameters?Xr(`/navigation/${`${Jr(n)}.${t.integrity}`}/${ru(n)}.json`):Xr(`/navigation/${Jr(n)}.${t.integrity}.json`);if(au())return(await k(()=>import("./client-db.d86ea5ab.js"),[],import.meta.url).then(i=>i.generateNavigation))(n);const o=await $fetch(r,{method:"GET",responseType:"json",params:t.experimental.stripQueryParameters?void 0:{_params:ti(n),previewToken:ri().getPreviewToken()}});if(typeof o=="string"&&o.startsWith(""))throw new Error("Not found");return o},Lv=Ve(e=>{var l,u,f,d;const t=(u=(l=Ze())==null?void 0:l.public)==null?void 0:u.content.documentDriven,n=(d=(f=Ze())==null?void 0:f.public)==null?void 0:d.content.experimental.clientDB,{navigation:r,pages:o,globals:s,surrounds:i}=rn(),a=(g,h,p,w)=>{var _;if(h&&(h!=null&&h.layout))return h.layout;if(g.matched.length&&((_=g.matched[0].meta)!=null&&_.layout))return g.matched[0].meta.layout;if(p&&h){const{navKeyFromPath:m}=ei(),E=m(h._path,"layout",p);if(E)return E}if(t.layoutFallbacks&&w){let m;for(const E of t.layoutFallbacks)if(w[E]&&w[E].layout){m=w[E].layout;break}if(m)return m}return"default"},c=async(g,h=!1)=>{e.callHook("content:document-driven:start",{route:g,dedup:h});const p=g.meta.documentDriven||{};if(g.meta.documentDriven===!1)return;const w=Qt(g.path),_=[];if(t.navigation&&p.navigation!==!1){const m=()=>{const{navigation:E}=rn();return E.value&&!h?E.value:Ov().then(v=>(E.value=v,v)).catch(()=>null)};_.push(m)}else _.push(()=>Promise.resolve(null));if(t.globals){const m=()=>{const{globals:E}=rn();if(typeof t.globals=="object"&&Array.isArray(t.globals)){console.log("Globals must be a list of keys with QueryBuilderParams as a value.");return}return Promise.all(Object.entries(t.globals).map(([v,C])=>{if(!h&&E.value[v])return E.value[v];let x="findOne";return C!=null&&C.type&&(x=C.type),Ir(C)[x]().catch(()=>null)})).then(v=>v.reduce((C,x,S)=>{const P=Object.keys(t.globals)[S];return C[P]=x,C},{}))};_.push(m)}else _.push(()=>Promise.resolve(null));if(t.page&&p.page!==!1){let m={_path:w};typeof p.page=="string"&&(m={_path:p.page}),typeof p.page=="object"&&(m=p.page);const E=()=>{const{pages:v}=rn();return!h&&v.value[w]&&v.value[w]._path===w?v.value[w]:Ir().where(m).findOne().catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));if(t.surround&&p.surround!==!1){let m=w;["string","object"].includes(typeof p.page)&&(m=p.page),["string","object"].includes(typeof p.surround)&&(m=p.surround);const E=()=>{const{surrounds:v}=rn();return!h&&v.value[w]?v.value[w]:Ir().where({_partial:{$not:!0},navigation:{$not:!1}}).without(["body"]).findSurround(m).catch(()=>null)};_.push(E)}else _.push(()=>Promise.resolve(null));return await Promise.all(_.map(m=>m())).then(async([m,E,v,C])=>{var S,P;m&&(r.value=m),E&&(s.value=E),C&&(i.value[w]=C);const x=(v==null?void 0:v.redirect)||((P=(S=v==null?void 0:v._dir)==null?void 0:S.navigation)==null?void 0:P.redirect);if(x)return o.value[w]=v,x;if(v){const M=a(g,v,m,E),N=Hn[M];N&&typeof N=="function"&&await N(),g.meta.layout=M,v.layout=M}o.value[w]=v,await e.callHook("content:document-driven:finish",{route:g,dedup:h,page:v,navigation:m,globals:E,surround:C})})};Qm(async(g,h)=>{if(g.path.includes("favicon.ico"))return;if(!n&&g.path===h.path){if(!g.meta.layout){const w=Qt(g.path);o.value[w]&&(g.meta.layout=o.value[w].layout)}return}const p=await c(g,!1);if(p)return Gt(p)?Al(e,Nl,[p,{external:!0}]):p}),e.hook("app:data:refresh",async()=>await c(dt(),!0))});let oi=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");const $v=/\d/,Dv=["-","_","/","."];function Mv(e=""){if(!$v.test(e))return e.toUpperCase()===e}function uu(e,t){const n=t??Dv,r=[];if(!e||typeof e!="string")return r;let o="",s,i;for(const a of e){const c=n.includes(a);if(c===!0){r.push(o),o="",s=void 0;continue}const l=Mv(a);if(i===!1){if(s===!1&&l===!0){r.push(o),o=a,s=l;continue}if(s===!0&&l===!1&&o.length>1){const u=o[o.length-1];r.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=l;continue}}o+=a,s=l,i=c}return r.push(o),r}function Hv(e){return e?e[0].toUpperCase()+e.slice(1):""}function _E(e){return e?(Array.isArray(e)?e:uu(e)).map(t=>Hv(t)).join(""):""}function ms(e,t){return e?(Array.isArray(e)?e:uu(e)).map(n=>n.toLowerCase()).join(t??"-"):""}const fu=new RegExp("\\{([^}]+)\\}","g"),Nv="@dark",jv="@light",Fv="@initial";function Da(e,t,n,r="."){typeof t=="string"&&(t=t.split(r));const o=t.length-1;for(let i=0;it.includes(i))){r[o]={value:e[o]};continue}r[o]=pu(e[o],t,n)}}return r}function Bv(e={},t={}){const n={key:"attributes.variable",onNotFound:!1,...t};function r(o=void 0,s){if(!o)return $(e);const i={...n,...s},{key:a,onNotFound:c}=i,l=Gr($(e),o);if(!l&&typeof c=="function"){c(o,i);return}return a?l&&(l[a]?l[a]:Gr(l,a)):l}return r.bind(this)}function hu(e){return Array.isArray(e)&&(e=e.join("-")),e.charAt(0)==="{"&&e.charAt(e.length-1)==="}"&&(e=e.substr(1,e.length-2)),`--${e.split(".").join("-")}`}function zv(e,t,n,r,o=[],s,i){var c;const a=Vv(e,t,r,s,i);return a||((c=s==null?void 0:s.utils)!=null&&c[e]?typeof s.utils[e]=="function"?s.utils[e](t):t?s.utils[e]:{}:(t=Uv(e,t,o,s,i),{[e]:t}))}function Uv(e,t,n,r,o){return(Array.isArray(t)||typeof t=="string"||typeof t=="number")&&(Array.isArray(t)?t=t.map(s=>Ma(e,s,n,r,o)).join(","):t=Ma(e,t,n,r,o)),t}function Ma(e,t,n,r,o){return typeof t=="number"?t:(t.match(fu)&&(t=mu(e,t,n,r,o)),t==="{}"?"":t)}function mu(e,t,n,r,o){return typeof t!="string"||(t=t.replace(fu,(s,i)=>{const a=hu(i),c=`var(${a})`;if(n.includes(a))return c;const l=r.$tokens(i,{key:void 0,loc:o}),u=typeof l=="string"?l:(l==null?void 0:l.variable)||(l==null?void 0:l.value);return u||c})),t}function Vv(e,t,n,r,o){if(e.startsWith("@")){const s=a=>{a=r.options.colorSchemeMode==="class"?`:root.${a}`:`@media (prefers-color-scheme: ${a})`;const c=a.startsWith("@media");return r!=null&&r.runtime?{"@media":{[a]:t}}:{[c?a:`${a} &`]:t}};if(e===Nv)return s("dark");if(e===jv)return s("light");if(e===Fv){const a=r.$tokens("media.initial",{key:"value",onNotFound:!1,loc:o});return{[`@media${a?` ${a}`:""}`]:t}}const i=r.$tokens("media",{key:void 0,loc:o});if(i){const a=e.replace("@","");if(i[a])return{[`@media ${i[a].value}`]:t}}return{[e]:t}}}function Wv(e,t,n,r){var i;let o="";if(e==="dark"||e==="light")r==="class"?o=`:root.${e}`:o=`(prefers-color-scheme: ${e})`;else if(e!=="initial"&&n){const a=(i=n==null?void 0:n.media)==null?void 0:i[e];a&&(o=a.value)}let s;return o?o.startsWith(".")?s=`@media { :root${o} {`:o.startsWith(":root")?s=`@media { ${o} {`:s=`@media ${o} { :root {`:s="@media { :root {",`${`${`${s}--pinceau-mq: ${String(e)}; ${t}`} } }`} +`}const Ha=/\s*,\s*(?![^()]*\))/,Kv=(e,t)=>e.reduce((n,r)=>(n.push(...t.map(o=>o.includes("&")?o.replace(/&/g,/[ +>|~]/.test(r)&&/&.*&/.test(o)?`:is(${r})`:r):`${r} ${o}`)),n),[]),{prototype:{toString:qv}}=Object,Qv=(e,t=void 0)=>{const n=new WeakSet,r=(s,i,a,c,l,u,f)=>{for(let d=0;d{let u="";for(const f in s){const d=f.charCodeAt(0)===64,g=f.charCodeAt(0)===45&&f.charCodeAt(1)===45;for(const h of d&&Array.isArray(s[f])?s[f]:[s[f]]){if(t&&(f!==c||h!==l)){const w=t(f,h,s,i);if(w!==null){u+=typeof w=="object"&&w?o(w,i,a,f,h):w??"";continue}}if(typeof h=="object"&&h&&h.toString===qv){n.has(i)&&(n.delete(i),u+="}");const w=Object(f);let _;d?(_=i,u+=o(h,_,a.concat(w))):(_=i.length?Kv(i,f.split(Ha)):f.split(Ha),u+=o(h,_,a)),n.has(w)&&(n.delete(w),u+="}"),n.has(_)&&(n.delete(_),u+="}")}else u=r(u,i,a,f,h,d,g)}}return u};return o(e,[],[])},gu=".phy[--]";function Jv(e,t={},n,r){const o=be(),s=be(t),i={},a=(h,p)=>Qv(h,(w,_,m,E)=>zv(w,_,m,E,[],{$tokens:e,utils:s.value,options:{colorSchemeMode:n,runtime:!0}},p));function c(){const h=globalThis||window;let p,w;if(h&&h.document){const _=`pinceau-runtime${r?`-${r}`:""}`,m=h.document;if(p=m.querySelector(`style#${_}`),!p){const E=m.createElement("style");E.id=_,E.type="text/css",p=m.head.appendChild(E)}w=m.querySelector(`style#pinceau-runtime-hydratable${r?`-${r}`:""}`)}return o.value=(p==null?void 0:p.sheet)||Xv(),w?l(w):void 0}function l(h){var w,_;const p={};for(const m of Object.entries(((w=h==null?void 0:h.sheet)==null?void 0:w.cssRules)||((_=o.value)==null?void 0:_.cssRules)||{})){const[E,v]=m,C=Gv(v);if(!C||!C.uid)continue;p[C.uid]||(p[C.uid]={});const x=o.value.insertRule(v.cssText,Number(E));p[C.uid][C.type]=o.value.cssRules.item(x)}return h&&h.remove(),p}function u(){return o.value?Object.entries(o.value.cssRules).reduce((h,[,p])=>(h+=`${p==null?void 0:p.cssText} `||"",h),""):""}function f(h,p,w,_,m){if(!Object.keys(w).length)return;const E=a({"@media":{[gu]:{"--puid":`${h}-${p}`},...w}},m);if(!E)return;_&&d(_);const v=o.value.insertRule(E);return o.value.cssRules[v]}function d(h){const p=Object.values(o.value.cssRules).indexOf(h);if(!(typeof p>"u"||isNaN(p)))try{o.value.deleteRule(p)}catch{}}const g=c();return{stringify:a,cache:i,pushDeclaration:f,deleteRule:d,sheet:o,toString:u,hydratableRules:g}}function Xv(){return{cssRules:[],insertRule(e,t=this.cssRules.length){return this.cssRules.splice(t,1,{cssText:e}),t},deleteRule(e){delete this.cssRules[e]}}}function Gv(e){const t=e.cssRules&&e.cssRules.length?Object.entries(e==null?void 0:e.cssRules).find(([s,i])=>i.selectorText===gu):void 0;if(!t)return;const n=/--puid:(.*)?-(c|v|p)?/m,[,r,o]=t[1].cssText.match(n);if(r)return{uid:r,type:o}}function Yv(e,t,n){var a,c,l;let r;const o=(a=e==null?void 0:e.vnode)==null?void 0:a.el;o&&o.classList?o.classList.forEach(u=>{r||u.startsWith("pc-")&&(r=u.split("pc-")[1])}):r=oi(6);const s=(l=(c=e==null?void 0:e.vnode)==null?void 0:c.type)==null?void 0:l.__scopeId,i={uid:r,componentId:s?`[${s}]`:"",uniqueClassName:`pc-${r}`};return t.value.c=i.uniqueClassName,Y(()=>i)}function Zv(e,t={},n){const r=be(),o=be(e||{});t=Object.assign({key:"variable"},t||{});const s=Bv(o,t);let i={};c();function a(p){var w;for(const _ of p.styleSheets)if((w=_==null?void 0:_.ownerNode)!=null&&w.textContent.includes("--pinceau-mq"))return _.ownerNode}function c(){var w;const p=globalThis||window;if(p&&p.document){let _=document.querySelector("#pinceau-theme");_||(_=a(document)),r.value=_==null?void 0:_.sheet,r.value&&l((w=r.value)==null?void 0:w.cssRules)}}function l(p){i={},Object.entries(p||{}).forEach(([w,_])=>{var E,v;if((_==null?void 0:_.type)!==4&&!((E=_==null?void 0:_.cssText)!=null&&E.includes("--pinceau-mq")))return!1;let m="initial";(v=_.cssText.match(/--([\w-]+)\s*:\s*(.+?);/gm))==null||v.forEach(C=>{var M;const[x,S]=C.replace(";","").split(/:\s(.*)/s);if(x==="--pinceau-mq"){if(m=S,!i[S]){const N=(M=Object.entries((_==null?void 0:_.cssRules)||{}).find(([Q,B])=>B==null?void 0:B.cssText.includes(`--pinceau-mq: ${S}`)))==null?void 0:M[1];N&&(i[S]=N)}return}const P=[...x.substring(2).split("-")];Da(o.value,P,g(P,S,x,m))})})}function u(p){var m;const w=Array.from(new Set(["dark","light",...Object.keys((p==null?void 0:p.media)||{}),...Object.keys(((m=o.value)==null?void 0:m.media)||{})])),_=pu(p||{},w,!0);du(_,(E,v,C)=>f(C,E.value))}function f(p,w,_="initial"){var v;if(typeof w=="object"){Object.entries(w).forEach(([C,x])=>f(p,x,C));return}const m=hu(p);i!=null&&i[_]||h(_);const E=mu(void 0,w,[],{$tokens:s});Da(o.value,p,g(p,E,m,_)),(v=i==null?void 0:i[_])==null||v.style.setProperty(m,E)}function d(p){return Y({get(){return Gr(o.value,`${p}.value`)},set(w){f(p,w)}})}function g(p,w,_,m="initial"){const E={value:w,variable:`var(${_})`},v=Gr(o.value,p);return v&&!_.startsWith("--media")&&(typeof(v==null?void 0:v.value)=="object"?E.value={...v.value,[m]:w}:E.value={initial:v.value,[m]:w}),E}function h(p){if(i!=null&&i[p])return i==null?void 0:i[p];const w=Wv(p,"",o.value,n),_=r.value.insertRule(w,r.value.cssRules.length);return i[p]=r.value.cssRules.item(_).cssRules[0],i[p]}return{$tokens:s,updateToken:f,updateTheme:u,reactiveToken:d,resolveStylesheet:c,theme:o}}function e0(e,t,n,r){var s,i;let o=(i=(s=n.hydratableRules)==null?void 0:s[e.value.uid])==null?void 0:i.c;Ie(()=>t,a=>{a=t0(e.value,a),o=n.pushDeclaration(e.value.uid,"c",a,o,{...r,type:"c"})},{immediate:!o,deep:!0}),Rs(()=>o&&n.deleteRule(o))}function t0(e,t){const n={},r=`.${e.uniqueClassName}${e.componentId}`;if(t&&Object.keys(t).length){n[r]=n[r]||{};for(const[o,s]of Object.entries(t)){const i=$(s);if(o==="css"){n[r]=Object.assign(n[r],i);continue}if(typeof i=="object")for(const[a,c]of Object.entries(i)){const l=$(c);if(!l)continue;a==="initial"&&(n[r]||(n[r]={}),n[r]||(n[r]={}),n[r][`--${o}`]=l);const u=`@${a}`;n[u]||(n[u]={}),n[u][r]||(n[u][r]={}),n[u][r][`--${ms(o)}`]=l}else{const a=$(i);a&&(n[r][`--${ms(o)}`]=a)}}}return n}const n0=(e,t,n,r,o,s)=>{var l,u;let i=(u=(l=r.hydratableRules)==null?void 0:l[e.value.uid])==null?void 0:u.v;const a=Y(()=>t?o0(e.value,n,t):{}),c=be([]);return Ie(a,({cacheId:f,variantsProps:d})=>{let g;if(r.cache[f]){const h=r.cache[f];i=h.rule,g=h.variantClass,h!=null&&h.classes&&(c.value=h.classes),h.count++}else{g=`pv-${oi(6)}`;const{declaration:h,classes:p}=r0(g,e.value,t,d);c.value=p,i=r.pushDeclaration(e.value.uid,"v",h,void 0,{...s,type:"v"}),r.cache[f]={rule:i,variantClass:g,classes:p,count:1}}o.value.v=g},{immediate:!0}),Rs(()=>{var g;const f=a==null?void 0:a.value,d=(g=r.cache)==null?void 0:g[f.cacheId];d&&(d.count--,d.count<=0&&(r.deleteRule(d.rule),delete r.cache[f.cacheId]))}),{variantsClasses:c}};function r0(e,t,n,r){var i,a;let o=[];const s={};if(r&&Object.keys(r).length){const c=`.${e}`;for(const[l,u]of Object.entries(r))if(typeof u=="object")for(const[f,d]of Object.entries(u)){const g=(d==null?void 0:d.toString())||d,h=n[l][g];if(!h)continue;if(s[c]||(s[c]={}),typeof h=="string"||Array.isArray(h)||h!=null&&h.$class){const w=typeof h=="string"||Array.isArray(h)?h:h.$class;o=[...o,...typeof w=="string"?w.split(" "):w],delete h.$class}f==="initial"&&(s[c]||(s[c]={}),s[c]=Sr(s[c],h));const p=`@${f}`;s[p]||(s[p]={}),s[p][c]||(s[p][c]={}),s[p][c]=Sr(s[p][c],h)}else{const f=((i=u==null?void 0:u.toString)==null?void 0:i.call(u))||u,d=(a=n==null?void 0:n[l])==null?void 0:a[f];if(!d)continue;s[c]||(s[c]={}),s[c]=Sr(s[c],d)}}return{declaration:s,classes:o}}function o0(e,t,n){if(!t||!n)return{};let r=e.componentId;const o=Object.entries(t).reduce((s,[i,a])=>(n[i]&&(typeof a=="object"?Object.entries(a).forEach(([c,l])=>r+=`${i}:${c}:${l}|`):r+=`${i}:${a}|`,s[i]=a),s),{});return{cacheId:r,variantsProps:o}}function s0(e,t,n,r){var i,a;let o=(a=(i=n.hydratableRules)==null?void 0:i[e.value.uid])==null?void 0:a.p;const s=Y(()=>t==null?void 0:t.css);Ie(s,c=>{c=i0(e.value,c),o&&n.deleteRule(o),o=n.pushDeclaration(e.value.uid,"p",c,o,{...r,type:"c"})},{immediate:!o}),Rs(()=>o&&n.deleteRule(o))}function i0(e,t){const n={};if(t){const r=`.${e.uniqueClassName}${e.componentId}`;n[r]=Object.assign(n[r]||{},t)}return n}const a0={theme:{},utils:{},tokensHelperConfig:{},multiApp:!1,colorSchemeMode:"media",dev:!1},c0={install(e,t){t=Object.assign(a0,t);const{theme:n,tokensHelperConfig:r,dev:o,multiApp:s,colorSchemeMode:i,utils:a}=t,c=Zv(n,r,i),l=s?oi(6):void 0,u=Jv(c.$tokens,a,i,l);function f(d={},g,h){const p=wt();let w;const _=be({v:"",c:""}),m=Yv(p,_);h&&Object.keys(h).length>0&&e0(m,h,u,w);let E;if(g&&Object.keys(g).length>0){const{variantsClasses:v}=n0(m,g,d,u,_,w);E=v}return d!=null&&d.css&&Object.keys(d==null?void 0:d.css).length>0&&s0(m,d,u,w),{$pinceau:Y(()=>{var v;return[_.value.v,_.value.c,(v=E==null?void 0:E.value)==null?void 0:v.join(" ")].join(" ")})}}e.config.globalProperties.$pinceauRuntime=f,e.config.globalProperties.$pinceauTheme=c,e.config.globalProperties.$pinceauSsr={get:()=>u.toString()},e.provide("pinceauRuntime",f),e.provide("pinceauTheme",c)}};function l0(e,t,n){return Fe("pinceauRuntime")(e,t,n)}function yE(){return Fe("pinceauTheme")}function vE(e,t=!1){return{type:[String,Object],default:e,required:t}}const u0=e=>({marginTop:e,marginBottom:e}),f0=e=>({marginLeft:e,marginRight:e}),d0=e=>({paddingTop:e,paddingBottom:e}),p0=e=>({paddingLeft:e,paddingRight:e}),h0={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},m0=e=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),g0=e=>({fontSize:`{text.${e}.fontSize}`,lineHeight:`{text.${e}.lineHeight}`}),_0=e=>({color:`{elements.state.${e}.color.primary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.primary} !important`,borderColor:`{elements.state.${e}.borderColor.primary} !important`,":deep(p code)":{color:`{elements.state.${e}.color.secondary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`},":deep(code)":{color:`{elements.state.${e}.color.primary} !important`,backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`},":deep(a code)":{borderColor:`{elements.state.${e}.borderColor.primary} !important`},":deep(a)":{borderColor:"currentColor",code:{backgroundColor:`{elements.state.${e}.backgroundColor.primary} !important`},"&:hover":{color:`{elements.state.${e}.color.secondary} !important`,borderColor:"currentColor !important",code:{backgroundColor:`{elements.state.${e}.backgroundColor.secondary} !important`,color:`{elements.state.${e}.color.secondary} !important`,borderColor:`{elements.state.${e}.borderColor.secondary} !important`}}}}),y0={my:u0,mx:f0,py:d0,px:p0,truncate:h0,lineClamp:m0,text:g0,stateColors:_0},v0=Ve(async e=>e.vueApp.use(c0,{colorSchemeMode:"class",utils:y0})),b0="__NUXT_COLOR_MODE__",w0="ColorScheme",E0="theme",T0="nuxt-color-mode",gt=window[b0],C0=Ve(e=>{const t=ut("color-mode",()=>Ue({preference:gt.preference,value:gt.value,unknown:!1,forced:!1})).value;qr({htmlAttrs:{[`data-${E0}`]:Y(()=>t.value)}}),Et().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?gt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=gt.getColorScheme())}))}Ie(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=gt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(T0,o))},{immediate:!0}),Ie(()=>t.value,(o,s)=>{gt.removeColorScheme(s),gt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=gt.preference,t.value=gt.value,t.unknown=!1)}),e.provide("colorMode",t)}),P0=Ve(e=>{const t=Ze().public.studio||{},n=dt(),r=Rr("previewToken",{sameSite:"none",secure:!0}),o=ut("studio-client-db",()=>null);async function s(){const i=await k(()=>import("./useStudio.04562908.js"),["./useStudio.04562908.js","./asyncData.b0a53602.js","./useStudio.d997f0bf.css"],import.meta.url).then(l=>l.useStudio),{mountPreviewUI:a,initiateIframeCommunication:c}=i();a(),c()}if(t.apiURL){if(Object.prototype.hasOwnProperty.call(n.query,"preview")&&!n.query.preview||!n.query.preview&&!r.value)return;n.query.preview&&(r.value=String(n.query.preview)),window.sessionStorage.setItem("previewToken",String(r.value)),e.hook("content:storage",i=>{o.value=i}),e.hook("app:mounted",async()=>{await s()})}}),x0=Ve({name:"nuxt:chunk-reload",setup(e){const t=Et(),n=Ze(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)}),t.onError((o,s)=>{if(r.has(o)){const a="href"in s&&s.href.startsWith("#")?n.app.baseURL+s.href:An(n.app.baseURL,s.fullPath);hv({path:a,persistState:!0})}})}}),A0=Ve({name:"nuxt:payload",setup(e){Mm()&&(e.hooks.hook("link:prefetch",async t=>{lr(t).protocol||await fa(t)}),Et().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await fa(t.path);r&&Object.assign(e.static.data,r.data)}))}}),S0=Ve(e=>{const t=be(!1),n=()=>t.value=!0,r=()=>t.value=!1,o=()=>t.value=!t.value;return e.$router.afterEach(()=>setTimeout(r,50)),Ie(t,s=>{const i=document.documentElement;s?i.style.overflow="hidden":setTimeout(()=>{i.style.overflow=""},100)},{immediate:!0}),{provide:{menu:{visible:t,close:r,open:n,toggle:o}}}}),R0=Ve(()=>{navigator&&navigator.userAgent&&navigator.userAgent.match(/Win[a-z0-9]*;/)&&document.documentElement.classList.add("docus-scrollbars")}),I0=[Ym,H_,N_,Qy,Jy,Lv,v0,C0,P0,x0,A0,S0,R0],k0=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var r;return((r=e.params[n.slice(1)])==null?void 0:r.toString())||""}),O0=(e,t)=>{const n=e.route.matched.find(o=>{var s;return((s=o.components)==null?void 0:s.default)===e.Component.type}),r=t??(n==null?void 0:n.meta.key)??(n&&k0(e.route,n));return typeof r=="function"?r(e.route):r},L0=(e,t)=>({default:()=>e?qe(hd,e===!0?{}:e,t):t}),$0=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var r;return t?qe(e,t,n):(r=n.default)==null?void 0:r.call(n)}}),D0=xe({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const n=me();return()=>qe(Xl,{name:e.name,route:e.route,...t},{default:r=>{if(!r.Component)return;const o=O0(r,e.pageKey),s=n.deferHydration(),i=!!(e.transition??r.route.meta.pageTransition??os),a=i&&H0([e.transition,r.route.meta.pageTransition,os,{onAfterLeave:()=>{n.callHook("page:transition:finish",r.Component)}}].filter(Boolean));return $0(Qs,i&&a,L0(e.keepalive??r.route.meta.keepalive??Om,qe($c,{suspensible:!0,onPending:()=>n.callHook("page:start",r.Component),onResolve:()=>{Xt(()=>n.callHook("page:finish",r.Component).finally(s))}},{default:()=>qe(N0,{key:o,routeProps:r,pageKey:o,hasTransition:i})}))).default()}})}});function M0(e){return Array.isArray(e)?e:e?[e]:[]}function H0(e){const t=e.map(n=>({...n,onAfterLeave:M0(n.onAfterLeave)}));return Sr(...t)}const N0=xe({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const o in e.routeProps.route)r[o]=Y(()=>t===e.pageKey?e.routeProps.route[o]:n[o]);return fn("_route",Ue(r)),()=>qe(e.routeProps.Component)}});const _u={__name:"AppLoadingBar",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3}},setup(e){const t=e,n=me(),r=Ue({percent:0,show:!1,canSucceed:!0});let o=null,s=null,i;function a(){o&&clearInterval(o),s&&clearTimeout(s),o=null}function c(){r.show||(a(),r.percent=0,r.canSucceed=!0,t.throttle?s=setTimeout(d,t.throttle):d())}function l(g){r.percent=Math.min(100,Math.floor(r.percent+g))}function u(){r.percent=100,f()}function f(){a(),setTimeout(()=>{r.show=!1,setTimeout(()=>{r.percent=0},400)},500)}function d(){r.show=!0,i=1e4/Math.floor(t.duration),o=setInterval(()=>{l(i)},100)}return n.hook("content:middleware:start",c),n.hook("page:start",c),n.hook("page:finish",u),xn(()=>a),(g,h)=>(q(),he("div",{class:je(["nuxt-progress",{"nuxt-progress-failed":!$(r).canSucceed}]),style:wn({width:`${$(r).percent}%`,left:$(r).left,opacity:$(r).show?1:0,backgroundSize:`${100/$(r).percent*100}% auto`})},null,6))}},j0=Object.freeze(Object.defineProperty({__proto__:null,default:_u},Symbol.toStringTag,{value:"Module"})),yu=Object.freeze({left:0,top:0,width:16,height:16}),vu=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),si=Object.freeze({...yu,...vu});Object.freeze({...si,body:"",hidden:!1});({...yu});const bu=Object.freeze({width:null,height:null}),wu=Object.freeze({...bu,...vu});function F0(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in bu?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const B0=/[\s,]+/;function z0(e,t){t.split(B0).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function U0(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}const V0=/(-?[0-9.]*[0-9]+[0-9.]*)/g,W0=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Na(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(V0);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=W0.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}const K0=e=>e==="unset"||e==="undefined"||e==="none";function q0(e,t){const n={...si,...e},r={...wu,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(h=>{const p=[],w=h.hFlip,_=h.vFlip;let m=h.rotate;w?_?m+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):_&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let E;switch(m<0&&(m-=Math.floor(m/4)*4),m=m%4,m){case 1:E=o.height/2+o.top,p.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:E=o.width/2+o.left,p.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}m%2===1&&(o.left!==o.top&&(E=o.left,o.left=o.top,o.top=E),o.width!==o.height&&(E=o.width,o.width=o.height,o.height=E)),p.length&&(s=''+s+"")});const i=r.width,a=r.height,c=o.width,l=o.height;let u,f;i===null?(f=a===null?"1em":a==="auto"?l:a,u=Na(f,c/l)):(u=i==="auto"?c:i,f=a===null?Na(u,l/c):a==="auto"?l:a);const d={},g=(h,p)=>{K0(p)||(d[h]=p.toString())};return g("width",u),g("height",f),d.viewBox=o.left.toString()+" "+o.top.toString()+" "+c.toString()+" "+l.toString(),{attributes:d,body:s}}const Q0=/\sid="(\S+)"/g,J0="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let X0=0;function G0(e,t=J0){const n=[];let r;for(;r=Q0.exec(e);)n.push(r[1]);if(!n.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(s=>{const i=typeof t=="function"?t(s):t+(X0++).toString(),a=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}function Y0(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function Z0(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function eb(e){return"data:image/svg+xml,"+Z0(e)}function tb(e){return'url("'+eb(e)+'")'}const ja={...wu,inline:!1},nb={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},rb={display:"inline-block"},gs={backgroundColor:"currentColor"},Eu={backgroundColor:"transparent"},Fa={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ba={webkitMask:gs,mask:gs,background:Eu};for(const e in Ba){const t=Ba[e];for(const n in Fa)t[e+n]=Fa[n]}const kr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";kr[e+"-flip"]=t,kr[e.slice(0,1)+"-flip"]=t,kr[e+"Flip"]=t});function za(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ob=(e,t)=>{const n=F0(ja,t),r={...nb},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const w=t[p];if(w!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[p]=w===!0||w==="true"||w===1;break;case"flip":typeof w=="string"&&z0(n,w);break;case"color":s.color=w;break;case"rotate":typeof w=="string"?n[p]=U0(w):typeof w=="number"&&(n[p]=w);break;case"ariaHidden":case"aria-hidden":w!==!0&&w!=="true"&&delete r["aria-hidden"];break;default:{const _=kr[p];_?(w===!0||w==="true"||w===1)&&(n[_]=!0):ja[p]===void 0&&(r[p]=w)}}}const c=q0(e,n),l=c.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,l);let p=0,w=t.id;return typeof w=="string"&&(w=w.replace(/-/g,"_")),r.innerHTML=G0(c.body,w?()=>w+"ID"+p++:"iconifyVue"),qe("svg",r)}const{body:u,width:f,height:d}=e,g=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=Y0(u,{...l,width:f+"",height:d+""});return r.style={...s,"--svg":tb(h),width:za(l.width),height:za(l.height),...rb,...g?gs:Eu,...a},qe("span",r)},sb=Object.create(null),ib=xe({inheritAttrs:!1,render(){const e=this.$attrs,t=e.icon,n=typeof t=="string"?sb[t]:typeof t=="object"?t:null;return n===null||typeof n!="object"||typeof n.body!="string"?this.$slots.default?this.$slots.default():null:ob({...si,...n},e)}}),qn=/^[a-z0-9]+(-[a-z0-9]+)*$/,ho=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),l={provider:o.length>0?o[0]:r,prefix:c,name:a};return t&&!Or(l)?null:l}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Or(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Or(a,n)?null:a}return null},Or=(e,t)=>e?!!((e.provider===""||e.provider.match(qn))&&(t&&e.prefix===""||e.prefix.match(qn))&&e.name.match(qn)):!1,Tu=Object.freeze({left:0,top:0,width:16,height:16}),Yr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ii=Object.freeze({...Tu,...Yr}),_s=Object.freeze({...ii,body:"",hidden:!1});function ab(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Ua(e,t){const n=ab(e,t);for(const r in _s)r in Yr?r in e&&!(r in n)&&(n[r]=Yr[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function cb(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,c=a&&s(a);c&&(o[i]=[a].concat(c))}return o[i]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function lb(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function i(a){s=Ua(r[a]||o[a],s)}return i(t),n.forEach(i),Ua(e,s)}function Cu(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=cb(e);for(const o in r){const s=r[o];s&&(t(o,lb(e,o,s)),n.push(o))}return n}const ub={provider:"",aliases:{},not_found:{},...Tu};function $o(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Pu(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!$o(e,ub))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(qn)||typeof s.body!="string"||!$o(s,_s))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],i=s.parent;if(!o.match(qn)||typeof i!="string"||!n[i]&&!r[i]||!$o(s,_s))return null}return t}const Va=Object.create(null);function fb(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Jt(e,t){const n=Va[e]||(Va[e]=Object.create(null));return n[t]||(n[t]=fb(e,t))}function ai(e,t){return Pu(t)?Cu(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function db(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let rr=!1;function xu(e){return typeof e=="boolean"&&(rr=e),rr}function pb(e){const t=typeof e=="string"?ho(e,!0,rr):e;if(t){const n=Jt(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function hb(e,t){const n=ho(e,!0,rr);if(!n)return!1;const r=Jt(n.provider,n.prefix);return db(r,n.name,t)}function mb(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),rr&&!t&&!e.prefix){let o=!1;return Pu(e)&&(e.prefix="",Cu(e,(s,i)=>{i&&hb(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Or({provider:t,prefix:n,name:"a"}))return!1;const r=Jt(t,n);return!!ai(r,e)}const gb=Object.freeze({width:null,height:null}),_b=Object.freeze({...gb,...Yr});""+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);const ys=Object.create(null);function yb(e,t){ys[e]=t}function vs(e){return ys[e]||ys[""]}function ci(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const li=Object.create(null),Ln=["https://api.simplesvg.com","https://api.unisvg.com"],Lr=[];for(;Ln.length>0;)Ln.length===1||Math.random()>.5?Lr.push(Ln.shift()):Lr.push(Ln.pop());li[""]=ci({resources:["https://api.iconify.design"].concat(Lr)});function vb(e,t){const n=ci(t);return n===null?!1:(li[e]=n,!0)}function ui(e){return li[e]}const bb=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Wa=bb();function wb(e,t){const n=ui(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function Eb(e){return e===404}const Tb=(e,t,n)=>{const r=[],o=wb(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((c,l)=>{a+=c.length+1,a>=o&&l>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=c.length),i.icons.push(c)}),r.push(i),r};function Cb(e){if(typeof e=="string"){const t=ui(e);if(t)return t.path}return"/"}const Pb=(e,t,n)=>{if(!Wa){n("abort",424);return}let r=Cb(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;Wa(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(Eb(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},xb={prepare:Tb,send:Pb};function Ab(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,c=n[s]||(n[s]=Object.create(null)),l=c[i]||(c[i]=Jt(s,i));let u;a in l.icons?u=t.loaded:i===""||l.missing.has(a)?u=t.missing:u=t.pending;const f={provider:s,prefix:i,name:a};u.push(f)}),t}function Au(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function Sb(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(c=>{if(c.prefix!==o)return!0;const l=c.name;if(e.icons[l])i.loaded.push({provider:r,prefix:o,name:l});else if(e.missing.has(l))i.missing.push({provider:r,prefix:o,name:l});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||Au([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Rb=0;function Ib(e,t,n){const r=Rb++,o=Au.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function kb(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?ho(o,t,n):o;s&&r.push(s)}),r}var Ob={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Lb(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let x=e.resources.slice(0);for(i=[];x.length>1;){const S=Math.floor(Math.random()*x.length);i.push(x[S]),x=x.slice(0,S).concat(x.slice(S+1))}i=i.concat(x)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let c="pending",l=0,u,f=null,d=[],g=[];typeof r=="function"&&g.push(r);function h(){f&&(clearTimeout(f),f=null)}function p(){c==="pending"&&(c="aborted"),h(),d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function w(x,S){S&&(g=[]),typeof x=="function"&&g.push(x)}function _(){return{startTime:a,payload:t,status:c,queriesSent:l,queriesPending:d.length,subscribe:w,abort:p}}function m(){c="failed",g.forEach(x=>{x(void 0,u)})}function E(){d.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),d=[]}function v(x,S,P){const M=S!=="success";switch(d=d.filter(N=>N!==x),c){case"pending":break;case"failed":if(M||!e.dataAfterTimeout)return;break;default:return}if(S==="abort"){u=P,m();return}if(M){u=P,d.length||(i.length?C():m());return}if(h(),E(),!e.random){const N=e.resources.indexOf(x.resource);N!==-1&&N!==e.index&&(e.index=N)}c="completed",g.forEach(N=>{N(P)})}function C(){if(c!=="pending")return;h();const x=i.shift();if(x===void 0){if(d.length){f=setTimeout(()=>{h(),c==="pending"&&(E(),m())},e.timeout);return}m();return}const S={status:"pending",resource:x,callback:(P,M)=>{v(S,P,M)}};d.push(S),l++,f=setTimeout(C,e.rotate),n(x,t,S.callback)}return setTimeout(C),_}function Su(e){const t={...Ob,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,l){const u=Lb(t,a,c,(f,d)=>{r(),l&&l(f,d)});return n.push(u),u}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function Ka(){}const Do=Object.create(null);function $b(e){if(!Do[e]){const t=ui(e);if(!t)return;const n=Su(t),r={config:t,redundancy:n};Do[e]=r}return Do[e]}function Db(e,t,n){let r,o;if(typeof e=="string"){const s=vs(e);if(!s)return n(void 0,424),Ka;o=s.send;const i=$b(e);i&&(r=i.redundancy)}else{const s=ci(e);if(s){r=Su(s);const i=e.resources?e.resources[0]:"",a=vs(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),Ka):r.query(t,o,n)().abort}const qa="iconify2",or="iconify",Ru=or+"-count",Qa=or+"-version",Iu=36e5,Mb=168;function bs(e,t){try{return e.getItem(t)}catch{}}function fi(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Ja(e,t){try{e.removeItem(t)}catch{}}function ws(e,t){return fi(e,Ru,t.toString())}function Es(e){return parseInt(bs(e,Ru))||0}const mo={local:!0,session:!0},ku={local:new Set,session:new Set};let di=!1;function Hb(e){di=e}let xr=typeof window>"u"?{}:window;function Ou(e){const t=e+"Storage";try{if(xr&&xr[t]&&typeof xr[t].length=="number")return xr[t]}catch{}mo[e]=!1}function Lu(e,t){const n=Ou(e);if(!n)return;const r=bs(n,Qa);if(r!==qa){if(r){const a=Es(n);for(let c=0;c{const c=or+a.toString(),l=bs(n,c);if(typeof l=="string"){try{const u=JSON.parse(l);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}Ja(n,c)}};let i=Es(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,ws(n,i)):ku[e].add(a))}function $u(){if(!di){Hb(!0);for(const e in mo)Lu(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=Jt(r,o);if(!ai(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function Nb(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in mo)Lu(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function jb(e,t){di||$u();function n(r){let o;if(!mo[r]||!(o=Ou(r)))return;const s=ku[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=Es(o),!ws(o,i+1))return;const a={cached:Math.floor(Date.now()/Iu),provider:e.provider,data:t};return fi(o,or+i.toString(),JSON.stringify(a))}t.lastModified&&!Nb(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Xa(){}function Fb(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Sb(e)}))}function Bb(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=vs(n)))return;s.prepare(n,r,o).forEach(a=>{Db(n,a,c=>{if(typeof c!="object")a.icons.forEach(l=>{e.missing.add(l)});else try{const l=ai(e,c);if(!l.length)return;const u=e.pendingIcons;u&&l.forEach(f=>{u.delete(f)}),jb(e,c)}catch(l){console.error(l)}Fb(e)})})}))}const zb=(e,t)=>{const n=kb(e,!0,xu()),r=Ab(n);if(!r.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(r.loaded,r.missing,r.pending,Xa)}),()=>{c=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(c=>{const{provider:l,prefix:u}=c;if(u===a&&l===i)return;i=l,a=u,s.push(Jt(l,u));const f=o[l]||(o[l]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(c=>{const{provider:l,prefix:u,name:f}=c,d=Jt(l,u),g=d.pendingIcons||(d.pendingIcons=new Set);g.has(f)||(g.add(f),o[l][u].push(f))}),s.forEach(c=>{const{provider:l,prefix:u}=c;o[l][u].length&&Bb(c,o[l][u])}),t?Ib(t,r,s):Xa},Ub=e=>new Promise((t,n)=>{const r=typeof e=="string"?ho(e,!0):e;if(!r){n(e);return}zb([r||e],o=>{if(o.length&&r){const s=pb(r);if(s){t({...ii,...s});return}}n(e)})});({..._b});const Ga={backgroundColor:"currentColor"},Vb={backgroundColor:"transparent"},Ya={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Za={webkitMask:Ga,mask:Ga,background:Vb};for(const e in Za){const t=Za[e];for(const n in Ya)t[e+n]=Ya[n]}const Mo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Mo[e+"-flip"]=t,Mo[e.slice(0,1)+"-flip"]=t,Mo[e+"Flip"]=t});xu(!0);yb("",xb);if(typeof document<"u"&&typeof window<"u"){$u();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!mb(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;vb(n,o)||console.error(r)}catch{console.error(r)}}}}({...ii});const Wb=["width","height"],Kb=xe({__name:"Icon",props:{name:{type:String,required:!0},size:{type:String,default:""}},async setup(e){var h;let t,n;const r=e,o=me(),s=Zl();(h=s==null?void 0:s.nuxtIcon)!=null&&h.aliases;const i=ut("icons",()=>({})),a=be(!1),c=Y(()=>{var p;return(((p=s.nuxtIcon)==null?void 0:p.aliases)||{})[r.name]||r.name}),l=Y(()=>{var p;return(p=i.value)==null?void 0:p[c.value]}),u=Y(()=>o.vueApp.component(c.value)),f=Y(()=>{var w,_,m;if(!r.size&&typeof((w=s.nuxtIcon)==null?void 0:w.size)=="boolean"&&!((_=s.nuxtIcon)!=null&&_.size))return;const p=r.size||((m=s.nuxtIcon)==null?void 0:m.size)||"1em";return String(Number(p))===p?`${p}px`:p}),d=Y(()=>{var p;return((p=s==null?void 0:s.nuxtIcon)==null?void 0:p.class)??"icon"});async function g(){var p;u.value||(p=i.value)!=null&&p[c.value]||(a.value=!0,i.value[c.value]=await Ub(c.value).catch(()=>{}),a.value=!1)}return Ie(()=>c.value,g),!u.value&&([t,n]=Cd(()=>g()),t=await t,n()),(p,w)=>$(a)?(q(),he("span",{key:0,class:je($(d)),width:$(f),height:$(f)},null,10,Wb)):$(l)?(q(),ce($(ib),{key:1,icon:$(l),class:je($(d)),width:$(f),height:$(f)},null,8,["icon","class","width","height"])):$(u)?(q(),ce(cr($(u)),{key:2,class:je($(d)),width:$(f),height:$(f)},null,8,["class","width","height"])):(q(),he("span",{key:3,class:je($(d)),style:wn({fontSize:$(f),lineHeight:$(f),width:$(f),height:$(f)})},Kt(e.name),7))}});const De=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Dt=De(Kb,[["__scopeId","data-v-121c6e7d"]]),qb=Object.freeze(Object.defineProperty({__proto__:null,default:Dt},Symbol.toStringTag,{value:"Module"})),Mt=()=>{const e=Y(()=>{var l;return((l=Zl())==null?void 0:l.docus)||{}}),{navPageFromPath:t,navDirFromPath:n,navKeyFromPath:r}=ei(),{navigation:o,page:s}=po(),i=dt(),a=Y(()=>{var h,p,w,_,m,E,v,C,x,S,P;const l=((h=e==null?void 0:e.value)==null?void 0:h.titleTemplate)||r((p=s==null?void 0:s.value)==null?void 0:p._path,"titleTemplate",o.value||[])||`%s · ${((w=e==null?void 0:e.value)==null?void 0:w.title)||"Docus"}`,u=((_=e==null?void 0:e.value)==null?void 0:_.main)||{},f=((m=e==null?void 0:e.value)==null?void 0:m.header)||{},d=((E=e==null?void 0:e.value)==null?void 0:E.aside)||{},g=((v=e==null?void 0:e.value)==null?void 0:v.footer)||{};return{...e.value,titleTemplate:l,main:{...u,...r(i.path,"main",o.value||[]),...(C=s.value)==null?void 0:C.main},header:{...f,...r(i.path,"header",o.value||[]),...(x=s.value)==null?void 0:x.header},aside:{...d,...r(i.path,"aside",o.value||[]),...(S=s.value)==null?void 0:S.aside},footer:{...g,...r(i.path,"footer",o.value||[]),...(P=s.value)==null?void 0:P.footer}}});return{tree:Y(()=>{var g,h,p,w,_;let l=o.value||[];const u=i.path,f=((h=(g=a==null?void 0:a.value)==null?void 0:g.aside)==null?void 0:h.level)||0,d=((w=(p=a==null?void 0:a.value)==null?void 0:p.aside)==null?void 0:w.exclude)||[];if(f){const E=u.split("/").splice(0,1+f).join("/");l=n(E,l)||[],Array.isArray(l)||(l=[l])}if(l.length===0){if(l=t(((_=s.value)==null?void 0:_._path)||"/",o.value||[]),!l)return[];Array.isArray(l)||(l=[l])}return l.filter(m=>!d.includes(m._path))}),config:a}},Qb=xe({__name:"AppSocialIcons",setup(e){const t=["twitter","facebook","instagram","youtube","github","medium"],{config:n}=Mt(),r=Y(()=>Object.entries(n.value.socials||{}).map(([o,s])=>typeof s=="object"?s:typeof s=="string"&&s&&t.includes(o)?{href:`https://${o}.com/${s}`,icon:`fa-brands:${o}`,label:s,rel:"noopener noreferrer"}:null).filter(Boolean));return(o,s)=>{const i=Dt,a=ur;return q(!0),he(we,null,er($(r),c=>(q(),ce(a,{key:c.label,rel:c.rel,title:c.label,"aria-label":c.label,href:c.href,target:"_blank"},{default:Qe(()=>[c.icon?(q(),ce(i,{key:0,name:c.icon},null,8,["name"])):Be("",!0)]),_:2},1032,["rel","title","aria-label","href"]))),128)}}});const go=De(Qb,[["__scopeId","data-v-61bedeb2"]]),Jb=Object.freeze(Object.defineProperty({__proto__:null,default:go},Symbol.toStringTag,{value:"Module"})),Xb={class:"docs-aside-tree"},Gb=["onClick"],Yb={class:"content"},Zb={class:"content"},ew=xe({__name:"DocsAsideTree",props:{links:{type:Array,default:()=>[]},level:{type:Number,default:0},max:{type:Number,default:null},parent:{type:Object,default:null}},setup(e){var l;const t=e,n=dt(),{config:r}=Mt(),o=ut(`docus-docs-aside-collapse-map-${((l=t.parent)==null?void 0:l._path)||"/"}`,()=>t.level===0?{}:t.links.filter(u=>!!u.children).reduce((u,f)=>(u[f._path]=!0,u),{})),s=u=>n.path===u._path,i=u=>{var f,d,g,h;if(u.children){if(typeof o.value[u._path]<"u")return o.value[u._path];if([!0,!1].includes((f=u==null?void 0:u.aside)==null?void 0:f.collapsed))return u.aside.collapsed;if(u!=null&&u.collapsed)return u==null?void 0:u.collapsed;if((g=(d=r==null?void 0:r.value)==null?void 0:d.aside)!=null&&g.collapsed)return(h=r.value.aside)==null?void 0:h.collapsed}return!1},a=u=>o.value[u._path]=!i(u),c=Y(()=>t.links.some(u=>u.children));return(u,f)=>{const d=Dt,g=ur,h=pi;return q(),he("ul",Xb,[(q(!0),he(we,null,er(e.links,p=>{var w,_,m,E,v;return q(),he("li",{key:p._path,class:je({"has-parent-icon":(w=e.parent)==null?void 0:w.icon,"has-children":e.level>0&&p.children,bordered:e.level>0||!$(c),active:s(p)})},[p.children?(q(),he("button",{key:0,class:"title-collapsible-button",onClick:C=>a(p)},[de("span",Yb,[(_=p==null?void 0:p.navigation)!=null&&_.icon||p.icon?(q(),ce(d,{key:0,name:((m=p==null?void 0:p.navigation)==null?void 0:m.icon)||p.icon,class:"icon"},null,8,["name"])):Be("",!0),de("span",null,Kt(((E=p==null?void 0:p.navigation)==null?void 0:E.title)||p.title||p._path),1)]),de("span",null,[ne(d,{name:i(p)?"lucide:chevrons-up-down":"lucide:chevrons-down-up",class:"collapsible-icon"},null,8,["name"])])],8,Gb)):(q(),ce(g,{key:1,to:p.redirect?p.redirect:p._path,class:je(["link",{padded:e.level>0||!$(c),active:s(p)}]),exact:p.exact},{default:Qe(()=>{var C,x,S;return[de("span",Zb,[(C=p==null?void 0:p.navigation)!=null&&C.icon||p.icon?(q(),ce(d,{key:0,name:((x=p==null?void 0:p.navigation)==null?void 0:x.icon)||p.icon,class:"icon"},null,8,["name"])):Be("",!0),de("span",null,Kt(((S=p==null?void 0:p.navigation)==null?void 0:S.title)||p.title||p._path),1)])]}),_:2},1032,["to","exact","class"])),(v=p.children)!=null&&v.length&&(e.max===null||e.level+1{const{$menu:e}=me();return e},rw={class:"wrapper"},ow={class:"icons"},sw=xe({__name:"AppHeaderDialog",setup(e){const{navigation:t}=po(),{config:n}=Mt(),r=Y(()=>{var c;return((c=n.value.aside)==null?void 0:c.exclude)||[]}),o=Y(()=>(t.value||[]).filter(c=>!r.value.includes(c._path))),{visible:s,open:i,close:a}=nw();return Ie(s,c=>c?i():a()),(c,l)=>{const u=Dt,f=go,d=pi;return q(),he(we,null,[de("button",{"aria-label":"Menu",onClick:l[0]||(l[0]=(...g)=>$(i)&&$(i)(...g))},[ne(u,{name:"heroicons-outline:menu","aria-hidden":"”true”"})]),(q(),ce(Wd,{to:"body"},[$(s)?(q(),he("nav",{key:0,class:"dialog",onClick:l[3]||(l[3]=(...g)=>$(a)&&$(a)(...g))},[de("div",{onClick:l[2]||(l[2]=Rp(()=>{},["stop"]))},[de("div",rw,[de("button",{"aria-label":"Menu",onClick:l[1]||(l[1]=(...g)=>$(a)&&$(a)(...g))},[ne(u,{name:"heroicons-outline:x","aria-hidden":"”true”"})]),de("div",ow,[ne(f)])]),ne(d,{links:$(o)},null,8,["links"])])])):Be("",!0)]))],64)}}});const Du=De(sw,[["__scopeId","data-v-3a415e05"]]),iw=Object.freeze(Object.defineProperty({__proto__:null,default:Du},Symbol.toStringTag,{value:"Module"}));const aw={},cw={id:"NuxtMongooseLogo",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 235.5 33.2"},lw=Qd('NuxtMongoose',5),uw=[lw];function fw(e,t){return q(),he("svg",cw,uw)}const Mu=De(aw,[["render",fw]]),dw=Object.freeze(Object.defineProperty({__proto__:null,default:Mu},Symbol.toStringTag,{value:"Module"})),pw={key:0,class:"logo"},hw=["src"],mw=["src"],gw={key:1,class:"title"},_w=xe({__name:"AppHeaderLogo",setup(e){const{config:t}=Mt(),n=Y(()=>{var o;return((o=t.value.header)==null?void 0:o.logo)||!1}),r=Y(()=>{var o;return((o=t.value.header)==null?void 0:o.title)||t.value.title});return(o,s)=>{const i=Mu,a=ur;return q(),ce(a,{class:"navbar-logo",to:"/","aria-label":$(r)},{default:Qe(()=>[$(n)?(q(),he("span",pw,[typeof $(n)=="string"?(q(),ce(cr($(n)),{key:0})):$(n).light&&$(n).dark?(q(),he(we,{key:1},[de("img",{src:$(n).light,alt:"",class:"light-img"},null,8,hw),de("img",{src:$(n).dark,alt:"",class:"dark-img"},null,8,mw)],64)):$(n)?(q(),ce(i,{key:2})):Be("",!0)])):(q(),he("span",gw,Kt($(r)),1))]),_:1},8,["aria-label"])}}});const Hu=De(_w,[["__scopeId","data-v-55fca887"]]),yw=Object.freeze(Object.defineProperty({__proto__:null,default:Hu},Symbol.toStringTag,{value:"Module"})),vw={key:0},bw=xe({__name:"AppHeaderNavigation",setup(e){const t=dt(),{navBottomLink:n}=ei(),{navigation:r}=po(),{config:o}=Mt(),s=Y(()=>{var l;return!!((l=o.value.aside)!=null&&l.level)}),i=Y(()=>{var l;return((l=o.value.header)==null?void 0:l.exclude)||[]}),a=Y(()=>(r.value||[]).filter(l=>!i.value.includes(l._path))),c=l=>l.exact?t.fullPath===l._path:t.fullPath.startsWith(l._path);return(l,u)=>{const f=Dt,d=ur;return $(s)?(q(),he("nav",vw,[de("ul",null,[(q(!0),he(we,null,er($(a),g=>(q(),he("li",{key:g._path},[ne(d,{class:je(["link",{active:c(g)}]),to:g.redirect?g.redirect:$(n)(g)},{default:Qe(()=>{var h,p;return[g.icon&&((p=(h=$(o))==null?void 0:h.header)!=null&&p.showLinkIcon)?(q(),ce(f,{key:0,name:g.icon},null,8,["name"])):Be("",!0),co(" "+Kt(g.title),1)]}),_:2},1032,["to","class"])]))),128))])])):Be("",!0)}}});const Nu=De(bw,[["__scopeId","data-v-005c31f4"]]),ww=Object.freeze(Object.defineProperty({__proto__:null,default:Nu},Symbol.toStringTag,{value:"Module"})),ju=()=>{const{$docSearch:e}=me();return e||{hasDocSearch:be(!1)}},Fu=e=>(Qf("data-v-5a1b2fdc"),e=e(),Jf(),e),Ew={type:"button","aria-label":"Search"},Tw={class:"content"},Cw=Fu(()=>de("span",null,"Search",-1)),Pw=Fu(()=>de("span",null,[de("kbd",null,"⌘"),de("kbd",null,"K")],-1)),xw=xe({__name:"AppSearch",setup(e){const{element:t}=ju(),n=()=>t.value.querySelector("button").click();return(r,o)=>{const s=Dt;return q(),he("div",{class:"doc-search",onClick:n},[de("button",Ew,[de("span",Tw,[ne(s,{name:"heroicons-outline:search"}),Cw,Pw])])])}}});const Bu=De(xw,[["__scopeId","data-v-5a1b2fdc"]]),Aw=Object.freeze(Object.defineProperty({__proto__:null,default:Bu},Symbol.toStringTag,{value:"Module"})),Sw=xe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=be(!1);return Pn(()=>{r.value=!0}),o=>{var c;if(r.value)return(c=t.default)==null?void 0:c.call(t);const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return he(a,n,i)}}}),Rw={name:w0,props:{placeholder:String,tag:{type:String,default:"span"}}};function Iw(e,t,n,r,o,s){const i=Sw;return q(),ce(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:Qe(()=>[zs(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const kw=De(Rw,[["render",Iw]]),Ow=()=>ut("color-mode").value,Lw=xe({__name:"ThemeSelect",setup(e){const t=Ow(),n=()=>{const r=["system","light","dark"],s=(r.indexOf(t.preference)+1)%r.length;t.preference=r[s]};return(r,o)=>{const s=Dt,i=kw;return q(),he("button",{"aria-label":"Color Mode",onClick:n},[ne(i,{placeholder:"..."},{default:Qe(()=>[$(t).preference==="dark"?(q(),ce(s,{key:0,name:"uil:moon"})):$(t).preference==="light"?(q(),ce(s,{key:1,name:"uil:sun"})):(q(),ce(s,{key:2,name:"uil:desktop"}))]),_:1})])}}});const zu=De(Lw,[["__scopeId","data-v-0c4f4835"]]),$w=Object.freeze(Object.defineProperty({__proto__:null,default:zu},Symbol.toStringTag,{value:"Module"})),Dw=xe({__name:"Container",props:{as:{type:String,required:!1,default:"div"},padded:{required:!1,type:[Boolean,Object],default:!0},fluid:{required:!1,type:[Boolean,Object],default:!1}},setup(e){const t=e,n={padded:{true:{px:"{elements.container.padding.mobile}","@xs":{px:"{elements.container.padding.xs}"},"@sm":{px:"{elements.container.padding.sm}"},"@md":{px:"{elements.container.padding.md}"}}},fluid:{true:{},false:{maxWidth:"{elements.container.maxWidth}"}}},{$pinceau:r}=l0(t,n,void 0);return(o,s)=>(q(),ce(cr(e.as),{class:je(["container",[$(r)]])},{default:Qe(()=>[zs(o.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}});const hi=De(Dw,[["__scopeId","data-v-6d327d86"]]),Mw=Object.freeze(Object.defineProperty({__proto__:null,default:hi},Symbol.toStringTag,{value:"Module"})),Hw={class:"section left"},Nw={class:"section center"},jw={class:"section right"},Fw={class:"social-icons"},Bw=xe({__name:"AppHeader",props:{},setup(e){const{config:t}=Mt(),{navigation:n}=po(),{hasDocSearch:r}=ju(),o=Y(()=>{var s,i,a,c;return((s=n.value)==null?void 0:s.length)>1||((c=(a=(i=n.value)==null?void 0:i[0])==null?void 0:a.children)==null?void 0:c.length)});return(s,i)=>{var h,p;const a=Du,c=Hu,l=Nu,u=Bu,f=zu,d=go,g=hi;return q(),he("header",{class:je({"has-dialog":$(o),"has-doc-search":$(r)})},[ne(g,{fluid:(p=(h=$(t))==null?void 0:h.header)==null?void 0:p.fluid},{default:Qe(()=>[de("div",Hw,[$(o)?(q(),ce(a,{key:0})):Be("",!0),ne(c)]),de("div",Nw,[$(o)?(q(),ce(c,{key:0})):Be("",!0),ne(l)]),de("div",jw,[$(r)?(q(),ce(u,{key:0})):Be("",!0),ne(f),de("div",Fw,[ne(d)])])]),_:1},8,["fluid"])],2)}}});const Uu=De(Bw,[["__scopeId","data-v-56e123b3"]]),zw=Object.freeze(Object.defineProperty({__proto__:null,default:Uu},Symbol.toStringTag,{value:"Module"})),Uw={class:"left"},Vw=["href"],Ww={key:1},Kw={class:"center"},qw={class:"right"},Qw=["aria-label","href","rel"],Jw=xe({__name:"AppFooter",setup(e){const{config:t}=Mt(),n=be(null),r=Y(()=>{var a,c;return((c=(a=t.value)==null?void 0:a.footer)==null?void 0:c.iconLinks)||[]}),o=Y(()=>{var a,c;return((c=(a=t.value)==null?void 0:a.footer)==null?void 0:c.textLinks)||[]}),s=Y(()=>{var a;return Object.entries(((a=t.value)==null?void 0:a.socials)||{}).filter(([,c])=>c).length}),i=Y(()=>n.value?s.value:0);return(a,c)=>{var g,h;const l=ur,u=Dt,f=go,d=hi;return q(),he("footer",null,[ne(d,{fluid:(h=(g=$(t))==null?void 0:g.footer)==null?void 0:h.fluid,padded:"",class:"footer-container"},{default:Qe(()=>{var p,w,_,m,E,v,C,x,S,P,M,N,Q,B;return[de("div",Uw,[(w=(p=$(t))==null?void 0:p.footer)!=null&&w.credits?(q(),he("a",{key:0,href:((E=(m=(_=$(t))==null?void 0:_.footer)==null?void 0:m.credits)==null?void 0:E.href)||"#",rel:"noopener",target:"_blank"},[(x=(C=(v=$(t))==null?void 0:v.footer)==null?void 0:C.credits)!=null&&x.icon?(q(),ce(cr((M=(P=(S=$(t))==null?void 0:S.footer)==null?void 0:P.credits)==null?void 0:M.icon),{key:0,class:"left-icon"})):Be("",!0),(B=(Q=(N=$(t))==null?void 0:N.footer)==null?void 0:Q.credits)!=null&&B.text?(q(),he("p",Ww,Kt($(t).footer.credits.text),1)):Be("",!0)],8,Vw)):Be("",!0)]),de("div",Kw,[(q(!0),he(we,null,er($(o),U=>(q(),ce(l,{key:U.href,class:"text-link","aria-label":U.text,href:U.href,target:(U==null?void 0:U.target)||"_self",rel:(U==null?void 0:U.rel)||"noopener noreferrer"},{default:Qe(()=>[co(Kt(U.text),1)]),_:2},1032,["aria-label","href","target","rel"]))),128))]),de("div",qw,[(q(!0),he(we,null,er($(r).slice(0,6-$(i)),U=>(q(),he("a",{key:U.label,class:"icon-link","aria-label":U.label,href:U.href,target:"_blank",rel:(U==null?void 0:U.rel)||"noopener noreferrer"},[ne(u,{name:U.icon},null,8,["name"])],8,Qw))),128)),ne(f,{ref_key:"socialIcons",ref:n},null,512)])]}),_:1},8,["fluid"])])}}});const Vu=De(Jw,[["__scopeId","data-v-b0012ff5"]]),Xw=Object.freeze(Object.defineProperty({__proto__:null,default:Vu},Symbol.toStringTag,{value:"Module"})),Gw=(e,t=dt())=>{const n=$(e),r=Ze();Ie(()=>$(e),(s=n)=>{if(!t.path||!s)return;const i=Object.assign({},(s==null?void 0:s.head)||{});i.meta=[...i.meta||[]],i.link=[...i.link||[]];const a=i.title||(s==null?void 0:s.title);a&&(i.title=a),r.public.content.host;const c=(i==null?void 0:i.description)||(s==null?void 0:s.description);c&&i.meta.filter(l=>l.name==="description").length===0&&i.meta.push({name:"description",content:c}),i!=null&&i.image||(s==null||s.image),Xt(()=>qr(i))},{immediate:!0})},Yw={class:"app-layout"},Zw=xe({__name:"AppLayout",setup(e){const{config:t}=Mt();return qr({titleTemplate:t.value.titleTemplate,meta:[{name:"twitter:card",content:"summary_large_image"}]}),Ie(()=>t.value.titleTemplate,()=>qr({titleTemplate:t.value.titleTemplate})),Gw(t.value),(n,r)=>{const o=_u,s=Uu,i=Vu;return q(),he("div",Yw,[ne(o),ne(s),de("main",null,[zs(n.$slots,"default",{},void 0,!0)]),ne(i)])}}});const Wu=De(Zw,[["__scopeId","data-v-846ba430"]]),eE=Object.freeze(Object.defineProperty({__proto__:null,default:Wu},Symbol.toStringTag,{value:"Module"})),tE={};function nE(e,t){const n=D0,r=Wu;return q(),ce(r,null,{default:Qe(()=>[ne(n)]),_:1})}const rE=De(tE,[["render",nE]]),ec={__name:"nuxt-root",setup(e){const t=D(()=>k(()=>import("./error-component.e46b3ac9.js"),[],import.meta.url).then(c=>c.default||c)),n=()=>null,r=me(),o=r.deferHydration(),s=!1;fn("_route",dt()),r.hooks.callHookWith(c=>c.map(l=>l()),"vue:setup");const i=uo();Vc((c,l,u)=>{if(r.hooks.callHook("vue:error",c,l,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),Gm(c)&&(c.fatal||c.unhandled))return r.runWithContext(()=>on(c)),!1});const{islandContext:a}=!1;return(c,l)=>(q(),ce($c,{onResolve:$(o)},{default:Qe(()=>[$(i)?(q(),ce($(t),{key:0,error:$(i)},null,8,["error"])):$(a)?(q(),ce($(n),{key:1,context:$(a)},null,8,["context"])):$(s)?(q(),ce(cr($(s)),{key:2})):(q(),ce($(rE),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=gh.create({baseURL:yh()}));let tc;const oE=$h(I0);{let e;tc=async function(){var s,i;if(e)return e;const r=!!((s=window.__NUXT__)!=null&&s.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?$p(ec):Lp(ec),o=kh({vueApp:r});try{await Lh(o,oE)}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount("#"+Lm),await o.hooks.callHook("app:mounted",r),await Xt()}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}return r},e=tc().catch(t=>{console.error("Error while mounting app:",t)})}export{po as $,Ir as A,Al as B,Zl as C,Sr as D,Lp as E,we as F,rn as G,ie as H,Y as I,l0 as J,zs as K,Dt as L,ur as M,xc as N,gd as O,Ie as P,Xs as Q,wt as R,co as S,Qs as T,vE as U,aE as V,qe as W,fE as X,Mt as Y,pi as Z,k as _,xe as a,An as a0,xn as a1,hi as a2,Hv as a3,ei as a4,er as a5,Rp as a6,vc as a7,lf as a8,Rs as a9,$a as aA,gE as aB,mt as aC,mE as aD,dE as aE,pE as aF,hE as aG,Iv as aH,qr as aI,Xt as aa,vl as ab,Jd as ac,ld as ad,Ip as ae,ms as af,Ow as ag,wd as ah,Ae as ai,yE as aj,_l as ak,Gw as al,iE as am,Jr as an,ri as ao,_E as ap,pn as aq,pl as ar,Ov as as,cE as at,wn as au,Fe as av,uE as aw,Hn as ax,lE as ay,$0 as az,me as b,ce as c,D as d,Et as e,Pn as f,qd as g,Fs as h,he as i,je as j,de as k,Be as l,ne as m,sE as n,q as o,Rr as p,dt as q,be as r,Qf as s,Kt as t,$ as u,Jf as v,Qe as w,De as x,Ze as y,ut as z}; diff --git a/_nuxt/error-404.e549e705.js b/_nuxt/error-404.44168789.js similarity index 97% rename from _nuxt/error-404.e549e705.js rename to _nuxt/error-404.44168789.js index 38f525c..e1cbf78 100644 --- a/_nuxt/error-404.e549e705.js +++ b/_nuxt/error-404.44168789.js @@ -1 +1 @@ -import{x as a,aI as n,o as r,i as d,k as e,t as s,m as l,w as c,S as p,M as f,s as x,v as m}from"./entry.ed643c4e.js";const h=t=>(x("data-v-5d12fb99"),t=t(),m(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},g=h(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),b={class:"max-w-520px text-center z-20"},_=["textContent"],w=["textContent"],y={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,v)=>{const i=f;return r(),d("div",u,[g,e("div",b,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,_),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,w),e("div",y,[l(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:c(()=>[p(s(t.backHome),1)]),_:1})])])])}}},z=a(S,[["__scopeId","data-v-5d12fb99"]]);export{z as default}; +import{x as a,aI as n,o as r,i as d,k as e,t as s,m as l,w as c,S as p,M as f,s as x,v as m}from"./entry.4bb11f8f.js";const h=t=>(x("data-v-5d12fb99"),t=t(),m(),t),u={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},g=h(()=>e("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),b={class:"max-w-520px text-center z-20"},_=["textContent"],w=["textContent"],y={class:"w-full flex items-center justify-center"},S={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const o=t;return n({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(k,v)=>{const i=f;return r(),d("div",u,[g,e("div",b,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,_),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,w),e("div",y,[l(i,{to:"/",class:"gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer"},{default:c(()=>[p(s(t.backHome),1)]),_:1})])])])}}},z=a(S,[["__scopeId","data-v-5d12fb99"]]);export{z as default}; diff --git a/_nuxt/error-500.c063357a.js b/_nuxt/error-500.9da06ce0.js similarity index 96% rename from _nuxt/error-500.c063357a.js rename to _nuxt/error-500.9da06ce0.js index 6ae476e..18ae18c 100644 --- a/_nuxt/error-500.c063357a.js +++ b/_nuxt/error-500.9da06ce0.js @@ -1 +1 @@ -import{x as i,aI as a,o as r,i as n,k as e,t as s,s as l,v as d}from"./entry.ed643c4e.js";const c=t=>(l("data-v-b96e4ab3"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),b={class:"max-w-520px text-center"},f=["textContent"],g=["textContent"],m={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(x,u)=>(r(),n("div",p,[h,e("div",b,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,f),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},w=i(m,[["__scopeId","data-v-b96e4ab3"]]);export{w as default}; +import{x as i,aI as a,o as r,i as n,k as e,t as s,s as l,v as d}from"./entry.4bb11f8f.js";const c=t=>(l("data-v-b96e4ab3"),t=t(),d(),t),p={class:"font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden"},h=c(()=>e("div",{class:"fixed -bottom-1/2 left-0 right-0 h-1/2 spotlight"},null,-1)),b={class:"max-w-520px text-center"},f=["textContent"],g=["textContent"],m={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const o=t;return a({title:`${o.statusCode} - ${o.statusMessage} | ${o.appName}`,script:[],style:[{children:'*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:#e0e0e0}*{--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(14, 165, 233, .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{margin:0;font-family:inherit;line-height:inherit}html{-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5}h1,p{margin:0}h1{font-size:inherit;font-weight:inherit}'}]}),(x,u)=>(r(),n("div",p,[h,e("div",b,[e("h1",{class:"text-8xl sm:text-10xl font-medium mb-8",textContent:s(t.statusCode)},null,8,f),e("p",{class:"text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight",textContent:s(t.description)},null,8,g)])]))}},w=i(m,[["__scopeId","data-v-b96e4ab3"]]);export{w as default}; diff --git a/_nuxt/error-component.44f3ea91.js b/_nuxt/error-component.e46b3ac9.js similarity index 71% rename from _nuxt/error-component.44f3ea91.js rename to _nuxt/error-component.e46b3ac9.js index 4aee977..cbc2165 100644 --- a/_nuxt/error-component.44f3ea91.js +++ b/_nuxt/error-component.e46b3ac9.js @@ -1,3 +1,3 @@ -import{o as m,c as E,n as f,g,u as s,d as n,_ as a}from"./entry.ed643c4e.js";const k={__name:"nuxt-error-page",props:{error:Object},setup(c){const u=c,{error:t}=u;(t.stack||"").split(` +import{o as m,c as E,n as f,g,u as s,d as n,_ as a}from"./entry.4bb11f8f.js";const k={__name:"nuxt-error-page",props:{error:Object},setup(c){const u=c,{error:t}=u;(t.stack||"").split(` `).splice(1).map(e=>({text:e.replace("webpack:/","").replace(".vue",".js").trim(),internal:e.includes("node_modules")&&!e.includes(".cache")||e.includes("internal")||e.includes("new Promise")})).map(e=>`${e.text}`).join(` -`);const r=Number(t.statusCode||500),o=r===404,i=t.statusMessage??(o?"Page Not Found":"Internal Server Error"),p=t.message||t.toString(),_=void 0,d=o?n(()=>a(()=>import("./error-404.e549e705.js"),["./error-404.e549e705.js","./entry.ed643c4e.js","./entry.bf3a7923.css","./error-404.6cf32329.css"],import.meta.url).then(e=>e.default||e)):n(()=>a(()=>import("./error-500.c063357a.js"),["./error-500.c063357a.js","./entry.ed643c4e.js","./entry.bf3a7923.css","./error-500.899135dc.css"],import.meta.url).then(e=>e.default||e));return(e,l)=>(m(),E(s(d),f(g({statusCode:s(r),statusMessage:s(i),description:s(p),stack:s(_)})),null,16))}},h=k;export{h as default}; +`);const r=Number(t.statusCode||500),o=r===404,i=t.statusMessage??(o?"Page Not Found":"Internal Server Error"),p=t.message||t.toString(),_=void 0,d=o?n(()=>a(()=>import("./error-404.44168789.js"),["./error-404.44168789.js","./entry.4bb11f8f.js","./entry.bf3a7923.css","./error-404.6cf32329.css"],import.meta.url).then(e=>e.default||e)):n(()=>a(()=>import("./error-500.9da06ce0.js"),["./error-500.9da06ce0.js","./entry.4bb11f8f.js","./entry.bf3a7923.css","./error-500.899135dc.css"],import.meta.url).then(e=>e.default||e));return(e,l)=>(m(),E(s(d),f(g({statusCode:s(r),statusMessage:s(i),description:s(p),stack:s(_)})),null,16))}},h=k;export{h as default}; diff --git a/_nuxt/index.8e6a446a.js b/_nuxt/index.9d1c1506.js similarity index 98% rename from _nuxt/index.8e6a446a.js rename to _nuxt/index.9d1c1506.js index 56d5bff..1206783 100644 --- a/_nuxt/index.8e6a446a.js +++ b/_nuxt/index.9d1c1506.js @@ -1 +1 @@ -import{r as _,a7 as R,u as W,a8 as $,a9 as D,R as F,f as J,aa as U,I as L,P as S}from"./entry.ed643c4e.js";var P;const h=typeof window<"u",j=e=>typeof e<"u",G=e=>typeof e=="function",H=e=>typeof e=="string",V=()=>{},q=h&&((P=window==null?void 0:window.navigator)==null?void 0:P.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function E(e){return typeof e=="function"?e():W(e)}function K(e){return e}function B(e){return $()?(D(e),!0):!1}function k(e,t=!0){F()?J(e):t?e():U(e)}function z(e,t,o={}){const{immediate:a=!0}=o,l=_(!1);let c=null;function m(){c&&(clearTimeout(c),c=null)}function r(){l.value=!1,m()}function p(...v){m(),l.value=!0,c=setTimeout(()=>{l.value=!1,c=null,e(...v)},E(t))}return a&&(l.value=!0,h&&p()),B(r),{isPending:R(l),start:p,stop:r}}function g(e){var t;const o=E(e);return(t=o==null?void 0:o.$el)!=null?t:o}const M=h?window:void 0,X=h?window.navigator:void 0;function b(...e){let t,o,a,l;if(H(e[0])||Array.isArray(e[0])?([o,a,l]=e,t=M):[t,o,a,l]=e,!t)return V;Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]);const c=[],m=()=>{c.forEach(d=>d()),c.length=0},r=(d,y,n,u)=>(d.addEventListener(y,n,u),()=>d.removeEventListener(y,n,u)),p=S(()=>[g(t),E(l)],([d,y])=>{m(),d&&c.push(...o.flatMap(n=>a.map(u=>r(d,n,u,y))))},{immediate:!0,flush:"post"}),v=()=>{p(),m()};return B(v),v}let C=!1;function re(e,t,o={}){const{window:a=M,ignore:l=[],capture:c=!0,detectIframe:m=!1}=o;if(!a)return;q&&!C&&(C=!0,Array.from(a.document.body.children).forEach(n=>n.addEventListener("click",V)));let r=!0;const p=n=>l.some(u=>{if(typeof u=="string")return Array.from(a.document.querySelectorAll(u)).some(f=>f===n.target||n.composedPath().includes(f));{const f=g(u);return f&&(n.target===f||n.composedPath().includes(f))}}),d=[b(a,"click",n=>{const u=g(e);if(!(!u||u===n.target||n.composedPath().includes(u))){if(n.detail===0&&(r=!p(n)),!r){r=!0;return}t(n)}},{passive:!0,capture:c}),b(a,"pointerdown",n=>{const u=g(e);u&&(r=!n.composedPath().includes(u)&&!p(n))},{passive:!0}),m&&b(a,"blur",n=>{var u;const f=g(e);((u=a.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!(f!=null&&f.contains(a.document.activeElement))&&t(n)})].filter(Boolean);return()=>d.forEach(n=>n())}function Y(e,t=!1){const o=_(),a=()=>o.value=!!e();return a(),k(a,t),o}function se(e={}){const{navigator:t=X,read:o=!1,source:a,copiedDuring:l=1500,legacy:c=!1}=e,m=["copy","cut"],r=Y(()=>t&&"clipboard"in t),p=L(()=>r.value||c),v=_(""),d=_(!1),y=z(()=>d.value=!1,l);function n(){r.value?t.clipboard.readText().then(s=>{v.value=s}):v.value=I()}if(p.value&&o)for(const s of m)b(s,n);async function u(s=E(a)){p.value&&s!=null&&(r.value?await t.clipboard.writeText(s):f(s),v.value=s,d.value=!0,y.start())}function f(s){const i=document.createElement("textarea");i.value=s??"",i.style.position="absolute",i.style.opacity="0",document.body.appendChild(i),i.select(),document.execCommand("copy"),i.remove()}function I(){var s,i,O;return(O=(i=(s=document==null?void 0:document.getSelection)==null?void 0:s.call(document))==null?void 0:i.toString())!=null?O:""}return{isSupported:p,text:v,copied:d,copy:u}}function Z(e){return JSON.parse(JSON.stringify(e))}const x=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},T="__vueuse_ssr_handlers__";x[T]=x[T]||{};var A;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(A||(A={}));var ee=Object.defineProperty,N=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,Q=(e,t,o)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,oe=(e,t)=>{for(var o in t||(t={}))te.call(t,o)&&Q(e,o,t[o]);if(N)for(var o of N(t))ne.call(t,o)&&Q(e,o,t[o]);return e};const ae={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};oe({linear:K},ae);function ie(e,t,o,a={}){var l,c,m;const{clone:r=!1,passive:p=!1,eventName:v,deep:d=!1,defaultValue:y}=a,n=F(),u=o||(n==null?void 0:n.emit)||((l=n==null?void 0:n.$emit)==null?void 0:l.bind(n))||((m=(c=n==null?void 0:n.proxy)==null?void 0:c.$emit)==null?void 0:m.bind(n==null?void 0:n.proxy));let f=v;t||(t="modelValue"),f=v||f||`update:${t.toString()}`;const I=i=>r?G(r)?r(i):Z(i):i,s=()=>j(e[t])?I(e[t]):y;if(p){const i=s(),O=_(i);return S(()=>e[t],w=>O.value=I(w)),S(O,w=>{(w!==e[t]||d)&&u(f,w)},{deep:d}),O}else return L({get(){return s()},set(i){u(f,i)}})}export{ie as a,re as o,se as u}; +import{r as _,a7 as R,u as W,a8 as $,a9 as D,R as F,f as J,aa as U,I as L,P as S}from"./entry.4bb11f8f.js";var P;const h=typeof window<"u",j=e=>typeof e<"u",G=e=>typeof e=="function",H=e=>typeof e=="string",V=()=>{},q=h&&((P=window==null?void 0:window.navigator)==null?void 0:P.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function E(e){return typeof e=="function"?e():W(e)}function K(e){return e}function B(e){return $()?(D(e),!0):!1}function k(e,t=!0){F()?J(e):t?e():U(e)}function z(e,t,o={}){const{immediate:a=!0}=o,l=_(!1);let c=null;function m(){c&&(clearTimeout(c),c=null)}function r(){l.value=!1,m()}function p(...v){m(),l.value=!0,c=setTimeout(()=>{l.value=!1,c=null,e(...v)},E(t))}return a&&(l.value=!0,h&&p()),B(r),{isPending:R(l),start:p,stop:r}}function g(e){var t;const o=E(e);return(t=o==null?void 0:o.$el)!=null?t:o}const M=h?window:void 0,X=h?window.navigator:void 0;function b(...e){let t,o,a,l;if(H(e[0])||Array.isArray(e[0])?([o,a,l]=e,t=M):[t,o,a,l]=e,!t)return V;Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]);const c=[],m=()=>{c.forEach(d=>d()),c.length=0},r=(d,y,n,u)=>(d.addEventListener(y,n,u),()=>d.removeEventListener(y,n,u)),p=S(()=>[g(t),E(l)],([d,y])=>{m(),d&&c.push(...o.flatMap(n=>a.map(u=>r(d,n,u,y))))},{immediate:!0,flush:"post"}),v=()=>{p(),m()};return B(v),v}let C=!1;function re(e,t,o={}){const{window:a=M,ignore:l=[],capture:c=!0,detectIframe:m=!1}=o;if(!a)return;q&&!C&&(C=!0,Array.from(a.document.body.children).forEach(n=>n.addEventListener("click",V)));let r=!0;const p=n=>l.some(u=>{if(typeof u=="string")return Array.from(a.document.querySelectorAll(u)).some(f=>f===n.target||n.composedPath().includes(f));{const f=g(u);return f&&(n.target===f||n.composedPath().includes(f))}}),d=[b(a,"click",n=>{const u=g(e);if(!(!u||u===n.target||n.composedPath().includes(u))){if(n.detail===0&&(r=!p(n)),!r){r=!0;return}t(n)}},{passive:!0,capture:c}),b(a,"pointerdown",n=>{const u=g(e);u&&(r=!n.composedPath().includes(u)&&!p(n))},{passive:!0}),m&&b(a,"blur",n=>{var u;const f=g(e);((u=a.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!(f!=null&&f.contains(a.document.activeElement))&&t(n)})].filter(Boolean);return()=>d.forEach(n=>n())}function Y(e,t=!1){const o=_(),a=()=>o.value=!!e();return a(),k(a,t),o}function se(e={}){const{navigator:t=X,read:o=!1,source:a,copiedDuring:l=1500,legacy:c=!1}=e,m=["copy","cut"],r=Y(()=>t&&"clipboard"in t),p=L(()=>r.value||c),v=_(""),d=_(!1),y=z(()=>d.value=!1,l);function n(){r.value?t.clipboard.readText().then(s=>{v.value=s}):v.value=I()}if(p.value&&o)for(const s of m)b(s,n);async function u(s=E(a)){p.value&&s!=null&&(r.value?await t.clipboard.writeText(s):f(s),v.value=s,d.value=!0,y.start())}function f(s){const i=document.createElement("textarea");i.value=s??"",i.style.position="absolute",i.style.opacity="0",document.body.appendChild(i),i.select(),document.execCommand("copy"),i.remove()}function I(){var s,i,O;return(O=(i=(s=document==null?void 0:document.getSelection)==null?void 0:s.call(document))==null?void 0:i.toString())!=null?O:""}return{isSupported:p,text:v,copied:d,copy:u}}function Z(e){return JSON.parse(JSON.stringify(e))}const x=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},T="__vueuse_ssr_handlers__";x[T]=x[T]||{};var A;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(A||(A={}));var ee=Object.defineProperty,N=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,Q=(e,t,o)=>t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,oe=(e,t)=>{for(var o in t||(t={}))te.call(t,o)&&Q(e,o,t[o]);if(N)for(var o of N(t))ne.call(t,o)&&Q(e,o,t[o]);return e};const ae={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};oe({linear:K},ae);function ie(e,t,o,a={}){var l,c,m;const{clone:r=!1,passive:p=!1,eventName:v,deep:d=!1,defaultValue:y}=a,n=F(),u=o||(n==null?void 0:n.emit)||((l=n==null?void 0:n.$emit)==null?void 0:l.bind(n))||((m=(c=n==null?void 0:n.proxy)==null?void 0:c.$emit)==null?void 0:m.bind(n==null?void 0:n.proxy));let f=v;t||(t="modelValue"),f=v||f||`update:${t.toString()}`;const I=i=>r?G(r)?r(i):Z(i):i,s=()=>j(e[t])?I(e[t]):y;if(p){const i=s(),O=_(i);return S(()=>e[t],w=>O.value=I(w)),S(O,w=>{(w!==e[t]||d)&&u(f,w)},{deep:d}),O}else return L({get(){return s()},set(i){u(f,i)}})}export{ie as a,re as o,se as u}; diff --git a/_nuxt/page.9d1cc5bc.js b/_nuxt/page.2d5e4249.js similarity index 88% rename from _nuxt/page.9d1cc5bc.js rename to _nuxt/page.2d5e4249.js index e38d579..edc1b9f 100644 --- a/_nuxt/page.9d1cc5bc.js +++ b/_nuxt/page.2d5e4249.js @@ -1 +1 @@ -import{a as c,Y as r,o as p,i as u,m as l,w as i,k as f,K as m,u as d,a2 as g,x}from"./entry.ed643c4e.js";const v={class:"page-layout"},h=c({__name:"page",setup(k){const{config:e}=r();return(n,y)=>{var a,t,o,s;const _=g;return p(),u("div",v,[l(_,{fluid:(t=(a=d(e))==null?void 0:a.main)==null?void 0:t.fluid,padded:(s=(o=d(e))==null?void 0:o.main)==null?void 0:s.padded},{default:i(()=>[f("article",null,[m(n.$slots,"default",{},void 0,!0)])]),_:3},8,["fluid","padded"])])}}});const C=x(h,[["__scopeId","data-v-dd8dc107"]]);export{C as default}; +import{a as c,Y as r,o as p,i as u,m as l,w as i,k as f,K as m,u as d,a2 as g,x}from"./entry.4bb11f8f.js";const v={class:"page-layout"},h=c({__name:"page",setup(k){const{config:e}=r();return(n,y)=>{var a,t,o,s;const _=g;return p(),u("div",v,[l(_,{fluid:(t=(a=d(e))==null?void 0:a.main)==null?void 0:t.fluid,padded:(s=(o=d(e))==null?void 0:o.main)==null?void 0:s.padded},{default:i(()=>[f("article",null,[m(n.$slots,"default",{},void 0,!0)])]),_:3},8,["fluid","padded"])])}}});const C=x(h,[["__scopeId","data-v-dd8dc107"]]);export{C as default}; diff --git a/_nuxt/useStudio.30611511.js b/_nuxt/useStudio.04562908.js similarity index 98% rename from _nuxt/useStudio.30611511.js rename to _nuxt/useStudio.04562908.js index 28bb6e4..34cec23 100644 --- a/_nuxt/useStudio.30611511.js +++ b/_nuxt/useStudio.04562908.js @@ -1 +1 @@ -import{a as Y,b as V,e as W,r as $,f as j,_ as ee,h as te,o as q,i as L,j as ne,F as oe,k as w,l as E,m as O,w as J,T as B,t as ie,p as D,q as U,s as se,v as ae,x as re,y as de,z,A as ce,B as K,C as Z,D as H,E as le,G as pe,H as F}from"./entry.ed643c4e.js";import{r as ue}from"./asyncData.fd6c0ee7.js";const b=i=>(se("data-v-ba80a926"),i=i(),ae(),i),ve=b(()=>w("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M50.0016 71.0999h29.2561c.9293.0001 1.8422-.241 2.6469-.6992.8047-.4582 1.4729-1.1173 1.9373-1.9109.4645-.7936.7088-1.6939.7083-2.6102-.0004-.9162-.2455-1.8163-.7106-2.6095L64.192 29.713c-.4644-.7934-1.1325-1.4523-1.937-1.9105-.8046-.4581-1.7173-.6993-2.6463-.6993-.9291 0-1.8418.2412-2.6463.6993-.8046.4582-1.4726 1.1171-1.937 1.9105l-5.0238 8.5861-9.8224-16.7898c-.4648-.7934-1.1332-1.4522-1.938-1.9102-.8047-.4581-1.7176-.6992-2.6468-.6992-.9292 0-1.842.2411-2.6468.6992-.8048.458-1.4731 1.1168-1.9379 1.9102L6.56062 63.2701c-.46512.7932-.71021 1.6933-.71061 2.6095-.00041.9163.24389 1.8166.70831 2.6102.46443.7936 1.1326 1.4527 1.93732 1.9109.80473.4582 1.71766.6993 2.64686.6992h18.3646c7.2763 0 12.6422-3.1516 16.3345-9.3002l8.9642-15.3081 4.8015-8.1925 14.4099 24.6083H54.8058l-4.8042 8.1925ZM29.2077 62.899l-12.8161-.0028L35.603 30.0869l9.5857 16.4047-6.418 10.9645c-2.4521 3.9894-5.2377 5.4429-9.563 5.4429Z",fill:"currentColor"})],-1)),fe=b(()=>w("span",null,"Preview mode enabled",-1)),we={key:0},_e=b(()=>w("div",{id:"__preview_background"},null,-1)),he=b(()=>w("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 0 0 4.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 0 1-15.357-2m15.357 2H15"})],-1)),me=b(()=>w("p",null,"Initializing the preview...",-1)),ye={key:0},ge=b(()=>w("div",{id:"__preview_background"},null,-1)),ke={id:"__preview_loader"},Ce=Y({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(i){const s=i,c=["__nuxt_preview","__preview_enabled"],v=V(),y=W(),r=$(!0),g=$(!1),o=$(!1),l=$("");let a;const h=()=>{D("previewToken").value="",U().query.preview="",window.sessionStorage.removeItem("previewToken"),window.location.reload()},A=async T=>{const _=await s.syncPreview(T);if(o.value!==!0){if(!_){setTimeout(()=>A(T),1e3);return}D("previewToken").value&&(o.value=!0,await y.replace({query:{}}),v.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&a.disconnect())}};return j(async()=>{a=(await ee(()=>import("./index.48dac7e8.js"),[],import.meta.url)).connect(`${s.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:s.previewToken}});let _;a.on("connect",()=>{_=setTimeout(()=>{o.value||(_=setTimeout(()=>{l.value="Preview sync timed out",o.value=!1},3e4),a.emit("draft:requestSync"))},3e4)});const I=()=>{_&&(clearTimeout(_),_=null)};a.on("draft:sync",async P=>{if(I(),!P){try{a.once("draft:ready",()=>{a.emit("draft:requestSync")}),await s.requestPreviewSyncAPI()}catch(R){switch(I(),R.response.status){case 404:l.value="Preview draft not found",o.value=!1;break;default:l.value="An error occurred while syncing preview",o.value=!1}}return}A(P)}),a.on("draft:unauthorized",()=>{I(),l.value="Unauthorized preview token",o.value=!1}),a.on("disconnect",()=>{I()}),document.body.classList.add(...c),a.on("draft:update",P=>{g.value=!0,s.syncPreview(P),g.value=!1})}),te(()=>{document.body.classList.remove(...c)}),(T,_)=>(q(),L("div",null,[r.value?(q(),L("div",{key:0,id:"__nuxt_preview",class:ne({__preview_ready:o.value,__preview_refreshing:g.value})},[o.value?(q(),L(oe,{key:0},[ve,fe,w("button",{onClick:h}," Close ")],64)):E("",!0)],2)):E("",!0),O(B,{name:"preview-loading"},{default:J(()=>[r.value&&!o.value&&!l.value?(q(),L("div",we,[_e,w("div",{id:"__preview_loader"},[he,me,w("button",{onClick:h}," Cancel ")])])):E("",!0)]),_:1}),O(B,{name:"preview-loading"},{default:J(()=>[l.value?(q(),L("div",ye,[ge,w("div",ke,[w("p",null,ie(l.value),1),w("button",{onClick:h}," Exit preview ")])])):E("",!0)]),_:1})]))}});const Ie=re(Ce,[["__scopeId","data-v-ba80a926"]]),Pe=(i=[],s,c)=>{const v=[...s||[]],y=[...c||[]],r=JSON.parse(JSON.stringify(i));for(const o of v)if(o.oldPath)if(y.splice(y.findIndex(a=>a.path===o.oldPath),1),v.find(a=>a.path===o.oldPath))r.push({path:o.path,parsed:o.parsed});else{const a=r.find(h=>h.path===o.oldPath);a&&(a.path=o.path,o.parsed?a.parsed=o.parsed:o.pathMeta&&["_file","_path","_id","_locale"].forEach(h=>{a.parsed[h]=o.pathMeta[h]}))}else if(o.new)r.push({path:o.path,parsed:o.parsed});else{const l=r.find(a=>a.path===o.path);l&&Object.assign(l,{path:o.path,parsed:o.parsed})}for(const o of y)r.splice(r.findIndex(l=>l.path===o.path),1);const g=new Intl.Collator(void 0,{numeric:!0});return r.sort((o,l)=>g.compare(o.path,l.path)),r},C={appConfig:"app.config.ts",tokensConfig:"tokens.config.ts"},Se=i=>{let s;return(...c)=>(s||(s=i()),s)};function G(i,s){for(const c in i){const v=s[c];c in s||delete i[c],v!==null&&typeof v=="object"&&G(i[c],s[c])}}function Q(i,s){for(const c in s){const v=s[c];v!==null&&typeof v=="object"?(i[c]=i[c]||{},Q(i[c],v)):i[c]=v}}const Te=Se(()=>JSON.parse(JSON.stringify(Z()))),qe=()=>{const i=V(),{studio:s,content:c}=de().public,v=Te();let y;const r=z("studio-client-db",()=>null),g=z("studio-preview-db-files",()=>[]);r.value||(i.hook("content:storage",e=>{r.value=e}),ce("/non-existing-path").findOne());const o=async(e,n,d=!0)=>{const u=window.sessionStorage.getItem("previewToken"),f=await e.getKeys(`${u}:`);await Promise.all(f.map(p=>e.removeItem(p)));const t=new Set(n.map(p=>p.parsed._id.split(":").shift()));await e.setItem(`${u}$`,JSON.stringify({ignoreSources:Array.from(t)})),await Promise.all(n.map(p=>e.setItem(`${u}:${p.parsed._id}`,JSON.stringify(p.parsed))))},l=e=>{const n=K(i,Z);Q(n,H(e,v)),e||G(n,v)},a=e=>{var d,u,f,t;const n=(t=(f=(u=(d=i==null?void 0:i.vueApp)==null?void 0:d._context)==null?void 0:u.config)==null?void 0:f.globalProperties)==null?void 0:t.$pinceauTheme;!n||!(n!=null&&n.updateTheme)||(y||(y=JSON.parse(JSON.stringify((n==null?void 0:n.theme.value)||{}))),K(i,n.updateTheme,[H(e,y)]))},h=async e=>{if(g.value=e.files=e.files||g.value||[],!r.value)return!1;const n=Pe(e.files,e.additions,e.deletions),d=n.filter(t=>![C.appConfig,C.tokensConfig].includes(t.path));await o(r.value,d,(e.files||[]).length!==0);const u=n.find(t=>t.path===C.appConfig);l(u==null?void 0:u.parsed);const f=n.find(t=>t.path===C.tokensConfig);return a(f==null?void 0:f.parsed),R(),!0},A=async()=>{const e=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:s==null?void 0:s.apiURL,method:"POST",params:{token:e}})},T=()=>{const e=window.sessionStorage.getItem("previewToken"),n=document.createElement("div");n.id="__nuxt_preview_wrapper",document.body.appendChild(n),le(Ie,{previewToken:e,apiURL:s==null?void 0:s.apiURL,syncPreview:h,requestPreviewSyncAPI:A}).mount(n)},_=async e=>{var u,f,t;const n=window.sessionStorage.getItem("previewToken");if(!e)return null;e=e.replace(/\/$/,"");let d=await((u=r.value)==null?void 0:u.getItem(`${n}:${e}`));return d||(d=await((f=r.value)==null?void 0:f.getItem(`cached:${e}`))),d||(d=d=await((t=r.value)==null?void 0:t.getItem(e))),d},I=e=>{var d;const n=window.sessionStorage.getItem("previewToken");r.value&&r.value.setItem(`${n}:${(d=e.parsed)==null?void 0:d._id}`,JSON.stringify(e.parsed))},P=async e=>{var d;const n=window.sessionStorage.getItem("previewToken");await((d=r.value)==null?void 0:d.removeItem(`${n}:${e}`))},R=async()=>{if(c!=null&&c.documentDriven){const{pages:e}=K(i,pe);for(const n in e.value)e.value[n]&&(e.value[n]=await _(e.value[n]._id))}K(i,ue)};return{apiURL:s==null?void 0:s.apiURL,contentStorage:r,syncPreviewFiles:o,syncPreviewAppConfig:l,syncPreviewTokensConfig:a,requestPreviewSynchronization:A,findContentWithId:_,updateContent:I,removeContentWithId:P,requestRerender:R,mountPreviewUI:T,initiateIframeCommunication:X};function X(){if(!window.parent||window.self===window.parent)return;const e=W(),n=U(),d=$(""),u=t=>({path:t.path,query:F(t.query),params:F(t.params),fullPath:t.fullPath,meta:F(t.meta)});window.addEventListener("keydown",t=>{(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)&&window.parent.postMessage({type:"nuxt-studio:preview:keydown",payload:{key:t.key,metaKey:t.metaKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey}},"*")}),window.addEventListener("message",async t=>{const{type:p,payload:x={}}=t.data||{};switch(p){case"nuxt-studio:editor:file-selected":{const m=await _(x.path);m&&(m._partial||m._path!==U().path&&(d.value=m._path,e.push(m._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:m=[],deletions:N=[]}=x;for(const k of m)await I(k);for(const k of N)await P(k.path);R();break}case"nuxt-studio:preview:sync":{h(x);break}case"nuxt-studio:config:file-changed":{const{additions:m=[],deletions:N=[]}=x,k=m.find(S=>S.path===C.appConfig);k&&l(k==null?void 0:k.parsed),N.find(S=>S.path===C.appConfig)&&l(void 0);const M=m.find(S=>S.path===C.tokensConfig);M&&a(M==null?void 0:M.parsed),N.find(S=>S.path===C.tokensConfig)&&a(void 0);break}}}),i.hook("page:finish",()=>{f()}),i.hook("content:document-driven:finish",({route:t,page:p})=>{t.meta.studio_page_contentId=p==null?void 0:p._id}),i.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:u(U())},"*"),setTimeout(()=>{f()},100)});function f(){const t=Array.from(window.document.querySelectorAll("[data-content-id]")).map(x=>x.getAttribute("data-content-id")),p=Array.from(new Set([n.meta.studio_page_contentId,...t])).filter(Boolean);if(d.value===p[0]){d.value="";return}window.openContentInStudioEditor(p,{navigate:!0,pageContentId:n.meta.studio_page_contentId})}window.openContentInStudioEditor=(t,p={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...u(n),contentIds:t,...p}},"*")}}};export{qe as useStudio}; +import{a as Y,b as V,e as W,r as $,f as j,_ as ee,h as te,o as q,i as L,j as ne,F as oe,k as w,l as E,m as O,w as J,T as B,t as ie,p as D,q as U,s as se,v as ae,x as re,y as de,z,A as ce,B as K,C as Z,D as H,E as le,G as pe,H as F}from"./entry.4bb11f8f.js";import{r as ue}from"./asyncData.b0a53602.js";const b=i=>(se("data-v-ba80a926"),i=i(),ae(),i),ve=b(()=>w("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[w("path",{d:"M50.0016 71.0999h29.2561c.9293.0001 1.8422-.241 2.6469-.6992.8047-.4582 1.4729-1.1173 1.9373-1.9109.4645-.7936.7088-1.6939.7083-2.6102-.0004-.9162-.2455-1.8163-.7106-2.6095L64.192 29.713c-.4644-.7934-1.1325-1.4523-1.937-1.9105-.8046-.4581-1.7173-.6993-2.6463-.6993-.9291 0-1.8418.2412-2.6463.6993-.8046.4582-1.4726 1.1171-1.937 1.9105l-5.0238 8.5861-9.8224-16.7898c-.4648-.7934-1.1332-1.4522-1.938-1.9102-.8047-.4581-1.7176-.6992-2.6468-.6992-.9292 0-1.842.2411-2.6468.6992-.8048.458-1.4731 1.1168-1.9379 1.9102L6.56062 63.2701c-.46512.7932-.71021 1.6933-.71061 2.6095-.00041.9163.24389 1.8166.70831 2.6102.46443.7936 1.1326 1.4527 1.93732 1.9109.80473.4582 1.71766.6993 2.64686.6992h18.3646c7.2763 0 12.6422-3.1516 16.3345-9.3002l8.9642-15.3081 4.8015-8.1925 14.4099 24.6083H54.8058l-4.8042 8.1925ZM29.2077 62.899l-12.8161-.0028L35.603 30.0869l9.5857 16.4047-6.418 10.9645c-2.4521 3.9894-5.2377 5.4429-9.563 5.4429Z",fill:"currentColor"})],-1)),fe=b(()=>w("span",null,"Preview mode enabled",-1)),we={key:0},_e=b(()=>w("div",{id:"__preview_background"},null,-1)),he=b(()=>w("svg",{id:"__preview_loading_icon",width:"32",height:"32",viewBox:"0 0 24 24"},[w("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 0 0 4.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 0 1-15.357-2m15.357 2H15"})],-1)),me=b(()=>w("p",null,"Initializing the preview...",-1)),ye={key:0},ge=b(()=>w("div",{id:"__preview_background"},null,-1)),ke={id:"__preview_loader"},Ce=Y({__name:"ContentPreviewMode",props:{previewToken:{type:String,required:!0},apiURL:{type:String,required:!0},syncPreview:{type:Function,required:!0},requestPreviewSyncAPI:{type:Function,required:!0}},setup(i){const s=i,c=["__nuxt_preview","__preview_enabled"],v=V(),y=W(),r=$(!0),g=$(!1),o=$(!1),l=$("");let a;const h=()=>{D("previewToken").value="",U().query.preview="",window.sessionStorage.removeItem("previewToken"),window.location.reload()},A=async T=>{const _=await s.syncPreview(T);if(o.value!==!0){if(!_){setTimeout(()=>A(T),1e3);return}D("previewToken").value&&(o.value=!0,await y.replace({query:{}}),v.callHook("nuxt-studio:preview:ready"),window.parent&&window.self!==window.parent&&a.disconnect())}};return j(async()=>{a=(await ee(()=>import("./index.48dac7e8.js"),[],import.meta.url)).connect(`${s.apiURL}/preview`,{transports:["websocket","polling"],auth:{token:s.previewToken}});let _;a.on("connect",()=>{_=setTimeout(()=>{o.value||(_=setTimeout(()=>{l.value="Preview sync timed out",o.value=!1},3e4),a.emit("draft:requestSync"))},3e4)});const I=()=>{_&&(clearTimeout(_),_=null)};a.on("draft:sync",async P=>{if(I(),!P){try{a.once("draft:ready",()=>{a.emit("draft:requestSync")}),await s.requestPreviewSyncAPI()}catch(R){switch(I(),R.response.status){case 404:l.value="Preview draft not found",o.value=!1;break;default:l.value="An error occurred while syncing preview",o.value=!1}}return}A(P)}),a.on("draft:unauthorized",()=>{I(),l.value="Unauthorized preview token",o.value=!1}),a.on("disconnect",()=>{I()}),document.body.classList.add(...c),a.on("draft:update",P=>{g.value=!0,s.syncPreview(P),g.value=!1})}),te(()=>{document.body.classList.remove(...c)}),(T,_)=>(q(),L("div",null,[r.value?(q(),L("div",{key:0,id:"__nuxt_preview",class:ne({__preview_ready:o.value,__preview_refreshing:g.value})},[o.value?(q(),L(oe,{key:0},[ve,fe,w("button",{onClick:h}," Close ")],64)):E("",!0)],2)):E("",!0),O(B,{name:"preview-loading"},{default:J(()=>[r.value&&!o.value&&!l.value?(q(),L("div",we,[_e,w("div",{id:"__preview_loader"},[he,me,w("button",{onClick:h}," Cancel ")])])):E("",!0)]),_:1}),O(B,{name:"preview-loading"},{default:J(()=>[l.value?(q(),L("div",ye,[ge,w("div",ke,[w("p",null,ie(l.value),1),w("button",{onClick:h}," Exit preview ")])])):E("",!0)]),_:1})]))}});const Ie=re(Ce,[["__scopeId","data-v-ba80a926"]]),Pe=(i=[],s,c)=>{const v=[...s||[]],y=[...c||[]],r=JSON.parse(JSON.stringify(i));for(const o of v)if(o.oldPath)if(y.splice(y.findIndex(a=>a.path===o.oldPath),1),v.find(a=>a.path===o.oldPath))r.push({path:o.path,parsed:o.parsed});else{const a=r.find(h=>h.path===o.oldPath);a&&(a.path=o.path,o.parsed?a.parsed=o.parsed:o.pathMeta&&["_file","_path","_id","_locale"].forEach(h=>{a.parsed[h]=o.pathMeta[h]}))}else if(o.new)r.push({path:o.path,parsed:o.parsed});else{const l=r.find(a=>a.path===o.path);l&&Object.assign(l,{path:o.path,parsed:o.parsed})}for(const o of y)r.splice(r.findIndex(l=>l.path===o.path),1);const g=new Intl.Collator(void 0,{numeric:!0});return r.sort((o,l)=>g.compare(o.path,l.path)),r},C={appConfig:"app.config.ts",tokensConfig:"tokens.config.ts"},Se=i=>{let s;return(...c)=>(s||(s=i()),s)};function G(i,s){for(const c in i){const v=s[c];c in s||delete i[c],v!==null&&typeof v=="object"&&G(i[c],s[c])}}function Q(i,s){for(const c in s){const v=s[c];v!==null&&typeof v=="object"?(i[c]=i[c]||{},Q(i[c],v)):i[c]=v}}const Te=Se(()=>JSON.parse(JSON.stringify(Z()))),qe=()=>{const i=V(),{studio:s,content:c}=de().public,v=Te();let y;const r=z("studio-client-db",()=>null),g=z("studio-preview-db-files",()=>[]);r.value||(i.hook("content:storage",e=>{r.value=e}),ce("/non-existing-path").findOne());const o=async(e,n,d=!0)=>{const u=window.sessionStorage.getItem("previewToken"),f=await e.getKeys(`${u}:`);await Promise.all(f.map(p=>e.removeItem(p)));const t=new Set(n.map(p=>p.parsed._id.split(":").shift()));await e.setItem(`${u}$`,JSON.stringify({ignoreSources:Array.from(t)})),await Promise.all(n.map(p=>e.setItem(`${u}:${p.parsed._id}`,JSON.stringify(p.parsed))))},l=e=>{const n=K(i,Z);Q(n,H(e,v)),e||G(n,v)},a=e=>{var d,u,f,t;const n=(t=(f=(u=(d=i==null?void 0:i.vueApp)==null?void 0:d._context)==null?void 0:u.config)==null?void 0:f.globalProperties)==null?void 0:t.$pinceauTheme;!n||!(n!=null&&n.updateTheme)||(y||(y=JSON.parse(JSON.stringify((n==null?void 0:n.theme.value)||{}))),K(i,n.updateTheme,[H(e,y)]))},h=async e=>{if(g.value=e.files=e.files||g.value||[],!r.value)return!1;const n=Pe(e.files,e.additions,e.deletions),d=n.filter(t=>![C.appConfig,C.tokensConfig].includes(t.path));await o(r.value,d,(e.files||[]).length!==0);const u=n.find(t=>t.path===C.appConfig);l(u==null?void 0:u.parsed);const f=n.find(t=>t.path===C.tokensConfig);return a(f==null?void 0:f.parsed),R(),!0},A=async()=>{const e=window.sessionStorage.getItem("previewToken");await $fetch("api/projects/preview/sync",{baseURL:s==null?void 0:s.apiURL,method:"POST",params:{token:e}})},T=()=>{const e=window.sessionStorage.getItem("previewToken"),n=document.createElement("div");n.id="__nuxt_preview_wrapper",document.body.appendChild(n),le(Ie,{previewToken:e,apiURL:s==null?void 0:s.apiURL,syncPreview:h,requestPreviewSyncAPI:A}).mount(n)},_=async e=>{var u,f,t;const n=window.sessionStorage.getItem("previewToken");if(!e)return null;e=e.replace(/\/$/,"");let d=await((u=r.value)==null?void 0:u.getItem(`${n}:${e}`));return d||(d=await((f=r.value)==null?void 0:f.getItem(`cached:${e}`))),d||(d=d=await((t=r.value)==null?void 0:t.getItem(e))),d},I=e=>{var d;const n=window.sessionStorage.getItem("previewToken");r.value&&r.value.setItem(`${n}:${(d=e.parsed)==null?void 0:d._id}`,JSON.stringify(e.parsed))},P=async e=>{var d;const n=window.sessionStorage.getItem("previewToken");await((d=r.value)==null?void 0:d.removeItem(`${n}:${e}`))},R=async()=>{if(c!=null&&c.documentDriven){const{pages:e}=K(i,pe);for(const n in e.value)e.value[n]&&(e.value[n]=await _(e.value[n]._id))}K(i,ue)};return{apiURL:s==null?void 0:s.apiURL,contentStorage:r,syncPreviewFiles:o,syncPreviewAppConfig:l,syncPreviewTokensConfig:a,requestPreviewSynchronization:A,findContentWithId:_,updateContent:I,removeContentWithId:P,requestRerender:R,mountPreviewUI:T,initiateIframeCommunication:X};function X(){if(!window.parent||window.self===window.parent)return;const e=W(),n=U(),d=$(""),u=t=>({path:t.path,query:F(t.query),params:F(t.params),fullPath:t.fullPath,meta:F(t.meta)});window.addEventListener("keydown",t=>{(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)&&window.parent.postMessage({type:"nuxt-studio:preview:keydown",payload:{key:t.key,metaKey:t.metaKey,ctrlKey:t.ctrlKey,shiftKey:t.shiftKey,altKey:t.altKey}},"*")}),window.addEventListener("message",async t=>{const{type:p,payload:x={}}=t.data||{};switch(p){case"nuxt-studio:editor:file-selected":{const m=await _(x.path);m&&(m._partial||m._path!==U().path&&(d.value=m._path,e.push(m._path)));break}case"nuxt-studio:editor:file-changed":{const{additions:m=[],deletions:N=[]}=x;for(const k of m)await I(k);for(const k of N)await P(k.path);R();break}case"nuxt-studio:preview:sync":{h(x);break}case"nuxt-studio:config:file-changed":{const{additions:m=[],deletions:N=[]}=x,k=m.find(S=>S.path===C.appConfig);k&&l(k==null?void 0:k.parsed),N.find(S=>S.path===C.appConfig)&&l(void 0);const M=m.find(S=>S.path===C.tokensConfig);M&&a(M==null?void 0:M.parsed),N.find(S=>S.path===C.tokensConfig)&&a(void 0);break}}}),i.hook("page:finish",()=>{f()}),i.hook("content:document-driven:finish",({route:t,page:p})=>{t.meta.studio_page_contentId=p==null?void 0:p._id}),i.hook("nuxt-studio:preview:ready",()=>{window.parent.postMessage({type:"nuxt-studio:preview:ready",payload:u(U())},"*"),setTimeout(()=>{f()},100)});function f(){const t=Array.from(window.document.querySelectorAll("[data-content-id]")).map(x=>x.getAttribute("data-content-id")),p=Array.from(new Set([n.meta.studio_page_contentId,...t])).filter(Boolean);if(d.value===p[0]){d.value="";return}window.openContentInStudioEditor(p,{navigate:!0,pageContentId:n.meta.studio_page_contentId})}window.openContentInStudioEditor=(t,p={})=>{window.parent.postMessage({type:"nuxt-studio:preview:navigate",payload:{...u(n),contentIds:t,...p}},"*")}}};export{qe as useStudio}; diff --git a/api/_content/cache.1687082481087.json b/api/_content/cache.1687082481087.json deleted file mode 100644 index 814e70b..0000000 --- a/api/_content/cache.1687082481087.json +++ /dev/null @@ -1 +0,0 @@ -{"generatedAt":1687082522096,"generateTime":11,"contents":[{"_path":"/","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Home","description":"","navigation":false,"layout":"page","main":{"fluid":false},"body":{"type":"root","children":[{"type":"element","tag":"ellipsis","props":{"blur":"150px","right":"0px","width":"75%"},"children":[]},{"type":"element","tag":"block-hero","props":{":cta":"[\"Get started\",\"/getting-started/setup\"]",":secondary":"[\"Open on GitHub →\",\"https://github.com/arashsheyda/nuxt-mongoose\"]"},"children":[{"type":"element","tag":"template","props":{"v-slot:title":""},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt "},{"type":"element","tag":"span","props":{"style":"color: var(--color-primary-500)"},"children":[{"type":"text","value":"Mongoose"}]}]}]},{"type":"element","tag":"template","props":{"v-slot:description":""},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A Nuxt module for simplifying the use of "},{"type":"element","tag":"a","props":{"href":"https://mongoosejs.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Mongoose"}]},{"type":"text","value":" in your project."}]}]},{"type":"element","tag":"template","props":{"v-slot:support":""},"children":[{"type":"element","tag":"terminal","props":{":content":"[\"npm i nuxt-mongoose -D\"]"},"children":[]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:0.index.md","_source":"content","_file":"0.index.md","_extension":"md"},{"_path":"/getting-started/_dir","_dir":"getting-started","_draft":false,"_partial":true,"_locale":"","icon":"tabler:brand-mongodb","navigation":{"redirect":"/getting-started/setup"},"_id":"content:1.getting-started:_dir.yml","_type":"yaml","title":"Dir","_source":"content","_file":"1.getting-started/_dir.yml","_extension":"yml"},{"_path":"/getting-started/setup","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Setup","description":"A Nuxt module for simplifying the use of Mongoose in your project.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"setup"},"children":[{"type":"text","value":"Setup"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A Nuxt module for simplifying the use of Mongoose in your project."}]},{"type":"element","tag":"h2","props":{"id":"installation"},"children":[{"type":"text","value":"Installation"}]},{"type":"element","tag":"ol","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Install "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to your dependencies."}]}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"pnpm add nuxt-mongoose -D\n","filename":"pnpm","language":"bash","meta":"[pnpm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"pnpm"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-13922b"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"npm install nuxt-mongoose -D\n","filename":"npm","language":"bash","meta":"[npm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"install"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-13922b"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"yarn add nuxt-mongoose -D\n","filename":"yarn","language":"bash","meta":"[yarn]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"yarn"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-13922b"},"children":[{"type":"text","value":"-D"}]}]}]}]}]}]},{"type":"element","tag":"ol","props":{"start":2},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modules"}]},{"type":"text","value":" section of your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file."}]}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n modules: [\n 'nuxt-mongoose',\n ],\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-412868"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":"modules: [\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"'nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" ]"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"alert","props":{"type":"success"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"That's it! You can now use Mongoose in your Nuxt app ✨"}]}]},{"type":"element","tag":"h2","props":{"id":"options"},"children":[{"type":"text","value":"Options"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure the module by adding a "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" section to your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file.\nread more about "},{"type":"element","tag":"a","props":{"href":"/getting-started/configuration"},"children":[{"type":"text","value":"Mongoose options"}]},{"type":"text","value":"."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n // Options\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-412868"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-f77d01"},"children":[{"type":"text","value":"// Options\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you want to configure only the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]},{"type":"text","value":" just add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"MONGODB_URI"}]},{"type":"text","value":" in your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file."}]},{"type":"element","tag":"code","props":{"code":"MONGODB_URI=YOUR_MONGO_URI\n","language":"env","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"MONGODB_URI=YOUR_MONGO_URI"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-f77d01{color:#6E7781}\n.ct-412868{color:#8250DF}\n.ct-45754d{color:#CF222E}\n.ct-13922b{color:#0550AE}\n.ct-b6a40e{color:#0A3069}\n.ct-095ef2{color:#24292F}\n.ct-f7a761{color:#953800}\n.dark .ct-f7a761{color:#FFA657}\n.dark .ct-095ef2{color:#C9D1D9}\n.dark .ct-b6a40e{color:#A5D6FF}\n.dark .ct-13922b{color:#79C0FF}\n.dark .ct-45754d{color:#FF7B72}\n.dark .ct-412868{color:#D2A8FF}\n.dark .ct-f77d01{color:#8B949E}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"installation","depth":2,"text":"Installation"},{"id":"options","depth":2,"text":"Options"}]}},"_type":"markdown","_id":"content:1.getting-started:1.setup.md","_source":"content","_file":"1.getting-started/1.setup.md","_extension":"md"},{"_path":"/getting-started/configuration","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Configuration","description":"Configure Nuxt Mongoose with the mongoose property.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"configuration"},"children":[{"type":"text","value":"Configuration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Configure Nuxt Mongoose with the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" property."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n uri: 'process.env.MONGODB_URI',\n options: {},\n modelsDir: 'models',\n devtools: true,\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-e521a6"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e521a6"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b76b4f"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" uri: "}]},{"type":"element","tag":"span","props":{"class":"ct-3de136"},"children":[{"type":"text","value":"'process.env.MONGODB_URI'"}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" options: {},\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" modelsDir: "}]},{"type":"element","tag":"span","props":{"class":"ct-3de136"},"children":[{"type":"text","value":"'models'"}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" devtools: "}]},{"type":"element","tag":"span","props":{"class":"ct-c0c2b4"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"table","props":{},"children":[{"type":"element","tag":"thead","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Key"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Type"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Default"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Description"}]}]}]}]},{"type":"element","tag":"tbody","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"process.env.MONGODB_URI"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Uri String"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"options"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"ConnectOptions"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"{ }"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Options"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modelsDir"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"models"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"The models(schema) directory located in "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"server"}]},{"type":"text","value":" for auto-import"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"devtools"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"boolean"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Enable Mongoose module in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/devtools","rel":["nofollow"]},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Nuxt Devtools"}]}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-c0c2b4{color:#0550AE}\n.ct-3de136{color:#0A3069}\n.ct-e3cc29{color:#24292F}\n.ct-b76b4f{color:#8250DF}\n.ct-82d5bd{color:#953800}\n.ct-e521a6{color:#CF222E}\n.dark .ct-e521a6{color:#FF7B72}\n.dark .ct-82d5bd{color:#FFA657}\n.dark .ct-b76b4f{color:#D2A8FF}\n.dark .ct-e3cc29{color:#C9D1D9}\n.dark .ct-3de136{color:#A5D6FF}\n.dark .ct-c0c2b4{color:#79C0FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:1.getting-started:3.configuration.md","_source":"content","_file":"1.getting-started/3.configuration.md","_extension":"md"},{"_path":"/api/_dir","_dir":"api","_draft":false,"_partial":true,"_locale":"","title":"API","icon":"tabler:book","_id":"content:2.api:_dir.yml","_type":"yaml","_source":"content","_file":"2.api/_dir.yml","_extension":"yml"},{"_path":"/api/utils","_dir":"api","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Utils","description":"Discover all available utils.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"utils"},"children":[{"type":"text","value":"Utils"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Discover all available utils."}]},{"type":"element","tag":"h2","props":{"id":"definemongoosemodel"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseModel"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose model with schema. Example usage:"}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"export const User = defineMongooseModel({\n name: 'User',\n schema: {\n name: {\n type: String,\n required: true,\n },\n },\n options: {\n\n },\n})\n","filename":"named parameters","language":"ts","meta":"[named parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e5bca9"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" name: "}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" schema: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" options: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseModel } from '#nuxt/mongoose'\n\nexport const User = defineMongooseModel('User', {\n name: {\n type: String,\n required: true,\n },\n}, {\n\n})\n","filename":"positional parameters","language":"ts","meta":"[positional parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" { defineMongooseModel } "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e5bca9"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":", {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"}, {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"})"}]}]}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"definemongooseconnection"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseConnection"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose connection."}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" provides a default connection for you, it auto-register a plugin in nitro, so you don't need to use this function unless you want to create a new connection. more info "},{"type":"element","tag":"a","props":{"href":"https://github.com/arashsheyda/nuxt-mongoose/blob/main/src/runtime/server/plugins/mongoose.db.ts","rel":["nofollow"]},"children":[{"type":"text","value":"here"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Example usage:"}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseConnection } from '#nuxt/mongoose'\n\nexport const connection = defineMongooseConnection('mongodb://127.0.0.1/nuxt-mongoose')\n","language":"ts","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" { defineMongooseConnection } "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"connection"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e5bca9"},"children":[{"type":"text","value":"defineMongooseConnection"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'mongodb://127.0.0.1/nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":")"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-20c980{color:#0A3069}\n.ct-e5bca9{color:#8250DF}\n.ct-8d68c6{color:#0550AE}\n.ct-d000e0{color:#24292F}\n.ct-3d3407{color:#CF222E}\n.dark .ct-3d3407{color:#FF7B72}\n.dark .ct-d000e0{color:#C9D1D9}\n.dark .ct-8d68c6{color:#79C0FF}\n.dark .ct-e5bca9{color:#D2A8FF}\n.dark .ct-20c980{color:#A5D6FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"definemongoosemodel","depth":2,"text":"defineMongooseModel"},{"id":"definemongooseconnection","depth":2,"text":"defineMongooseConnection"}]}},"_type":"markdown","_id":"content:2.api:1.utils.md","_source":"content","_file":"2.api/1.utils.md","_extension":"md"},{"_path":"/api/devtools","_dir":"api","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Devtools (beta)","description":"nuxt-mongoose comes with a Nuxt Devtools module that allows you to manage your collections and generate api-endpoints & schemas...","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"devtools-beta"},"children":[{"type":"text","value":"Devtools (beta)"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" comes with a "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/devtools","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt Devtools"}]},{"type":"text","value":" module that allows you to manage your collections and generate api-endpoints & schemas..."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Here is a demo video:"}]},{"type":"element","tag":"video-player","props":{"src":"https://www.youtube.com/watch?v=hK0npSfr_Vs"},"children":[]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:2.api:2.devtools.md","_source":"content","_file":"2.api/2.devtools.md","_extension":"md"}],"navigation":[{"title":"Getting Started","_path":"/getting-started","children":[{"title":"Setup","_path":"/getting-started/setup"},{"title":"Configuration","_path":"/getting-started/configuration"}],"icon":"tabler:brand-mongodb","redirect":"/getting-started/setup"},{"title":"API","_path":"/api","children":[{"title":"Utils","_path":"/api/utils"},{"title":"Devtools (beta)","_path":"/api/devtools"}],"icon":"tabler:book"}]} \ No newline at end of file diff --git a/api/_content/cache.1687082698783.json b/api/_content/cache.1687082698783.json new file mode 100644 index 0000000..3bb3521 --- /dev/null +++ b/api/_content/cache.1687082698783.json @@ -0,0 +1 @@ +{"generatedAt":1687082734668,"generateTime":8,"contents":[{"_path":"/","_dir":"","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Home","description":"","navigation":false,"layout":"page","main":{"fluid":false},"body":{"type":"root","children":[{"type":"element","tag":"ellipsis","props":{"blur":"150px","right":"0px","width":"75%"},"children":[]},{"type":"element","tag":"block-hero","props":{":cta":"[\"Get started\",\"/getting-started/setup\"]",":secondary":"[\"Open on GitHub →\",\"https://github.com/arashsheyda/nuxt-mongoose\"]"},"children":[{"type":"element","tag":"template","props":{"v-slot:title":""},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Nuxt "},{"type":"element","tag":"span","props":{"style":"color: var(--color-primary-500)"},"children":[{"type":"text","value":"Mongoose"}]}]}]},{"type":"element","tag":"template","props":{"v-slot:description":""},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A Nuxt module for simplifying the use of "},{"type":"element","tag":"a","props":{"href":"https://mongoosejs.com/","rel":["nofollow"]},"children":[{"type":"text","value":"Mongoose"}]},{"type":"text","value":" in your project."}]}]},{"type":"element","tag":"template","props":{"v-slot:support":""},"children":[{"type":"element","tag":"terminal","props":{":content":"[\"npm i nuxt-mongoose -D\"]"},"children":[]}]}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:0.index.md","_source":"content","_file":"0.index.md","_extension":"md"},{"_path":"/getting-started/_dir","_dir":"getting-started","_draft":false,"_partial":true,"_locale":"","icon":"tabler:brand-mongodb","navigation":{"redirect":"/getting-started/setup"},"_id":"content:1.getting-started:_dir.yml","_type":"yaml","title":"Dir","_source":"content","_file":"1.getting-started/_dir.yml","_extension":"yml"},{"_path":"/getting-started/setup","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Setup","description":"A Nuxt module for simplifying the use of Mongoose in your project.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"setup"},"children":[{"type":"text","value":"Setup"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A Nuxt module for simplifying the use of Mongoose in your project."}]},{"type":"element","tag":"h2","props":{"id":"installation"},"children":[{"type":"text","value":"Installation"}]},{"type":"element","tag":"ol","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Install "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to your dependencies."}]}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"pnpm add nuxt-mongoose -D\n","filename":"pnpm","language":"bash","meta":"[pnpm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"pnpm"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a0d5e7"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"npm install nuxt-mongoose -D\n","filename":"npm","language":"bash","meta":"[npm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"install"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a0d5e7"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"yarn add nuxt-mongoose -D\n","filename":"yarn","language":"bash","meta":"[yarn]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"yarn"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a0d5e7"},"children":[{"type":"text","value":"-D"}]}]}]}]}]}]},{"type":"element","tag":"ol","props":{"start":2},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modules"}]},{"type":"text","value":" section of your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file."}]}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n modules: [\n 'nuxt-mongoose',\n ],\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-6cc28b"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":"modules: [\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"'nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" ]"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"alert","props":{"type":"success"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"That's it! You can now use Mongoose in your Nuxt app ✨"}]}]},{"type":"element","tag":"h2","props":{"id":"options"},"children":[{"type":"text","value":"Options"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure the module by adding a "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" section to your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file.\nread more about "},{"type":"element","tag":"a","props":{"href":"/getting-started/configuration"},"children":[{"type":"text","value":"Mongoose options"}]},{"type":"text","value":"."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n // Options\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-6cc28b"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-020ce8"},"children":[{"type":"text","value":"// Options\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you want to configure only the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]},{"type":"text","value":" just add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"MONGODB_URI"}]},{"type":"text","value":" in your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file."}]},{"type":"element","tag":"code","props":{"code":"MONGODB_URI=YOUR_MONGO_URI\n","language":"env","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"MONGODB_URI=YOUR_MONGO_URI"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-020ce8{color:#6E7781}\n.ct-6cc28b{color:#8250DF}\n.ct-1b7447{color:#CF222E}\n.ct-a0d5e7{color:#0550AE}\n.ct-47e84e{color:#0A3069}\n.ct-3be1d1{color:#24292F}\n.ct-5c99d8{color:#953800}\n.dark .ct-5c99d8{color:#FFA657}\n.dark .ct-3be1d1{color:#C9D1D9}\n.dark .ct-47e84e{color:#A5D6FF}\n.dark .ct-a0d5e7{color:#79C0FF}\n.dark .ct-1b7447{color:#FF7B72}\n.dark .ct-6cc28b{color:#D2A8FF}\n.dark .ct-020ce8{color:#8B949E}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"installation","depth":2,"text":"Installation"},{"id":"options","depth":2,"text":"Options"}]}},"_type":"markdown","_id":"content:1.getting-started:1.setup.md","_source":"content","_file":"1.getting-started/1.setup.md","_extension":"md"},{"_path":"/getting-started/configuration","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Configuration","description":"Configure Nuxt Mongoose with the mongoose property.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"configuration"},"children":[{"type":"text","value":"Configuration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Configure Nuxt Mongoose with the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" property."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n uri: 'process.env.MONGODB_URI',\n options: {},\n modelsDir: 'models',\n devtools: true,\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-1059e8"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-1059e8"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a65418"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" uri: "}]},{"type":"element","tag":"span","props":{"class":"ct-c14457"},"children":[{"type":"text","value":"'process.env.MONGODB_URI'"}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" options: {},\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" modelsDir: "}]},{"type":"element","tag":"span","props":{"class":"ct-c14457"},"children":[{"type":"text","value":"'models'"}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" devtools: "}]},{"type":"element","tag":"span","props":{"class":"ct-8d4235"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"table","props":{},"children":[{"type":"element","tag":"thead","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Key"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Type"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Default"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Description"}]}]}]}]},{"type":"element","tag":"tbody","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"process.env.MONGODB_URI"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Uri String"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"options"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"ConnectOptions"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"{ }"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Options"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modelsDir"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"models"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"The models(schema) directory located in "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"server"}]},{"type":"text","value":" for auto-import"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"devtools"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"boolean"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Enable Mongoose module in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/devtools","rel":["nofollow"]},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Nuxt Devtools"}]}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-8d4235{color:#0550AE}\n.ct-c14457{color:#0A3069}\n.ct-b07d4d{color:#24292F}\n.ct-a65418{color:#8250DF}\n.ct-c9f819{color:#953800}\n.ct-1059e8{color:#CF222E}\n.dark .ct-1059e8{color:#FF7B72}\n.dark .ct-c9f819{color:#FFA657}\n.dark .ct-a65418{color:#D2A8FF}\n.dark .ct-b07d4d{color:#C9D1D9}\n.dark .ct-c14457{color:#A5D6FF}\n.dark .ct-8d4235{color:#79C0FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:1.getting-started:3.configuration.md","_source":"content","_file":"1.getting-started/3.configuration.md","_extension":"md"},{"_path":"/api/_dir","_dir":"api","_draft":false,"_partial":true,"_locale":"","title":"API","icon":"tabler:book","_id":"content:2.api:_dir.yml","_type":"yaml","_source":"content","_file":"2.api/_dir.yml","_extension":"yml"},{"_path":"/api/utils","_dir":"api","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Utils","description":"Discover all available utils.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"utils"},"children":[{"type":"text","value":"Utils"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Discover all available utils."}]},{"type":"element","tag":"h2","props":{"id":"definemongoosemodel"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseModel"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose model with schema. Example usage:"}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"export const User = defineMongooseModel({\n name: 'User',\n schema: {\n name: {\n type: String,\n required: true,\n },\n },\n options: {\n\n },\n})\n","filename":"named parameters","language":"ts","meta":"[named parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-17ea1e"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" name: "}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" schema: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" options: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseModel } from '#nuxt/mongoose'\n\nexport const User = defineMongooseModel('User', {\n name: {\n type: String,\n required: true,\n },\n}, {\n\n})\n","filename":"positional parameters","language":"ts","meta":"[positional parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" { defineMongooseModel } "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-17ea1e"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":", {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"}, {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"})"}]}]}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"definemongooseconnection"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseConnection"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose connection."}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" provides a default connection for you, it auto-register a plugin in nitro, so you don't need to use this function unless you want to create a new connection. more info "},{"type":"element","tag":"a","props":{"href":"https://github.com/arashsheyda/nuxt-mongoose/blob/main/src/runtime/server/plugins/mongoose.db.ts","rel":["nofollow"]},"children":[{"type":"text","value":"here"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Example usage:"}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseConnection } from '#nuxt/mongoose'\n\nexport const connection = defineMongooseConnection('mongodb://127.0.0.1/nuxt-mongoose')\n","language":"ts","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" { defineMongooseConnection } "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"connection"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-17ea1e"},"children":[{"type":"text","value":"defineMongooseConnection"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'mongodb://127.0.0.1/nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":")"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-4a653e{color:#0A3069}\n.ct-17ea1e{color:#8250DF}\n.ct-40e85d{color:#0550AE}\n.ct-685cf2{color:#24292F}\n.ct-aac181{color:#CF222E}\n.dark .ct-aac181{color:#FF7B72}\n.dark .ct-685cf2{color:#C9D1D9}\n.dark .ct-40e85d{color:#79C0FF}\n.dark .ct-17ea1e{color:#D2A8FF}\n.dark .ct-4a653e{color:#A5D6FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"definemongoosemodel","depth":2,"text":"defineMongooseModel"},{"id":"definemongooseconnection","depth":2,"text":"defineMongooseConnection"}]}},"_type":"markdown","_id":"content:2.api:1.utils.md","_source":"content","_file":"2.api/1.utils.md","_extension":"md"},{"_path":"/api/devtools","_dir":"api","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Devtools (beta)","description":"nuxt-mongoose comes with a Nuxt Devtools module that allows you to manage your collections and generate api-endpoints & schemas...","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"devtools-beta"},"children":[{"type":"text","value":"Devtools (beta)"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" comes with a "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/devtools","rel":["nofollow"]},"children":[{"type":"text","value":"Nuxt Devtools"}]},{"type":"text","value":" module that allows you to manage your collections and generate api-endpoints & schemas..."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Here is a demo video:"}]},{"type":"element","tag":"video-player","props":{"src":"https://www.youtube.com/watch?v=hK0npSfr_Vs"},"children":[]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:2.api:2.devtools.md","_source":"content","_file":"2.api/2.devtools.md","_extension":"md"}],"navigation":[{"title":"Getting Started","_path":"/getting-started","children":[{"title":"Setup","_path":"/getting-started/setup"},{"title":"Configuration","_path":"/getting-started/configuration"}],"icon":"tabler:brand-mongodb","redirect":"/getting-started/setup"},{"title":"API","_path":"/api","children":[{"title":"Utils","_path":"/api/utils"},{"title":"Devtools (beta)","_path":"/api/devtools"}],"icon":"tabler:book"}]} \ No newline at end of file diff --git a/api/_content/navigation/u7BbTyuhiE.1687082481087.json b/api/_content/navigation/u7BbTyuhiE.1687082698783.json similarity index 100% rename from api/_content/navigation/u7BbTyuhiE.1687082481087.json rename to api/_content/navigation/u7BbTyuhiE.1687082698783.json diff --git a/api/_content/query/ESs0FnB4WF.1687082481087.json b/api/_content/query/ESs0FnB4WF.1687082698783.json similarity index 100% rename from api/_content/query/ESs0FnB4WF.1687082481087.json rename to api/_content/query/ESs0FnB4WF.1687082698783.json diff --git a/api/_content/query/VvGAWv4HRl.1687082481087.json b/api/_content/query/VvGAWv4HRl.1687082698783.json similarity index 100% rename from api/_content/query/VvGAWv4HRl.1687082481087.json rename to api/_content/query/VvGAWv4HRl.1687082698783.json diff --git a/api/_content/query/XBhGGyCXGR.1687082481087.json b/api/_content/query/XBhGGyCXGR.1687082698783.json similarity index 67% rename from api/_content/query/XBhGGyCXGR.1687082481087.json rename to api/_content/query/XBhGGyCXGR.1687082698783.json index 70a2752..054ae5d 100644 --- a/api/_content/query/XBhGGyCXGR.1687082481087.json +++ b/api/_content/query/XBhGGyCXGR.1687082698783.json @@ -1 +1 @@ -{"_path":"/getting-started/setup","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Setup","description":"A Nuxt module for simplifying the use of Mongoose in your project.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"setup"},"children":[{"type":"text","value":"Setup"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A Nuxt module for simplifying the use of Mongoose in your project."}]},{"type":"element","tag":"h2","props":{"id":"installation"},"children":[{"type":"text","value":"Installation"}]},{"type":"element","tag":"ol","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Install "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to your dependencies."}]}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"pnpm add nuxt-mongoose -D\n","filename":"pnpm","language":"bash","meta":"[pnpm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"pnpm"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-13922b"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"npm install nuxt-mongoose -D\n","filename":"npm","language":"bash","meta":"[npm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"install"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-13922b"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"yarn add nuxt-mongoose -D\n","filename":"yarn","language":"bash","meta":"[yarn]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"yarn"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-13922b"},"children":[{"type":"text","value":"-D"}]}]}]}]}]}]},{"type":"element","tag":"ol","props":{"start":2},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modules"}]},{"type":"text","value":" section of your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file."}]}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n modules: [\n 'nuxt-mongoose',\n ],\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-412868"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":"modules: [\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b6a40e"},"children":[{"type":"text","value":"'nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" ]"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"alert","props":{"type":"success"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"That's it! You can now use Mongoose in your Nuxt app ✨"}]}]},{"type":"element","tag":"h2","props":{"id":"options"},"children":[{"type":"text","value":"Options"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure the module by adding a "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" section to your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file.\nread more about "},{"type":"element","tag":"a","props":{"href":"/getting-started/configuration"},"children":[{"type":"text","value":"Mongoose options"}]},{"type":"text","value":"."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n // Options\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-45754d"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-412868"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-f77d01"},"children":[{"type":"text","value":"// Options\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-095ef2"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-f7a761"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you want to configure only the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]},{"type":"text","value":" just add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"MONGODB_URI"}]},{"type":"text","value":" in your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file."}]},{"type":"element","tag":"code","props":{"code":"MONGODB_URI=YOUR_MONGO_URI\n","language":"env","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"MONGODB_URI=YOUR_MONGO_URI"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-f77d01{color:#6E7781}\n.ct-412868{color:#8250DF}\n.ct-45754d{color:#CF222E}\n.ct-13922b{color:#0550AE}\n.ct-b6a40e{color:#0A3069}\n.ct-095ef2{color:#24292F}\n.ct-f7a761{color:#953800}\n.dark .ct-f7a761{color:#FFA657}\n.dark .ct-095ef2{color:#C9D1D9}\n.dark .ct-b6a40e{color:#A5D6FF}\n.dark .ct-13922b{color:#79C0FF}\n.dark .ct-45754d{color:#FF7B72}\n.dark .ct-412868{color:#D2A8FF}\n.dark .ct-f77d01{color:#8B949E}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"installation","depth":2,"text":"Installation"},{"id":"options","depth":2,"text":"Options"}]}},"_type":"markdown","_id":"content:1.getting-started:1.setup.md","_source":"content","_file":"1.getting-started/1.setup.md","_extension":"md"} \ No newline at end of file +{"_path":"/getting-started/setup","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Setup","description":"A Nuxt module for simplifying the use of Mongoose in your project.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"setup"},"children":[{"type":"text","value":"Setup"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"A Nuxt module for simplifying the use of Mongoose in your project."}]},{"type":"element","tag":"h2","props":{"id":"installation"},"children":[{"type":"text","value":"Installation"}]},{"type":"element","tag":"ol","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Install "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to your dependencies."}]}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"pnpm add nuxt-mongoose -D\n","filename":"pnpm","language":"bash","meta":"[pnpm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"pnpm"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a0d5e7"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"npm install nuxt-mongoose -D\n","filename":"npm","language":"bash","meta":"[npm]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"npm"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"install"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a0d5e7"},"children":[{"type":"text","value":"-D"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"yarn add nuxt-mongoose -D\n","filename":"yarn","language":"bash","meta":"[yarn]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"yarn"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"add"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a0d5e7"},"children":[{"type":"text","value":"-D"}]}]}]}]}]}]},{"type":"element","tag":"ol","props":{"start":2},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"text","value":"Add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" to the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modules"}]},{"type":"text","value":" section of your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file."}]}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n modules: [\n 'nuxt-mongoose',\n ],\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-6cc28b"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":"modules: [\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-47e84e"},"children":[{"type":"text","value":"'nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" ]"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"alert","props":{"type":"success"},"children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"That's it! You can now use Mongoose in your Nuxt app ✨"}]}]},{"type":"element","tag":"h2","props":{"id":"options"},"children":[{"type":"text","value":"Options"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can configure the module by adding a "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" section to your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt.config"}]},{"type":"text","value":" file.\nread more about "},{"type":"element","tag":"a","props":{"href":"/getting-started/configuration"},"children":[{"type":"text","value":"Mongoose options"}]},{"type":"text","value":"."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n // Options\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-1b7447"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-6cc28b"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-020ce8"},"children":[{"type":"text","value":"// Options\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-3be1d1"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-5c99d8"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"If you want to configure only the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]},{"type":"text","value":" just add "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"MONGODB_URI"}]},{"type":"text","value":" in your "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":".env"}]},{"type":"text","value":" file."}]},{"type":"element","tag":"code","props":{"code":"MONGODB_URI=YOUR_MONGO_URI\n","language":"env","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"MONGODB_URI=YOUR_MONGO_URI"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-020ce8{color:#6E7781}\n.ct-6cc28b{color:#8250DF}\n.ct-1b7447{color:#CF222E}\n.ct-a0d5e7{color:#0550AE}\n.ct-47e84e{color:#0A3069}\n.ct-3be1d1{color:#24292F}\n.ct-5c99d8{color:#953800}\n.dark .ct-5c99d8{color:#FFA657}\n.dark .ct-3be1d1{color:#C9D1D9}\n.dark .ct-47e84e{color:#A5D6FF}\n.dark .ct-a0d5e7{color:#79C0FF}\n.dark .ct-1b7447{color:#FF7B72}\n.dark .ct-6cc28b{color:#D2A8FF}\n.dark .ct-020ce8{color:#8B949E}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"installation","depth":2,"text":"Installation"},{"id":"options","depth":2,"text":"Options"}]}},"_type":"markdown","_id":"content:1.getting-started:1.setup.md","_source":"content","_file":"1.getting-started/1.setup.md","_extension":"md"} \ No newline at end of file diff --git a/api/_content/query/XtgCGvT2xN.1687082481087.json b/api/_content/query/XtgCGvT2xN.1687082698783.json similarity index 100% rename from api/_content/query/XtgCGvT2xN.1687082481087.json rename to api/_content/query/XtgCGvT2xN.1687082698783.json diff --git a/api/_content/query/YIMd7yQcGd.1687082481087.json b/api/_content/query/YIMd7yQcGd.1687082698783.json similarity index 100% rename from api/_content/query/YIMd7yQcGd.1687082481087.json rename to api/_content/query/YIMd7yQcGd.1687082698783.json diff --git a/api/_content/query/brX4CwCJoQ.1687082481087.json b/api/_content/query/brX4CwCJoQ.1687082698783.json similarity index 100% rename from api/_content/query/brX4CwCJoQ.1687082481087.json rename to api/_content/query/brX4CwCJoQ.1687082698783.json diff --git a/api/_content/query/g9pY1CqBBn.1687082481087.json b/api/_content/query/g9pY1CqBBn.1687082698783.json similarity index 79% rename from api/_content/query/g9pY1CqBBn.1687082481087.json rename to api/_content/query/g9pY1CqBBn.1687082698783.json index b3cd2f0..d62b131 100644 --- a/api/_content/query/g9pY1CqBBn.1687082481087.json +++ b/api/_content/query/g9pY1CqBBn.1687082698783.json @@ -1 +1 @@ -{"_path":"/getting-started/configuration","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Configuration","description":"Configure Nuxt Mongoose with the mongoose property.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"configuration"},"children":[{"type":"text","value":"Configuration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Configure Nuxt Mongoose with the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" property."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n uri: 'process.env.MONGODB_URI',\n options: {},\n modelsDir: 'models',\n devtools: true,\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-e521a6"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e521a6"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b76b4f"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" uri: "}]},{"type":"element","tag":"span","props":{"class":"ct-3de136"},"children":[{"type":"text","value":"'process.env.MONGODB_URI'"}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" options: {},\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" modelsDir: "}]},{"type":"element","tag":"span","props":{"class":"ct-3de136"},"children":[{"type":"text","value":"'models'"}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" devtools: "}]},{"type":"element","tag":"span","props":{"class":"ct-c0c2b4"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-e3cc29"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-82d5bd"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"table","props":{},"children":[{"type":"element","tag":"thead","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Key"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Type"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Default"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Description"}]}]}]}]},{"type":"element","tag":"tbody","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"process.env.MONGODB_URI"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Uri String"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"options"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"ConnectOptions"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"{ }"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Options"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modelsDir"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"models"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"The models(schema) directory located in "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"server"}]},{"type":"text","value":" for auto-import"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"devtools"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"boolean"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Enable Mongoose module in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/devtools","rel":["nofollow"]},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Nuxt Devtools"}]}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-c0c2b4{color:#0550AE}\n.ct-3de136{color:#0A3069}\n.ct-e3cc29{color:#24292F}\n.ct-b76b4f{color:#8250DF}\n.ct-82d5bd{color:#953800}\n.ct-e521a6{color:#CF222E}\n.dark .ct-e521a6{color:#FF7B72}\n.dark .ct-82d5bd{color:#FFA657}\n.dark .ct-b76b4f{color:#D2A8FF}\n.dark .ct-e3cc29{color:#C9D1D9}\n.dark .ct-3de136{color:#A5D6FF}\n.dark .ct-c0c2b4{color:#79C0FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:1.getting-started:3.configuration.md","_source":"content","_file":"1.getting-started/3.configuration.md","_extension":"md"} \ No newline at end of file +{"_path":"/getting-started/configuration","_dir":"getting-started","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Configuration","description":"Configure Nuxt Mongoose with the mongoose property.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"configuration"},"children":[{"type":"text","value":"Configuration"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Configure Nuxt Mongoose with the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"mongoose"}]},{"type":"text","value":" property."}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n mongoose: {\n uri: 'process.env.MONGODB_URI',\n options: {},\n modelsDir: 'models',\n devtools: true,\n },\n})\n","filename":"nuxt.config","language":"ts","meta":"[nuxt.config]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-1059e8"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-1059e8"},"children":[{"type":"text","value":"default"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-a65418"},"children":[{"type":"text","value":"defineNuxtConfig"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":"mongoose: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" uri: "}]},{"type":"element","tag":"span","props":{"class":"ct-c14457"},"children":[{"type":"text","value":"'process.env.MONGODB_URI'"}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" options: {},\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" modelsDir: "}]},{"type":"element","tag":"span","props":{"class":"ct-c14457"},"children":[{"type":"text","value":"'models'"}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" devtools: "}]},{"type":"element","tag":"span","props":{"class":"ct-8d4235"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-b07d4d"},"children":[{"type":"text","value":" }"}]},{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-c9f819"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"table","props":{},"children":[{"type":"element","tag":"thead","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Key"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Type"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Default"}]}]},{"type":"element","tag":"th","props":{"align":null},"children":[{"type":"element","tag":"strong","props":{},"children":[{"type":"text","value":"Description"}]}]}]}]},{"type":"element","tag":"tbody","props":{},"children":[{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"uri"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"process.env.MONGODB_URI"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Uri String"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"options"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"ConnectOptions"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"{ }"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Connection Options"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"modelsDir"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"string"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"models"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"The models(schema) directory located in "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"server"}]},{"type":"text","value":" for auto-import"}]}]},{"type":"element","tag":"tr","props":{},"children":[{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"devtools"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"boolean"}]}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"td","props":{"align":null},"children":[{"type":"text","value":"Enable Mongoose module in "},{"type":"element","tag":"a","props":{"href":"https://github.com/nuxt/devtools","rel":["nofollow"]},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"Nuxt Devtools"}]}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-8d4235{color:#0550AE}\n.ct-c14457{color:#0A3069}\n.ct-b07d4d{color:#24292F}\n.ct-a65418{color:#8250DF}\n.ct-c9f819{color:#953800}\n.ct-1059e8{color:#CF222E}\n.dark .ct-1059e8{color:#FF7B72}\n.dark .ct-c9f819{color:#FFA657}\n.dark .ct-a65418{color:#D2A8FF}\n.dark .ct-b07d4d{color:#C9D1D9}\n.dark .ct-c14457{color:#A5D6FF}\n.dark .ct-8d4235{color:#79C0FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[]}},"_type":"markdown","_id":"content:1.getting-started:3.configuration.md","_source":"content","_file":"1.getting-started/3.configuration.md","_extension":"md"} \ No newline at end of file diff --git a/api/_content/query/kM9p24TYPU.1687082481087.json b/api/_content/query/kM9p24TYPU.1687082698783.json similarity index 61% rename from api/_content/query/kM9p24TYPU.1687082481087.json rename to api/_content/query/kM9p24TYPU.1687082698783.json index d9ecb27..ec39d60 100644 --- a/api/_content/query/kM9p24TYPU.1687082481087.json +++ b/api/_content/query/kM9p24TYPU.1687082698783.json @@ -1 +1 @@ -{"_path":"/api/utils","_dir":"api","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Utils","description":"Discover all available utils.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"utils"},"children":[{"type":"text","value":"Utils"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Discover all available utils."}]},{"type":"element","tag":"h2","props":{"id":"definemongoosemodel"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseModel"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose model with schema. Example usage:"}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"export const User = defineMongooseModel({\n name: 'User',\n schema: {\n name: {\n type: String,\n required: true,\n },\n },\n options: {\n\n },\n})\n","filename":"named parameters","language":"ts","meta":"[named parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e5bca9"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" name: "}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" schema: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" options: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseModel } from '#nuxt/mongoose'\n\nexport const User = defineMongooseModel('User', {\n name: {\n type: String,\n required: true,\n },\n}, {\n\n})\n","filename":"positional parameters","language":"ts","meta":"[positional parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" { defineMongooseModel } "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e5bca9"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":", {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"}, {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"})"}]}]}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"definemongooseconnection"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseConnection"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose connection."}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" provides a default connection for you, it auto-register a plugin in nitro, so you don't need to use this function unless you want to create a new connection. more info "},{"type":"element","tag":"a","props":{"href":"https://github.com/arashsheyda/nuxt-mongoose/blob/main/src/runtime/server/plugins/mongoose.db.ts","rel":["nofollow"]},"children":[{"type":"text","value":"here"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Example usage:"}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseConnection } from '#nuxt/mongoose'\n\nexport const connection = defineMongooseConnection('mongodb://127.0.0.1/nuxt-mongoose')\n","language":"ts","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" { defineMongooseConnection } "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-8d68c6"},"children":[{"type":"text","value":"connection"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-3d3407"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-e5bca9"},"children":[{"type":"text","value":"defineMongooseConnection"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-20c980"},"children":[{"type":"text","value":"'mongodb://127.0.0.1/nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-d000e0"},"children":[{"type":"text","value":")"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-20c980{color:#0A3069}\n.ct-e5bca9{color:#8250DF}\n.ct-8d68c6{color:#0550AE}\n.ct-d000e0{color:#24292F}\n.ct-3d3407{color:#CF222E}\n.dark .ct-3d3407{color:#FF7B72}\n.dark .ct-d000e0{color:#C9D1D9}\n.dark .ct-8d68c6{color:#79C0FF}\n.dark .ct-e5bca9{color:#D2A8FF}\n.dark .ct-20c980{color:#A5D6FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"definemongoosemodel","depth":2,"text":"defineMongooseModel"},{"id":"definemongooseconnection","depth":2,"text":"defineMongooseConnection"}]}},"_type":"markdown","_id":"content:2.api:1.utils.md","_source":"content","_file":"2.api/1.utils.md","_extension":"md"} \ No newline at end of file +{"_path":"/api/utils","_dir":"api","_draft":false,"_partial":false,"_locale":"","_empty":false,"title":"Utils","description":"Discover all available utils.","body":{"type":"root","children":[{"type":"element","tag":"h1","props":{"id":"utils"},"children":[{"type":"text","value":"Utils"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Discover all available utils."}]},{"type":"element","tag":"h2","props":{"id":"definemongoosemodel"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseModel"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose model with schema. Example usage:"}]},{"type":"element","tag":"code-group","props":{},"children":[{"type":"element","tag":"code","props":{"code":"export const User = defineMongooseModel({\n name: 'User',\n schema: {\n name: {\n type: String,\n required: true,\n },\n },\n options: {\n\n },\n})\n","filename":"named parameters","language":"ts","meta":"[named parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-17ea1e"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"({\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" name: "}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" schema: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" options: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":11},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":12},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"})"}]}]}]}]}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseModel } from '#nuxt/mongoose'\n\nexport const User = defineMongooseModel('User', {\n name: {\n type: String,\n required: true,\n },\n}, {\n\n})\n","filename":"positional parameters","language":"ts","meta":"[positional parameters]"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" { defineMongooseModel } "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"User"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-17ea1e"},"children":[{"type":"text","value":"defineMongooseModel"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'User'"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":", {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":4},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" name: {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":5},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" type: String,\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":6},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" required: "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"true"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":",\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":7},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" },\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":8},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"}, {\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":9},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":10},"children":[{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"})"}]}]}]}]}]}]},{"type":"element","tag":"h2","props":{"id":"definemongooseconnection"},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"defineMongooseConnection"}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"This function creates a new Mongoose connection."}]},{"type":"element","tag":"ul","props":{},"children":[{"type":"element","tag":"li","props":{},"children":[{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-mongoose"}]},{"type":"text","value":" provides a default connection for you, it auto-register a plugin in nitro, so you don't need to use this function unless you want to create a new connection. more info "},{"type":"element","tag":"a","props":{"href":"https://github.com/arashsheyda/nuxt-mongoose/blob/main/src/runtime/server/plugins/mongoose.db.ts","rel":["nofollow"]},"children":[{"type":"text","value":"here"}]},{"type":"text","value":"."}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Example usage:"}]},{"type":"element","tag":"code","props":{"code":"import { defineMongooseConnection } from '#nuxt/mongoose'\n\nexport const connection = defineMongooseConnection('mongodb://127.0.0.1/nuxt-mongoose')\n","language":"ts","meta":null},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"element","tag":"span","props":{"class":"line","line":1},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"import"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" { defineMongooseConnection } "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"from"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'#nuxt/mongoose'\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":2},"children":[{"type":"element","tag":"span","props":{},"children":[{"type":"text","value":"\n"}]}]},{"type":"element","tag":"span","props":{"class":"line","line":3},"children":[{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"export"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"const"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-40e85d"},"children":[{"type":"text","value":"connection"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-aac181"},"children":[{"type":"text","value":"="}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":" "}]},{"type":"element","tag":"span","props":{"class":"ct-17ea1e"},"children":[{"type":"text","value":"defineMongooseConnection"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":"("}]},{"type":"element","tag":"span","props":{"class":"ct-4a653e"},"children":[{"type":"text","value":"'mongodb://127.0.0.1/nuxt-mongoose'"}]},{"type":"element","tag":"span","props":{"class":"ct-685cf2"},"children":[{"type":"text","value":")"}]}]}]}]}]},{"type":"element","tag":"style","children":[{"type":"text","value":".ct-4a653e{color:#0A3069}\n.ct-17ea1e{color:#8250DF}\n.ct-40e85d{color:#0550AE}\n.ct-685cf2{color:#24292F}\n.ct-aac181{color:#CF222E}\n.dark .ct-aac181{color:#FF7B72}\n.dark .ct-685cf2{color:#C9D1D9}\n.dark .ct-40e85d{color:#79C0FF}\n.dark .ct-17ea1e{color:#D2A8FF}\n.dark .ct-4a653e{color:#A5D6FF}"}]}],"toc":{"title":"","searchDepth":2,"depth":2,"links":[{"id":"definemongoosemodel","depth":2,"text":"defineMongooseModel"},{"id":"definemongooseconnection","depth":2,"text":"defineMongooseConnection"}]}},"_type":"markdown","_id":"content:2.api:1.utils.md","_source":"content","_file":"2.api/1.utils.md","_extension":"md"} \ No newline at end of file diff --git a/api/_content/query/nEPUGZ7imQ.1687082481087.json b/api/_content/query/nEPUGZ7imQ.1687082698783.json similarity index 100% rename from api/_content/query/nEPUGZ7imQ.1687082481087.json rename to api/_content/query/nEPUGZ7imQ.1687082698783.json diff --git a/api/_content/query/xWeY3NfYtX.1687082481087.json b/api/_content/query/xWeY3NfYtX.1687082698783.json similarity index 100% rename from api/_content/query/xWeY3NfYtX.1687082481087.json rename to api/_content/query/xWeY3NfYtX.1687082698783.json diff --git a/api/devtools/index.html b/api/devtools/index.html index 8914004..d08d3a8 100644 --- a/api/devtools/index.html +++ b/api/devtools/index.html @@ -3,11 +3,12 @@ Devtools (beta) · Nuxt Mongoose + - -
+
\ No newline at end of file diff --git a/api/utils/index.html b/api/utils/index.html index 87cee6d..399ef90 100644 --- a/api/utils/index.html +++ b/api/utils/index.html @@ -3,42 +3,43 @@ Utils · Nuxt Mongoose + - -

Utils

Discover all available utils.

defineMongooseModel

This function creates a new Mongoose model with schema. Example usage:

named parameters
export const User = defineMongooseModel({
-  name: 'User',
-  schema: {
-    name: {
-      type: String,
-      required: true,
-    },
-  },
-  options: {
+

Utils

Discover all available utils.

defineMongooseModel

This function creates a new Mongoose model with schema. Example usage:

named parameters
export const User = defineMongooseModel({
+  name: 'User',
+  schema: {
+    name: {
+      type: String,
+      required: true,
+    },
+  },
+  options: {
 
-  },
-})
positional parameters
import { defineMongooseModel } from '#nuxt/mongoose'
+  },
+})
positional parameters
import { defineMongooseModel } from '#nuxt/mongoose'
 
-export const User = defineMongooseModel('User', {
-  name: {
-    type: String,
-    required: true,
-  },
-}, {
+export const User = defineMongooseModel('User', {
+  name: {
+    type: String,
+    required: true,
+  },
+}, {
 
-})

defineMongooseConnection

This function creates a new Mongoose connection.

  • nuxt-mongoose provides a default connection for you, it auto-register a plugin in nitro, so you don't need to use this function unless you want to create a new connection. more info here.

Example usage:

import { defineMongooseConnection } from '#nuxt/mongoose'
+})

defineMongooseConnection

This function creates a new Mongoose connection.

  • nuxt-mongoose provides a default connection for you, it auto-register a plugin in nitro, so you don't need to use this function unless you want to create a new connection. more info here.

Example usage:

import { defineMongooseConnection } from '#nuxt/mongoose'
 
-export const connection = defineMongooseConnection('mongodb://127.0.0.1/nuxt-mongoose')
+export const connection = defineMongooseConnection('mongodb://127.0.0.1/nuxt-mongoose')
\ No newline at end of file diff --git a/getting-started/configuration/index.html b/getting-started/configuration/index.html index dee1bbc..032c6b3 100644 --- a/getting-started/configuration/index.html +++ b/getting-started/configuration/index.html @@ -3,29 +3,30 @@ Configuration · Nuxt Mongoose + - -

Configuration

Configure Nuxt Mongoose with the mongoose property.

nuxt.config
export default defineNuxtConfig({
-  mongoose: {
-    uri: 'process.env.MONGODB_URI',
-    options: {},
-    modelsDir: 'models',
-    devtools: true,
-  },
-})
KeyTypeDefaultDescription
uristringprocess.env.MONGODB_URIConnection Uri String
optionsConnectOptions{ }Connection Options
modelsDirstringmodelsThe models(schema) directory located in server for auto-import
devtoolsbooleantrueEnable Mongoose module in Nuxt Devtools
+

Configuration

Configure Nuxt Mongoose with the mongoose property.

nuxt.config
export default defineNuxtConfig({
+  mongoose: {
+    uri: 'process.env.MONGODB_URI',
+    options: {},
+    modelsDir: 'models',
+    devtools: true,
+  },
+})
KeyTypeDefaultDescription
uristringprocess.env.MONGODB_URIConnection Uri String
optionsConnectOptions{ }Connection Options
modelsDirstringmodelsThe models(schema) directory located in server for auto-import
devtoolsbooleantrueEnable Mongoose module in Nuxt Devtools
\ No newline at end of file diff --git a/getting-started/setup/index.html b/getting-started/setup/index.html index d01e892..b3809a8 100644 --- a/getting-started/setup/index.html +++ b/getting-started/setup/index.html @@ -3,33 +3,34 @@ Setup · Nuxt Mongoose + - -

Setup

A Nuxt module for simplifying the use of Mongoose in your project.

Installation

  1. Install nuxt-mongoose to your dependencies.
pnpm
pnpm add nuxt-mongoose -D
npm
npm install nuxt-mongoose -D
yarn
yarn add nuxt-mongoose -D
  1. Add nuxt-mongoose to the modules section of your nuxt.config file.
nuxt.config
export default defineNuxtConfig({
-  modules: [
-    'nuxt-mongoose',
-  ],
-})
That's it! You can now use Mongoose in your Nuxt app ✨

Options

You can configure the module by adding a mongoose section to your nuxt.config file. -read more about Mongoose options.

nuxt.config
export default defineNuxtConfig({
-  mongoose: {
-    // Options
-  },
-})

If you want to configure only the uri just add MONGODB_URI in your .env file.

MONGODB_URI=YOUR_MONGO_URI
Table of Contents
+

Setup

A Nuxt module for simplifying the use of Mongoose in your project.

Installation

  1. Install nuxt-mongoose to your dependencies.
pnpm
pnpm add nuxt-mongoose -D
npm
npm install nuxt-mongoose -D
yarn
yarn add nuxt-mongoose -D
  1. Add nuxt-mongoose to the modules section of your nuxt.config file.
nuxt.config
export default defineNuxtConfig({
+  modules: [
+    'nuxt-mongoose',
+  ],
+})
That's it! You can now use Mongoose in your Nuxt app ✨

Options

You can configure the module by adding a mongoose section to your nuxt.config file. +read more about Mongoose options.

nuxt.config
export default defineNuxtConfig({
+  mongoose: {
+    // Options
+  },
+})

If you want to configure only the uri just add MONGODB_URI in your .env file.

MONGODB_URI=YOUR_MONGO_URI
Table of Contents
\ No newline at end of file diff --git a/index.html b/index.html index ff54868..7665466 100644 --- a/index.html +++ b/index.html @@ -3,11 +3,12 @@ Home · Nuxt Mongoose + - -
+
\ No newline at end of file