1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{30317:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot-password",function(){return t(34961)}])},34961:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return P}});var n=t(52322),o=t(39097),i=t.n(o),a=t(87749),l=t(63974),c=t(63602),s=t(2784),d=t(56580),u=t(43580),p=t(65413),f=t(5288),h=t(34183),g=t(92122),m=t(97421),x=t(62907),_=t(74115),b=t(36525),v=t(2111),w=t(48994),j=t(23841),y=t(15325);let C=(0,p.Ry)({email:(0,p.Z_)().email(v.xz.EMAIL).required(v.xz.REQUIRED)});function I(){let e=(0,d.useDispatch)(),{loading:r,forgotPasswordConnectionError:t,forgotPasswordSent:o}=(0,d.useSelector)(j.$K),i=(0,s.useRef)(null);return(0,s.useEffect)(()=>{if(o){var e;null===(e=i.current)||void 0===e||e.resetForm()}},[o]),(0,y.h)("forgotPassword"),(0,n.jsx)(c.J9,{innerRef:i,validateOnBlur:!0,validateOnChange:!1,onSubmit:r=>{let{email:t}=r;e(w.Z.forgotPassword(t))},initialValues:{email:""},validationSchema:C,children:e=>{let{dirty:o,isValid:a}=e;return(0,n.jsxs)(g.l,{children:[(0,n.jsx)(_.H,{condition:!!t,children:(0,n.jsx)(x.Gz,{variant:"banner","data-testid":"forgot-password-connection-error",retryTestId:"forgot-password-connection-retry",isRetrying:r,onRetry:()=>{var e;null===(e=i.current)||void 0===e||e.submitForm()}})}),(0,n.jsx)(h.Ll,{children:(0,n.jsx)(g.I,{id:"email",name:"email",type:"email",label:"Email",autoFocus:!0})}),(0,n.jsx)(E,{disabled:!o||!a,$submitting:r,type:"submit",$buttonTheme:"secondary",children:(0,n.jsx)(f.Z,{accessor:r?"forgot_password.submit_cta_loading":"forgot_password.submit_cta"})})]})}})}let E=(0,u.ZP)(m.Db).withConfig({componentId:"sc-a8572a93-0"})(["margin-left:","px;@media (max-width:767px){margin:0 auto;}"],b._.GUTTER);var k=t(16162),R=t(95011),z=t(63125),Z=t(90736),T=t(73695),D=t(59706);function P(){let e=(0,T.JR)();return(0,n.jsx)(R.Z,{$backgroundOverride:!0,disabled:!!(0,D.K6)(e,"accounts.disable_accounts"),children:(0,n.jsx)(k.e,{children:(0,n.jsxs)(k.x,{children:[(0,n.jsx)(f.Z,{tag:"h1",accessor:"forgot_password.header",html:!0}),(0,n.jsx)(f.Z,{tag:"h3",accessor:"forgot_password.subheader",html:!0}),(0,n.jsx)(z.n,{$background:"transparent"}),(0,n.jsx)(I,{}),(0,n.jsx)(z.n,{}),(0,n.jsxs)("p",{children:[(0,n.jsx)(f.Z,{accessor:"signup.prompt",html:!0}),"\xa0",(0,n.jsx)(i(),{href:Z.Z6.SIGN_UP,passHref:!0,onClick:()=>(0,a.O)(l.x.AUTH__CLICK_SIGN_UP),children:(0,n.jsx)(f.Z,{accessor:"signup.cta"})})]})]})})})}},16162:function(e,r,t){"use strict";t.d(r,{e:function(){return a},x:function(){return l}});var n=t(43580),o=t(36525),i=t(46956);let a=n.ZP.div.withConfig({componentId:"sc-ea7b8e07-0"})(["align-items:center;display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - ","px);@media (max-width:767px){background-color:",";min-height:calc(100vh - ","px);}"],2*o._.HEADERHEIGHT,e=>{let{theme:r}=e;return r.auth_page.background_color},2*o._.MOBILE_HEADERHEIGHT),l=n.ZP.div.withConfig({componentId:"sc-ea7b8e07-1"})(e=>{var r,t,n,a;let{theme:l}=e;return{backgroundColor:null!==(r=l.auth_page.background_color)&&void 0!==r?r:"transparent",border:"1px solid ".concat(null!==(t=l.auth_page.border_color)&&void 0!==t?t:"transparent"),borderRadius:"".concat(null!==(n=l.auth_page.border_radius)&&void 0!==n?n:0,"px"),margin:"0 auto",maxWidth:"".concat(o._.MEDIUM_CONTENT,"px"),padding:"40px 20px",textAlign:"center",width:"100%",...(0,i.l)(l.auth_page.font),h1:{margin:0,...(0,i.l)(l.auth_page.secondary_font)},h3:{...(0,i.l)(l.auth_page.font,["color","font_family","font_size","font_style","line_height"]),fontWeight:"normal",margin:0},p:{margin:"20px 0 0"},a:{textDecoration:"underline",transition:"opacity 0.2s linear",...(0,i.l)(l.auth_page.tertiary_font),"&:hover":{opacity:.7}},"@media (max-width: 767px)":{borderColor:null!==(a=l.auth_page.background_color)&&void 0!==a?a:"transparent"}}})},62907:function(e,r,t){"use strict";t.d(r,{Gz:function(){return u}});var n=t(52322),o=t(2784),i=t(53237),a=t(97421),l=t(20496);let c=l.Rj,s=l.om,d=l.Qn;function u(e){let{onRetry:r,variant:t="panel",heading:i=c,message:u,retryLabel:x=l.j6,retryingLabel:_="Trying againâ¦",isRetrying:b=!1,"data-testid":v,retryTestId:w}=e,j=(0,o.useRef)(!1),y=(0,o.useRef)(null),C=(0,o.useCallback)(()=>{j.current=!1,y.current&&(clearTimeout(y.current),y.current=null)},[]);(0,o.useEffect)(()=>{b||C()},[b,C]),(0,o.useEffect)(()=>C,[C]);let I=r?(0,n.jsx)(a.Db,{"data-css-override":"StyledPrimaryButton",type:"button","data-testid":w,size:"banner"===t?"small":void 0,disabled:b,onClick:()=>{!r||b||j.current||(j.current=!0,y.current=setTimeout(C,1e3),r())},children:b?_:x}):null;return"banner"===t?(0,n.jsxs)(g,{role:"alert","data-testid":v,children:[(0,n.jsx)(m,{children:null!=u?u:d}),I]}):(0,n.jsxs)(p,{role:"alert","data-testid":v,children:[(0,n.jsx)(f,{children:i}),(0,n.jsx)(h,{children:null!=u?u:s}),I]})}let p=(0,i.zo)("div",{display:"flex",flexDirection:"column",alignItems:"center",gap:"$4",padding:"$14",textAlign:"center"}),f=(0,i.zo)("h2",{fontSize:"$text400",fontWeight:"bold",textAlign:"center",margin:0}),h=(0,i.zo)("p",{fontSize:"$text200",textAlign:"center",margin:0}),g=(0,i.zo)("div",{display:"flex",flexDirection:"column",gap:"8px",padding:"12px 16px",marginBottom:"16
1px",border:"1px solid var(--connection-error__border-color, #d93025)",borderRadius:"4px",backgroundColor:"var(--connection-error__background-color, #fdecea)",color:"var(--connection-error__color, #5f1414)","@sm":{flexDirection:"row",alignItems:"center",justifyContent:"center"}}),m=(0,i.zo)("p",{margin:"0 !important",fontSize:"14px",lineHeight:"20px",whiteSpace:"pre-line",paddingRight:"12px",paddingLeft:"12px"})},92122:function(e,r,t){"use strict";t.d(r,{l:function(){return d},I:function(){return s}});var n=t(52322),o=t(63602),i=t(2784),a=t(43580);let l=a.ZP.div.attrs({role:"alert",className:"error-message"}).withConfig({componentId:"sc-cda1c741-0"})(["color:",";top:","px;font-size:12px;",""],e=>{let{theme:r}=e;return r.global.error_color},e=>{let{theme:r}=e;return r.forms.field_height},e=>{let{hidden:r}=e;return r&&"\n display: none;\n "});var c=t(2569);let s=(0,i.forwardRef)((e,r)=>{let{normalize:t,validate:i,showErrorOnChange:a,...s}=e,[d,{error:u,touched:p},{setValue:f}]=(0,o.U$)({...s,validate:i}),h="checkbox"===s.type;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.I,{ref:r,...d,...s,onChange:r=>{if(h){d.onChange(r);return}let n=r.target.value,o=t?t(n):n;if(f(o),e.onChange){let t={...r,target:{...r.target,value:o}};e.onChange(t)}}}),(p||a)&&u&&(0,n.jsx)(l,{children:u})]})});s.displayName="FormikInput";let d=(0,a.ZP)(o.l0).withConfig({componentId:"sc-f378cad4-0"})(["align-items:start;display:flex;flex-wrap:wrap;justify-content:center;width:100%;"])},2569:function(e,r,t){"use strict";t.d(r,{I:function(){return c}});var n=t(52322),o=t(41969),i=t(2784),a=t(90916),l=t(74115);let c=(0,i.forwardRef)((e,r)=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.H,{condition:!!(null==e?void 0:e.label),children:(0,n.jsx)("label",{htmlFor:e.id,children:e.label})}),(0,n.jsx)(l.H,{condition:!!(!(null==e?void 0:e.label)&&(null==e?void 0:e.label)!==null),children:(0,n.jsx)(o.f,{children:(0,n.jsx)("label",{htmlFor:e.id,children:e.label})})}),(0,n.jsx)(a.F,{ref:r,...e})]}));c.displayName="Input"},90916:function(e,r,t){"use strict";t.d(r,{F:function(){return a}});var n=t(43580),o=t(36525),i=t(46956);let a=n.ZP.input.withConfig({componentId:"sc-44488659-0"})(e=>{var r,t,n;let{theme:a,width:l}=e;return{backgroundColor:null!==(r=a.forms.background_color)&&void 0!==r?r:"transparent",borderRadius:"".concat(null!==(t=a.forms.border_radius)&&void 0!==t?t:0,"px"),border:"1px solid ".concat(null!==(n=a.forms.border_color)&&void 0!==n?n:"transparent"),height:"".concat(a.forms.field_height,"px"),padding:"0 var(--size-3)",width:null!=l?l:"100%",...(0,i.l)(a.forms.font,["color","font_family","font_size"]),"@media (max-width: 767px)":{fontSize:"16px",width:"100%"},"::-webkit-input-placeholder":{color:a.forms.placeholder_color},"::-moz-placeholder":{color:a.forms.placeholder_color},":-ms-input-placeholder":{color:a.forms.placeholder_color},":-moz-placeholder":{color:a.forms.placeholder_color},"&:focus-within":{borderColor:a.global.primary_active_color},"&:disabled":{background:o.DM.LIGHTGRAY,cursor:"not-allowed"}}})},63125:function(e,r,t){"use strict";t.d(r,{n:function(){return i}});var n=t(43580),o=t(36525);let i=n.ZP.hr.withConfig({componentId:"sc-b1115afe-0"})(["background-color:",";display:block;height:1px;border:0;margin:","px 0;padding:0;"],e=>{let{$background:r,theme:t}=e;return r||t.global.primary_border_color},o.jl.MEDIUM)},15325:function(e,r,t){"use strict";t.d(r,{h:function(){return a}});var n=t(2784),o=t(56580),i=t(48994);function a(e){let r=(0,o.useDispatch)();(0,n.useEffect)(()=>{r(i.Z.clearConnectionErrors(e))},[r,e])}},41969:function(e,r,t){"use strict";t.d(r,{f:function(){return a}});var n=t(7896),o=t(2784),i=t(72714);let a=(0,o.forwardRef)((e,r)=>(0,o.createElement)(i.WV.span,(0,n.Z)({},e,{ref:r,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))}},function(e){e.O(0,[688,462,553,270,593,807,11,888,774,179],function(){return e(e.s=30317)}),_N_E=e.O()}]); 2//# sourceMappingURL=forgot-password-700bc66c47e2c7c3.js.map
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.