muerwre.github.io/nuxt/navigation.743ea1b4.js
muerwre ab759c37d3 commit bf74240684
Author: Fedor Katurov <gotham48@gmail.com>
Date:   Wed Nov 9 16:15:51 2022 +0600

    vault backup: 2022-11-09 16:15:51
2022-11-09 10:17:40 +00:00

1 line
629 B
JavaScript

import{F as i,E as r,G as s,_ as p,H as f,I as h}from"./entry.fb9e6b9e.js";const m=async e=>{let t=e;typeof(t==null?void 0:t.params)=="function"&&(t=t.params());const n=i(t?`/navigation/${r(t)}.json`:"/navigation");if(s())return(await p(()=>import("./client-db.abceb005.js"),["client-db.abceb005.js","entry.fb9e6b9e.js","entry.97aae52d.css"],import.meta.url).then(o=>o.generateNavigation))(t||{});const a=await $fetch(n,{method:"GET",responseType:"json",params:{_params:f(t||{}),previewToken:h("previewToken").value}});if(typeof a=="string"&&a.startsWith("<!DOCTYPE html>"))throw new Error("Not found");return a};export{m as f};