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AKT,OAAOgE,SAAS,CAAC,eAAgB,SACtC,MACF,QACEvD,KAAK4P,eAAerC,MAAQvN,KAAKiO,aACjCjO,KAAK4P,eAAepC,OAASxN,KAAKkO,cAClClO,KAAK+O,YACC,GAKtB,CAGAoB,YACEnQ,KAAK8D,UAAUuB,SAAS,GAAGrF,KAAK4P,eAAenC,gBAAgBC,wBAC/D1N,KAAKiP,YACP,GAvKI,IAAO7B,EAAPgD,+CAAOhD,EAAuB,0BAAvBA,EAAuBhO,2fDxBpCL,+BAEAA,oEAFaA,6BAAoB,mFCwBpBqO,CAAwB,qDClB9B,IAAMiD,GAA2B,MAAlC,MAAOA,EAAP,YAAOA,EAAPC,+CAAOD,EAA2B,0BAA3BA,EAA2BjR,2JCPxCL,iBAA8B,WAE1BA,yBACFA,0ODIWsR,CAA2B,KEJ3BE,EAAsB,MAA7B,MAAOA,EAAP,MAKJtR,cAAgB,GALZ,IAAOsR,EAAPC,+CAAOD,EAAsB,4BAAtBA,EAAsBE,QAAtBF,EAAsB,YAAtBA,CAAsB,KCuBnC,MAAMG,GAAiB,CACrB,CACEC,KAAM,GACNC,UAAWP,GACXQ,SAAU,CACR,CAAEF,KAAM,kBAAmBC,UAAWxD,EAAyB0D,YAAa,CAACC,KAAWC,OACxF,CAAEL,KAAM,OAAQC,UAAW5K,EAAqB8K,YAAa,CAACC,KAAWC,OACzE,CAAEL,KAAM,WAAYC,UAAW/M,EAAmBiN,YAAa,CAACC,KAAWC,KAAWC,OACtF,CAAEN,KAAM,SAAUC,UAAWvR,EAA6ByR,YAAa,CAACC,KAAWG,UA6BlF,IAAMC,GAAmC,MAA1C,MAAOA,EAAP,YAAOA,EAAPC,+CAAOD,EAAmC,yBAAnCA,iCAJA,CACTZ,GACDc,SApBCC,MACAC,MACAC,KACAC,MACAC,KACAC,KAAaC,SAASlB,IACtBmB,KACAC,IACAC,SAcSZ,CAAmC","names":["i0","TrackerComponent","constructor","ngOnInit","_TrackerComponent","selectors","VerificationStatusComponent","companyService","router","translateService","intercom","env","verificationStatusSvc","languageSelectSvc","featureFlagService","bsAuthService","featureFlagSvc","this","Subscription","activeLang","use","sub","add","company","subscribe","value","getEmploymentVerificationStatusFromAPI","status","setSteps","employment_data_verification_status","statusType","VerificationStatusEnum","VERIFIED","verificationDescKey","get","translation","allTheSteps","label","instant","details","continue","processing","fetchUserAttributes","attributes","intercomUserId","intercom_external_id","data","app_id","intercomAppId","widget","activator","name","first_name","last_name","phone","phone_number","email","user_id","guid","crmUrl","replace","sf_contact_id","getFlag","KnownFeatureFlags","ENABLESALESFORCEMESSAGING","pipe","tap","enableSalesforce","boot","featureFlagsReady","first","ready","navigate","initializeFeatureFlag","ngOnDestroy","unsubscribe","_VerificationStatusComponent","core","IdentityComponent","analytics","regSvc","bsCacheService","forkJoin","from","getItem","customerType","registrationType","referrerType","employmentType","regType","titleKey","bodyKey","skipAccountCreation","clearTimeout","redirectTimeout","onIdentityComplete","event","continueToStatus","goBack","registrationAnalytics","refType","eventProps","logEvent","setTimeout","getProfileUntilResults","getToken","next","tokenResp","setUserId","setItem","getProfileTimeout","Error","_IdentityComponent","ClientTypeComponent","authService","requiredVeriService","cdnUrl","Promise","all","then","values","userFromSubDomain","referralItems","_company","article","getPrefixArticle","getCompanyAttempts","_getCompanyAttempts","stringVal","vowels","vowel","startsWith","removeItem","analyticsName","submitClientType","type","setItemsForVerificaitonSvc","logoLoaded","_ClientTypeComponent","IdentityVerification","inject","BsCacheService","Environment","RegistrationService","FirebaseService","Router","ActivatedRoute","CompanyService","EMAIL_PATTERN","signUpInputForm","FormGroup","FormControl","Validators","required","pattern","RegExp","email_pattern","firstName","minLength","lastName","last4ssn","maxLength","document","getElementsByTagName","classList","precheck","InviteService","clearCacheHousehold","valid","registrationService","newRegistrationPrecheck","controls","last_four_ssn","date_of_birth","transformDob","resp","handleResponse","err","response","statusCode","handle200","clientType","handle412","handle403","handle404","handle402","handleError","output","input","dateOfBirth","undefined","moment","format","toLowerCase","error","signInModalVisible","cacheSignupForm","setCompany","relativeTo","activatedRoute","signIn","clearOnboardingCache","eligibilityError","preCacheHousehold","fName","lName","lastFourSSN","_IdentityVerification","companyList","displayName","code","EmployerListComponent","EventEmitter","searchForm","inputText","displayedListItems","dataList","valueChanges","newValue","fixedSearchValue","isEmptySearchText","filter","item","indexOf","checkForMatch","onCompanyClicked","listSelected","emit","_EmployerListComponent","SelectEmployerComponent","super","BsAuthService","title","prompt","brightsideWebFb","event_name","firebase","action","page","category","AmplitudeService","AwsApiWrapperService","defaultTitle","defaultPrompt","fromSubdomain$","bypassEmployerSelection$","fromSubdomain","bypassEmployerSelection","displayList","onCompanySelected","getCompany","loadCompanyList","newCompanyList","employerList","defaultEmployerList","_","showModal","showHrModal","closeModal","fetchCompanyFile","file","awsApiWrapperService","body","customerNumber","supportNumber","catch","console","payload","postProvisional","hrModalDetails","custom","setProperties","amplitudeService","setUserProperties","of","setupRemoteConfig","onDismiss","_SelectEmployerComponent","EligibilityWrapperComponent","_EligibilityWrapperComponent","UserEligibilityService","_UserEligibilityService","factory","routes","path","component","children","canActivate","AuthGuard","GuidGuard","IdentityGuard","RequiredVerificationGuard","DesktopFeatureUserEligibilityModule","_DesktopFeatureUserEligibilityModule","imports","BrightsideUiModule","BrightsideUiServicesModule","CommonModule","MicroUiMoleculeModule","ReactiveFormsModule","RouterModule","forChild","SharedDesktopModule","TranslateModule","SharedAccountModule"],"sourceRoot":"webpack:///","sources":["./libs/brightside-ui/src/lib/tracker/tracker.component.html","./libs/brightside-ui/src/lib/tracker/tracker.component.ts","./libs/desktop/feature/user-eligibility/src/lib/verification-status/verification-status.component.html","./libs/desktop/feature/user-eligibility/src/lib/verification-status/verification-status.component.ts","./libs/desktop/feature/user-eligibility/src/lib/identity/identity.component.html","./libs/desktop/feature/user-eligibility/src/lib/identity/identity.component.ts","./libs/desktop/feature/user-eligibility/src/lib/client-type/client-type.component.html","./libs/desktop/feature/user-eligibility/src/lib/client-type/client-type.component.ts","./libs/desktop/feature/user-eligibility/src/lib/identity-verification.ts","./libs/desktop/feature/user-eligibility/src/lib/select-employer/select-employer.list.ts","./libs/desktop/feature/user-eligibility/src/lib/select-employer/employer-list/employer-list.component.html","./libs/desktop/feature/user-eligibility/src/lib/select-employer/employer-list/employer-list.component.ts","./libs/desktop/feature/user-eligibility/src/lib/select-employer/select-employer.component.html","./libs/desktop/feature/user-eligibility/src/lib/select-employer/select-employer.component.ts","./libs/desktop/feature/user-eligibility/src/lib/eligibility-wrapper/eligibility-wrapper.component.ts","./libs/desktop/feature/user-eligibility/src/lib/eligibility-wrapper/eligibility-wrapper.component.html","./libs/desktop/feature/user-eligibility/src/lib/user-eligibility.service.ts","./libs/desktop/feature/user-eligibility/src/lib/desktop-feature-user-eligibility.module.ts"],"sourcesContent":["<div class=\"tracker\">\n <div *ngFor=\"let step of trackerSteps; index as i; first as isFirst; last as isLast\" class=\"step\"\n [ngClass]=\"{'failed': step.status === 'failed', 'complete': step.status === 'complete', 'current': step.status === 'current', 'first': isFirst, 'last': isLast}\">\n <div class=\"step-icon\">\n <bw-icon size=\"12\" iconName=\"checkmark\" color=\"var(--white)\" *ngIf=\"step.status === 'complete'\"></bw-icon>\n <bw-icon size=\"24\" iconName=\"alert\" color=\"var(--brand)\" *ngIf=\"step.status === 'failed'\"></bw-icon>\n </div>\n <div class=\"step-label text-large-semibold\">{{step.label}}</div>\n <div class=\"step-details secondary-text\" *ngIf=\"step.status === 'current' || step.status === 'failed'\">{{step.details}}</div>\n </div>\n</div>\n","import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'bw-tracker',\n templateUrl: './tracker.component.html',\n styleUrls: ['./tracker.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TrackerComponent implements OnInit {\n\n @Input() trackerSteps: any[];\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","<bw-spinner *ngIf=\"!statusType; else notLoading\"></bw-spinner>\n<ng-template #notLoading>\n <div class=\"content-layout\"\n [brightsideWebFb]=\"{\n event_name: 'verification_status',\n custom: {'type': statusType}\n }\">\n <bw-action-article>\n <div content-section>\n <div class=\"flex-column\">\n <div class=\"flex-row space-center\">\n <div>\n <img src=\"/assets/shield-banner.png\">\n </div>\n </div>\n <div class=\"flex-row space-center\">\n <typography title-medium class=\"mb-sm mt-sm\">\n {{ 'VERIFICATION_STATUS_TITLE' | translate }}\n </typography>\n </div>\n </div>\n <p text-large-regular class=\"center\" color=\"var(--secondary-text)\">\n {{ verificationDescKey | translate:{company:company|titlecase} }}\n </p>\n <bw-spinner *ngIf=\"processing\"></bw-spinner>\n <bw-tracker *ngIf=\"!processing\" [trackerSteps]=\"allTheSteps\"></bw-tracker>\n </div>\n <button\n bw-button\n footer-actions\n fluidWidth\n (click)=\"continue()\"\n [brightsideWebFb]=\"{\n event_name: 'verification_status',\n custom: {'type': statusType}\n }\"\n >{{ 'BUTTON_CONTINUE' | translate }}</button>\n </bw-action-article>\n </div>\n</ng-template>\n\n","import {Component, OnInit} from '@angular/core';\nimport {\n CompanyService, KnownFeatureFlags,\n VerificationStatusEnum,\n VerificationStatusService\n} from \"@brightside-web/desktop/data-access/shared\";\nimport { Subscription, tap, first } from 'rxjs';\nimport {Router} from \"@angular/router\";\nimport {TranslateService} from \"@ngx-translate/core\";\nimport {\n BsAuthService\n} from \"@brightside-web/desktop/data-access/core-services\";\nimport {Intercom} from \"ng-intercom\";\nimport {Environment} from \"@brightside-web/micro/core/environment\";\nimport {LanguageSelectorService} from \"@brightside-web/desktop/feature/language-selection\";\nimport {FeatureFlagService} from \"@brightside-web/desktop/data-access/core-services\";\n\n\ninterface stepsObjects {\n label: string;\n details?: string;\n status: string;\n}\n\n@Component({\n selector: 'brightside-web-verification-status',\n templateUrl: './verification-status.component.html',\n styleUrls: ['./verification-status.component.scss']\n})\nexport class VerificationStatusComponent implements OnInit {\n\n private sub = new Subscription();\n company = '';\n processing: boolean;\n allTheSteps: stepsObjects[];\n statusType: string;\n verificationDescKey = \"\";\n\n\n constructor(\n private companyService: CompanyService,\n private router: Router,\n private translateService: TranslateService,\n private intercom: Intercom,\n private env: Environment,\n private verificationStatusSvc: VerificationStatusService,\n private languageSelectSvc: LanguageSelectorService,\n private featureFlagService: FeatureFlagService,\n private bsAuthService: BsAuthService,\n private featureFlagSvc: FeatureFlagService\n ) {}\n\n ngOnInit() {\n if (this.languageSelectSvc.activeLang !== 'en') {\n this.languageSelectSvc.use(this.languageSelectSvc.activeLang);\n }\n this.sub.add(\n this.companyService.company.subscribe(\n value => {\n this.company = value;\n }\n )\n );\n this.sub.add(\n this.verificationStatusSvc.getEmploymentVerificationStatusFromAPI().subscribe(\n status => {\n this.setSteps(status.employment_data_verification_status.status);\n }\n )\n );\n }\n\n setSteps(statusType: VerificationStatusEnum) {\n if (statusType === VerificationStatusEnum.VERIFIED) {\n this.statusType = 'verified';\n this.verificationDescKey = \"VERIFICATION_STATUS_VERIFIED_DESC\";\n this.sub.add(\n this.translateService.get('VERIFICATION_SUBMITTED').subscribe(\n translation => {\n this.allTheSteps = [\n {\n label: translation,\n status: 'complete'\n },\n {\n label: this.translateService.instant('VERIFICATION_VALIDATING'),\n status: 'complete'\n },\n {\n label: this.translateService.instant('VERIFICATION_COMPLETE'),\n status: 'complete'\n }\n ];\n }\n )\n );\n } else {\n this.statusType = 'pending';\n this.verificationDescKey = \"VERIFICATION_STATUS_DESC\";\n this.sub.add(\n this.translateService.get('VERIFICATION_SUBMITTED').subscribe(\n translation => {\n this.allTheSteps = [\n {\n label: translation,\n status: 'complete'\n },\n {\n label: this.translateService.instant('VERIFICATION_VALIDATING'),\n details: this.translateService.instant('VERIFICATION_VALIDATING_DESC'),\n status: 'current'\n },\n {\n label: this.translateService.instant('VERIFICATION_COMPLETE'),\n status: 'incomplete'\n }\n ];\n }\n )\n );\n }\n }\n\n continue() {\n this.processing = true;\n\n this.bsAuthService.fetchUserAttributes(true).subscribe(\n attributes => {\n const intercomUserId = attributes['intercom_external_id'];\n if (intercomUserId) {\n const regex = /%1\\$s/gi;\n const data = {\n app_id: this.env.intercomAppId,\n widget: {\n activator: '#intercom',\n },\n name: attributes['first_name'] + ' ' + attributes['last_name'],\n phone: attributes['phone_number'],\n email: attributes['email'],\n user_id: intercomUserId,\n guid: attributes['guid'],\n 'crm link': this.env.crmUrl.replace(regex, attributes['sf_contact_id'] as string),\n };\n this.featureFlagSvc.getFlag(KnownFeatureFlags.ENABLESALESFORCEMESSAGING)\n .pipe(\n tap(enableSalesforce => {\n if(!enableSalesforce) {\n this.intercom.boot(data);\n }\n })\n )\n .subscribe();\n }\n this.featureFlagService.featureFlagsReady.pipe(\n first(ready => ready)\n ).subscribe(() => {\n this.router.navigate(['onboarding']);\n });\n\n this.featureFlagService.initializeFeatureFlag(attributes);\n\n }\n )\n }\n\n ngOnDestroy() {\n this.sub.unsubscribe();\n }\n}\n","<brightside-web-eligibility-check\n *ngIf=\"company\"\n [showBackButton]=\"true\"\n [emitBackButton]=\"true\"\n [analyticName]=\"'verify_eligibility'\"\n [analyticEventProps]=\"{'customer type': customerType, 'verification type': employmentType}\"\n (identitySubmitted)=\"onIdentityComplete($event)\"\n (backEmitted)=\"goBack(company)\">\n <div title-copy>{{ titleKey | translate:{company:company|titlecase} }}</div>\n <div intro-paragraph>\n <bw-paragraph>\n {{ bodyKey | translate }}\n </bw-paragraph>\n </div>\n</brightside-web-eligibility-check>\n","import {Component, OnDestroy, OnInit} from '@angular/core';\nimport { CompanyService, FirebaseService} from \"@brightside-web/desktop/data-access/shared\";\nimport {from, Subscription, forkJoin} from \"rxjs\";\nimport {Router} from \"@angular/router\";\n\nimport {\n BsAuthService,\n BsCacheService\n} from \"@brightside-web/desktop/data-access/core-services\";\n\nimport {RegistrationService} from \"@brightside-web/desktop/data-access/onboarding\";\nimport {LanguageSelectorService} from \"@brightside-web/desktop/feature/language-selection\";\n\n@Component({\n selector: 'brightside-web-indentity',\n templateUrl: './identity.component.html',\n styleUrls: ['./identity.component.scss']\n})\nexport class IdentityComponent implements OnInit, OnDestroy {\n\n sub = new Subscription();\n company: string;\n employmentType: string;\n customerType: string;\n titleKey = 'VERIFY_ELIGIBILITY_TITLE';\n bodyKey = 'VERIFY_ELIGIBILITY_DESC';\n regType: string;\n redirectTimeout: number;\n referrerType: string;\n private getProfileTimeout = 0;\n\n constructor(\n private companyService: CompanyService,\n private router: Router,\n private analytics: FirebaseService,\n private regSvc: RegistrationService,\n private languageSelectSvc: LanguageSelectorService,\n private bsAuthService: BsAuthService,\n private bsCacheService: BsCacheService\n ) {\n\n forkJoin([\n from(this.bsCacheService.getItem('customerType')),\n from(this.bsCacheService.getItem('registrationType')),\n from(this.bsCacheService.getItem('referrerType')),\n from(this.bsCacheService.getItem('employmentType'))\n ]).subscribe(\n ([customerType, registrationType, referrerType, employmentType]) => {\n\n this.customerType = customerType;\n this.regType = registrationType ?? 'regular';\n this.referrerType = referrerType ?? '';\n this.employmentType = employmentType;\n\n if (this.employmentType === 'dependent') {\n this.titleKey = 'VERIFY_ELIGIBILITY_DEPENDENT_TITLE';\n this.bodyKey = 'VERIFY_ELIGIBILITY_DEPENDENT_DESC';\n }\n if (this.regSvc.skipAccountCreation) {\n this.titleKey = 'VERIFY_ELIGIBILITY_REFERRAL_TITLE';\n this.bodyKey = 'VERIFY_ELIGIBILITY_REFERRAL_DESC';\n }\n\n this.sub.add(\n this.companyService.company.subscribe(\n value => {\n if (value !== '') {\n this.company = value;\n clearTimeout(this.redirectTimeout);\n } else {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // this.redirectTimeout = setTimeout(\n // () => {this.router.navigate(['registration', 'select-employer']);}\n // , 500\n // );\n }\n }\n )\n )\n }\n );\n }\n\n ngOnInit(): void {\n }\n\n ngOnDestroy() {\n this.sub.unsubscribe();\n }\n\n onIdentityComplete(event: boolean) {\n this.continueToStatus()\n }\n\n goBack(company: string) {\n this.router.navigate(['registration', 'type']);\n }\n\n registrationAnalytics() {\n // this was grabbing the below 2 lines from cache again, but don't think it is necessary\n const regType = this.regType;\n const refType = this.referrerType;\n const eventProps = {'registration type': regType};\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (refType) eventProps['referral type'] = refType;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (this.company) eventProps['company'] = this.company;\n this.analytics.logEvent('registration_completed', eventProps);\n }\n\n continueToStatus() {\n if (this.languageSelectSvc.activeLang !== 'en') {\n this.languageSelectSvc.use(this.languageSelectSvc.activeLang);\n }\n\n // we need to wait for the server to do its thing\n setTimeout(()=>{\n this.getProfileUntilResults();\n }, 500);\n }\n\n getProfileUntilResults() {\n this.bsAuthService.getToken().subscribe({\n next: tokenResp => {\n this.bsAuthService.fetchUserAttributes(true).subscribe({\n next: attributes => {\n if (attributes['guid']) {\n this.analytics.setUserId(attributes['guid']);\n this.bsCacheService.setItem(\"GUID\", attributes['guid']);\n this.registrationAnalytics();\n this.router.navigate(['registration', 'status']);\n } else if (this.getProfileTimeout >= 10) {\n throw Error('Profile not updating');\n } else {\n setTimeout(()=>{\n this.getProfileTimeout++;\n this.getProfileUntilResults();\n }, 500);\n }\n }\n })\n }\n });\n }\n\n}\n","<bw-action-article [brightsideWebFb]=\"{ event_name: analyticsName }\" *ngIf=\"company\">\n <ui-nav-exit-back header-actions [trackingDetail]=\"{ event_name: 'select_client_type_dismissed' }\" (exitActionHandler)=\"goBack()\"></ui-nav-exit-back>\n\n <div header-title>\n <div class=\"flex-row mb-md\">\n <typography title-medium class=\"mr-md\">\n {{ \"SELECT_EMPLOYEE_TYPE_TITLE\" | translate }}\n </typography>\n <img *ngIf=\"!displayDefaultIcon\" width=\"52\" src=\"{{ cdnUrl }}images/app/{{company|lowercase}}.png\" (error)=\"displayDefaultIcon = true\">\n </div>\n </div>\n <div content-section>\n <bw-spinner brightsideWebTimeout *ngIf=\"processing\"></bw-spinner>\n <bw-action-cell\n label=\"{{ 'EMPLOYEE' | translate }}\"\n detail=\"{{ 'EMPLOYEE_DESC' | translate:{article:article,company:company|titlecase} }}\"\n iconName=\"chevron_right\"\n [emphasize]=\"true\"\n class=\"full-width\"\n (actionCellClick)=\"submitClientType('employment');\"\n ></bw-action-cell>\n <bw-action-cell\n label=\"{{ 'HOUSEHOLD_MEMBER' | translate }}\"\n detail=\"{{ 'HOUSEHOLD_MEMBER_DESC' | translate:{article:article,company:company|titlecase} }}\"\n iconName=\"chevron_right\"\n [emphasize]=\"true\"\n class=\"full-width\"\n (actionCellClick)=\"submitClientType('dependent');\"\n ></bw-action-cell>\n <bw-action-cell *ngIf=\"userFromSubDomain\"\n label=\"{{ 'NEITHER' | translate }}\"\n detail=\"{{ 'NOT_AFFILIATED_DESC' | translate:{article:article,company:company|titlecase} }}\"\n iconName=\"chevron_right\"\n [emphasize]=\"true\"\n class=\"full-width\"\n (actionCellClick)=\"submitClientType('neither');\"\n ></bw-action-cell>\n </div>\n</bw-action-article>\n","import {Component, OnDestroy} from '@angular/core';\nimport {\n AuthService,\n CompanyService,\n FirebaseService,\n RequiredVerificationService\n} from \"@brightside-web/desktop/data-access/shared\";\nimport {Subscription} from \"rxjs\";\nimport {Environment} from \"@brightside-web/micro/core/environment\";\nimport {Router} from \"@angular/router\";\nimport {\n BsCacheService\n} from '@brightside-web/desktop/data-access/core-services';\nimport {RegistrationService} from \"@brightside-web/desktop/data-access/onboarding\";\n\n@Component({\n selector: 'brightside-web-client-type',\n templateUrl: './client-type.component.html',\n styleUrls: ['./client-type.component.scss']\n})\nexport class ClientTypeComponent implements OnDestroy {\n _company: string;\n\n set company(value:string) {\n this._company = value;\n this.article = this.getPrefixArticle(this.company);\n }\n\n get company() : string {\n return this._company;\n }\n\n _getCompanyAttempts = 0;\n displayDefaultIcon = false;\n\n set getCompanyAttempts(value: number) {\n this._getCompanyAttempts = value;\n }\n\n get getCompanyAttempts() {\n return this._getCompanyAttempts;\n }\n\n cdnUrl: string;\n sub = new Subscription();\n analyticsName = 'select_client_type';\n article: string;\n processing: boolean;\n userFromSubDomain: boolean;\n\n constructor(\n private authService: AuthService,\n private companyService: CompanyService,\n private env: Environment,\n private router: Router,\n private analytics: FirebaseService,\n private requiredVeriService: RequiredVerificationService,\n private regSvc: RegistrationService,\n private bsCacheService: BsCacheService\n ) {\n this.cdnUrl = this.env.cdnUrl;\n Promise.all([\n this.bsCacheService.getItem('fromSubdomain'),\n this.bsCacheService.getItem('employmentType')\n ]).then(\n values => {\n this.userFromSubDomain = values[0] ?? false;\n if (this.regSvc.skipAccountCreation) {\n this.bsCacheService.setItem('employmentType',\n this.regSvc.referralItems?.['employmentType'] ?? values[1]);\n this.router.navigate(['/eligibility/identity']);\n }\n }\n )\n }\n\n ngOnInit() {\n this.sub.add(\n this.companyService.company.subscribe(\n value => {\n this.getCompanyAttempts++;\n if (value) {\n this.company = value;\n }\n }\n )\n )\n }\n\n getPrefixArticle(stringVal: string): string {\n const vowels = [\"a\", \"e\", \"i\", \"o\", \"u\"]\n for (const vowel of vowels) {\n\n if (stringVal && stringVal.startsWith(vowel)) {\n return \"an\";\n }\n }\n return \"a\"\n }\n\n goBack() {\n this.bsCacheService.removeItem('fromSubdomain');\n this.analytics.logEvent(`${this.analyticsName}_dismissed`);\n this.router.navigate(['eligibility/select-employer']);\n }\n\n submitClientType(type: string) {\n this.processing = true;\n if (type === 'neither') {\n this.analytics.logEvent(`${this.analyticsName}_dismissed`);\n this.goBack();\n } else {\n this.analytics.logEvent(`${this.analyticsName}_tapped`);\n this.setItemsForVerificaitonSvc(this.company, type);\n }\n }\n\n setItemsForVerificaitonSvc(company: string, employmentType: string) {\n this.requiredVeriService.company = this.company;\n this.requiredVeriService.employmentType = employmentType;\n this.bsCacheService.setItem('employmentType', employmentType).then(\n () => {\n this.router.navigate(['/eligibility/identity']);\n }\n );\n }\n\n logoLoaded(event:unknown) {\n\n }\n\n ngOnDestroy() {\n this.sub.unsubscribe();\n }\n\n}\n","import { Component, OnDestroy, inject, Inject } from '@angular/core';\nimport { RegistrationService, PrecheckResponse, ClientType } from '@brightside-web/desktop/data-access/onboarding';\nimport { AxiosError } from 'axios';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\nimport * as moment from 'moment';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport {\n BsCacheService\n} from '@brightside-web/desktop/data-access/core-services';\n\nimport { Subscription } from 'rxjs';\nimport {\n ApiResponse,\n AuthSsoService,\n InviteService,\n FirebaseService,\n CompanyService\n} from '@brightside-web/desktop/data-access/shared';\nimport { EMAIL_PATTERN } from '@brightside-web/shared/desktop';\nimport { Environment } from '@brightside-web/micro/core/environment';\n\nimport { CONTROL_LAST_FOUR } from \"@brightside-web/shared/desktop\";\n\n@Component({ template: '' })\nexport class IdentityVerification implements OnDestroy {\n\n protected bsCacheService = inject(BsCacheService);\n protected env = inject(Environment);\n protected registrationService = inject(RegistrationService);\n protected analytics = inject(FirebaseService);\n protected router = inject(Router);\n protected activatedRoute = inject(ActivatedRoute);\n protected companyService = inject(CompanyService);\n\n public signUpInputForm: FormGroup;\n error: boolean;\n processing: boolean;\n sub = new Subscription();\n email_pattern = EMAIL_PATTERN;\n signInModalVisible: boolean;\n eligibilityError: boolean;\n\n constructor(\n ) {\n this.signUpInputForm = new FormGroup({\n email: new FormControl('', [\n Validators.required,\n Validators.email,\n Validators.pattern(new RegExp(this.email_pattern))\n ]),\n firstName: new FormControl('', [\n Validators.required,\n Validators.minLength(2)]),\n lastName: new FormControl('', [\n Validators.required,\n Validators.minLength(2)]),\n last4ssn: new FormControl('', [\n Validators.required,\n Validators.maxLength(4),\n Validators.minLength(4),\n Validators.pattern('(\\\\d{4})'),\n ]),\n });\n const body = document.getElementsByTagName('body')[0];\n body.classList.add('signup');\n }\n\n precheck(): void {\n //Clear any household dep info\n InviteService.clearCacheHousehold();\n if (this.signUpInputForm.valid) {\n this.processing = true;\n this.sub.add(\n this.registrationService\n .newRegistrationPrecheck({\n first_name: this.signUpInputForm.controls['firstName'].value,\n last_name: this.signUpInputForm.controls['lastName'].value,\n last_four_ssn: this.signUpInputForm.controls['last4ssn'].value,\n date_of_birth: this.transformDob(),\n })\n .subscribe(\n (resp: PrecheckResponse) => {\n this.processing = false;\n this.handleResponse(resp);\n },\n (err: AxiosError) => {\n this.processing = false;\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n this.handleResponse(typeof err?.response?.data === 'object' ? err.response.data : {});\n }\n )\n );\n }\n }\n\n protected handleResponse(resp: PrecheckResponse): void {\n switch (resp.statusCode) {\n case 200:\n this.handle200(resp.company, resp.clientType);\n break;\n case 412:\n this.handle412();\n break;\n case 403:\n this.handle403();\n break;\n case 404:\n this.handle404();\n break;\n case 402:\n this.handle402();\n break;\n default:\n this.handleError(resp);\n break;\n }\n\n }\n\n private transformDob(): string {\n let output = '';\n const input = this.signUpInputForm.controls['dateOfBirth'] ? this.signUpInputForm.controls['dateOfBirth'].value : undefined;\n\n if (input) {\n output = moment(input, 'MM/DD/YYYY').format('YYYY-MM-DD');\n // some of the date inputs provide correct format\n if (output.toLowerCase() === 'invalid date') {\n output = input;\n }\n }\n return output;\n }\n\n handleError(resp: ApiResponse) {\n this.error = true;\n\n if (resp.statusCode === 409) {\n this.analytics.logEvent('error_shown', {\n 'error id': 'invalid_identity_modal'\n });\n } else {\n this.analytics.logEvent('error_shown', {\n 'error id': 'invalid_identity_modal',\n });\n }\n }\n\n handle412() {\n this.signInModalVisible = true;\n }\n\n protected cacheSignupForm() {\n this.bsCacheService.setItem('firstName', this.signUpInputForm.controls['firstName'].value);\n this.bsCacheService.setItem('lastName', this.signUpInputForm.controls['lastName'].value);\n this.bsCacheService.setItem('last4ssn', this.signUpInputForm.controls['last4ssn'].value);\n this.bsCacheService.setItem('email', this.signUpInputForm.controls['email'].value);\n }\n\n handle200(company: string, clientType: ClientType) {\n this.bsCacheService.setItem('create-account', 'allowed');\n this.cacheSignupForm();\n this.bsCacheService.setItem('dob', this.transformDob());\n this.companyService.setCompany(company);\n this.bsCacheService.setItem('clientType', clientType);\n\n // const redirect = AuthSsoService.getRedirectTo(this.env.oauth,company);\n // if (redirect && clientType === ClientType.Primary) {\n // window.location.assign(redirect);\n // return;\n // }\n\n this.router.navigate(['..', 'create-account'], { relativeTo: this.activatedRoute });\n }\n\n ngOnDestroy(): void {\n this.sub.unsubscribe();\n }\n\n signIn() {\n RegistrationService.clearOnboardingCache();\n this.router.navigate(['/sign_in']);\n }\n\n private handle402() {\n this.eligibilityError = true;\n }\n\n private handle404() {\n InviteService.preCacheHousehold({\n fName: this.signUpInputForm.controls['firstName'].value,\n lName: this.signUpInputForm.controls['lastName'].value,\n dateOfBirth: this.transformDob(),\n lastFourSSN: this.signUpInputForm.controls['last4ssn'].value,\n email: this.signUpInputForm.controls['email'].value,\n });\n this.router.navigate(['registration', 'discover', 'employer']);\n }\n\n private handle403() {\n\n InviteService.preCacheHousehold({\n fName: this.signUpInputForm.controls['firstName'].value,\n lName: this.signUpInputForm.controls['lastName'].value,\n dateOfBirth: '',\n lastFourSSN: this.signUpInputForm.controls['last4ssn'].value,\n email: this.signUpInputForm.controls['email'].value,\n });\n\n\n // Verify birthday guard wants these items from cache\n this.bsCacheService.setItem('firstName', this.signUpInputForm.controls['firstName'].value);\n this.bsCacheService.setItem('lastName', this.signUpInputForm.controls['lastName'].value);\n this.bsCacheService.setItem('last4ssn', this.signUpInputForm.controls['last4ssn'].value);\n this.bsCacheService.setItem('email', this.signUpInputForm.controls['email'].value);\n\n this.router.navigate(['registration', 'birthday']);\n }\n}\n","export const companyList = [\n {\n \"displayName\": \"2nd.MD\",\n \"code\": \"2ndmd\"\n },\n {\n \"displayName\": \"3M Company\",\n \"code\": \"3m\"\n },\n {\n \"displayName\": \"ABB\",\n \"code\": \"abb\"\n },\n {\n \"displayName\": \"Abbott\",\n \"code\": \"abbott\"\n },\n {\n \"displayName\": \"Abbvie\",\n \"code\": \"abbvie\"\n },\n {\n \"displayName\": \"ABM Industries\",\n \"code\": \"abm_industries\"\n },\n {\n \"displayName\": \"Accolade\",\n \"code\": \"accolade\"\n },\n {\n \"displayName\": \"ADP\",\n \"code\": \"adp\"\n },\n {\n \"displayName\": \"Advance Auto Parts\",\n \"code\": \"advance_auto_parts\"\n },\n {\n \"displayName\": \"Advocate Aurora Health\",\n \"code\": \"advocate_aurora_health\"\n },\n {\n \"displayName\": \"Advocate Health Care\",\n \"code\": \"advocate_health_care\"\n },\n {\n \"displayName\": \"Air Products & Chemicals\",\n \"code\": \"airproducts\"\n },\n {\n \"displayName\": \"Alameda County\",\n \"code\": \"alameda_county\"\n },\n {\n \"displayName\": \"Aldi\",\n \"code\": \"aldi\"\n },\n {\n \"displayName\": \"Allegis Group\",\n \"code\": \"allegis_group\"\n },\n {\n \"displayName\": \"Allstate Corporation\",\n \"code\": \"allstate\"\n },\n {\n \"displayName\": \"Amazon\",\n \"code\": \"amazon\"\n },\n {\n \"displayName\": \"American Airlines\",\n \"code\": \"american_airlines\"\n },\n {\n \"displayName\": \"American Family Insurance\",\n \"code\": \"american_family_insurance\"\n },\n {\n \"displayName\": \"AmeriGas\",\n \"code\": \"amerigas\"\n },\n {\n \"displayName\": \"Amphenol Corporation\",\n \"code\": \"amphenol\"\n },\n {\n \"displayName\": \"AMR Holdco\",\n \"code\": \"amr_holdco\"\n },\n {\n \"displayName\": \"Anthem\",\n \"code\": \"anthem\"\n },\n {\n \"displayName\": \"Apple\",\n \"code\": \"apple\"\n },\n {\n \"displayName\": \"Aramark\",\n \"code\": \"aramark\"\n },\n {\n \"displayName\": \"Ascension\",\n \"code\": \"ascension\"\n },\n {\n \"displayName\": \"Assisted Living Concepts\",\n \"code\": \"assisted_living_concepts\"\n },\n {\n \"displayName\": \"Assurant\",\n \"code\": \"assurant\"\n },\n {\n \"displayName\": \"AT&T\",\n \"code\": \"att\"\n },\n {\n \"displayName\": \"Atrium Health\",\n \"code\": \"atrium_health\"\n },\n {\n \"displayName\": \"Autonation\",\n \"code\": \"autonation\"\n },\n {\n \"displayName\": \"Autozone\",\n \"code\": \"autozone\"\n },\n {\n \"displayName\": \"Bacardi Limited\",\n \"code\": \"bacardi_limited\"\n },\n {\n \"displayName\": \"Banner Health\",\n \"code\": \"banner_health\"\n },\n {\n \"displayName\": \"Bayada Home Health Care\",\n \"code\": \"bayada_home_health_care\"\n },\n {\n \"displayName\": \"BayCare Health System\",\n \"code\": \"baycare_health_system\"\n },\n {\n \"displayName\": \"Becton Dickinson & Company\",\n \"code\": \"becton_dickinson_and\"\n },\n {\n \"displayName\": \"Best Buy\",\n \"code\": \"best_buy\"\n },\n {\n \"displayName\": \"BJC Health System\",\n \"code\": \"bjc_health_system\"\n },\n {\n \"displayName\": \"Blue Cross Blue Shield Illinois\",\n \"code\": \"blue_cross_blue_shield_illinois\"\n },\n {\n \"displayName\": \"BNSF Railway\",\n \"code\": \"bnsf_railway\"\n },\n {\n \"displayName\": \"Boehringer Ingelheim USA Corporation\",\n \"code\": \"boehringer_ingelheim_usa\"\n },\n {\n \"displayName\": \"Boeing Company\",\n \"code\": \"boeing\"\n },\n {\n \"displayName\": \"Brightside\",\n \"code\": \"brightside\"\n },\n {\n \"displayName\": \"Brookdale Senior Living\",\n \"code\": \"brookdale_senior_living\"\n },\n {\n \"displayName\": \"C&S Wholesale Grocers\",\n \"code\": \"cs_wholesale_grocers\"\n },\n {\n \"displayName\": \"C.H. Robinson Worldwide\",\n \"code\": \"ch_robinson_worldwide\"\n },\n {\n \"displayName\": \"Cablofil\",\n \"code\": \"legrand\"\n },\n {\n \"displayName\": \"Caesars Entertainment Corporation\",\n \"code\": \"caesars_entertainment\"\n },\n {\n \"displayName\": \"Cardinal Health\",\n \"code\": \"cardinal_health\"\n },\n {\n \"displayName\": \"Cargill\",\n \"code\": \"cargill\"\n },\n {\n \"displayName\": \"Carrier Corporation\",\n \"code\": \"carrier\"\n },\n {\n \"displayName\": \"Caterpillar\",\n \"code\": \"caterpillar\"\n },\n {\n \"displayName\": \"Centene Corporation\",\n \"code\": \"centene\"\n },\n {\n \"displayName\": \"Centurylink\",\n \"code\": \"centurylink\"\n },\n {\n \"displayName\": \"Charter Communications\",\n \"code\": \"charter_communications\"\n },\n {\n \"displayName\": \"Cheesecake Factory\",\n \"code\": \"cheesecake_factory\"\n },\n {\n \"displayName\": \"Chenmed LLC\",\n \"code\": \"chenmed\"\n },\n {\n \"displayName\": \"Chevron Corporation\",\n \"code\": \"chevron\"\n },\n {\n \"displayName\": \"Childrens Hospital Medical Center\",\n \"code\": \"childrens_hospital_medical_center\"\n },\n {\n \"displayName\": \"Chipotle Mexican Grill\",\n \"code\": \"chipotle_mexican_grill\"\n },\n {\n \"displayName\": \"Chobani\",\n \"code\": \"chobani\"\n },\n {\n \"displayName\": \"Cigna\",\n \"code\": \"cigna\"\n },\n {\n \"displayName\": \"Cisco Systems\",\n \"code\": \"cisco_systems\"\n },\n {\n \"displayName\": \"Cleveland Clinic Foundation\",\n \"code\": \"cleveland_clinic_foundation\"\n },\n {\n \"displayName\": \"Colgate Palmolive Company\",\n \"code\": \"colgate_palmolive\"\n },\n {\n \"displayName\": \"Comcast Corporation\",\n \"code\": \"comcast\"\n },\n {\n \"displayName\": \"CommonSpirit Health\",\n \"code\": \"commonspirit_health\"\n },\n {\n \"displayName\": \"Community Health Systems\",\n \"code\": \"community_health_systems\"\n },\n {\n \"displayName\": \"Connectrac\",\n \"code\": \"legrand\"\n },\n {\n \"displayName\": \"Corning\",\n \"code\": \"corning\"\n },\n {\n \"displayName\": \"Corteva\",\n \"code\": \"corteva\"\n },\n {\n \"displayName\": \"Costco Wholesale Corporation\",\n \"code\": \"costco_wholesale\"\n },\n {\n \"displayName\": \"Covenant Care California, LLC\",\n \"code\": \"covenant_care_california\"\n },\n {\n \"displayName\": \"Covenant Health in West Texas and New Mexico\",\n \"code\": \"providence\"\n },\n {\n \"displayName\": \"Cracker Barrel Old Country Store\",\n \"code\": \"cracker_barrel_old_country_store\"\n },\n {\n \"displayName\": \"Cushman & Wakefield\",\n \"code\": \"cushman_and_wakefield\"\n },\n {\n \"displayName\": \"CVS Health\",\n \"code\": \"cvs_health\"\n },\n {\n \"displayName\": \"Danaher Corporation\",\n \"code\": \"danaher\"\n },\n {\n \"displayName\": \"Davita\",\n \"code\": \"davita\"\n },\n {\n \"displayName\": \"Dell\",\n \"code\": \"dell\"\n },\n {\n \"displayName\": \"Dollar General Corporation\",\n \"code\": \"dollar_general\"\n },\n {\n \"displayName\": \"Dollar Tree\",\n \"code\": \"dollar_tree\"\n },\n {\n \"displayName\": \"Domino's Pizza\",\n \"code\": \"dominos_pizza\"\n },\n {\n \"displayName\": \"DuPont\",\n \"code\": \"dupont\"\n },\n {\n \"displayName\": \"Eaton Corporation\",\n \"code\": \"eaton\"\n },\n {\n \"displayName\": \"eBay\",\n \"code\": \"ebay\"\n },\n {\n \"displayName\": \"Ecolab\",\n \"code\": \"ecolab\"\n },\n {\n \"displayName\": \"Elder Care Alliance\",\n \"code\": \"elder_care_alliance\"\n },\n {\n \"displayName\": \"Emerson Electric Company\",\n \"code\": \"emerson_electric\"\n },\n {\n \"displayName\": \"Ensign Group\",\n \"code\": \"ensign_group\"\n },\n {\n \"displayName\": \"EWS\",\n \"code\": \"legrand\"\n },\n {\n \"displayName\": \"Exelon Corporation\",\n \"code\": \"exelon\"\n },\n {\n \"displayName\": \"Farmers Group\",\n \"code\": \"farmers_group\"\n },\n {\n \"displayName\": \"Fedex Corporation\",\n \"code\": \"fedex\"\n },\n {\n \"displayName\": \"Finelite\",\n \"code\": \"legrand\"\n },\n {\n \"displayName\": \"First American Financial Corporation\",\n \"code\": \"first_american_financial\"\n },\n {\n \"displayName\": \"First Solar\",\n \"code\": \"first_solar\"\n },\n {\n \"displayName\": \"Five Below\",\n \"code\": \"fivebelow\"\n },\n {\n \"displayName\": \"Flowers Foods\",\n \"code\": \"flowers_foods\"\n },\n {\n \"displayName\": \"Ford Motor Company\",\n \"code\": \"ford_motor\"\n },\n {\n \"displayName\": \"Gallagher\",\n \"code\": \"gallagher\"\n },\n {\n \"displayName\": \"GE Healthcare\",\n \"code\": \"ge_healthcare\"\n },\n {\n \"displayName\": \"General Electric Company\",\n \"code\": \"general_electric\"\n },\n {\n \"displayName\": \"General Mills\",\n \"code\": \"general_mills\"\n },\n {\n \"displayName\": \"General Motors Company\",\n \"code\": \"general_motors\"\n },\n {\n \"displayName\": \"Genesis Healthcare\",\n \"code\": \"genesis_healthcare\"\n },\n {\n \"displayName\": \"GlobalFoundries US\",\n \"code\": \"globalfoundries_us\"\n },\n {\n \"displayName\": \"Guitar Center\",\n \"code\": \"guitar_center\"\n },\n {\n \"displayName\": \"Hartford Financial Services Group\",\n \"code\": \"hartford_financial_services_group\"\n },\n {\n \"displayName\": \"HCA Healthcare\",\n \"code\": \"hca_healthcare\"\n },\n {\n \"displayName\": \"HCR ManorCare\",\n \"code\": \"hcr_manorcare\"\n },\n {\n \"displayName\": \"Health Care Service Corporation (HCSC)\",\n \"code\": \"health_care_service\"\n },\n {\n \"displayName\": \"Healthcare Services Group\",\n \"code\": \"healthcare_services_group\"\n },\n {\n \"displayName\": \"HEB Grocery Company\",\n \"code\": \"heb_grocery\"\n },\n {\n \"displayName\": \"Hershey Company\",\n \"code\": \"hershey\"\n },\n {\n \"displayName\": \"Hobby Lobby Stores\",\n \"code\": \"hobby_lobby_stores\"\n },\n {\n \"displayName\": \"Home Depot\",\n \"code\": \"home_depot\"\n },\n {\n \"displayName\": \"HP\",\n \"code\": \"hp\"\n },\n {\n \"displayName\": \"Humana\",\n \"code\": \"humana\"\n },\n {\n \"displayName\": \"Hy-Vee\",\n \"code\": \"hy_vee\"\n },\n {\n \"displayName\": \"Illinois Tool Works\",\n \"code\": \"illinois_tool_works\"\n },\n {\n \"displayName\": \"Independence Blue Cross\",\n \"code\": \"independence_blue_cross\"\n },\n {\n \"displayName\": \"Intel Corporation\",\n \"code\": \"intel\"\n },\n {\n \"displayName\": \"Interim Healthcare\",\n \"code\": \"interim_healthcare\"\n },\n {\n \"displayName\": \"International Paper Company\",\n \"code\": \"international_paper\"\n },\n {\n \"displayName\": \"Johnson & Johnson\",\n \"code\": \"johnson_and_johnson\"\n },\n {\n \"displayName\": \"Kadlec Regional Medical Center\",\n \"code\": \"providence\"\n },\n {\n \"displayName\": \"Kaiser Permanente\",\n \"code\": \"kaiser_permanente\"\n },\n {\n \"displayName\": \"Kellogg Company\",\n \"code\": \"kellogg\"\n },\n {\n \"displayName\": \"Keurig Dr Pepper\",\n \"code\": \"keurig_dr_pepper\"\n },\n {\n \"displayName\": \"Kindercare Education LLC\",\n \"code\": \"kindercare_education\"\n },\n {\n \"displayName\": \"Kindred Healthcare\",\n \"code\": \"kindred_healthcare\"\n },\n {\n \"displayName\": \"Kohl's Corporation\",\n \"code\": \"kohls\"\n },\n {\n \"displayName\": \"Kroger Company\",\n \"code\": \"kroger\"\n },\n {\n \"displayName\": \"Labcorp\",\n \"code\": \"labcorp\"\n },\n {\n \"displayName\": \"Las Vegas Sands Corporation\",\n \"code\": \"las_vegas_sands\"\n },\n {\n \"displayName\": \"Legrand\",\n \"code\": \"legrand\"\n },\n {\n \"displayName\": \"Leidos Holdings\",\n \"code\": \"leidos_holdings\"\n },\n {\n \"displayName\": \"LKQ Corporation\",\n \"code\": \"lkq\"\n },\n {\n \"displayName\": \"Lockheed Martin Corporation\",\n \"code\": \"lockheed_martin\"\n },\n {\n \"displayName\": \"Lowes Companies\",\n \"code\": \"lowes_companies\"\n },\n {\n \"displayName\": \"Lululemon Athletica\",\n \"code\": \"lululemon_athletica\"\n },\n {\n \"displayName\": \"Lyondellbasell Industries\",\n \"code\": \"lyondellbasell_industries\"\n },\n {\n \"displayName\": \"Mcdonalds Corporation\",\n \"code\": \"mcdonalds\"\n },\n {\n \"displayName\": \"McKesson Corporation\",\n \"code\": \"mckesson\"\n },\n {\n \"displayName\": \"Meijer\",\n \"code\": \"meijer\"\n },\n {\n \"displayName\": \"Memorial Sloan Kettering Cancer Center\",\n \"code\": \"memorial_sloan_kettering_cancer_center\"\n },\n {\n \"displayName\": \"Menzies Aviation USA\",\n \"code\": \"menzies_aviation_usa\"\n },\n {\n \"displayName\": \"Merck & Co\",\n \"code\": \"merck_and_co\"\n },\n {\n \"displayName\": \"Mercy Health\",\n \"code\": \"mercy_health\"\n },\n {\n \"displayName\": \"MGM Resorts International\",\n \"code\": \"mgm_resorts_international\"\n },\n {\n \"displayName\": \"Mondelez International\",\n \"code\": \"mondelez_international\"\n },\n {\n \"displayName\": \"Monsanto Company\",\n \"code\": \"monsanto\"\n },\n {\n \"displayName\": \"Mount Sinai Health System\",\n \"code\": \"mount_sinai_health_system\"\n },\n {\n \"displayName\": \"MV Transportation\",\n \"code\": \"mv_transportation\"\n },\n {\n \"displayName\": \"NewYork-Presbyterian Hospital\",\n \"code\": \"newyork_presbyterian_hospital\"\n },\n {\n \"displayName\": \"Nike\",\n \"code\": \"nike\"\n },\n {\n \"displayName\": \"Nordstrom\",\n \"code\": \"nordstrom\"\n },\n {\n \"displayName\": \"Northwell Health\",\n \"code\": \"northwell_health\"\n },\n {\n \"displayName\": \"NortonLifeLock\",\n \"code\": \"nortonlifelock\"\n },\n {\n \"displayName\": \"Nvidia Corporation\",\n \"code\": \"nvidia\"\n },\n {\n \"displayName\": \"OhioHealth Corporation\",\n \"code\": \"ohiohealth\"\n },\n {\n \"displayName\": \"Oneok\",\n \"code\": \"oneok\"\n },\n {\n \"displayName\": \"Pacific Medical Centers\",\n \"code\": \"providence\"\n },\n {\n \"displayName\": \"Panda Restaurant Group\",\n \"code\": \"panda_restaurant_group\"\n },\n {\n \"displayName\": \"Panera Bread Company\",\n \"code\": \"panera_bread\"\n },\n {\n \"displayName\": \"Parker Hannifin Corporation\",\n \"code\": \"parker_hannifin\"\n },\n {\n \"displayName\": \"Partners Healthcare\",\n \"code\": \"partners_healthcare\"\n },\n {\n \"displayName\": \"Pass and Seymour\",\n \"code\": \"legrand\"\n },\n {\n \"displayName\": \"Pepsico\",\n \"code\": \"pepsico\"\n },\n {\n \"displayName\": \"Petco Animal Supplies\",\n \"code\": \"petco_animal_supplies\"\n },\n {\n \"displayName\": \"Petsmart\",\n \"code\": \"petsmart\"\n },\n {\n \"displayName\": \"PG&E Corporation\",\n \"code\": \"pge\"\n },\n {\n \"displayName\": \"Phillips 66 Partners LP\",\n \"code\": \"phillips_66_partners_lp\"\n },\n {\n \"displayName\": \"Precision Castparts Corp\",\n \"code\": \"precision_castparts_corp\"\n },\n {\n \"displayName\": \"Procter & Gamble Company\",\n \"code\": \"procter_and_gamble\"\n },\n {\n \"displayName\": \"Progressive Corporation\",\n \"code\": \"progressive\"\n },\n {\n \"displayName\": \"Promedica Health System\",\n \"code\": \"promedica_health_system\"\n },\n {\n \"displayName\": \"Providence Health & Services\",\n \"code\": \"providence\"\n },\n {\n \"displayName\": \"Publix Super Markets\",\n \"code\": \"publix_super_markets\"\n },\n {\n \"displayName\": \"Qualcomm\",\n \"code\": \"qualcomm\"\n },\n {\n \"displayName\": \"Quest Diagnostics\",\n \"code\": \"quest_diagnostics\"\n },\n {\n \"displayName\": \"Quiktrip Corporation\",\n \"code\": \"quiktrip\"\n },\n {\n \"displayName\": \"Renovo Home Partners\",\n \"code\": \"renovo\"\n },\n {\n \"displayName\": \"Republic Services\",\n \"code\": \"republic_services\"\n },\n {\n \"displayName\": \"Roche USA\",\n \"code\": \"roche_usa\"\n },\n {\n \"displayName\": \"RWJ Barnabas Health\",\n \"code\": \"rwj_barnabas_health\"\n },\n {\n \"displayName\": \"Safelite Group\",\n \"code\": \"safelite_group\"\n },\n {\n \"displayName\": \"Safeway\",\n \"code\": \"safeway\"\n },\n {\n \"displayName\": \"Salesforce\",\n \"code\": \"salesforce\"\n },\n {\n \"displayName\": \"SC Johnson\",\n \"code\": \"sc_johnson\"\n },\n {\n \"displayName\": \"Sedgwick\",\n \"code\": \"sedgwick\"\n },\n {\n \"displayName\": \"Senior Lifestyle Corporation\",\n \"code\": \"senior_lifestyle\"\n },\n {\n \"displayName\": \"Sentara Healthcare\",\n \"code\": \"sentara_healthcare\"\n },\n {\n \"displayName\": \"Sherwin Williams Company\",\n \"code\": \"sherwin_williams\"\n },\n {\n \"displayName\": \"Southern Company\",\n \"code\": \"southern\"\n },\n {\n \"displayName\": \"Southwest Airlines Company\",\n \"code\": \"southwest_airlines\"\n },\n {\n \"displayName\": \"Sprouts Farmers Market\",\n \"code\": \"sprouts_farmers_market\"\n },\n {\n \"displayName\": \"St. Joseph Health\",\n \"code\": \"providence\"\n },\n {\n \"displayName\": \"Stage Stores\",\n \"code\": \"stage_stores\"\n },\n {\n \"displayName\": \"Starbucks Corporation\",\n \"code\": \"starbucks\"\n },\n {\n \"displayName\": \"State Farm\",\n \"code\": \"state_farm\"\n },\n {\n \"displayName\": \"Stellantis\",\n \"code\": \"stellantis\"\n },\n {\n \"displayName\": \"Sutter Health\",\n \"code\": \"sutter_health\"\n },\n {\n \"displayName\": \"Swedish Health Services\",\n \"code\": \"providence\"\n },\n {\n \"displayName\": \"Synnex Corporation\",\n \"code\": \"synnex\"\n },\n {\n \"displayName\": \"Sysco Corporation\",\n \"code\": \"sysco\"\n },\n {\n \"displayName\": \"Target Corporation\",\n \"code\": \"target\"\n },\n {\n \"displayName\": \"Temple University\",\n \"code\": \"temple_university\"\n },\n {\n \"displayName\": \"Tenet Healthcare Corporation\",\n \"code\": \"tenet_healthcare\"\n },\n {\n \"displayName\": \"Tenneco\",\n \"code\": \"tenneco\"\n },\n {\n \"displayName\": \"Tesla\",\n \"code\": \"tesla\"\n },\n {\n \"displayName\": \"Textron\",\n \"code\": \"textron\"\n },\n {\n \"displayName\": \"The Coca Cola Company\",\n \"code\": \"the_coca_cola\"\n },\n {\n \"displayName\": \"The Walt Disney Company\",\n \"code\": \"the_walt_disney\"\n },\n {\n \"displayName\": \"TJX Companies\",\n \"code\": \"tjx_companies\"\n },\n {\n \"displayName\": \"Trader Joes Company\",\n \"code\": \"trader_joes\"\n },\n {\n \"displayName\": \"Trinity Health Corporation\",\n \"code\": \"trinity_health\"\n },\n {\n \"displayName\": \"TTEC\",\n \"code\": \"ttec\"\n },\n {\n \"displayName\": \"Tyson Foods\",\n \"code\": \"tyson_foods\"\n },\n {\n \"displayName\": \"Ulta Beauty\",\n \"code\": \"ulta_beauty\"\n },\n {\n \"displayName\": \"Union Pacific Corporation\",\n \"code\": \"union_pacific\"\n },\n {\n \"displayName\": \"United Airlines Holdings\",\n \"code\": \"united_airlines_holdings\"\n },\n {\n \"displayName\": \"United States Steel Corporation\",\n \"code\": \"united_states_steel\"\n },\n {\n \"displayName\": \"Universal Health Services\",\n \"code\": \"universal_health_services\"\n },\n {\n \"displayName\": \"University System of Georgia\",\n \"code\": \"university_system_of_georgia\"\n },\n {\n \"displayName\": \"Unum\",\n \"code\": \"unum\"\n },\n {\n \"displayName\": \"UPMC\",\n \"code\": \"upmc\"\n },\n {\n \"displayName\": \"Verizon\",\n \"code\": \"verizon\"\n },\n {\n \"displayName\": \"Verra Mobility Corporation\",\n \"code\": \"verra_mobility\"\n },\n {\n \"displayName\": \"Vituity\",\n \"code\": \"vituity\"\n },\n {\n \"displayName\": \"W. W. Grainger\",\n \"code\": \"w_w_grainger\"\n },\n {\n \"displayName\": \"Wakefern Food Corporation\",\n \"code\": \"wakefern_food\"\n },\n {\n \"displayName\": \"Walmart\",\n \"code\": \"walmart\"\n },\n {\n \"displayName\": \"Waste Management\",\n \"code\": \"waste_management\"\n },\n {\n \"displayName\": \"Wegmans Food Markets\",\n \"code\": \"wegmans_food_markets\"\n },\n {\n \"displayName\": \"Wellspan Health\",\n \"code\": \"wellspan_health\"\n },\n {\n \"displayName\": \"Wellstar Health System\",\n \"code\": \"wellstar_health_system\"\n },\n {\n \"displayName\": \"Weyerhaeuser Company\",\n \"code\": \"weyerhaeuser\"\n },\n {\n \"displayName\": \"Whatabrands LLC\",\n \"code\": \"whatabrands\"\n },\n {\n \"displayName\": \"Whirlpool Corporation\",\n \"code\": \"whirlpool\"\n },\n {\n \"displayName\": \"Wiremold\",\n \"code\": \"legrand\"\n },\n {\n \"displayName\": \"Wood Group US Holdings\",\n \"code\": \"wood_group_us_holdings\"\n },\n {\n \"displayName\": \"Zappos\",\n \"code\": \"zappos\"\n }\n ];\n\n","<div class=\"list-container\">\n <form [formGroup]=\"searchForm\">\n <bw-input\n [label]=\"'EMPLOYER' | translate\"\n type=\"text\"\n [placeholder]=\"'SEARCH' | translate\"\n formControlName=\"inputText\"\n [disabled]=\"showProcessSpinner\"\n ></bw-input>\n </form>\n\n <bw-spinner *ngIf=\"showProcessSpinner; else notLoading\"></bw-spinner>\n\n <ng-template #notLoading>\n <div *ngIf=\"!hideBeforeTyping || (hideBeforeTyping && !isEmptySearchText)\" class=\"list-display-container\">\n <ng-container *ngIf=\"displayedListItems.length > 0; else noRecordsFound\">\n <bw-cell\n *ngFor=\"let displayItem of displayedListItems\"\n [contentLeft]=\"true\"\n [iconNameRight]=\"'chevron_right'\"\n [separatorType]=\"'full'\"\n (clicked)=\"onCompanyClicked(displayItem.code)\"\n >\n <ng-container content-left>\n <typography text-medium-regular>\n <p>{{ displayItem.displayName }}</p>\n </typography>\n </ng-container></bw-cell\n >\n </ng-container>\n <ng-template #noRecordsFound>\n <p class=\"body bs-light-gray\" style=\"margin-top: 16px; margin-left: 16px; margin-right: 16px;\">\n {{ 'NO_MATCHES' | translate }}\n </p>\n </ng-template>\n </div>\n </ng-template>\n</div>\n","import { Component, OnInit, Output, Input, ViewEncapsulation } from '@angular/core';\nimport { EventEmitter } from '@angular/core';\nimport { FormControl, FormGroup, Validators } from '@angular/forms';\n\nexport interface ListData {\n displayName: string;\n code: string;\n}\n\n @Component({\n selector: 'brightside-web-employer-list',\n templateUrl: './employer-list.component.html',\n styleUrls: ['./employer-list.component.scss'],\n encapsulation: ViewEncapsulation.None,\n })\n export class EmployerListComponent implements OnInit {\n @Input() dataList: ListData[];\n @Input() hideBeforeTyping = true;\n @Input() showProcessSpinner = false;\n\n @Output() listSelected = new EventEmitter();\n\n searchForm: FormGroup;\n displayedListItems: ListData[];\n\n isEmptySearchText = true;\n\n ngOnInit() {\n this.searchForm = new FormGroup({ inputText: new FormControl('', [Validators.required]) });\n this.displayedListItems = this.dataList;\n\n this.inputText?.valueChanges.subscribe((newValue) => {\n const fixedSearchValue = newValue.toLowerCase();\n const checkForMatch = (name: string) => name.toLowerCase().indexOf(fixedSearchValue) === 0;\n\n this.isEmptySearchText = !newValue;\n this.displayedListItems = this.dataList.filter((item) => checkForMatch(item.displayName));\n });\n }\n\n get inputText() {\n return this.searchForm.get('inputText');\n }\n\n onCompanyClicked(code: string) {\n this.listSelected.emit(code);\n }\n}\n\n","\n<bw-spinner *ngIf=\"!displayList; else selectCompany\"></bw-spinner>\n\n<ng-template #selectCompany>\n <bw-action-article [brightsideWebFb]=\"{ event_name: 'collect_employer' }\">\n <div header-title class=\"mb-sm\">\n <typography title-medium>{{ 'SELECT_EMPLOYER_TITLE' | translate }}</typography>\n </div>\n <div content-section>\n <typography text-medium-regular>\n <p class=\"secondary-text mb-sm\">{{ 'SELECT_EMPLOYER_DESC' | translate }}</p>\n </typography>\n <brightside-web-employer-list [showProcessSpinner]=\"processing\" [dataList]=\"employerList\" (listSelected)=\"onCompanySelected($event)\"></brightside-web-employer-list>\n </div>\n <div footer-actions class=\"flex-row row-reverse\"></div>\n </bw-action-article>\n <brightside-web-hr-modal\n *ngIf=\"showHrModal\"\n [title]=\"hrModalDetails.title | translate\"\n [prompt]=\"hrModalDetails.prompt | translate\"\n [brightsideWebFb]=\"hrModalDetails.brightsideWebFb\"\n (dismissed)=\"onDismiss()\"\n >\n </brightside-web-hr-modal>\n</ng-template>\n","import {Component, OnInit, inject} from '@angular/core';\nimport {\n AmplitudeService\n} from '@brightside-web/desktop/data-access/shared';\nimport { ListData } from '@brightside/brightside-ui';\nimport { IdentityVerification } from '../identity-verification';\nimport { companyList } from './select-employer.list';\n\nimport {\n AwsApiWrapperService,\n BsAuthService\n} from \"@brightside-web/desktop/data-access/core-services\";\n\nimport {forkJoin, from, of} from \"rxjs\";\n\ninterface HrModalDetails {\n title: string;\n prompt: string;\n brightsideWebFb: {event_name: string, custom ? : {}};\n firebase ? : {};\n}\n\n@Component({\n templateUrl: './select-employer.component.html',\n})\nexport class SelectEmployerComponent extends IdentityVerification implements OnInit {\n\n bsAuthService = inject(BsAuthService);\n\n displayList = false;\n showHrModal: boolean;\n defaultTitle: string;\n defaultPrompt: string;\n\n hrModalDetails: HrModalDetails = {\n title: 'ERROR_NOT_AVAILABLE_TITLE',\n prompt: 'ERROR_NOT_AVAILABLE_PROMPT',\n brightsideWebFb: { event_name: 'employer_not_supported_shown' },\n firebase: {\n action: 'dismiss',\n page: 'ineligible_client_modal',\n category: 'registration',\n },\n };\n\n employerList: ListData[] = [];\n defaultEmployerList: ListData[] = companyList;\n\n override processing = false;\n company: string;\n customerNumber: string;\n\n private amplitudeService = inject(AmplitudeService);\n private awsApiWrapperService = inject(AwsApiWrapperService);\n\n\n constructor() {\n super();\n this.defaultTitle = 'ERROR_NOT_AVAILABLE_TITLE';\n this.defaultPrompt = 'ERROR_NOT_AVAILABLE_PROMPT';\n }\n\n ngOnInit(): void {\n const fromSubdomain$ = from(this.bsCacheService.getItem('fromSubdomain'));\n const bypassEmployerSelection$ = from(this.bsCacheService.getItem('bypassEmployerSelection'));\n\n forkJoin([fromSubdomain$, bypassEmployerSelection$]).subscribe(([fromSubdomain, bypassEmployerSelection]) => {\n if (fromSubdomain || bypassEmployerSelection) {\n this.displayList = false;\n this.onCompanySelected(this.companyService.getCompany(), true);\n } else {\n this.displayList = true;\n this.loadCompanyList();\n }\n });\n }\n\n private loadCompanyList() {\n this.registrationService.companyList().subscribe(\n (newCompanyList: ListData[]) => {\n this.employerList = newCompanyList || this.defaultEmployerList;\n },\n (_: any) => {\n this.employerList = this.defaultEmployerList;\n }\n );\n }\n\n\n private showModal() {\n this.showHrModal = true;\n this.processing = false;\n this.error = true;\n }\n\n private closeModal() {\n this.showHrModal = false;\n this.processing = false;\n this.error = false;\n }\n\n private fetchCompanyFile(file: string = ''): void {\n if (file === '') {\n if (this.company) {\n file = this.company.toLowerCase();\n } else {\n file = 'app';\n }\n }\n\n this.awsApiWrapperService.get('api-mobile-noauth', `/cdn-resource/resources/configs/${file}.json`, {body: null})\n .then((data) => {\n this.customerNumber = data.supportNumber;\n this.bsCacheService.setItem('supportNumber', this.customerNumber);\n })\n .catch((_) => {\n if (file !== 'app') {\n this.fetchCompanyFile('app');\n } else {\n console.error(`Error, fallback failed~`);\n }\n });\n }\n\n onCompanySelected(code: string, fromSubdomain = false) {\n if (!fromSubdomain) this.analytics.logEvent('collect_employer_tapped');\n this.companyService.setCompany(code);\n this.company = code;\n this.processing = true;\n const payload = {\n company: code\n };\n this.fetchCompanyFile();\n this.sub.add(\n this.registrationService\n .postProvisional(payload, '3')\n .subscribe(\n response => {\n const type = response.type;\n this.bsCacheService.setItem('customerType', type);\n if (response.status && response.status === 'onboarding') {\n this.hrModalDetails.title = 'ERROR_EMPLOYER_ONBOARDING_TITLE';\n this.hrModalDetails.prompt = 'ERROR_EMPLOYER_ONBOARDING_DESC';\n this.hrModalDetails.brightsideWebFb = { event_name: 'employer_not_supported', custom: {type: response.status} };\n this.showModal();\n } else {\n this.sub.add(\n from(this.bsAuthService.fetchUserAttributes()).subscribe(\n (attributes) => {\n this.analytics.setProperties(payload);\n this.amplitudeService.setUserProperties(payload);\n of(this.analytics.setupRemoteConfig()).subscribe(\n () => {\n this.router.navigate(['registration', 'type']);\n }\n );\n }\n )\n );\n }\n },\n error => {\n const errorResp = typeof error?.response?.data === 'object' ? error.response.data : {};\n const statusCode = error?.response?.status || 400;\n switch (statusCode) {\n case 402:\n this.hrModalDetails.title = \"ERROR_EMPLOYER_TITLE\";\n this.hrModalDetails.prompt = \"ERROR_EMPLOYER_DESC\";\n this.hrModalDetails.brightsideWebFb = { event_name: 'employer_not_supported_shown' };\n this.showModal();\n break;\n case 404:\n this.router.navigate(['/']);\n break;\n case 429:\n this.router.navigate(['registration', 'type']);\n break;\n default:\n this.hrModalDetails.title = this.defaultTitle;\n this.hrModalDetails.prompt = this.defaultPrompt;\n this.showModal();\n break;\n }\n }\n )\n );\n }\n\n\n onDismiss() {\n this.analytics.logEvent(`${this.hrModalDetails.brightsideWebFb.event_name}_dismissed`);\n this.closeModal();\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'brightside-web-eligibility-wrapper',\n templateUrl: './eligibility-wrapper.component.html',\n styleUrls: ['./eligibility-wrapper.component.scss'],\n})\nexport class EligibilityWrapperComponent {}\n","<div id=\"eligibility-wrapper\">\n <div class=\"content-wrapper\">\n <router-outlet></router-outlet>\n </div>\n</div>\n","import { Injectable } from '@angular/core';\n\n@Injectable()\nexport class UserEligibilityService {\n\n employmentType: string;\n selectedCompany: string;\n\n constructor() { }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { VerificationStatusComponent } from './verification-status/verification-status.component';\nimport { IdentityComponent } from './identity/identity.component';\nimport { ClientTypeComponent } from './client-type/client-type.component';\nimport { SelectEmployerComponent } from './select-employer/select-employer.component';\nimport { EmployerListComponent } from './select-employer/employer-list/employer-list.component';\n\nimport { RouterModule, Routes } from '@angular/router';\nimport {\n AuthGuard,\n GuidGuard,\n IdentityGuard,\n RequiredVerificationGuard,\n SharedDesktopModule,\n} from '@brightside-web/shared/desktop';\nimport { BrightsideUiModule } from '@brightside/brightside-ui';\nimport { BrightsideUiServicesModule } from '@brightside/brightside-ui-services';\nimport { MicroUiMoleculeModule } from '@micro-ui/molecule';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { SharedAccountModule } from '@brightside-web/shared/account';\nimport { EligibilityWrapperComponent } from './eligibility-wrapper/eligibility-wrapper.component';\nimport { UserEligibilityService } from \"./user-eligibility.service\";\n\nconst routes: Routes = [\n {\n path: '',\n component: EligibilityWrapperComponent,\n children: [\n { path: 'select-employer', component: SelectEmployerComponent, canActivate: [AuthGuard, GuidGuard] },\n { path: 'type', component: ClientTypeComponent, canActivate: [AuthGuard, GuidGuard] },\n { path: 'identity', component: IdentityComponent, canActivate: [AuthGuard, GuidGuard, IdentityGuard] },\n { path: 'status', component: VerificationStatusComponent, canActivate: [AuthGuard, RequiredVerificationGuard] },\n ],\n },\n];\n\n@NgModule({\n imports: [\n BrightsideUiModule,\n BrightsideUiServicesModule,\n CommonModule,\n MicroUiMoleculeModule,\n ReactiveFormsModule,\n RouterModule.forChild(routes),\n SharedDesktopModule,\n TranslateModule,\n SharedAccountModule,\n ],\n declarations: [\n VerificationStatusComponent,\n IdentityComponent,\n ClientTypeComponent,\n SelectEmployerComponent,\n EmployerListComponent,\n EligibilityWrapperComponent,\n ],\n providers: [\n UserEligibilityService\n ]\n})\nexport class DesktopFeatureUserEligibilityModule {}\n"],"x_google_ignoreList":[]}