"use strict";(()=>{var e={};e.id=569,e.ids=[569],e.modules={20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},99610:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>l,patchFetch:()=>h,requestAsyncStorage:()=>c,routeModule:()=>u,serverHooks:()=>g,staticGenerationAsyncStorage:()=>d});var s={};r.r(s),r.d(s,{POST:()=>n});var o=r(49303),a=r(88716),i=r(60670),p=r(87070);async function n(e){let{recaptchaResponse:t}=e.body,r=process.env.RECAPTCHA_SECRET,s=await fetch(`https://www.google.com/recaptcha/api/siteverify?secret=${r}&response=${t}`,{method:"POST"});return(await s.json()).success?p.NextResponse.json({success:!0}):p.NextResponse.json({success:!1})}let u=new o.AppRouteRouteModule({definition:{kind:a.x.APP_ROUTE,page:"/api/register/route",pathname:"/api/register",filename:"route",bundlePath:"app/api/register/route"},resolvedPagePath:"C:\\Users\\AWA NDUBUISI\\Documents\\Next\\shop-app\\app\\api\\register\\route.js",nextConfigOutput:"",userland:s}),{requestAsyncStorage:c,staticGenerationAsyncStorage:d,serverHooks:g}=u,l="/api/register/route";function h(){return(0,i.patchFetch)({serverHooks:g,staticGenerationAsyncStorage:d})}},49303:(e,t,r)=>{e.exports=r(30517)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[948,70],()=>r(99610));module.exports=s})();