(()=>{var e={};e.id=879,e.ids=[879],e.modules={2849: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=2849,e.exports=r},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},4300:e=>{"use strict";e.exports=require("buffer")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},1808:e=>{"use strict";e.exports=require("net")},2254:e=>{"use strict";e.exports=require("node:buffer")},5714:e=>{"use strict";e.exports=require("node:diagnostics_channel")},7282:e=>{"use strict";e.exports=require("process")},2781:e=>{"use strict";e.exports=require("stream")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},9412:(e,r,t)=>{"use strict";t.r(r),t.d(r,{originalPathname:()=>h,patchFetch:()=>m,requestAsyncStorage:()=>l,routeModule:()=>d,serverHooks:()=>_,staticGenerationAsyncStorage:()=>x});var s={};t.r(s),t.d(s,{GET:()=>c,dynamic:()=>p});var o=t(9303),a=t(8716),i=t(670),u=t(7070),n=t(9487);let p="force-dynamic";async function c(){try{let[e]=await n.Z.execute(`SELECT id, current_page, progress, status, plan, utm_ad, created_at, updated_at
       FROM onboarding_users
       ORDER BY updated_at DESC
       LIMIT 500`);return u.NextResponse.json({users:e})}catch(e){return console.error("Dashboard API error:",e),u.NextResponse.json({error:"Internal error"},{status:500})}}let d=new o.AppRouteRouteModule({definition:{kind:a.x.APP_ROUTE,page:"/api/dashboard_aya/route",pathname:"/api/dashboard_aya",filename:"route",bundlePath:"app/api/dashboard_aya/route"},resolvedPagePath:"D:\\Programming\\javascript\\nextjs\\ONBOARDStolaunch\\ONBaya\\onboardaya\\app\\api\\dashboard_aya\\route.ts",nextConfigOutput:"",userland:s}),{requestAsyncStorage:l,staticGenerationAsyncStorage:x,serverHooks:_}=d,h="/api/dashboard_aya/route";function m(){return(0,i.patchFetch)({serverHooks:_,staticGenerationAsyncStorage:x})}},9487:(e,r,t)=>{"use strict";t.d(r,{Z:()=>s});let s=t(3785).createPool({host:process.env.MYSQL_HOST??"localhost",port:Number(process.env.MYSQL_PORT??3306),user:process.env.MYSQL_USER??"root",password:process.env.MYSQL_PASSWORD??"",database:process.env.MYSQL_DATABASE??"onboarding_tracker",waitForConnections:!0,connectionLimit:10})}};var r=require("../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[633,972,785],()=>t(9412));module.exports=s})();