"use strict";(()=>{var e={};e.id=729,e.ids=[729],e.modules={399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},1827:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>h,patchFetch:()=>f,requestAsyncStorage:()=>c,routeModule:()=>u,serverHooks:()=>l,staticGenerationAsyncStorage:()=>d});var n={};r.r(n),r.d(n,{GET:()=>p});var o=r(3036),a=r(5736),s=r(5262),i=r(7698);async function p(e){return(0,i.s0)(`${i.Wx}/api/config`,()=>Response.json({publicRead:!1,authProxy:!1}),e)}let u=new o.AppRouteRouteModule({definition:{kind:a.x.APP_ROUTE,page:"/api/config/route",pathname:"/api/config",filename:"route",bundlePath:"app/api/config/route"},resolvedPagePath:"/home/runner/work/neat/neat/packages/web/app/api/config/route.ts",nextConfigOutput:"standalone",userland:n}),{requestAsyncStorage:c,staticGenerationAsyncStorage:d,serverHooks:l}=u,h="/api/config/route";function f(){return(0,s.patchFetch)({serverHooks:l,staticGenerationAsyncStorage:d})}},3036:(e,t,r)=>{e.exports=r(517)},7698:(e,t,r)=>{r.d(t,{Wx:()=>n,s0:()=>s});let n=process.env.NEAT_API_URL??process.env.NEAT_CORE_URL??"http://localhost:8080",o="1"===process.env.NEAT_DEMO,a=["authorization","last-event-id"];async function s(e,t,r){try{let t=await fetch(e,{cache:"no-store",headers:function(e){if(!e)return;let t={};for(let r of a){let n=e.headers.get(r);n&&(t[r]=n)}return Object.keys(t).length>0?t:void 0}(r)}),n=await t.text();return new Response(n,{status:t.status,headers:{"content-type":t.headers.get("content-type")??"application/json"}})}catch{if(o)return t();return Response.json({error:"failed to reach neat-core",coreUrl:n},{status:502})}}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[522],()=>r(1827));module.exports=n})();