[{"data":1,"prerenderedAt":2227},["Reactive",2],{"navigation":3,"docs-/composables/use-unwrap":164,"docs-/composables/use-unwrap-surround":594},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":63,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":62,"description":168,"body":169,"_type":589,"_id":590,"_source":591,"_file":592,"_extension":593},"composables",false,"","A composable to unwrap slots, for advanced usage.",{"type":170,"children":171,"toc":587},"root",[172,201,206,581],{"type":173,"tag":174,"props":175,"children":176},"element","p",{},[177,180,193,195,199],{"type":178,"value":179},"text","It can be used to achieve a similar behavior as ",{"type":173,"tag":181,"props":182,"children":184},"a",{"href":183},"/components/content-slot#props",[185,191],{"type":173,"tag":186,"props":187,"children":188},"code",{"className":167},[189],{"type":178,"value":190},"unwrap",{"type":178,"value":192}," prop",{"type":178,"value":194}," from ",{"type":173,"tag":186,"props":196,"children":197},{"className":167},[198],{"type":178,"value":87},{"type":178,"value":200}," component.",{"type":173,"tag":174,"props":202,"children":203},{},[204],{"type":178,"value":205},"Example:",{"type":173,"tag":207,"props":208,"children":212},"pre",{"className":209,"code":210,"language":211,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst { flatUnwrap } = useUnwrap()\n\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cul>\n    \u003Cli v-for=\"(item, index) of flatUnwrap($slots.default!(), ['ul'])\" :key=\"index\">\n      ☑︎\n      \u003Cspan>\u003CContentSlot :use=\"() => item\" unwrap=\"li\" />\u003C/span>\n    \u003C/li>\n  \u003C/ul>\n\u003C/template>\n","vue",[213],{"type":173,"tag":186,"props":214,"children":215},{"__ignoreMap":167},[216,270,311,321,338,346,363,381,443,452,531,548,565],{"type":173,"tag":217,"props":218,"children":221},"span",{"class":219,"line":220},"line",1,[222,228,234,240,245,250,255,261,265],{"type":173,"tag":217,"props":223,"children":225},{"style":224},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[226],{"type":178,"value":227},"\u003C",{"type":173,"tag":217,"props":229,"children":231},{"style":230},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[232],{"type":178,"value":233},"script",{"type":173,"tag":217,"props":235,"children":237},{"style":236},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[238],{"type":178,"value":239}," setup",{"type":173,"tag":217,"props":241,"children":242},{"style":236},[243],{"type":178,"value":244}," lang",{"type":173,"tag":217,"props":246,"children":247},{"style":224},[248],{"type":178,"value":249},"=",{"type":173,"tag":217,"props":251,"children":252},{"style":224},[253],{"type":178,"value":254},"\"",{"type":173,"tag":217,"props":256,"children":258},{"style":257},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[259],{"type":178,"value":260},"ts",{"type":173,"tag":217,"props":262,"children":263},{"style":224},[264],{"type":178,"value":254},{"type":173,"tag":217,"props":266,"children":267},{"style":224},[268],{"type":178,"value":269},">\n",{"type":173,"tag":217,"props":271,"children":273},{"class":219,"line":272},2,[274,279,284,290,295,300,306],{"type":173,"tag":217,"props":275,"children":276},{"style":236},[277],{"type":178,"value":278},"const",{"type":173,"tag":217,"props":280,"children":281},{"style":224},[282],{"type":178,"value":283}," {",{"type":173,"tag":217,"props":285,"children":287},{"style":286},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[288],{"type":178,"value":289}," flatUnwrap ",{"type":173,"tag":217,"props":291,"children":292},{"style":224},[293],{"type":178,"value":294},"}",{"type":173,"tag":217,"props":296,"children":297},{"style":224},[298],{"type":178,"value":299}," =",{"type":173,"tag":217,"props":301,"children":303},{"style":302},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[304],{"type":178,"value":305}," useUnwrap",{"type":173,"tag":217,"props":307,"children":308},{"style":286},[309],{"type":178,"value":310},"()\n",{"type":173,"tag":217,"props":312,"children":314},{"class":219,"line":313},3,[315],{"type":173,"tag":217,"props":316,"children":318},{"emptyLinePlaceholder":317},true,[319],{"type":178,"value":320},"\n",{"type":173,"tag":217,"props":322,"children":324},{"class":219,"line":323},4,[325,330,334],{"type":173,"tag":217,"props":326,"children":327},{"style":224},[328],{"type":178,"value":329},"\u003C/",{"type":173,"tag":217,"props":331,"children":332},{"style":230},[333],{"type":178,"value":233},{"type":173,"tag":217,"props":335,"children":336},{"style":224},[337],{"type":178,"value":269},{"type":173,"tag":217,"props":339,"children":341},{"class":219,"line":340},5,[342],{"type":173,"tag":217,"props":343,"children":344},{"emptyLinePlaceholder":317},[345],{"type":178,"value":320},{"type":173,"tag":217,"props":347,"children":349},{"class":219,"line":348},6,[350,354,359],{"type":173,"tag":217,"props":351,"children":352},{"style":224},[353],{"type":178,"value":227},{"type":173,"tag":217,"props":355,"children":356},{"style":230},[357],{"type":178,"value":358},"template",{"type":173,"tag":217,"props":360,"children":361},{"style":224},[362],{"type":178,"value":269},{"type":173,"tag":217,"props":364,"children":366},{"class":219,"line":365},7,[367,372,377],{"type":173,"tag":217,"props":368,"children":369},{"style":224},[370],{"type":178,"value":371},"  \u003C",{"type":173,"tag":217,"props":373,"children":374},{"style":230},[375],{"type":178,"value":376},"ul",{"type":173,"tag":217,"props":378,"children":379},{"style":224},[380],{"type":178,"value":269},{"type":173,"tag":217,"props":382,"children":384},{"class":219,"line":383},8,[385,390,395,400,404,408,413,417,422,426,430,435,439],{"type":173,"tag":217,"props":386,"children":387},{"style":224},[388],{"type":178,"value":389},"    \u003C",{"type":173,"tag":217,"props":391,"children":392},{"style":230},[393],{"type":178,"value":394},"li",{"type":173,"tag":217,"props":396,"children":397},{"style":236},[398],{"type":178,"value":399}," v-for",{"type":173,"tag":217,"props":401,"children":402},{"style":224},[403],{"type":178,"value":249},{"type":173,"tag":217,"props":405,"children":406},{"style":224},[407],{"type":178,"value":254},{"type":173,"tag":217,"props":409,"children":410},{"style":257},[411],{"type":178,"value":412},"(item, index) of flatUnwrap($slots.default!(), ['ul'])",{"type":173,"tag":217,"props":414,"children":415},{"style":224},[416],{"type":178,"value":254},{"type":173,"tag":217,"props":418,"children":419},{"style":236},[420],{"type":178,"value":421}," :key",{"type":173,"tag":217,"props":423,"children":424},{"style":224},[425],{"type":178,"value":249},{"type":173,"tag":217,"props":427,"children":428},{"style":224},[429],{"type":178,"value":254},{"type":173,"tag":217,"props":431,"children":432},{"style":257},[433],{"type":178,"value":434},"index",{"type":173,"tag":217,"props":436,"children":437},{"style":224},[438],{"type":178,"value":254},{"type":173,"tag":217,"props":440,"children":441},{"style":224},[442],{"type":178,"value":269},{"type":173,"tag":217,"props":444,"children":446},{"class":219,"line":445},9,[447],{"type":173,"tag":217,"props":448,"children":449},{"style":286},[450],{"type":178,"value":451},"      ☑︎\n",{"type":173,"tag":217,"props":453,"children":455},{"class":219,"line":454},10,[456,461,465,470,475,480,484,488,493,497,502,506,510,514,518,523,527],{"type":173,"tag":217,"props":457,"children":458},{"style":224},[459],{"type":178,"value":460},"      \u003C",{"type":173,"tag":217,"props":462,"children":463},{"style":230},[464],{"type":178,"value":217},{"type":173,"tag":217,"props":466,"children":467},{"style":224},[468],{"type":178,"value":469},">\u003C",{"type":173,"tag":217,"props":471,"children":472},{"style":230},[473],{"type":178,"value":474},"ContentSlot",{"type":173,"tag":217,"props":476,"children":477},{"style":236},[478],{"type":178,"value":479}," :use",{"type":173,"tag":217,"props":481,"children":482},{"style":224},[483],{"type":178,"value":249},{"type":173,"tag":217,"props":485,"children":486},{"style":224},[487],{"type":178,"value":254},{"type":173,"tag":217,"props":489,"children":490},{"style":257},[491],{"type":178,"value":492},"() => item",{"type":173,"tag":217,"props":494,"children":495},{"style":224},[496],{"type":178,"value":254},{"type":173,"tag":217,"props":498,"children":499},{"style":236},[500],{"type":178,"value":501}," unwrap",{"type":173,"tag":217,"props":503,"children":504},{"style":224},[505],{"type":178,"value":249},{"type":173,"tag":217,"props":507,"children":508},{"style":224},[509],{"type":178,"value":254},{"type":173,"tag":217,"props":511,"children":512},{"style":257},[513],{"type":178,"value":394},{"type":173,"tag":217,"props":515,"children":516},{"style":224},[517],{"type":178,"value":254},{"type":173,"tag":217,"props":519,"children":520},{"style":224},[521],{"type":178,"value":522}," />\u003C/",{"type":173,"tag":217,"props":524,"children":525},{"style":230},[526],{"type":178,"value":217},{"type":173,"tag":217,"props":528,"children":529},{"style":224},[530],{"type":178,"value":269},{"type":173,"tag":217,"props":532,"children":534},{"class":219,"line":533},11,[535,540,544],{"type":173,"tag":217,"props":536,"children":537},{"style":224},[538],{"type":178,"value":539},"    \u003C/",{"type":173,"tag":217,"props":541,"children":542},{"style":230},[543],{"type":178,"value":394},{"type":173,"tag":217,"props":545,"children":546},{"style":224},[547],{"type":178,"value":269},{"type":173,"tag":217,"props":549,"children":551},{"class":219,"line":550},12,[552,557,561],{"type":173,"tag":217,"props":553,"children":554},{"style":224},[555],{"type":178,"value":556},"  \u003C/",{"type":173,"tag":217,"props":558,"children":559},{"style":230},[560],{"type":178,"value":376},{"type":173,"tag":217,"props":562,"children":563},{"style":224},[564],{"type":178,"value":269},{"type":173,"tag":217,"props":566,"children":568},{"class":219,"line":567},13,[569,573,577],{"type":173,"tag":217,"props":570,"children":571},{"style":224},[572],{"type":178,"value":329},{"type":173,"tag":217,"props":574,"children":575},{"style":230},[576],{"type":178,"value":358},{"type":173,"tag":217,"props":578,"children":579},{"style":224},[580],{"type":178,"value":269},{"type":173,"tag":582,"props":583,"children":584},"style",{},[585],{"type":178,"value":586},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":167,"searchDepth":272,"depth":272,"links":588},[],"markdown","content:3.composables:5.use-unwrap.md","content","3.composables/5.use-unwrap.md","md",[595,1759],{"_path":60,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":59,"description":596,"body":597,"_type":589,"_id":1757,"_source":591,"_file":1758,"_extension":593},"Helpers to interact with the navigation object.",{"type":170,"children":598,"toc":1750},[599,605,743,755,764,769,774,978,987,992,997,1229,1238,1243,1248,1475,1484,1489,1501,1746],{"type":173,"tag":600,"props":601,"children":603},"h2",{"id":602},"usage",[604],{"type":178,"value":21},{"type":173,"tag":207,"props":606,"children":608},{"className":209,"code":607,"language":211,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst {\n  navBottomLink,\n  navDirFromPath,\n  navPageFromPath,\n  navKeyFromPath\n} = useContentHelpers()\n\u003C/script>\n",[609],{"type":173,"tag":186,"props":610,"children":611},{"__ignoreMap":167},[612,651,663,676,688,700,708,728],{"type":173,"tag":217,"props":613,"children":614},{"class":219,"line":220},[615,619,623,627,631,635,639,643,647],{"type":173,"tag":217,"props":616,"children":617},{"style":224},[618],{"type":178,"value":227},{"type":173,"tag":217,"props":620,"children":621},{"style":230},[622],{"type":178,"value":233},{"type":173,"tag":217,"props":624,"children":625},{"style":236},[626],{"type":178,"value":239},{"type":173,"tag":217,"props":628,"children":629},{"style":236},[630],{"type":178,"value":244},{"type":173,"tag":217,"props":632,"children":633},{"style":224},[634],{"type":178,"value":249},{"type":173,"tag":217,"props":636,"children":637},{"style":224},[638],{"type":178,"value":254},{"type":173,"tag":217,"props":640,"children":641},{"style":257},[642],{"type":178,"value":260},{"type":173,"tag":217,"props":644,"children":645},{"style":224},[646],{"type":178,"value":254},{"type":173,"tag":217,"props":648,"children":649},{"style":224},[650],{"type":178,"value":269},{"type":173,"tag":217,"props":652,"children":653},{"class":219,"line":272},[654,658],{"type":173,"tag":217,"props":655,"children":656},{"style":236},[657],{"type":178,"value":278},{"type":173,"tag":217,"props":659,"children":660},{"style":224},[661],{"type":178,"value":662}," {\n",{"type":173,"tag":217,"props":664,"children":665},{"class":219,"line":313},[666,671],{"type":173,"tag":217,"props":667,"children":668},{"style":286},[669],{"type":178,"value":670},"  navBottomLink",{"type":173,"tag":217,"props":672,"children":673},{"style":224},[674],{"type":178,"value":675},",\n",{"type":173,"tag":217,"props":677,"children":678},{"class":219,"line":323},[679,684],{"type":173,"tag":217,"props":680,"children":681},{"style":286},[682],{"type":178,"value":683},"  navDirFromPath",{"type":173,"tag":217,"props":685,"children":686},{"style":224},[687],{"type":178,"value":675},{"type":173,"tag":217,"props":689,"children":690},{"class":219,"line":340},[691,696],{"type":173,"tag":217,"props":692,"children":693},{"style":286},[694],{"type":178,"value":695},"  navPageFromPath",{"type":173,"tag":217,"props":697,"children":698},{"style":224},[699],{"type":178,"value":675},{"type":173,"tag":217,"props":701,"children":702},{"class":219,"line":348},[703],{"type":173,"tag":217,"props":704,"children":705},{"style":286},[706],{"type":178,"value":707},"  navKeyFromPath\n",{"type":173,"tag":217,"props":709,"children":710},{"class":219,"line":365},[711,715,719,724],{"type":173,"tag":217,"props":712,"children":713},{"style":224},[714],{"type":178,"value":294},{"type":173,"tag":217,"props":716,"children":717},{"style":224},[718],{"type":178,"value":299},{"type":173,"tag":217,"props":720,"children":721},{"style":302},[722],{"type":178,"value":723}," useContentHelpers",{"type":173,"tag":217,"props":725,"children":726},{"style":286},[727],{"type":178,"value":310},{"type":173,"tag":217,"props":729,"children":730},{"class":219,"line":383},[731,735,739],{"type":173,"tag":217,"props":732,"children":733},{"style":224},[734],{"type":178,"value":329},{"type":173,"tag":217,"props":736,"children":737},{"style":230},[738],{"type":178,"value":233},{"type":173,"tag":217,"props":740,"children":741},{"style":224},[742],{"type":178,"value":269},{"type":173,"tag":174,"props":744,"children":745},{},[746,748,753],{"type":178,"value":747},"Learn more about the ",{"type":173,"tag":181,"props":749,"children":750},{"href":54},[751],{"type":178,"value":752},"navigation object",{"type":178,"value":754},".",{"type":173,"tag":600,"props":756,"children":758},{"id":757},"navbottomlink",[759],{"type":173,"tag":186,"props":760,"children":761},{"className":167},[762],{"type":178,"value":763},"navBottomLink()",{"type":173,"tag":174,"props":765,"children":766},{},[767],{"type":178,"value":768},"Take a navigation node and will resolve the first available path from that node.",{"type":173,"tag":174,"props":770,"children":771},{},[772],{"type":178,"value":773},"It can be useful to build nested navigations systems.",{"type":173,"tag":207,"props":775,"children":777},{"className":209,"code":776,"language":211,"meta":167,"style":167},"\u003Cscript setup>\nconst { navBottomLink } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst path = navBottomLink(navigation.value)\n\u003C/script>\n",[778],{"type":173,"tag":186,"props":779,"children":780},{"__ignoreMap":167},[781,800,832,921,928,963],{"type":173,"tag":217,"props":782,"children":783},{"class":219,"line":220},[784,788,792,796],{"type":173,"tag":217,"props":785,"children":786},{"style":224},[787],{"type":178,"value":227},{"type":173,"tag":217,"props":789,"children":790},{"style":230},[791],{"type":178,"value":233},{"type":173,"tag":217,"props":793,"children":794},{"style":236},[795],{"type":178,"value":239},{"type":173,"tag":217,"props":797,"children":798},{"style":224},[799],{"type":178,"value":269},{"type":173,"tag":217,"props":801,"children":802},{"class":219,"line":272},[803,807,811,816,820,824,828],{"type":173,"tag":217,"props":804,"children":805},{"style":236},[806],{"type":178,"value":278},{"type":173,"tag":217,"props":808,"children":809},{"style":224},[810],{"type":178,"value":283},{"type":173,"tag":217,"props":812,"children":813},{"style":286},[814],{"type":178,"value":815}," navBottomLink ",{"type":173,"tag":217,"props":817,"children":818},{"style":224},[819],{"type":178,"value":294},{"type":173,"tag":217,"props":821,"children":822},{"style":224},[823],{"type":178,"value":299},{"type":173,"tag":217,"props":825,"children":826},{"style":302},[827],{"type":178,"value":723},{"type":173,"tag":217,"props":829,"children":830},{"style":286},[831],{"type":178,"value":310},{"type":173,"tag":217,"props":833,"children":834},{"class":219,"line":313},[835,839,843,848,853,858,862,866,872,877,882,887,892,896,901,906,911,916],{"type":173,"tag":217,"props":836,"children":837},{"style":236},[838],{"type":178,"value":278},{"type":173,"tag":217,"props":840,"children":841},{"style":224},[842],{"type":178,"value":283},{"type":173,"tag":217,"props":844,"children":845},{"style":230},[846],{"type":178,"value":847}," data",{"type":173,"tag":217,"props":849,"children":850},{"style":224},[851],{"type":178,"value":852},":",{"type":173,"tag":217,"props":854,"children":855},{"style":286},[856],{"type":178,"value":857}," navigation ",{"type":173,"tag":217,"props":859,"children":860},{"style":224},[861],{"type":178,"value":294},{"type":173,"tag":217,"props":863,"children":864},{"style":224},[865],{"type":178,"value":299},{"type":173,"tag":217,"props":867,"children":869},{"style":868},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[870],{"type":178,"value":871}," await",{"type":173,"tag":217,"props":873,"children":874},{"style":302},[875],{"type":178,"value":876}," useAsyncData",{"type":173,"tag":217,"props":878,"children":879},{"style":286},[880],{"type":178,"value":881},"(",{"type":173,"tag":217,"props":883,"children":884},{"style":224},[885],{"type":178,"value":886},"'",{"type":173,"tag":217,"props":888,"children":889},{"style":257},[890],{"type":178,"value":891},"navigation",{"type":173,"tag":217,"props":893,"children":894},{"style":224},[895],{"type":178,"value":886},{"type":173,"tag":217,"props":897,"children":898},{"style":224},[899],{"type":178,"value":900},",",{"type":173,"tag":217,"props":902,"children":903},{"style":224},[904],{"type":178,"value":905}," ()",{"type":173,"tag":217,"props":907,"children":908},{"style":236},[909],{"type":178,"value":910}," =>",{"type":173,"tag":217,"props":912,"children":913},{"style":302},[914],{"type":178,"value":915}," fetchContentNavigation",{"type":173,"tag":217,"props":917,"children":918},{"style":286},[919],{"type":178,"value":920},"())\n",{"type":173,"tag":217,"props":922,"children":923},{"class":219,"line":323},[924],{"type":173,"tag":217,"props":925,"children":926},{"emptyLinePlaceholder":317},[927],{"type":178,"value":320},{"type":173,"tag":217,"props":929,"children":930},{"class":219,"line":340},[931,935,940,944,949,954,958],{"type":173,"tag":217,"props":932,"children":933},{"style":236},[934],{"type":178,"value":278},{"type":173,"tag":217,"props":936,"children":937},{"style":286},[938],{"type":178,"value":939}," path ",{"type":173,"tag":217,"props":941,"children":942},{"style":224},[943],{"type":178,"value":249},{"type":173,"tag":217,"props":945,"children":946},{"style":302},[947],{"type":178,"value":948}," navBottomLink",{"type":173,"tag":217,"props":950,"children":951},{"style":286},[952],{"type":178,"value":953},"(navigation",{"type":173,"tag":217,"props":955,"children":956},{"style":224},[957],{"type":178,"value":754},{"type":173,"tag":217,"props":959,"children":960},{"style":286},[961],{"type":178,"value":962},"value)\n",{"type":173,"tag":217,"props":964,"children":965},{"class":219,"line":348},[966,970,974],{"type":173,"tag":217,"props":967,"children":968},{"style":224},[969],{"type":178,"value":329},{"type":173,"tag":217,"props":971,"children":972},{"style":230},[973],{"type":178,"value":233},{"type":173,"tag":217,"props":975,"children":976},{"style":224},[977],{"type":178,"value":269},{"type":173,"tag":600,"props":979,"children":981},{"id":980},"navdirfrompath",[982],{"type":173,"tag":186,"props":983,"children":984},{"className":167},[985],{"type":178,"value":986},"navDirFromPath()",{"type":173,"tag":174,"props":988,"children":989},{},[990],{"type":178,"value":991},"This function will take a path and will resolve the first available navigation node from that path.",{"type":173,"tag":174,"props":993,"children":994},{},[995],{"type":178,"value":996},"It can be useful to find the current directory of a navigation node.",{"type":173,"tag":207,"props":998,"children":1000},{"className":209,"code":999,"language":211,"meta":167,"style":167},"\u003Cscript setup>\nconst route = useRoute()\nconst { navDirFromPath } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst dir = navDirFromPath(route.path, navigation.value)\n\u003C/script>\n",[1001],{"type":173,"tag":186,"props":1002,"children":1003},{"__ignoreMap":167},[1004,1023,1048,1080,1155,1162,1214],{"type":173,"tag":217,"props":1005,"children":1006},{"class":219,"line":220},[1007,1011,1015,1019],{"type":173,"tag":217,"props":1008,"children":1009},{"style":224},[1010],{"type":178,"value":227},{"type":173,"tag":217,"props":1012,"children":1013},{"style":230},[1014],{"type":178,"value":233},{"type":173,"tag":217,"props":1016,"children":1017},{"style":236},[1018],{"type":178,"value":239},{"type":173,"tag":217,"props":1020,"children":1021},{"style":224},[1022],{"type":178,"value":269},{"type":173,"tag":217,"props":1024,"children":1025},{"class":219,"line":272},[1026,1030,1035,1039,1044],{"type":173,"tag":217,"props":1027,"children":1028},{"style":236},[1029],{"type":178,"value":278},{"type":173,"tag":217,"props":1031,"children":1032},{"style":286},[1033],{"type":178,"value":1034}," route ",{"type":173,"tag":217,"props":1036,"children":1037},{"style":224},[1038],{"type":178,"value":249},{"type":173,"tag":217,"props":1040,"children":1041},{"style":302},[1042],{"type":178,"value":1043}," useRoute",{"type":173,"tag":217,"props":1045,"children":1046},{"style":286},[1047],{"type":178,"value":310},{"type":173,"tag":217,"props":1049,"children":1050},{"class":219,"line":313},[1051,1055,1059,1064,1068,1072,1076],{"type":173,"tag":217,"props":1052,"children":1053},{"style":236},[1054],{"type":178,"value":278},{"type":173,"tag":217,"props":1056,"children":1057},{"style":224},[1058],{"type":178,"value":283},{"type":173,"tag":217,"props":1060,"children":1061},{"style":286},[1062],{"type":178,"value":1063}," navDirFromPath ",{"type":173,"tag":217,"props":1065,"children":1066},{"style":224},[1067],{"type":178,"value":294},{"type":173,"tag":217,"props":1069,"children":1070},{"style":224},[1071],{"type":178,"value":299},{"type":173,"tag":217,"props":1073,"children":1074},{"style":302},[1075],{"type":178,"value":723},{"type":173,"tag":217,"props":1077,"children":1078},{"style":286},[1079],{"type":178,"value":310},{"type":173,"tag":217,"props":1081,"children":1082},{"class":219,"line":323},[1083,1087,1091,1095,1099,1103,1107,1111,1115,1119,1123,1127,1131,1135,1139,1143,1147,1151],{"type":173,"tag":217,"props":1084,"children":1085},{"style":236},[1086],{"type":178,"value":278},{"type":173,"tag":217,"props":1088,"children":1089},{"style":224},[1090],{"type":178,"value":283},{"type":173,"tag":217,"props":1092,"children":1093},{"style":230},[1094],{"type":178,"value":847},{"type":173,"tag":217,"props":1096,"children":1097},{"style":224},[1098],{"type":178,"value":852},{"type":173,"tag":217,"props":1100,"children":1101},{"style":286},[1102],{"type":178,"value":857},{"type":173,"tag":217,"props":1104,"children":1105},{"style":224},[1106],{"type":178,"value":294},{"type":173,"tag":217,"props":1108,"children":1109},{"style":224},[1110],{"type":178,"value":299},{"type":173,"tag":217,"props":1112,"children":1113},{"style":868},[1114],{"type":178,"value":871},{"type":173,"tag":217,"props":1116,"children":1117},{"style":302},[1118],{"type":178,"value":876},{"type":173,"tag":217,"props":1120,"children":1121},{"style":286},[1122],{"type":178,"value":881},{"type":173,"tag":217,"props":1124,"children":1125},{"style":224},[1126],{"type":178,"value":886},{"type":173,"tag":217,"props":1128,"children":1129},{"style":257},[1130],{"type":178,"value":891},{"type":173,"tag":217,"props":1132,"children":1133},{"style":224},[1134],{"type":178,"value":886},{"type":173,"tag":217,"props":1136,"children":1137},{"style":224},[1138],{"type":178,"value":900},{"type":173,"tag":217,"props":1140,"children":1141},{"style":224},[1142],{"type":178,"value":905},{"type":173,"tag":217,"props":1144,"children":1145},{"style":236},[1146],{"type":178,"value":910},{"type":173,"tag":217,"props":1148,"children":1149},{"style":302},[1150],{"type":178,"value":915},{"type":173,"tag":217,"props":1152,"children":1153},{"style":286},[1154],{"type":178,"value":920},{"type":173,"tag":217,"props":1156,"children":1157},{"class":219,"line":340},[1158],{"type":173,"tag":217,"props":1159,"children":1160},{"emptyLinePlaceholder":317},[1161],{"type":178,"value":320},{"type":173,"tag":217,"props":1163,"children":1164},{"class":219,"line":348},[1165,1169,1174,1178,1183,1188,1192,1197,1201,1206,1210],{"type":173,"tag":217,"props":1166,"children":1167},{"style":236},[1168],{"type":178,"value":278},{"type":173,"tag":217,"props":1170,"children":1171},{"style":286},[1172],{"type":178,"value":1173}," dir ",{"type":173,"tag":217,"props":1175,"children":1176},{"style":224},[1177],{"type":178,"value":249},{"type":173,"tag":217,"props":1179,"children":1180},{"style":302},[1181],{"type":178,"value":1182}," navDirFromPath",{"type":173,"tag":217,"props":1184,"children":1185},{"style":286},[1186],{"type":178,"value":1187},"(route",{"type":173,"tag":217,"props":1189,"children":1190},{"style":224},[1191],{"type":178,"value":754},{"type":173,"tag":217,"props":1193,"children":1194},{"style":286},[1195],{"type":178,"value":1196},"path",{"type":173,"tag":217,"props":1198,"children":1199},{"style":224},[1200],{"type":178,"value":900},{"type":173,"tag":217,"props":1202,"children":1203},{"style":286},[1204],{"type":178,"value":1205}," navigation",{"type":173,"tag":217,"props":1207,"children":1208},{"style":224},[1209],{"type":178,"value":754},{"type":173,"tag":217,"props":1211,"children":1212},{"style":286},[1213],{"type":178,"value":962},{"type":173,"tag":217,"props":1215,"children":1216},{"class":219,"line":365},[1217,1221,1225],{"type":173,"tag":217,"props":1218,"children":1219},{"style":224},[1220],{"type":178,"value":329},{"type":173,"tag":217,"props":1222,"children":1223},{"style":230},[1224],{"type":178,"value":233},{"type":173,"tag":217,"props":1226,"children":1227},{"style":224},[1228],{"type":178,"value":269},{"type":173,"tag":600,"props":1230,"children":1232},{"id":1231},"navpagefrompath",[1233],{"type":173,"tag":186,"props":1234,"children":1235},{"className":167},[1236],{"type":178,"value":1237},"navPageFromPath()",{"type":173,"tag":174,"props":1239,"children":1240},{},[1241],{"type":178,"value":1242},"This function will take a path and will resolve the first available navigation page from that path.",{"type":173,"tag":174,"props":1244,"children":1245},{},[1246],{"type":178,"value":1247},"It can be useful to find the current navigation node the page you're browsing.",{"type":173,"tag":207,"props":1249,"children":1251},{"className":209,"code":1250,"language":211,"meta":167,"style":167},"\u003Cscript setup>\nconst route = useRoute()\nconst { navPageFromPath } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst page = navPageFromPath(route.path, navigation.value)\n\u003C/script>\n",[1252],{"type":173,"tag":186,"props":1253,"children":1254},{"__ignoreMap":167},[1255,1274,1297,1329,1404,1411,1460],{"type":173,"tag":217,"props":1256,"children":1257},{"class":219,"line":220},[1258,1262,1266,1270],{"type":173,"tag":217,"props":1259,"children":1260},{"style":224},[1261],{"type":178,"value":227},{"type":173,"tag":217,"props":1263,"children":1264},{"style":230},[1265],{"type":178,"value":233},{"type":173,"tag":217,"props":1267,"children":1268},{"style":236},[1269],{"type":178,"value":239},{"type":173,"tag":217,"props":1271,"children":1272},{"style":224},[1273],{"type":178,"value":269},{"type":173,"tag":217,"props":1275,"children":1276},{"class":219,"line":272},[1277,1281,1285,1289,1293],{"type":173,"tag":217,"props":1278,"children":1279},{"style":236},[1280],{"type":178,"value":278},{"type":173,"tag":217,"props":1282,"children":1283},{"style":286},[1284],{"type":178,"value":1034},{"type":173,"tag":217,"props":1286,"children":1287},{"style":224},[1288],{"type":178,"value":249},{"type":173,"tag":217,"props":1290,"children":1291},{"style":302},[1292],{"type":178,"value":1043},{"type":173,"tag":217,"props":1294,"children":1295},{"style":286},[1296],{"type":178,"value":310},{"type":173,"tag":217,"props":1298,"children":1299},{"class":219,"line":313},[1300,1304,1308,1313,1317,1321,1325],{"type":173,"tag":217,"props":1301,"children":1302},{"style":236},[1303],{"type":178,"value":278},{"type":173,"tag":217,"props":1305,"children":1306},{"style":224},[1307],{"type":178,"value":283},{"type":173,"tag":217,"props":1309,"children":1310},{"style":286},[1311],{"type":178,"value":1312}," navPageFromPath ",{"type":173,"tag":217,"props":1314,"children":1315},{"style":224},[1316],{"type":178,"value":294},{"type":173,"tag":217,"props":1318,"children":1319},{"style":224},[1320],{"type":178,"value":299},{"type":173,"tag":217,"props":1322,"children":1323},{"style":302},[1324],{"type":178,"value":723},{"type":173,"tag":217,"props":1326,"children":1327},{"style":286},[1328],{"type":178,"value":310},{"type":173,"tag":217,"props":1330,"children":1331},{"class":219,"line":323},[1332,1336,1340,1344,1348,1352,1356,1360,1364,1368,1372,1376,1380,1384,1388,1392,1396,1400],{"type":173,"tag":217,"props":1333,"children":1334},{"style":236},[1335],{"type":178,"value":278},{"type":173,"tag":217,"props":1337,"children":1338},{"style":224},[1339],{"type":178,"value":283},{"type":173,"tag":217,"props":1341,"children":1342},{"style":230},[1343],{"type":178,"value":847},{"type":173,"tag":217,"props":1345,"children":1346},{"style":224},[1347],{"type":178,"value":852},{"type":173,"tag":217,"props":1349,"children":1350},{"style":286},[1351],{"type":178,"value":857},{"type":173,"tag":217,"props":1353,"children":1354},{"style":224},[1355],{"type":178,"value":294},{"type":173,"tag":217,"props":1357,"children":1358},{"style":224},[1359],{"type":178,"value":299},{"type":173,"tag":217,"props":1361,"children":1362},{"style":868},[1363],{"type":178,"value":871},{"type":173,"tag":217,"props":1365,"children":1366},{"style":302},[1367],{"type":178,"value":876},{"type":173,"tag":217,"props":1369,"children":1370},{"style":286},[1371],{"type":178,"value":881},{"type":173,"tag":217,"props":1373,"children":1374},{"style":224},[1375],{"type":178,"value":886},{"type":173,"tag":217,"props":1377,"children":1378},{"style":257},[1379],{"type":178,"value":891},{"type":173,"tag":217,"props":1381,"children":1382},{"style":224},[1383],{"type":178,"value":886},{"type":173,"tag":217,"props":1385,"children":1386},{"style":224},[1387],{"type":178,"value":900},{"type":173,"tag":217,"props":1389,"children":1390},{"style":224},[1391],{"type":178,"value":905},{"type":173,"tag":217,"props":1393,"children":1394},{"style":236},[1395],{"type":178,"value":910},{"type":173,"tag":217,"props":1397,"children":1398},{"style":302},[1399],{"type":178,"value":915},{"type":173,"tag":217,"props":1401,"children":1402},{"style":286},[1403],{"type":178,"value":920},{"type":173,"tag":217,"props":1405,"children":1406},{"class":219,"line":340},[1407],{"type":173,"tag":217,"props":1408,"children":1409},{"emptyLinePlaceholder":317},[1410],{"type":178,"value":320},{"type":173,"tag":217,"props":1412,"children":1413},{"class":219,"line":348},[1414,1418,1423,1427,1432,1436,1440,1444,1448,1452,1456],{"type":173,"tag":217,"props":1415,"children":1416},{"style":236},[1417],{"type":178,"value":278},{"type":173,"tag":217,"props":1419,"children":1420},{"style":286},[1421],{"type":178,"value":1422}," page ",{"type":173,"tag":217,"props":1424,"children":1425},{"style":224},[1426],{"type":178,"value":249},{"type":173,"tag":217,"props":1428,"children":1429},{"style":302},[1430],{"type":178,"value":1431}," navPageFromPath",{"type":173,"tag":217,"props":1433,"children":1434},{"style":286},[1435],{"type":178,"value":1187},{"type":173,"tag":217,"props":1437,"children":1438},{"style":224},[1439],{"type":178,"value":754},{"type":173,"tag":217,"props":1441,"children":1442},{"style":286},[1443],{"type":178,"value":1196},{"type":173,"tag":217,"props":1445,"children":1446},{"style":224},[1447],{"type":178,"value":900},{"type":173,"tag":217,"props":1449,"children":1450},{"style":286},[1451],{"type":178,"value":1205},{"type":173,"tag":217,"props":1453,"children":1454},{"style":224},[1455],{"type":178,"value":754},{"type":173,"tag":217,"props":1457,"children":1458},{"style":286},[1459],{"type":178,"value":962},{"type":173,"tag":217,"props":1461,"children":1462},{"class":219,"line":365},[1463,1467,1471],{"type":173,"tag":217,"props":1464,"children":1465},{"style":224},[1466],{"type":178,"value":329},{"type":173,"tag":217,"props":1468,"children":1469},{"style":230},[1470],{"type":178,"value":233},{"type":173,"tag":217,"props":1472,"children":1473},{"style":224},[1474],{"type":178,"value":269},{"type":173,"tag":600,"props":1476,"children":1478},{"id":1477},"navkeyfrompath",[1479],{"type":173,"tag":186,"props":1480,"children":1481},{"className":167},[1482],{"type":178,"value":1483},"navKeyFromPath()",{"type":173,"tag":174,"props":1485,"children":1486},{},[1487],{"type":178,"value":1488},"This function will take a path and will resolve a specific key from that path.",{"type":173,"tag":174,"props":1490,"children":1491},{},[1492,1494,1499],{"type":178,"value":1493},"It can be useful when you want to add a fallback on the ",{"type":173,"tag":186,"props":1495,"children":1496},{"className":167},[1497],{"type":178,"value":1498},"_dir.yml",{"type":178,"value":1500}," value of a key in a page.",{"type":173,"tag":207,"props":1502,"children":1504},{"className":209,"code":1503,"language":211,"meta":167,"style":167},"\u003Cscript setup>\nconst route = useRoute()\nconst { navKeyFromPath } = useContentHelpers()\nconst { data: navigation } = await useAsyncData('navigation', () => fetchContentNavigation())\n\nconst layout = navKeyFromPath(route.path, 'layout', navigation.value)\n\u003C/script>\n",[1505],{"type":173,"tag":186,"props":1506,"children":1507},{"__ignoreMap":167},[1508,1527,1550,1582,1657,1664,1731],{"type":173,"tag":217,"props":1509,"children":1510},{"class":219,"line":220},[1511,1515,1519,1523],{"type":173,"tag":217,"props":1512,"children":1513},{"style":224},[1514],{"type":178,"value":227},{"type":173,"tag":217,"props":1516,"children":1517},{"style":230},[1518],{"type":178,"value":233},{"type":173,"tag":217,"props":1520,"children":1521},{"style":236},[1522],{"type":178,"value":239},{"type":173,"tag":217,"props":1524,"children":1525},{"style":224},[1526],{"type":178,"value":269},{"type":173,"tag":217,"props":1528,"children":1529},{"class":219,"line":272},[1530,1534,1538,1542,1546],{"type":173,"tag":217,"props":1531,"children":1532},{"style":236},[1533],{"type":178,"value":278},{"type":173,"tag":217,"props":1535,"children":1536},{"style":286},[1537],{"type":178,"value":1034},{"type":173,"tag":217,"props":1539,"children":1540},{"style":224},[1541],{"type":178,"value":249},{"type":173,"tag":217,"props":1543,"children":1544},{"style":302},[1545],{"type":178,"value":1043},{"type":173,"tag":217,"props":1547,"children":1548},{"style":286},[1549],{"type":178,"value":310},{"type":173,"tag":217,"props":1551,"children":1552},{"class":219,"line":313},[1553,1557,1561,1566,1570,1574,1578],{"type":173,"tag":217,"props":1554,"children":1555},{"style":236},[1556],{"type":178,"value":278},{"type":173,"tag":217,"props":1558,"children":1559},{"style":224},[1560],{"type":178,"value":283},{"type":173,"tag":217,"props":1562,"children":1563},{"style":286},[1564],{"type":178,"value":1565}," navKeyFromPath ",{"type":173,"tag":217,"props":1567,"children":1568},{"style":224},[1569],{"type":178,"value":294},{"type":173,"tag":217,"props":1571,"children":1572},{"style":224},[1573],{"type":178,"value":299},{"type":173,"tag":217,"props":1575,"children":1576},{"style":302},[1577],{"type":178,"value":723},{"type":173,"tag":217,"props":1579,"children":1580},{"style":286},[1581],{"type":178,"value":310},{"type":173,"tag":217,"props":1583,"children":1584},{"class":219,"line":323},[1585,1589,1593,1597,1601,1605,1609,1613,1617,1621,1625,1629,1633,1637,1641,1645,1649,1653],{"type":173,"tag":217,"props":1586,"children":1587},{"style":236},[1588],{"type":178,"value":278},{"type":173,"tag":217,"props":1590,"children":1591},{"style":224},[1592],{"type":178,"value":283},{"type":173,"tag":217,"props":1594,"children":1595},{"style":230},[1596],{"type":178,"value":847},{"type":173,"tag":217,"props":1598,"children":1599},{"style":224},[1600],{"type":178,"value":852},{"type":173,"tag":217,"props":1602,"children":1603},{"style":286},[1604],{"type":178,"value":857},{"type":173,"tag":217,"props":1606,"children":1607},{"style":224},[1608],{"type":178,"value":294},{"type":173,"tag":217,"props":1610,"children":1611},{"style":224},[1612],{"type":178,"value":299},{"type":173,"tag":217,"props":1614,"children":1615},{"style":868},[1616],{"type":178,"value":871},{"type":173,"tag":217,"props":1618,"children":1619},{"style":302},[1620],{"type":178,"value":876},{"type":173,"tag":217,"props":1622,"children":1623},{"style":286},[1624],{"type":178,"value":881},{"type":173,"tag":217,"props":1626,"children":1627},{"style":224},[1628],{"type":178,"value":886},{"type":173,"tag":217,"props":1630,"children":1631},{"style":257},[1632],{"type":178,"value":891},{"type":173,"tag":217,"props":1634,"children":1635},{"style":224},[1636],{"type":178,"value":886},{"type":173,"tag":217,"props":1638,"children":1639},{"style":224},[1640],{"type":178,"value":900},{"type":173,"tag":217,"props":1642,"children":1643},{"style":224},[1644],{"type":178,"value":905},{"type":173,"tag":217,"props":1646,"children":1647},{"style":236},[1648],{"type":178,"value":910},{"type":173,"tag":217,"props":1650,"children":1651},{"style":302},[1652],{"type":178,"value":915},{"type":173,"tag":217,"props":1654,"children":1655},{"style":286},[1656],{"type":178,"value":920},{"type":173,"tag":217,"props":1658,"children":1659},{"class":219,"line":340},[1660],{"type":173,"tag":217,"props":1661,"children":1662},{"emptyLinePlaceholder":317},[1663],{"type":178,"value":320},{"type":173,"tag":217,"props":1665,"children":1666},{"class":219,"line":348},[1667,1671,1676,1680,1685,1689,1693,1697,1701,1706,1711,1715,1719,1723,1727],{"type":173,"tag":217,"props":1668,"children":1669},{"style":236},[1670],{"type":178,"value":278},{"type":173,"tag":217,"props":1672,"children":1673},{"style":286},[1674],{"type":178,"value":1675}," layout ",{"type":173,"tag":217,"props":1677,"children":1678},{"style":224},[1679],{"type":178,"value":249},{"type":173,"tag":217,"props":1681,"children":1682},{"style":302},[1683],{"type":178,"value":1684}," navKeyFromPath",{"type":173,"tag":217,"props":1686,"children":1687},{"style":286},[1688],{"type":178,"value":1187},{"type":173,"tag":217,"props":1690,"children":1691},{"style":224},[1692],{"type":178,"value":754},{"type":173,"tag":217,"props":1694,"children":1695},{"style":286},[1696],{"type":178,"value":1196},{"type":173,"tag":217,"props":1698,"children":1699},{"style":224},[1700],{"type":178,"value":900},{"type":173,"tag":217,"props":1702,"children":1703},{"style":224},[1704],{"type":178,"value":1705}," '",{"type":173,"tag":217,"props":1707,"children":1708},{"style":257},[1709],{"type":178,"value":1710},"layout",{"type":173,"tag":217,"props":1712,"children":1713},{"style":224},[1714],{"type":178,"value":886},{"type":173,"tag":217,"props":1716,"children":1717},{"style":224},[1718],{"type":178,"value":900},{"type":173,"tag":217,"props":1720,"children":1721},{"style":286},[1722],{"type":178,"value":1205},{"type":173,"tag":217,"props":1724,"children":1725},{"style":224},[1726],{"type":178,"value":754},{"type":173,"tag":217,"props":1728,"children":1729},{"style":286},[1730],{"type":178,"value":962},{"type":173,"tag":217,"props":1732,"children":1733},{"class":219,"line":365},[1734,1738,1742],{"type":173,"tag":217,"props":1735,"children":1736},{"style":224},[1737],{"type":178,"value":329},{"type":173,"tag":217,"props":1739,"children":1740},{"style":230},[1741],{"type":178,"value":233},{"type":173,"tag":217,"props":1743,"children":1744},{"style":224},[1745],{"type":178,"value":269},{"type":173,"tag":582,"props":1747,"children":1748},{},[1749],{"type":178,"value":586},{"title":167,"searchDepth":272,"depth":272,"links":1751},[1752,1753,1754,1755,1756],{"id":602,"depth":272,"text":21},{"id":757,"depth":272,"text":763},{"id":980,"depth":272,"text":986},{"id":1231,"depth":272,"text":1237},{"id":1477,"depth":272,"text":1483},"content:3.composables:4.use-content-helpers.md","3.composables/4.use-content-helpers.md",{"_path":66,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":65,"description":1760,"body":1761,"_type":589,"_id":2225,"_source":591,"_file":2226,"_extension":593},"Used to search in your content directory.",{"type":170,"children":1762,"toc":2220},[1763,1769,1780,1849,1855,2027,2033,2045,2162,2175,2185,2191,2216],{"type":173,"tag":1764,"props":1765,"children":1767},"h1",{"id":1766},"searchcontent",[1768],{"type":178,"value":65},{"type":173,"tag":174,"props":1770,"children":1771},{},[1772,1774,1778],{"type":178,"value":1773},"Used to search in your ",{"type":173,"tag":186,"props":1775,"children":1776},{"className":167},[1777],{"type":178,"value":591},{"type":178,"value":1779}," directory.",{"type":173,"tag":207,"props":1781,"children":1784},{"className":1782,"code":1783,"language":260,"meta":167,"style":167},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const input = ref('')\nconst results = searchContent(input)\n",[1785],{"type":173,"tag":186,"props":1786,"children":1787},{"__ignoreMap":167},[1788,1823],{"type":173,"tag":217,"props":1789,"children":1790},{"class":219,"line":220},[1791,1795,1800,1804,1809,1813,1818],{"type":173,"tag":217,"props":1792,"children":1793},{"style":236},[1794],{"type":178,"value":278},{"type":173,"tag":217,"props":1796,"children":1797},{"style":286},[1798],{"type":178,"value":1799}," input ",{"type":173,"tag":217,"props":1801,"children":1802},{"style":224},[1803],{"type":178,"value":249},{"type":173,"tag":217,"props":1805,"children":1806},{"style":302},[1807],{"type":178,"value":1808}," ref",{"type":173,"tag":217,"props":1810,"children":1811},{"style":286},[1812],{"type":178,"value":881},{"type":173,"tag":217,"props":1814,"children":1815},{"style":224},[1816],{"type":178,"value":1817},"''",{"type":173,"tag":217,"props":1819,"children":1820},{"style":286},[1821],{"type":178,"value":1822},")\n",{"type":173,"tag":217,"props":1824,"children":1825},{"class":219,"line":272},[1826,1830,1835,1839,1844],{"type":173,"tag":217,"props":1827,"children":1828},{"style":236},[1829],{"type":178,"value":278},{"type":173,"tag":217,"props":1831,"children":1832},{"style":286},[1833],{"type":178,"value":1834}," results ",{"type":173,"tag":217,"props":1836,"children":1837},{"style":224},[1838],{"type":178,"value":249},{"type":173,"tag":217,"props":1840,"children":1841},{"style":302},[1842],{"type":178,"value":1843}," searchContent",{"type":173,"tag":217,"props":1845,"children":1846},{"style":286},[1847],{"type":178,"value":1848},"(input)\n",{"type":173,"tag":600,"props":1850,"children":1852},{"id":1851},"parameters",[1853],{"type":178,"value":1854},"Parameters",{"type":173,"tag":1856,"props":1857,"children":1858},"table",{},[1859,1889],{"type":173,"tag":1860,"props":1861,"children":1862},"thead",{},[1863],{"type":173,"tag":1864,"props":1865,"children":1866},"tr",{},[1867,1873,1879,1884],{"type":173,"tag":1868,"props":1869,"children":1870},"th",{},[1871],{"type":178,"value":1872},"Key",{"type":173,"tag":1868,"props":1874,"children":1876},{"align":1875},"center",[1877],{"type":178,"value":1878},"Type",{"type":173,"tag":1868,"props":1880,"children":1881},{},[1882],{"type":178,"value":1883},"Default",{"type":173,"tag":1868,"props":1885,"children":1886},{},[1887],{"type":178,"value":1888},"Description",{"type":173,"tag":1890,"props":1891,"children":1892},"tbody",{},[1893,1921,1953,1991],{"type":173,"tag":1864,"props":1894,"children":1895},{},[1896,1905,1913,1916],{"type":173,"tag":1897,"props":1898,"children":1899},"td",{},[1900],{"type":173,"tag":186,"props":1901,"children":1902},{"className":167},[1903],{"type":178,"value":1904},"search",{"type":173,"tag":1897,"props":1906,"children":1907},{"align":1875},[1908],{"type":173,"tag":186,"props":1909,"children":1910},{"className":167},[1911],{"type":178,"value":1912},"MaybeRefOrGetter\u003Cstring>",{"type":173,"tag":1897,"props":1914,"children":1915},{},[],{"type":173,"tag":1897,"props":1917,"children":1918},{},[1919],{"type":178,"value":1920},"The search input",{"type":173,"tag":1864,"props":1922,"children":1923},{},[1924,1932,1940,1948],{"type":173,"tag":1897,"props":1925,"children":1926},{},[1927],{"type":173,"tag":186,"props":1928,"children":1929},{"className":167},[1930],{"type":178,"value":1931},"options",{"type":173,"tag":1897,"props":1933,"children":1934},{"align":1875},[1935],{"type":173,"tag":186,"props":1936,"children":1937},{"className":167},[1938],{"type":178,"value":1939},"SearchContentOptions",{"type":173,"tag":1897,"props":1941,"children":1942},{},[1943],{"type":173,"tag":186,"props":1944,"children":1945},{"className":167},[1946],{"type":178,"value":1947},"{}",{"type":173,"tag":1897,"props":1949,"children":1950},{},[1951],{"type":178,"value":1952},"The options",{"type":173,"tag":1864,"props":1954,"children":1955},{},[1956,1964,1972,1975],{"type":173,"tag":1897,"props":1957,"children":1958},{},[1959],{"type":173,"tag":186,"props":1960,"children":1961},{"className":167},[1962],{"type":178,"value":1963},"options.miniSearch",{"type":173,"tag":1897,"props":1965,"children":1966},{"align":1875},[1967],{"type":173,"tag":186,"props":1968,"children":1969},{"className":167},[1970],{"type":178,"value":1971},"MaybeRefOrGetter\u003CMiniSearchOptions\u003CT>>",{"type":173,"tag":1897,"props":1973,"children":1974},{},[],{"type":173,"tag":1897,"props":1976,"children":1977},{},[1978,1980],{"type":178,"value":1979},"The options passed to ",{"type":173,"tag":181,"props":1981,"children":1985},{"href":1982,"rel":1983},"https://lucaong.github.io/minisearch/",[1984],"nofollow",[1986],{"type":173,"tag":186,"props":1987,"children":1988},{"className":167},[1989],{"type":178,"value":1990},"miniSearch",{"type":173,"tag":1864,"props":1992,"children":1993},{},[1994,2002,2010,2013],{"type":173,"tag":1897,"props":1995,"children":1996},{},[1997],{"type":173,"tag":186,"props":1998,"children":1999},{"className":167},[2000],{"type":178,"value":2001},"options.fetch",{"type":173,"tag":1897,"props":2003,"children":2004},{"align":1875},[2005],{"type":173,"tag":186,"props":2006,"children":2007},{"className":167},[2008],{"type":178,"value":2009},"MaybeRefOrGetter\u003CUseFetchOptions\u003Cstring | T>>",{"type":173,"tag":1897,"props":2011,"children":2012},{},[],{"type":173,"tag":1897,"props":2014,"children":2015},{},[2016,2017],{"type":178,"value":1979},{"type":173,"tag":181,"props":2018,"children":2021},{"href":2019,"rel":2020},"https://nuxt.com/docs/api/composables/use-fetch#usefetch",[1984],[2022],{"type":173,"tag":186,"props":2023,"children":2024},{"className":167},[2025],{"type":178,"value":2026},"useFetch",{"type":173,"tag":600,"props":2028,"children":2030},{"id":2029},"minisearchoptions",[2031],{"type":178,"value":2032},"MiniSearchOptions",{"type":173,"tag":174,"props":2034,"children":2035},{},[2036,2038,2043],{"type":178,"value":2037},"You can easily define the miniSearch options by using the ",{"type":173,"tag":186,"props":2039,"children":2040},{"className":167},[2041],{"type":178,"value":2042},"defineMiniSearchOptions",{"type":178,"value":2044}," composable:",{"type":173,"tag":207,"props":2046,"children":2048},{"className":1782,"code":2047,"language":260,"meta":167,"style":167},"const miniSearchOptions = defineMiniSearchOptions({\n  fields: ['title', 'description', 'body']\n})\n",[2049],{"type":173,"tag":186,"props":2050,"children":2051},{"__ignoreMap":167},[2052,2082,2151],{"type":173,"tag":217,"props":2053,"children":2054},{"class":219,"line":220},[2055,2059,2064,2068,2073,2077],{"type":173,"tag":217,"props":2056,"children":2057},{"style":236},[2058],{"type":178,"value":278},{"type":173,"tag":217,"props":2060,"children":2061},{"style":286},[2062],{"type":178,"value":2063}," miniSearchOptions ",{"type":173,"tag":217,"props":2065,"children":2066},{"style":224},[2067],{"type":178,"value":249},{"type":173,"tag":217,"props":2069,"children":2070},{"style":302},[2071],{"type":178,"value":2072}," defineMiniSearchOptions",{"type":173,"tag":217,"props":2074,"children":2075},{"style":286},[2076],{"type":178,"value":881},{"type":173,"tag":217,"props":2078,"children":2079},{"style":224},[2080],{"type":178,"value":2081},"{\n",{"type":173,"tag":217,"props":2083,"children":2084},{"class":219,"line":272},[2085,2090,2094,2099,2103,2108,2112,2116,2120,2125,2129,2133,2137,2142,2146],{"type":173,"tag":217,"props":2086,"children":2087},{"style":230},[2088],{"type":178,"value":2089},"  fields",{"type":173,"tag":217,"props":2091,"children":2092},{"style":224},[2093],{"type":178,"value":852},{"type":173,"tag":217,"props":2095,"children":2096},{"style":286},[2097],{"type":178,"value":2098}," [",{"type":173,"tag":217,"props":2100,"children":2101},{"style":224},[2102],{"type":178,"value":886},{"type":173,"tag":217,"props":2104,"children":2105},{"style":257},[2106],{"type":178,"value":2107},"title",{"type":173,"tag":217,"props":2109,"children":2110},{"style":224},[2111],{"type":178,"value":886},{"type":173,"tag":217,"props":2113,"children":2114},{"style":224},[2115],{"type":178,"value":900},{"type":173,"tag":217,"props":2117,"children":2118},{"style":224},[2119],{"type":178,"value":1705},{"type":173,"tag":217,"props":2121,"children":2122},{"style":257},[2123],{"type":178,"value":2124},"description",{"type":173,"tag":217,"props":2126,"children":2127},{"style":224},[2128],{"type":178,"value":886},{"type":173,"tag":217,"props":2130,"children":2131},{"style":224},[2132],{"type":178,"value":900},{"type":173,"tag":217,"props":2134,"children":2135},{"style":224},[2136],{"type":178,"value":1705},{"type":173,"tag":217,"props":2138,"children":2139},{"style":257},[2140],{"type":178,"value":2141},"body",{"type":173,"tag":217,"props":2143,"children":2144},{"style":224},[2145],{"type":178,"value":886},{"type":173,"tag":217,"props":2147,"children":2148},{"style":286},[2149],{"type":178,"value":2150},"]\n",{"type":173,"tag":217,"props":2152,"children":2153},{"class":219,"line":313},[2154,2158],{"type":173,"tag":217,"props":2155,"children":2156},{"style":224},[2157],{"type":178,"value":294},{"type":173,"tag":217,"props":2159,"children":2160},{"style":286},[2161],{"type":178,"value":1822},{"type":173,"tag":174,"props":2163,"children":2164},{},[2165,2167,2174],{"type":178,"value":2166},"Using these options allows you to modify how the search is performed. You can change the ",{"type":173,"tag":181,"props":2168,"children":2171},{"href":2169,"rel":2170},"https://lucaong.github.io/minisearch/#search-options",[1984],[2172],{"type":178,"value":2173},"fields that are searched, the weight of each field, and more",{"type":178,"value":754},{"type":173,"tag":2176,"props":2177,"children":2179},"alert",{"type":2178},"info",[2180],{"type":173,"tag":174,"props":2181,"children":2182},{},[2183],{"type":178,"value":2184},"Only available when using the simple search, aka non-indexed search.",{"type":173,"tag":600,"props":2186,"children":2188},{"id":2187},"usefetchoptions",[2189],{"type":178,"value":2190},"UseFetchOptions",{"type":173,"tag":174,"props":2192,"children":2193},{},[2194,2196,2200,2202,2207,2209,2214],{"type":178,"value":2195},"An option is provided to customize the behavior of the ",{"type":173,"tag":186,"props":2197,"children":2198},{"className":167},[2199],{"type":178,"value":2026},{"type":178,"value":2201}," composable used internally to only fetch the search content on client and lazy. This could avoid fetching the content on SSR and adding content to the ",{"type":173,"tag":186,"props":2203,"children":2204},{"className":167},[2205],{"type":178,"value":2206},"_payload.josn",{"type":178,"value":2208}," file improving the performance of your app since ",{"type":173,"tag":186,"props":2210,"children":2211},{"className":167},[2212],{"type":178,"value":2213},"_payload",{"type":178,"value":2215}," is loaded for hydration.",{"type":173,"tag":582,"props":2217,"children":2218},{},[2219],{"type":178,"value":586},{"title":167,"searchDepth":272,"depth":272,"links":2221},[2222,2223,2224],{"id":1851,"depth":272,"text":1854},{"id":2029,"depth":272,"text":2032},{"id":2187,"depth":272,"text":2190},"content:3.composables:7.search-content.md","3.composables/7.search-content.md",1699441210545]