@aws-amplify/ui-angular 1.0.34-unstable.1 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/README.md +28 -1
  2. package/aws-amplify-ui-angular.d.ts +30 -0
  3. package/aws-amplify-ui-angular.metadata.json +1 -0
  4. package/bundles/aws-amplify-ui-angular-legacy.umd.js +2229 -0
  5. package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +1 -0
  6. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +16 -0
  7. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +1 -0
  8. package/bundles/aws-amplify-ui-angular.umd.js +1840 -0
  9. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -0
  10. package/bundles/aws-amplify-ui-angular.umd.min.js +2 -0
  11. package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -0
  12. package/esm2015/aws-amplify-ui-angular.js +31 -0
  13. package/esm2015/index.js +26 -0
  14. package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +6 -0
  15. package/esm2015/legacy/index.js +3 -0
  16. package/esm2015/legacy/legacy-ui-angular.module.js +53 -0
  17. package/esm2015/legacy/proxies.js +1839 -0
  18. package/esm2015/lib/common/helpers.js +3 -0
  19. package/esm2015/lib/common/index.js +3 -0
  20. package/esm2015/lib/common/types/auth-types.js +2 -0
  21. package/esm2015/lib/common/types/component-types.js +2 -0
  22. package/esm2015/lib/common/types/index.js +3 -0
  23. package/esm2015/lib/components/authenticator/authenticator.module.js +79 -0
  24. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +87 -0
  25. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +40 -0
  26. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +57 -0
  27. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +39 -0
  28. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +39 -0
  29. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +47 -0
  30. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +27 -0
  31. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +39 -0
  32. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +93 -0
  33. package/esm2015/lib/components/authenticator/components/index.js +17 -0
  34. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +45 -0
  35. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +65 -0
  36. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +38 -0
  37. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +34 -0
  38. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +37 -0
  39. package/esm2015/lib/components/authenticator/components/user-name-alias/user-name-alias.component.js +35 -0
  40. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +54 -0
  41. package/esm2015/lib/primitives/button/button.component.js +38 -0
  42. package/esm2015/lib/primitives/checkbox/checkbox.component.js +31 -0
  43. package/esm2015/lib/primitives/error/error.component.js +16 -0
  44. package/esm2015/lib/primitives/index.js +10 -0
  45. package/esm2015/lib/primitives/password-field/password-field.component.js +43 -0
  46. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +40 -0
  47. package/esm2015/lib/primitives/select/select.component.js +17 -0
  48. package/esm2015/lib/primitives/tab-item/tab-item.component.js +20 -0
  49. package/esm2015/lib/primitives/tabs/tabs.component.js +45 -0
  50. package/esm2015/lib/primitives/text-field/text-field.component.js +35 -0
  51. package/esm2015/lib/services/authenticator.service.js +133 -0
  52. package/esm2015/lib/services/custom-components.service.js +23 -0
  53. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +32 -0
  54. package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +21 -0
  55. package/fesm2015/aws-amplify-ui-angular-legacy.js +1846 -0
  56. package/fesm2015/aws-amplify-ui-angular-legacy.js.map +1 -0
  57. package/fesm2015/aws-amplify-ui-angular.js +1253 -0
  58. package/fesm2015/aws-amplify-ui-angular.js.map +1 -0
  59. package/index.d.ts +22 -0
  60. package/{dist/core.d.ts → legacy/aws-amplify-ui-angular-legacy.d.ts} +1 -0
  61. package/legacy/aws-amplify-ui-angular-legacy.metadata.json +1 -0
  62. package/legacy/index.d.ts +2 -0
  63. package/legacy/legacy-ui-angular.module.d.ts +2 -0
  64. package/legacy/package.json +11 -0
  65. package/{dist/directives → legacy}/proxies.d.ts +0 -0
  66. package/lib/common/helpers.d.ts +2 -0
  67. package/lib/common/index.d.ts +2 -0
  68. package/lib/common/types/auth-types.d.ts +3 -0
  69. package/lib/common/types/component-types.d.ts +23 -0
  70. package/lib/common/types/index.d.ts +2 -0
  71. package/lib/components/authenticator/authenticator.module.d.ts +2 -0
  72. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +67 -0
  73. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +50 -0
  74. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +52 -0
  75. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +49 -0
  76. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +49 -0
  77. package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +19 -0
  78. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +9 -0
  79. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +49 -0
  80. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +36 -0
  81. package/lib/components/authenticator/components/index.d.ts +16 -0
  82. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +52 -0
  83. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +53 -0
  84. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +48 -0
  85. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +12 -0
  86. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +47 -0
  87. package/lib/components/authenticator/components/user-name-alias/user-name-alias.component.d.ts +15 -0
  88. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +54 -0
  89. package/lib/primitives/button/button.component.d.ts +15 -0
  90. package/lib/primitives/checkbox/checkbox.component.d.ts +12 -0
  91. package/lib/primitives/error/error.component.d.ts +4 -0
  92. package/lib/primitives/index.d.ts +9 -0
  93. package/lib/primitives/password-field/password-field.component.d.ts +15 -0
  94. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +16 -0
  95. package/lib/primitives/select/select.component.d.ts +7 -0
  96. package/lib/primitives/tab-item/tab-item.component.d.ts +7 -0
  97. package/lib/primitives/tabs/tabs.component.d.ts +9 -0
  98. package/lib/primitives/text-field/text-field.component.d.ts +13 -0
  99. package/lib/services/authenticator.service.d.ts +94 -0
  100. package/lib/services/custom-components.service.d.ts +9 -0
  101. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +12 -0
  102. package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +7 -0
  103. package/package.json +29 -49
  104. package/theme.css +1 -0
  105. package/CHANGELOG.md +0 -320
  106. package/dist/amplify-module.d.ts +0 -2
  107. package/dist/core.metadata.json +0 -1
  108. package/dist/fesm2015.js +0 -1532
  109. package/dist/fesm5.js +0 -1319
  110. package/dist/index.d.ts +0 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aws-amplify-ui-angular.umd.js","sources":["../../../projects/ui-angular/src/lib/utilities/amplify-slot/amplify-slot.directive.ts","../../../projects/ui-angular/src/lib/services/custom-components.service.ts","../../../projects/ui-angular/src/lib/services/authenticator.service.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/authenticator/authenticator.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/force-new-password/force-new-password.component.ts","../../../projects/ui-angular/src/lib/common/helpers.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/form-field/form-field.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/reset-password/reset-password.component.ts","../../../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-angular/src/lib/components/authenticator/components/setup-totp/setup-totp.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/sign-in/sign-in.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/sign-up/sign-up.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/user-name-alias/user-name-alias.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/components/verify-user/verify-user.component.ts","../../../projects/ui-angular/src/lib/primitives/button/button.component.ts","../../../projects/ui-angular/src/lib/primitives/checkbox/checkbox.component.ts","../../../projects/ui-angular/src/lib/primitives/error/error.component.ts","../../../projects/ui-angular/src/lib/primitives/password-field/password-field.component.ts","../../../projects/ui-angular/src/lib/primitives/phone-number-field/phone-number-field.component.ts","../../../projects/ui-angular/src/lib/primitives/select/select.component.ts","../../../projects/ui-angular/src/lib/primitives/tab-item/tab-item.component.ts","../../../projects/ui-angular/src/lib/primitives/tabs/tabs.component.ts","../../../projects/ui-angular/src/lib/primitives/text-field/text-field.component.ts","../../../projects/ui-angular/src/lib/utilities/amplify-slot/amplify-slot.component.ts","../../../projects/ui-angular/src/lib/components/authenticator/authenticator.module.ts","../../../projects/ui-angular/src/index.ts","../../../projects/ui-angular/src/aws-amplify-ui-angular.ts"],"sourcesContent":["import { Directive, Input, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: '[amplifySlot]',\n})\nexport class AmplifySlotDirective {\n constructor(public template: TemplateRef<any>) {}\n public name: string;\n\n @Input() set amplifySlot(component: string) {\n this.name = component;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { CustomComponents } from '../common';\n\n/**\n * Stores and provides custom components that users provide with `amplify-slot`.\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class CustomComponentsService {\n private _customComponents: CustomComponents = {};\n\n public get customComponents(): CustomComponents {\n return this._customComponents;\n }\n\n public set customComponents(customComponents: CustomComponents) {\n this._customComponents = { ...this._customComponents, ...customComponents };\n }\n}\n","import { Injectable, OnDestroy } from '@angular/core';\nimport { Logger } from '@aws-amplify/core';\nimport {\n AuthContext,\n AuthenticatorMachineOptions,\n AuthEvent,\n AuthInterpreter,\n AuthMachineState,\n createAuthenticatorMachine,\n getSendEventAliases,\n getServiceContextFacade,\n getServiceFacade,\n} from '@aws-amplify/ui';\nimport { Event, interpret, Subscription } from 'xstate';\nimport { AuthSubscriptionCallback } from '../common';\n\nconst logger = new Logger('state-machine');\n\n/**\n * AuthenticatorService provides access to the authenticator state and context.\n */\n@Injectable({\n providedIn: 'root', // ensure we have a singleton service\n})\nexport class AuthenticatorService implements OnDestroy {\n private _authState: AuthMachineState;\n private _authService: AuthInterpreter;\n private _sendEventAliases: ReturnType<typeof getSendEventAliases>;\n private _subscription: Subscription;\n private _facade: ReturnType<typeof getServiceContextFacade>;\n\n public startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n }: AuthenticatorMachineOptions) {\n const machine = createAuthenticatorMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n });\n\n const authService = interpret(machine, {\n devTools: process.env.NODE_ENV === 'development',\n }).start();\n\n this._subscription = authService.subscribe((state) => {\n this._authState = state;\n this._facade = getServiceContextFacade(state);\n });\n\n this._sendEventAliases = getSendEventAliases(authService.send);\n this._authService = authService;\n }\n\n ngOnDestroy(): void {\n if (this._subscription) this._subscription.unsubscribe();\n }\n\n /**\n * Context facades\n */\n\n public get error() {\n return this._facade?.error;\n }\n\n public get hasValidationErrors() {\n return this._facade?.hasValidationErrors;\n }\n\n public get isPending() {\n return this._facade?.isPending;\n }\n\n public get route() {\n return this._facade?.route;\n }\n\n public get user() {\n return this._facade?.user;\n }\n\n public get validationErrors() {\n return this._facade?.validationErrors;\n }\n\n /**\n * Service facades\n */\n\n public get updateForm() {\n return this._sendEventAliases.updateForm;\n }\n\n public get resendCode() {\n return this._sendEventAliases.resendCode;\n }\n\n public get signOut() {\n return this._sendEventAliases.signOut;\n }\n\n public get submitForm() {\n return this._sendEventAliases.submitForm;\n }\n\n /**\n * Transition facades\n */\n\n public get toFederatedSignIn() {\n return this._sendEventAliases.toFederatedSignIn;\n }\n\n public get toResetPassword() {\n return this._sendEventAliases.toResetPassword;\n }\n\n public get toSignIn() {\n return this._sendEventAliases.toSignIn;\n }\n\n public get toSignUp() {\n return this._sendEventAliases.toSignUp;\n }\n\n public get skipVerification() {\n return this._sendEventAliases.skipVerification;\n }\n\n /**\n * Internal utility functions\n */\n\n /** @deprecated For internal use only */\n public get authState(): AuthMachineState {\n return this._authState;\n }\n\n /** @deprecated For internal use only */\n public get authService(): AuthInterpreter {\n return this._authService;\n }\n\n /** @deprecated For internal use only */\n public get context(): AuthContext {\n return this._authState.context;\n }\n\n /** @deprecated For internal use only */\n public get slotContext() {\n const slotContext = {\n ...this._facade,\n ...this._sendEventAliases,\n };\n\n return {\n ...slotContext,\n $implicit: { ...slotContext },\n };\n }\n\n /** @deprecated For internal use only */\n public subscribe(callback: AuthSubscriptionCallback) {\n if (this._authService) {\n return this._authService.subscribe(callback);\n } else {\n logger.error(\n 'Subscription attempted before machine was created. This is likely a bug on the library, please consider filing a bug.'\n );\n }\n }\n\n /** @deprecated For internal use only */\n public send(event: Event<AuthEvent>) {\n this.authService.send(event);\n }\n}\n","import {\n AfterContentInit,\n Component,\n ContentChildren,\n Input,\n OnInit,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n AuthenticatorMachineOptions,\n SocialProvider,\n translate,\n} from '@aws-amplify/ui';\nimport { AmplifySlotDirective } from '../../../../utilities/amplify-slot/amplify-slot.directive';\nimport { CustomComponentsService } from '../../../../services/custom-components.service';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n@Component({\n selector: 'amplify-authenticator',\n templateUrl: './authenticator.component.html',\n providers: [CustomComponentsService], // make sure custom components are scoped to this authenticator only\n encapsulation: ViewEncapsulation.None,\n})\nexport class AuthenticatorComponent implements OnInit, AfterContentInit {\n @Input() initialState: AuthenticatorMachineOptions['initialState'];\n @Input() loginMechanisms: AuthenticatorMachineOptions['loginMechanisms'];\n @Input() services: AuthenticatorMachineOptions['services'];\n @Input() signUpAttributes: AuthenticatorMachineOptions['signUpAttributes'];\n @Input() socialProviders: SocialProvider[];\n @Input() variation: 'default' | 'modal';\n\n @ContentChildren(AmplifySlotDirective)\n private customComponentQuery: QueryList<AmplifySlotDirective> = null;\n\n // translated texts\n public signInTitle = translate('Sign In');\n public signUpTitle = translate('Create Account');\n\n constructor(\n private authenticator: AuthenticatorService,\n private contextService: CustomComponentsService\n ) {}\n\n ngOnInit(): void {\n const {\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n } = this;\n this.authenticator.startMachine({\n initialState,\n loginMechanisms,\n services,\n signUpAttributes,\n socialProviders,\n });\n\n /**\n * handling translations after content init, because authenticator and its\n * translations might be initialized before the main app's `ngOnInit` is run.\n */\n this.signInTitle = translate('Sign In');\n this.signUpTitle = translate('Create Account');\n }\n\n /**\n * Lifecycle Methods\n */\n ngAfterContentInit(): void {\n this.contextService.customComponents = this.mapCustomComponents(\n this.customComponentQuery\n );\n }\n\n /**\n * Class Functions\n */\n\n // context passed to \"authenticated\" slot\n public get context() {\n return this.authenticator.slotContext;\n }\n\n public get route() {\n return this.authenticator.route;\n }\n\n public onTabChange() {\n const route = this.authenticator.route;\n if (route === 'signIn') {\n this.authenticator.toSignUp();\n } else {\n this.authenticator.toSignIn();\n }\n }\n\n private mapCustomComponents(\n componentQuery: QueryList<AmplifySlotDirective>\n ): Record<string, TemplateRef<any>> {\n if (!componentQuery) return {};\n const customComponents: Record<string, TemplateRef<any>> = {};\n componentQuery.forEach((component) => {\n customComponents[component.name] = component.template;\n });\n\n return customComponents;\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-confirm-reset-password',\n templateUrl: './amplify-confirm-reset-password.component.html',\n})\nexport class ConfirmResetPasswordComponent {\n @HostBinding('attr.data-amplify-authenticator-confirmsignin') dataAttr = '';\n @Input() public headerText = translate('Reset your password');\n\n // translated strings\n public sendCodeText = translate('Send Code');\n public backToSignInText = translate('Back to Sign In');\n public resendCodeText = translate('Resend Code');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { Component, HostBinding, OnInit } from '@angular/core';\nimport { Logger } from 'aws-amplify';\nimport {\n AuthChallengeNames,\n getActorContext,\n SignInContext,\n} from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\nconst logger = new Logger('ConfirmSignIn');\n\n@Component({\n selector: 'amplify-confirm-sign-in',\n templateUrl: './confirm-sign-in.component.html',\n})\nexport class ConfirmSignInComponent implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-confirmsignin') dataAttr = '';\n\n // translated texts\n public headerText: string;\n public confirmText = translate('Confirm');\n public backToSignInText = translate('Back to Sign In');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.setHeaderText();\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n setHeaderText(): void {\n const state = this.authenticator.authState;\n const actorContext = getActorContext(state) as SignInContext;\n const { challengeName } = actorContext;\n switch (challengeName) {\n case AuthChallengeNames.SOFTWARE_TOKEN_MFA:\n this.headerText = translate('Confirm TOTP Code');\n break;\n case AuthChallengeNames.SMS_MFA:\n this.headerText = translate('Confirm SMS Code');\n break;\n default:\n logger.error('Unexpected challengeName', challengeName);\n }\n }\n\n onInput(event: Event): void {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n@Component({\n selector: 'amplify-confirm-sign-up',\n templateUrl: './confirm-sign-up.component.html',\n})\nexport class ConfirmSignUpComponent {\n @Input() headerText = translate('Confirm Sign Up');\n\n @HostBinding('attr.data-amplify-authenticator-confirmsignup') dataAttr = '';\n\n // translated texts\n public resendCodeText = translate('Resend Code');\n public confirmText = translate('Confirm');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { translate } from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n@Component({\n selector: 'amplify-confirm-verify-user',\n templateUrl: './amplify-confirm-verify-user.component.html',\n})\nexport class ConfirmVerifyUserComponent {\n @HostBinding('attr.data-amplify-authenticator-confirmverifyuser')\n dataAttr = '';\n @Input() public headerText = translate(\n 'Account recovery requires verified contact information'\n );\n\n // translated texts\n public skipText = translate('Skip');\n public submitText = translate('Submit');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { Component, Input } from '@angular/core';\nimport { FederatedIdentityProviders } from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n@Component({\n selector: 'amplify-federated-sign-in-button',\n templateUrl: './federated-sign-in-button.component.html',\n})\nexport class FederatedSignInButtonComponent {\n @Input() provider: FederatedIdentityProviders;\n @Input() text: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n onClick = (): void => {\n this.authenticator.send({\n type: 'FEDERATED_SIGN_IN',\n data: { provider: this.provider },\n });\n };\n}\n","import { Component, OnInit } from '@angular/core';\nimport { FederatedIdentityProviders } from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-federated-sign-in',\n templateUrl: './federated-sign-in.component.html',\n})\nexport class FederatedSignInComponent implements OnInit {\n public FederatedProviders = FederatedIdentityProviders;\n public includeAmazon: boolean = false;\n public includeApple: boolean = false;\n public includeFacebook: boolean = false;\n public includeGoogle: boolean = false;\n public shouldShowFederatedSignIn = false;\n\n // translated texts\n public signInAmazonText: string;\n public signInAppleText: string;\n public signInFacebookText: string;\n public signInGoogleText: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const { socialProviders } = this.authenticator.context?.config;\n\n this.setFederatedTexts();\n this.includeAmazon = socialProviders?.includes('amazon');\n this.includeApple = socialProviders?.includes('apple');\n this.includeGoogle = socialProviders?.includes('google');\n this.includeFacebook = socialProviders?.includes('facebook');\n\n this.shouldShowFederatedSignIn =\n this.includeAmazon ||\n this.includeApple ||\n this.includeFacebook ||\n this.includeGoogle;\n }\n\n private setFederatedTexts() {\n const { route } = this.authenticator;\n const federatedText = route === 'signUp' ? 'Up' : 'In';\n this.signInAmazonText = translate<string>(\n `Sign ${federatedText} with Amazon`\n );\n this.signInAppleText = translate<string>(\n `Sign ${federatedText} with Apple`\n );\n this.signInFacebookText = translate<string>(\n `Sign ${federatedText} with Facebook`\n );\n this.signInGoogleText = translate<string>(\n `Sign ${federatedText} with Google`\n );\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-force-new-password',\n templateUrl: './force-new-password.component.html',\n})\nexport class ForceNewPasswordComponent {\n @HostBinding('attr.data-amplify-authenticator-forcenewpassword')\n dataAttr = '';\n @Input() public headerText = translate('Change Password');\n\n // translated texts\n public changePasswordText = translate('Change Password');\n public backToSignInText = translate('Back to Sign In');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { authInputAttributes } from '@aws-amplify/ui';\nimport { AttributeInfoProvider } from './types';\n\nexport const getAttributeMap: AttributeInfoProvider = () => authInputAttributes;\n","import { Component, Input, OnInit } from '@angular/core';\nimport {\n ActorContextWithForms,\n AuthInputAttributes,\n getActorContext,\n translate,\n countryDialCodes,\n} from '@aws-amplify/ui';\nimport { getAttributeMap } from '../../../../common';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\n\n/**\n * Input interface opinionated for authenticator usage.\n *\n * TODO: Separate this component out to two parts -- 1) amplify-auth-input that\n * contains authenticator opinionated logic and 2) amplify-text-field primitive\n * that does not make any auth-related inference.\n */\n@Component({\n selector: 'amplify-form-field',\n templateUrl: './form-field.component.html',\n})\nexport class FormFieldComponent implements OnInit {\n @Input() name: string;\n @Input() type: string;\n @Input() required = true;\n @Input() placeholder = '';\n @Input() label = '';\n @Input() initialValue = '';\n @Input() disabled = false;\n @Input() autocomplete = '';\n @Input() labelHidden = true;\n\n public defaultCountryCode: string;\n public countryDialCodes = countryDialCodes;\n public textFieldId: string;\n public selectFieldId: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n // TODO: consider better default handling mechanisms across frameworks\n if (this.isPhoneField()) {\n const state = this.authenticator.authState;\n const { country_code }: ActorContextWithForms = getActorContext(state);\n this.defaultCountryCode = country_code;\n\n // TODO: remove this side-effect\n this.authenticator.updateForm({\n name: 'country_code',\n value: country_code,\n });\n }\n }\n\n get attributeMap(): AuthInputAttributes {\n return getAttributeMap();\n }\n\n get error(): string {\n const formContext: ActorContextWithForms = getActorContext(\n this.authenticator.authState\n );\n const { validationError } = formContext;\n return validationError[this.name];\n }\n\n inferLabel(): string {\n const label = this.label || this.attributeMap[this.name]?.label;\n return translate<string>(label);\n }\n\n inferPlaceholder(): string {\n const placeholder =\n this.placeholder ||\n this.attributeMap[this.name]?.placeholder ||\n this.inferLabel();\n return translate<string>(placeholder);\n }\n\n // infers what the `type` of underlying input element should be.\n inferType(): string {\n return this.type ?? this.attributeMap[this.name]?.type ?? 'text';\n }\n\n inferAutocomplete(): string {\n return this.autocomplete || this.attributeMap[this.name]?.autocomplete;\n }\n\n // TODO(enhancement): use enum to differentiate special field types\n isPasswordField(): boolean {\n return this.inferType() === 'password';\n }\n\n isPhoneField(): boolean {\n return this.inferType() === 'tel';\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { getAliasInfoFromContext, translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-reset-password',\n templateUrl: './reset-password.component.html',\n})\nexport class ResetPasswordComponent implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-resetPassword') dataAttr = '';\n @Input() public headerText = translate('Reset your password');\n\n // translated texts\n public sendCodeText = translate('Send Code');\n public backToSignInText = translate('Back to Sign In');\n public labelText = translate<string>('Username');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const { authState } = this.authenticator;\n const { label } = getAliasInfoFromContext(authState.context);\n this.labelText = `Enter your ${label.toLowerCase()}`;\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Component, HostBinding, OnInit } from '@angular/core';\nimport QRCode from 'qrcode';\nimport { Auth, Logger } from 'aws-amplify';\nimport { getActorContext, SignInContext } from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\nconst logger = new Logger('SetupTotp');\n\n@Component({\n selector: 'amplify-setup-totp',\n templateUrl: './setup-totp.component.html',\n})\nexport class SetupTotpComponent implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-setup-totp') dataAttr = '';\n public headerText = translate('Setup TOTP');\n public qrCodeSource = '';\n\n // translated texts\n public backToSignInText = translate('Back to Sign In');\n public confirmText = translate('Confirm');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n this.generateQRCode();\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n async generateQRCode() {\n // TODO: This should be handled in core.\n const state = this.authenticator.authState;\n const actorContext = getActorContext(state) as SignInContext;\n const { user } = actorContext;\n try {\n const secretKey = await Auth.setupTOTP(user);\n const issuer = 'AWSCognito';\n const totpCode = `otpauth://totp/${issuer}:${user.username}?secret=${secretKey}&issuer=${issuer}`;\n\n logger.info('totp code was generated:', totpCode);\n this.qrCodeSource = await QRCode.toDataURL(totpCode);\n } catch (err) {\n logger.error(err);\n }\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import {\n Component,\n HostBinding,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-sign-in',\n templateUrl: './sign-in.component.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class SignInComponent {\n @HostBinding('attr.data-amplify-authenticator-signin') dataAttr = '';\n\n // translated phrases\n public forgotPasswordText = translate('Forgot your password? ');\n public signInButtonText = translate('Sign in');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { translate } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-sign-up',\n templateUrl: './sign-up.component.html',\n})\nexport class SignUpComponent {\n @HostBinding('attr.data-amplify-authenticator-signup') dataAttr = '';\n\n // translated texts\n public createAccountText = translate('Create Account');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n onInput(event: Event) {\n let { checked, name, type, value } = <HTMLInputElement>event.target;\n\n if (type === 'checkbox' && !checked) value = undefined;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { Component, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../../services/authenticator.service';\nimport {\n authInputAttributes,\n LoginMechanism,\n SignUpAttribute,\n} from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-sign-up-form-fields',\n templateUrl: './sign-up-form-fields.component.html',\n})\nexport class SignUpFormFieldsComponent implements OnInit {\n public primaryAlias = '';\n public secondaryAliases: string[] = [];\n public fieldNames: Array<LoginMechanism | SignUpAttribute>;\n public loginMechanism: LoginMechanism;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const context = this.authenticator.context;\n\n const { loginMechanisms, signUpAttributes } = context.config;\n\n this.fieldNames = Array.from(\n new Set([...loginMechanisms, ...signUpAttributes])\n );\n\n this.fieldNames = this.fieldNames.filter((fieldName) => {\n const hasDefaultField = !!authInputAttributes[fieldName];\n if (!hasDefaultField) {\n console.debug(\n `Authenticator does not have a default implementation for ${fieldName}. Customize Authenticator.SignUp.FormFields to add your own.`\n );\n }\n return hasDefaultField;\n });\n\n // Only 1 is supported, so `['email', 'phone_number']` will only show `email`\n this.loginMechanism = this.fieldNames.shift() as LoginMechanism;\n }\n}\n","import { Component, Input, OnInit } from '@angular/core';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { getAliasInfoFromContext } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-user-name-alias',\n templateUrl: './user-name-alias.component.html',\n})\nexport class UserNameAliasComponent implements OnInit {\n @Input() name: string = 'username';\n @Input() disabled: boolean = false;\n @Input() initialValue: string = '';\n @Input() required: boolean = true;\n public label: string;\n public type: string;\n public error: string;\n public placeholder: string;\n\n constructor(private authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const context = this.authenticator.context;\n const { label, type } = getAliasInfoFromContext(context);\n\n this.label = label;\n this.type = type;\n this.placeholder = label;\n }\n}\n","import {\n Component,\n HostBinding,\n Input,\n OnInit,\n ViewEncapsulation,\n} from '@angular/core';\nimport { getActorState, SignInState, translate } from '@aws-amplify/ui';\nimport { AuthenticatorService } from '../../../../services/authenticator.service';\nimport { getAttributeMap } from '../../../../common';\nimport { nanoid } from 'nanoid';\n@Component({\n selector: 'amplify-verify-user',\n templateUrl: './verify-user.component.html',\n encapsulation: ViewEncapsulation.None,\n})\nexport class VerifyUserComponent implements OnInit {\n @HostBinding('attr.data-amplify-authenticator-verifyuser') dataAttr = '';\n @Input() public headerText = translate(\n 'Account recovery requires verified contact information'\n );\n\n public unverifiedAttributes = {};\n public labelId = nanoid(12);\n\n // translated texts\n public skipText = translate('Skip');\n public verifyText = translate('Verify');\n\n constructor(public authenticator: AuthenticatorService) {}\n\n ngOnInit(): void {\n const actorState = getActorState(\n this.authenticator.authState\n ) as SignInState;\n this.unverifiedAttributes = actorState.context.unverifiedAttributes;\n }\n\n public get context() {\n return this.authenticator.slotContext;\n }\n\n getLabelForAttr(authAttr: string): string {\n const attributeMap = getAttributeMap();\n const label = attributeMap[authAttr]?.label;\n return translate<string>(label);\n }\n\n onInput(event: Event) {\n event.preventDefault();\n const { name, value } = <HTMLInputElement>event.target;\n this.authenticator.updateForm({ name, value });\n }\n\n onSubmit(event: Event): void {\n event.preventDefault();\n this.authenticator.submitForm();\n }\n}\n","import { Component, HostBinding, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'button[amplify-button]',\n templateUrl: './button.component.html',\n})\nexport class ButtonComponent implements OnInit {\n @Input() type: 'submit' | 'button' = 'button';\n @Input() fullWidth: boolean | string = false;\n @Input() size: 'small' | 'medium' | 'large' = 'medium';\n @Input() variation: 'primary' | 'default' | 'link' = 'default';\n @Input() fontWeight: 'normal' | 'bold' | 'lighter' = 'normal';\n\n @HostBinding('type') typeAttr: string;\n @HostBinding('attr.data-fullwidth') fullWidthAttr: boolean | string;\n @HostBinding('attr.data-size') sizeAttr: string;\n @HostBinding('attr.data-variation') variationAttr: string;\n @HostBinding('class.amplify-button') defaultClass = true;\n @HostBinding('style.font-weight') fontWeightAttr: string;\n\n ngOnInit() {\n this.typeAttr = this.type;\n this.fullWidthAttr = this.fullWidth;\n this.sizeAttr = this.size;\n this.variationAttr = this.variation;\n this.fontWeightAttr = this.fontWeight;\n }\n}\n","import { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'amplify-checkbox',\n templateUrl: './checkbox.component.html',\n})\nexport class CheckboxComponent implements OnInit {\n @Input() defaultChecked: boolean = false;\n @Input() errorMessage: string;\n @Input() hasError: boolean = false;\n @Input() label: string;\n @Input() name: string;\n @Input() value: string;\n\n public isChecked: boolean = false;\n\n ngOnInit() {\n if (this.defaultChecked) {\n this.isChecked = true;\n }\n }\n\n handleClick() {\n this.isChecked = !this.isChecked;\n }\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'amplify-error',\n templateUrl: './error.component.html',\n})\nexport class ErrorComponent {\n public isVisible = true;\n\n public close() {\n this.isVisible = false;\n }\n}\n","import { Component, Input } from '@angular/core';\nimport { translate } from '@aws-amplify/ui';\nimport { nanoid } from 'nanoid';\n\n@Component({\n selector: 'amplify-password-field',\n templateUrl: './password-field.component.html',\n})\nexport class PasswordFieldComponent {\n @Input() autocomplete = 'new-password';\n @Input() disabled = false;\n @Input() fieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() initialValue = '';\n @Input() label = '';\n @Input() name: string;\n @Input() placeholder = '';\n @Input() required = true;\n @Input() labelHidden = false;\n\n public type: 'text' | 'password' = 'password';\n\n public showPassword = false;\n public showPasswordButtonlabel = translate('Show password');\n\n togglePasswordText() {\n this.showPassword = !this.showPassword;\n this.showPasswordButtonlabel = this.showPassword\n ? translate('Show password')\n : translate('Hide password');\n this.type = this.showPassword ? 'text' : 'password';\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { nanoid } from 'nanoid';\nimport { countryDialCodes } from '@aws-amplify/ui';\n\n@Component({\n selector: 'amplify-phone-number-field',\n templateUrl: './phone-number-field.component.html',\n})\nexport class PhoneNumberFieldComponent {\n @Input() autocomplete = 'new-password';\n @Input() disabled = false;\n @Input() defaultCountryCode: string;\n @Input() selectFieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() textFieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() initialValue = '';\n @Input() label = '';\n @Input() name: string;\n @Input() placeholder = '';\n @Input() required = true;\n @Input() type: string;\n @Input() labelHidden = false;\n\n @HostBinding('style.display') display = 'contents';\n public countryDialCodes = countryDialCodes;\n}\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'amplify-form-select',\n templateUrl: './select.component.html',\n})\nexport class SelectComponent {\n @Input() items: string[];\n @Input() name: string;\n @Input() label: string;\n @Input() id: string;\n @Input() defaultValue: string;\n}\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'amplify-tab-item',\n templateUrl: './tab-item.component.html',\n})\nexport class TabItemComponent {\n @Input() title: string;\n @Input() active = false;\n @Input() id: string;\n @Input() labelledById: string;\n @Input() tabIndex: number;\n}\n","import {\n AfterContentInit,\n Component,\n ContentChildren,\n QueryList,\n Output,\n EventEmitter,\n} from '@angular/core';\nimport { nanoid } from 'nanoid';\nimport { TabItemComponent } from '../tab-item/tab-item.component';\n\n@Component({\n selector: 'amplify-tabs',\n templateUrl: './tabs.component.html',\n})\nexport class TabsComponent implements AfterContentInit {\n @ContentChildren(TabItemComponent) tabs: QueryList<TabItemComponent>;\n @Output() tabChange = new EventEmitter();\n\n ngAfterContentInit(): void {\n // assign ids\n this.tabs.forEach((tab, index) => {\n tab.id = `radix-id-${nanoid(12)}-1-content-${index}`;\n tab.labelledById = `radix-id-${nanoid(12)}-1-trigger-${index}`;\n });\n\n // find active tab\n // TODO(enhancement): more declarative way for choosing the initial tab to render\n const activeTabs = this.tabs.filter((tab) => tab.active);\n\n // set active tab\n if (activeTabs.length !== 1) {\n this.selectTab(this.tabs.first);\n }\n }\n\n selectTab(tab: TabItemComponent) {\n this.tabs.forEach((tab) => {\n tab.active = false;\n });\n tab.active = true;\n }\n\n handleTabClick(tab: TabItemComponent) {\n if (tab.active) return; // don't do anything if clicks the current active tab\n this.tabChange.emit();\n this.selectTab(tab);\n }\n}\n","import { Component, HostBinding, Input } from '@angular/core';\nimport { nanoid } from 'nanoid';\n\n@Component({\n selector: 'amplify-text-field',\n templateUrl: './text-field.component.html',\n})\nexport class TextFieldComponent {\n @Input() autocomplete = 'new-password';\n @Input() disabled = false;\n @Input() fieldId: string = `amplify-field-${nanoid(12)}`;\n @Input() initialValue = '';\n @Input() label = '';\n @Input() name: string;\n @Input() placeholder = '';\n @Input() required = true;\n @Input() type: string;\n @Input() labelHidden = false;\n\n @HostBinding('style.display') display = 'contents';\n}\n","import {\n AfterContentInit,\n Component,\n HostBinding,\n Input,\n TemplateRef,\n} from '@angular/core';\nimport { CustomComponentsService } from '../../services/custom-components.service';\n\n@Component({\n selector: 'amplify-slot',\n templateUrl: './amplify-slot.component.html',\n})\nexport class AmplifySlotComponent implements AfterContentInit {\n @Input() name: string;\n @Input() context: Record<PropertyKey, any>;\n\n @HostBinding('style.display') display = 'contents';\n\n public overridingComponent: TemplateRef<any>;\n public isOverriden: boolean = false;\n\n constructor(private propService: CustomComponentsService) {}\n\n ngAfterContentInit(): void {\n const customComponents = this.propService.customComponents;\n const overridingComponent = customComponents[this.name];\n\n if (overridingComponent) {\n this.overridingComponent = overridingComponent;\n this.isOverriden = true;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BrowserModule } from '@angular/platform-browser';\n\n/**\n * Note: Angular components and directives inside module files has to be imported directly.\n *\n * Related: https://github.com/ng-packagr/ng-packagr/issues/567\n */\nimport { AuthenticatorComponent } from './components/authenticator/authenticator.component';\nimport { ConfirmResetPasswordComponent } from './components/confirm-reset-password/amplify-confirm-reset-password.component';\nimport { ConfirmSignInComponent } from './components/confirm-sign-in/confirm-sign-in.component';\nimport { ConfirmSignUpComponent } from './components/confirm-sign-up/confirm-sign-up.component';\nimport { ConfirmVerifyUserComponent } from './components/confirm-verify-user/amplify-confirm-verify-user.component';\nimport { FederatedSignInButtonComponent } from './components/federated-sign-in-button/federated-sign-in-button.component';\nimport { FederatedSignInComponent } from './components/federated-sign-in/federated-sign-in.component';\nimport { ForceNewPasswordComponent } from './components/force-new-password/force-new-password.component';\nimport { FormFieldComponent } from './components/form-field/form-field.component';\nimport { ResetPasswordComponent } from './components/reset-password/reset-password.component';\nimport { SetupTotpComponent } from './components/setup-totp/setup-totp.component';\nimport { SignInComponent } from './components/sign-in/sign-in.component';\nimport { SignUpComponent } from './components/sign-up/sign-up.component';\nimport { SignUpFormFieldsComponent } from './components/sign-up/sign-up-form-fields/sign-up-form-fields.component';\nimport { UserNameAliasComponent } from './components/user-name-alias/user-name-alias.component';\nimport { VerifyUserComponent } from './components/verify-user/verify-user.component';\n\nimport { ButtonComponent } from '../../primitives/button/button.component';\nimport { CheckboxComponent } from '../../primitives/checkbox/checkbox.component';\nimport { ErrorComponent } from '../../primitives/error/error.component';\nimport { PasswordFieldComponent } from '../../primitives/password-field/password-field.component';\nimport { PhoneNumberFieldComponent } from '../../primitives/phone-number-field/phone-number-field.component';\nimport { SelectComponent } from '../../primitives/select/select.component';\nimport { TabItemComponent } from '../../primitives/tab-item/tab-item.component';\nimport { TabsComponent } from '../../primitives/tabs/tabs.component';\nimport { TextFieldComponent } from '../../primitives/text-field/text-field.component';\n\nimport { AmplifySlotComponent } from '../../utilities/amplify-slot/amplify-slot.component';\nimport { AmplifySlotDirective } from '../../utilities/amplify-slot/amplify-slot.directive';\n\n@NgModule({\n declarations: [\n AmplifySlotComponent,\n AmplifySlotDirective,\n AuthenticatorComponent,\n ButtonComponent,\n CheckboxComponent,\n ConfirmResetPasswordComponent,\n ConfirmSignInComponent,\n ConfirmSignUpComponent,\n ConfirmVerifyUserComponent,\n ErrorComponent,\n FederatedSignInButtonComponent,\n FederatedSignInComponent,\n ForceNewPasswordComponent,\n FormFieldComponent,\n PasswordFieldComponent,\n PhoneNumberFieldComponent,\n ResetPasswordComponent,\n SelectComponent,\n SetupTotpComponent,\n SignInComponent,\n SignUpComponent,\n SignUpFormFieldsComponent,\n TabItemComponent,\n TabsComponent,\n TextFieldComponent,\n UserNameAliasComponent,\n VerifyUserComponent,\n ],\n imports: [CommonModule, BrowserModule],\n exports: [\n AmplifySlotDirective,\n AuthenticatorComponent,\n CheckboxComponent,\n SignUpFormFieldsComponent,\n TextFieldComponent,\n ],\n})\nexport class AmplifyAuthenticatorModule {}\n","/*\n * Public API Surface of ui-angular\n */\n\n/**\n * Modules\n */\nexport { AmplifyAuthenticatorModule } from './lib/components/authenticator/authenticator.module';\n\n/**\n * Components\n */\nexport * from './lib/components/authenticator/components';\nexport * from './lib/primitives';\n\n/**\n * Helpers\n */\nexport * from './lib/common';\n\n/**\n * Directives\n */\nexport * from './lib/utilities/amplify-slot/amplify-slot.directive';\n\n/**\n * Services\n */\nexport * from './lib/services/custom-components.service';\nexport * from './lib/services/authenticator.service';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {AuthenticatorComponent as ɵb} from './lib/components/authenticator/components/authenticator/authenticator.component';\nexport {ConfirmResetPasswordComponent as ɵe} from './lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component';\nexport {ConfirmSignInComponent as ɵf} from './lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component';\nexport {ConfirmSignUpComponent as ɵg} from './lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component';\nexport {ConfirmVerifyUserComponent as ɵh} from './lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component';\nexport {FederatedSignInButtonComponent as ɵj} from './lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component';\nexport {FederatedSignInComponent as ɵk} from './lib/components/authenticator/components/federated-sign-in/federated-sign-in.component';\nexport {ForceNewPasswordComponent as ɵl} from './lib/components/authenticator/components/force-new-password/force-new-password.component';\nexport {FormFieldComponent as ɵm} from './lib/components/authenticator/components/form-field/form-field.component';\nexport {ResetPasswordComponent as ɵp} from './lib/components/authenticator/components/reset-password/reset-password.component';\nexport {SetupTotpComponent as ɵr} from './lib/components/authenticator/components/setup-totp/setup-totp.component';\nexport {SignInComponent as ɵs} from './lib/components/authenticator/components/sign-in/sign-in.component';\nexport {SignUpFormFieldsComponent as ɵu} from './lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component';\nexport {SignUpComponent as ɵt} from './lib/components/authenticator/components/sign-up/sign-up.component';\nexport {UserNameAliasComponent as ɵy} from './lib/components/authenticator/components/user-name-alias/user-name-alias.component';\nexport {VerifyUserComponent as ɵz} from './lib/components/authenticator/components/verify-user/verify-user.component';\nexport {ButtonComponent as ɵc} from './lib/primitives/button/button.component';\nexport {CheckboxComponent as ɵd} from './lib/primitives/checkbox/checkbox.component';\nexport {ErrorComponent as ɵi} from './lib/primitives/error/error.component';\nexport {PasswordFieldComponent as ɵn} from './lib/primitives/password-field/password-field.component';\nexport {PhoneNumberFieldComponent as ɵo} from './lib/primitives/phone-number-field/phone-number-field.component';\nexport {SelectComponent as ɵq} from './lib/primitives/select/select.component';\nexport {TabItemComponent as ɵv} from './lib/primitives/tab-item/tab-item.component';\nexport {TabsComponent as ɵw} from './lib/primitives/tabs/tabs.component';\nexport {TextFieldComponent as ɵx} from './lib/primitives/text-field/text-field.component';\nexport {AmplifySlotComponent as ɵa} from './lib/utilities/amplify-slot/amplify-slot.component';"],"names":["Directive","TemplateRef","Input","Injectable","logger","Logger","createAuthenticatorMachine","interpret","getServiceContextFacade","getSendEventAliases","translate","Component","ViewEncapsulation","ContentChildren","HostBinding","getActorContext","AuthChallengeNames","FederatedIdentityProviders","authInputAttributes","countryDialCodes","getAliasInfoFromContext","Auth","QRCode","nanoid","getActorState","EventEmitter","Output","NgModule","CommonModule","BrowserModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAME,8BAAmB,QAA0B;YAA1B,aAAQ,GAAR,QAAQ,CAAkB;SAAI;QAGjD,sBAAa,6CAAW;iBAAxB,UAAyB,SAAiB;gBACxC,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;aACvB;;;WAAA;;;;gBATFA,YAAS,SAAC;oBACT,QAAQ,EAAE,eAAe;iBAC1B;;;gBAJ0BC,cAAW;;;8BASnCC,QAAK;;;ICNR;;;;QAGA;YAIU,sBAAiB,GAAqB,EAAE,CAAC;SASlD;QAPC,sBAAW,qDAAgB;iBAA3B;gBACE,OAAO,IAAI,CAAC,iBAAiB,CAAC;aAC/B;iBAED,UAA4B,gBAAkC;gBAC5D,IAAI,CAAC,iBAAiB,mCAAQ,IAAI,CAAC,iBAAiB,GAAK,gBAAgB,CAAE,CAAC;aAC7E;;;WAJA;;;;;gBARFC,aAAU,SAAC;oBACV,UAAU,EAAE,MAAM;iBACnB;;;ICQD,IAAMC,QAA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BAAmB,EAAE;gBACvB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;gBAC/C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;aACzB;SACF;;;;gBAvBFH,YAAS,SAAC;oBACT,QAAQ,EAAE,cAAc;oBACxB,gZAA4C;iBAC7C;;;gBALQ,uBAAuB;;;uBAO7BT,QAAK;0BACLA,QAAK;0BAELY,cAAW,SAAC,eAAe;;;;QC6D9B;;;;;gBAvCCa,WAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,oBAAoB;wBACpB,sBAAsB;wBACtB,eAAe;wBACf,iBAAiB;wBACjB,6BAA6B;wBAC7B,sBAAsB;wBACtB,sBAAsB;wBACtB,0BAA0B;wBAC1B,cAAc;wBACd,8BAA8B;wBAC9B,wBAAwB;wBACxB,yBAAyB;wBACzB,kBAAkB;wBAClB,sBAAsB;wBACtB,yBAAyB;wBACzB,sBAAsB;wBACtB,eAAe;wBACf,kBAAkB;wBAClB,eAAe;wBACf,eAAe;wBACf,yBAAyB;wBACzB,gBAAgB;wBAChB,aAAa;wBACb,kBAAkB;wBAClB,sBAAsB;wBACtB,mBAAmB;qBACpB;oBACD,OAAO,EAAE,CAACC,mBAAY,EAAEC,6BAAa,CAAC;oBACtC,OAAO,EAAE;wBACP,oBAAoB;wBACpB,sBAAsB;wBACtB,iBAAiB;wBACjB,yBAAyB;wBACzB,kBAAkB;qBACnB;iBACF;;;IC7ED;;;;ICAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/platform-browser"),require("@aws-amplify/ui"),require("@aws-amplify/core"),require("xstate"),require("aws-amplify"),require("qrcode"),require("nanoid")):"function"==typeof define&&define.amd?define("@aws-amplify/ui-angular",["exports","@angular/core","@angular/common","@angular/platform-browser","@aws-amplify/ui","@aws-amplify/core","xstate","aws-amplify","qrcode","nanoid"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["aws-amplify"]=t["aws-amplify"]||{},t["aws-amplify"]["ui-angular"]={}),t.ng.core,t.ng.common,t.ng.platformBrowser,t.ui,t.core,t.xstate,t["aws-amplify"],t.QRCode,t.nanoid)}(this,(function(t,e,n,i,a,o,r,l,s,p){"use strict";function u(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function c(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var f=c(e),d=u(s),m=function(){function t(t){this.template=t}return Object.defineProperty(t.prototype,"amplifySlot",{set:function(t){this.name=t},enumerable:!1,configurable:!0}),t}();m.decorators=[{type:e.Directive,args:[{selector:"[amplifySlot]"}]}],m.ctorParameters=function(){return[{type:e.TemplateRef}]},m.propDecorators={amplifySlot:[{type:e.Input}]};var y=function(){function t(){this._customComponents={}}return Object.defineProperty(t.prototype,"customComponents",{get:function(){return this._customComponents},set:function(t){this._customComponents=Object.assign(Object.assign({},this._customComponents),t)},enumerable:!1,configurable:!0}),t}();y.ɵprov=f.ɵɵdefineInjectable({factory:function(){return new y},token:y,providedIn:"root"}),y.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var h=new o.Logger("state-machine"),g=function(){function t(){}return t.prototype.startMachine=function(t){var e=this,n=t.initialState,i=t.loginMechanisms,o=t.services,l=t.signUpAttributes,s=t.socialProviders,p=a.createAuthenticatorMachine({initialState:n,loginMechanisms:i,services:o,signUpAttributes:l,socialProviders:s}),u=r.interpret(p,{devTools:"development"===process.env.NODE_ENV}).start();this._subscription=u.subscribe((function(t){e._authState=t,e._facade=a.getServiceContextFacade(t)})),this._sendEventAliases=a.getSendEventAliases(u.send),this._authService=u},t.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},Object.defineProperty(t.prototype,"error",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.error},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasValidationErrors",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.hasValidationErrors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPending",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.isPending},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"route",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.route},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"user",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.user},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validationErrors",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.validationErrors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updateForm",{get:function(){return this._sendEventAliases.updateForm},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resendCode",{get:function(){return this._sendEventAliases.resendCode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signOut",{get:function(){return this._sendEventAliases.signOut},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"submitForm",{get:function(){return this._sendEventAliases.submitForm},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toFederatedSignIn",{get:function(){return this._sendEventAliases.toFederatedSignIn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toResetPassword",{get:function(){return this._sendEventAliases.toResetPassword},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toSignIn",{get:function(){return this._sendEventAliases.toSignIn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toSignUp",{get:function(){return this._sendEventAliases.toSignUp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"skipVerification",{get:function(){return this._sendEventAliases.skipVerification},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authState",{get:function(){return this._authState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authService",{get:function(){return this._authService},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._authState.context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"slotContext",{get:function(){var t=Object.assign(Object.assign({},this._facade),this._sendEventAliases);return Object.assign(Object.assign({},t),{$implicit:Object.assign({},t)})},enumerable:!1,configurable:!0}),t.prototype.subscribe=function(t){if(this._authService)return this._authService.subscribe(t);h.error("Subscription attempted before machine was created. This is likely a bug on the library, please consider filing a bug.")},t.prototype.send=function(t){this.authService.send(t)},t}();g.ɵprov=f.ɵɵdefineInjectable({factory:function(){return new g},token:g,providedIn:"root"}),g.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var b=function(){function t(t,e){this.authenticator=t,this.contextService=e,this.customComponentQuery=null,this.signInTitle=a.translate("Sign In"),this.signUpTitle=a.translate("Create Account")}return t.prototype.ngOnInit=function(){var t=this,e=t.initialState,n=t.loginMechanisms,i=t.services,o=t.signUpAttributes,r=t.socialProviders;this.authenticator.startMachine({initialState:e,loginMechanisms:n,services:i,signUpAttributes:o,socialProviders:r}),this.signInTitle=a.translate("Sign In"),this.signUpTitle=a.translate("Create Account")},t.prototype.ngAfterContentInit=function(){this.contextService.customComponents=this.mapCustomComponents(this.customComponentQuery)},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"route",{get:function(){return this.authenticator.route},enumerable:!1,configurable:!0}),t.prototype.onTabChange=function(){"signIn"===this.authenticator.route?this.authenticator.toSignUp():this.authenticator.toSignIn()},t.prototype.mapCustomComponents=function(t){if(!t)return{};var e={};return t.forEach((function(t){e[t.name]=t.template})),e},t}();b.decorators=[{type:e.Component,args:[{selector:"amplify-authenticator",template:'<div data-amplify-authenticator [attr.data-variation]="variation">\n <div data-amplify-container>\n <amplify-slot name="header" [context]="context"></amplify-slot>\n <div data-amplify-router>\n <amplify-tabs\n (tabChange)="onTabChange()"\n *ngIf="route === \'signIn\' || route === \'signUp\'"\n >\n <amplify-tab-item [title]="signInTitle" [active]="route === \'signIn\'">\n \x3c!-- signIn component --\x3e\n <amplify-slot\n name="sign-in"\n [context]="context"\n *ngIf="route === \'signIn\'"\n >\n <amplify-sign-in></amplify-sign-in>\n </amplify-slot>\n </amplify-tab-item>\n <amplify-tab-item [title]="signUpTitle" [active]="route === \'signUp\'">\n \x3c!-- signUp component --\x3e\n <amplify-slot\n name="sign-up"\n [context]="context"\n *ngIf="route === \'signUp\'"\n >\n <amplify-sign-up></amplify-sign-up>\n </amplify-slot>\n </amplify-tab-item>\n </amplify-tabs>\n\n \x3c!-- confirmSignUp content --\x3e\n <amplify-slot\n name="confirm-sign-up"\n [context]="context"\n *ngIf="route === \'confirmSignUp\'"\n >\n <amplify-confirm-sign-up></amplify-confirm-sign-up>\n </amplify-slot>\n\n \x3c!-- confirmSignIn content --\x3e\n <amplify-slot\n name="confirm-sign-in"\n [context]="context"\n *ngIf="route === \'confirmSignIn\'"\n >\n <amplify-confirm-sign-in></amplify-confirm-sign-in>\n </amplify-slot>\n\n \x3c!-- setupTotp content --\x3e\n <amplify-slot\n name="setup-totp"\n [context]="context"\n *ngIf="route === \'setupTOTP\'"\n >\n <amplify-setup-totp></amplify-setup-totp>\n </amplify-slot>\n\n \x3c!-- forceNewPassword content --\x3e\n <amplify-slot\n name="force-new-password"\n [context]="context"\n *ngIf="route === \'forceNewPassword\'"\n >\n <amplify-force-new-password></amplify-force-new-password>\n </amplify-slot>\n\n \x3c!-- resetPassword content --\x3e\n <amplify-slot\n name="reset-password"\n [context]="context"\n *ngIf="route === \'resetPassword\'"\n >\n <amplify-reset-password></amplify-reset-password>\n </amplify-slot>\n\n \x3c!-- confirmResetPassword content --\x3e\n <amplify-slot\n name="confirm-reset-password"\n [context]="context"\n *ngIf="route === \'confirmResetPassword\'"\n >\n <amplify-confirm-reset-password></amplify-confirm-reset-password>\n </amplify-slot>\n\n \x3c!-- verifyUser content --\x3e\n <amplify-slot\n name="verify-user"\n [context]="context"\n *ngIf="route === \'verifyUser\'"\n >\n <amplify-verify-user></amplify-verify-user>\n </amplify-slot>\n\n \x3c!-- confirmVerifyUser content --\x3e\n <amplify-slot\n name="confirm-verify-user"\n [context]="context"\n *ngIf="route === \'confirmVerifyUser\'"\n >\n <amplify-confirm-verify-user></amplify-confirm-verify-user>\n </amplify-slot>\n </div>\n\n <amplify-slot name="footer" [context]="context"></amplify-slot>\n </div>\n</div>\n\n\x3c!-- signedIn content is rendered outside authenticator so it\'s not styled by authenticator --\x3e\n<amplify-slot\n name="authenticated"\n [context]="context"\n *ngIf="route === \'authenticated\'"\n>\n <ng-content></ng-content>\n</amplify-slot>\n',providers:[y],encapsulation:e.ViewEncapsulation.None}]}],b.ctorParameters=function(){return[{type:g},{type:y}]},b.propDecorators={initialState:[{type:e.Input}],loginMechanisms:[{type:e.Input}],services:[{type:e.Input}],signUpAttributes:[{type:e.Input}],socialProviders:[{type:e.Input}],variation:[{type:e.Input}],customComponentQuery:[{type:e.ContentChildren,args:[m]}]};var v=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Reset your password"),this.sendCodeText=a.translate("Send Code"),this.backToSignInText=a.translate("Back to Sign In"),this.resendCodeText=a.translate("Resend Code")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();v.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-reset-password",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-reset-password-header" [context]="context">\n <h3 class="amplify-heading">{{ headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-field>\n <amplify-form-field\n name="password"\n label="New password"\n autocomplete="new-password"\n ></amplify-form-field>\n <amplify-form-field\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ sendCodeText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n type="button"\n (click)="authenticator.resendCode()"\n >\n {{ resendCodeText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="confirm-reset-password-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],v.ctorParameters=function(){return[{type:g}]},v.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}],headerText:[{type:e.Input}]};var x=new l.Logger("ConfirmSignIn"),I=function(){function t(t){this.authenticator=t,this.dataAttr="",this.confirmText=a.translate("Confirm"),this.backToSignInText=a.translate("Back to Sign In")}return t.prototype.ngOnInit=function(){this.setHeaderText()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.setHeaderText=function(){var t=this.authenticator.authState,e=a.getActorContext(t).challengeName;switch(e){case a.AuthChallengeNames.SOFTWARE_TOKEN_MFA:this.headerText=a.translate("Confirm TOTP Code");break;case a.AuthChallengeNames.SMS_MFA:this.headerText=a.translate("Confirm SMS Code");break;default:x.error("Unexpected challengeName",e)}},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();I.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-in",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-sign-in-header" [context]="context">\n <h3 class="amplify-heading">{{ headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n label="Code *"\n type="text"\n autocomplete="one-time-code"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ confirmText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot\n name="confirm-sign-in-footer"\n [context]="context"\n ></amplify-slot>\n </form>\n</div>\n'}]}],I.ctorParameters=function(){return[{type:g}]},I.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}]};var C=function(){function t(t){this.authenticator=t,this.headerText=a.translate("Confirm Sign Up"),this.dataAttr="",this.resendCodeText=a.translate("Resend Code"),this.confirmText=a.translate("Confirm")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();C.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-up",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="context.isPending"\n >\n <amplify-slot name="confirm-sign-up-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n autocomplete="one-time-code"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ confirmText }}\n </button>\n <button\n amplify-button\n fontWeight="normal"\n (click)="authenticator.resendCode()"\n >\n {{ resendCodeText }}\n </button>\n </fieldset>\n\n <amplify-error *ngIf="context.error">\n {{ authenticator.error }}\n </amplify-error>\n <amplify-slot\n name="confirm-sign-up-footer"\n [context]="context"\n ></amplify-slot>\n </form>\n</div>\n'}]}],C.ctorParameters=function(){return[{type:g}]},C.propDecorators={headerText:[{type:e.Input}],dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignup"]}]};var w=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Account recovery requires verified contact information"),this.skipText=a.translate("Skip"),this.submitText=a.translate("Submit")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();w.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-verify-user",template:'<div data-amplify-container>\n <form data-amplify-form (input)="onInput($event)" (submit)="onSubmit($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-verify-user-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ submitText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.skipVerification()"\n >\n {{ skipText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="confirm-verify-user-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],w.ctorParameters=function(){return[{type:g}]},w.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmverifyuser"]}],headerText:[{type:e.Input}]};var S=function(t){var e=this;this.authenticator=t,this.onClick=function(){e.authenticator.send({type:"FEDERATED_SIGN_IN",data:{provider:e.provider}})}};S.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in-button",template:'<button\n amplify-button\n class="amplify-field-group__control federated-sign-in-button"\n fullWidth="true"\n fontWeight="normal"\n style="display: block"\n (click)="onClick()"\n>\n <div\n class="amplify-flex federated-sign-in-button-row"\n style="flex-direction: row; justify-content: center; align-items: center"\n >\n <ng-content></ng-content>\n </div>\n</button>\n'}]}],S.ctorParameters=function(){return[{type:g}]},S.propDecorators={provider:[{type:e.Input}],text:[{type:e.Input}]};var T=function(){function t(t){this.authenticator=t,this.FederatedProviders=a.FederatedIdentityProviders,this.includeAmazon=!1,this.includeApple=!1,this.includeFacebook=!1,this.includeGoogle=!1,this.shouldShowFederatedSignIn=!1}return t.prototype.ngOnInit=function(){var t,e=(null===(t=this.authenticator.context)||void 0===t?void 0:t.config).socialProviders;this.setFederatedTexts(),this.includeAmazon=null==e?void 0:e.includes("amazon"),this.includeApple=null==e?void 0:e.includes("apple"),this.includeGoogle=null==e?void 0:e.includes("google"),this.includeFacebook=null==e?void 0:e.includes("facebook"),this.shouldShowFederatedSignIn=this.includeAmazon||this.includeApple||this.includeFacebook||this.includeGoogle},t.prototype.setFederatedTexts=function(){var t="signUp"===this.authenticator.route?"Up":"In";this.signInAmazonText=a.translate("Sign "+t+" with Amazon"),this.signInAppleText=a.translate("Sign "+t+" with Apple"),this.signInFacebookText=a.translate("Sign "+t+" with Facebook"),this.signInGoogleText=a.translate("Sign "+t+" with Google")},t}();T.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in",template:'<div\n class="amplify-flex federated-sign-in-container"\n style="flex-direction: column; padding: 0 0 1rem 0"\n *ngIf="shouldShowFederatedSignIn"\n data-orientation="horizontal"\n data-size="small"\n>\n <amplify-federated-sign-in-button\n *ngIf="includeAmazon"\n [text]="signInAmazonText"\n [provider]="FederatedProviders.Amazon"\n >\n <svg\n aria-label="Amazon icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 248 268"\n >\n <path\n d="M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z"\n fill="#FF9900"\n ></path>\n </svg>\n\n <p class="amplify-text" style="align-self: center">\n {{ signInAmazonText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeApple"\n [provider]="FederatedProviders.Apple"\n >\n <svg\n aria-label="Apple icon"\n class="amplify-icon federated-sign-in-icon"\n fill="#000"\n preserveAspectRatio="xMidYMid"\n stroke="#000"\n strokeWidth="0"\n viewBox="0 0 1024 1024"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"\n ></path>\n </svg>\n <p class="amplify-text" style="align-self: center">\n {{ signInAppleText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeFacebook"\n [text]="signInFacebookText"\n [provider]="FederatedProviders.Facebook"\n >\n <svg\n aria-label="Facebook icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 279 538"\n >\n <path\n d="M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z"\n fill="#1877F2"\n ></path>\n </svg>\n <p class="amplify-text" style="align-self: center">\n {{ signInFacebookText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeGoogle"\n [provider]="FederatedProviders.Google"\n >\n <svg\n aria-label="Google icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 256 262"\n xmlns="http://www.w3.org/2000/svg"\n preserveAspectRatio="xMidYMid"\n >\n <path\n d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"\n fill="#4285F4"\n ></path>\n <path\n d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"\n fill="#34A853"\n ></path>\n <path\n d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782"\n fill="#FBBC05"\n ></path>\n <path\n d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"\n fill="#EB4335"\n ></path>\n </svg>\n <p class="amplify-text" style="align-self: center">\n {{ signInGoogleText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <div class="amplify-flex" data-or-container>\n <div data-or-line>or</div>\n <hr\n class="amplify-divider"\n aria-orientation="horizontal"\n data-size="small"\n />\n </div>\n</div>\n'}]}],T.ctorParameters=function(){return[{type:g}]};var P=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Change Password"),this.changePasswordText=a.translate("Change Password"),this.backToSignInText=a.translate("Back to Sign In")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();P.decorators=[{type:e.Component,args:[{selector:"amplify-force-new-password",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="force-new-password-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <amplify-form-field\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ changePasswordText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="force-new-password-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],P.ctorParameters=function(){return[{type:g}]},P.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-forcenewpassword"]}],headerText:[{type:e.Input}]};var A=function(){return a.authInputAttributes},k=function(){function t(t){this.authenticator=t,this.required=!0,this.placeholder="",this.label="",this.initialValue="",this.disabled=!1,this.autocomplete="",this.labelHidden=!0,this.countryDialCodes=a.countryDialCodes}return t.prototype.ngOnInit=function(){if(this.isPhoneField()){var t=this.authenticator.authState,e=a.getActorContext(t).country_code;this.defaultCountryCode=e,this.authenticator.updateForm({name:"country_code",value:e})}},Object.defineProperty(t.prototype,"attributeMap",{get:function(){return A()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return a.getActorContext(this.authenticator.authState).validationError[this.name]},enumerable:!1,configurable:!0}),t.prototype.inferLabel=function(){var t,e=this.label||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.label);return a.translate(e)},t.prototype.inferPlaceholder=function(){var t,e=this.placeholder||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.placeholder)||this.inferLabel();return a.translate(e)},t.prototype.inferType=function(){var t,e,n;return null!==(n=null!==(t=this.type)&&void 0!==t?t:null===(e=this.attributeMap[this.name])||void 0===e?void 0:e.type)&&void 0!==n?n:"text"},t.prototype.inferAutocomplete=function(){var t;return this.autocomplete||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.autocomplete)},t.prototype.isPasswordField=function(){return"password"===this.inferType()},t.prototype.isPhoneField=function(){return"tel"===this.inferType()},t}();k.decorators=[{type:e.Component,args:[{selector:"amplify-form-field",template:'<div class="amplify-flex amplify-field" style="flex-direction: column">\n \x3c!-- Country code field --\x3e\n <amplify-phone-number-field\n *ngIf="isPhoneField()"\n [defaultCountryCode]="defaultCountryCode"\n [type]="inferType()"\n [name]="name"\n [label]="inferLabel()"\n [placeholder]="inferPlaceholder()"\n [required]="required"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [labelHidden]="labelHidden"\n [autocomplete]="inferAutocomplete()"\n ></amplify-phone-number-field>\n\n <amplify-password-field\n *ngIf="isPasswordField()"\n [name]="name"\n [label]="inferLabel()"\n [placeholder]="inferPlaceholder()"\n [required]="required"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [labelHidden]="labelHidden"\n [autocomplete]="inferAutocomplete()"\n ></amplify-password-field>\n\n <amplify-text-field\n *ngIf="!isPasswordField() && !isPhoneField()"\n [type]="inferType()"\n [name]="name"\n [label]="inferLabel()"\n [placeholder]="inferPlaceholder()"\n [required]="required"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [labelHidden]="labelHidden"\n [autocomplete]="inferAutocomplete()"\n ></amplify-text-field>\n\n <amplify-error *ngIf="error">\n {{ error }}\n </amplify-error>\n</div>\n'}]}],k.ctorParameters=function(){return[{type:g}]},k.propDecorators={name:[{type:e.Input}],type:[{type:e.Input}],required:[{type:e.Input}],placeholder:[{type:e.Input}],label:[{type:e.Input}],initialValue:[{type:e.Input}],disabled:[{type:e.Input}],autocomplete:[{type:e.Input}],labelHidden:[{type:e.Input}]};var F=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Reset your password"),this.sendCodeText=a.translate("Send Code"),this.backToSignInText=a.translate("Back to Sign In"),this.labelText=a.translate("Username")}return t.prototype.ngOnInit=function(){var t=this.authenticator.authState,e=a.getAliasInfoFromContext(t.context).label;this.labelText="Enter your "+e.toLowerCase()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();F.decorators=[{type:e.Component,args:[{selector:"amplify-reset-password",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot\n class="amplify-flex"\n name="reset-password-header"\n [context]="context"\n >\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n\n <amplify-form-field\n name="username"\n type="username"\n autocomplete="username"\n [placeholder]="labelText"\n [label]="labelText"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ sendCodeText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n\n <amplify-slot name="reset-password-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],F.ctorParameters=function(){return[{type:g}]},F.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-resetPassword"]}],headerText:[{type:e.Input}]};function _(t,e,n,i){return new(n||(n=Promise))((function(a,o){function r(t){try{s(i.next(t))}catch(t){o(t)}}function l(t){try{s(i.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,l)}s((i=i.apply(t,e||[])).next())}))}function O(t,e){var n,i,a,o,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=2&o[0]?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(a=r.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(6===o[0]&&r.label<a[1]){r.label=a[1],a=o;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(o);break}a[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}Object.create;function j(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,a,o=n.call(t),r=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)r.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return r}Object.create;var z=new l.Logger("SetupTotp"),D=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Setup TOTP"),this.qrCodeSource="",this.backToSignInText=a.translate("Back to Sign In"),this.confirmText=a.translate("Confirm")}return t.prototype.ngOnInit=function(){this.generateQRCode()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.generateQRCode=function(){return _(this,void 0,void 0,(function(){var t,e,n,i,o,r,s,p;return O(this,(function(u){switch(u.label){case 0:t=this.authenticator.authState,e=a.getActorContext(t),n=e.user,u.label=1;case 1:return u.trys.push([1,4,,5]),[4,l.Auth.setupTOTP(n)];case 2:return i=u.sent(),o="AWSCognito",r="otpauth://totp/AWSCognito:"+n.username+"?secret="+i+"&issuer="+o,z.info("totp code was generated:",r),s=this,[4,d.default.toDataURL(r)];case 3:return s.qrCodeSource=u.sent(),[3,5];case 4:return p=u.sent(),z.error(p),[3,5];case 5:return[2]}}))}))},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();D.decorators=[{type:e.Component,args:[{selector:"amplify-setup-totp",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="setup-totp-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <p *ngIf="!qrCodeSource">Loading...</p>\n <img\n *ngIf="qrCodeSource"\n [src]="qrCodeSource"\n alt="qr code"\n data-amplify-qrcode\n width="228"\n height="228"\n />\n <amplify-form-field\n name="confirmation_code"\n label="Code *"\n type="text"\n autocomplete="one-time-code"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ confirmText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="setup-totp-footer" [context]="context"> </amplify-slot>\n </form>\n</div>\n'}]}],D.ctorParameters=function(){return[{type:g}]},D.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-setup-totp"]}]};var M=function(){function t(t){this.authenticator=t,this.dataAttr="",this.forgotPasswordText=a.translate("Forgot your password? "),this.signInButtonText=a.translate("Sign in")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();M.decorators=[{type:e.Component,args:[{selector:"amplify-sign-in",template:'<div data-amplify-container>\n <amplify-slot name="sign-in-header" [context]="context"></amplify-slot>\n\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-user-name-alias></amplify-user-name-alias>\n <amplify-form-field\n data-amplify-password\n name="password"\n type="password"\n autocomplete="current-password"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ signInButtonText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n </form>\n\n <amplify-slot name="sign-in-footer" [context]="context">\n <div data-amplify-footer>\n <button\n amplify-button\n fontWeight="normal"\n size="small"\n variation="link"\n fullWidth="true"\n (click)="authenticator.toResetPassword()"\n >\n {{ forgotPasswordText }}\n </button>\n </div>\n </amplify-slot>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],M.ctorParameters=function(){return[{type:g}]},M.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signin"]}]};var B=function(){function t(t){this.authenticator=t,this.dataAttr="",this.createAccountText=a.translate("Create Account")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){var e=t.target,n=e.checked,i=e.name,a=e.type,o=e.value;"checkbox"!==a||n||(o=void 0),this.authenticator.updateForm({name:i,value:o})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();B.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up",template:'<amplify-slot name="sign-up-header" [context]="context"></amplify-slot>\n\n<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <div class="amplify-flex" style="flex-direction: column">\n <div class="amplify-flex" style="flex-direction: column">\n <amplify-slot name="sign-up-form-fields" [context]="context">\n <amplify-sign-up-form-fields></amplify-sign-up-form-fields>\n </amplify-slot>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </div>\n\n <amplify-slot name="sign-up-button" [context]="context">\n <button\n [disabled]="\n authenticator.isPending || authenticator.hasValidationErrors\n "\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n >\n {{ createAccountText }}\n </button>\n </amplify-slot>\n </div>\n</form>\n\n<amplify-slot name="sign-up-footer" [context]="context"> </amplify-slot>\n'}]}],B.ctorParameters=function(){return[{type:g}]},B.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signup"]}]};var q=function(){function t(t){this.authenticator=t,this.primaryAlias="",this.secondaryAliases=[]}return t.prototype.ngOnInit=function(){var t=this.authenticator.context.config,e=t.loginMechanisms,n=t.signUpAttributes;this.fieldNames=Array.from(new Set(function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(j(arguments[e]));return t}(e,n))),this.fieldNames=this.fieldNames.filter((function(t){var e=!!a.authInputAttributes[t];return e||console.debug("Authenticator does not have a default implementation for "+t+". Customize Authenticator.SignUp.FormFields to add your own."),e})),this.loginMechanism=this.fieldNames.shift()},t}();q.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up-form-fields",template:'<div class="amplify-flex" style="flex-direction: column" data-amplify-fieldset>\n <amplify-user-name-alias [name]="loginMechanism"></amplify-user-name-alias>\n <amplify-form-field\n name="password"\n autocomplete="new-password"\n ></amplify-form-field>\n <amplify-form-field\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <ng-container *ngFor="let field of fieldNames">\n <amplify-form-field\n [name]="field"\n [labelHidden]="false"\n ></amplify-form-field>\n </ng-container>\n</div>\n'}]}],q.ctorParameters=function(){return[{type:g}]};var H=function(){function t(t){this.authenticator=t,this.name="username",this.disabled=!1,this.initialValue="",this.required=!0}return t.prototype.ngOnInit=function(){var t=this.authenticator.context,e=a.getAliasInfoFromContext(t),n=e.label,i=e.type;this.label=n,this.type=i,this.placeholder=n},t}();H.decorators=[{type:e.Component,args:[{selector:"amplify-user-name-alias",template:'<amplify-form-field\n data-amplify-usernamealias\n [name]="name"\n [label]="label"\n [type]="type"\n [placeholder]="placeholder"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [required]="required"\n autocomplete="username"\n>\n</amplify-form-field>\n'}]}],H.ctorParameters=function(){return[{type:g}]},H.propDecorators={name:[{type:e.Input}],disabled:[{type:e.Input}],initialValue:[{type:e.Input}],required:[{type:e.Input}]};var V=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Account recovery requires verified contact information"),this.unverifiedAttributes={},this.labelId=p.nanoid(12),this.skipText=a.translate("Skip"),this.verifyText=a.translate("Verify")}return t.prototype.ngOnInit=function(){var t=a.getActorState(this.authenticator.authState);this.unverifiedAttributes=t.context.unverifiedAttributes},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.getLabelForAttr=function(t){var e,n=null===(e=A()[t])||void 0===e?void 0:e.label;return a.translate(n)},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();V.decorators=[{type:e.Component,args:[{selector:"amplify-verify-user",template:'<div data-amplify-container>\n <form data-amplify-form (input)="onInput($event)" (submit)="onSubmit($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="verify-user-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n\n <div *ngFor="let unverifiedAttribute of unverifiedAttributes | keyvalue">\n <input\n name="unverifiedAttr"\n type="radio"\n [value]="unverifiedAttribute.key"\n [id]="labelId"\n />\n <label [for]="labelId">{{\n getLabelForAttr(unverifiedAttribute.key)\n }}</label>\n </div>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ verifyText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.skipVerification()"\n >\n {{ skipText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="verify-user-footer" [context]="context"> </amplify-slot>\n </form>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],V.ctorParameters=function(){return[{type:g}]},V.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-verifyuser"]}],headerText:[{type:e.Input}]};var W=function(){function t(){this.type="button",this.fullWidth=!1,this.size="medium",this.variation="default",this.fontWeight="normal",this.defaultClass=!0}return t.prototype.ngOnInit=function(){this.typeAttr=this.type,this.fullWidthAttr=this.fullWidth,this.sizeAttr=this.size,this.variationAttr=this.variation,this.fontWeightAttr=this.fontWeight},t}();W.decorators=[{type:e.Component,args:[{selector:"button[amplify-button]",template:"<ng-content></ng-content>\n"}]}],W.propDecorators={type:[{type:e.Input}],fullWidth:[{type:e.Input}],size:[{type:e.Input}],variation:[{type:e.Input}],fontWeight:[{type:e.Input}],typeAttr:[{type:e.HostBinding,args:["type"]}],fullWidthAttr:[{type:e.HostBinding,args:["attr.data-fullwidth"]}],sizeAttr:[{type:e.HostBinding,args:["attr.data-size"]}],variationAttr:[{type:e.HostBinding,args:["attr.data-variation"]}],defaultClass:[{type:e.HostBinding,args:["class.amplify-button"]}],fontWeightAttr:[{type:e.HostBinding,args:["style.font-weight"]}]};var E=function(){function t(){this.defaultChecked=!1,this.hasError=!1,this.isChecked=!1}return t.prototype.ngOnInit=function(){this.defaultChecked&&(this.isChecked=!0)},t.prototype.handleClick=function(){this.isChecked=!this.isChecked},t}();E.decorators=[{type:e.Component,args:[{selector:"amplify-checkbox",template:'<div class="amplify-flex amplify-field amplify-checkboxfield">\n <label class="amplify-flex amplify-checkbox">\n <span class="amplify-visually-hidden">\n <input\n (click)="handleClick()"\n class="\n amplify-input\n amplify-field-group__control\n amplify-checkbox__input\n "\n aria-invalid="false"\n type="checkbox"\n [name]="name"\n [value]="value"\n />\n </span>\n <span\n class="amplify-flex amplify-checkbox__button"\n aria-hidden="true"\n data-focus="false"\n [attr.data-error]="hasError"\n [attr.data-checked]="isChecked"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon amplify-checkbox__icon"\n viewBox="0 0 24 24"\n fill="currentColor"\n [attr.data-checked]="isChecked"\n >\n <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path>\n </svg>\n </span>\n <span class="amplify-text amplify-checkbox__label">\n <ng-content></ng-content>\n </span>\n </label>\n <p *ngIf="hasError" class="amplify-text amplify-field__error-message">\n {{ errorMessage }}\n </p>\n</div>\n'}]}],E.propDecorators={defaultChecked:[{type:e.Input}],errorMessage:[{type:e.Input}],hasError:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],value:[{type:e.Input}]};var L=function(){function t(){this.isVisible=!0}return t.prototype.close=function(){this.isVisible=!1},t}();L.decorators=[{type:e.Component,args:[{selector:"amplify-error",template:'<div\n class="amplify-flex amplify-alert"\n data-variation="error"\n style="align-items: center; justify-content: space-between"\n *ngIf="isVisible"\n role="alert"\n>\n <div class="amplify-flex" style="align-items: center">\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n viewBox="0 0 24 24"\n fill="currentColor"\n >\n <path\n d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"\n ></path>\n </svg>\n <div><ng-content></ng-content></div>\n </div>\n <button\n amplify-button\n class="amplify-field-group__control"\n variation="link"\n [fullWidth]="false"\n (click)="close()"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n viewBox="0 0 24 24"\n fill="currentColor"\n >\n <path\n d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"\n ></path>\n </svg>\n </button>\n</div>\n'}]}];var U=function(){function t(){this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-"+p.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.type="password",this.showPassword=!1,this.showPasswordButtonlabel=a.translate("Show password")}return t.prototype.togglePasswordText=function(){this.showPassword=!this.showPassword,this.showPasswordButtonlabel=this.showPassword?a.translate("Show password"):a.translate("Hide password"),this.type=this.showPassword?"text":"password"},t}();U.decorators=[{type:e.Component,args:[{selector:"amplify-password-field",template:'<label class="amplify-label" [class.sr-only]="labelHidden" [for]="fieldId">\n {{ label }}\n</label>\n<div class="amplify-flex amplify-field-group">\n <input\n class="amplify-input amplify-field-group__control"\n [id]="fieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [attr.disabled]="disabled ? \'\' : null"\n [autocomplete]="autocomplete"\n />\n <div class="amplify-field-group__outer-end">\n <button\n amplify-button\n [attr.aria-label]="showPasswordButtonlabel"\n class="amplify-field-group__control amplify-field__show-password"\n (click)="togglePasswordText()"\n >\n <svg\n *ngIf="!showPassword"\n xmlns="http://www.w3.org/2000/svg"\n fill="currentColor"\n viewBox="0 0 24 24"\n class="amplify-icon"\n >\n <path\n d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"\n ></path>\n </svg>\n <svg\n *ngIf="showPassword"\n xmlns="http://www.w3.org/2000/svg"\n fill="currentColor"\n viewBox="0 0 24 24"\n class="amplify-icon"\n >\n <path\n d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"\n fill="none"\n ></path>\n <path\n d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"\n ></path>\n </svg>\n </button>\n </div>\n</div>\n'}]}],U.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],fieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],labelHidden:[{type:e.Input}]};var N=function(){this.autocomplete="new-password",this.disabled=!1,this.selectFieldId="amplify-field-"+p.nanoid(12),this.textFieldId="amplify-field-"+p.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents",this.countryDialCodes=a.countryDialCodes};N.decorators=[{type:e.Component,args:[{selector:"amplify-phone-number-field",template:'<label class="amplify-label" [class.sr-only]="labelHidden" [for]="textFieldId">\n {{ label }}\n</label>\n<div\n class="amplify-flex amplify-phonenumberfield"\n amplify-field-group\n style="gap: 0px"\n>\n <div class="amplify-field-group__outer-start">\n <div\n class="\n amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect\n "\n style="flex-direction: column"\n >\n <amplify-form-select\n name="country_code"\n label="Country Code"\n [id]="selectFieldId"\n [items]="countryDialCodes"\n [defaultValue]="defaultCountryCode"\n ></amplify-form-select>\n </div>\n </div>\n\n <input\n class="amplify-input"\n [id]="textFieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [attr.disabled]="disabled ? \'\' : null"\n [autocomplete]="autocomplete"\n />\n</div>\n'}]}],N.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],defaultCountryCode:[{type:e.Input}],selectFieldId:[{type:e.Input}],textFieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],type:[{type:e.Input}],labelHidden:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var $=function(){};$.decorators=[{type:e.Component,args:[{selector:"amplify-form-select",template:'<label class="amplify-label sr-only" [for]="id">{{ label }}</label>\n<div class="amplify-select__wrapper">\n <select\n class="amplify-select amplify-field-group__control"\n autocomplete="tel-country-code"\n [id]="id"\n [name]="name"\n >\n <option\n *ngFor="let item of items"\n [value]="item"\n [selected]="item === defaultValue"\n >\n {{ item }}\n </option>\n </select>\n <div\n class="amplify-flex amplify-select__icon-wrapper"\n style="align-items: center; justify-content: center"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n viewBox="0 0 24 24"\n data-size="large"\n fill="currentColor"\n >\n <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path>\n </svg>\n </div>\n</div>\n'}]}],$.propDecorators={items:[{type:e.Input}],name:[{type:e.Input}],label:[{type:e.Input}],id:[{type:e.Input}],defaultValue:[{type:e.Input}]};var R=function(){this.active=!1};R.decorators=[{type:e.Component,args:[{selector:"amplify-tab-item",template:'<div\n data-orientation="horizontal"\n role="tabpanel"\n [id]="id"\n [attr.aria-labelledby]="labelledById"\n [attr.data-state]="active ? \'active\' : \'inactive\'"\n [attr.tabindex]="tabIndex"\n>\n <ng-content *ngIf="active"></ng-content>\n</div>\n'}]}],R.propDecorators={title:[{type:e.Input}],active:[{type:e.Input}],id:[{type:e.Input}],labelledById:[{type:e.Input}],tabIndex:[{type:e.Input}]};var G=function(){function t(){this.tabChange=new e.EventEmitter}return t.prototype.ngAfterContentInit=function(){this.tabs.forEach((function(t,e){t.id="radix-id-"+p.nanoid(12)+"-1-content-"+e,t.labelledById="radix-id-"+p.nanoid(12)+"-1-trigger-"+e})),1!==this.tabs.filter((function(t){return t.active})).length&&this.selectTab(this.tabs.first)},t.prototype.selectTab=function(t){this.tabs.forEach((function(t){t.active=!1})),t.active=!0},t.prototype.handleTabClick=function(t){t.active||(this.tabChange.emit(),this.selectTab(t))},t}();G.decorators=[{type:e.Component,args:[{selector:"amplify-tabs",template:'<div\n tabindex="0"\n aria-orientation="horizontal"\n data-orientation="horizontal"\n role="tablist"\n style="outline: none"\n>\n <div\n class="amplify-flex amplify-tabs"\n data-indicator-position="top"\n style="gap: 0px; justify-content: center"\n >\n <div\n *ngFor="let tab of tabs"\n class="amplify-tabs-item"\n data-spacing="equal"\n data-orientation="horizontal"\n role="tab"\n [id]="tab.labelledById"\n [tabindex]="tab.active ? \'0\' : \'1\'"\n [attr.aria-selected]="tab.active"\n [attr.aria-controls]="tab.id"\n [attr.data-state]="tab.active ? \'active\' : \'inactive\'"\n (click)="handleTabClick(tab)"\n >\n {{ tab.title }}\n </div>\n </div>\n</div>\n\n<ng-content></ng-content>\n'}]}],G.propDecorators={tabs:[{type:e.ContentChildren,args:[R]}],tabChange:[{type:e.Output}]};var Q=function(){this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-"+p.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents"};Q.decorators=[{type:e.Component,args:[{selector:"amplify-text-field",template:'<label class="amplify-label" [class.sr-only]="labelHidden" [for]="fieldId">\n {{ label }}\n</label>\n<input\n class="amplify-input"\n [id]="fieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [attr.disabled]="disabled ? \'\' : null"\n [autocomplete]="autocomplete"\n/>\n'}]}],Q.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],fieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],type:[{type:e.Input}],labelHidden:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var Z=function(){function t(t){this.propService=t,this.display="contents",this.isOverriden=!1}return t.prototype.ngAfterContentInit=function(){var t=this.propService.customComponents[this.name];t&&(this.overridingComponent=t,this.isOverriden=!0)},t}();Z.decorators=[{type:e.Component,args:[{selector:"amplify-slot",template:'\x3c!-- \n if slot isn\'t overwritten, we display the the default coponent, which is the \n children passed onto this component.\n--\x3e\n<ng-content *ngIf="!isOverriden"></ng-content>\n\n\x3c!-- If slot is overwritten, we render that instead. --\x3e\n<ng-container\n *ngIf="isOverriden"\n [ngTemplateOutlet]="overridingComponent"\n [ngTemplateOutletContext]="context"\n></ng-container>\n'}]}],Z.ctorParameters=function(){return[{type:y}]},Z.propDecorators={name:[{type:e.Input}],context:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var Y=function(){};Y.decorators=[{type:e.NgModule,args:[{declarations:[Z,m,b,W,E,v,I,C,w,L,S,T,P,k,U,N,F,$,D,M,B,q,R,G,Q,H,V],imports:[n.CommonModule,i.BrowserModule],exports:[m,b,E,q,Q]}]}],t.AmplifyAuthenticatorModule=Y,t.AmplifySlotDirective=m,t.AuthenticatorComponent=b,t.AuthenticatorService=g,t.ButtonComponent=W,t.CheckboxComponent=E,t.ConfirmResetPasswordComponent=v,t.ConfirmSignInComponent=I,t.ConfirmSignUpComponent=C,t.ConfirmVerifyUserComponent=w,t.CustomComponentsService=y,t.ErrorComponent=L,t.FederatedSignInButtonComponent=S,t.FederatedSignInComponent=T,t.ForceNewPasswordComponent=P,t.FormFieldComponent=k,t.PasswordFieldComponent=U,t.PhoneNumberFieldComponent=N,t.ResetPasswordComponent=F,t.SelectComponent=$,t.SetupTotpComponent=D,t.SignInComponent=M,t.SignUpComponent=B,t.SignUpFormFieldsComponent=q,t.TabItemComponent=R,t.TabsComponent=G,t.TextFieldComponent=Q,t.UserNameAliasComponent=H,t.VerifyUserComponent=V,t.getAttributeMap=A,t["ɵa"]=Z,t["ɵb"]=b,t["ɵc"]=W,t["ɵd"]=E,t["ɵe"]=v,t["ɵf"]=I,t["ɵg"]=C,t["ɵh"]=w,t["ɵi"]=L,t["ɵj"]=S,t["ɵk"]=T,t["ɵl"]=P,t["ɵm"]=k,t["ɵn"]=U,t["ɵo"]=N,t["ɵp"]=F,t["ɵq"]=$,t["ɵr"]=D,t["ɵs"]=M,t["ɵt"]=B,t["ɵu"]=q,t["ɵv"]=R,t["ɵw"]=G,t["ɵx"]=Q,t["ɵy"]=H,t["ɵz"]=V,Object.defineProperty(t,"__esModule",{value:!0})}));
2
+ //# sourceMappingURL=aws-amplify-ui-angular.umd.min.js.map