1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5821],{64956:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/login",function(){return n(6702)}])},57101:function(e,t){"use strict";t.Z={src:"/_next/static/media/google-icon.5e4838af.png",height:22,width:22,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA2klEQVR42mOAgZeOpm4vnU1WvXI23fTSyTTxhZMpD0LS0KztlYvJf6DE+xcuNiD8/4lnoA0DCHxfKez0Jkn//wtj85kwDf8ZGMQYYODXfsaZv7fyff/fysDBAAR2bV+myXX8WO3c+nmVY+vnRIb/uxlmfd7D/+X8eQZWBiBwa/281a35y0Wg5H/Hls9LGB7slHCrWO3xn2FZ6ASYqQ4dz/ydmr/9d2z9GM4ABsvCOs1XBP03Xh76wniF1z2zRXX/7Xqvr2ZABobLg0JNVgRtN1keesholW4uTBwAb5pdtfRwcxgAAAAASUVORK5CYII="}},4037:function(e,t,n){"use strict";var r=n(85893),o=n(97743),i=(n(67294),n(9008)),a=n(54480),c=(0,o.Z)((function(){return{layoutRoot:{margin:"0 auto",width:"100%",backgroundColor:"#F2F2F2"},layoutContainer:{}}}));t.Z=function(e){var t=e.children,n=e.title,o=c();return(0,r.jsxs)("div",{className:o.layoutRoot,children:[(0,r.jsx)(i.default,{children:(0,r.jsxs)("title",{children:[n?"".concat(n," | "):"","Blueprint Events"]})}),(0,r.jsx)(a.rI,{}),(0,r.jsx)("div",{className:o.layoutContainer,children:t})]})}},6702:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return b},default:function(){return w}});var r=n(34051),o=n.n(r),i=n(85893),a=n(97743),c=n(25675),s=n(57101),l=n(71018),u=n(67294),d=n(89313),p=n(11163),x=(n(27829),n(4037)),h=n(54480),g=n(10126),f=n(41664),m=n(85178);function A(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,o)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,a.Z)((function(e){var t;return{container:{"&__headerTitle":{marginTop:"25px",fontWeight:"400",fontSize:"34px",lineHeight:"37px",textAlign:"center",letterSpacing:"0.34px",textTransform:"uppercase",color:"#101010",marginBottom:"15px"}},form:{color:"#101010",width:"100%","&__error":{fontWeight:"400",fontSize:"14px",textAlign:"center",letterSpacing:"0.42px",color:"#FF0000",marginTop:"10px"},"&__input":{width:"100%",height:"45px",background:"transparent",border:"1px solid #101010",marginBottom:"7px",fontWeight:"400",fontSize:"16px",lineHeight:"25px",textAlign:"center",letterSpacing:"0.48px",color:"#000000","&::placeholder":{color:"#666666"},"&:focus":{outline:"none"}},"&__inputError":{border:"0.5px solid #FF0000"},"&__submitBtn":{width:"100%",height:"45px",background:"#101010",fontWeight:"400",fontSize:"16px",lineHeight:"25px",textAlign:"center",letterSpacing:"0.48px",textTransform:"uppercase",color:"#FFFFFF",outline:"none",border:"none",cursor:"pointer","&:hover":{background:"#003BFF"},"&:focus":{border:"4px solid rgba(0, 0, 0, 0.2)",boxSizing:"border-box",boxShadow:"none"}},"&__orText":{fontWeight:"400",fontSize:"12px",lineHeight:"30px",textAlign:"center",letterSpacing:"0.36px",textTransform:"uppercase",color:"#000000"},"&__googleBtn":{width:"100%",height:"45px",background:"#FFFFFF",border:"1px solid #AAAAAA",boxSizing:"border-box",borderRadius:"19px",cursor:"pointer","&__icon":{display:"block"},"&__text":{position:"absolute",width:"148px",height:"25px",left:"calc(50% - 148px/2)",fontSize:"12px",lineHeight:"25px",textAlign:"center",letterSpacing:"0.36px",textTransform:"uppercase"}}},formInputError:{border:"0.5px solid #FF0000"},shadow:{backgroundColor:"white",mixBlendMode:"normal",opacity:.95,position:"absolute",top:0,left:0,width:"374px",height:"510px",zIndex:1},hr:{border:"0.5px solid rgb(170 170 170 / 50%)",height:"0px",marginTop:"30px"},meta:{textAlign:"center",color:"#0D0D0D","&__signup":(t={width:"260px",textAlign:"center",padding:"14px 0",margin:"0 auto",fontWeight:"400",fontSize:"10px",lineHeight:"18px"},_(t,"textAlign","center"),_(t,"letterSpacing","0.5px"),_(t,"color","#0D0D0D"),_(t,"& a",{fontWeight:"bold",color:"inherit"}),t)}}})),b=!0;function w(e){var t=e.confirmed,n=e.message,r=(0,p.useRouter)(),a=v(),_=(0,u.useContext)(h.Fl).toast,b
1=(0,u.useContext)(l.Z),w=b.login,j=b.loginByGoogle,F=b.errorLogin,S=(0,u.useState)(""),y=S[0],N=S[1],T=(0,u.useState)(""),B=T[0],C=T[1],D=(0,u.useState)(!1),k=D[0],E=D[1];(0,u.useEffect)((function(){t&&(_.success(g.ve.success_account_confirmed),r.replace("/account/login",void 0,{shallow:!0}))}),[t]),(0,u.useEffect)((function(){n&&(_.warning(n),r.replace("/account/login",void 0,{shallow:!0}))}),[r.query.message]);var z=function(){var e,t=(e=o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),E(!0),e.next=4,w({email:y,password:B});case 4:E(!1);case 5:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){A(i,r,o,a,c,"next",e)}function c(e){A(i,r,o,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,i.jsxs)(x.Z,{title:"Log in",children:[k&&(0,i.jsx)(d.Z,{}),(0,i.jsxs)(m.aY,{children:[(0,i.jsxs)("div",{className:a.container,children:[(0,i.jsx)("div",{className:"".concat(a.container,"__headerTitle"),children:"WELCOME BACK"}),!!F&&(0,i.jsxs)("div",{className:"FormAuthTemplate-message-error",children:["The email and password you entered did not match our records. Please try again or"," ",(0,i.jsx)(f.default,{href:"/account/reset-password",children:(0,i.jsx)("a",{children:"Reset Password"})})]}),(0,i.jsxs)("form",{className:a.form,onSubmit:z,children:[(0,i.jsx)("input",{placeholder:"EMAIL",type:"text",id:"email",name:"email",value:y,onChange:function(e){return N(e.target.value)},className:F?"FormAuthTemplate-input-error":"FormAuthTemplate-input"}),(0,i.jsx)("input",{placeholder:"PASSWORD",type:"password",id:"password",name:"password",value:B,onChange:function(e){return C(e.target.value)},className:F?"FormAuthTemplate-input-error":"FormAuthTemplate-input"}),(0,i.jsx)("button",{className:"".concat(a.form,"__submitBtn"),type:"submit",children:"Log In"}),(0,i.jsx)("div",{className:"".concat(a.form,"__orText"),children:"or"}),(0,i.jsx)("button",{className:"".concat(a.form,"__googleBtn"),onClick:function(e){e.preventDefault(),j()},children:(0,i.jsxs)("div",{style:{display:"flex"},children:[(0,i.jsx)(c.default,{src:s.Z,className:"".concat(a.form,"__googleBtn__icon"),objectPosition:"left",width:22,height:22,quality:100}),(0,i.jsx)("div",{className:"".concat(a.form,"__googleBtn__text"),children:"Continue with google"})]})})]})]}),(0,i.jsx)("div",{className:a.meta,children:(0,i.jsxs)("div",{className:"".concat(a.meta,"__signup"),children:[(0,i.jsxs)("div",{children:["Forget your Password?"," ",(0,i.jsx)(f.default,{href:"/account/reset-password",children:(0,i.jsx)("a",{children:"Click here"})})]}),(0,i.jsxs)("div",{children:["Need an account?"," ",(0,i.jsx)(f.default,{href:"/account/register",children:(0,i.jsx)("a",{children:"Sign up now"})})]})]})})]})]})}}},function(e){e.O(0,[4885,3662,3626,6690,2365,9669,402,6066,8274,5165,6850,217,5178,9774,2888,179],(function(){return t=64956,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.