1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[868],{6815:function(e,r,t){"use strict";t.d(r,{Z:function(){return b}});var n=t(3366),i=t(7462),s=t(7294),o=(t(5697),t(6010)),a=t(7192),l=t(5704),d=t(4423),c=t(1496),u=t(8216),m=t(8979);function x(e){return(0,m.Z)("MuiFormHelperText",e)}var f=(0,t(6087).Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),h=t(3616),p=t(5893);const g=["children","className","component","disabled","error","filled","focused","margin","required","variant"],v=(0,c.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.size&&r[`size${(0,u.Z)(t.size)}`],t.contained&&r.contained,t.filled&&r.filled]}})((({theme:e,ownerState:r})=>(0,i.Z)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${f.disabled}`]:{color:e.palette.text.disabled},[`&.${f.error}`]:{color:e.palette.error.main}},"small"===r.size&&{marginTop:4},r.contained&&{marginLeft:14,marginRight:14})));var b=s.forwardRef((function(e,r){const t=(0,h.Z)({props:e,name:"MuiFormHelperText"}),{children:s,className:c,component:m="p"}=t,f=(0,n.Z)(t,g),b=(0,d.Z)(),j=(0,l.Z)({props:t,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),Z=(0,i.Z)({},t,{component:m,contained:"filled"===j.variant||"outlined"===j.variant,variant:j.variant,size:j.size,disabled:j.disabled,error:j.error,filled:j.filled,focused:j.focused,required:j.required}),w=(e=>{const{classes:r,contained:t,size:n,disabled:i,error:s,filled:o,focused:l,required:d}=e,c={root:["root",i&&"disabled",s&&"error",n&&`size${(0,u.Z)(n)}`,t&&"contained",l&&"focused",o&&"filled",d&&"required"]};return(0,a.Z)(c,x,r)})(Z);return(0,p.jsx)(v,(0,i.Z)({as:m,ownerState:Z,className:(0,o.Z)(w.root,c),ref:r},f,{children:" "===s?(0,p.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"​"}}):s}))}))},3456:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgotPassword",function(){return t(2838)}])},7943:function(e,r,t){"use strict";t.d(r,{C:function(){return s}});var n=t(5893),i=t(9226),s=(t(7294),function(e){var r=e.children;return(0,n.jsx)(i.Z,{sx:{display:"flex",flexDirection:{xs:"column",lg:"column"},height:"100%"},children:r})})},3365:function(e,r,t){"use strict";t.d(r,{N:function(){return l}});var n=t(5893),i=(t(7294),t(7058)),s=t(3841),o=t(4054),a=t(6815),l=function(e){var r=e.error,t=e.text,l=e.endAdornment,d=e.onChange,c=e.htmlFor,u=e.id,m=e.errorMessage,x=e.inputLabel,f=e.inputType,h=e.disabled;return(0,n.jsxs)(o.Z,{sx:{mt:"1.7rem"},fullWidth:!0,variant:"outlined",children:[(0,n.jsx)(s.Z,{htmlFor:c,sx:{color:r?"red":"text.secondary",top:"-2px"},children:x}),(0,n.jsx)(i.Z,{className:"auth-input-field",disabled:h,error:r,type:f,id:u,value:t,sx:{borderRadius:"0.6rem",height:"3rem"},fullWidth:!0,onChange:d,endAdornment:l,label:x}),(0,n.jsx)(a.Z,{id:u,sx:{color:r?"red":"inherit"},children:r?m:""})]})}},4531:function(e,r,t){"use strict";t.d(r,{M:function(){return j}});var n=t(4051),i=t.n(n),s=t(5893),o=t(7294),a=t(9226),l=t(1806),d=t(865),c=t(5113),u=t(8544),m=t(8789),x=function(){var e=(0,o.useContext)(m.O).translation;return(0,s.jsx)(c.Z,{sx:{borderRadius:"1rem",mt:"2rem",boxShadow:"-51px 51px 129px rgba(69, 90, 100, 0.05), 8px 12px 129px rgba(69, 90, 100, 0.05)"},children:(0,s.jsx)(a.Z,{sx:{mt:{xs:"1.7rem",lg:"1.5rem"},width:{xs:"21rem",sm:"25rem"},mb:"1.25rem"},children:(0,s.jsx)(u.E,{textAlign:"center",sx:{color:"black"},children:e.auth.sentPasswordEmail})})})},f=t(3321),h=t(3365),p=function(e){var r=e.clickedSend,t=e.hasEmailError,n=e.processInputEmail,i=e.sentRequest,l=e.emailText,d=(0,o.useContext)(m.O).translation;return(0,s.jsxs)(c.Z,{sx:{borderRadius:"1rem",boxShadow:{xs:"none",sm:"-51px 51px 129px rgba(69, 90, 100, 0.05), 8px 12px 129px rgba(69, 90, 100, 0.05)"}},children:[(0,s.jsxs)(a.Z,{sx:{width:{lg:"22rem"},mt:{xs:"1.8rem",lg:"1.5rem"},mx:{xs:"1.45rem",md:"2rem",lg:"2rem"}},children:[(0,s.jsx)(u.E,{textAlign:"center",fontWeight:600,variant:"h5",children:d.auth.forgotPasswordHeader}),(0,s.jsx)(u.E,{textAlign:"center",sx:{width:{sm:"20rem"},mt:{xs:"2rem",sm:"2.5rem"}},mx:"auto",children:d.auth.forgotPasswordExplainer}),(0,s.jsx)(h.N,{htmlFor:"email-entry",id:"email-entry",error:t,errorMessage:d.sign
1InErrors.invalid_email,text:l,inputLabel:d.auth.emailLabel,onChange:n,disabled:i})]}),(0,s.jsx)(a.Z,{sx:{mt:{xs:"3rem",lg:"2.3rem"},mx:{xs:"1.45rem",sm:"2rem"},mb:{xs:"1.5rem",lg:"1rem"}},children:(0,s.jsx)(f.Z,{color:"primary",variant:"contained",fullWidth:!0,size:"large",disabled:!(null===l||void 0===l?void 0:l.trim()),onClick:r,children:d.auth.forgotPasswordButtonLabel})})]})},g=t(2601),v=t(7943);function b(e,r,t,n,i,s,o){try{var a=e[s](o),l=a.value}catch(d){return void t(d)}a.done?r(l):Promise.resolve(l).then(n,i)}var j=function(){var e=(0,g.a)().resetPassword,r=(0,o.useState)(!1),t=r[0],n=r[1],c=(0,o.useState)(!1),u=c[0],m=c[1],f=(0,o.useState)(),h=f[0],j=f[1],Z=function(){var r,t=(r=i().mark((function r(){return i().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(h){r.next=3;break}return m(!0),r.abrupt("return");case 3:e(h),n(!0);case 5:case"end":return r.stop()}}),r)})),function(){var e=this,t=arguments;return new Promise((function(n,i){var s=r.apply(e,t);function o(e){b(s,n,i,o,a,"next",e)}function a(e){b(s,n,i,o,a,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();return(0,s.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100vh"},children:[(0,s.jsx)(l.h,{}),(0,s.jsx)(v.C,{children:(0,s.jsx)(a.Z,{sx:{width:"100%"},children:(0,s.jsx)(a.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",mx:{xs:"1rem"}},children:t?(0,s.jsx)(x,{}):(0,s.jsx)(p,{clickedSend:Z,hasEmailError:u,processInputEmail:function(e){var r=e.target.value;j(r),m(!1)},sentRequest:t,emailText:h})})})}),(0,s.jsx)(d.$,{})]})}},2838:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return o}});var n=t(5893),i=(t(7294),t(533)),s=t(4531),o=!0;r.default=function(e){var r=e.locale;return(0,n.jsx)(i.T,{locale:r,seoTranslationKey:"forgotPassword",children:(0,n.jsx)(s.M,{})})}}},function(e){e.O(0,[16,253,806,929,24,781,139,727,774,888,179],(function(){return r=3456,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
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.