const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DNOsJJk8.js","./Bxv1kRJt.js","./entry.Bel8Jjdw.css","./Dwvp_P-r.js","./Fma_4dAm.js","./Dv7rEyVi.js","./CRWwUVQ8.js"])))=>i.map(i=>d[i]);
import{P as m,ai as p}from"./Bxv1kRJt.js";import{q as f,h as o,e as g,j as c}from"./Dwvp_P-r.js";import{w as i,s as h}from"./Fma_4dAm.js";import{u as v}from"./Dv7rEyVi.js";const C=async e=>{const{content:a}=m().public;typeof e?.params!="function"&&(e=f(e));const t=e.params(),r=a.experimental.stripQueryParameters?i(`/navigation/${`${o(t)}.${a.integrity}`}/${g(t)}.json`):i(`/navigation/${o(t)}.${a.integrity}.json`);if(h())return(await p(()=>import("./DNOsJJk8.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url).then(s=>s.generateNavigation))(t);const n=await $fetch(r,{method:"GET",responseType:"json",params:a.experimental.stripQueryParameters?void 0:{_params:c(t),previewToken:v().getPreviewToken()}});if(typeof n=="string"&&n.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return n};export{C as f};
