1"use strict";(self.webpackChunkuti_web=self.webpackChunkuti_web||[]).push([[1903],{41903:(A,d,i)=>{i.r(d),i.d(d,{ForgotPasswordModule:()=>M});var g=i(69808),u=i(93075),p=i(35357),f=i(15861),c=i(11833),m=i(91252),t=i(5e3);function h(e,s){1&e&&(t.TgZ(0,"span"),t._uU(1," Password"),t.qZA())}function P(e,s){1&e&&(t.TgZ(0,"span"),t._uU(1," Username"),t.qZA())}function v(e,s){1&e&&(t.TgZ(0,"span"),t._uU(1," MPIN"),t.qZA())}function _(e,s){1&e&&(t.TgZ(0,"span"),t._uU(1," password."),t.qZA())}function w(e,s){1&e&&(t.TgZ(0,"span"),t._uU(1," your username."),t.qZA())}function C(e,s){1&e&&(t.TgZ(0,"span"),t._uU(1," MPIN."),t.qZA())}const F=[{path:"",component:(()=>{class e{constructor(o,n,a,r,l,T,Z){this._environment=o,this.salesForceSrv=n,this.router=a,this.authenticationService=r,this.utils=l,this.storageService=T,this.googleAnalyticsSrv=Z,this.storageService.clearValue("folio"),this.storageService.clearValue("kycVerified"),"/authentication/forgot-username"===a.url&&(this.userName=!0),"/authentication/forgot-mpin"===a.url&&(this.forgotMpin=!0),this.name=new u.NI(this.storageService.getValue("pan")||""),this.storageService.clearValue("pan")}coninueWithPan(){var o=this;return(0,f.Z)(function*(){if(o.name.valid){let n="ForgotPassword";o.forgotMpin?n="ForgotMpin":o.userName&&(n="ForgotUsername");const a={AppVersion:`${o._environment.AppVersion}`,DeviceDetails:`${o._environment.DeviceDetails}`,Source:"Website",ModuleName:n,PAN:o.name.value.toUpperCase()};o.authenticationService.getfoliosbyPAN(a).subscribe(r=>{var l;"0"===(null===(l=null==r?void 0:r.resultInfo)||void 0===l?void 0:l.resultStatus)?["201","202","206"].includes(r.resultInfo.resultCodeId)?(o.error=r.resultInfo.resultMsg,["206"].includes(r.resultInfo.resultCodeId)&&o.router.navigate(["/authentication/nct-request-form"]),["201"].includes(r.resultInfo.resultCodeId)&&(o.error="",o.router.navigate(["/authentication/otp-verify"],{state:{folio:{PAN:a.PAN},forgotPassword:n}})),["202"].includes(r.resultInfo.resultCodeId)&&setTimeout(()=>{o.storageService.setValue("pan",a.PAN),o.router.navigate(["/authentication/login/registration"])},2e3)):o.utils.openSnackBar(r.resultInfo.resultMsg):"200"===r.data.StatusCode&&(r.data.forgotPassword=n,r.data.forgotUsername=o.userName,r.data.Pan=a.PAN,o.storageService.setValue("folio",r.data),o.router.navigate(["/authentication/folio-list"]))})}})()}goBack(){const o=this.userName||this.forgotMpin?this.userName?"Username":"MPIN":"Password";this.salesForceSrv.sendUpdate("cta_click_"+o+"_back"),this.googleAnalyticsSrv.logCtaClick({click_category:"ctaclick",click_header:o,click_text:"back"}),this.router.navigate(["/authentication/login"])}setPattern(o){const n=this.utils.setPattern(o);this.name.value=n}}return e.\u0275fac=function(o){return new(o||e)(t.Y36("environment"),t.Y36(c.df),t.Y36(p.F0),t.Y36(c.$h),t.Y36(m.F),t.Y36(c.V1),t.Y36(c.zp))},e.\u0275cmp=t.Xpm({type:e,selectors:[["genesis-investor-forgot-password"]],decls:26,vars:9,consts:[[1,"shadow-lg","bg-white","xs-mar-top-15",2,"border-radius","15px"],[1,"auth-form-card"],[1,"form"],[1,"font-s20","font-700","colore-lblue","input-area"],[4,"ngIf"],[1,"font-s14","xs-font-s12","font-500","colore-lblue","input-area"],[1,"input-area"],["type","text","placeholder"," ","autocomplete","off","maxlength","10",1,"floating-ipt",2,"text-transform","uppercase",3,"formControl","cut","copy","paste","input"],[1,"input-highlight"],[1,"form-error","mt-2"],[1,"d-flex","justify-content-between","input-area"],[1,"font-500","link-next","border-line-height","colore-lblue","pt-3",3,"click"],["type","button","data-dismiss","modal",1,"btn","btn-primary","btn-md","active","short-button","font-500",3,"disabled","click"]],template:function(o,n){1&o&&(t.TgZ(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),t._uU(4,"Forgot"),t.YNc(5,h,2,0,"span",4),t.YNc(6,P,2,0,"span",4),t.YNc(7,v,2,0,"span",4),t.qZA(),t.TgZ(8,"div",5),t._uU(9,"Enter PAN to continue to reset "),t.YNc(10,_,2,0,"span",4),t.YNc(11,w,2,0,"span",4),t.YNc(12,C,2,0,"span",4),t.qZA(),t.TgZ(13,"div",6)(14,"input",7),t.NdJ("cut",function(){return!1})("copy",function(){return!1})("paste",function(){return!1})("input",function(r){return n.setPattern(r)}),t.qZA(),t._UZ(15,"span",8),t.TgZ(16,"label"),t._uU(17,"PAN"),t.qZA(),t.TgZ(18,"div",9),t._uU(19),t.qZA()(),t.TgZ(20,"div",10)(21,"a",11),t.NdJ("click",function(){return n.goBack()}),t._uU(22,"Back"),t.qZA(),t.TgZ(23,"button",12),t.NdJ("click",function(){return n.coninueWithPan()}),t.TgZ(24,"span"),t._uU(25,"Proceed"),t.qZA()()()()()()),2&o&&(t.xp6(5),t.Q6J("ngIf",!n.userName&&!n.forgotMpin),t.xp6(1),t.Q6J("ngIf",n.userName),t.xp6(1),t.Q6J("ngIf",n.forgotMpin),t.xp6(3),t.Q6J("ngIf",!n.userName&&!n.forgotMpin),t.xp6(1),t.Q6J("ngIf",n.userName),t.xp6(1),t.Q6J("ngIf",n.forgotMpin),t.xp6(2),t.Q6J("formControl",n.name),t.xp6(5),t.hij(" ",n.error," "),t.xp6(4),t.Q6J("disabled",10!==n.name.value.length))},directives:[g.O5,u.Fj,u.nD,u.JJ,u.oH],styles:[".header[_ngcontent-%COMP%]{font-weight:700;font-size:22px;line-height:27px}.container[_ngcontent-%COMP%]{line-height:2.5}.section-mt[_ngcontent-%COMP%]{margin-top:4rem!important}.forgotpassword-container[_ngcontent-%COMP%]{border-radius:15px;padding:0 33px!important}@media only screen and (max-width: 767px){.forgotpassword-container[_ngcontent-%COMP%]{padding:0 13px!important}}@media only screen and (max-width: 767px){.xs-mar-top-15[_ngcontent-%COMP%]{margin-top:15px!important}.xs-font-s12[_ngcontent-%COMP%]{font-size:12px!important}.xs-pad-20[_ngcontent-%COMP%]{padding:20px!important}}"]}),e})()}];let N=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[p.Bz.forChild(F)],p.Bz]}),e})(),M=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[g.ez,u.u5,u.UX,N]]}),e})()}}]);
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.