"use strict";(()=>{var e={};e.id=926,e.ids=[926],e.modules={20145:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},56249:(e,t)=>{Object.defineProperty(t,"l",{enumerable:!0,get:function(){return function e(t,n){return n in t?t[n]:"then"in t&&"function"==typeof t.then?t.then(t=>e(t,n)):"function"==typeof t&&"default"===n?t:void 0}}})},77320:(e,t,n)=>{n.r(t),n.d(t,{config:()=>c,default:()=>i,routeModule:()=>l});var r={};n.r(r),n.d(r,{default:()=>a});var o=n(71802),u=n(47153),s=n(56249);async function a(e,t){if(!e.body.url)return t.status(404).json({success:!1});try{let n=await fetch(`${e.body.url}?action=health-check`);if(await n.json(),!n.ok)return t.status(404).json({success:!1})}catch(e){return console.error(e),t.status(404).json({success:!1})}t.json({success:!0,health:"ok"})}let i=(0,s.l)(r,"default"),c=(0,s.l)(r,"config"),l=new o.PagesAPIRouteModule({definition:{kind:u.x.PAGES_API,page:"/api/echo/health",pathname:"/api/echo/health",bundlePath:"",filename:""},userland:r})},47153:(e,t)=>{var n;Object.defineProperty(t,"x",{enumerable:!0,get:function(){return n}}),function(e){e.PAGES="PAGES",e.PAGES_API="PAGES_API",e.APP_PAGE="APP_PAGE",e.APP_ROUTE="APP_ROUTE"}(n||(n={}))},71802:(e,t,n)=>{e.exports=n(20145)}};var t=require("../../../webpack-api-runtime.js");t.C(e);var n=t(t.s=77320);module.exports=n})();