"use strict";(()=>{var e={};e.id=788,e.ids=[788],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")},8893:e=>{e.exports=require("buffer")},4770:e=>{e.exports=require("crypto")},6162:e=>{e.exports=require("stream")},1764:e=>{e.exports=require("util")},4349:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>v,patchFetch:()=>f,requestAsyncStorage:()=>m,routeModule:()=>h,serverHooks:()=>x,staticGenerationAsyncStorage:()=>l});var a={};r.r(a),r.d(a,{GET:()=>d});var n=r(3278),o=r(5002),s=r(4877),u=r(1309),i=r(7390),p=r.n(i);let c=process.env.NEXTAUTH_SECRET||"dev_secret";async function d(e){try{let t=e.cookies.get("admin_token")?.value;if(!t)return u.NextResponse.json({authenticated:!1});let r=p().verify(t,c);return u.NextResponse.json({authenticated:!0,user:r})}catch(e){return u.NextResponse.json({authenticated:!1})}}let h=new n.AppRouteRouteModule({definition:{kind:o.x.APP_ROUTE,page:"/api/auth/me/route",pathname:"/api/auth/me",filename:"route",bundlePath:"app/api/auth/me/route"},resolvedPagePath:"/home/sachin/Documents/TECHNnOVATE/tecnnovates-website/app/api/auth/me/route.js",nextConfigOutput:"standalone",userland:a}),{requestAsyncStorage:m,staticGenerationAsyncStorage:l,serverHooks:x}=h,v="/api/auth/me/route";function f(){return(0,s.patchFetch)({serverHooks:x,staticGenerationAsyncStorage:l})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[787,833,390],()=>r(4349));module.exports=a})();