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uBAAuB,EAAE,CACrB,KAAK,CACR;EACD,0CAA0C,EAAE;IACxC,yBAAyB,EAAE,CAAC;IAC5B,0BAA0B,EAAE;EAChC,CAAC;EACD,qCAAqC,EAAE,CACnC,OAAO;AAEf,CAAC;AAGD,iEAAeA,SAAS;;;;;;;;;;ACzCxB","sources":["./src/app/app-routing.module.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/auth-guard.ts","./src/app/auth/auth.component.ts","./src/app/auth/auth.component.html","./src/app/chargebee-api.helper.ts","./src/app/entitlements/entitlements.component.ts","./src/app/entitlements/entitlements.component.html","./src/app/entitlements/send-response.helper.ts","./src/app/external-sign-in-app/external-sign-in-app.component.ts","./src/app/external-sign-in-app/external-sign-in-app.component.html","./src/app/external-sign-in-browser/external-sign-in-browser.component.ts","./src/app/external-sign-in-browser/external-sign-in-browser.component.html","./src/app/external-sign-out-app/external-sign-out-app.component.ts","./src/app/external-sign-out-app/external-sign-out-app.component.html","./src/app/external-sign-out-browser/external-sign-out-browser.component.ts","./src/app/external-sign-out-browser/external-sign-out-browser.component.html","./src/app/header/header.component.ts","./src/app/header/header.component.html","./src/app/manage-email-complete/manage-email-complete.component.ts","./src/app/manage-email-complete/manage-email-complete.component.html","./src/app/manage-email-verify/manage-email-verify.component.ts","./src/app/manage-email-verify/manage-email-verify.component.html","./src/app/manage-email/manage-email.component.ts","./src/app/manage-email/manage-email.component.html","./src/app/manage-password-complete/manage-password-complete.component.ts","./src/app/manage-password-complete/manage-password-complete.component.html","./src/app/manage-password/manage-password.component.ts","./src/app/manage-password/manage-password.component.html","./src/app/manage-subscription-multiple-accounts/manage-subscription-multiple-accounts.component.ts","./src/app/manage-subscription-multiple-accounts/manage-subscription-multiple-accounts.component.html","./src/app/not-authenticated/not-authenticated.component.ts","./src/app/portal-error/portal-error.component.ts","./src/app/portal-error/portal-error.component.html","./src/app/portal/portal.component.ts","./src/app/portal/portal.component.html","./src/app/purchase-gift/purchase-gift.component.ts","./src/app/purchase-gift/purchase-gift.component.html","./src/app/purchase/purchase.component.ts","./src/app/purchase/purchase.component.html","./src/app/state.service.ts","./src/environments/environment.ts","./src/main.ts","./src/aws-exports.js","ignored|/Users/alan/dev/chargebee-wrapper/node_modules/amazon-cognito-identity-js/es/utils|crypto"],"sourcesContent":["import {NgModule} from \"@angular/core\";\nimport {RouterModule, Routes} from \"@angular/router\";\nimport {PortalComponent} from \"./portal/portal.component\";\nimport {EntitlementsComponent} from \"./entitlements/entitlements.component\";\nimport {PurchaseComponent} from \"./purchase/purchase.component\";\nimport {ManagePasswordComponent} from \"./manage-password/manage-password.component\";\nimport {ManageEmailComponent} from \"./manage-email/manage-email.component\";\nimport {ManageEmailVerifyComponent} from \"./manage-email-verify/manage-email-verify.component\";\nimport {ManagePasswordCompleteComponent} from \"./manage-password-complete/manage-password-complete.component\";\nimport {PortalErrorComponent} from \"./portal-error/portal-error.component\";\nimport {ManageEmailCompleteComponent} from \"./manage-email-complete/manage-email-complete.component\";\nimport {\n ManageSubscriptionMultipleAccountsComponent\n} from \"./manage-subscription-multiple-accounts/manage-subscription-multiple-accounts.component\";\nimport {PurchaseGiftComponent} from \"./purchase-gift/purchase-gift.component\";\nimport {AuthComponent} from \"./auth/auth.component\";\nimport {AuthGuard} from \"./auth-guard\";\nimport {ExternalSignInAppComponent} from \"./external-sign-in-app/external-sign-in-app.component\";\nimport {ExternalSignInBrowserComponent} from \"./external-sign-in-browser/external-sign-in-browser.component\";\nimport {ExternalSignOutAppComponent} from \"./external-sign-out-app/external-sign-out-app.component\";\nimport {ExternalSignOutBrowserComponent} from \"./external-sign-out-browser/external-sign-out-browser.component\";\n\nconst routes: Routes = [\n {\n path: \"\",\n pathMatch: \"full\",\n redirectTo: \"portal\",\n },\n {\n path: \"portal/:returnUrl\",\n component: PortalComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"portal\",\n component: PortalComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"portal-error/:errorMessage\",\n component: PortalErrorComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"manage-subscription-multiple-accounts\",\n component: ManageSubscriptionMultipleAccountsComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"manage-email\",\n component: ManageEmailComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"manage-email-verify/:newEmail\",\n component: ManageEmailVerifyComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"manage-email-complete/:newEmail\",\n component: ManageEmailCompleteComponent,\n },\n {\n path: \"manage-password\",\n component: ManagePasswordComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"manage-password-complete\",\n component: ManagePasswordCompleteComponent,\n },\n {\n path: \"purchase/:itemPriceId/:returnUrl\",\n component: PurchaseComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"purchase-gift/:itemPriceId/:returnUrl\",\n component: PurchaseGiftComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"entitlements/:returnUrl\",\n component: EntitlementsComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"entitlements\",\n component: EntitlementsComponent,\n },\n {\n path: \"auth\",\n component: AuthComponent,\n },\n {\n path: \"external-sign-in-app/:token\",\n component: ExternalSignInAppComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"external-sign-in-browser/:callback\",\n component: ExternalSignInBrowserComponent,\n canActivate: [AuthGuard]\n },\n {\n path: \"external-sign-out-app\",\n component: ExternalSignOutAppComponent,\n },\n {\n path: \"external-sign-out-browser/:callback\",\n component: ExternalSignOutBrowserComponent,\n }\n];\n\n@NgModule({\n imports: [RouterModule.forRoot(routes, {onSameUrlNavigation: \"reload\"})],\n exports: [RouterModule],\n providers: [AuthGuard]\n})\nexport class AppRoutingModule {\n}\n","import {Component} from \"@angular/core\";\n\n@Component({\n selector: \"app-root\",\n templateUrl: \"./app.component.html\",\n styleUrls: [\"./app.component.scss\"]\n})\nexport class AppComponent {\n public title = \"amplify-app\";\n}\n","
\n
\n\n
\n\n \n
\n
\n
","import {NgModule} from \"@angular/core\";\nimport {BrowserModule} from \"@angular/platform-browser\";\n\nimport {AppRoutingModule} from \"./app-routing.module\";\nimport {AppComponent} from \"./app.component\";\nimport {AmplifyAuthenticatorModule} from \"@aws-amplify/ui-angular\";\nimport {PortalComponent} from \"./portal/portal.component\";\nimport {PurchaseComponent} from \"./purchase/purchase.component\";\nimport {HttpClientModule} from \"@angular/common/http\";\nimport {EntitlementsComponent} from \"./entitlements/entitlements.component\";\nimport {NotAuthenticatedComponent} from \"./not-authenticated/not-authenticated.component\";\nimport {ManagePasswordComponent} from \"./manage-password/manage-password.component\";\nimport {FormsModule} from \"@angular/forms\";\nimport {ManageEmailComponent} from \"./manage-email/manage-email.component\";\nimport {ManageEmailVerifyComponent} from \"./manage-email-verify/manage-email-verify.component\";\nimport {ManagePasswordCompleteComponent} from \"./manage-password-complete/manage-password-complete.component\";\nimport {HeaderComponent} from \"./header/header.component\";\nimport {FontAwesomeModule} from \"@fortawesome/angular-fontawesome\";\nimport {PortalErrorComponent} from \"./portal-error/portal-error.component\";\nimport {ManageEmailCompleteComponent} from \"./manage-email-complete/manage-email-complete.component\";\nimport {\n ManageSubscriptionMultipleAccountsComponent\n} from \"./manage-subscription-multiple-accounts/manage-subscription-multiple-accounts.component\";\nimport {AuthComponent} from \"./auth/auth.component\";\nimport {PurchaseGiftComponent} from \"./purchase-gift/purchase-gift.component\";\nimport {ExternalSignInAppComponent} from './external-sign-in-app/external-sign-in-app.component';\nimport {ExternalSignInBrowserComponent} from './external-sign-in-browser/external-sign-in-browser.component';\nimport {ExternalSignOutAppComponent} from './external-sign-out-app/external-sign-out-app.component';\nimport {ExternalSignOutBrowserComponent} from './external-sign-out-browser/external-sign-out-browser.component';\n\n@NgModule({\n declarations: [\n AppComponent,\n PortalComponent,\n PurchaseComponent,\n EntitlementsComponent,\n NotAuthenticatedComponent,\n ManagePasswordComponent,\n ManageEmailComponent,\n ManageEmailVerifyComponent,\n ManagePasswordCompleteComponent,\n HeaderComponent,\n PortalErrorComponent,\n ManageEmailCompleteComponent,\n ManageSubscriptionMultipleAccountsComponent,\n AuthComponent,\n PurchaseGiftComponent,\n ExternalSignInAppComponent,\n ExternalSignInBrowserComponent,\n ExternalSignOutAppComponent,\n ExternalSignOutBrowserComponent,\n ],\n imports: [\n BrowserModule,\n AppRoutingModule,\n AmplifyAuthenticatorModule,\n HttpClientModule,\n FontAwesomeModule,\n FormsModule,\n ],\n providers: [],\n bootstrap: [AppComponent]\n})\nexport class AppModule {\n}\n","import {Injectable} from \"@angular/core\";\nimport {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree} from \"@angular/router\";\nimport {Observable} from \"rxjs\";\nimport {Auth} from \"aws-amplify\";\nimport {StateService} from \"./state.service\";\n\n@Injectable()\nexport class AuthGuard implements CanActivate {\n public constructor(private router: Router, private stateService: StateService) {\n }\n\n public canActivate(\n route: ActivatedRouteSnapshot,\n state: RouterStateSnapshot\n ): Observable | Promise | boolean | UrlTree {\n\n return new Promise(async (resolve, reject) => {\n try {\n await Auth.currentAuthenticatedUser();\n resolve(true)\n } catch {\n this.stateService.setAfterLoginUrl(location.pathname);\n resolve(this.router.parseUrl('/auth'));\n }\n });\n }\n}\n","import {Component} from \"@angular/core\";\nimport {AuthStyle, StateService} from \"../state.service\";\n\n@Component({\n selector: \"app-auth\",\n templateUrl: \"./auth.component.html\",\n styleUrls: [\"./auth.component.scss\"]\n})\nexport class AuthComponent {\n public initialState!: \"signIn\" | \"signUp\"\n public authStyle: AuthStyle;\n public AuthStyle = AuthStyle;\n\n constructor(stateService: StateService) {\n // include StateService in constructor to force StateService to run if page is reloaded while on /auth\n\n this.initialState = stateService.defaultToSignUp ? \"signUp\" : \"signIn\";\n this.authStyle = stateService.authStyle;\n }\n}\n","
\n
\n \n \n
\n \n
\n
\n\n \n
\n If you have already created an account with Geographical, please sign in here.\n

