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UG,GAAgCF,oDAAhCE,EAAgCI,QAAhCJ,EAAgC,qBAF7B,gBAEHA,CAAgC,gEC4DtC,IAAMK,GAAkB,MAAzB,MAAOA,EAAkBR,kDAAlBQ,EAAkB,sCAAlBA,IAAkBR,yCAJlB,IAACS,QAAiBC,KAE5BC,SAtDCC,KACAC,KACAC,KACAC,KACAC,KACAC,IACAC,IACAH,KACAI,cAAsB,CACpB,CACEC,KAAM,GACNC,WAAY,QACZC,UAAW,QAEb,CACEF,KAAM,QACNG,sBAAuB,SACvBC,UAAW9K,EACX0J,QAAS,CACPlF,cAAeiF,IAGnB,CACEiB,KAAM,gBACNI,UAAWC,MAEb,CACEL,KAAM,WACNI,UAAWE,KAEb,CACEN,KAAM,mBACNI,UAAWG,MAEb,CACEP,KAAM,uBACNI,UAAWI,MAEb,CACER,KAAM,kBACNI,UAAWK,MAEb,CACET,KAAM,iBACNI,UAAWM,MAEb,CACEV,KAAM,oBACNI,UAAWO,kBAQNvB,CAAkB","names":["i0","CrossFieldErrorMatcherEmail","isErrorState","control","form","touched","errors","emailNotMatched","LoginComponent","constructor","_fb","accountsService","router","apiHelp","appLoadService","route","apollo","sanitizer","this","queryParams","subscribe","params","idParam","id","loginMessage","programTypeCodeOptionSet","localStorage","getItem","console","log","loginForm","group","firstName","Validators","lastName","email","confirmEmail","verified","validators","c","get","value","valueChanges","values","Object","keys","forEach","key","setValue","toLowerCase","trim","emitEvent","regprEnabled","ngOnInit","query","AUTH_QUERY_LOGIN","pipe","map","result","data","authentication","previousEmail","previousIsAuthenticated","isAuthenticated","previousIsVerified","isVerified","env","readEnvironSettings","uriApi","uriEbbFiles","substr","lastIndexOf","uriSiteRoot","spaBaseUrl","uriSpaRedirectLogin","uriSpaRegistration","programsSplit","split","availablePrograms","snapshot","programCycles","filter","program","includes","typeCodeOptionSet","programCycleMultipleDwellingsRestriction","multipleDwellings","programCycleMultipleDwellingsAllowed","length","programCycleKey","loadHelpText","getList","listHelp","JSON","parse","stringify","availableFemaProgram","registrationMessage","getHelpTextItemAnswer","verifyAndAgreeHelp","programTypeMap","ESS","EMR","error","text","item","findIndex","i","name","bypassSecurityTrustHtml","answer","registerpropertydisable","valid","submitLogin","isLoading","nonce","Math","random","toString","substring","loginInfo","loginGuest","anyDwellings","anyDwellingsFound","preventRegistrationOfMultipleDwellings","loginRes$","take","watchQuery","AnyDwellingsQuery","fetchPolicy","variables","anydwellings","navigate","b2cLogin","e","window","location","href","sendToB2c","preventDefault","continue","getApplicationList","matchingProgramApplication","a","x","stateCode","statusCode","y","_Ebb_ProgramCycleId","matchingProgramDwelling","b","navigateByUrl","startOver","removeItem","logout","ListApplicationsForMultipleQuery","applications","dwellings","static","core","selectors","ProgramCycleRegistrationResolver","resolve","GET_PROGRAMCYCLES_QUERY","programcyclescanregister","factory","RegistrationModule","provideNgxMask","NavigationService","imports","CommonModule","MatProgressBarModule","MatStepperModule","MatCheckboxModule","QualificationModule","NgxTrimDirectiveModule","SharedModule","RouterModule","path","redirectTo","pathMatch","runGuardsAndResolvers","component","QualificationComponent","RegistrationCompletedComponent","NoPolicyComponent","NotQualifiedPolicyComponent","MultiPolicyComponent","PleaseContactComponent","PleaseContactEssComponent"],"sourceRoot":"webpack:///","sources":["./apps/ebb-registration/src/app/modules/registration/components/login/login.component.html","./apps/ebb-registration/src/app/modules/registration/components/login/login.component.ts","./apps/ebb-registration/src/app/modules/registration/services/resolvers/programcycle-resolver.registration.service.ts","./apps/ebb-registration/src/app/modules/registration/registration.module.ts"],"sourcesContent":["\r\n
\r\n You already have an account in our legacy system.
\r\n Please continue to our Property Owner Dashboard to upgrade your account\r\n