(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{1837:function(e,t,r){Promise.resolve().then(r.bind(r,6290)),Promise.resolve().then(r.bind(r,7668)),Promise.resolve().then(r.bind(r,8337)),Promise.resolve().then(r.t.bind(r,1749,23)),Promise.resolve().then(r.t.bind(r,6942,23))},9461:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7437),o=r(3167);function i(e){let{className:t,...r}=e,i=(0,o.Z)("w-fit bg-tertiary-500 text-primary-500 text-3xl 2xl:text-4xl font-bold px-16 py-4 rounded-3xl hover:opacity-75",t);return(0,n.jsx)("button",{className:i,...r})}r(2265)},7578:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7437),o=r(3167);function i(e){let{className:t,...r}=e,i=(0,o.Z)("w-full bg-transparent border-2 border-secondary-500 text-3xl font-sans px-6 py-4 rounded-3xl hover:shadow-md",t);return(0,n.jsx)("input",{className:i,...r})}r(2265)},8337:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var n=r(7437),o=r(2265),i=r(3411),a=r.n(i),s=r(7578),u=r(9461);function l(){let[e,t]=(0,o.useState)(!1),[r,i]=(0,o.useState)(""),[l,A]=(0,o.useState)(""),[c,f]=(0,o.useState)(""),h=!r.length||!l.length||!c.length||e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("form",{className:"flex flex-col gap-10",onSubmit:function(e){e.preventDefault(),t(!0),fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:r,email:l,email_confirmation:c})}).then(e=>{if(!(null==e?void 0:e.ok))throw Error("Error occurred.");return e.json()}).then(()=>{a().fire({title:"Success!",text:"Your email has been saved successfully. You will soon receive an email to confirm your subscription to our mailing list.",icon:"success",confirmButtonColor:"#464646"}),i(""),A(""),f("")}).catch(()=>{a().fire({title:"Error!",text:"Unable to save your email. Check your data and try again, please.",icon:"error",confirmButtonColor:"#464646"})}).finally(()=>t(!1))},method:"POST",children:[(0,n.jsx)(s.Z,{type:"text",placeholder:"Name*",required:!0,value:r,onChange:e=>i(e.target.value)}),(0,n.jsx)(s.Z,{type:"email",placeholder:"Email*",required:!0,value:l,onChange:e=>A(e.target.value)}),(0,n.jsx)(s.Z,{type:"email",placeholder:"Confirm email*",required:!0,value:c,onChange:e=>f(e.target.value)}),(0,n.jsx)(u.Z,{disabled:h,children:e?"Submitting...":"Submit"})]})})}},6290:function(e,t,r){"use strict";r.r(t),t.default={src:"/_next/static/media/home-explore.006e2fa9.png",height:678,width:553,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAaVBMVEXT2d7v8/Wao6qzwc3CzNj////M0dfa4ObI0NGos7ivs7tNTE5aS0s9LCyTiYlhWFtrZ2qhoKLq7fCLn6jh6u2Lhoi2trqNmKGpq6/AwsjGtq2ejYnj5+zVycWEjpR2g41xg4vO4+zm8fhuznQkAAAAF3RSTlP9pPr5/f78/qeh/tz8+5/7+7Sho1f//sqfVEsAAAAJcEhZcwAACxMAAAsTAQCanBgAAABASURBVHicBcEHAsAQEADBJQTp7ZBe/v/IzFDE7bC5xhgcVlGtuPL0pD0SJSAiucTTtP2gv4nrTo9+Fd0Y5uCXH11/AylysVm/AAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8}},7668:function(e,t,r){"use strict";r.r(t),t.default={src:"/_next/static/media/home-hero.4f1b40db.png",height:636,width:553,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAeFBMVEXS1tzv7uK7ta+cm5+7wsvWz8fp3tPh2MuqoJTu8vPJwbd9WUnp5OGfkozKu7XPy7/e29Hx3ubn6eLuwc9XWWH3m7Hm5uL//v/w7uLq7OihnqHz+Pusr7a2nZa6tb6PgXRzaGaUh3qMZFKGdGpaWGL87PdAQEv/ztyVRkIQAAAAFnRSTlP+2v7+/qTo1+D9/P6j/Pt86JOjuvzwkLm1sQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAENJREFUeJwFwQUCgCAQBMBVQcDOO8qu///QGag8UbprYS0dBVcgk5YNSzi3nXWQIOzXFAcgiFc8I5Y13vhmaJ95w/0PdvIECiNSqeMAAAAASUVORK5CYII=",blurWidth:7,blurHeight:8}},6942:function(e){e.exports={style:{fontFamily:"'__Space_Grotesk_587f35', '__Space_Grotesk_Fallback_587f35'",fontStyle:"normal"},className:"__className_587f35"}},3167:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}}},function(e){e.O(0,[461,749,971,69,744],function(){return e(e.s=1837)}),_N_E=e.O()}]);