const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./hBqECMOm.js","./DnBXlrVC.js","./entry.CbrcGmYO.css","./bZnb3lKL.js","./BLTKKlVT.js","./B4ToemiP.js","./D_ZEyAD5.js","./CKnP8XfA.js"])))=>i.map(i=>d[i]);
import{P as m,as as p}from"./DnBXlrVC.js";import{h as o}from"./BLTKKlVT.js";import{q as f,e as g,j as c}from"./bZnb3lKL.js";import{w as r,s as h}from"./B4ToemiP.js";import{u as v}from"./D_ZEyAD5.js";const $=async e=>{const{content:a}=m().public;typeof e?.params!="function"&&(e=f(e));const t=e.params(),i=a.experimental.stripQueryParameters?r(`/navigation/${`${o(t)}.${a.integrity}`}/${g(t)}.json`):r(`/navigation/${o(t)}.${a.integrity}.json`);if(h())return(await p(()=>import("./hBqECMOm.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url).then(s=>s.generateNavigation))(t);const n=await $fetch(i,{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{$ as f};
