1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[1324],{32245(e,s,a){a.d(s,{A:()=>j});var r=a(65043),o=a(77775),l=a(19853),i=a.n(l),t=a(98139),m=a.n(t),d=a(92174),n=(a(44356),a(23526)),c=a(16882),P=a(83831);const v="PasswordRecoveryForm_root__R3E9B marketplaceModalFormRootStyles",g="PasswordRecoveryForm_email__b+ZHG",y="PasswordRecoveryForm_bottomWrapper__0APat marketplaceModalBottomWrapper",p="PasswordRecoveryForm_bottomWrapperText__9P1Jx marketplaceModalBottomWrapperText",_="PasswordRecoveryForm_modalHelperLink__41JNl marketplaceModalHelperLink",x="PasswordRecoveryForm_modalHelperText__2Fgyp marketplaceModalHelperText";var u=a(70579);class R extends r.Component{constructor(e){super(e),this.submittedValues={}}render(){return(0,u.jsx)(o.lV,{...this.props,render:e=>{const{rootClassName:s,className:a,formId:r,handleSubmit:o,pristine:l,initialValues:t,inProgress:R=!1,recoveryError:j,values:h}=e,w=(0,d.tz)(),E=w.formatMessage({id:"PasswordRecoveryForm.emailLabel"}),b=w.formatMessage({id:"PasswordRecoveryForm.emailPlaceholder"}),N=w.formatMessage({id:"PasswordRecoveryForm.emailRequired"}),k=w.formatMessage({id:"PasswordRecoveryForm.emailNotFound"}),M=w.formatMessage({id:"PasswordRecoveryForm.emailInvalid"}),A=n.mw(N),C=n.EC(M),S=(0,c.e2)(j)?k:null,F=t?t.email:null,L=h.email!==this.submittedValues.email,f=m()(s||v,a),I=R,T=Object.keys(this.submittedValues).length>0&&i()(h,this.submittedValues),D=l&&!F||I||T,B=(0,u.jsx)(P.GF,{name:"LoginPage",className:_,children:(0,u.jsx)(d.sA,{id:"PasswordRecoveryForm.loginLinkText"})});return(0,u.jsxs)(P.lV,{className:f,onSubmit:e=>{this.submittedValues=h,o(e)},children:[(0,u.jsx)(P.k7,{className:g,type:"email",id:r?`${r}.email`:"email",name:"email",autoComplete:"email",label:E,placeholder:b,validate:n.k3(A,C),customErrorText:L?null:S}),(0,u.jsxs)("div",{className:y,children:[(0,u.jsx)("p",{className:p,children:(0,u.jsx)("span",{className:x,children:(0,u.jsx)(d.sA,{id:"PasswordRecoveryForm.loginLinkInfo",values:{loginLink:B}})})}),(0,u.jsx)(P.jn,{type:"submit",inProgress:I,disabled:D,children:(0,u.jsx)(d.sA,{id:"PasswordRecoveryForm.sendInstructions"})})]})]})}})}}const j=R},57850(e,s,a){a.r(s),a.d(s,{PasswordRecoveryPageComponent:()=>F,default:()=>L});a(65043);var r=a(23923),o=a(83003),l=a(91688),i=a(63775),t=a(92174),m=(a(44356),a(16882)),d=a(44104),n=a(83831),c=a(71702),P=a(37614),v=a(32245),g=a(15827);const y="PasswordRecoveryPage_root__N92xk",p="PasswordRecoveryPage_contentContainer__a1Yp- marketplaceModalRootStyles",_="PasswordRecoveryPage_layoutWrapperMain__j-sU4",x="PasswordRecoveryPage_submitEmailContent__rMSBQ marketplaceModalBaseStyles",u="PasswordRecoveryPage_genericErrorContent__QeRms marketplaceModalBaseStyles",R="PasswordRecoveryPage_emailSubmittedContent__rjPrB marketplaceModalBaseStyles",j="PasswordRecoveryPage_bottomWrapper__BMP1K marketplaceModalBottomWrapper",h="PasswordRecoveryPage_modalIcon__e3RWI marketplaceModalIconStyles",w="PasswordRecoveryPage_modalTitle__TvDD4 marketplaceModalTitleStyles",E="PasswordRecoveryPage_modalMessage__fap1v marketplaceModalParagraphStyles",b="PasswordRecoveryPage_email__y3eFn",N="PasswordRecoveryPage_helperLink__LsM3D a marketplaceModalHelperLink",k="PasswordRecoveryPage_helperText__Fu+nX marketplaceModalHelperText";var M=a(70579);const A=e=>{const{initialEmail:s,onChange:a,onSubmitEmail:r,recoveryInProgress:o,recoveryError:l}=e;return(0,M.jsxs)("div",{className:x,children:[(0,M.jsx)(n.Ev,{className:h}),(0,M.jsx)(n.DZ,{as:"h1",rootClassName:w,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.forgotPasswordTitle"})}),(0,M.jsx)("p",{className:E,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.forgotPasswordMessage"})}),(0,M.jsx)(v.A,{inProgress:o,onChange:a,onSubmit:e=>r(e.email),initialValues:{email:s},recoveryError:l})]})},C=()=>(0,M.jsxs)("div",{className:u,children:[(0,M.jsx)(n.Ev,{className:h}),(0,M.jsx)(n.DZ,{as:"h1",rootClassName:w,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.actionFailedTitle"})}),(0,M.jsx)("p",{className:E,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.actionFailedMessage"})})]}),S=e=>
1{const{passwordRequested:s,initialEmail:a,submittedEmail:r,onRetypeEmail:o,onSubmitEmail:l,recoveryInProgress:i}=e,m=(0,M.jsx)("span",{className:b,children:s?a:r}),d=(0,M.jsx)(n.bG,{rootClassName:N,onClick:()=>l(r),children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.resendEmailLinkText"})}),c=(0,M.jsx)(n.bG,{rootClassName:N,onClick:o,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.fixEmailLinkText"})});return(0,M.jsxs)("div",{className:R,children:[(0,M.jsx)(n.Ev,{className:h}),(0,M.jsx)(n.DZ,{as:"h1",rootClassName:w,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.emailSubmittedTitle"})}),(0,M.jsx)("p",{className:E,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.emailSubmittedMessage",values:{submittedEmailText:m}})}),(0,M.jsxs)("div",{className:j,children:[(0,M.jsx)("p",{className:k,children:i?(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.resendingEmailInfo"}):(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.resendEmailInfo",values:{resendEmailLink:d}})}),(0,M.jsx)("p",{className:k,children:(0,M.jsx)(t.sA,{id:"PasswordRecoveryPage.fixEmailInfo",values:{fixEmailLink:c}})})]})]})},F=e=>{const s=(0,i._r)(),a=(0,t.tz)(),r=(0,l.zy)(),o=new URLSearchParams(r.
1search).get("email"),{scrollingDisabled:d,initialEmail:v,submittedEmail:g,recoveryError:x,recoveryInProgress:u,passwordRequested:R,onChange:j,onSubmitEmail:h,onRetypeEmail:w}=e,E=g||R,b=o||v,N=(0,M.jsx)(A,{initialEmail:b,onChange:j,onSubmitEmail:h,recoveryInProgress:u,recoveryError:x});return(0,M.jsx)(n.YW,{title:a.formatMessage({id:"PasswordRecoveryPage.title"}),scrollingDisabled:d,children:(0,M.jsx)(n.JI,{mainColumnClassName:_,topbar:(0,M.jsx)(c.A,{}),footer:(0,M.jsx)(P.A,{}),children:(0,M.jsx)(n.Lg,{className:y,childrenWrapperClassName:p,as:"section",image:s.branding.brandImage,sizes:"100%",useOverlay:!0,children:(0,m.e2)(x)?N:x?(0,M.jsx)(C,{}):E?(0,M.jsx)(S,{passwordRequested:R,initialEmail:v,submittedEmail:g,onRetypeEmail:w,onSubmitEmail:h,recoveryInProgress:u}):N})})})},L=(0,r.Zz)((0,o.Ng)(e=>{const{initialEmail:s,submittedEmail:a,recoveryError:r,recoveryInProgress:o,passwordRequested:l}=e.PasswordRecoveryPage;return{scrollingDisabled:(0,d.kl)(e),initialEmail:s,submittedEmail:a,recoveryError:r,recoveryInProgress:o,passwordRequested:l}},e=>({onChange:()=>e((0,g.ks)()),onSubmitEmail:s=>e((0,g.Aw)({email:s})),onRetypeEmail:()=>e((0,g.e5)())})))(F)}}]); 2//# sourceMappingURL=PasswordRecoveryPage.944f171f.chunk.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.