"use strict";(()=>{var e={};e.id=7076,e.ids=[7076],e.modules={53524:e=>{e.exports=require("@prisma/client")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},78112:(e,t,a)=>{a.r(t),a.d(t,{headerHooks:()=>h,originalPathname:()=>m,patchFetch:()=>y,requestAsyncStorage:()=>d,routeModule:()=>u,serverHooks:()=>v,staticGenerationAsyncStorage:()=>g,staticGenerationBailout:()=>b});var r={};a.r(r),a.d(r,{GET:()=>c});var n=a(95419),i=a(69108),o=a(99678),s=a(78070),l=a(6632),p=a(32985);async function c(){try{let e=await (0,l.FE)("navbar_config"),t=e?.links??[],a={links:(t.length>0?t:p.N.links).sort((e,t)=>e.order-t.order),appearance:{...p.N.appearance,...e?.appearance},mobileStyle:e?.mobileStyle??p.N.mobileStyle,ctaStyle:{...p.N.ctaStyle,...e?.ctaStyle}};return s.Z.json(a,{headers:{"Cache-Control":"public, s-maxage=60, stale-while-revalidate=300"}})}catch(e){return console.error("[navbar] Failed to fetch config:",e),s.Z.json(p.N)}}let u=new n.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/settings/navbar/route",pathname:"/api/settings/navbar",filename:"route",bundlePath:"app/api/settings/navbar/route"},resolvedPagePath:"C:\\test2\\pagecraft-ai\\src\\app\\api\\settings\\navbar\\route.ts",nextConfigOutput:"standalone",userland:r}),{requestAsyncStorage:d,staticGenerationAsyncStorage:g,serverHooks:v,headerHooks:h,staticGenerationBailout:b}=u,m="/api/settings/navbar/route";function y(){return(0,o.patchFetch)({serverHooks:v,staticGenerationAsyncStorage:g})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var a=e=>t(t.s=e),r=t.X(0,[1638,6206,6632],()=>a(78112));module.exports=r})();