\n Alternatively, please select the \"Create Account\" tab above.\n
\n
\n Please log in using your Geographical Subscriber account.\n
\n
\n\n \n
\n If you are new here or renewing a subscription taken out prior to 2023,\n then you will need to create an account on our new subscription system\n by filling in your details below.\n

\n Alternatively, if you have previously created an account,\n please select the \"Sign in\" tab above.\n
\n
\n\n \n \n \n
\n Authenticated content!!!\n \n
\n
\n \n \n \n
\n
\n
\n","import {API, Auth} from \"aws-amplify\";\n\nexport class ChargebeeApiHelper {\n public static async callChargebeeInterface(path: string, addAuth: boolean): Promise {\n const headers: any = {\n // Authorization: token,\n \"Content-Type\": \"application/text\"\n };\n\n if (addAuth) {\n const user = await Auth.currentAuthenticatedUser();\n console.log(\"email \", user.attributes.email);\n const token = user.signInUserSession.idToken.jwtToken;\n console.log(\"token \", token);\n headers.Authorization = token;\n }\n\n const apiName = \"chargebeeInterfaceApi\";\n\n console.log(\"calling api \", apiName);\n\n const time = Date.now();\n let data;\n\n await API\n .get(apiName, path, { // OPTIONAL\n headers,\n }\n )\n .then(response => {\n // Add your code here\n console.log(\"api response \" + JSON.stringify(response));\n data = response;\n })\n .catch(error => {\n console.log(\"api error \" + error);\n });\n\n\n console.log(\"after chargebeeInterface - elapsed \", (Date.now() - time));\n console.log(JSON.stringify(data));\n\n return data;\n }\n}\n","import {Component, OnInit} from \"@angular/core\";\nimport {ChargebeeApiHelper} from \"../chargebee-api.helper\";\nimport {StateService} from \"../state.service\";\nimport {ActivatedRoute} from \"@angular/router\";\nimport {Auth} from \"aws-amplify\";\nimport {SendResponseHelper} from \"./send-response.helper\";\n\n@Component({\n selector: \"app-entitlements\",\n templateUrl: \"./entitlements.component.html\",\n styleUrls: [\"./entitlements.component.scss\"]\n})\nexport class EntitlementsComponent implements OnInit {\n\n public constructor(private route: ActivatedRoute, private stateService: StateService) {\n this.stateService.returnUrl = this.route.snapshot.paramMap.get(\"returnUrl\") ?? this.stateService.returnUrl;\n }\n\n public async ngOnInit(): Promise {\n try {\n const authenticatedUser = await Auth.currentAuthenticatedUser();\n ChargebeeApiHelper.callChargebeeInterface(\"/portal?action=getEntitlements\", true).then((data) => {\n const entitlements = data?.entitlements ?? [];\n\n console.log(JSON.stringify(entitlements));\n\n const loginDetails: LoginDetails = {\n authenticated: true,\n entitlements: entitlements,\n email: authenticatedUser.attributes.email\n };\n\n SendResponseHelper.sendResponse(this.stateService.returnUrl, \"entitlements\", JSON.stringify(loginDetails))\n // window.parent.postMessage(\"entitlements:\" + JSON.stringify(loginDetails), this.stateService.returnUrl);\n });\n } catch {\n const loginDetails: LoginDetails = {authenticated: false};\n // window.parent.postMessage(\"entitlements:\" + JSON.stringify(loginDetails), this.stateService.returnUrl);\n SendResponseHelper.sendResponse(this.stateService.returnUrl, \"entitlements\", JSON.stringify(loginDetails))\n }\n }\n}\n\nexport interface LoginDetails {\n authenticated: boolean;\n email?: string;\n entitlements?: string[];\n encryptedEmail?: string;\n}\n","\n
\n Checking access\n
\n
","export class SendResponseHelper {\n\n public static sendResponse(url: string, paramName: string, paramValue: string) {\n const separatorChar = url.indexOf(\"?\") === -1 ? \"?\" : \"&\";\n location.href = url + separatorChar + paramName + \"=\" + encodeURIComponent(paramValue);\n // const formEl = document.createElement(\"form\");\n // document.body.appendChild(formEl);\n // formEl.action = url;\n // formEl.method = \"post\";\n // const inputEl = document.createElement(\"input\")\n // inputEl.hidden = true;\n // inputEl.name = paramName\n // inputEl.value = paramValue\n // formEl.appendChild(inputEl)\n // formEl.submit();\n }\n}","import {Component, OnInit} from '@angular/core';\nimport {ActivatedRoute, Router} from \"@angular/router\";\nimport {StateService} from \"../state.service\";\nimport {API, Auth} from \"aws-amplify\";\n\n@Component({\n selector: 'app-external-sign-in-app',\n templateUrl: './external-sign-in-app.component.html',\n styleUrls: ['./external-sign-in-app.component.scss']\n})\nexport class ExternalSignInAppComponent implements OnInit {\n\n public ready = false\n\n public constructor(private route: ActivatedRoute, private stateService: StateService, private router: Router) {\n const token = this.route.snapshot.paramMap.get(\"token\") ?? this.stateService.returnUrl;\n\n Auth.currentAuthenticatedUser().then(async (user) => {\n // this.email = user.attributes.email;\n // console.log(\"user email = \" + user.attributes.email);\n console.log(\"authenticated user\", user)\n\n const signInUserSession = user.signInUserSession\n const hash = `#access_token=${signInUserSession.accessToken.jwtToken}&id_token=${signInUserSession.idToken.jwtToken}&refresh_token=${signInUserSession.refreshToken.token}`\n\n // const path = \"/put-hash/\" + encodeURIComponent(token) + \"/\" + encodeURIComponent(hash)\n const path = \"/post-hash/\" + encodeURIComponent(token)\n const init = {\n body: {\n hash,\n },\n }\n await API.post(\"chargebeeInterfaceApi\",\n path,\n init)\n\n this.ready = true;\n // location.href = \"geographicalmagazine://__cognito_app_login_callback/geosub\"\n });\n\n }\n\n ngOnInit(): void {\n }\n\n}","\n","import { Component, OnInit } from '@angular/core';\nimport {ActivatedRoute, Router} from \"@angular/router\";\nimport {StateService} from \"../state.service\";\nimport {API, Auth} from \"aws-amplify\";\n\n@Component({\n selector: 'app-external-sign-in-browser',\n templateUrl: './external-sign-in-browser.component.html',\n styleUrls: ['./external-sign-in-browser.component.scss']\n})\nexport class ExternalSignInBrowserComponent implements OnInit {\n public returnUrl?: string;\n\n public constructor(private route: ActivatedRoute, private stateService: StateService, private router: Router) {\n const callback = this.route.snapshot.paramMap.get(\"callback\") ?? this.stateService.returnUrl;\n\n Auth.currentAuthenticatedUser().then(async (user) => {\n // this.email = user.attributes.email;\n // console.log(\"user email = \" + user.attributes.email);\n console.log(\"authenticated user\", user)\n\n const signInUserSession = user.signInUserSession\n const hash = `access_token=${signInUserSession.accessToken.jwtToken}&id_token=${signInUserSession.idToken.jwtToken}&refresh_token=${signInUserSession.refreshToken.token}`\n\n this.returnUrl = callback + \"#\" + hash;\n\n });\n\n }\n\n ngOnInit(): void {\n }\n\n}","\n","import { Component, OnInit } from '@angular/core';\nimport {ActivatedRoute, Router} from \"@angular/router\";\nimport {StateService} from \"../state.service\";\nimport {Auth} from \"aws-amplify\";\n\n@Component({\n selector: 'app-external-sign-out-app',\n templateUrl: './external-sign-out-app.component.html',\n styleUrls: ['./external-sign-out-app.component.scss']\n})\nexport class ExternalSignOutAppComponent implements OnInit {\n public ready = false;\n\n public constructor(private route: ActivatedRoute, private stateService: StateService, private router: Router) {\n this.stateService.returnUrl = this.route.snapshot.paramMap.get(\"returnUrl\") ?? this.stateService.returnUrl;\n\n Auth.currentAuthenticatedUser().then((user) => {\n // this.email = user.attributes.email;\n // console.log(\"user email = \" + user.attributes.email);\n console.log(\"authenticated user\", user)\n Auth.signOut().then(() => {\n this.ready = true;\n location.href = this.stateService.returnUrl;\n });\n });\n }\n\n public ngOnInit(): void {\n setTimeout(() => {\n location.href = this.stateService.returnUrl;\n }, 2000)\n }\n}\n","\n
\n

\n Return\n

\n
\n","import { Component, OnInit } from '@angular/core';\nimport {ActivatedRoute, Router} from \"@angular/router\";\nimport {StateService} from \"../state.service\";\nimport {Auth} from \"aws-amplify\";\n\n@Component({\n selector: 'app-external-sign-out-browser',\n templateUrl: './external-sign-out-browser.component.html',\n styleUrls: ['./external-sign-out-browser.component.scss']\n})\nexport class ExternalSignOutBrowserComponent implements OnInit {\n public returnUrl?: string;\n\n public constructor(private route: ActivatedRoute, private stateService: StateService, private router: Router) {\n this.stateService.returnUrl = this.route.snapshot.paramMap.get(\"callback\") ?? this.stateService.returnUrl;\n\n Auth.currentAuthenticatedUser().then((user) => {\n // this.email = user.attributes.email;\n // console.log(\"user email = \" + user.attributes.email);\n console.log(\"authenticated user\", user)\n Auth.signOut().then(() => {\n this.returnUrl = this.stateService.returnUrl;\n // location.href = this.stateService.returnUrl;\n });\n });\n }\n\n public ngOnInit(): void {\n setTimeout(() => {\n this.returnUrl = this.stateService.returnUrl;\n\n // location.href = this.stateService.returnUrl;\n }, 2000)\n }\n}\n","\n
\n

\n Return\n

\n
","import {Component, Input} from \"@angular/core\";\nimport * as FontAwesome from \"@fortawesome/free-solid-svg-icons\";\n\n@Component({\n selector: \"app-header\",\n templateUrl: \"./header.component.html\",\n styleUrls: [\"./header.component.scss\"]\n})\nexport class HeaderComponent {\n @Input() public title!: string;\n @Input() public navigateBack: string | undefined;\n public FontAwesome = FontAwesome;\n\n}\n","\n
\n \n {{title}}\n
\n
\n\n
\n
\n {{title}}\n
\n","import {AfterViewInit, Component} from \"@angular/core\";\nimport {ChargebeeApiHelper} from \"../chargebee-api.helper\";\nimport * as FontAwesome from \"@fortawesome/free-solid-svg-icons\";\nimport {Auth} from \"aws-amplify\";\nimport {StateService} from \"../state.service\";\nimport {ActivatedRoute, Router} from \"@angular/router\";\n\n@Component({\n selector: \"app-manage-email-complete\",\n templateUrl: \"./manage-email-complete.component.html\",\n styleUrls: [\"./manage-email-complete.component.scss\"]\n})\nexport class ManageEmailCompleteComponent implements AfterViewInit {\n public syncStatusMessage = \"in progress\";\n public FontAwesome = FontAwesome;\n public showSignout = false;\n public newEmail = \"\";\n\n public constructor(private stateService: StateService, private router: Router, private route: ActivatedRoute) {\n this.newEmail = this.route.snapshot.paramMap.get(\"newEmail\") ?? \"\";\n }\n\n public ngAfterViewInit(): void {\n // update chargebee accounts to this users email\n ChargebeeApiHelper.callChargebeeInterface(\"/portal?action=afterUpdateEmail&newEmail=\" + encodeURIComponent(this.newEmail), true).then((data) => {\n this.syncStatusMessage = \"complete - \" + data.updatedAccounts ?? 0 + \" records linked\";\n this.showSignout = true;\n Auth.signOut();\n });\n }\n\n public signOut(): void {\n this.router.navigateByUrl(\"/entitlements\");\n }\n}\n","\n
\n Your email address has been updated\n
\n Syncing subscriptions: {{syncStatusMessage}}\n
\n \n \n Sign Out\n\n
\n","import {Component} from \"@angular/core\";\nimport {ActivatedRoute, Router} from \"@angular/router\";\nimport {StateService} from \"../state.service\";\nimport {Auth} from \"aws-amplify\";\n\n@Component({\n selector: \"app-manage-email-verify\",\n templateUrl: \"./manage-email-verify.component.html\",\n styleUrls: [\"./manage-email-verify.component.scss\"]\n})\nexport class ManageEmailVerifyComponent {\n public newEmail = \"\";\n public code = \"\";\n public message = \"\";\n\n public codeChange(value: string): void {\n this.code = value;\n }\n\n public constructor(private route: ActivatedRoute, private stateService: StateService, private router: Router) {\n this.newEmail = this.route.snapshot.paramMap.get(\"newEmail\") ?? \"\";\n }\n\n\n public verifyEmail(): void {\n Auth.currentAuthenticatedUser()\n .then(user => {\n return Auth.verifyUserAttributeSubmit(user, \"email\", this.code);\n })\n .then(async () => {\n this.router.navigateByUrl(\"/manage-email-complete/\" + encodeURIComponent(this.newEmail));\n })\n .catch(err => {\n console.log(err);\n if (err.message === \"null\") {\n this.message = \"Unable to verify email address.\";\n } else {\n this.message = err.message;\n }\n });\n }\n\n public resendCode(): void {\n Auth.currentAuthenticatedUser()\n .then(() => {\n return Auth.verifyCurrentUserAttribute(\"email\");\n })\n .then(data => {\n console.log(data);\n })\n .catch(err => console.log(err));\n }\n}\n","\n
\n We Emailed You\n
\n
Your code is on the way. To confirm your email, enter the code we emailed to {{newEmail}}.\n It may take a minute to arrive.
\n
\n \n
\n {{message}}
\n \n
\n
\n Resend Code\n
\ngeolive\n","import {Component, OnInit} from \"@angular/core\";\nimport {Auth} from \"aws-amplify\";\nimport {Router} from \"@angular/router\";\nimport {ChargebeeApiHelper} from \"../chargebee-api.helper\";\nimport {SendResponseHelper} from \"../entitlements/send-response.helper\";\nimport {LoginDetails} from \"../entitlements/entitlements.component\";\n\n@Component({\n selector: \"app-manage-email\",\n templateUrl: \"./manage-email.component.html\",\n styleUrls: [\"./manage-email.component.scss\"]\n})\nexport class ManageEmailComponent implements OnInit {\n public newEmail = \"\";\n public message = \"\";\n\n public newEmailChange(value: string): void {\n this.newEmail = value;\n }\n\n public constructor(private router: Router) {\n }\n\n public async ngOnInit() {\n try {\n // get entitlements because this also sets chargebee custom field Cognito ID - which will enable cognito email update\n ChargebeeApiHelper.callChargebeeInterface(\"/portal?action=getEntitlements\", true).then((data) => {\n const entitlements = data?.entitlements ?? [];\n console.log(JSON.stringify(entitlements));\n });\n } catch {\n }\n\n }\n\n public updateEmail(): void {\n Auth.currentAuthenticatedUser()\n .then(user => {\n return Auth.updateUserAttributes(user, {email: this.newEmail});\n })\n .then(data => {\n console.log(data);\n this.router.navigateByUrl(\"/manage-email-verify/\" + encodeURIComponent(this.newEmail));\n })\n .catch(err => {\n if (err.message === \"null\") {\n this.message = \"Unable to verify email address.\";\n } else {\n this.message = err.message;\n }\n console.log(err);\n });\n }\n}\n","\n
\n Enter your new email address\n
\n
\n \n
\n {{message}}
\n \n
\n
\n","import {Component} from \"@angular/core\";\nimport {Router} from \"@angular/router\";\nimport * as FontAwesome from \"@fortawesome/free-solid-svg-icons\";\nimport {Auth} from \"aws-amplify\";\nimport {StateService} from \"../state.service\";\n\n@Component({\n selector: \"app-manage-password-complete\",\n templateUrl: \"./manage-password-complete.component.html\",\n styleUrls: [\"./manage-password-complete.component.scss\"]\n})\nexport class ManagePasswordCompleteComponent {\n public FontAwesome = FontAwesome;\n\n public constructor(private stateService: StateService, private router: Router) {\n Auth.signOut();\n }\n\n public signOut(): void {\n this.router.navigateByUrl(\"/entitlements\");\n }\n}\n","\n
\n Password updated\n
\n \n \n Sign Out\n
","import {Component} from \"@angular/core\";\nimport {Auth} from \"aws-amplify\";\nimport {Router} from \"@angular/router\";\n\n@Component({\n selector: \"app-manage-password\",\n templateUrl: \"./manage-password.component.html\",\n styleUrls: [\"./manage-password.component.scss\"]\n})\nexport class ManagePasswordComponent {\n public oldPassword = \"\";\n public newPassword1 = \"\";\n public newPassword2 = \"\";\n\n public oldPasswordChange(value: string): void {\n this.oldPassword = value;\n }\n\n public newPassword1Change(value: string): void {\n this.newPassword1 = value;\n }\n\n public newPassword2Change(value: string): void {\n this.newPassword2 = value;\n }\n\n public constructor(private router: Router) {\n }\n\n public updatePassword(): void {\n Auth.currentAuthenticatedUser()\n .then(user => {\n return Auth.changePassword(user, this.oldPassword, this.newPassword1);\n })\n .then(data => {\n console.log(data);\n this.router.navigateByUrl(\"/manage-password-complete\");\n })\n .catch(err => console.log(err));\n }\n}\n","\n
\n\n Old Password\n
\n \n
\n New Password\n
\n \n
\n Re-Type New Password\n
\n \n
\n {{(newPassword1 !== newPassword2 ? \"Passwords must match\" : \"\")}}\n
\n \n
\n","import {Component} from \"@angular/core\";\nimport {AccessUrl, StateService} from \"../state.service\";\n\n@Component({\n selector: \"app-manage-subscription-multiple-accounts\",\n templateUrl: \"./manage-subscription-multiple-accounts.component.html\",\n styleUrls: [\"./manage-subscription-multiple-accounts.component.scss\"]\n})\nexport class ManageSubscriptionMultipleAccountsComponent {\n\n public accessUrls!: AccessUrl[];\n public JSON = JSON;\n\n public constructor(private stateService: StateService) {\n this.accessUrls = stateService.accessUrls.sort((a, b) => a.accessUrl.localeCompare(b.accessUrl));\n }\n\n public accessUrlClick(accessUrl: string): void {\n location.href = accessUrl;\n }\n}\n\n","\n
\n
\n
\n \n {{accessUrl.firstName}} {{accessUrl.lastName}}\n
\n
\n \n {{accessUrl.company}}\n
\n
\n
Customer ID: {{accessUrl.customerId}}
\n
\n
\n
\n","import {Component, OnInit} from \"@angular/core\";\nimport {SendResponseHelper} from \"../entitlements/send-response.helper\";\nimport {LoginDetails} from \"../entitlements/entitlements.component\";\n\n@Component({\n selector: \"app-not-authenticated\",\n templateUrl: \"./not-authenticated.component.html\",\n styleUrls: [\"./not-authenticated.component.scss\"]\n})\nexport class NotAuthenticatedComponent implements OnInit {\n\n public ngOnInit(): void {\n // window.parent.postMessage(\"not-authenticated\", \"*\");\n // const loginDetails: LoginDetails = {authenticated: false};\n // window.parent.postMessage(\"entitlements:\" + JSON.stringify(loginDetails), this.stateService.returnUrl);\n // PostRedirectHelper.postRedirect(this.stateService.returnUrl, \"entitlements\", JSON.stringify(loginDetails))\n }\n\n}\n","import {Component} from \"@angular/core\";\nimport {ActivatedRoute} from \"@angular/router\";\n\n@Component({\n selector: \"app-portal-error\",\n templateUrl: \"./portal-error.component.html\",\n styleUrls: [\"./portal-error.component.scss\"]\n})\nexport class PortalErrorComponent {\n public message = \"\";\n\n public constructor(private route: ActivatedRoute) {\n this.message = this.route.snapshot.paramMap.get(\"errorMessage\") ?? \"\";\n }\n}\n","\n
\n Unable to access subscription\n
\n {{message}}\n
\n","import {Component} from \"@angular/core\";\nimport {ChargebeeApiHelper} from \"../chargebee-api.helper\";\nimport {ActivatedRoute, Router} from \"@angular/router\";\nimport {Auth} from \"aws-amplify\";\nimport {StateService} from \"../state.service\";\nimport * as FontAwesome from \"@fortawesome/free-solid-svg-icons\";\n\n@Component({\n selector: \"app-portal\",\n templateUrl: \"./portal.component.html\",\n styleUrls: [\"./portal.component.scss\"]\n})\nexport class PortalComponent {\n public email = \"\";\n public FontAwesome = FontAwesome;\n\n public constructor(private route: ActivatedRoute, private stateService: StateService, private router: Router) {\n Auth.currentAuthenticatedUser().then((user) => {\n this.email = user.attributes.email;\n console.log(\"user email = \" + user.attributes.email);\n });\n\n this.stateService.returnUrl = this.route.snapshot.paramMap.get(\"returnUrl\") ?? this.stateService.returnUrl;\n }\n\n public signOut(): void {\n Auth.signOut().then(() => {\n this.router.navigateByUrl(\"/entitlements\");\n });\n }\n\n public return(): void {\n this.router.navigateByUrl(\"/entitlements\");\n }\n\n public async manageSubscription(): Promise {\n const redirectUrl = window.location.protocol + \"//\" + window.location.host + \"/entitlements/\";\n\n const data = await ChargebeeApiHelper.callChargebeeInterface(\n \"/portal?action=portalSessionCreate\"\n + \"&redirectUrl=\" + encodeURIComponent(redirectUrl), true\n );\n\n console.log(JSON.stringify(data));\n if (data?.accessUrls?.length > 1) {\n // alert(\"about to redirect: \" + data.accessUrl)\n this.stateService.accessUrls = data.accessUrls;\n this.router.navigateByUrl(\"/manage-subscription-multiple-accounts\");\n } else if (data?.accessUrls?.length === 1) {\n // alert(\"about to redirect: \" + data.accessUrl)\n document.location.href = data.accessUrls[0].accessUrl;\n } else {\n let message = \"Unable to access subscription\";\n if (data?.api_error_code === \"resource_not_found\") {\n message = \"No subscription found for customer\";\n } else if (data?.error) {\n message = data?.error;\n }\n this.router.navigateByUrl(\"/portal-error/\" + encodeURIComponent(message));\n }\n }\n}\n","\n\n","import {Component, OnInit} from \"@angular/core\";\nimport {ActivatedRoute} from \"@angular/router\";\nimport {ChargebeeApiHelper} from \"../chargebee-api.helper\";\nimport {StateService} from \"../state.service\";\n\n@Component({\n selector: \"app-purchase-gift\",\n templateUrl: \"./purchase-gift.component.html\",\n styleUrls: [\"./purchase-gift.component.scss\"]\n})\nexport class PurchaseGiftComponent implements OnInit {\n public message = \"Loading...\";\n\n public constructor(private route: ActivatedRoute, private stateService: StateService) {\n this.stateService.returnUrl = this.route.snapshot.paramMap.get(\"returnUrl\") ?? this.stateService.returnUrl;\n }\n\n public async ngOnInit(): Promise {\n const itemPriceId = this.route.snapshot.paramMap.get(\"itemPriceId\") ?? \"\";\n const data = await ChargebeeApiHelper.callChargebeeInterface(\n \"/portal?action=checkoutForNewGift\"\n + \"&itemPriceId=\" + encodeURIComponent(itemPriceId)\n + \"&redirectUrl=\" + encodeURIComponent(this.stateService.returnUrl), true\n );\n console.log(JSON.stringify(data));\n // alert(\"about to redirect: \" + data.hostedPageUrl)\n\n if (data.error) {\n this.message = data.error;\n } else {\n document.location = data.hostedPageUrl;\n }\n }\n\n}","\n

{{message}}

\n","import {Component, OnInit} from \"@angular/core\";\nimport {ChargebeeApiHelper} from \"../chargebee-api.helper\";\nimport {ActivatedRoute} from \"@angular/router\";\nimport {StateService} from \"../state.service\";\n\n@Component({\n selector: \"app-purchase\",\n templateUrl: \"./purchase.component.html\",\n styleUrls: [\"./purchase.component.scss\"]\n})\nexport class PurchaseComponent implements OnInit {\n public message = \"Loading...\";\n\n public constructor(private route: ActivatedRoute, private stateService: StateService) {\n this.stateService.returnUrl = this.route.snapshot.paramMap.get(\"returnUrl\") ?? this.stateService.returnUrl;\n }\n\n public async ngOnInit(): Promise {\n const redirectUrl = window.location.protocol + \"//\" + window.location.host + \"/entitlements/\";\n\n const itemPriceId = this.route.snapshot.paramMap.get(\"itemPriceId\") ?? \"\";\n const data = await ChargebeeApiHelper.callChargebeeInterface(\n \"/portal?action=checkoutForNewItem\"\n + \"&itemPriceId=\" + encodeURIComponent(itemPriceId)\n + \"&redirectUrl=\" + encodeURIComponent(redirectUrl), true\n );\n console.log(JSON.stringify(data));\n\n if (data.error) {\n this.message = data.error;\n } else {\n document.location = data.hostedPageUrl;\n }\n }\n\n}\n","\n

{{message}}

\n","import {Injectable, NgZone} from \"@angular/core\";\nimport {Hub} from \"aws-amplify\";\nimport {Router, UrlTree} from \"@angular/router\";\nimport {ExternalSignInAppComponent} from \"./external-sign-in-app/external-sign-in-app.component\";\nimport {AuthGuard} from \"./auth-guard\";\nimport {ExternalSignInBrowserComponent} from \"./external-sign-in-browser/external-sign-in-browser.component\";\nimport {ExternalSignOutAppComponent} from \"./external-sign-out-app/external-sign-out-app.component\";\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class StateService {\n public accessUrls: AccessUrl[] = [];\n\n public get authStyle(): AuthStyle {\n const afterLoginUrl = this.getAfterLoginUrl() ?? \"\";\n if (afterLoginUrl.indexOf(\"/external-sign-in-app/\") !== -1) {\n return AuthStyle.app\n } else if (afterLoginUrl.indexOf(\"/external-sign-in-browser/\") !== -1) {\n return AuthStyle.webviewer\n }\n return AuthStyle.website\n }\n\n public get defaultToSignUp(): boolean {\n const afterLoginUrl = this.getAfterLoginUrl();\n if (!afterLoginUrl) {\n return false;\n }\n return afterLoginUrl.indexOf(\"purchase\") !== -1;\n }\n\n public setAfterLoginUrl(url: string) {\n localStorage.setItem('afterLoginUrl', JSON.stringify(url));\n }\n\n public getAfterLoginUrl(): string | undefined {\n const json = localStorage.getItem('afterLoginUrl')\n return json ? JSON.parse(json) : undefined\n }\n\n public set returnUrl(url: string) {\n localStorage.setItem('returnUrl', JSON.stringify(url));\n }\n\n public get returnUrl(): string {\n const json = localStorage.getItem('returnUrl')\n return json ? JSON.parse(json) : \"\"\n }\n\n public constructor(private router: Router) {\n Hub.listen(\"auth\", (data) => {\n console.log()\n switch (data.payload.event) {\n case \"signIn\":\n console.log(\"user signed in\");\n let afterLoginUrl = this.getAfterLoginUrl();\n if (afterLoginUrl) {\n // remove trailing slash that gets added in hosted environment\n if (afterLoginUrl?.endsWith(\"/\")){\n afterLoginUrl = afterLoginUrl.substring(0, afterLoginUrl.length - 1);\n }\n this.router.navigateByUrl(afterLoginUrl);\n }\n break;\n case \"signUp\":\n console.log(\"user signed up\");\n break;\n case \"signOut\":\n console.log(\"user signed out\");\n // this.router.navigateByUrl('/close-manage-account')\n break;\n case \"signIn_failure\":\n console.log(\"user sign in failed\", data);\n break;\n case \"configured\":\n console.log(\"the Auth module is configured\");\n }\n });\n\n }\n}\n\nexport interface AccessUrl {\n accessUrl: string\n customerId: string\n firstName: string\n lastName: string\n company: string\n}\n\nexport enum AuthStyle {\n website,\n webviewer,\n app\n}\n","// This file can be replaced during build by using the `fileReplacements` array.\n// `ng build` replaces `environment.ts` with `environment.prod.ts`.\n// The list of file replacements can be found in `angular.json`.\n\nexport const environment = {\n production: false\n};\n\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.\n","import {enableProdMode} from \"@angular/core\";\nimport {platformBrowserDynamic} from \"@angular/platform-browser-dynamic\";\n\nimport {AppModule} from \"./app/app.module\";\nimport {environment} from \"./environments/environment\";\nimport awsmobile from \"./aws-exports\";\nimport {Amplify} from \"aws-amplify\";\n\nAmplify.configure(awsmobile);\n\nif (environment.production) {\n enableProdMode();\n}\n\nplatformBrowserDynamic().bootstrapModule(AppModule)\n .catch(err => console.error(err));\n","/* eslint-disable */\n// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.\n\nconst awsmobile = {\n \"aws_project_region\": \"eu-west-2\",\n \"aws_appsync_graphqlEndpoint\": \"https://k2czx7fgsjgutjuw2aiu5n3k24.appsync-api.eu-west-2.amazonaws.com/graphql\",\n \"aws_appsync_region\": \"eu-west-2\",\n \"aws_appsync_authenticationType\": \"API_KEY\",\n \"aws_cloud_logic_custom\": [\n {\n \"name\": \"chargebeeInterfaceApi\",\n \"endpoint\": \"https://uhlstp5w4d.execute-api.eu-west-2.amazonaws.com/geolive\",\n \"region\": \"eu-west-2\"\n }\n ],\n \"aws_cognito_identity_pool_id\": \"eu-west-2:6d6c0a78-795d-447b-bb71-95de5bb100c9\",\n \"aws_cognito_region\": \"eu-west-2\",\n \"aws_user_pools_id\": \"eu-west-2_CvhjZVDkP\",\n \"aws_user_pools_web_client_id\": \"39rhmgmse4m31ceie2f7nbmr1i\",\n \"oauth\": {},\n \"aws_cognito_username_attributes\": [\n \"EMAIL\"\n ],\n \"aws_cognito_social_providers\": [],\n \"aws_cognito_signup_attributes\": [\n \"EMAIL\"\n ],\n \"aws_cognito_mfa_configuration\": \"OFF\",\n \"aws_cognito_mfa_types\": [\n \"SMS\"\n ],\n \"aws_cognito_password_protection_settings\": {\n \"passwordPolicyMinLength\": 8,\n \"passwordPolicyCharacters\": []\n },\n \"aws_cognito_verification_mechanisms\": [\n \"EMAIL\"\n ]\n};\n\n\nexport default awsmobile;\n","/* (ignored) */"],"names":["RouterModule","PortalComponent","EntitlementsComponent","PurchaseComponent","ManagePasswordComponent","ManageEmailComponent","ManageEmailVerifyComponent","ManagePasswordCompleteComponent","PortalErrorComponent","ManageEmailCompleteComponent","ManageSubscriptionMultipleAccountsComponent","PurchaseGiftComponent","AuthComponent","AuthGuard","ExternalSignInAppComponent","ExternalSignInBrowserComponent","ExternalSignOutAppComponent","ExternalSignOutBrowserComponent","routes","path","pathMatch","redirectTo","component","canActivate","AppRoutingModule","imports","forRoot","onSameUrlNavigation","i1","exports","AppComponent","constructor","title","selectors","decls","vars","consts","template","AppComponent_Template","rf","ctx","i0","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","BrowserModule","AmplifyAuthenticatorModule","HttpClientModule","NotAuthenticatedComponent","FormsModule","HeaderComponent","FontAwesomeModule","AppModule","bootstrap","declarations","Auth","router","stateService","route","state","_this","Promise","_ref","_asyncToGenerator","resolve","reject","currentAuthenticatedUser","setAfterLoginUrl","location","pathname","parseUrl","_x","_x2","apply","arguments","ɵɵinject","Router","i2","StateService","factory","ɵfac","AuthStyle","ɵɵtext","ɵɵtemplate","AuthComponent_ng_template_4_div_0_Template","AuthComponent_ng_template_4_div_1_Template","ɵɵproperty","ctx_r1","authStyle","website","ɵɵadvance","initialState","defaultToSignUp","ɵɵdirectiveInject","AuthComponent_Template","AuthComponent_ng_template_3_Template","AuthComponent_ng_template_4_Template","AuthComponent_ng_template_5_Template","AuthComponent_ng_template_6_Template","AuthComponent_ng_template_7_Template","API","ChargebeeApiHelper","callChargebeeInterface","addAuth","headers","user","console","log","attributes","email","token","signInUserSession","idToken","jwtToken","Authorization","apiName","time","Date","now","data","get","then","response","JSON","stringify","catch","error","SendResponseHelper","returnUrl","snapshot","paramMap","ngOnInit","authenticatedUser","entitlements","loginDetails","authenticated","sendResponse","ActivatedRoute","EntitlementsComponent_Template","url","paramName","paramValue","separatorChar","indexOf","href","encodeURIComponent","ready","hash","accessToken","refreshToken","init","body","post","ExternalSignInAppComponent_Template","ExternalSignInAppComponent_a_3_Template","ctx_r0","ɵɵsanitizeUrl","callback","ExternalSignInBrowserComponent_Template","ExternalSignInBrowserComponent_a_3_Template","signOut","setTimeout","ExternalSignOutAppComponent_Template","ExternalSignOutAppComponent_a_3_Template","ExternalSignOutBrowserComponent_Template","ExternalSignOutBrowserComponent_a_3_Template","FontAwesome","faAngleLeft","ɵɵtextInterpolate1","inputs","navigateBack","HeaderComponent_Template","HeaderComponent_div_1_Template","HeaderComponent_div_2_Template","ɵɵlistener","ManageEmailCompleteComponent_a_6_Template_a_click_0_listener","ɵɵrestoreView","_r2","ɵɵnextContext","ɵɵresetView","faSignOutAlt","syncStatusMessage","showSignout","newEmail","ngAfterViewInit","updatedAccounts","navigateByUrl","ManageEmailCompleteComponent_Template","ManageEmailCompleteComponent_a_6_Template","codeChange","value","code","message","verifyEmail","verifyUserAttributeSubmit","err","resendCode","verifyCurrentUserAttribute","ManageEmailVerifyComponent_Template","ManageEmailVerifyComponent_Template_form_ngSubmit_6_listener","ManageEmailVerifyComponent_Template_input_ngModelChange_7_listener","$event","ManageEmailVerifyComponent_Template_a_click_14_listener","newEmailChange","updateEmail","updateUserAttributes","ManageEmailComponent_Template","ManageEmailComponent_Template_form_ngSubmit_4_listener","ManageEmailComponent_Template_input_ngModelChange_5_listener","ManagePasswordCompleteComponent_Template","ManagePasswordCompleteComponent_Template_a_click_4_listener","oldPasswordChange","oldPassword","newPassword1Change","newPassword1","newPassword2Change","newPassword2","updatePassword","changePassword","ManagePasswordComponent_Template","ManagePasswordComponent_Template_input_ngModelChange_4_listener","ManagePasswordComponent_Template_input_ngModelChange_8_listener","ManagePasswordComponent_Template_input_ngModelChange_12_listener","ManagePasswordComponent_Template_button_click_16_listener","ɵɵelementContainerStart","ɵɵelementContainerEnd","ɵɵtextInterpolate2","accessUrl_r1","firstName","lastName","company","ManageSubscriptionMultipleAccountsComponent_div_3_Template_div_click_0_listener","restoredCtx","_r7","$implicit","ctx_r6","accessUrlClick","accessUrl","ManageSubscriptionMultipleAccountsComponent_div_3_ng_container_1_Template","ManageSubscriptionMultipleAccountsComponent_div_3_ng_container_2_Template","tmp_0_0","undefined","tmp_1_0","customerId","accessUrls","sort","a","b","localeCompare","ManageSubscriptionMultipleAccountsComponent_Template","ManageSubscriptionMultipleAccountsComponent_div_3_Template","NotAuthenticatedComponent_Template","styles","PortalErrorComponent_Template","return","manageSubscription","redirectUrl","window","protocol","host","length","document","api_error_code","PortalComponent_Template","PortalComponent_Template_a_click_6_listener","PortalComponent_Template_a_click_18_listener","PortalComponent_Template_a_click_22_listener","faAddressCard","faEnvelope","faLock","itemPriceId","hostedPageUrl","PurchaseGiftComponent_Template","ɵɵtextInterpolate","PurchaseComponent_Template","Hub","afterLoginUrl","getAfterLoginUrl","app","webviewer","localStorage","setItem","json","getItem","parse","listen","payload","event","endsWith","substring","providedIn","environment","production","enableProdMode","awsmobile","Amplify","configure","__NgCli_bootstrap_1","platformBrowser","bootstrapModule"],"sourceRoot":"webpack:///","x_google_ignoreList":[46]}