1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3982],{19637:(e,t,a)=>{"use strict";a.d(t,{s:()=>o});var i=a(10193);let o={[i.AJ.Generic]:"common:error.500",[i.AJ.ResetPasswordLimitExceeded]:"account-validation:error.limitExceeded",[i.AJ.ConfirmPasswordLimitExceeded]:"account-validation:error.limitExceeded",[i.AJ.InvalidPassword]:"account-validation:error.password.invalid",[i.AJ.SecurityCodeInvalid]:"account-validation:error.securityCode.invalid",[i.AJ.SecurityCodeExpired]:"account-validation:error.securityCode.expired",[i.AJ.AlreadyAuthenticated]:"common:error.500"}},24602:(e,t,a)=>{"use strict";a.d(t,{f:()=>r});var i=a(25515),o=a(19637);class r extends i.B{constructor(e){super(e),this.getUserEmail=()=>{let{userEmail:e}=this.getProps().context;if(!e)throw Error("userEmail cannot be ".concat(e));return e},this.sendNewSecurityCode=async()=>{let{userEmail:e}=this.getProps().context;if(!e)throw Error("userEmail cannot be ".concat(e));this.getProps().repositoryFactory.accountValidationTrackerRepository().eventSendNewSecurityCode(),this.updatePartial({isLoading:!0});let t=await this.getProps().repositoryFactory.accountRepository().sendResetPasswordLink(e,"activation");if((0,i.k)(t)){let{errorCode:e}=t;this.getProps().repositoryFactory.accountValidationTrackerRepository().eventSendNewSecurityCodeError(e),this.updatePartial({errorCode:e,isLoading:!1})}else await this.getProps().navigationUI.next()},this.isLoading=()=>this.getProps().isLoading,this.shouldDisplaySendNewSecurityCodeError=()=>!!this.getProps().errorCode,this.getSendNewSecurityCodeTranslatedError=()=>{let{errorCode:e}=this.getProps();return this.getTranslatedError(e)},this.getScreenTranslations=()=>{let e=this.getProps().repositoryFactory.translationRepository().translateFn,{assetName:t}=this.getProps().context;return{metaTitle:e("account-validation:page.welcome.meta.title"),title:e("account-validation:page.welcome.content.title"),introduction:e("account-validation:page.welcome.content.introduction"),asset:e("account-validation:page.welcome.content.asset").replace("{asset}",String(t)),identity:e("account-validation:page.welcome.content.identity"),nextStepExplanation:e("account-validation:page.welcome.content.nextStepExplanation"),actions:{sendSecurityCode:e("account-validation:page.welcome.actions.receiveSecurityCode")}}},this.getTranslatedError=e=>{if(!e)return"";let t=o.s[e];return this.getProps().repositoryFactory.translationRepository().translateFn(t)}}}r.load=(e,t,a)=>{let i=new r({context:e,isLoading:!1,errorCode:null,navigationUI:t,repositoryFactory:a});return a.accountValidationTrackerRepository().pageAccountValidation(),i}},39819:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account-validation/welcome",function(){return a(63716)}])},45111:(e,t,a)=>{e.exports=a(19375)},63716:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>w,default:()=>S});var i=a(78854),o=a(50881),r=a.n(o),n=a(99484),c=a.n(n),s=a(10143),l=a(68237),d=a(7412),u=a(53298);let p=e=>{let{accountValidationWelcomeUI:t}=e;return(0,i.FD)(i.FK,{children:[(0,i.FD)("div",{className:c().contentWrapper,children:[(0,i.Y)("div",{className:c().emailWrapper,children:(0,i.FD)("p",{className:r().emailWithHighlight,children:[t.getScreenTranslations().introduction," ",(0,i.Y)("span",{children:t.getUserEmail()})]})}),!t.getProps().context.isPro&&(0,i.Y)("p",{className:(0,u.A)(r().content,c().content,c().asset),dangerouslySetInnerHTML:{__html:t.getScreenTranslations().asset}}),(0,i.Y)("div",{className:c().illustration,children:(0,i.Y)(d.sS,{width:313,height:220})}),(0,i.Y)("p",{className:(0,u.A)(r().content,c().content),dangerouslySetInnerHTML:{__html:t.getScreenTranslations().identity}})]}),(0,i.Y)("div",{className:r().actions,children:(0,i.FD)("div",{className:r().withError,children:[(0,i.Y)(s.jn,{label:t.getScreenTranslations().actions.sendSecurityCode,size:s.Mp.Medium,onClick:t.sendNewSecurityCode,isLoading:t.isLoading()}),t.shouldDisplaySendNewSecurityCodeError()&&(0,i.Y)(l.r9,{message:t.getSendNewSecurityCodeTranslatedError(),variant:l.Cz.Error})]})})]})};var m=a(59382),g=a(78299),h=a(9479),y=a(80547),_=a(24602);let v=()=>{let{accountValidationContext:e,navigationUI:t,repositoryFactory:a}=(0,g.V)(),o=(0,y.q)(()=>_.f.load(e,t,a));return o?(0,i.Y)(m.Z,{metaTitle:o.getScreenTranslations().metaTitle,mainTitle:o.getScreenTranslations().title,wrapperClassName:c().accountValidationWelcome,children:(0,i.Y)(p,{accountValidationWelcomeUI:o})}):null};v.getLayout=e=>(0,i.Y)(h.A,{children:e});var w=!0;let S=v},80547:(e,t,a)=>{"use strict";a.d(t,{q:()=>i.qK});var i=a(15341)},99484:e=>{e.exports={accountValidationWelcome:"AccountValidationWelcome_accountValidationWelcome__NQhG5",contentWrapper:"AccountValidationWelcome_contentWrapper__43YaK",content:"AccountValidationWelcome_content__i90vx",emailWrapper:"AccountValidationWelcome_emailWrapper__75ngv",asset:"AccountValidationWelcome_asset__cQPFm",illustration:"AccountValidationWelcome_illustration__lVxmr"}}},e=>{e.O(0,[5956,6380,636,6593,8792],()=>e(e.s=39819)),_N_E=e.O()}]);
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.