{ "version": 3, "sources": ["src/app/user/account-api.service.ts", "src/app/myJourney/my-journey-api.service.ts", "src/app/user/signupLogin/global-account.component.ts", "src/app/user/signupLogin/global-account-intro.dialog.html", "src/app/user/signupLogin/global-account-complete.dialog.html", "src/app/user/signupLogin/global-login.component.html", "src/app/user/signupLogin/global-signup.component.html", "src/app/user/signupLogin/signup-login.component.module.ts", "src/app/navigation/navigation-history.service.ts"], "sourcesContent": ["import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport * as Rx from 'rxjs';\r\nimport { tap, switchMap } from 'rxjs/operators';\r\nimport { AppSettingService } from '../app.service';\r\nimport { UserInfoService } from './user-info.service';\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class AccountAPIService {\r\n\tconstructor(\r\n\t\tprivate userInfo: UserInfoService,\r\n\t\tprivate http: HttpClient\r\n\t) { }\r\n\r\n\tprivate url = AppSettingService.appConfig.JourneyAPIUrl + \"Account\";\r\n\r\n\tgetFullInfo(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/GetFullInfo\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetBasicInfo(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/GetBasicInfo\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tupdateFullInfo(data: any): Rx.Observable {\r\n\t\treturn this.http\r\n\t\t\t.put(\r\n\t\t\t\tthis.url + \"/UpdateFullInfo\",\r\n\t\t\t\tdata,\r\n\t\t\t\t{\r\n\t\t\t\t\twithCredentials: true,\r\n\t\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t}\r\n\r\n\tupdateAuthentication(data: any): Rx.Observable {\r\n\t\treturn this.http.put(\r\n\t\t\tthis.url + \"/UpdateAuthentication\",\r\n\t\t\tdata,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t};\r\n\t\r\n\tcreateConnectionCode(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/CreateConnectionCode\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetConnectionCode(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/GetConnectionCode\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tprivate myProfileCahe = {\r\n\t\tpersonGuid: \"\" as string,\r\n\t\tcache: null as any\r\n\t};\r\n\r\n\tupdateMyProfile(profile: any): Rx.Observable {\r\n\t\tthis.myProfileCahe.cache = null;\r\n\t\treturn this.http.put(\r\n\t\t\tthis.url + \"/Profile\",\r\n\t\t\tprofile,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tinitMyProfile(): Promise {\r\n\t\tif (this.userInfo == null || this.userInfo.isAnonymous()) {\r\n\t\t\treturn new Promise((resolve) => {\r\n\t\t\t\tresolve(null);\r\n\t\t\t});\r\n\t\t}\r\n\t\telse {\r\n\t\t\t// ensure we do not throw error\r\n\t\t\treturn Rx.firstValueFrom(this.getMyProfile())\r\n\t\t\t\t.catch((error: any) => {\r\n\t\t\t\t\tconsole.log(\"initMyProfile error: \", error);\r\n\t\t\t\t\t// if we cannot get profile by existing credential, force to log off\r\n\t\t\t\t\tthis.userInfo.clearProfile(true);\r\n\t\t\t\t}).then(() => { });\r\n\t\t}\r\n\t}\r\n\r\n\tgetMyProfile(): Rx.Observable {\r\n\t\tif (this.userInfo.getProfile().PersonGuid !== this.myProfileCahe.personGuid) {\r\n\t\t\tthis.myProfileCahe.cache = null;\r\n\t\t}\r\n\r\n\t\tif (this.myProfileCahe.cache != null) {\r\n\t\t\treturn Rx.of(this.myProfileCahe.cache);\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn this.http.get(\r\n\t\t\t\tthis.url + \"/Profile\",\r\n\t\t\t\t{\r\n\t\t\t\t\twithCredentials: true,\r\n\t\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t\t}\r\n\t\t\t).pipe(tap(\r\n\t\t\t\tresponse => {\r\n\t\t\t\t\t// add \"assets\" to leading\r\n\t\t\t\t\tif (response.Photo.toLowerCase().indexOf(\"/images/\") === 0) {\r\n\t\t\t\t\t\tresponse.Photo = \"assets\" + response.Photo;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (response.CoverPhoto.toLowerCase().indexOf(\"/images/\") === 0) {\r\n\t\t\t\t\t\tresponse.CoverPhoto = \"assets\" + response.CoverPhoto;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.myProfileCahe.personGuid = this.userInfo.getProfile().PersonGuid;\r\n\t\t\t\t\tthis.myProfileCahe.cache = response;\r\n\t\t\t\t}\r\n\t\t\t));\r\n\t\t}\r\n\t}\r\n\r\n\tgetPhotoDefaultList(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/Profile/GetPhotoDefaultList\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t).pipe(tap(\r\n\t\t\tresponse => {\r\n\t\t\t\tresponse.map((x: any) => {\r\n\t\t\t\t\tx.Path = \"assets\" + x.Path;\r\n\t\t\t\t\treturn x;\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t));\r\n\t}\r\n\r\n\tgetCoverPhotoDefaultList(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/Profile/GetCoverPhotoDefaultList\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t).pipe(tap(\r\n\t\t\tresponse => {\r\n\t\t\t\tresponse.map((x: any) => {\r\n\t\t\t\t\tx.Path = \"assets\" + x.Path;\r\n\t\t\t\t\treturn x;\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t));\r\n\t}\r\n\r\n\tsearchDreamJob(title: string, limit:number, offset:number): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/Profile/SearchDreamJob?kw=\" + encodeURIComponent(title) + \"&limit=\" + limit.toString() + \"&offset=\" + offset.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tdeleteDreamJob(): Rx.Observable {\r\n\t\tthis.myProfileCahe.cache = null;\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/Profile/DeleteDreamJob\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetRoleModelSuggestList(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/Profile/GetRoleModelSuggestList\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetMyProgress(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/MyProgress\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class VisitHistoryAPIService {\r\n\tconstructor(\r\n\t\tprivate userInfo: UserInfoService,\r\n\t\tprivate http: HttpClient\r\n\t) { }\r\n\r\n\tprivate url = AppSettingService.appConfig.JourneyAPIUrl + \"VisitHistory\";\r\n\r\n\tgetRecent(offset: number, limit: number): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/Recent?limit=' + limit.toString() + '&offset=' + offset.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tcreateHistoryEntry(historyEntry: any): Rx.Observable {\r\n\t\treturn this.http.post(\r\n\t\t\tthis.url,\r\n\t\t\thistoryEntry,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tclearHistory(): Rx.Observable {\r\n\t\treturn this.http.patch(\r\n\t\t\tthis.url + '/ClearHistory',\r\n\t\t\tnull,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport interface IProfessionalHistory {\r\n\tHistoryId: string,\r\n\tOnetCode: string,\r\n\tOccupationName: string,\r\n\tCareerId: string,\r\n\tCompanyName: string,\r\n\tCity: string,\r\n\tState: string,\r\n\tStartDate: string,\r\n\tEndDate: string,\r\n\tCurrentAttend: boolean,\r\n\tRegularJob: boolean,\r\n\tTotalMinute: number,\r\n\tTotalHour: string\r\n}\r\n\r\nexport class ProfessionalHistory implements IProfessionalHistory {\r\n\tHistoryId = \"\";\r\n\tOnetCode = \"\";\r\n\tOccupationName = \"\";\r\n\tCareerId = \"\";\r\n\tCompanyName = \"\";\r\n\tCity = \"\";\r\n\tState = \"\";\r\n\tStartDate: string = null;\r\n\tEndDate: string = null;\r\n\tCurrentAttend: boolean = true;\r\n\tRegularJob: boolean = true;\r\n\tTotalMinute: number = 0;\r\n\tTotalHour: string = \"\";\r\n\r\n\tconstructor(isRegular: boolean) {\r\n\t\tthis.RegularJob = isRegular;\r\n\t}\r\n\r\n\treset() {\r\n\t\tthis.HistoryId = \"\";\r\n\t\tthis.OnetCode = \"\";\r\n\t\tthis.OccupationName = \"\";\r\n\t\tthis.CareerId = \"\";\r\n\t\tthis.CompanyName = \"\";\r\n\t\tthis.City = \"\";\r\n\t\tthis.State = \"\";\r\n\t\tthis.StartDate = null;\r\n\t\tthis.EndDate = null;\r\n\t\tthis.CurrentAttend = true;\r\n\t\tthis.TotalMinute = 0;\r\n\t\tthis.TotalHour = \"\";\r\n\t}\r\n}\r\n\r\nexport interface IProfessionalHistoryHour {\r\n\tJobDate: string,\r\n\tFromTime: string,\r\n\tToTime: string,\r\n\tTotalMinute: number\r\n}\r\n\r\nexport class ProfessionalHistoryHour implements IProfessionalHistoryHour {\r\n\tJobDate = \"\";\r\n\tFromTime = \"\";\r\n\tToTime = \"\";\r\n\tTotalMinute = 0;\r\n}\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class ProfessionalHistoryAPIService {\r\n\tconstructor(\r\n\t\tprivate userInfo: UserInfoService,\r\n\t\tprivate http: HttpClient\r\n\t) { }\r\n\r\n\tprivate url = AppSettingService.appConfig.JourneyAPIUrl + \"ProfessionalHistory\";\r\n\t\r\n\tgetHistories(regularJob: boolean, userId: string, limit: number, offset: number): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"?regularJob=\" + regularJob.valueOf() + \"&userId=\" + encodeURIComponent(userId) + \"&limit=\" + limit.toString() + \"&offset=\" + offset.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tsaveHistory(job: IProfessionalHistory): Rx.Observable {\r\n\t\treturn this.http.post(\r\n\t\t\tthis.url,\r\n\t\t\tjob,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetHistory(historyId: number): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/\" + historyId.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tdeleteHistory(historyId: number): Rx.Observable {\r\n\t\treturn this.http.delete(\r\n\t\t\tthis.url + \"/\" + historyId.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetHistoryHour(historyId: number): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/\" + + historyId.toString() + \"/Hour\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tsaveHistoryHour(historyId: number, hours: IProfessionalHistoryHour[]): Rx.Observable {\r\n\t\treturn this.http.post(\r\n\t\t\tthis.url + \"/\" + + historyId.toString() + \"/Hour\",\r\n\t\t\thours,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\r\nexport type tSchoolType = \"IPEDS\" | \"NCES\" | \"Certificate\" | \"\";\r\n\r\nexport interface ISchoolHistory {\r\n\tSchoolHistoryId?: string,\r\n\tSchoolId: string,\r\n\tSchoolType: tSchoolType,\r\n\tSchoolName: string,\r\n\tDateFrom: Date,\r\n\tDateTo?: Date,\r\n\tCurrentlyAttend?: boolean,\r\n\tCertificateId?: string,\r\n\tCIPCode?: string,\r\n\tStatus?: string,\r\n\tFromMonth?: string,\r\n\tFromYear?: string,\r\n\tToMonth?: string,\r\n\tToYear?: string,\r\n}\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class SchoolHistoryAPIService {\r\n\tconstructor(\r\n\t\tprivate userInfo: UserInfoService,\r\n\t\tprivate http: HttpClient\r\n\t) { }\r\n\tprivate url = AppSettingService.appConfig.JourneyAPIUrl + \"SchoolHistory\";\r\n\r\n\tgetSchoolHistory(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetSchoolInHistory(id: string): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/\" + encodeURIComponent(id),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tsaveSchoolHistory(school: ISchoolHistory): Rx.Observable {\r\n\t\treturn this.http.post(\r\n\t\t\tthis.url,\r\n\t\t\tschool,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tdeleteSchoolHistory(historyId: string): Rx.Observable {\r\n\t\treturn this.http.delete(\r\n\t\t\tthis.url + \"/\" + historyId.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\thasSchoolHistory(): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/HasSchool\",\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\r\nexport type tWidgetName = \"RecommendedCareer\" | \"StudentPicker\" | \"SkillsGap | MyResource | JobPosting\";\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class WidgetAPIService {\r\n\tconstructor(\r\n\t\tprivate http: HttpClient,\r\n\t\tprivate userInfo: UserInfoService\r\n\t) { }\r\n\r\n\tprivate widgetUrl = AppSettingService.appConfig.JourneyAPIUrl + \"Widget\";\r\n\r\n\tsaveUserWidget(name: tWidgetName, enable?: boolean, collapse?: boolean, setting?: any): Rx.Observable {\r\n\t\tlet data = {\r\n\t\t\tEnable: enable,\r\n\t\t\tCollapse: collapse,\r\n\t\t\tSetting: setting\r\n\t\t}\r\n\t\tif (name === null || name.trim() === \"\") {\r\n\t\t\treturn Rx.throwError(() => { \"please provide name\" });\r\n\t\t}\r\n\t\treturn this.http.post(\r\n\t\t\tthis.widgetUrl + \"/User/\" + name.trim(),\r\n\t\t\tdata,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetUserWidget(name: tWidgetName): Rx.Observable {\r\n\t\tif (name === null || name.trim() === \"\") {\r\n\t\t\treturn Rx.throwError(() => { \"please provide name\" });\r\n\t\t}\r\n\t\treturn this.http.get(\r\n\t\t\tthis.widgetUrl + \"/User/\" + name.trim(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tprivate _enableSkillsGap: boolean = null;\r\n\tenableSkillsGap(): Rx.Observable {\r\n\t\tif (this._enableSkillsGap != null) {\r\n\t\t\treturn Rx.of(this._enableSkillsGap);\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn this.http.get(\r\n\t\t\t\tthis.widgetUrl + \"/User/SkillsGap\",\r\n\t\t\t\t{\r\n\t\t\t\t\twithCredentials: true,\r\n\t\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t\t}\r\n\t\t\t).pipe(switchMap(\r\n\t\t\t\t(response) => {\r\n\t\t\t\t\tthis._enableSkillsGap = response.Enable;\r\n\t\t\t\t\treturn Rx.of(this._enableSkillsGap);\r\n\t\t\t\t}\r\n\t\t\t));\r\n\t\t}\r\n\t}\r\n\r\n\tprivate _enableJobPosting: boolean = null;\r\n\tenableJobPosting(): Rx.Observable {\r\n\t\tif (this._enableJobPosting != null) {\r\n\t\t\treturn Rx.of(this._enableJobPosting);\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn this.http.get(\r\n\t\t\t\tthis.widgetUrl + \"/User/JobPosting\",\r\n\t\t\t\t{\r\n\t\t\t\t\twithCredentials: true,\r\n\t\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t\t}\r\n\t\t\t).pipe(switchMap(\r\n\t\t\t\t(response) => {\r\n\t\t\t\t\tthis._enableJobPosting = response.Enable;\r\n\t\t\t\t\treturn Rx.of(this._enableJobPosting);\r\n\t\t\t\t}\r\n\t\t\t));\r\n\t\t}\r\n\t}\r\n}\r\n\r\n\r\n", "import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport * as Rx from 'rxjs';\r\nimport { tap, map } from 'rxjs/operators';\r\nimport { AppSettingService } from '../app.service';\r\nimport { UserInfoService } from '../user/user-info.service';\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class MyJourneyAPIService {\r\n\tconstructor(\r\n\t\tprivate userInfo: UserInfoService,\r\n\t\tprivate http: HttpClient\r\n\t) { }\r\n\t\r\n\tprivate url = AppSettingService.appConfig.JourneyAPIUrl + \"MyJourney\";\r\n\r\n\tsearch(startPoint: string, endPoint: string, passthroughId: string, mapOptionId: string = 'default'): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/Search/' + mapOptionId + '/' + startPoint + \"/\" + endPoint + \"/\" + passthroughId,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tpassthrough(startPoint: string, endPoint: string, mapOptionId: string = 'default'): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/Passthrough/' + mapOptionId + '/' + startPoint + \"/\" + endPoint,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tsave(journeyId: string, journeyName: string): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/User/Save/' + journeyId + '?name=' + encodeURIComponent(journeyName),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\teditPrimaryJourney(journeyData: any): Rx.Observable {\r\n\t\t//if edit journey same journeyUserId as persist journey id, then clear cache\r\n\t\treturn this.http.post(\r\n\t\t\tthis.url + '/User/EditPrimary',\r\n\t\t\t{\r\n\t\t\t\t\"journeyId\": journeyData.journeyId,\r\n\t\t\t\t\"journeyName\": journeyData.journeyName,\r\n\t\t\t\t\"journeyWaypoints\": journeyData.journeyWaypoints\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\teditLocalJourney(journeyData: any): Rx.Observable {\r\n\t\treturn this.http.post(\r\n\t\t\tthis.url + '/User/EditSub',\r\n\t\t\t{\r\n\t\t\t\t\"journeyUserId\": journeyData.journeyUserId,\r\n\t\t\t\t\"journeyWaypoints\": journeyData.journeyWaypoints,\r\n\t\t\t\t\"parentJourneyLocalId\": journeyData.parentJourneyLocalId\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tremove(journeyUserId: string): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/User/Remove/' + journeyUserId,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tlist(userId:string, offset?:number, limit?:number) : Rx.Observable {\r\n\t\tif (!offset) {\r\n\t\t\toffset = 0;\r\n\t\t}\r\n\t\tif (!limit) {\r\n\t\t\tlimit = 500;\r\n\t\t}\r\n\t\tuserId = (userId??\"\").trim();\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/User?offset=\" + offset + \"&limit=\" + limit + (userId != \"\" ? \"&UserId=\" + userId : \"\"),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetUserJourneyDetail(journeyUserId: string, userId: string, mapObjectId: string): Rx.Observable {\r\n\t\tuserId = userId??\"\";\r\n\t\tmapObjectId = mapObjectId ?? \"\";\r\n\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/User/\" + journeyUserId + \"?UserId=\" + encodeURIComponent(userId) + \"&mapObjectId=\" + encodeURIComponent(mapObjectId),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetJourneyDetail(journeyId: string): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/Journey/' + journeyId,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\ttoggleUserJourneyPersist(journeyUserId: string, persist: boolean, showPersist:boolean): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/User/Persist/' + journeyUserId + '/' + persist.toString() + (showPersist == null ? \"\" : \"?show=\" + showPersist.toString()),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetUserJourneyPersist(mapObjectId:string): Rx.Observable {\r\n\t\tmapObjectId = mapObjectId == null ? \"\" : mapObjectId;\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + \"/User/Persist?mapObjectId=\" + mapObjectId,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t).pipe(\r\n\t\t\tmap(\r\n\t\t\t\tresponse => {\r\n\t\t\t\t\treturn response.Detail;\r\n\t\t\t\t}\r\n\t\t\t)\r\n\t\t);\r\n\t}\r\n\r\n\r\n\tgetUserSubjourney (journeyId:string, mapVersion:string, mapObjectId:string, journeyLocalId:string): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/User/Subjourney/' + journeyId + '/' + mapVersion + '/' + mapObjectId + '?journeyLocalId=' + journeyLocalId,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\t\r\n\tgetTempJourneyWaypoints(journeyId:string, mapObjectId:string, journeyLocalId:string): Rx.Observable {\r\n\t\tmapObjectId = mapObjectId == null ? \"\" : mapObjectId;\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/Search/' + journeyId + \"?mapObjectId=\" + mapObjectId + '&journeyLocalId=' + journeyLocalId,\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tsearchStartPoint(mapversion: string, endPointId:string, keyword:string, offset:number, limit:number): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/StartPoint/' + encodeURIComponent(endPointId) + '/' + mapversion + '?keyword=' + encodeURIComponent(keyword) + '&limit=' + limit.toString() + '&offset=' + offset.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tgetValidStartPoint(invalidStartPointMapObjectId:string , limit:number, offset:number): Rx.Observable {\r\n\t\treturn this.http.get(\r\n\t\t\tthis.url + '/GetValidStartPoint?invalidStartPoint=' + invalidStartPointMapObjectId + '&limit=' + limit.toString() + '&offset=' + offset.toString(),\r\n\t\t\t{\r\n\t\t\t\twithCredentials: true,\r\n\t\t\t\theaders: { 'Authorization': this.userInfo.authHeader(false) }\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n}\r\n", "import { Component, Inject, HostListener, Input, ViewChild, ElementRef } from '@angular/core';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { Event } from '@angular/router';\r\nimport { MatDialog, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\r\nimport { AppSettingService, AppUtilityService } from '../../app.service';\r\nimport { UserInfoService, IUserProfile } from '../user-info.service';\r\nimport { UserAPIService, SessionAPIService } from '../user-api.service';\r\nimport { ZoneAPIService } from '../../zone/zone-api.service';\r\nimport { TSignupLoginResult, SignupLoginService, SignupLoginDialog } from './signup-login.component';\r\n\r\n@Component({\r\n\tselector: \"app-global-account\",\r\n\ttemplate: \"\",\r\n\tstandalone: false\r\n})\r\nexport class GlobalAccountComponent {\r\n\tprivate myPopup: any = null;\r\n\tprivate completePopup: any = null;\r\n\tprivate postpone: number = 0;\r\n\r\n\tconstructor(\r\n\t\tprivate dialog: MatDialog,\r\n\t\tprivate signupLoginSrv: SignupLoginService,\r\n\t\tprivate userAPI: UserAPIService,\r\n\t\tprivate userInfo: UserInfoService\r\n\t) { }\r\n\r\n\r\n\tprivate askGlobalAccount(): void {\r\n\t\tif (this.myPopup != null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.myPopup = this.dialog.open(\r\n\t\t\tGlobalAccountIntroDialog,\r\n\t\t\t{\r\n\t\t\t\tdisableClose: true,\r\n\t\t\t\tpanelClass: 'jmDialogNoScroll',\r\n\t\t\t\twidth: \"90%\",\r\n\t\t\t\tmaxWidth: \"800px\",\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tpostpone: this.postpone\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tprivate showGlobalAccounComplete() {\r\n\t\tif (this.completePopup != null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// prompt global account intro if it is needed\r\n\t\tlet completeType: \"login\" | \"signup\" = this.signupLoginSrv.promptGlobalAccountIntro;\r\n\t\tthis.completePopup = this.dialog.open(\r\n\t\t\tGlobalAccountCompleteDialog,\r\n\t\t\t{\r\n\t\t\t\tdisableClose: true,\r\n\t\t\t\tpanelClass: 'jmDialogNoScroll',\r\n\t\t\t\twidth: \"600px\",\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tcompleteType: completeType\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\t\tthis.completePopup.afterClosed().subscribe(\r\n\t\t\t() => {\r\n\t\t\t\tthis.signupLoginSrv.promptGlobalAccountIntro = null;\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tprivate checkStatus() {\r\n\t\tlet user: IUserProfile = this.userInfo.getProfile();\r\n\t\tif (user.NeedGlobalAccount && !this.signupLoginSrv.askedGlobalAccount) {\r\n\t\t\t// check how many times users have cancel\r\n\t\t\tthis.userAPI.getGlobalAccountReqiretCount().subscribe({\r\n\t\t\t\tnext: (response: any) => {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tlet hasTries: number = parseInt(response.Detail);\r\n\t\t\t\t\t\tthis.postpone = hasTries >= 3 ? 0 : (3 - hasTries);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tcatch {\r\n\t\t\t\t\t\tthis.postpone = 3;\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\terror: (err: any) => {\r\n\t\t\t\t\tconsole.log(err);\r\n\t\t\t\t\tthis.postpone = 3;\r\n\t\t\t\t},\r\n\t\t\t}).add(() => {\r\n\t\t\t\tthis.askGlobalAccount();\r\n\t\t\t});\r\n\t\t}\r\n\t\telse if (user.OtherAccounts != null && user.OtherAccounts.length > 0 && user.IsPublicZone && this.signupLoginSrv.promptGlobalAccountIntro != null) {\r\n\t\t\tthis.showGlobalAccounComplete();\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tif (this.myPopup != null) {\r\n\t\t\tthis.myPopup.close();\r\n\t\t}\r\n\t\tif (this.completePopup != null) {\r\n\t\t\tthis.completePopup.close();\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tthis.checkStatus();\r\n\t}\r\n}\r\n\r\n\r\n@Component({\r\n\ttemplateUrl: \"./global-account-intro.dialog.html\",\r\n\tstandalone: false\r\n})\r\nexport class GlobalAccountIntroDialog {\r\n\tallowCancel: boolean = false;\r\n\tpostpone: number = 0;\r\n\taskExist: boolean = false;\r\n\tprivate myPopup: any = null;\r\n\tscreenWidth: number = window.innerWidth;\r\n\r\n\tconstructor(\r\n\t\tprivate dialog: MatDialog,\r\n\t\tprivate dialogRef: MatDialogRef,\r\n\t\t@Inject(MAT_DIALOG_DATA) private data: any,\r\n\t\tprivate signupLoginSrv: SignupLoginService,\r\n\t\tprivate userAPI: UserAPIService,\r\n\t) {\r\n\t\tthis.allowCancel = data.allowCancel;\r\n\t\tthis.postpone = data.postpone;\r\n\t\tthis.allowCancel = this.postpone <= 0 ? false : true;\r\n\t}\r\n\r\n\tprivate doSignupLogin(choice: TSignupLoginResult) {\r\n\t\tthis.myPopup = this.dialog.open(\r\n\t\t\tSignupLoginDialog,\r\n\t\t\t{\r\n\t\t\t\twidth: \"100%\",\r\n\t\t\t\theight: \"100%\",\r\n\t\t\t\tdisableClose: true,\r\n\t\t\t\tautoFocus: true,\r\n\t\t\t\tpanelClass: 'jmSignupLogin',\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tdisplay: choice,\r\n\t\t\t\t\tallowCancel: this.allowCancel,\r\n\t\t\t\t\tglobalAccount: true\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\t\tthis.myPopup.afterClosed().subscribe(\r\n\t\t\t(choice: TSignupLoginResult) => {\r\n\t\t\t\t// if cancel, donothing. Give users a chance to select Yes/No again\r\n\t\t\t\tif (choice !== \"cancel\") {\r\n\t\t\t\t\tthis.close(choice);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tclose(action: TSignupLoginResult) {\r\n\t\t// if cancel, do not ask global account again until user login again\r\n\t\tif (action === \"cancel\") {\r\n\t\t\tthis.signupLoginSrv.askedGlobalAccount = true;\r\n\t\t\tthis.userAPI.updateGlobalAccountReqiretCount().subscribe();\r\n\t\t\tthis.dialogRef.close();\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.doSignupLogin(action);\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tif (this.myPopup != null) {\r\n\t\t\tthis.myPopup.close();\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t}\r\n}\r\n\r\n\r\n@Component({\r\n\ttemplateUrl: \"./global-account-complete.dialog.html\",\r\n\tstandalone: false\r\n})\r\nexport class GlobalAccountCompleteDialog {\r\n\tcompleteType: \"login\" | \"signup\";\r\n\r\n\tconstructor(\r\n\t\tprivate dialogRef: MatDialogRef,\r\n\t\t@Inject(MAT_DIALOG_DATA) private data: any\r\n\t) {\r\n\t\tthis.completeType = data.completeType;\r\n\t}\r\n\r\n\tclose() {\r\n\t\tthis.dialogRef.close();\r\n\t}\r\n}\r\n\r\n\r\n@Component({\r\n\tselector: \"app-global-login\",\r\n\ttemplateUrl: \"./global-login.component.html\",\r\n\tstyleUrls: [\"./login.scss\"],\r\n\tstandalone: false\r\n})\r\nexport class GlobalLoginComponent {\r\n\t@Input() allowCancel: boolean = true;\r\n\t@Input() onClose: Function = null;\r\n\r\n\tconstructor(\r\n\t\tprivate sessionAPI: SessionAPIService,\r\n\t\tprivate userAPI: UserAPIService,\r\n\t\tprivate zoneAPI: ZoneAPIService\r\n\t) { }\r\n\r\n\tfrmLogin: {\r\n\t\tusername: string,\r\n\t\tusernameStatus?: boolean,\r\n\t\tpassword: string,\r\n\t\tpasswordStatus?: boolean,\r\n\t\tmyZone: string,\r\n\t\tzonesUpdating: boolean\r\n\t} = {\r\n\t\t\tusername: \"\",\r\n\t\t\tusernameStatus: null,\r\n\t\t\tpassword: \"\",\r\n\t\t\tpasswordStatus: null,\r\n\t\t\tmyZone: \"\",\r\n\t\t\tzonesUpdating: false\r\n\t\t};\r\n\r\n\tmsg: string = \"\";\r\n\tisLogging: boolean = false;\r\n\tshowMinimize = AppSettingService.widgetMobile();\r\n\r\n\t@HostListener('window:resize', ['$event'])\r\n\tonResize(event: Event) {\r\n\t\tthis.showMinimize = AppSettingService.widgetMobile();\r\n\t}\r\n\r\n\t//#region username\r\n\t@ViewChild('txtU') txtUsername: ElementRef;\r\n\r\n\tprivate populateZones(username: string) {\r\n\t\tthis.frmLogin.zonesUpdating = true;\r\n\t\tthis.userAPI\r\n\t\t\t.checkUserNameExist(username, this.frmLogin.myZone)\r\n\t\t\t.subscribe(\r\n\t\t\t\tresponse => {\r\n\t\t\t\t\tthis.frmLogin.zonesUpdating = false;\r\n\t\t\t\t\tif (response.Zones.length > 0) {\r\n\t\t\t\t\t\tthis.frmLogin.usernameStatus = true;\r\n\t\t\t\t\t\tsetTimeout(() => { this.txtPassword.nativeElement.focus(); }, 500);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tthis.frmLogin.usernameStatus = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\terr => {\r\n\t\t\t\t\tconsole.log(err);\r\n\t\t\t\t\tthis.frmLogin.usernameStatus = null;\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t}\r\n\t//#endregion username\r\n\r\n\t//#region password\r\n\t@ViewChild('txtP') txtPassword: ElementRef;\r\n\r\n\ttxtPwType: string = 'password';\r\n\tshowPassword(enforce: string) {\r\n\t\tthis.txtPassword.nativeElement.type = this.txtPassword.nativeElement.type === 'password' ? 'text' : 'password';\r\n\t\tif (enforce != null) {\r\n\t\t\tthis.txtPassword.nativeElement.type = enforce;\r\n\t\t\tthis.txtPwType = enforce;\r\n\t\t}\r\n\t}\r\n\t//#endregion password\r\n\r\n\t//#region perform login\r\n\tprivate doLogin() {\r\n\t\tthis.isLogging = true;\r\n\t\tif (this.canLogin()) {\r\n\t\t\tthis.sessionAPI.globalLogin(this.frmLogin.username, this.frmLogin.password).subscribe(\r\n\t\t\t\tsuccess => {\r\n\t\t\t\t\tthis.isLogging = false;\r\n\t\t\t\t\tthis.onClose('login');\r\n\t\t\t\t},\r\n\t\t\t\terror => {\r\n\t\t\t\t\tconsole.log(error);\r\n\t\t\t\t\tlet err = error.error;\r\n\t\t\t\t\tthis.isLogging = false;\r\n\t\t\t\t\tthis.frmLogin.passwordStatus = false;\r\n\t\t\t\t\tif (err != null && err.Code != null && err.Code === '70000') {\r\n\t\t\t\t\t\tthis.msg = 'Unable to verify account, please contact help@journeysmap.com.';\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tthis.msg = 'Uh oh. Something isn\\'t quite right. Please try again.';\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.txtUsername.nativeElement.blur();\r\n\t\t\t\t\tthis.txtPassword.nativeElement.blur();\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.isLogging = false;\r\n\t\t\tthis.msg = 'Uh oh. All fields are required.';\r\n\t\t}\r\n\t}\r\n\r\n\tcanLogin() {\r\n\t\tif (!this.frmLogin.zonesUpdating && this.frmLogin.username.trim() !== \"\" && this.frmLogin.password.trim() !== \"\" && (this.frmLogin.usernameStatus ?? false) === true) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n\r\n\tsubmitLogin(e: any, nextStep: boolean) {\r\n\t\tif (e == null) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (e.type === 'keydown' && e.keyCode !== 13 && e.keyCode !== 9) {\r\n\t\t\tthis.msg = '';\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (e.currentTarget.id === this.txtUsername.nativeElement.id && this.frmLogin.username.trim().length > 0) {\r\n\t\t\tif ((e.type === 'keydown' && (e.keyCode === 13 || e.keyCode === 9)) || e.type == 'blur'\r\n\t\t\t) {\r\n\t\t\t\tthis.populateZones(this.frmLogin.username);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (this.canLogin() && (e.keyCode === 13 || nextStep != null)) {\r\n\t\t\tthis.doLogin();\r\n\t\t}\r\n\t}\r\n\t//#endregion perform login\r\n\r\n\t//region UI switch\r\n\tcreateAccount(e: any) {\r\n\t\te.preventDefault();\r\n\t\tthis.onClose('showSignup');\r\n\t}\r\n\r\n\tcancel(e: any): void {\r\n\t\te.preventDefault();\r\n\t\tthis.onClose('cancel');\r\n\t}\r\n\t//endregion UI switch\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tsetTimeout(() => {\r\n\t\t\ttry { this.txtUsername.nativeElement.focus(); }\r\n\t\t\tcatch (ex) { ; }\r\n\t\t}, 500);\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.zoneAPI.getPublicZone().subscribe(\r\n\t\t\tresponse => {\r\n\t\t\t\tthis.frmLogin.myZone = response.Client;\r\n\t\t\t},\r\n\t\t\terr => {\r\n\t\t\t\tconsole.log(err);\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\r\n@Component({\r\n\tselector: \"app-global-signup\",\r\n\ttemplateUrl: \"./global-signup.component.html\",\r\n\tstyleUrls: [\"./login.scss\"],\r\n\tstandalone: false\r\n})\r\nexport class GlobalSignupComponent {\r\n\t@Input() isPublic: boolean = true;\r\n\t@Input() allowCancel: boolean = false;\r\n\t@Input() onClose: Function = null;\r\n\r\n\tconstructor(\r\n\t\t@Inject(DOCUMENT) private doc: any,\r\n\t\tprivate sessionAPI: SessionAPIService,\r\n\t\tprivate userAPI: UserAPIService,\r\n\t\tprivate zoneAPI: ZoneAPIService\r\n\t) { }\r\n\r\n\tminAge: number = 13;\r\n\tprivate usernameMinLen: number = 4;\r\n\tiStepHighestReached: number = 0;\r\n\tisWaiting: boolean = false;\r\n\tsignupMsg: string = '';\r\n\tdoneSignup: boolean = false;\r\n\talreadySignup: boolean = false;\r\n\tcurrentStep: number = 2;\r\n\tusernameTaken: boolean = false;\r\n\r\n\tsteps = [\r\n\t\t{ name: \"username\" },\r\n\t\t{ name: \"password\" },\r\n\t\t{ name: \"final\" }\r\n\t];\r\n\r\n\tfrmSignup: {\r\n\t\tbyEmail: boolean,\r\n\t\temail: string,\r\n\t\temailStatus?: boolean,\r\n\t\tusername: string,\r\n\t\tusernameStatus?: boolean,\r\n\t\tusernameMsg: string,\r\n\t\tpw1: string,\r\n\t\tpw1Status?: boolean,\r\n\t\tpw2: string,\r\n\t\tpw2Status?: boolean,\r\n\t\tpwMsg: string\r\n\t} = {\r\n\t\t\tbyEmail: true,\r\n\t\t\temail: '',\r\n\t\t\temailStatus: null,\r\n\t\t\tusername: '',\r\n\t\t\tusernameStatus: null,\r\n\t\t\tusernameMsg: '',\r\n\t\t\tpw1: '',\r\n\t\t\tpw1Status: null,\r\n\t\t\tpw2: '',\r\n\t\t\tpw2Status: null,\r\n\t\t\tpwMsg: ''\r\n\t\t};\r\n\r\n\t@ViewChild('btnUsername') btnUsername: ElementRef;\r\n\t@ViewChild('txtEmail') txtEmail: ElementRef;\r\n\t@ViewChild('txtUsername') txtUsername: ElementRef;\r\n\t@ViewChild('txtPw1') txtPw1: ElementRef;\r\n\t@ViewChild('txtPw2') txtPw2: ElementRef;\r\n\t@ViewChild('btnPwNext') btnPwNext: ElementRef;\r\n\r\n\tshowMinimize = AppSettingService.widgetMobile();\r\n\r\n\t@HostListener('window:resize', ['$event'])\r\n\tonResize(event: Event) {\r\n\t\tthis.showMinimize = AppSettingService.widgetMobile();\r\n\t}\r\n\r\n\tprivate changeStep(toStep: number) {\r\n\t\tif (toStep > this.currentStep) {\r\n\t\t\tif (this.currentStep - 1 === this.iStepHighestReached) {\r\n\t\t\t\tthis.iStepHighestReached++;\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.currentStep = toStep\r\n\t\tswitch (this.currentStep) {\r\n\t\t\tcase 0:\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tif (this.frmSignup.byEmail) {\r\n\t\t\t\t\t\tthis.txtEmail.nativeElement.focus();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tthis.txtUsername.nativeElement.focus();\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 250);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tsetTimeout(() => { this.txtPw1.nativeElement.focus(); }, 250);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 2:\r\n\t\t\t\t//final, do nothing\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tthis.currentStep = 0;\r\n\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\tif (this.frmSignup.byEmail) {\r\n\t\t\t\t\t\tthis.txtEmail.nativeElement.focus();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tthis.txtUsername.nativeElement.focus();\r\n\t\t\t\t\t}\r\n\t\t\t\t}, 250);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\r\n\tprgIndicatorJumpTo(e: any, toStep: number) {\r\n\t\tswitch (this.currentStep) {\r\n\t\t\tcase 0:\r\n\t\t\t\tthis.checkUsername(e, toStep);\r\n\t\t\t\tbreak;\r\n\t\t\tcase 1:\r\n\t\t\t\tthis.checkPassword(e, toStep);\r\n\t\t\t\tbreak;\r\n\t\t}\r\n\t}\r\n\r\n\t//#region username\r\n\ttoggleUsernameEmail() {\r\n\t\tthis.frmSignup.byEmail = !this.frmSignup.byEmail;\r\n\t\tif (this.frmSignup.byEmail) {\r\n\t\t\tthis.frmSignup.username = '';\r\n\t\t\tthis.frmSignup.usernameStatus = null;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.frmSignup.email = '';\r\n\t\t\tthis.frmSignup.emailStatus = null;\r\n\t\t}\r\n\t}\r\n\r\n\tcheckUsername(e: any, nextStep?: number) {\r\n\t\tif (e.keyCode !== 9 && e.type === 'keydown') {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.frmSignup.emailStatus = null;\r\n\t\tthis.frmSignup.usernameStatus = null;\r\n\t\tthis.frmSignup.email = this.frmSignup.email.trim();\r\n\t\tthis.frmSignup.username = this.frmSignup.username.trim();\r\n\t\tlet loginName = this.frmSignup.byEmail ? this.frmSignup.email : this.frmSignup.username;\r\n\r\n\t\tif (e.keyCode === 13 || nextStep != null || e.keyCode === 9) {\r\n\t\t\tif (this.frmSignup.byEmail) {\r\n\t\t\t\tthis.frmSignup.usernameStatus = null;\r\n\t\t\t\tif (loginName.length < this.usernameMinLen || !AppUtilityService.isEmail(loginName)) {\r\n\t\t\t\t\tthis.frmSignup.emailStatus = false;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.frmSignup.emailStatus = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.frmSignup.emailStatus = null;\r\n\t\t\t\tif (loginName.length < this.usernameMinLen) {\r\n\t\t\t\t\tthis.frmSignup.usernameStatus = false;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.frmSignup.usernameStatus = true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (this.frmSignup.emailStatus === false || this.frmSignup.usernameStatus === false) {\r\n\t\t\t\tthis.frmSignup.usernameMsg = this.frmSignup.byEmail ? 'Oops! Something is funky. Please enter a valid email address.' : 'Oops! Please enter a valid username.';\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t//username is unique per zone. Zone is unknown until users decide having access code or not. \r\n\t\t\t\t// so no point to check username here\r\n\t\t\t\tif (e.keyCode !== 9) {\r\n\t\t\t\t\tthis.changeStep(nextStep == null ? this.currentStep + 1 : nextStep);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.frmSignup.usernameMsg = \"\";\r\n\t\t}\r\n\t}\r\n\t//#endregion username\r\n\r\n\t//#region password\r\n\ttxtPw1Type: string = 'password';\r\n\ttxtPw2Type: string = 'password';\t\r\n\tshowPassword(id: string) {\r\n\t\tvar input = this.doc.getElementById(id);\r\n\t\tif (input != null) {\r\n\t\t\tinput.type = (input.type === 'password') ? 'text' : 'password';\r\n\t\t\tif (id === 'txtPw1') {\r\n\t\t\t\tthis.txtPw1Type = input.type;\r\n\t\t\t}\r\n\t\t\tif (id === 'txtPw2') {\r\n\t\t\t\tthis.txtPw2Type = input.type;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tpw1isFocused: boolean = false;\r\n\tcheckPassword(e: any, nextStep?: number) {\r\n\t\tif (e != null && e.currentTarget != null && e.currentTarget.value != null) {\r\n\t\t\te.currentTarget.value = e.currentTarget.value.trim();\r\n\t\t}\r\n\r\n\t\tif (e.type === 'focus' && e.target.id === 'txtPw1') {\r\n\t\t\tthis.pw1isFocused = true;\r\n\t\t}\r\n\t\tif (e.type === 'blur' && e.target.id === 'txtPw1') {\r\n\t\t\tthis.pw1isFocused = false;\r\n\t\t}\r\n\r\n\t\tif (e.type === 'focus') {\r\n\t\t\tif (this.frmSignup.pw1Status === false) {\r\n\t\t\t\tthis.frmSignup.pw1Status = null;\r\n\t\t\t}\r\n\t\t\tif (this.frmSignup.pw2Status === false) {\r\n\t\t\t\tthis.frmSignup.pw2Status = null;\r\n\t\t\t}\r\n\t\t\tthis.frmSignup.pwMsg = \"\";\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (e.type === 'keyup' && e.keyCode !== 9 && e.keyCode !== 13) {\r\n\t\t\tif (e.target.id === 'txtPw1') {\r\n\t\t\t\tthis.frmSignup.pw1Status = null;\r\n\t\t\t}\r\n\t\t\tif (e.target.id === 'txtPw2') {\r\n\t\t\t\tthis.frmSignup.pw2Status = null;\r\n\t\t\t}\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif ((e.currentTarget.id === 'txtPw1' && (e.keyCode === 9 || e.keyCode === 13)) || nextStep != null) {\r\n\t\t\tif (this.frmSignup.pw2Status === false) {\r\n\t\t\t\tthis.frmSignup.pw2Status === null;\r\n\t\t\t}\r\n\t\t\tvar pw = AppUtilityService.validatePassword(this.txtPw1.nativeElement.value);\r\n\t\t\tthis.frmSignup.pw1Status = pw.strength < 100 ? false : true;\r\n\r\n\t\t\tif (this.frmSignup.pw1Status === true) {\r\n\t\t\t\tthis.frmSignup.pwMsg = \"\";\r\n\t\t\t\tif (nextStep == null) {\r\n\t\t\t\t\tsetTimeout(() => { this.txtPw2.nativeElement.focus(); }, 100);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.frmSignup.pw1Status = false;\r\n\t\t\t\tthis.txtPw1.nativeElement.blur();\r\n\t\t\t\tthis.frmSignup.pwMsg = pw.message;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif ((e.currentTarget.id === 'txtPw2' && (e.keyCode === 13 || e.keyCode === 9)) || nextStep != null) {\r\n\t\t\t//bc some sort of timing thing happens that sends us back in here on keyup after tabbing or entering out of pw1 field\r\n\t\t\tif (e.type === 'keyup') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif (this.frmSignup.pw1Status === false) {\r\n\t\t\t\tthis.frmSignup.pw1Status === null;\r\n\t\t\t}\r\n\t\t\tlet pw = AppUtilityService.validatePassword(this.txtPw2.nativeElement.value);\r\n\t\t\tthis.frmSignup.pw2Status = pw.strength < 100 ? false : true;\r\n\r\n\t\t\tif (this.frmSignup.pw2Status === true) {\r\n\t\t\t\tthis.frmSignup.pwMsg = \"\";\r\n\t\t\t\tif (this.frmSignup.pw1 === this.frmSignup.pw2) {\r\n\t\t\t\t\tthis.frmSignup.pw1Status === true;\r\n\t\t\t\t\tthis.frmSignup.pw2Status === true;\r\n\t\t\t\t\tthis.frmSignup.pwMsg = \"\";\r\n\t\t\t\t\t//only go to next screen if user hit enter or next button (tab should just provide validation feedback)\r\n\t\t\t\t\tif (e.keyCode === 13 || (nextStep != null && nextStep === this.currentStep + 1)) {\r\n\t\t\t\t\t\tthis.submitSignup();\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (nextStep != null) {\r\n\t\t\t\t\t\tthis.changeStep(nextStep);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tif (e.keyCode === 9) {\r\n\t\t\t\t\t\t\tsetTimeout(() => { this.btnPwNext.nativeElement.focus(); }, 100);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.frmSignup.pw1Status = false;\r\n\t\t\t\t\tthis.frmSignup.pw2Status = false;\r\n\t\t\t\t\tthis.txtPw2.nativeElement.blur();\r\n\t\t\t\t\tthis.frmSignup.pwMsg = 'Oops! Please make sure both passwords are the same.';\r\n\t\t\t\t\tif (e.keyCode === 9) {\r\n\t\t\t\t\t\tsetTimeout(() => { this.btnPwNext.nativeElement.focus(); }, 100);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.frmSignup.pw2Status = false;\r\n\t\t\t\tthis.txtPw2.nativeElement.blur();\r\n\t\t\t\tthis.frmSignup.pwMsg = pw.message;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t//#endregion password\r\n\r\n\r\n\tprivate signupErrorCode = '';\r\n\treviewRetry() {\r\n\t\tif (this.signupErrorCode === '50004') {\r\n\t\t\tthis.changeStep(0);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.changeStep(1);\r\n\t\t}\r\n\t}\r\n\r\n\tprivate submitSignup() {\r\n\t\tthis.currentStep = this.steps.length - 1;\r\n\t\tthis.signupErrorCode = '';\r\n\t\tthis.doneSignup = false;\r\n\t\tthis.isWaiting = true;\r\n\t\tthis.usernameTaken = false;\r\n\r\n\t\tlet username = this.frmSignup.byEmail ? this.frmSignup.email.trim() : this.frmSignup.username.trim();\r\n\t\t// if username is like email, copy it to email field\r\n\t\tlet email = AppUtilityService.isEmail(username) ? username : '';\r\n\r\n\t\tlet reg = {\r\n\t\t\tEmail: email,\r\n\t\t\tPassword: this.frmSignup.pw1,\r\n\t\t\tUserName: username\r\n\t\t};\r\n\r\n\t\tthis.signupMsg = 'Submit sign up info ...';\r\n\t\tthis.userAPI.globalRegister(reg).subscribe(\r\n\t\t\tsuccess => {\r\n\t\t\t\tif (success !== null && success.UserName !== null && success.Password !== null) {\r\n\t\t\t\t\tthis.signupMsg = 'Login...';\r\n\t\t\t\t\t// try to login with new user/pw\r\n\t\t\t\t\tthis.zoneAPI.getPublicZone().subscribe(\r\n\t\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\t\tlet publicZone: string = response.Client;\r\n\t\t\t\t\t\t\tthis.sessionAPI.signOn(success.UserName, success.Password, publicZone).subscribe(\r\n\t\t\t\t\t\t\t\tsuccess => {\r\n\t\t\t\t\t\t\t\t\tthis.doneSignup = true;\r\n\t\t\t\t\t\t\t\t\tthis.closeSignup();\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\terror => {\r\n\t\t\t\t\t\t\t\t\tconsole.log(error);\r\n\t\t\t\t\t\t\t\t\tthis.signupMsg = 'Fail to login automatically. Please try to login manually.';\r\n\t\t\t\t\t\t\t\t\tthis.isWaiting = false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\terr => {\r\n\t\t\t\t\t\t\tconsole.log(err);\r\n\t\t\t\t\t\t\tthis.signupMsg = 'Fail to login automatically. Please try to login manually.';\r\n\t\t\t\t\t\t\tthis.isWaiting = false;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.signupMsg = 'Fail to login automatically. Please try to login manually.';\r\n\t\t\t\t\tthis.isWaiting = false;\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\terror => {\r\n\t\t\t\tconsole.log(error);\r\n\t\t\t\terror = error.error;\r\n\t\t\t\tthis.signupErrorCode = (error.Code ?? \"\");\r\n\t\t\t\tif (error.Code === '50004') {\r\n\t\t\t\t\tthis.usernameTaken = true;\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tthis.signupMsg = error.Detail;\r\n\t\t\t\t}\r\n\t\t\t\tthis.isWaiting = false;\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tprivate closeSignup() {\r\n\t\tthis.onClose('signup');\r\n\t}\r\n\r\n\tgoLogin() {\r\n\t\tthis.onClose('showLogin');\r\n\t}\r\n\r\n\tcancel(e: any) {\r\n\t\tthis.onClose('cancel');\r\n\t}\r\n\r\n\tlogin(e: any): void {\r\n\t\te.preventDefault();\r\n\t\tthis.onClose('showLogin');\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.isWaiting = false;\r\n\t\tthis.signupMsg = '';\r\n\t\tthis.doneSignup = false;\r\n\t\tthis.alreadySignup = false;\r\n\t\tthis.currentStep = 0;\r\n\t}\r\n}\r\n", "
\r\n\t
\r\n\t\tCreate a Journeys Map Global Account\r\n\t
\r\n\r\n\t\r\n\t\t
\r\n\t\t\tTo take advantage of the new enhancements added to Journeys Map, we are asking you to create a Global Account.\r\n\t\t\tThe Global Account will allow you to maintain your relationship with your current organization as well as connecting to other organizations at the same time.\r\n\t\t\tAll data and capabilities will be preserved within your connected accounts.\r\n\t\t\t

\r\n\t\t\tPlease click \"Enroll Now\" to start the account creation.\r\n\t\t\t\r\n\t\t\t\tClicking \"Remind Me Later\" will give you a chance to create it next time.\r\n\t\t\t\t

\r\n\t\t\t\tNote you can postpone the Global Account creation {{postpone}} times and no more.\r\n\t\t\t
\r\n\t\t
\r\n\t\t
= 414\" class=\"w-100\" style=\"text-align:center; margin-top:20px;\">\r\n\t\t\t\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\r\n\t\t
\r\n\t
\r\n\r\n\t\r\n\t\t
\r\n\t\t\tDo you already have a global account?\r\n\t\t
\r\n\t\t
= 414\">\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n
\r\n", "
\r\n\t
\r\n\t\tJourneys Map Global Account\r\n\t
\r\n\r\n\t
\r\n\t\tYou have successfully created your Journeys Map Global Account. You will be able to switch between accounts from your Profile menu and within the Switch Accounts section. Happy Exploring!\"\r\n\t\tYou have successfully linked to your Journeys Map Global Account. You will be able to switch between accounts from your Profile menu and within the Switch Accounts section. Happy Exploring!\"\r\n\t
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n", "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n\r\n
\r\n\t
Connect your Journeys global account
\r\n\t

Please enter your global account credentials to complete account connection

\r\n\t\r\n\t\r\n\r\n\t\r\n\t
\r\n\t\t\r\n\t\t\r\n\t
\r\n\t
\r\n\t
\r\n\r\n\t
\r\n\t\t
\r\n\t\t
\r\n\t
\r\n\r\n\t
\r\n\t\tDon't have an account? Creating one is free! Sign up here.\r\n\t
\r\n
\r\n", "
\r\n\t
\r\n\t\t\r\n\t
\r\n
\r\n\r\n\r\n\r\n\r\n\t
Create a Journeys global account
\r\n\t

your email goes here

\r\n\r\n\t
\r\n\t\t\r\n\t\t\r\n\t
\r\n\t
\r\n\t\tNo email? Create an account with a username instead.\r\n\t
\r\n\r\n\t
\r\n\t
\r\n\r\n\t
\r\n\t\t\r\n\t\t\r\n\t
\r\n
\r\n\r\n\r\n\t
Create a Journeys global account
\r\n\t

Let's make a username!

\r\n\t
\r\n\t\t\r\n\t\t\r\n\t
\r\n\t
\r\n\t\tCreate an accountwith your email instead.\r\n\t
\r\n\r\n\t
\r\n\t
\r\n\r\n\t
\r\n\t\t\r\n\t\t\r\n\t
\r\n\r\n\t\r\n\r\n
\r\n\r\n\r\n\t
Create a Journeys global account
\r\n\t

Let's keep your account safe and secure

\r\n\r\n\t
\r\n\t\t\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t
Password Criteria
\r\n\t\t\t\t
    \r\n\t\t\t\t\t
  • Must be at least 6 characters
  • \r\n\t\t\t\t\t
  • Include 1 upper case or 1 numeric value
  • \r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n\t
\r\n\t\t\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\r\n\t\t
\r\n\r\n\t
\r\n\t
\r\n\t
\r\n\t
\r\n\t\t\r\n\t\t\r\n\r\n\t
\r\n\r\n\r\n
\r\n\r\n\r\n\t
\r\n\t\t\r\n\t
\r\n\r\n\t
\r\n\t\tSign up is already complete.\r\n\t\tPlease login.\r\n\t
\r\n\r\n\t
\r\n\t\t

Processing...

\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\tThat email is taken.Try another or Sign in instead.\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\tThat username is taken.Try another or Sign in instead.\"\r\n\t\t\t\r\n\t\t\r\n\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\r\n\t\t\r\n\r\n\t
\r\n
\r\n", "import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\nimport * as GA from './global-account.component';\r\nimport * as SL from './signup-login.component';\r\n\r\n@NgModule({\r\n\timports: [\r\n\t\tCommonModule,\r\n\t\tFormsModule,\r\n\t\tReactiveFormsModule,\r\n\t\tNgbModule\r\n\t],\r\n\tdeclarations: [\r\n\t\tGA.GlobalAccountComponent,\r\n\t\tGA.GlobalAccountIntroDialog,\r\n\t\tGA.GlobalAccountCompleteDialog,\r\n\t\tGA.GlobalLoginComponent,\r\n\t\tGA.GlobalSignupComponent,\r\n\t\tSL.SignupLoginDialog,\r\n\t\tSL.SignupLoginComponent,\r\n\t\tSL.LoginComponent,\r\n\t\tSL.SignupComponent,\r\n\t\tSL.ResetPasswordComponent\r\n\t],\r\n\texports: [\r\n\t\tGA.GlobalAccountComponent,\r\n\t\tGA.GlobalAccountIntroDialog,\r\n\t\tGA.GlobalAccountCompleteDialog,\r\n\t\tGA.GlobalLoginComponent,\r\n\t\tGA.GlobalSignupComponent,\r\n\t\tSL.SignupLoginDialog,\r\n\t\tSL.SignupLoginComponent,\r\n\t\tSL.LoginComponent,\r\n\t\tSL.SignupComponent,\r\n\t\tSL.ResetPasswordComponent\r\n\t]\r\n})\r\nexport class SignupLoginComponentModule { }\r\n", "import { Injectable } from '@angular/core';\r\nimport { Router, ActivatedRoute, ActivationEnd, ActivatedRouteSnapshot } from '@angular/router';\r\nimport { Location } from '@angular/common';\r\nimport moment from 'moment';\r\nimport { AppSettingService, AppService } from '../app.service';\r\nimport { UserInfoService } from '../user/user-info.service';\r\nimport { AccountAPIService, VisitHistoryAPIService } from '../user/account-api.service';\r\nimport { MapAPIService } from '../map/map-api.service';\r\nimport { MyJourneyAPIService } from '../myJourney/my-journey-api.service';\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class NavigationHistoryService {\r\n\tisAutoReroute: boolean = false;\r\n\r\n\tlinkTypeNames = {\r\n\t\t1: { name: \"Journey\" },\r\n\t\t2: { name: \"Map\" },\r\n\t\t3: { name: \"Learn More\" },\r\n\t\t4: { name: \"Search\" }\r\n\t}\r\n\r\n\tellipsisEntries: any[] = [];\r\n\tnumEntries:number = 3;\r\n\r\n\tconstructor(\r\n\t\tprivate userInfo: UserInfoService,\r\n\t\tprivate accountAPI: AccountAPIService,\r\n\t\tprivate visitAPI: VisitHistoryAPIService,\r\n\t\tprivate mapAPI: MapAPIService,\r\n\t\tprivate myJourneyAPI: MyJourneyAPIService,\r\n\t\tprivate route: ActivatedRoute,\r\n\t\tprivate router: Router,\r\n\t\tprivate location: Location\t\t\r\n\t) {\r\n\t\tif (!this.userInfo.isAnonymous()) {\r\n\t\t\tthis.visitAPI.getRecent(0, this.numEntries).subscribe(\r\n\t\t\t\tresponse => {\r\n\t\t\t\t\tif (response.length > 0) {\r\n\t\t\t\t\t\t//load up ellipsis entries from database for this session\r\n\t\t\t\t\t\tfor (var i = 0; i < response.length; i++) {\r\n\t\t\t\t\t\t\t//sync with angular repeater\r\n\t\t\t\t\t\t\tlet link = JSON.parse(response[i].EllipsisEntryJson);\r\n\t\t\t\t\t\t\tlink.NewUI = response[i].NewUI;\r\n\t\t\t\t\t\t\tthis.ellipsisEntries.push(link);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//sync with session storage\r\n\t\t\t\t\t\tsessionStorage[\"ellipsisEntries\"] = JSON.stringify(this.ellipsisEntries);\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\terr => {\r\n\t\t\t\t\tconsole.log(err);\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t\t}\r\n\t\telse {\r\n\t\t\t//populate this.ellipsisEntries if we have entries in session storage\r\n\t\t\tif (sessionStorage[\"ellipsisEntries\"] !== undefined && sessionStorage[\"ellipsisEntries\"] !== \"\") {\r\n\t\t\t\tlet jsonSessionStorage = JSON.parse(sessionStorage[\"ellipsisEntries\"]);\r\n\t\t\t\tfor (let i = 0; i < jsonSessionStorage.length; i++) {\r\n\t\t\t\t\tif (jsonSessionStorage[i].NewUI == undefined) {\r\n\t\t\t\t\t\tjsonSessionStorage[i].NewUI = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.ellipsisEntries.push(jsonSessionStorage[i]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tclearEllipsisEntries() : void {\r\n\t\tlet originalLength = this.ellipsisEntries.length;\r\n\t\tfor (let i = 0; i < originalLength; i++) {\r\n\t\t\tthis.ellipsisEntries.pop();\r\n\t\t}\r\n\t\tsessionStorage[\"ellipsisEntries\"] = [];\r\n\t}\r\n\r\n\tpushEntry(currentEllipsisEntry: any) {\r\n\t\tcurrentEllipsisEntry.NewUI = true;\r\n\t\tlet jsonSessionStorage: any = null;\r\n\t\tlet tempEllipsisEntries: any = null;\r\n\t\tif (sessionStorage[\"ellipsisEntries\"] !== \"\" && sessionStorage[\"ellipsisEntries\"] !== undefined) {\r\n\t\t\tjsonSessionStorage = JSON.parse(sessionStorage[\"ellipsisEntries\"])[0];\r\n\t\t}\r\n\t\t// are session and current same?\r\n\t\tif (JSON.stringify(currentEllipsisEntry) !== JSON.stringify(jsonSessionStorage)) {\r\n\t\t\tif (sessionStorage[\"ellipsisEntries\"] == null || sessionStorage[\"ellipsisEntries\"] == undefined || sessionStorage[\"ellipsisEntries\"] === \"\" || sessionStorage[\"ellipsisEntries\"].length === 0) {\r\n\t\t\t\tsessionStorage[\"ellipsisEntries\"] = JSON.stringify([]);\r\n\t\t\t\ttempEllipsisEntries = JSON.parse(sessionStorage[\"ellipsisEntries\"]);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\ttempEllipsisEntries = JSON.parse(sessionStorage[\"ellipsisEntries\"]);\r\n\t\t\t}\r\n\r\n\t\t\tif (tempEllipsisEntries.length < this.numEntries) {\r\n\t\t\t\ttempEllipsisEntries.unshift(currentEllipsisEntry);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\ttempEllipsisEntries.pop();\r\n\t\t\t\ttempEllipsisEntries.unshift(currentEllipsisEntry);\r\n\t\t\t}\r\n\r\n\t\t\tsessionStorage[\"ellipsisEntries\"] = JSON.stringify(tempEllipsisEntries);\r\n\t\t\tlet parsedEllipsisEntries = JSON.parse(sessionStorage[\"ellipsisEntries\"]);\r\n\t\t\t//this populates ellipsis popup (complete pop/push needed to retain reference to ng-repeat array) \r\n\t\t\tfor (var i = 0; i < parsedEllipsisEntries.length; i++) {\r\n\t\t\t\tthis.ellipsisEntries.pop();\r\n\t\t\t}\r\n\t\t\tfor (var i = 0; i < parsedEllipsisEntries.length; i++) {\r\n\t\t\t\tthis.ellipsisEntries.push(parsedEllipsisEntries[i]);\r\n\t\t\t}\r\n\r\n\t\t\t//this adds the completed ellipsis entry info to the history database table \r\n\t\t\t//(links are stored as stringified json so user can click into bread - crumb layers from view-all modal)\r\n\t\t\tif (!this.userInfo.isAnonymous()) {\r\n\t\t\t\tthis.visitAPI.createHistoryEntry({NewUI:true, EllipsisEntryJson: JSON.stringify(currentEllipsisEntry) }).subscribe(\r\n\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\t//console.log(response);\r\n\t\t\t\t\t},\r\n\t\t\t\t\terr => {\r\n\t\t\t\t\t\tconsole.log(err)\r\n\t\t\t\t\t}\r\n\t\t\t\t);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tgetMapObjectAncestory(objectId: string, currentEllipsisEntry: any, linkType: number) {\r\n\t\tthis.mapAPI.getMapObjectAncestory(objectId).subscribe(\r\n\t\t\tdata => {\r\n\t\t\t\t//populate ellipsisEntries.links\r\n\t\t\t\tif (linkType === 2) {\r\n\t\t\t\t\tfor (var i = 0; i < data.length; i++) {\r\n\t\t\t\t\t\tcurrentEllipsisEntry.links.push({\r\n\t\t\t\t\t\t\tlinkName: data[i].FactoryLongLabel,\r\n\t\t\t\t\t\t\tlinkUrl: this.location.path() + \"?ObjectID=\" + data[i].object_id\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (currentEllipsisEntry.NewUI && linkType === 3) {\r\n\t\t\t\t\tfor (var i = 0; i < data.length; i++) {\r\n\t\t\t\t\t\tcurrentEllipsisEntry.links.push({\r\n\t\t\t\t\t\t\tlinkName: data[i].FactoryLongLabel,\r\n\t\t\t\t\t\t\tlinkUrl: '/' + this.location.path().split('/')[1] + '/' + this.location.path().split('/')[2] + '/' + data[i].object_id\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t} else if (!currentEllipsisEntry.NewUI && linkType === 3) {\r\n\t\t\t\t\tfor (var i = 0; i < data.length; i++) {\r\n\t\t\t\t\t\tcurrentEllipsisEntry.links.push({\r\n\t\t\t\t\t\t\tlinkName: data[i].FactoryLongLabel,\r\n\t\t\t\t\t\t\tlinkUrl: '/' + this.location.path().split('/')[1] + '/' + data[i].object_id\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tcurrentEllipsisEntry.links.reverse();\r\n\t\t\t\tthis.pushEntry(currentEllipsisEntry);\r\n\t\t\t},\r\n\t\t\terror => {\r\n\t\t\t\tconsole.log(error)\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n\r\n\tcreateEllipsisEntry(entry: any) : void {\r\n\t\tlet currentEllipsisEntry = {\r\n\t\t\tNewUI: true,\r\n\t\t\theaderName: (this.linkTypeNames as any)[entry.LinkType].name,\r\n\t\t\tlinks: [] as any[],\r\n\t\t\tentryType: entry.LinkType\r\n\t\t};\r\n\t\t//if journey detail then get correctly named header (must be done here bc not stored in database)\r\n\t\tif (entry.LinkType === 1) {\r\n\t\t\tif (entry.AssociatedId !== undefined && entry.AssociatedId.length > 0) {\r\n\t\t\t\tlet journeyUserId = this.route.snapshot.paramMap.get(\"journeyUserId\");\r\n\t\t\t\tthis.myJourneyAPI.getUserJourneyDetail(journeyUserId, null, null).subscribe(\r\n\t\t\t\t\tresponse => {\r\n\t\t\t\t\t\tcurrentEllipsisEntry.links.push({\r\n\t\t\t\t\t\t\tlinkName: response.JourneyName,\r\n\t\t\t\t\t\t\tlinkUrl: entry.LinkUrl\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tthis.pushEntry(currentEllipsisEntry);\r\n\t\t\t\t\t},\r\n\t\t\t\t\terror => {\r\n\t\t\t\t\t\tconsole.log(error);\r\n\t\t\t\t\t}\r\n\t\t\t\t);\r\n\t\t\t} else {\r\n\t\t\t\tcurrentEllipsisEntry.links.push({\r\n\t\t\t\t\tlinkName: \"Your Saved Journeys\",\r\n\t\t\t\t\tlinkUrl: entry.LinkUrl\r\n\t\t\t\t})\r\n\t\t\t\tthis.pushEntry(currentEllipsisEntry);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//map type\r\n\t\telse if (entry.LinkType === 2) {\r\n\t\t\tif (entry.AssociatedId !== undefined && entry.AssociatedId.length > 0) {\r\n\t\t\t\tthis.getMapObjectAncestory(entry.AssociatedId, currentEllipsisEntry, entry.LinkType);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//learnmore type\r\n\t\telse if (entry.LinkType === 3) {\r\n\t\t\tif (entry.AssociatedId !== undefined && entry.AssociatedId.length > 0) {\r\n\t\t\t\tthis.getMapObjectAncestory(entry.AssociatedId, currentEllipsisEntry, entry.LinkType);\r\n\t\t\t}\r\n\t\t}\r\n\t\t//search type\r\n\t\telse if (entry.LinkType === 4) {\r\n\t\t\tif (entry.SearchTerm !== undefined && entry.SearchTerm.length > 0) {\r\n\t\t\t\tcurrentEllipsisEntry.links.push({\r\n\t\t\t\t\tlinkName: entry.SearchTerm,\r\n\t\t\t\t\tlinkUrl: entry.LinkUrl\r\n\t\t\t\t})\r\n\t\t\t\tthis.pushEntry(currentEllipsisEntry);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t//this function receives link urls correctly figured out from location reception\r\n\tcreateHistoryEntry(linkType: any, linkUrl: any, searchTerm: any, associatedId: any) {\r\n\t\tvar entry = { LinkType: linkType, LinkUrl: linkUrl, SearchTerm: searchTerm, AssociatedId: associatedId }\r\n\t\t//add entry to ellipsis\r\n\t\tthis.createEllipsisEntry(entry);\r\n\t}\r\n\r\n\t\r\n\t//this function creates ellipsis-dropdown history entries for routes that have specified they should record history in module files.\r\n\t//this function is invoked via addBackUrl(...) when a page loads on route change event configured on app.component.ts.\r\n\tlastProcessedMapObjectId: string = \"\";\r\n\tcheckLocation(): void {\r\n\t\t//currently we are following the same rules for ellipsis-history-dropdown item creation,\r\n\t\t//established by the desktop app's checkLocation function,\r\n\t\t//meaning the following types of pages are recorded in the ellipsis-history-dropdown:\r\n\t\t//***\r\n\t\t//--journeys\r\n\t\t//--map\r\n\t\t//--learnmore (all types)\r\n\t\t//***\r\n\t\tthis.router.events.subscribe(\r\n\t\t\t(event: any) => {\r\n\t\t\t\t//***NOTE***:\r\n\t\t\t\t//\t\tActivationEnd runs many times due to the way angular handles routing\r\n\t\t\t\t//\t\t(not because we are navigating here more than once due to logic bug)\r\n\t\t\t\t//\t So, we use compare incoming mapobjectid to lastProcessedMapObjectId to avoid firing the entry-creation-logic that was leading to multiple same API calls.\r\n\t\t\t\tif (event instanceof ActivationEnd) {\r\n\t\t\t\t\tlet snapshot = (event).snapshot;\t\t\t\t\t\r\n\t\t\t\t\tif (snapshot) {\r\n\t\t\t\t\t\tlet data = (snapshot).data;\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (data && data[\"historyShouldRecord\"]) {\r\n\t\t\t\t\t\t\t// record history of this route\r\n\t\t\t\t\t\t\tif (data[\"historyLinkType\"] === 3) {\r\n\t\t\t\t\t\t\t\t//record this location into ellipsis dropdown history\r\n\t\t\t\t\t\t\t\tlet objId = snapshot.paramMap.get(\"mapObjectId\");\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tif (objId !== null) {\r\n\t\t\t\t\t\t\t\t\tif (objId !== this.lastProcessedMapObjectId) {\r\n\t\t\t\t\t\t\t\t\t\tthis.lastProcessedMapObjectId = objId;\r\n\t\t\t\t\t\t\t\t\t\tthis.createHistoryEntry(3, this.location.path(), '', objId)\r\n\t\t\t\t\t\t\t\t\t}\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\r\ninterface INavigationBack {\r\n\tNewUI: boolean,\r\n\tPath: string,\r\n\tTimeStamp: Date,\r\n\tScrollTop: number\r\n}\r\n\r\nclass NavigationBack implements INavigationBack {\r\n\tpublic NewUI: boolean = true;\r\n\tpublic Path: string = \"\";\r\n\tpublic TimeStamp: Date = new Date();\r\n\tpublic ScrollTop: number = 0;\r\n\r\n\tconstructor(private url: string) {\r\n\t\tthis.Path = url;\r\n\t}\r\n}\r\n\r\n@Injectable({\r\n\tprovidedIn: 'root'\r\n})\r\nexport class NavigationBackService {\r\n\tellipsisSearchTerm: any = null;\r\n\tmapEllipsisSearchTerm: any = null;\r\n\tstorageName: string = \"backStackUrls\";\r\n\r\n\tconstructor(\r\n\t\tprivate userInfo: UserInfoService,\r\n\t\tprivate historySrv: NavigationHistoryService,\r\n\t\tprivate location: Location,\r\n\t\tprivate router: Router,\r\n\t\tprivate appService: AppService\r\n\t) {\r\n\t\tlet backs: INavigationBack[] = JSON.parse(sessionStorage.getItem(this.storageName));\r\n\t\tif (backs != null && backs.length > 0) {\r\n\t\t\tif (backs[0].TimeStamp == null) {\r\n\t\t\t\tthis.clearBackUrls();\r\n\t\t\t}\r\n\t\t\t// remove old back history\r\n\t\t\telse {\r\n\t\t\t\tlet len: number = backs.length;\r\n\t\t\t\tfor (let i = len - 1; i >= 0; i--) {\r\n\t\t\t\t\tif (moment().isSameOrAfter(backs[i].TimeStamp, 'day') === false) {\r\n\t\t\t\t\t\tbacks.pop();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tthis.addBackUrl(this.location.path());\r\n\t}\r\n\r\n\taddBackUrl(url: string) {\r\n\t\tif (url != null) {\r\n\t\t\tlet backs: INavigationBack[] = JSON.parse(sessionStorage.getItem(this.storageName));\r\n\t\t\tlet previous: INavigationBack = (backs == null || backs == undefined) ? null : backs[backs.length - 1];\r\n\t\t\tif (backs == null) {\r\n\t\t\t\tbacks = [];\r\n\t\t\t}\r\n\t\t\tif (previous == null || url !== previous.Path) {\r\n\t\t\t\tthis.historySrv.checkLocation();\r\n\t\t\t\tbacks.push(new NavigationBack(url));\r\n\t\t\t\tsessionStorage.setItem(this.storageName, JSON.stringify(backs));\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tclearBackUrls(): void {\r\n\t\tsessionStorage.removeItem(this.storageName);\r\n\t}\r\n\r\n\tupdateCurrentEntryScrollTop(currentScrollTop: number = 0) {\r\n\t\tlet backUrls = JSON.parse(sessionStorage.getItem(this.storageName));\r\n\t\tif (backUrls != null && backUrls.length > 0) {\r\n\t\t\tbackUrls[backUrls.length - 1].ScrollTop = currentScrollTop;\r\n\t\t\tsessionStorage.setItem(this.storageName, JSON.stringify(backUrls));\r\n\t\t}\r\n\t}\r\n\r\n\tbackButtonClick(): void {\r\n\t\tlet backs: INavigationBack[] = JSON.parse(sessionStorage.getItem(this.storageName));\r\n\t\tlet previous: INavigationBack = backs.length >= 2 ? backs[backs.length - 2] : null;\r\n\t\tbacks.pop();\r\n\t\tsessionStorage.setItem(this.storageName, JSON.stringify(backs));\r\n\t\tif (previous) {\r\n\t\t\tif (previous.NewUI) {\r\n\t\t\t\t//when url paths are same, navigateByUrl does not \"reload\" component, so we need to do this:\r\n\t\t\t\t//(currently this can only handle one query parameter)\r\n\t\t\t\tlet curRootPath = this.router.url.split('/')[1];\r\n\t\t\t\tlet prevRootPath = previous.Path.split('/')[1];\t\t\t\t\r\n\r\n\t\t\t\tlet prevUrlQuerySplitItems = previous.Path.split('?');\r\n\r\n\t\t\t\tlet prevUrlQueryParamName = '';\r\n\t\t\t\tlet prevUrlQueryParamValue = '';\r\n\r\n\t\t\t\tlet prevUrlBeforeQuery = '';\r\n\r\n\t\t\t\tif (prevUrlQuerySplitItems.length > 1) {\r\n\t\t\t\t\tprevUrlQueryParamName = prevUrlQuerySplitItems[1].split('=')[0];\r\n\t\t\t\t\tprevUrlQueryParamValue = prevUrlQuerySplitItems[1].split('=')[1];\r\n\t\t\t\t\tprevUrlBeforeQuery = prevUrlQuerySplitItems[0];\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (curRootPath === prevRootPath) {\r\n\t\t\t\t\t//we want to use redirectReload when previous and current root path are same\r\n\t\t\t\t\tif (prevUrlQueryParamName !== '' && prevUrlQueryParamValue !== '') {\r\n\t\t\t\t\t\t//when we have query param do this\r\n\t\t\t\t\t\tthis.appService.redirectReload(prevUrlBeforeQuery, { queryParams: { [prevUrlQueryParamName]: prevUrlQueryParamValue } });\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t//when no query param (may have path variable here), do this\r\n\t\t\t\t\t\tthis.appService.redirectReload(previous.Path);\t\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\t//legacy default behavior of is NewUI\r\n\t\t\t\t\tthis.router.navigateByUrl(previous.Path);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t//legacy behavior not NewUI\r\n\t\t\t\twindow.location.href = AppSettingService.journeyUI + previous.Path;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t//legacy not previous\r\n\t\t\tthis.clearBackUrls();\r\n\r\n\t\t\tif (this.userInfo.isAnonymous()) {\t\t\t\t\r\n\t\t\t\tthis.router.navigateByUrl(\"/Map\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tthis.router.navigateByUrl(\"/User/ProfileDashboard\");\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n"], "mappings": "ypBAUA,IAAaA,IAAiB,IAAA,CAAxB,MAA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AA,EAAAP,EAAAmD,EAAA,CAAA,CAAA,CAAA,iCAArBjC,EAAqBT,QAArBS,EAAqBR,UAAAC,WAFrB,MAAM,CAAA,CAAA,SAENO,CAAqB,GAAA", "names": ["AccountAPIService", "constructor", "userInfo", "http", "url", "AppSettingService", "appConfig", "JourneyAPIUrl", "myProfileCahe", "personGuid", "cache", "getFullInfo", "get", "withCredentials", "headers", "authHeader", "getBasicInfo", "updateFullInfo", "data", "put", "updateAuthentication", "createConnectionCode", "getConnectionCode", "updateMyProfile", "profile", "initMyProfile", "isAnonymous", "Promise", "resolve", "firstValueFrom", "getMyProfile", "catch", "error", "console", "log", "clearProfile", "then", "getProfile", "PersonGuid", "of", "pipe", "tap", "response", "Photo", "toLowerCase", "indexOf", "CoverPhoto", "getPhotoDefaultList", "map", "x", "Path", "getCoverPhotoDefaultList", "searchDreamJob", "title", "limit", "offset", "encodeURIComponent", "toString", "deleteDreamJob", "getRoleModelSuggestList", "getMyProgress", "\u0275\u0275inject", "UserInfoService", "HttpClient", "factory", "\u0275fac", "providedIn", "VisitHistoryAPIService", "getRecent", "createHistoryEntry", "historyEntry", "post", "clearHistory", "patch", "ProfessionalHistory", "isRegular", "HistoryId", "OnetCode", "OccupationName", "CareerId", "CompanyName", "City", "State", "StartDate", "EndDate", "CurrentAttend", "RegularJob", "TotalMinute", "TotalHour", "reset", "ProfessionalHistoryHour", "JobDate", "FromTime", "ToTime", "ProfessionalHistoryAPIService", "getHistories", "regularJob", "userId", "valueOf", "saveHistory", "job", "getHistory", "historyId", "deleteHistory", "delete", "getHistoryHour", "saveHistoryHour", "hours", "SchoolHistoryAPIService", "getSchoolHistory", "getSchoolInHistory", "id", "saveSchoolHistory", "school", "deleteSchoolHistory", "hasSchoolHistory", "WidgetAPIService", "widgetUrl", "_enableSkillsGap", "_enableJobPosting", "saveUserWidget", "name", "enable", "collapse", "setting", "Enable", "Collapse", "Setting", "trim", "throwError", "getUserWidget", "enableSkillsGap", "switchMap", "enableJobPosting", "MyJourneyAPIService", "constructor", "userInfo", "http", "url", "AppSettingService", "appConfig", "JourneyAPIUrl", "search", "startPoint", "endPoint", "passthroughId", "mapOptionId", "get", "withCredentials", "headers", "authHeader", "passthrough", "save", "journeyId", "journeyName", "encodeURIComponent", "editPrimaryJourney", "journeyData", "post", "journeyWaypoints", "editLocalJourney", "journeyUserId", "parentJourneyLocalId", "remove", "list", "userId", "offset", "limit", "trim", "getUserJourneyDetail", "mapObjectId", "getJourneyDetail", "toggleUserJourneyPersist", "persist", "showPersist", "toString", "getUserJourneyPersist", "pipe", "map", "response", "Detail", "getUserSubjourney", "mapVersion", "journeyLocalId", "getTempJourneyWaypoints", "searchStartPoint", "mapversion", "endPointId", "keyword", "getValidStartPoint", "invalidStartPointMapObjectId", "\u0275\u0275inject", "UserInfoService", "HttpClient", "factory", "\u0275fac", "providedIn", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275element", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "ctx_r0", "postpone", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r3", "\u0275\u0275nextContext", "\u0275\u0275resetView", "close", "\u0275\u0275template", "GlobalAccountIntroDialog_ng_container_3_div_7_button_1_Template", "_r2", "askExist", "\u0275\u0275property", "allowCancel", "_r5", "GlobalAccountIntroDialog_ng_container_3_div_8_button_1_Template", "_r4", "\u0275\u0275elementContainerStart", "GlobalAccountIntroDialog_ng_container_3_span_6_Template", "GlobalAccountIntroDialog_ng_container_3_div_7_Template", "GlobalAccountIntroDialog_ng_container_3_div_8_Template", "screenWidth", "_r7", "GlobalAccountIntroDialog_ng_container_4_div_3_div_1_Template", "_r6", "_r9", "GlobalAccountIntroDialog_ng_container_4_div_4_div_1_Template", "_r8", "GlobalAccountIntroDialog_ng_container_4_div_3_Template", "GlobalAccountIntroDialog_ng_container_4_div_4_Template", "$event", "ctx_r2", "cancel", "submitLogin", "canLogin", "_r1", "ctx_r1", "frmSignup", "usernameMsg", "\u0275\u0275sanitizeHtml", "checkUsername", "currentStep", "username", "email", "\u0275\u0275twoWayListener", "i0", "\u0275\u0275twoWayBindingSet", "toggleUsernameEmail", "GlobalSignupComponent_ng_container_3_div_18_Template", "GlobalSignupComponent_ng_container_3_ng_container_20_Template", "GlobalSignupComponent_ng_container_3_ng_container_21_Template", "showMinimize", "\u0275\u0275twoWayProperty", "isWaiting", "GlobalSignupComponent_ng_container_4_div_18_Template", "GlobalSignupComponent_ng_container_4_ng_container_20_Template", "GlobalSignupComponent_ng_container_4_ng_container_21_Template", "checkPassword", "pw1", "length", "pw2", "showPassword", "GlobalSignupComponent_ng_container_5_ng_container_39_Template", "GlobalSignupComponent_ng_container_5_ng_container_40_Template", "txtPw1Type", "\u0275\u0275styleProp", "pw1isFocused", "txtPw2Type", "pwMsg", "goLogin", "_r10", "_r11", "GlobalSignupComponent_ng_container_6_div_3_ng_container_3_ng_container_1_Template", "GlobalSignupComponent_ng_container_6_div_3_ng_container_3_ng_container_2_Template", "byEmail", "signupMsg", "_r12", "reviewRetry", "GlobalSignupComponent_ng_container_6_div_3_ng_container_3_Template", "GlobalSignupComponent_ng_container_6_div_3_div_4_Template", "GlobalSignupComponent_ng_container_6_div_3_button_5_Template", "usernameTaken", "doneSignup", "GlobalSignupComponent_ng_container_6_div_1_Template", "GlobalSignupComponent_ng_container_6_div_2_Template", "GlobalSignupComponent_ng_container_6_div_3_Template", "alreadySignup", "GlobalAccountComponent", "constructor", "dialog", "signupLoginSrv", "userAPI", "userInfo", "myPopup", "completePopup", "askGlobalAccount", "open", "GlobalAccountIntroDialog", "disableClose", "panelClass", "width", "maxWidth", "data", "showGlobalAccounComplete", "completeType", "promptGlobalAccountIntro", "GlobalAccountCompleteDialog", "afterClosed", "subscribe", "checkStatus", "user", "getProfile", "NeedGlobalAccount", "askedGlobalAccount", "getGlobalAccountReqiretCount", "next", "response", "hasTries", "parseInt", "Detail", "error", "err", "console", "log", "add", "OtherAccounts", "IsPublicZone", "ngOnDestroy", "ngAfterViewInit", "\u0275\u0275directiveInject", "MatDialog", "SignupLoginService", "UserAPIService", "UserInfoService", "selectors", "standalone", "decls", "vars", "template", "rf", "ctx", "encapsulation", "dialogRef", "window", "innerWidth", "doSignupLogin", "choice", "SignupLoginDialog", "height", "autoFocus", "display", "globalAccount", "action", "updateGlobalAccountReqiretCount", "MatDialogRef", "MAT_DIALOG_DATA", "consts", "GlobalAccountIntroDialog_ng_container_3_Template", "GlobalAccountIntroDialog_ng_container_4_Template", "GlobalAccountCompleteDialog_span_4_Template", "GlobalAccountCompleteDialog_span_5_Template", "GlobalLoginComponent", "sessionAPI", "zoneAPI", "onClose", "frmLogin", "usernameStatus", "password", "passwordStatus", "myZone", "zonesUpdating", "msg", "isLogging", "AppSettingService", "widgetMobile", "txtPwType", "onResize", "event", "populateZones", "checkUserNameExist", "Zones", "setTimeout", "txtPassword", "nativeElement", "focus", "enforce", "type", "doLogin", "globalLogin", "success", "Code", "txtUsername", "blur", "trim", "e", "nextStep", "keyCode", "currentTarget", "id", "createAccount", "preventDefault", "ngOnInit", "getPublicZone", "Client", "SessionAPIService", "ZoneAPIService", "viewQuery", "\u0275\u0275resolveWindow", "GlobalLoginComponent_span_2_Template", "GlobalLoginComponent_div_25_Template", "GlobalLoginComponent_div_26_Template", "GlobalSignupComponent", "doc", "isPublic", "minAge", "usernameMinLen", "iStepHighestReached", "steps", "name", "emailStatus", "pw1Status", "pw2Status", "signupErrorCode", "changeStep", "toStep", "txtEmail", "txtPw1", "prgIndicatorJumpTo", "loginName", "AppUtilityService", "isEmail", "input", "getElementById", "value", "target", "pw", "validatePassword", "strength", "txtPw2", "message", "submitSignup", "btnPwNext", "reg", "Email", "Password", "UserName", "globalRegister", "publicZone", "signOn", "closeSignup", "login", "DOCUMENT", "GlobalSignupComponent_span_2_Template", "GlobalSignupComponent_ng_container_3_Template", "GlobalSignupComponent_ng_container_4_Template", "GlobalSignupComponent_ng_container_5_Template", "GlobalSignupComponent_ng_container_6_Template", "SignupLoginComponentModule", "CommonModule", "FormsModule", "ReactiveFormsModule", "NgbModule", "import_moment", "NavigationHistoryService", "constructor", "userInfo", "accountAPI", "visitAPI", "mapAPI", "myJourneyAPI", "route", "router", "location", "isAutoReroute", "linkTypeNames", "name", "ellipsisEntries", "numEntries", "lastProcessedMapObjectId", "isAnonymous", "getRecent", "subscribe", "response", "length", "i", "link", "JSON", "parse", "EllipsisEntryJson", "NewUI", "push", "sessionStorage", "stringify", "err", "console", "log", "undefined", "jsonSessionStorage", "clearEllipsisEntries", "originalLength", "pop", "pushEntry", "currentEllipsisEntry", "tempEllipsisEntries", "unshift", "parsedEllipsisEntries", "createHistoryEntry", "getMapObjectAncestory", "objectId", "linkType", "data", "links", "linkName", "FactoryLongLabel", "linkUrl", "path", "object_id", "split", "reverse", "error", "createEllipsisEntry", "entry", "headerName", "LinkType", "entryType", "AssociatedId", "journeyUserId", "snapshot", "paramMap", "get", "getUserJourneyDetail", "JourneyName", "LinkUrl", "SearchTerm", "searchTerm", "associatedId", "checkLocation", "events", "event", "ActivationEnd", "objId", "\u0275\u0275inject", "UserInfoService", "AccountAPIService", "VisitHistoryAPIService", "MapAPIService", "MyJourneyAPIService", "ActivatedRoute", "Router", "Location", "factory", "\u0275fac", "providedIn", "NavigationBack", "url", "Path", "TimeStamp", "Date", "ScrollTop", "NavigationBackService", "historySrv", "appService", "ellipsisSearchTerm", "mapEllipsisSearchTerm", "storageName", "backs", "getItem", "clearBackUrls", "len", "moment", "isSameOrAfter", "addBackUrl", "previous", "setItem", "removeItem", "updateCurrentEntryScrollTop", "currentScrollTop", "backUrls", "backButtonClick", "curRootPath", "prevRootPath", "prevUrlQuerySplitItems", "prevUrlQueryParamName", "prevUrlQueryParamValue", "prevUrlBeforeQuery", "redirectReload", "queryParams", "navigateByUrl", "window", "href", "AppSettingService", "journeyUI", "AppService"] }