"use strict";(()=>{var e={};e.id=926,e.ids=[926],e.modules={58097:e=>{e.exports=require("@sentry/nextjs")},20145:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},9375:(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}}})},35142:(e,t,n)=>{let r;n.r(t),n.d(t,{config:()=>P,default:()=>h,routeModule:()=>_});var a={};n.r(a),n.d(a,{config:()=>f,default:()=>p});var i=n(2374),o=n(53764),s=n(9375);n(21132);var u=n(58097),l=Object.freeze({__proto__:null,default:async function(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 t.status(404).json({success:!1})}t.json({success:!0,health:"ok"})}});"default"in l&&"function"==typeof l.default?r=l.default:"function"==typeof l&&(r=l);let d=l.config||{},f={...d,api:{...d.api,externalResolver:!0}},c=r;c&&(c=u.wrapApiHandlerWithSentry(c,"/api/echo/health"));let p=c,h=(0,s.l)(a,"default"),P=(0,s.l)(a,"config"),_=new i.PagesAPIRouteModule({definition:{kind:o.x.PAGES_API,page:"/api/echo/health",pathname:"/api/echo/health",bundlePath:"",filename:""},userland:a})},21132:(e,t,n)=>{var r=n(58097),a="undefined"!=typeof global?global:"undefined"!=typeof self?self:{};a.__sentryRewritesTunnelPath__="/monitoring",a.SENTRY_RELEASE={id:"WpUlk5zrWWSx7UM6tQt5E"},a.__sentryBasePath=void 0,a.__rewriteFramesDistDir__=".next",r.init({dsn:"https://bfbf663082d3a9a5d38009fae912bd83@o1161119.ingest.us.sentry.io/4506894602076160",enabled:!0,tracesSampleRate:1,environment:"production",debug:!1})},53764:(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={}))},2374:(e,t,n)=>{e.exports=n(20145)}};var t=require("../../../webpack-api-runtime.js");t.C(e);var n=t(t.s=35142);module.exports=n})();
//# sourceMappingURL=health.js.map