(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[225],{6465:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/thankyou",function(){return n(845)}])},6667:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/check-animation.366a2985.gif",height:640,width:640}},845:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return g}});var s=n(4727),r=n(655),i=n(5893),c=n(9008),a=n.n(c),o=n(5675),u=n.n(o),l=n(1664),f=n.n(l),h=function(){return(0,i.jsxs)("section",{className:"flex justify-center items-center flex-col mt-20",children:[(0,i.jsx)("div",{className:"relative lg:w-80 w-60 h-60 lg:h-80 flex justify-center items-center flex-col",children:(0,i.jsx)(u(),{src:n(6667),alt:"Check Animation"})}),(0,i.jsxs)("div",{className:"thanks flex justify-center items-center flex-col gap-3 p-3 rounded-sm",children:[(0,i.jsx)("h3",{className:"text-white font-bold text-center text-2xl",children:"Thanks For Registering, See You at the Tournament!"}),(0,i.jsx)(f(),{href:"/",children:"Go to Home"})]})]})},d=n(7294),x=n(1163),m=n(6154);function g(){var e=(0,x.useRouter)(),t=e.query.data;return((0,d.useEffect)(function(){if(t){var e,n=JSON.parse(t);console.log(n),(e=(0,s.Z)(function(){var e;return(0,r.__generator)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,m.Z.post("/api/emmaapi",n)];case 1:return t.sent(),[3,3];case 2:return e=t.sent(),console.log(e),[3,3];case 3:return[2]}})}),function(){return e.apply(this,arguments)})()}},[t]),e.isReady)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a(),{children:[(0,i.jsx)("title",{children:"Thanks For Registering - NSF SOUTHWEST Closed Tournament"}),(0,i.jsx)("meta",{name:"description",content:"About Us - The Official Website of NSF SOUTHWEST Events Page"}),(0,i.jsx)("meta",{name:"keyword",content:"NSF SOUTHWEST Events Page, Southwest, Nigerian scrabble"})]}),(0,i.jsx)(h,{})]}):(0,i.jsx)("div",{children:"Loading..."})}}},function(e){e.O(0,[278,774,888,179],function(){return e(e.s=6465)}),_N_E=e.O()}]);