(()=>{var e={};e.id=292,e.ids=[292],e.modules={10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19771:e=>{"use strict";e.exports=require("process")},27910:e=>{"use strict";e.exports=require("stream")},28303:e=>{function r(e){var r=Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r.keys=()=>[],r.resolve=r,r.id=28303,e.exports=r},28354:e=>{"use strict";e.exports=require("util")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},34631:e=>{"use strict";e.exports=require("tls")},41204:e=>{"use strict";e.exports=require("string_decoder")},43012:(e,r,t)=>{"use strict";t.r(r),t.d(r,{patchFetch:()=>l,routeModule:()=>a,serverHooks:()=>x,workAsyncStorage:()=>c,workUnitAsyncStorage:()=>d});var s={};t.r(s),t.d(s,{GET:()=>n});var o=t(96559),i=t(48088),u=t(37719),p=t(75939);async function n(){try{let[e]=await p.A.query("SELECT NOW() AS time");return Response.json({success:!0,serverTime:e[0].time})}catch(e){return console.error("❌ Full MySQL Error:",e),Response.json({success:!1,error:e?.message||"Unknown error",details:e},{status:500})}}let a=new o.AppRouteRouteModule({definition:{kind:i.RouteKind.APP_ROUTE,page:"/api/testdb/route",pathname:"/api/testdb",filename:"route",bundlePath:"app/api/testdb/route"},resolvedPagePath:"/Users/jaseerali/Desktop/UPTURNIST/kyc/src/app/api/testdb/route.js",nextConfigOutput:"",userland:s}),{workAsyncStorage:c,workUnitAsyncStorage:d,serverHooks:x}=a;function l(){return(0,u.patchFetch)({workAsyncStorage:c,workUnitAsyncStorage:d})}},44870:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:e=>{"use strict";e.exports=require("crypto")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},66136:e=>{"use strict";e.exports=require("timers")},74075:e=>{"use strict";e.exports=require("zlib")},75939:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=t(46101).createPool({host:process.env.DB_HOST,port:parseInt(process.env.DB_PORT||"3306"),user:process.env.DB_USER,password:process.env.DB_PASSWORD,database:process.env.DB_NAME})},78335:()=>{},79428:e=>{"use strict";e.exports=require("buffer")},79551:e=>{"use strict";e.exports=require("url")},91645:e=>{"use strict";e.exports=require("net")},94735:e=>{"use strict";e.exports=require("events")},96487:()=>{},96559:(e,r,t)=>{"use strict";e.exports=t(44870)}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[719,101],()=>t(43012));module.exports=s})();