1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Db2lTErT.js","./83i9rFyl.js","./entry.BKURLwhB.css","./C2Gbulxn.js","./bZHbCA88.js","./C-v3KzvZ.js"])))=>i.map(i=>d[i]); 2import{q as m,w as c,h as f,e as v,s as l,j as d,a as g,u as y}from"./C2Gbulxn.js";import{N as h,O as _,P as w,J as C,D as P,G as N,K as $,Q as x,k as E,M as p}from"./83i9rFyl.js";import{u as T}from"./bZHbCA88.js";import{_ as j}from"./DHjlJ2KD.js";const D="$s";function S(...t){const e=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(e);const[n,o]=t;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const a=D+n,r=h(),i=_(r.payload.state,a);if(i.value===void 0&&o){const s=o();if(w(s))return r.payload.state[a]=s,s;i.value=s}return i}const b=async t=>{const{content:e}=C().public;typeof(t==null?void 0:t.params)!="function"&&(t=m(t));const n=t.params(),o=e.experimental.str
2ipQueryParameters?c(`/navigation/${`${f(n)}.${e.integrity}`}/${v(n)}.json`):c(`/navigation/${f(n)}.${e.integrity}.json`);if(l())return(await P(()=>import("./Db2lTErT.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(i=>i.generateNavigation))(n);const a=await $fetch(o,{method:"GET",responseType:"json",params:e.experimental.stripQueryParameters?void 0:{_params:d(n),previewToken:T().getPreviewToken()}});if(typeof a=="string"&&a.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return a},R=N({name:"ContentNavigation",props:{query:{type:Object,required:!1,default:void 0}},async setup(t){const{query:e}=x(t),n=E(()=>{var a;return typeof((a=e.value)==null?void 0:a.params)=="function"?e.value.params():e.value});if(!n.value&&S("dd-navigation").value){const{navigation:a}=g();return{navigation:a}}const{data:o}=await y(`content-navigation-${f(n.value)}`,()=>b(n.value));return{navigation:o}},render(t){const e=$(),{navigation:n}=t,o=i=>p(j,{to:i._path},()=>i.title),a=(i,s)=>p("ul",s?{"data-level":s}:null,i.map(u=>u.children?p("li",null,[o(u),a(u.children,s+1)]):p("li",null,o(u)))),r=i=>a(i,0);return e!=null&&e.default?e.default({navigation:n,...this.$attrs}):r(n)}}),K=R;export{K as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.