{"version":3,"file":"SignIn-IAsNWBUD.js","sources":["../../node_modules/@aws-amplify/core/dist/esm/I18n/I18n.mjs","../../node_modules/@aws-amplify/core/dist/esm/I18n/errorHelpers.mjs","../../node_modules/@aws-amplify/core/dist/esm/I18n/index.mjs","../../node_modules/@aws-amplify/core/dist/esm/utils/generateRandomString.mjs","../../node_modules/@aws-amplify/core/dist/esm/utils/urlSafeDecode.mjs","../../node_modules/@aws-amplify/core/dist/esm/utils/urlSafeEncode.mjs","../../node_modules/@aws-amplify/core/dist/esm/utils/deviceName/getDeviceName.mjs","../../node_modules/@aws-amplify/core/dist/esm/utils/cryptoSecureRandomInt.mjs","../../node_modules/@aws-amplify/core/dist/esm/utils/WordArray.mjs","../../node_modules/@aws-amplify/auth/dist/esm/errors/types/validation.mjs","../../node_modules/@aws-amplify/auth/dist/esm/common/AuthErrorStrings.mjs","../../node_modules/@aws-amplify/auth/dist/esm/errors/utils/assertValidationError.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/types/errors.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createVerifySoftwareTokenClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createAssociateSoftwareTokenClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/tokenProvider/cacheTokens.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/dispatchSignedInHubEvent.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/utils/store/autoSignInStore.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/utils/store/signInStore.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/utils/passkey/errors.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/utils/passkey/getIsPasskeySupported.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/convert/base64url/convertArrayBufferToBase64Url.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/convert/base64url/convertBase64UrlToArrayBuffer.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/utils/passkey/serde.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/utils/passkey/types/index.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/utils/passkey/getPasskey.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createConfirmDeviceClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/textEncoder/index.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/BigInteger/BigInteger.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/calculate/calculateS.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/constants.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getBytesFromHex.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getHexFromBytes.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getHashFromData.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getHashFromHex.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getPaddedHex.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/calculate/calculateU.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getHkdfKey.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getRandomBytes.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getRandomString.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/AuthenticationHelper/AuthenticationHelper.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/calculate/calculateA.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getAuthenticationHelper.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/getNewDeviceMetadata.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/flows/userAuth/handleWebAuthnSignInResult.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getNowString.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/srp/getSignatureString.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/handleDeviceSRPAuth.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/handlePasswordVerifierChallenge.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/retryOnResourceNotFoundException.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/setActiveSignInUsername.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/flows/shared/handlePasswordSRP.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/flows/userAuth/handleSelectChallenge.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/flows/userAuth/handleSelectChallengeWithPassword.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/flows/userAuth/handleSelectChallengeWithPasswordSRP.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/signInHelpers.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signInWithCustomAuth.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signInWithCustomSRPAuth.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/autoSignIn.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signInWithSRP.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signInWithUserPassword.mjs","../../node_modules/@aws-amplify/auth/dist/esm/client/flows/userAuth/handleUserAuthFlow.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signInWithUserAuth.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signIn.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/signUpHelpers.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createSignUpClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signUp.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createForgotPasswordClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/resetPassword.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createConfirmForgotPasswordClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/confirmResetPassword.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createResendConfirmationCodeClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/resendSignUpCode.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createConfirmSignUpClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/confirmSignUp.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/confirmSignIn.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createVerifyUserAttributeClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/confirmUserAttribute.mjs","../../node_modules/@aws-amplify/auth/dist/esm/Errors.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/createOAuthError.mjs","../../node_modules/@aws-amplify/auth/dist/esm/types/Auth.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/validateState.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/completeOAuthFlow.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/handleFailure.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/attemptCompleteOAuthFlow.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/enableOAuthListener.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/types/models.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/generateCodeVerifier.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/generateState.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/utils/oauth/cancelOAuthFlow.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/signInWithRedirect.mjs","../../node_modules/@aws-amplify/auth/dist/esm/foundation/factories/serviceClients/cognitoIdentityProvider/createGetUserAttributeVerificationCodeClient.mjs","../../node_modules/@aws-amplify/auth/dist/esm/providers/cognito/apis/sendUserAttributeVerificationCode.mjs","../../node_modules/@aws-amplify/ui-vue/dist/index.js","../../src/views/crafted/authentication/basic-flow/SignIn.vue"],"sourcesContent":["import { ConsoleLogger } from '../Logger/ConsoleLogger.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst logger = new ConsoleLogger('I18n');\n/**\n * Language translation utility.\n */\nlet I18n$1 = class I18n {\n constructor() {\n /**\n * @private\n */\n this._options = null;\n /**\n * @private\n */\n this._lang = null;\n /**\n * @private\n */\n this._dict = {};\n }\n /**\n * Sets the default language from the configuration when required.\n */\n setDefaultLanguage() {\n // Default to window language if not set in instance\n if (!this._lang &&\n typeof window !== 'undefined' &&\n window &&\n window.navigator) {\n this._lang = window.navigator.language;\n }\n logger.debug(this._lang);\n }\n /**\n * @method\n * Explicitly setting language\n * @param {String} lang\n */\n setLanguage(lang) {\n this._lang = lang;\n }\n /**\n * @method\n * Get value\n * @param {String} key\n * @param {String} defVal - Default value\n */\n get(key, defVal = undefined) {\n this.setDefaultLanguage();\n if (!this._lang) {\n return typeof defVal !== 'undefined' ? defVal : key;\n }\n const lang = this._lang;\n let val = this.getByLanguage(key, lang);\n if (val) {\n return val;\n }\n if (lang.indexOf('-') > 0) {\n val = this.getByLanguage(key, lang.split('-')[0]);\n }\n if (val) {\n return val;\n }\n return typeof defVal !== 'undefined' ? defVal : key;\n }\n /**\n * @method\n * Get value according to specified language\n * @param {String} key\n * @param {String} language - Specified langurage to be used\n * @param {String} defVal - Default value\n */\n getByLanguage(key, language, defVal = null) {\n if (!language) {\n return defVal;\n }\n const langDict = this._dict[language];\n if (!langDict) {\n return defVal;\n }\n return langDict[key];\n }\n /**\n * @method\n * Add vocabularies for one language\n * @param {String} language - Language of the dictionary\n * @param {Object} vocabularies - Object that has key-value as dictionary entry\n */\n putVocabulariesForLanguage(language, vocabularies) {\n let langDict = this._dict[language];\n if (!langDict) {\n langDict = this._dict[language] = {};\n }\n this._dict[language] = { ...langDict, ...vocabularies };\n }\n /**\n * @method\n * Add vocabularies for one language\n * @param {Object} vocabularies - Object that has language as key,\n * vocabularies of each language as value\n */\n putVocabularies(vocabularies) {\n Object.keys(vocabularies).forEach(key => {\n this.putVocabulariesForLanguage(key, vocabularies[key]);\n });\n }\n};\n\nexport { I18n$1 as I18n };\n//# sourceMappingURL=I18n.mjs.map\n","import { createAssertionFunction } from '../errors/createAssertionFunction.mjs';\nimport '../types/errors.mjs';\nimport '../errors/errorHelpers.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar I18nErrorCode;\n(function (I18nErrorCode) {\n I18nErrorCode[\"NotConfigured\"] = \"NotConfigured\";\n})(I18nErrorCode || (I18nErrorCode = {}));\nconst i18nErrorMap = {\n [I18nErrorCode.NotConfigured]: {\n message: 'i18n is not configured.',\n },\n};\nconst assert = createAssertionFunction(i18nErrorMap);\n\nexport { I18nErrorCode, assert };\n//# sourceMappingURL=errorHelpers.mjs.map\n","import { ConsoleLogger } from '../Logger/ConsoleLogger.mjs';\nimport { I18n as I18n$1 } from './I18n.mjs';\nimport { assert, I18nErrorCode } from './errorHelpers.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst logger = new ConsoleLogger('I18n');\nlet _config = { language: null };\nlet _i18n = null;\n/**\n * Export I18n APIs\n */\nclass I18n {\n /**\n * @static\n * @method\n * Configure I18n part\n * @param {Object} config - Configuration of the I18n\n */\n static configure(config) {\n logger.debug('configure I18n');\n if (!config) {\n return _config;\n }\n _config = Object.assign({}, _config, config.I18n || config);\n I18n.createInstance();\n return _config;\n }\n static getModuleName() {\n return 'I18n';\n }\n /**\n * @static\n * @method\n * Create an instance of I18n for the library\n */\n static createInstance() {\n logger.debug('create I18n instance');\n if (_i18n) {\n return;\n }\n _i18n = new I18n$1();\n }\n /**\n * @static @method\n * Explicitly setting language\n * @param {String} lang\n */\n static setLanguage(lang) {\n I18n.checkConfig();\n assert(!!_i18n, I18nErrorCode.NotConfigured);\n _i18n.setLanguage(lang);\n }\n /**\n * @static @method\n * Get value\n * @param {String} key\n * @param {String} defVal - Default value\n */\n static get(key, defVal) {\n if (!I18n.checkConfig()) {\n return typeof defVal === 'undefined' ? key : defVal;\n }\n assert(!!_i18n, I18nErrorCode.NotConfigured);\n return _i18n.get(key, defVal);\n }\n /**\n * @static\n * @method\n * Add vocabularies for one language\n * @param {String} language - Language of the dictionary\n * @param {Object} vocabularies - Object that has key-value as dictionary entry\n */\n static putVocabulariesForLanguage(language, vocabularies) {\n I18n.checkConfig();\n assert(!!_i18n, I18nErrorCode.NotConfigured);\n _i18n.putVocabulariesForLanguage(language, vocabularies);\n }\n /**\n * @static\n * @method\n * Add vocabularies for one language\n * @param {Object} vocabularies - Object that has language as key,\n * vocabularies of each language as value\n */\n static putVocabularies(vocabularies) {\n I18n.checkConfig();\n assert(!!_i18n, I18nErrorCode.NotConfigured);\n _i18n.putVocabularies(vocabularies);\n }\n static checkConfig() {\n if (!_i18n) {\n I18n.createInstance();\n }\n return true;\n }\n}\n// Create an instance of I18n in the static class\nI18n.createInstance();\n\nexport { I18n };\n//# sourceMappingURL=index.mjs.map\n","import { getCrypto } from './globalHelpers/index.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst generateRandomString = (length) => {\n const STATE_CHARSET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n const result = [];\n const randomNums = new Uint8Array(length);\n getCrypto().getRandomValues(randomNums);\n for (const num of randomNums) {\n result.push(STATE_CHARSET[num % STATE_CHARSET.length]);\n }\n return result.join('');\n};\n\nexport { generateRandomString };\n//# sourceMappingURL=generateRandomString.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nfunction urlSafeDecode(hex) {\n const matchArr = hex.match(/.{2}/g) || [];\n return matchArr.map(char => String.fromCharCode(parseInt(char, 16))).join('');\n}\n\nexport { urlSafeDecode };\n//# sourceMappingURL=urlSafeDecode.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nfunction urlSafeEncode(str) {\n return str\n .split('')\n .map(char => char.charCodeAt(0).toString(16).padStart(2, '0'))\n .join('');\n}\n\nexport { urlSafeEncode };\n//# sourceMappingURL=urlSafeEncode.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Retrieves the device name using the User-Agent Client Hints API if available,\n * falling back to the traditional userAgent string if not.\n *\n * @returns {Promise} A promise that resolves with a string representing the device name.\n *\n * Example Output:\n * navigator.userAgentData:\n * 'macOS 14.2.1 arm macOS Not A(Brand/99.0.0.0;Google Chrome/121.0.6167.160;Chromium/121.0.6167.160'\n * navigator.userAgent:\n * 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0'\n */\nconst getDeviceName = async () => {\n const { userAgentData } = navigator;\n if (!userAgentData)\n return navigator.userAgent;\n const { platform = '', platformVersion = '', model = '', architecture = '', fullVersionList = [], } = await userAgentData.getHighEntropyValues([\n 'platform',\n 'platformVersion',\n 'architecture',\n 'model',\n 'fullVersionList',\n ]);\n const versionList = fullVersionList\n .map((v) => `${v.brand}/${v.version}`)\n .join(';');\n const deviceName = [\n platform,\n platformVersion,\n architecture,\n model,\n platform,\n versionList,\n ]\n .filter(value => value)\n .join(' ');\n return deviceName || navigator.userAgent;\n};\n\nexport { getDeviceName };\n//# sourceMappingURL=getDeviceName.mjs.map\n","import { getCrypto } from './globalHelpers/index.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/*\n * Cryptographically secure pseudorandom number generator\n * As Math.random() is cryptographically not safe to use\n */\nfunction cryptoSecureRandomInt() {\n const crypto = getCrypto();\n const randomResult = crypto.getRandomValues(new Uint32Array(1))[0];\n return randomResult;\n}\n\nexport { cryptoSecureRandomInt };\n//# sourceMappingURL=cryptoSecureRandomInt.mjs.map\n","import { cryptoSecureRandomInt } from './cryptoSecureRandomInt.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Hex encoding strategy.\n * Converts a word array to a hex string.\n * @param {WordArray} wordArray The word array.\n * @return {string} The hex string.\n * @static\n */\nfunction hexStringify(wordArray) {\n // Shortcuts\n const { words } = wordArray;\n const { sigBytes } = wordArray;\n // Convert\n const hexChars = [];\n for (let i = 0; i < sigBytes; i++) {\n const bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n hexChars.push((bite >>> 4).toString(16));\n hexChars.push((bite & 0x0f).toString(16));\n }\n return hexChars.join('');\n}\nclass WordArray {\n constructor(words, sigBytes) {\n this.words = [];\n let Words = words;\n Words = this.words = Words || [];\n if (sigBytes !== undefined) {\n this.sigBytes = sigBytes;\n }\n else {\n this.sigBytes = Words.length * 4;\n }\n }\n random(nBytes) {\n const words = [];\n for (let i = 0; i < nBytes; i += 4) {\n words.push(cryptoSecureRandomInt());\n }\n return new WordArray(words, nBytes);\n }\n toString() {\n return hexStringify(this);\n }\n}\n\nexport { WordArray };\n//# sourceMappingURL=WordArray.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar AuthValidationErrorCode;\n(function (AuthValidationErrorCode) {\n AuthValidationErrorCode[\"EmptySignInUsername\"] = \"EmptySignInUsername\";\n AuthValidationErrorCode[\"EmptySignInPassword\"] = \"EmptySignInPassword\";\n AuthValidationErrorCode[\"CustomAuthSignInPassword\"] = \"CustomAuthSignInPassword\";\n AuthValidationErrorCode[\"EmptySignUpUsername\"] = \"EmptySignUpUsername\";\n AuthValidationErrorCode[\"EmptySignUpPassword\"] = \"EmptySignUpPassword\";\n AuthValidationErrorCode[\"EmptyConfirmSignUpUsername\"] = \"EmptyConfirmSignUpUsername\";\n AuthValidationErrorCode[\"EmptyConfirmSignUpCode\"] = \"EmptyConfirmSignUpCode\";\n AuthValidationErrorCode[\"EmptyResendSignUpCodeUsername\"] = \"EmptyresendSignUpCodeUsername\";\n AuthValidationErrorCode[\"EmptyChallengeResponse\"] = \"EmptyChallengeResponse\";\n AuthValidationErrorCode[\"EmptyConfirmResetPasswordUsername\"] = \"EmptyConfirmResetPasswordUsername\";\n AuthValidationErrorCode[\"EmptyConfirmResetPasswordNewPassword\"] = \"EmptyConfirmResetPasswordNewPassword\";\n AuthValidationErrorCode[\"EmptyConfirmResetPasswordConfirmationCode\"] = \"EmptyConfirmResetPasswordConfirmationCode\";\n AuthValidationErrorCode[\"EmptyResetPasswordUsername\"] = \"EmptyResetPasswordUsername\";\n AuthValidationErrorCode[\"EmptyVerifyTOTPSetupCode\"] = \"EmptyVerifyTOTPSetupCode\";\n AuthValidationErrorCode[\"EmptyConfirmUserAttributeCode\"] = \"EmptyConfirmUserAttributeCode\";\n AuthValidationErrorCode[\"IncorrectMFAMethod\"] = \"IncorrectMFAMethod\";\n AuthValidationErrorCode[\"EmptyUpdatePassword\"] = \"EmptyUpdatePassword\";\n})(AuthValidationErrorCode || (AuthValidationErrorCode = {}));\n\nexport { AuthValidationErrorCode };\n//# sourceMappingURL=validation.mjs.map\n","import { AuthValidationErrorCode } from '../errors/types/validation.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst validationErrorMap = {\n [AuthValidationErrorCode.EmptyChallengeResponse]: {\n message: 'challengeResponse is required to confirmSignIn',\n },\n [AuthValidationErrorCode.EmptyConfirmResetPasswordUsername]: {\n message: 'username is required to confirmResetPassword',\n },\n [AuthValidationErrorCode.EmptyConfirmSignUpCode]: {\n message: 'code is required to confirmSignUp',\n },\n [AuthValidationErrorCode.EmptyConfirmSignUpUsername]: {\n message: 'username is required to confirmSignUp',\n },\n [AuthValidationErrorCode.EmptyConfirmResetPasswordConfirmationCode]: {\n message: 'confirmationCode is required to confirmResetPassword',\n },\n [AuthValidationErrorCode.EmptyConfirmResetPasswordNewPassword]: {\n message: 'newPassword is required to confirmResetPassword',\n },\n [AuthValidationErrorCode.EmptyResendSignUpCodeUsername]: {\n message: 'username is required to confirmSignUp',\n },\n [AuthValidationErrorCode.EmptyResetPasswordUsername]: {\n message: 'username is required to resetPassword',\n },\n [AuthValidationErrorCode.EmptySignInPassword]: {\n message: 'password is required to signIn',\n },\n [AuthValidationErrorCode.EmptySignInUsername]: {\n message: 'username is required to signIn',\n },\n [AuthValidationErrorCode.EmptySignUpPassword]: {\n message: 'password is required to signUp',\n },\n [AuthValidationErrorCode.EmptySignUpUsername]: {\n message: 'username is required to signUp',\n },\n [AuthValidationErrorCode.CustomAuthSignInPassword]: {\n message: 'A password is not needed when signing in with CUSTOM_WITHOUT_SRP',\n recoverySuggestion: 'Do not include a password in your signIn call.',\n },\n [AuthValidationErrorCode.IncorrectMFAMethod]: {\n message: 'Incorrect MFA method was chosen. It should be either SMS, TOTP, or EMAIL',\n recoverySuggestion: 'Try to pass SMS, TOTP, or EMAIL as the challengeResponse',\n },\n [AuthValidationErrorCode.EmptyVerifyTOTPSetupCode]: {\n message: 'code is required to verifyTotpSetup',\n },\n [AuthValidationErrorCode.EmptyUpdatePassword]: {\n message: 'oldPassword and newPassword are required to changePassword',\n },\n [AuthValidationErrorCode.EmptyConfirmUserAttributeCode]: {\n message: 'confirmation code is required to confirmUserAttribute',\n },\n};\n// TODO: delete this code when the Auth class is removed.\nvar AuthErrorStrings;\n(function (AuthErrorStrings) {\n AuthErrorStrings[\"DEFAULT_MSG\"] = \"Authentication Error\";\n AuthErrorStrings[\"EMPTY_EMAIL\"] = \"Email cannot be empty\";\n AuthErrorStrings[\"EMPTY_PHONE\"] = \"Phone number cannot be empty\";\n AuthErrorStrings[\"EMPTY_USERNAME\"] = \"Username cannot be empty\";\n AuthErrorStrings[\"INVALID_USERNAME\"] = \"The username should either be a string or one of the sign in types\";\n AuthErrorStrings[\"EMPTY_PASSWORD\"] = \"Password cannot be empty\";\n AuthErrorStrings[\"EMPTY_CODE\"] = \"Confirmation code cannot be empty\";\n AuthErrorStrings[\"SIGN_UP_ERROR\"] = \"Error creating account\";\n AuthErrorStrings[\"NO_MFA\"] = \"No valid MFA method provided\";\n AuthErrorStrings[\"INVALID_MFA\"] = \"Invalid MFA type\";\n AuthErrorStrings[\"EMPTY_CHALLENGE\"] = \"Challenge response cannot be empty\";\n AuthErrorStrings[\"NO_USER_SESSION\"] = \"Failed to get the session because the user is empty\";\n AuthErrorStrings[\"NETWORK_ERROR\"] = \"Network Error\";\n AuthErrorStrings[\"DEVICE_CONFIG\"] = \"Device tracking has not been configured in this User Pool\";\n AuthErrorStrings[\"AUTOSIGNIN_ERROR\"] = \"Please use your credentials to sign in\";\n AuthErrorStrings[\"OAUTH_ERROR\"] = \"Couldn't finish OAuth flow, check your User Pool HostedUI settings\";\n})(AuthErrorStrings || (AuthErrorStrings = {}));\nvar AuthErrorCodes;\n(function (AuthErrorCodes) {\n AuthErrorCodes[\"SignInException\"] = \"SignInException\";\n AuthErrorCodes[\"OAuthSignInError\"] = \"OAuthSignInException\";\n})(AuthErrorCodes || (AuthErrorCodes = {}));\n\nexport { AuthErrorCodes, AuthErrorStrings, validationErrorMap };\n//# sourceMappingURL=AuthErrorStrings.mjs.map\n","import { validationErrorMap } from '../../common/AuthErrorStrings.mjs';\nimport { AuthError } from '../AuthError.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nfunction assertValidationError(assertion, name) {\n const { message, recoverySuggestion } = validationErrorMap[name];\n if (!assertion) {\n throw new AuthError({ name, message, recoverySuggestion });\n }\n}\n\nexport { assertValidationError };\n//# sourceMappingURL=assertValidationError.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar AssociateSoftwareTokenException;\n(function (AssociateSoftwareTokenException) {\n AssociateSoftwareTokenException[\"ConcurrentModificationException\"] = \"ConcurrentModificationException\";\n AssociateSoftwareTokenException[\"ForbiddenException\"] = \"ForbiddenException\";\n AssociateSoftwareTokenException[\"InternalErrorException\"] = \"InternalErrorException\";\n AssociateSoftwareTokenException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n AssociateSoftwareTokenException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n AssociateSoftwareTokenException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n AssociateSoftwareTokenException[\"SoftwareTokenMFANotFoundException\"] = \"SoftwareTokenMFANotFoundException\";\n})(AssociateSoftwareTokenException || (AssociateSoftwareTokenException = {}));\nvar ChangePasswordException;\n(function (ChangePasswordException) {\n ChangePasswordException[\"ForbiddenException\"] = \"ForbiddenException\";\n ChangePasswordException[\"InternalErrorException\"] = \"InternalErrorException\";\n ChangePasswordException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ChangePasswordException[\"InvalidPasswordException\"] = \"InvalidPasswordException\";\n ChangePasswordException[\"LimitExceededException\"] = \"LimitExceededException\";\n ChangePasswordException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ChangePasswordException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n ChangePasswordException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ChangePasswordException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ChangePasswordException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n ChangePasswordException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ChangePasswordException || (ChangePasswordException = {}));\nvar ConfirmDeviceException;\n(function (ConfirmDeviceException) {\n ConfirmDeviceException[\"ForbiddenException\"] = \"ForbiddenException\";\n ConfirmDeviceException[\"InternalErrorException\"] = \"InternalErrorException\";\n ConfirmDeviceException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n ConfirmDeviceException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ConfirmDeviceException[\"InvalidPasswordException\"] = \"InvalidPasswordException\";\n ConfirmDeviceException[\"InvalidUserPoolConfigurationException\"] = \"InvalidUserPoolConfigurationException\";\n ConfirmDeviceException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ConfirmDeviceException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n ConfirmDeviceException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ConfirmDeviceException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ConfirmDeviceException[\"UsernameExistsException\"] = \"UsernameExistsException\";\n ConfirmDeviceException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n ConfirmDeviceException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ConfirmDeviceException || (ConfirmDeviceException = {}));\nvar ConfirmForgotPasswordException;\n(function (ConfirmForgotPasswordException) {\n ConfirmForgotPasswordException[\"CodeMismatchException\"] = \"CodeMismatchException\";\n ConfirmForgotPasswordException[\"ExpiredCodeException\"] = \"ExpiredCodeException\";\n ConfirmForgotPasswordException[\"ForbiddenException\"] = \"ForbiddenException\";\n ConfirmForgotPasswordException[\"InternalErrorException\"] = \"InternalErrorException\";\n ConfirmForgotPasswordException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n ConfirmForgotPasswordException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ConfirmForgotPasswordException[\"InvalidPasswordException\"] = \"InvalidPasswordException\";\n ConfirmForgotPasswordException[\"LimitExceededException\"] = \"LimitExceededException\";\n ConfirmForgotPasswordException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ConfirmForgotPasswordException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ConfirmForgotPasswordException[\"TooManyFailedAttemptsException\"] = \"TooManyFailedAttemptsException\";\n ConfirmForgotPasswordException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ConfirmForgotPasswordException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n ConfirmForgotPasswordException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n ConfirmForgotPasswordException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n ConfirmForgotPasswordException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ConfirmForgotPasswordException || (ConfirmForgotPasswordException = {}));\nvar ConfirmSignUpException;\n(function (ConfirmSignUpException) {\n ConfirmSignUpException[\"AliasExistsException\"] = \"AliasExistsException\";\n ConfirmSignUpException[\"CodeMismatchException\"] = \"CodeMismatchException\";\n ConfirmSignUpException[\"ExpiredCodeException\"] = \"ExpiredCodeException\";\n ConfirmSignUpException[\"ForbiddenException\"] = \"ForbiddenException\";\n ConfirmSignUpException[\"InternalErrorException\"] = \"InternalErrorException\";\n ConfirmSignUpException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n ConfirmSignUpException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ConfirmSignUpException[\"LimitExceededException\"] = \"LimitExceededException\";\n ConfirmSignUpException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ConfirmSignUpException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ConfirmSignUpException[\"TooManyFailedAttemptsException\"] = \"TooManyFailedAttemptsException\";\n ConfirmSignUpException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ConfirmSignUpException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n ConfirmSignUpException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n ConfirmSignUpException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ConfirmSignUpException || (ConfirmSignUpException = {}));\nvar DeleteUserAttributesException;\n(function (DeleteUserAttributesException) {\n DeleteUserAttributesException[\"ForbiddenException\"] = \"ForbiddenException\";\n DeleteUserAttributesException[\"InternalErrorException\"] = \"InternalErrorException\";\n DeleteUserAttributesException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n DeleteUserAttributesException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n DeleteUserAttributesException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n DeleteUserAttributesException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n DeleteUserAttributesException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n DeleteUserAttributesException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n DeleteUserAttributesException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(DeleteUserAttributesException || (DeleteUserAttributesException = {}));\nvar DeleteUserException;\n(function (DeleteUserException) {\n DeleteUserException[\"ForbiddenException\"] = \"ForbiddenException\";\n DeleteUserException[\"InternalErrorException\"] = \"InternalErrorException\";\n DeleteUserException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n DeleteUserException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n DeleteUserException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n DeleteUserException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n DeleteUserException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n DeleteUserException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n DeleteUserException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(DeleteUserException || (DeleteUserException = {}));\nvar ForgetDeviceException;\n(function (ForgetDeviceException) {\n ForgetDeviceException[\"ForbiddenException\"] = \"ForbiddenException\";\n ForgetDeviceException[\"InternalErrorException\"] = \"InternalErrorException\";\n ForgetDeviceException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ForgetDeviceException[\"InvalidUserPoolConfigurationException\"] = \"InvalidUserPoolConfigurationException\";\n ForgetDeviceException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ForgetDeviceException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n ForgetDeviceException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ForgetDeviceException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ForgetDeviceException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n ForgetDeviceException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ForgetDeviceException || (ForgetDeviceException = {}));\nvar ForgotPasswordException;\n(function (ForgotPasswordException) {\n ForgotPasswordException[\"CodeDeliveryFailureException\"] = \"CodeDeliveryFailureException\";\n ForgotPasswordException[\"ForbiddenException\"] = \"ForbiddenException\";\n ForgotPasswordException[\"InternalErrorException\"] = \"InternalErrorException\";\n ForgotPasswordException[\"InvalidEmailRoleAccessPolicyException\"] = \"InvalidEmailRoleAccessPolicyException\";\n ForgotPasswordException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n ForgotPasswordException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ForgotPasswordException[\"InvalidSmsRoleAccessPolicyException\"] = \"InvalidSmsRoleAccessPolicyException\";\n ForgotPasswordException[\"InvalidSmsRoleTrustRelationshipException\"] = \"InvalidSmsRoleTrustRelationshipException\";\n ForgotPasswordException[\"LimitExceededException\"] = \"LimitExceededException\";\n ForgotPasswordException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ForgotPasswordException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ForgotPasswordException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ForgotPasswordException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n ForgotPasswordException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n ForgotPasswordException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ForgotPasswordException || (ForgotPasswordException = {}));\nvar GetUserException;\n(function (GetUserException) {\n GetUserException[\"ForbiddenException\"] = \"ForbiddenException\";\n GetUserException[\"InternalErrorException\"] = \"InternalErrorException\";\n GetUserException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n GetUserException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n GetUserException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n GetUserException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n GetUserException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n GetUserException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n GetUserException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(GetUserException || (GetUserException = {}));\nvar GetIdException;\n(function (GetIdException) {\n GetIdException[\"ExternalServiceException\"] = \"ExternalServiceException\";\n GetIdException[\"InternalErrorException\"] = \"InternalErrorException\";\n GetIdException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n GetIdException[\"LimitExceededException\"] = \"LimitExceededException\";\n GetIdException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n GetIdException[\"ResourceConflictException\"] = \"ResourceConflictException\";\n GetIdException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n GetIdException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n})(GetIdException || (GetIdException = {}));\nvar GetCredentialsForIdentityException;\n(function (GetCredentialsForIdentityException) {\n GetCredentialsForIdentityException[\"ExternalServiceException\"] = \"ExternalServiceException\";\n GetCredentialsForIdentityException[\"InternalErrorException\"] = \"InternalErrorException\";\n GetCredentialsForIdentityException[\"InvalidIdentityPoolConfigurationException\"] = \"InvalidIdentityPoolConfigurationException\";\n GetCredentialsForIdentityException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n GetCredentialsForIdentityException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n GetCredentialsForIdentityException[\"ResourceConflictException\"] = \"ResourceConflictException\";\n GetCredentialsForIdentityException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n GetCredentialsForIdentityException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n})(GetCredentialsForIdentityException || (GetCredentialsForIdentityException = {}));\nvar GetUserAttributeVerificationException;\n(function (GetUserAttributeVerificationException) {\n GetUserAttributeVerificationException[\"CodeDeliveryFailureException\"] = \"CodeDeliveryFailureException\";\n GetUserAttributeVerificationException[\"ForbiddenException\"] = \"ForbiddenException\";\n GetUserAttributeVerificationException[\"InternalErrorException\"] = \"InternalErrorException\";\n GetUserAttributeVerificationException[\"InvalidEmailRoleAccessPolicyException\"] = \"InvalidEmailRoleAccessPolicyException\";\n GetUserAttributeVerificationException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n GetUserAttributeVerificationException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n GetUserAttributeVerificationException[\"InvalidSmsRoleAccessPolicyException\"] = \"InvalidSmsRoleAccessPolicyException\";\n GetUserAttributeVerificationException[\"InvalidSmsRoleTrustRelationshipException\"] = \"InvalidSmsRoleTrustRelationshipException\";\n GetUserAttributeVerificationException[\"LimitExceededException\"] = \"LimitExceededException\";\n GetUserAttributeVerificationException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n GetUserAttributeVerificationException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n GetUserAttributeVerificationException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n GetUserAttributeVerificationException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n GetUserAttributeVerificationException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n GetUserAttributeVerificationException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n GetUserAttributeVerificationException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n GetUserAttributeVerificationException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(GetUserAttributeVerificationException || (GetUserAttributeVerificationException = {}));\nvar GlobalSignOutException;\n(function (GlobalSignOutException) {\n GlobalSignOutException[\"ForbiddenException\"] = \"ForbiddenException\";\n GlobalSignOutException[\"InternalErrorException\"] = \"InternalErrorException\";\n GlobalSignOutException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n GlobalSignOutException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n GlobalSignOutException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n GlobalSignOutException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n GlobalSignOutException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n GlobalSignOutException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n})(GlobalSignOutException || (GlobalSignOutException = {}));\nvar InitiateAuthException;\n(function (InitiateAuthException) {\n InitiateAuthException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n InitiateAuthException[\"ForbiddenException\"] = \"ForbiddenException\";\n InitiateAuthException[\"InternalErrorException\"] = \"InternalErrorException\";\n InitiateAuthException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n InitiateAuthException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n InitiateAuthException[\"InvalidSmsRoleAccessPolicyException\"] = \"InvalidSmsRoleAccessPolicyException\";\n InitiateAuthException[\"InvalidSmsRoleTrustRelationshipException\"] = \"InvalidSmsRoleTrustRelationshipException\";\n InitiateAuthException[\"InvalidUserPoolConfigurationException\"] = \"InvalidUserPoolConfigurationException\";\n InitiateAuthException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n InitiateAuthException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n InitiateAuthException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n InitiateAuthException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n InitiateAuthException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n InitiateAuthException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n InitiateAuthException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(InitiateAuthException || (InitiateAuthException = {}));\nvar ResendConfirmationException;\n(function (ResendConfirmationException) {\n ResendConfirmationException[\"CodeDeliveryFailureException\"] = \"CodeDeliveryFailureException\";\n ResendConfirmationException[\"ForbiddenException\"] = \"ForbiddenException\";\n ResendConfirmationException[\"InternalErrorException\"] = \"InternalErrorException\";\n ResendConfirmationException[\"InvalidEmailRoleAccessPolicyException\"] = \"InvalidEmailRoleAccessPolicyException\";\n ResendConfirmationException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n ResendConfirmationException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ResendConfirmationException[\"InvalidSmsRoleAccessPolicyException\"] = \"InvalidSmsRoleAccessPolicyException\";\n ResendConfirmationException[\"InvalidSmsRoleTrustRelationshipException\"] = \"InvalidSmsRoleTrustRelationshipException\";\n ResendConfirmationException[\"LimitExceededException\"] = \"LimitExceededException\";\n ResendConfirmationException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ResendConfirmationException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ResendConfirmationException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ResendConfirmationException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n ResendConfirmationException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n ResendConfirmationException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ResendConfirmationException || (ResendConfirmationException = {}));\nvar RespondToAuthChallengeException;\n(function (RespondToAuthChallengeException) {\n RespondToAuthChallengeException[\"AliasExistsException\"] = \"AliasExistsException\";\n RespondToAuthChallengeException[\"CodeMismatchException\"] = \"CodeMismatchException\";\n RespondToAuthChallengeException[\"ExpiredCodeException\"] = \"ExpiredCodeException\";\n RespondToAuthChallengeException[\"ForbiddenException\"] = \"ForbiddenException\";\n RespondToAuthChallengeException[\"InternalErrorException\"] = \"InternalErrorException\";\n RespondToAuthChallengeException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n RespondToAuthChallengeException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n RespondToAuthChallengeException[\"InvalidPasswordException\"] = \"InvalidPasswordException\";\n RespondToAuthChallengeException[\"InvalidSmsRoleAccessPolicyException\"] = \"InvalidSmsRoleAccessPolicyException\";\n RespondToAuthChallengeException[\"InvalidSmsRoleTrustRelationshipException\"] = \"InvalidSmsRoleTrustRelationshipException\";\n RespondToAuthChallengeException[\"InvalidUserPoolConfigurationException\"] = \"InvalidUserPoolConfigurationException\";\n RespondToAuthChallengeException[\"MFAMethodNotFoundException\"] = \"MFAMethodNotFoundException\";\n RespondToAuthChallengeException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n RespondToAuthChallengeException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n RespondToAuthChallengeException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n RespondToAuthChallengeException[\"SoftwareTokenMFANotFoundException\"] = \"SoftwareTokenMFANotFoundException\";\n RespondToAuthChallengeException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n RespondToAuthChallengeException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n RespondToAuthChallengeException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n RespondToAuthChallengeException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n RespondToAuthChallengeException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(RespondToAuthChallengeException || (RespondToAuthChallengeException = {}));\nvar SetUserMFAPreferenceException;\n(function (SetUserMFAPreferenceException) {\n SetUserMFAPreferenceException[\"ForbiddenException\"] = \"ForbiddenException\";\n SetUserMFAPreferenceException[\"InternalErrorException\"] = \"InternalErrorException\";\n SetUserMFAPreferenceException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n SetUserMFAPreferenceException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n SetUserMFAPreferenceException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n SetUserMFAPreferenceException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n SetUserMFAPreferenceException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n SetUserMFAPreferenceException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(SetUserMFAPreferenceException || (SetUserMFAPreferenceException = {}));\nvar SignUpException;\n(function (SignUpException) {\n SignUpException[\"CodeDeliveryFailureException\"] = \"CodeDeliveryFailureException\";\n SignUpException[\"InternalErrorException\"] = \"InternalErrorException\";\n SignUpException[\"InvalidEmailRoleAccessPolicyException\"] = \"InvalidEmailRoleAccessPolicyException\";\n SignUpException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n SignUpException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n SignUpException[\"InvalidPasswordException\"] = \"InvalidPasswordException\";\n SignUpException[\"InvalidSmsRoleAccessPolicyException\"] = \"InvalidSmsRoleAccessPolicyException\";\n SignUpException[\"InvalidSmsRoleTrustRelationshipException\"] = \"InvalidSmsRoleTrustRelationshipException\";\n SignUpException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n SignUpException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n SignUpException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n SignUpException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n SignUpException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n SignUpException[\"UsernameExistsException\"] = \"UsernameExistsException\";\n})(SignUpException || (SignUpException = {}));\nvar UpdateUserAttributesException;\n(function (UpdateUserAttributesException) {\n UpdateUserAttributesException[\"AliasExistsException\"] = \"AliasExistsException\";\n UpdateUserAttributesException[\"CodeDeliveryFailureException\"] = \"CodeDeliveryFailureException\";\n UpdateUserAttributesException[\"CodeMismatchException\"] = \"CodeMismatchException\";\n UpdateUserAttributesException[\"ExpiredCodeException\"] = \"ExpiredCodeException\";\n UpdateUserAttributesException[\"ForbiddenException\"] = \"ForbiddenException\";\n UpdateUserAttributesException[\"InternalErrorException\"] = \"InternalErrorException\";\n UpdateUserAttributesException[\"InvalidEmailRoleAccessPolicyException\"] = \"InvalidEmailRoleAccessPolicyException\";\n UpdateUserAttributesException[\"InvalidLambdaResponseException\"] = \"InvalidLambdaResponseException\";\n UpdateUserAttributesException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n UpdateUserAttributesException[\"InvalidSmsRoleAccessPolicyException\"] = \"InvalidSmsRoleAccessPolicyException\";\n UpdateUserAttributesException[\"InvalidSmsRoleTrustRelationshipException\"] = \"InvalidSmsRoleTrustRelationshipException\";\n UpdateUserAttributesException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n UpdateUserAttributesException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n UpdateUserAttributesException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n UpdateUserAttributesException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n UpdateUserAttributesException[\"UnexpectedLambdaException\"] = \"UnexpectedLambdaException\";\n UpdateUserAttributesException[\"UserLambdaValidationException\"] = \"UserLambdaValidationException\";\n UpdateUserAttributesException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n UpdateUserAttributesException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(UpdateUserAttributesException || (UpdateUserAttributesException = {}));\nvar VerifySoftwareTokenException;\n(function (VerifySoftwareTokenException) {\n VerifySoftwareTokenException[\"CodeMismatchException\"] = \"CodeMismatchException\";\n VerifySoftwareTokenException[\"EnableSoftwareTokenMFAException\"] = \"EnableSoftwareTokenMFAException\";\n VerifySoftwareTokenException[\"ForbiddenException\"] = \"ForbiddenException\";\n VerifySoftwareTokenException[\"InternalErrorException\"] = \"InternalErrorException\";\n VerifySoftwareTokenException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n VerifySoftwareTokenException[\"InvalidUserPoolConfigurationException\"] = \"InvalidUserPoolConfigurationException\";\n VerifySoftwareTokenException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n VerifySoftwareTokenException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n VerifySoftwareTokenException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n VerifySoftwareTokenException[\"SoftwareTokenMFANotFoundException\"] = \"SoftwareTokenMFANotFoundException\";\n VerifySoftwareTokenException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n VerifySoftwareTokenException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n VerifySoftwareTokenException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(VerifySoftwareTokenException || (VerifySoftwareTokenException = {}));\nvar VerifyUserAttributeException;\n(function (VerifyUserAttributeException) {\n VerifyUserAttributeException[\"AliasExistsException\"] = \"AliasExistsException\";\n VerifyUserAttributeException[\"CodeMismatchException\"] = \"CodeMismatchException\";\n VerifyUserAttributeException[\"ExpiredCodeException\"] = \"ExpiredCodeException\";\n VerifyUserAttributeException[\"ForbiddenException\"] = \"ForbiddenException\";\n VerifyUserAttributeException[\"InternalErrorException\"] = \"InternalErrorException\";\n VerifyUserAttributeException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n VerifyUserAttributeException[\"LimitExceededException\"] = \"LimitExceededException\";\n VerifyUserAttributeException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n VerifyUserAttributeException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n VerifyUserAttributeException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n VerifyUserAttributeException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n VerifyUserAttributeException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n VerifyUserAttributeException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(VerifyUserAttributeException || (VerifyUserAttributeException = {}));\nvar UpdateDeviceStatusException;\n(function (UpdateDeviceStatusException) {\n UpdateDeviceStatusException[\"ForbiddenException\"] = \"ForbiddenException\";\n UpdateDeviceStatusException[\"InternalErrorException\"] = \"InternalErrorException\";\n UpdateDeviceStatusException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n UpdateDeviceStatusException[\"InvalidUserPoolConfigurationException\"] = \"InvalidUserPoolConfigurationException\";\n UpdateDeviceStatusException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n UpdateDeviceStatusException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n UpdateDeviceStatusException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n UpdateDeviceStatusException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n UpdateDeviceStatusException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n UpdateDeviceStatusException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(UpdateDeviceStatusException || (UpdateDeviceStatusException = {}));\nvar ListDevicesException;\n(function (ListDevicesException) {\n ListDevicesException[\"ForbiddenException\"] = \"ForbiddenException\";\n ListDevicesException[\"InternalErrorException\"] = \"InternalErrorException\";\n ListDevicesException[\"InvalidParameterException\"] = \"InvalidParameterException\";\n ListDevicesException[\"InvalidUserPoolConfigurationException\"] = \"InvalidUserPoolConfigurationException\";\n ListDevicesException[\"NotAuthorizedException\"] = \"NotAuthorizedException\";\n ListDevicesException[\"PasswordResetRequiredException\"] = \"PasswordResetRequiredException\";\n ListDevicesException[\"ResourceNotFoundException\"] = \"ResourceNotFoundException\";\n ListDevicesException[\"TooManyRequestsException\"] = \"TooManyRequestsException\";\n ListDevicesException[\"UserNotConfirmedException\"] = \"UserNotConfirmedException\";\n ListDevicesException[\"UserNotFoundException\"] = \"UserNotFoundException\";\n})(ListDevicesException || (ListDevicesException = {}));\nconst SETUP_TOTP_EXCEPTION = 'SetUpTOTPException';\n\nexport { AssociateSoftwareTokenException, ChangePasswordException, ConfirmDeviceException, ConfirmForgotPasswordException, ConfirmSignUpException, DeleteUserAttributesException, DeleteUserException, ForgetDeviceException, ForgotPasswordException, GetCredentialsForIdentityException, GetIdException, GetUserAttributeVerificationException, GetUserException, GlobalSignOutException, InitiateAuthException, ListDevicesException, ResendConfirmationException, RespondToAuthChallengeException, SETUP_TOTP_EXCEPTION, SetUserMFAPreferenceException, SignUpException, UpdateDeviceStatusException, UpdateUserAttributesException, VerifySoftwareTokenException, VerifyUserAttributeException };\n//# sourceMappingURL=errors.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createRespondToAuthChallengeClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('RespondToAuthChallenge'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createRespondToAuthChallengeClient };\n//# sourceMappingURL=createRespondToAuthChallengeClient.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createVerifySoftwareTokenClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('VerifySoftwareToken'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createVerifySoftwareTokenClient };\n//# sourceMappingURL=createVerifySoftwareTokenClient.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createAssociateSoftwareTokenClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('AssociateSoftwareToken'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createAssociateSoftwareTokenClient };\n//# sourceMappingURL=createAssociateSoftwareTokenClient.mjs.map\n","import { decodeJWT, AmplifyError } from '@aws-amplify/core/internals/utils';\nimport { tokenOrchestrator } from './tokenProvider.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nasync function cacheCognitoTokens(AuthenticationResult) {\n if (AuthenticationResult.AccessToken) {\n const accessToken = decodeJWT(AuthenticationResult.AccessToken);\n const accessTokenIssuedAtInMillis = (accessToken.payload.iat || 0) * 1000;\n const currentTime = new Date().getTime();\n const clockDrift = accessTokenIssuedAtInMillis > 0\n ? accessTokenIssuedAtInMillis - currentTime\n : 0;\n let idToken;\n let refreshToken;\n let deviceMetadata;\n if (AuthenticationResult.RefreshToken) {\n refreshToken = AuthenticationResult.RefreshToken;\n }\n if (AuthenticationResult.IdToken) {\n idToken = decodeJWT(AuthenticationResult.IdToken);\n }\n if (AuthenticationResult?.NewDeviceMetadata) {\n deviceMetadata = AuthenticationResult.NewDeviceMetadata;\n }\n const tokens = {\n accessToken,\n idToken,\n refreshToken,\n clockDrift,\n deviceMetadata,\n username: AuthenticationResult.username,\n };\n if (AuthenticationResult?.signInDetails) {\n tokens.signInDetails = AuthenticationResult.signInDetails;\n }\n await tokenOrchestrator.setTokens({\n tokens,\n });\n }\n else {\n // This would be a service error\n throw new AmplifyError({\n message: 'Invalid tokens',\n name: 'InvalidTokens',\n recoverySuggestion: 'Check Cognito UserPool settings',\n });\n }\n}\n\nexport { cacheCognitoTokens };\n//# sourceMappingURL=cacheTokens.mjs.map\n","import { Hub } from '@aws-amplify/core';\nimport { AMPLIFY_SYMBOL } from '@aws-amplify/core/internals/utils';\nimport { getCurrentUser } from '../apis/getCurrentUser.mjs';\nimport { USER_UNAUTHENTICATED_EXCEPTION, UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION } from '../../../errors/constants.mjs';\nimport { AuthError } from '../../../errors/AuthError.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst ERROR_MESSAGE = 'Unable to get user session following successful sign-in.';\nconst dispatchSignedInHubEvent = async () => {\n try {\n Hub.dispatch('auth', {\n event: 'signedIn',\n data: await getCurrentUser(),\n }, 'Auth', AMPLIFY_SYMBOL);\n }\n catch (error) {\n if (error.name === USER_UNAUTHENTICATED_EXCEPTION) {\n throw new AuthError({\n name: UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION,\n message: ERROR_MESSAGE,\n recoverySuggestion: 'This most likely is due to auth tokens not being persisted. If you are using cookie store, please ensure cookies can be correctly set from your server.',\n });\n }\n throw error;\n }\n};\n\nexport { ERROR_MESSAGE, dispatchSignedInHubEvent };\n//# sourceMappingURL=dispatchSignedInHubEvent.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nfunction defaultState() {\n return {\n active: false,\n };\n}\nconst autoSignInReducer = (state, action) => {\n switch (action.type) {\n case 'SET_USERNAME':\n return {\n ...state,\n username: action.value,\n };\n case 'SET_SESSION':\n return {\n ...state,\n session: action.value,\n };\n case 'START':\n return {\n ...state,\n active: true,\n };\n case 'RESET':\n return defaultState();\n default:\n return state;\n }\n};\nconst createAutoSignInStore = (reducer) => {\n let currentState = reducer(defaultState(), { type: 'RESET' });\n return {\n getState: () => currentState,\n dispatch: action => {\n currentState = reducer(currentState, action);\n },\n };\n};\nconst autoSignInStore = createAutoSignInStore(autoSignInReducer);\n\nexport { autoSignInStore };\n//# sourceMappingURL=autoSignInStore.mjs.map\n","import { syncSessionStorage } from '@aws-amplify/core';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// Minutes until stored session invalidates is defaulted to 3 minutes\n// to maintain parity with Amazon Cognito user pools API behavior\nconst MS_TO_EXPIRY = 3 * 60 * 1000;\nconst TGT_STATE = 'CognitoSignInState';\nconst SIGN_IN_STATE_KEYS = {\n username: `${TGT_STATE}.username`,\n challengeName: `${TGT_STATE}.challengeName`,\n signInSession: `${TGT_STATE}.signInSession`,\n expiry: `${TGT_STATE}.expiry`,\n};\nconst signInReducer = (state, action) => {\n switch (action.type) {\n case 'SET_SIGN_IN_SESSION':\n persistSignInState({ signInSession: action.value });\n return {\n ...state,\n signInSession: action.value,\n };\n case 'SET_SIGN_IN_STATE':\n persistSignInState(action.value);\n return {\n ...action.value,\n };\n case 'SET_CHALLENGE_NAME':\n persistSignInState({ challengeName: action.value });\n return {\n ...state,\n challengeName: action.value,\n };\n case 'SET_USERNAME':\n persistSignInState({ username: action.value });\n return {\n ...state,\n username: action.value,\n };\n case 'SET_INITIAL_STATE':\n return getInitialState();\n case 'RESET_STATE':\n clearPersistedSignInState();\n return getDefaultState();\n // this state is never reachable\n default:\n return state;\n }\n};\nconst isExpired = (expiryDate) => {\n const expiryTimestamp = Number(expiryDate);\n const currentTimestamp = Date.now();\n return expiryTimestamp <= currentTimestamp;\n};\nconst resetActiveSignInState = () => {\n signInStore.dispatch({ type: 'RESET_STATE' });\n};\nconst clearPersistedSignInState = () => {\n for (const stateKey of Object.values(SIGN_IN_STATE_KEYS)) {\n syncSessionStorage.removeItem(stateKey);\n }\n};\nconst getDefaultState = () => ({\n username: undefined,\n challengeName: undefined,\n signInSession: undefined,\n});\n// Hydrate signInStore from syncSessionStorage if the session has not expired\nconst getInitialState = () => {\n const expiry = syncSessionStorage.getItem(SIGN_IN_STATE_KEYS.expiry);\n if (!expiry || isExpired(expiry)) {\n clearPersistedSignInState();\n return getDefaultState();\n }\n const username = syncSessionStorage.getItem(SIGN_IN_STATE_KEYS.username) ?? undefined;\n const challengeName = (syncSessionStorage.getItem(SIGN_IN_STATE_KEYS.challengeName) ?? undefined);\n const signInSession = syncSessionStorage.getItem(SIGN_IN_STATE_KEYS.signInSession) ?? undefined;\n return {\n username,\n challengeName,\n signInSession,\n };\n};\nconst createStore = reducer => {\n let currentState = reducer(getDefaultState(), { type: 'SET_INITIAL_STATE' });\n return {\n getState: () => currentState,\n dispatch: action => {\n currentState = reducer(currentState, action);\n },\n };\n};\nconst signInStore = createStore(signInReducer);\nfunction setActiveSignInState(state) {\n signInStore.dispatch({\n type: 'SET_SIGN_IN_STATE',\n value: state,\n });\n}\n// Save local state into Session Storage\nconst persistSignInState = ({ challengeName, signInSession, username, }) => {\n username && syncSessionStorage.setItem(SIGN_IN_STATE_KEYS.username, username);\n challengeName &&\n syncSessionStorage.setItem(SIGN_IN_STATE_KEYS.challengeName, challengeName);\n if (signInSession) {\n syncSessionStorage.setItem(SIGN_IN_STATE_KEYS.signInSession, signInSession);\n // Updates expiry when session is passed\n syncSessionStorage.setItem(SIGN_IN_STATE_KEYS.expiry, String(Date.now() + MS_TO_EXPIRY));\n }\n};\n\nexport { persistSignInState, resetActiveSignInState, setActiveSignInState, signInStore };\n//# sourceMappingURL=signInStore.mjs.map\n","import { createAssertionFunction, AmplifyError, AmplifyErrorCode } from '@aws-amplify/core/internals/utils';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nclass PasskeyError extends AmplifyError {\n constructor(params) {\n super(params);\n // Hack for making the custom error class work when transpiled to es5\n // TODO: Delete the following 2 lines after we change the build target to >= es2015\n this.constructor = PasskeyError;\n Object.setPrototypeOf(this, PasskeyError.prototype);\n }\n}\nvar PasskeyErrorCode;\n(function (PasskeyErrorCode) {\n // not supported\n PasskeyErrorCode[\"PasskeyNotSupported\"] = \"PasskeyNotSupported\";\n // duplicate passkey\n PasskeyErrorCode[\"PasskeyAlreadyExists\"] = \"PasskeyAlreadyExists\";\n // misconfigurations\n PasskeyErrorCode[\"InvalidPasskeyRegistrationOptions\"] = \"InvalidPasskeyRegistrationOptions\";\n PasskeyErrorCode[\"InvalidPasskeyAuthenticationOptions\"] = \"InvalidPasskeyAuthenticationOptions\";\n PasskeyErrorCode[\"RelyingPartyMismatch\"] = \"RelyingPartyMismatch\";\n // failed credential creation / retrieval\n PasskeyErrorCode[\"PasskeyRegistrationFailed\"] = \"PasskeyRegistrationFailed\";\n PasskeyErrorCode[\"PasskeyRetrievalFailed\"] = \"PasskeyRetrievalFailed\";\n // cancel / aborts\n PasskeyErrorCode[\"PasskeyRegistrationCanceled\"] = \"PasskeyRegistrationCanceled\";\n PasskeyErrorCode[\"PasskeyAuthenticationCanceled\"] = \"PasskeyAuthenticationCanceled\";\n PasskeyErrorCode[\"PasskeyOperationAborted\"] = \"PasskeyOperationAborted\";\n})(PasskeyErrorCode || (PasskeyErrorCode = {}));\nconst notSupportedRecoverySuggestion = 'Passkeys may not be supported on this device. Ensure your application is running in a secure context (HTTPS) and Web Authentication API is supported.';\nconst abortOrCancelRecoverySuggestion = 'User may have canceled the ceremony or another interruption has occurred. Check underlying error for details.';\nconst misconfigurationRecoverySuggestion = 'Ensure your user pool is configured to support the WEB_AUTHN as an authentication factor.';\nconst passkeyErrorMap = {\n [PasskeyErrorCode.PasskeyNotSupported]: {\n message: 'Passkeys may not be supported on this device.',\n recoverySuggestion: notSupportedRecoverySuggestion,\n },\n [PasskeyErrorCode.InvalidPasskeyRegistrationOptions]: {\n message: 'Invalid passkey registration options.',\n recoverySuggestion: misconfigurationRecoverySuggestion,\n },\n [PasskeyErrorCode.InvalidPasskeyAuthenticationOptions]: {\n message: 'Invalid passkey authentication options.',\n recoverySuggestion: misconfigurationRecoverySuggestion,\n },\n [PasskeyErrorCode.PasskeyRegistrationFailed]: {\n message: 'Device failed to create passkey.',\n recoverySuggestion: notSupportedRecoverySuggestion,\n },\n [PasskeyErrorCode.PasskeyRetrievalFailed]: {\n message: 'Device failed to retrieve passkey.',\n recoverySuggestion: 'Passkeys may not be available on this device. Try an alternative authentication factor like PASSWORD, EMAIL_OTP, or SMS_OTP.',\n },\n [PasskeyErrorCode.PasskeyAlreadyExists]: {\n message: 'Passkey already exists in authenticator.',\n recoverySuggestion: 'Proceed with existing passkey or try again after deleting the credential.',\n },\n [PasskeyErrorCode.PasskeyRegistrationCanceled]: {\n message: 'Passkey registration ceremony has been canceled.',\n recoverySuggestion: abortOrCancelRecoverySuggestion,\n },\n [PasskeyErrorCode.PasskeyAuthenticationCanceled]: {\n message: 'Passkey authentication ceremony has been canceled.',\n recoverySuggestion: abortOrCancelRecoverySuggestion,\n },\n [PasskeyErrorCode.PasskeyOperationAborted]: {\n message: 'Passkey operation has been aborted.',\n recoverySuggestion: abortOrCancelRecoverySuggestion,\n },\n [PasskeyErrorCode.RelyingPartyMismatch]: {\n message: 'Relying party does not match current domain.',\n recoverySuggestion: 'Ensure relying party identifier matches current domain.',\n },\n};\nconst assertPasskeyError = createAssertionFunction(passkeyErrorMap, PasskeyError);\n/**\n * Handle Passkey Authentication Errors\n * https://w3c.github.io/webauthn/#sctn-get-request-exceptions\n *\n * @param err unknown\n * @returns PasskeyError\n */\nconst handlePasskeyAuthenticationError = (err) => {\n if (err instanceof PasskeyError) {\n return err;\n }\n if (err instanceof Error) {\n if (err.name === 'NotAllowedError') {\n const { message, recoverySuggestion } = passkeyErrorMap[PasskeyErrorCode.PasskeyAuthenticationCanceled];\n return new PasskeyError({\n name: PasskeyErrorCode.PasskeyAuthenticationCanceled,\n message,\n recoverySuggestion,\n underlyingError: err,\n });\n }\n }\n return handlePasskeyError(err);\n};\n/**\n * Handle Passkey Registration Errors\n * https://w3c.github.io/webauthn/#sctn-create-request-exceptions\n *\n * @param err unknown\n * @returns PasskeyError\n */\nconst handlePasskeyRegistrationError = (err) => {\n if (err instanceof PasskeyError) {\n return err;\n }\n if (err instanceof Error) {\n // Duplicate Passkey\n if (err.name === 'InvalidStateError') {\n const { message, recoverySuggestion } = passkeyErrorMap[PasskeyErrorCode.PasskeyAlreadyExists];\n return new PasskeyError({\n name: PasskeyErrorCode.PasskeyAlreadyExists,\n message,\n recoverySuggestion,\n underlyingError: err,\n });\n }\n // User Cancels Ceremony / Generic Catch All\n if (err.name === 'NotAllowedError') {\n const { message, recoverySuggestion } = passkeyErrorMap[PasskeyErrorCode.PasskeyRegistrationCanceled];\n return new PasskeyError({\n name: PasskeyErrorCode.PasskeyRegistrationCanceled,\n message,\n recoverySuggestion,\n underlyingError: err,\n });\n }\n }\n return handlePasskeyError(err);\n};\n/**\n * Handles Overlapping Passkey Errors Between Registration & Authentication\n * https://w3c.github.io/webauthn/#sctn-create-request-exceptions\n * https://w3c.github.io/webauthn/#sctn-get-request-exceptions\n *\n * @param err unknown\n * @returns PasskeyError\n */\nconst handlePasskeyError = (err) => {\n if (err instanceof Error) {\n // Passkey Operation Aborted\n if (err.name === 'AbortError') {\n const { message, recoverySuggestion } = passkeyErrorMap[PasskeyErrorCode.PasskeyOperationAborted];\n return new PasskeyError({\n name: PasskeyErrorCode.PasskeyOperationAborted,\n message,\n recoverySuggestion,\n underlyingError: err,\n });\n }\n // Relying Party / Domain Mismatch\n if (err.name === 'SecurityError') {\n const { message, recoverySuggestion } = passkeyErrorMap[PasskeyErrorCode.RelyingPartyMismatch];\n return new PasskeyError({\n name: PasskeyErrorCode.RelyingPartyMismatch,\n message,\n recoverySuggestion,\n underlyingError: err,\n });\n }\n }\n return new PasskeyError({\n name: AmplifyErrorCode.Unknown,\n message: 'An unknown error has occurred.',\n underlyingError: err,\n });\n};\n\nexport { PasskeyError, PasskeyErrorCode, assertPasskeyError, handlePasskeyAuthenticationError, handlePasskeyRegistrationError };\n//# sourceMappingURL=errors.mjs.map\n","import { isBrowser } from '@aws-amplify/core/internals/utils';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Determines if passkey is supported in current context\n * Will return false if executed in non-secure context\n * @returns boolean\n */\nconst getIsPasskeySupported = () => {\n return (isBrowser() &&\n window.isSecureContext &&\n 'credentials' in navigator &&\n typeof window.PublicKeyCredential === 'function');\n};\n\nexport { getIsPasskeySupported };\n//# sourceMappingURL=getIsPasskeySupported.mjs.map\n","import { base64Encoder } from '@aws-amplify/core/internals/utils';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// https://datatracker.ietf.org/doc/html/rfc4648#page-7\n/**\n * Converts an ArrayBuffer to a base64url encoded string\n * @param buffer - the ArrayBuffer instance of a Uint8Array\n * @returns string - a base64url encoded string\n */\nconst convertArrayBufferToBase64Url = (buffer) => {\n return base64Encoder.convert(new Uint8Array(buffer), {\n urlSafe: true,\n skipPadding: true,\n });\n};\n\nexport { convertArrayBufferToBase64Url };\n//# sourceMappingURL=convertArrayBufferToBase64Url.mjs.map\n","import { base64Decoder } from '@aws-amplify/core/internals/utils';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Converts a base64url encoded string to an ArrayBuffer\n * @param base64url - a base64url encoded string\n * @returns ArrayBuffer\n */\nconst convertBase64UrlToArrayBuffer = (base64url) => {\n return Uint8Array.from(base64Decoder.convert(base64url, { urlSafe: true }), x => x.charCodeAt(0)).buffer;\n};\n\nexport { convertBase64UrlToArrayBuffer };\n//# sourceMappingURL=convertBase64UrlToArrayBuffer.mjs.map\n","import { convertArrayBufferToBase64Url } from '../../../foundation/convert/base64url/convertArrayBufferToBase64Url.mjs';\nimport { convertBase64UrlToArrayBuffer } from '../../../foundation/convert/base64url/convertBase64UrlToArrayBuffer.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Deserializes Public Key Credential Creation Options JSON\n * @param input PasskeyCreateOptionsJson\n * @returns PublicKeyCredentialCreationOptions\n */\nconst deserializeJsonToPkcCreationOptions = (input) => {\n const userIdBuffer = convertBase64UrlToArrayBuffer(input.user.id);\n const challengeBuffer = convertBase64UrlToArrayBuffer(input.challenge);\n const excludeCredentialsWithBuffer = (input.excludeCredentials || []).map(excludeCred => ({\n ...excludeCred,\n id: convertBase64UrlToArrayBuffer(excludeCred.id),\n }));\n return {\n ...input,\n excludeCredentials: excludeCredentialsWithBuffer,\n challenge: challengeBuffer,\n user: {\n ...input.user,\n id: userIdBuffer,\n },\n };\n};\n/**\n * Serializes a Public Key Credential With Attestation to JSON\n * @param input PasskeyCreateResult\n * @returns PasskeyCreateResultJson\n */\nconst serializePkcWithAttestationToJson = (input) => {\n const response = {\n clientDataJSON: convertArrayBufferToBase64Url(input.response.clientDataJSON),\n attestationObject: convertArrayBufferToBase64Url(input.response.attestationObject),\n transports: input.response.getTransports(),\n publicKeyAlgorithm: input.response.getPublicKeyAlgorithm(),\n authenticatorData: convertArrayBufferToBase64Url(input.response.getAuthenticatorData()),\n };\n const publicKey = input.response.getPublicKey();\n if (publicKey) {\n response.publicKey = convertArrayBufferToBase64Url(publicKey);\n }\n const resultJson = {\n type: input.type,\n id: input.id,\n rawId: convertArrayBufferToBase64Url(input.rawId),\n clientExtensionResults: input.getClientExtensionResults(),\n response,\n };\n if (input.authenticatorAttachment) {\n resultJson.authenticatorAttachment = input.authenticatorAttachment;\n }\n return resultJson;\n};\n/**\n * Deserializes Public Key Credential Get Options JSON\n * @param input PasskeyGetOptionsJson\n * @returns PublicKeyCredentialRequestOptions\n */\nconst deserializeJsonToPkcGetOptions = (input) => {\n const challengeBuffer = convertBase64UrlToArrayBuffer(input.challenge);\n const allowedCredentialsWithBuffer = (input.allowCredentials || []).map(allowedCred => ({\n ...allowedCred,\n id: convertBase64UrlToArrayBuffer(allowedCred.id),\n }));\n return {\n ...input,\n challenge: challengeBuffer,\n allowCredentials: allowedCredentialsWithBuffer,\n };\n};\n/**\n * Serializes a Public Key Credential With Attestation to JSON\n * @param input PasskeyGetResult\n * @returns PasskeyGetResultJson\n */\nconst serializePkcWithAssertionToJson = (input) => {\n const response = {\n clientDataJSON: convertArrayBufferToBase64Url(input.response.clientDataJSON),\n authenticatorData: convertArrayBufferToBase64Url(input.response.authenticatorData),\n signature: convertArrayBufferToBase64Url(input.response.signature),\n };\n if (input.response.userHandle) {\n response.userHandle = convertArrayBufferToBase64Url(input.response.userHandle);\n }\n const resultJson = {\n id: input.id,\n rawId: convertArrayBufferToBase64Url(input.rawId),\n type: input.type,\n clientExtensionResults: input.getClientExtensionResults(),\n response,\n };\n if (input.authenticatorAttachment) {\n resultJson.authenticatorAttachment = input.authenticatorAttachment;\n }\n return resultJson;\n};\n\nexport { deserializeJsonToPkcCreationOptions, deserializeJsonToPkcGetOptions, serializePkcWithAssertionToJson, serializePkcWithAttestationToJson };\n//# sourceMappingURL=serde.mjs.map\n","import { assertPasskeyError, PasskeyErrorCode } from '../errors.mjs';\nexport { assertValidCredentialCreationOptions } from './shared.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nfunction assertCredentialIsPkcWithAuthenticatorAttestationResponse(credential) {\n assertPasskeyError(credential &&\n credential instanceof PublicKeyCredential &&\n credential.response instanceof AuthenticatorAttestationResponse, PasskeyErrorCode.PasskeyRegistrationFailed);\n}\nfunction assertCredentialIsPkcWithAuthenticatorAssertionResponse(credential) {\n assertPasskeyError(credential &&\n credential instanceof PublicKeyCredential &&\n credential.response instanceof AuthenticatorAssertionResponse, PasskeyErrorCode.PasskeyRetrievalFailed);\n}\n\nexport { assertCredentialIsPkcWithAuthenticatorAssertionResponse, assertCredentialIsPkcWithAuthenticatorAttestationResponse };\n//# sourceMappingURL=index.mjs.map\n","import { assertPasskeyError, PasskeyErrorCode, handlePasskeyAuthenticationError } from './errors.mjs';\nimport { getIsPasskeySupported } from './getIsPasskeySupported.mjs';\nimport { deserializeJsonToPkcGetOptions, serializePkcWithAssertionToJson } from './serde.mjs';\nimport { assertCredentialIsPkcWithAuthenticatorAssertionResponse } from './types/index.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst getPasskey = async (input) => {\n try {\n const isPasskeySupported = getIsPasskeySupported();\n assertPasskeyError(isPasskeySupported, PasskeyErrorCode.PasskeyNotSupported);\n const passkeyGetOptions = deserializeJsonToPkcGetOptions(input);\n const credential = await navigator.credentials.get({\n publicKey: passkeyGetOptions,\n });\n assertCredentialIsPkcWithAuthenticatorAssertionResponse(credential);\n return serializePkcWithAssertionToJson(credential);\n }\n catch (err) {\n throw handlePasskeyAuthenticationError(err);\n }\n};\n\nexport { getPasskey };\n//# sourceMappingURL=getPasskey.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createConfirmDeviceClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('ConfirmDevice'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createConfirmDeviceClient };\n//# sourceMappingURL=createConfirmDeviceClient.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst textEncoder = {\n convert(input) {\n return new TextEncoder().encode(input);\n },\n};\n\nexport { textEncoder };\n//# sourceMappingURL=index.mjs.map\n","/* eslint-disable */\n// @ts-nocheck -> BigInteger is already a vended utility\n// A small implementation of BigInteger based on http://www-cs-students.stanford.edu/~tjw/jsbn/\n//\n// All public methods have been removed except the following:\n// new BigInteger(a, b) (only radix 2, 4, 8, 16 and 32 supported)\n// toString (only radix 2, 4, 8, 16 and 32 supported)\n// negate\n// abs\n// compareTo\n// bitLength\n// mod\n// equals\n// add\n// subtract\n// multiply\n// divide\n// modPow\n/*\n * Copyright (c) 2003-2005 Tom Wu\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS-IS\" AND WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY\n * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.\n *\n * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,\n * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER\n * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF\n * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT\n * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\n * In addition, the following condition applies:\n *\n * All redistributions must retain an intact copy of this copyright notice\n * and disclaimer.\n */\n// (public) Constructor\nfunction BigInteger(a, b) {\n if (a != null)\n this.fromString(a, b);\n}\n// return new, unset BigInteger\nfunction nbi() {\n return new BigInteger(null, null);\n}\n// Bits per digit\nlet dbits;\n// JavaScript engine analysis\nconst canary = 0xdeadbeefcafe;\nconst j_lm = (canary & 0xffffff) === 0xefcafe;\n// am: Compute w_j += (x*this_i), propagate carries,\n// c is initial carry, returns final carry.\n// c < 3*dvalue, x < 2*dvalue, this_i < dvalue\n// We need to select the fastest one that works in this environment.\n// am1: use a single mult and divide to get the high bits,\n// max digit bits should be 26 because\n// max internal value = 2*dvalue^2-2*dvalue (< 2^53)\nfunction am1(i, x, w, j, c, n) {\n while (--n >= 0) {\n const v = x * this[i++] + w[j] + c;\n c = Math.floor(v / 0x4000000);\n w[j++] = v & 0x3ffffff;\n }\n return c;\n}\n// am2 avoids a big mult-and-extract completely.\n// Max digit bits should be <= 30 because we do bitwise ops\n// on values up to 2*hdvalue^2-hdvalue-1 (< 2^31)\nfunction am2(i, x, w, j, c, n) {\n const xl = x & 0x7fff;\n const xh = x >> 15;\n while (--n >= 0) {\n let l = this[i] & 0x7fff;\n const h = this[i++] >> 15;\n const m = xh * l + h * xl;\n l = xl * l + ((m & 0x7fff) << 15) + w[j] + (c & 0x3fffffff);\n c = (l >>> 30) + (m >>> 15) + xh * h + (c >>> 30);\n w[j++] = l & 0x3fffffff;\n }\n return c;\n}\n// Alternately, set max digit bits to 28 since some\n// browsers slow down when dealing with 32-bit numbers.\nfunction am3(i, x, w, j, c, n) {\n const xl = x & 0x3fff;\n const xh = x >> 14;\n while (--n >= 0) {\n let l = this[i] & 0x3fff;\n const h = this[i++] >> 14;\n const m = xh * l + h * xl;\n l = xl * l + ((m & 0x3fff) << 14) + w[j] + c;\n c = (l >> 28) + (m >> 14) + xh * h;\n w[j++] = l & 0xfffffff;\n }\n return c;\n}\nconst inBrowser = typeof navigator !== 'undefined';\nif (inBrowser && j_lm && navigator.appName === 'Microsoft Internet Explorer') {\n BigInteger.prototype.am = am2;\n dbits = 30;\n}\nelse if (inBrowser && j_lm && navigator.appName !== 'Netscape') {\n BigInteger.prototype.am = am1;\n dbits = 26;\n}\nelse {\n // Mozilla/Netscape seems to prefer am3\n BigInteger.prototype.am = am3;\n dbits = 28;\n}\nBigInteger.prototype.DB = dbits;\nBigInteger.prototype.DM = (1 << dbits) - 1;\nBigInteger.prototype.DV = 1 << dbits;\nconst BI_FP = 52;\nBigInteger.prototype.FV = Math.pow(2, BI_FP);\nBigInteger.prototype.F1 = BI_FP - dbits;\nBigInteger.prototype.F2 = 2 * dbits - BI_FP;\n// Digit conversions\nconst BI_RM = '0123456789abcdefghijklmnopqrstuvwxyz';\nconst BI_RC = [];\nlet rr, vv;\nrr = '0'.charCodeAt(0);\nfor (vv = 0; vv <= 9; ++vv)\n BI_RC[rr++] = vv;\nrr = 'a'.charCodeAt(0);\nfor (vv = 10; vv < 36; ++vv)\n BI_RC[rr++] = vv;\nrr = 'A'.charCodeAt(0);\nfor (vv = 10; vv < 36; ++vv)\n BI_RC[rr++] = vv;\nfunction int2char(n) {\n return BI_RM.charAt(n);\n}\nfunction intAt(s, i) {\n const c = BI_RC[s.charCodeAt(i)];\n return c == null ? -1 : c;\n}\n// (protected) copy this to r\nfunction bnpCopyTo(r) {\n for (let i = this.t - 1; i >= 0; --i)\n r[i] = this[i];\n r.t = this.t;\n r.s = this.s;\n}\n// (protected) set from integer value x, -DV <= x < DV\nfunction bnpFromInt(x) {\n this.t = 1;\n this.s = x < 0 ? -1 : 0;\n if (x > 0)\n this[0] = x;\n else if (x < -1)\n this[0] = x + this.DV;\n else\n this.t = 0;\n}\n// return bigint initialized to value\nfunction nbv(i) {\n const r = nbi();\n r.fromInt(i);\n return r;\n}\n// (protected) set from string and radix\nfunction bnpFromString(s, b) {\n let k;\n if (b === 16)\n k = 4;\n else if (b === 8)\n k = 3;\n else if (b === 2)\n k = 1;\n else if (b === 32)\n k = 5;\n else if (b === 4)\n k = 2;\n else\n throw new Error('Only radix 2, 4, 8, 16, 32 are supported');\n this.t = 0;\n this.s = 0;\n let i = s.length;\n let mi = false;\n let sh = 0;\n while (--i >= 0) {\n const x = intAt(s, i);\n if (x < 0) {\n if (s.charAt(i) === '-')\n mi = true;\n continue;\n }\n mi = false;\n if (sh === 0)\n this[this.t++] = x;\n else if (sh + k > this.DB) {\n this[this.t - 1] |= (x & ((1 << (this.DB - sh)) - 1)) << sh;\n this[this.t++] = x >> (this.DB - sh);\n }\n else\n this[this.t - 1] |= x << sh;\n sh += k;\n if (sh >= this.DB)\n sh -= this.DB;\n }\n this.clamp();\n if (mi)\n BigInteger.ZERO.subTo(this, this);\n}\n// (protected) clamp off excess high words\nfunction bnpClamp() {\n const c = this.s & this.DM;\n while (this.t > 0 && this[this.t - 1] == c)\n --this.t;\n}\n// (public) return string representation in given radix\nfunction bnToString(b) {\n if (this.s < 0)\n return '-' + this.negate().toString(b);\n let k;\n if (b == 16)\n k = 4;\n else if (b === 8)\n k = 3;\n else if (b === 2)\n k = 1;\n else if (b === 32)\n k = 5;\n else if (b === 4)\n k = 2;\n else\n throw new Error('Only radix 2, 4, 8, 16, 32 are supported');\n const km = (1 << k) - 1;\n let d;\n let m = false;\n let r = '';\n let i = this.t;\n let p = this.DB - ((i * this.DB) % k);\n if (i-- > 0) {\n if (p < this.DB && (d = this[i] >> p) > 0) {\n m = true;\n r = int2char(d);\n }\n while (i >= 0) {\n if (p < k) {\n d = (this[i] & ((1 << p) - 1)) << (k - p);\n d |= this[--i] >> (p += this.DB - k);\n }\n else {\n d = (this[i] >> (p -= k)) & km;\n if (p <= 0) {\n p += this.DB;\n --i;\n }\n }\n if (d > 0)\n m = true;\n if (m)\n r += int2char(d);\n }\n }\n return m ? r : '0';\n}\n// (public) -this\nfunction bnNegate() {\n const r = nbi();\n BigInteger.ZERO.subTo(this, r);\n return r;\n}\n// (public) |this|\nfunction bnAbs() {\n return this.s < 0 ? this.negate() : this;\n}\n// (public) return + if this > a, - if this < a, 0 if equal\nfunction bnCompareTo(a) {\n let r = this.s - a.s;\n if (r != 0)\n return r;\n let i = this.t;\n r = i - a.t;\n if (r != 0)\n return this.s < 0 ? -r : r;\n while (--i >= 0)\n if ((r = this[i] - a[i]) != 0)\n return r;\n return 0;\n}\n// returns bit length of the integer x\nfunction nbits(x) {\n let r = 1;\n let t;\n if ((t = x >>> 16) !== 0) {\n x = t;\n r += 16;\n }\n if ((t = x >> 8) !== 0) {\n x = t;\n r += 8;\n }\n if ((t = x >> 4) !== 0) {\n x = t;\n r += 4;\n }\n if ((t = x >> 2) !== 0) {\n x = t;\n r += 2;\n }\n if ((t = x >> 1) !== 0) {\n x = t;\n r += 1;\n }\n return r;\n}\n// (public) return the number of bits in \"this\"\nfunction bnBitLength() {\n if (this.t <= 0)\n return 0;\n return this.DB * (this.t - 1) + nbits(this[this.t - 1] ^ (this.s & this.DM));\n}\n// (protected) r = this << n*DB\nfunction bnpDLShiftTo(n, r) {\n let i;\n for (i = this.t - 1; i >= 0; --i)\n r[i + n] = this[i];\n for (i = n - 1; i >= 0; --i)\n r[i] = 0;\n r.t = this.t + n;\n r.s = this.s;\n}\n// (protected) r = this >> n*DB\nfunction bnpDRShiftTo(n, r) {\n for (let i = n; i < this.t; ++i)\n r[i - n] = this[i];\n r.t = Math.max(this.t - n, 0);\n r.s = this.s;\n}\n// (protected) r = this << n\nfunction bnpLShiftTo(n, r) {\n const bs = n % this.DB;\n const cbs = this.DB - bs;\n const bm = (1 << cbs) - 1;\n const ds = Math.floor(n / this.DB);\n let c = (this.s << bs) & this.DM;\n let i;\n for (i = this.t - 1; i >= 0; --i) {\n r[i + ds + 1] = (this[i] >> cbs) | c;\n c = (this[i] & bm) << bs;\n }\n for (i = ds - 1; i >= 0; --i)\n r[i] = 0;\n r[ds] = c;\n r.t = this.t + ds + 1;\n r.s = this.s;\n r.clamp();\n}\n// (protected) r = this >> n\nfunction bnpRShiftTo(n, r) {\n r.s = this.s;\n const ds = Math.floor(n / this.DB);\n if (ds >= this.t) {\n r.t = 0;\n return;\n }\n const bs = n % this.DB;\n const cbs = this.DB - bs;\n const bm = (1 << bs) - 1;\n r[0] = this[ds] >> bs;\n for (let i = ds + 1; i < this.t; ++i) {\n r[i - ds - 1] |= (this[i] & bm) << cbs;\n r[i - ds] = this[i] >> bs;\n }\n if (bs > 0)\n r[this.t - ds - 1] |= (this.s & bm) << cbs;\n r.t = this.t - ds;\n r.clamp();\n}\n// (protected) r = this - a\nfunction bnpSubTo(a, r) {\n let i = 0;\n let c = 0;\n const m = Math.min(a.t, this.t);\n while (i < m) {\n c += this[i] - a[i];\n r[i++] = c & this.DM;\n c >>= this.DB;\n }\n if (a.t < this.t) {\n c -= a.s;\n while (i < this.t) {\n c += this[i];\n r[i++] = c & this.DM;\n c >>= this.DB;\n }\n c += this.s;\n }\n else {\n c += this.s;\n while (i < a.t) {\n c -= a[i];\n r[i++] = c & this.DM;\n c >>= this.DB;\n }\n c -= a.s;\n }\n r.s = c < 0 ? -1 : 0;\n if (c < -1)\n r[i++] = this.DV + c;\n else if (c > 0)\n r[i++] = c;\n r.t = i;\n r.clamp();\n}\n// (protected) r = this * a, r != this,a (HAC 14.12)\n// \"this\" should be the larger one if appropriate.\nfunction bnpMultiplyTo(a, r) {\n const x = this.abs();\n const y = a.abs();\n let i = x.t;\n r.t = i + y.t;\n while (--i >= 0)\n r[i] = 0;\n for (i = 0; i < y.t; ++i)\n r[i + x.t] = x.am(0, y[i], r, i, 0, x.t);\n r.s = 0;\n r.clamp();\n if (this.s !== a.s)\n BigInteger.ZERO.subTo(r, r);\n}\n// (protected) r = this^2, r != this (HAC 14.16)\nfunction bnpSquareTo(r) {\n const x = this.abs();\n let i = (r.t = 2 * x.t);\n while (--i >= 0)\n r[i] = 0;\n for (i = 0; i < x.t - 1; ++i) {\n const c = x.am(i, x[i], r, 2 * i, 0, 1);\n if ((r[i + x.t] += x.am(i + 1, 2 * x[i], r, 2 * i + 1, c, x.t - i - 1)) >=\n x.DV) {\n r[i + x.t] -= x.DV;\n r[i + x.t + 1] = 1;\n }\n }\n if (r.t > 0)\n r[r.t - 1] += x.am(i, x[i], r, 2 * i, 0, 1);\n r.s = 0;\n r.clamp();\n}\n// (protected) divide this by m, quotient and remainder to q, r (HAC 14.20)\n// r != q, this != m. q or r may be null.\nfunction bnpDivRemTo(m, q, r) {\n const pm = m.abs();\n if (pm.t <= 0)\n return;\n const pt = this.abs();\n if (pt.t < pm.t) {\n if (q != null)\n q.fromInt(0);\n if (r != null)\n this.copyTo(r);\n return;\n }\n if (r === null)\n r = nbi();\n const y = nbi();\n const ts = this.s;\n const ms = m.s;\n const nsh = this.DB - nbits(pm[pm.t - 1]);\n // normalize modulus\n if (nsh > 0) {\n pm.lShiftTo(nsh, y);\n pt.lShiftTo(nsh, r);\n }\n else {\n pm.copyTo(y);\n pt.copyTo(r);\n }\n const ys = y.t;\n const y0 = y[ys - 1];\n if (y0 === 0)\n return;\n const yt = y0 * (1 << this.F1) + (ys > 1 ? y[ys - 2] >> this.F2 : 0);\n const d1 = this.FV / yt;\n const d2 = (1 << this.F1) / yt;\n const e = 1 << this.F2;\n let i = r.t;\n let j = i - ys;\n const t = q === null ? nbi() : q;\n y.dlShiftTo(j, t);\n if (r.compareTo(t) >= 0) {\n r[r.t++] = 1;\n r.subTo(t, r);\n }\n BigInteger.ONE.dlShiftTo(ys, t);\n t.subTo(y, y);\n // \"negative\" y so we can replace sub with am later\n while (y.t < ys)\n y[y.t++] = 0;\n while (--j >= 0) {\n // Estimate quotient digit\n let qd = r[--i] === y0 ? this.DM : Math.floor(r[i] * d1 + (r[i - 1] + e) * d2);\n if ((r[i] += y.am(0, qd, r, j, 0, ys)) < qd) {\n // Try it out\n y.dlShiftTo(j, t);\n r.subTo(t, r);\n while (r[i] < --qd)\n r.subTo(t, r);\n }\n }\n if (q !== null) {\n r.drShiftTo(ys, q);\n if (ts !== ms)\n BigInteger.ZERO.subTo(q, q);\n }\n r.t = ys;\n r.clamp();\n if (nsh > 0)\n r.rShiftTo(nsh, r);\n // Denormalize remainder\n if (ts < 0)\n BigInteger.ZERO.subTo(r, r);\n}\n// (public) this mod a\nfunction bnMod(a) {\n const r = nbi();\n this.abs().divRemTo(a, null, r);\n if (this.s < 0 && r.compareTo(BigInteger.ZERO) > 0)\n a.subTo(r, r);\n return r;\n}\n// (protected) return \"-1/this % 2^DB\"; useful for Mont. reduction\n// justification:\n// xy == 1 (mod m)\n// xy = 1+km\n// xy(2-xy) = (1+km)(1-km)\n// x[y(2-xy)] = 1-k^2m^2\n// x[y(2-xy)] == 1 (mod m^2)\n// if y is 1/x mod m, then y(2-xy) is 1/x mod m^2\n// should reduce x and y(2-xy) by m^2 at each step to keep size bounded.\n// JS multiply \"overflows\" differently from C/C++, so care is needed here.\nfunction bnpInvDigit() {\n if (this.t < 1)\n return 0;\n const x = this[0];\n if ((x & 1) === 0)\n return 0;\n let y = x & 3;\n // y == 1/x mod 2^2\n y = (y * (2 - (x & 0xf) * y)) & 0xf;\n // y == 1/x mod 2^4\n y = (y * (2 - (x & 0xff) * y)) & 0xff;\n // y == 1/x mod 2^8\n y = (y * (2 - (((x & 0xffff) * y) & 0xffff))) & 0xffff;\n // y == 1/x mod 2^16\n // last step - calculate inverse mod DV directly;\n // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints\n y = (y * (2 - ((x * y) % this.DV))) % this.DV;\n // y == 1/x mod 2^dbits\n // we really want the negative inverse, and -DV < y < DV\n return y > 0 ? this.DV - y : -y;\n}\nfunction bnEquals(a) {\n return this.compareTo(a) === 0;\n}\n// (protected) r = this + a\nfunction bnpAddTo(a, r) {\n let i = 0;\n let c = 0;\n const m = Math.min(a.t, this.t);\n while (i < m) {\n c += this[i] + a[i];\n r[i++] = c & this.DM;\n c >>= this.DB;\n }\n if (a.t < this.t) {\n c += a.s;\n while (i < this.t) {\n c += this[i];\n r[i++] = c & this.DM;\n c >>= this.DB;\n }\n c += this.s;\n }\n else {\n c += this.s;\n while (i < a.t) {\n c += a[i];\n r[i++] = c & this.DM;\n c >>= this.DB;\n }\n c += a.s;\n }\n r.s = c < 0 ? -1 : 0;\n if (c > 0)\n r[i++] = c;\n else if (c < -1)\n r[i++] = this.DV + c;\n r.t = i;\n r.clamp();\n}\n// (public) this + a\nfunction bnAdd(a) {\n const r = nbi();\n this.addTo(a, r);\n return r;\n}\n// (public) this - a\nfunction bnSubtract(a) {\n const r = nbi();\n this.subTo(a, r);\n return r;\n}\n// (public) this * a\nfunction bnMultiply(a) {\n const r = nbi();\n this.multiplyTo(a, r);\n return r;\n}\n// (public) this / a\nfunction bnDivide(a) {\n const r = nbi();\n this.divRemTo(a, r, null);\n return r;\n}\n// Montgomery reduction\nfunction Montgomery(m) {\n this.m = m;\n this.mp = m.invDigit();\n this.mpl = this.mp & 0x7fff;\n this.mph = this.mp >> 15;\n this.um = (1 << (m.DB - 15)) - 1;\n this.mt2 = 2 * m.t;\n}\n// xR mod m\nfunction montConvert(x) {\n const r = nbi();\n x.abs().dlShiftTo(this.m.t, r);\n r.divRemTo(this.m, null, r);\n if (x.s < 0 && r.compareTo(BigInteger.ZERO) > 0)\n this.m.subTo(r, r);\n return r;\n}\n// x/R mod m\nfunction montRevert(x) {\n const r = nbi();\n x.copyTo(r);\n this.reduce(r);\n return r;\n}\n// x = x/R mod m (HAC 14.32)\nfunction montReduce(x) {\n while (x.t <= this.mt2)\n // pad x so am has enough room later\n x[x.t++] = 0;\n for (let i = 0; i < this.m.t; ++i) {\n // faster way of calculating u0 = x[i]*mp mod DV\n let j = x[i] & 0x7fff;\n const u0 = (j * this.mpl +\n (((j * this.mph + (x[i] >> 15) * this.mpl) & this.um) << 15)) &\n x.DM;\n // use am to combine the multiply-shift-add into one call\n j = i + this.m.t;\n x[j] += this.m.am(0, u0, x, i, 0, this.m.t);\n // propagate carry\n while (x[j] >= x.DV) {\n x[j] -= x.DV;\n x[++j]++;\n }\n }\n x.clamp();\n x.drShiftTo(this.m.t, x);\n if (x.compareTo(this.m) >= 0)\n x.subTo(this.m, x);\n}\n// r = \"x^2/R mod m\"; x != r\nfunction montSqrTo(x, r) {\n x.squareTo(r);\n this.reduce(r);\n}\n// r = \"xy/R mod m\"; x,y != r\nfunction montMulTo(x, y, r) {\n x.multiplyTo(y, r);\n this.reduce(r);\n}\nMontgomery.prototype.convert = montConvert;\nMontgomery.prototype.revert = montRevert;\nMontgomery.prototype.reduce = montReduce;\nMontgomery.prototype.mulTo = montMulTo;\nMontgomery.prototype.sqrTo = montSqrTo;\n// (public) this^e % m (HAC 14.85)\nfunction bnModPow(e, m, callback) {\n let i = e.bitLength();\n let k;\n let r = nbv(1);\n const z = new Montgomery(m);\n if (i <= 0)\n return r;\n else if (i < 18)\n k = 1;\n else if (i < 48)\n k = 3;\n else if (i < 144)\n k = 4;\n else if (i < 768)\n k = 5;\n else\n k = 6;\n // precomputation\n const g = [];\n let n = 3;\n const k1 = k - 1;\n const km = (1 << k) - 1;\n g[1] = z.convert(this);\n if (k > 1) {\n const g2 = nbi();\n z.sqrTo(g[1], g2);\n while (n <= km) {\n g[n] = nbi();\n z.mulTo(g2, g[n - 2], g[n]);\n n += 2;\n }\n }\n let j = e.t - 1;\n let w;\n let is1 = true;\n let r2 = nbi();\n let t;\n i = nbits(e[j]) - 1;\n while (j >= 0) {\n if (i >= k1)\n w = (e[j] >> (i - k1)) & km;\n else {\n w = (e[j] & ((1 << (i + 1)) - 1)) << (k1 - i);\n if (j > 0)\n w |= e[j - 1] >> (this.DB + i - k1);\n }\n n = k;\n while ((w & 1) === 0) {\n w >>= 1;\n --n;\n }\n if ((i -= n) < 0) {\n i += this.DB;\n --j;\n }\n if (is1) {\n // ret == 1, don't bother squaring or multiplying it\n g[w].copyTo(r);\n is1 = false;\n }\n else {\n while (n > 1) {\n z.sqrTo(r, r2);\n z.sqrTo(r2, r);\n n -= 2;\n }\n if (n > 0)\n z.sqrTo(r, r2);\n else {\n t = r;\n r = r2;\n r2 = t;\n }\n z.mulTo(r2, g[w], r);\n }\n while (j >= 0 && (e[j] & (1 << i)) === 0) {\n z.sqrTo(r, r2);\n t = r;\n r = r2;\n r2 = t;\n if (--i < 0) {\n i = this.DB - 1;\n --j;\n }\n }\n }\n const result = z.revert(r);\n callback(null, result);\n return result;\n}\n// protected\nBigInteger.prototype.copyTo = bnpCopyTo;\nBigInteger.prototype.fromInt = bnpFromInt;\nBigInteger.prototype.fromString = bnpFromString;\nBigInteger.prototype.clamp = bnpClamp;\nBigInteger.prototype.dlShiftTo = bnpDLShiftTo;\nBigInteger.prototype.drShiftTo = bnpDRShiftTo;\nBigInteger.prototype.lShiftTo = bnpLShiftTo;\nBigInteger.prototype.rShiftTo = bnpRShiftTo;\nBigInteger.prototype.subTo = bnpSubTo;\nBigInteger.prototype.multiplyTo = bnpMultiplyTo;\nBigInteger.prototype.squareTo = bnpSquareTo;\nBigInteger.prototype.divRemTo = bnpDivRemTo;\nBigInteger.prototype.invDigit = bnpInvDigit;\nBigInteger.prototype.addTo = bnpAddTo;\n// public\nBigInteger.prototype.toString = bnToString;\nBigInteger.prototype.negate = bnNegate;\nBigInteger.prototype.abs = bnAbs;\nBigInteger.prototype.compareTo = bnCompareTo;\nBigInteger.prototype.bitLength = bnBitLength;\nBigInteger.prototype.mod = bnMod;\nBigInteger.prototype.equals = bnEquals;\nBigInteger.prototype.add = bnAdd;\nBigInteger.prototype.subtract = bnSubtract;\nBigInteger.prototype.multiply = bnMultiply;\nBigInteger.prototype.divide = bnDivide;\nBigInteger.prototype.modPow = bnModPow;\n// \"constants\"\nBigInteger.ZERO = nbv(0);\nBigInteger.ONE = nbv(1);\n\nexport { BigInteger as default };\n//# sourceMappingURL=BigInteger.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * @internal\n */\nconst calculateS = async ({ a, g, k, x, B, N, U, }) => {\n return new Promise((resolve, reject) => {\n g.modPow(x, N, (outerErr, outerResult) => {\n if (outerErr) {\n reject(outerErr);\n return;\n }\n B.subtract(k.multiply(outerResult)).modPow(a.add(U.multiply(x)), N, (innerErr, innerResult) => {\n if (innerErr) {\n reject(innerErr);\n return;\n }\n resolve(innerResult.mod(N));\n });\n });\n });\n};\n\nexport { calculateS };\n//# sourceMappingURL=calculateS.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst INIT_N = 'FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1' +\n '29024E088A67CC74020BBEA63B139B22514A08798E3404DD' +\n 'EF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245' +\n 'E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7ED' +\n 'EE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3D' +\n 'C2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F' +\n '83655D23DCA3AD961C62F356208552BB9ED529077096966D' +\n '670C354E4ABC9804F1746C08CA18217C32905E462E36CE3B' +\n 'E39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9' +\n 'DE2BCBF6955817183995497CEA956AE515D2261898FA0510' +\n '15728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64' +\n 'ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7' +\n 'ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6B' +\n 'F12FFA06D98A0864D87602733EC86A64521F2B18177B200C' +\n 'BBE117577A615D6C770988C0BAD946E208E24FA074E5AB31' +\n '43DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF';\nconst SHORT_TO_HEX = {};\nconst HEX_TO_SHORT = {};\nfor (let i = 0; i < 256; i++) {\n let encodedByte = i.toString(16).toLowerCase();\n if (encodedByte.length === 1) {\n encodedByte = `0${encodedByte}`;\n }\n SHORT_TO_HEX[i] = encodedByte;\n HEX_TO_SHORT[encodedByte] = i;\n}\n\nexport { HEX_TO_SHORT, INIT_N, SHORT_TO_HEX };\n//# sourceMappingURL=constants.mjs.map\n","import { HEX_TO_SHORT } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Converts a hexadecimal encoded string to a Uint8Array of bytes.\n *\n * @param encoded The hexadecimal encoded string\n */\nconst getBytesFromHex = (encoded) => {\n if (encoded.length % 2 !== 0) {\n throw new Error('Hex encoded strings must have an even number length');\n }\n const out = new Uint8Array(encoded.length / 2);\n for (let i = 0; i < encoded.length; i += 2) {\n const encodedByte = encoded.slice(i, i + 2).toLowerCase();\n if (encodedByte in HEX_TO_SHORT) {\n out[i / 2] = HEX_TO_SHORT[encodedByte];\n }\n else {\n throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`);\n }\n }\n return out;\n};\n\nexport { getBytesFromHex };\n//# sourceMappingURL=getBytesFromHex.mjs.map\n","import { SHORT_TO_HEX } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Converts a Uint8Array of binary data to a hexadecimal encoded string.\n *\n * @param bytes The binary data to encode\n */\nconst getHexFromBytes = (bytes) => {\n let out = '';\n for (let i = 0; i < bytes.byteLength; i++) {\n out += SHORT_TO_HEX[bytes[i]];\n }\n return out;\n};\n\nexport { getHexFromBytes };\n//# sourceMappingURL=getHexFromBytes.mjs.map\n","import { Sha256 } from '@aws-crypto/sha256-js';\nimport { getHexFromBytes } from './getHexFromBytes.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Calculate a hash from a `SourceData`\n * @param {SourceData} data Value to hash.\n * @returns {string} Hex-encoded hash.\n * @private\n */\nconst getHashFromData = (data) => {\n const sha256 = new Sha256();\n sha256.update(data);\n const hashedData = sha256.digestSync();\n const hashHexFromUint8 = getHexFromBytes(hashedData);\n return new Array(64 - hashHexFromUint8.length).join('0') + hashHexFromUint8;\n};\n\nexport { getHashFromData };\n//# sourceMappingURL=getHashFromData.mjs.map\n","import { getBytesFromHex } from './getBytesFromHex.mjs';\nimport { getHashFromData } from './getHashFromData.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Calculate a hash from a hex string\n * @param {string} hexStr Value to hash.\n * @returns {string} Hex-encoded hash.\n * @private\n */\nconst getHashFromHex = (hexStr) => getHashFromData(getBytesFromHex(hexStr));\n\nexport { getHashFromHex };\n//# sourceMappingURL=getHashFromHex.mjs.map\n","import BigInteger from './BigInteger/BigInteger.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Tests if a hex string has it most significant bit set (case-insensitive regex)\n */\nconst HEX_MSB_REGEX = /^[89a-f]/i;\n/**\n * Returns an unambiguous, even-length hex string of the two's complement encoding of an integer.\n *\n * It is compatible with the hex encoding of Java's BigInteger's toByteArray(), wich returns a\n * byte array containing the two's-complement representation of a BigInteger. The array contains\n * the minimum number of bytes required to represent the BigInteger, including at least one sign bit.\n *\n * Examples showing how ambiguity is avoided by left padding with:\n * \t\"00\" (for positive values where the most-significant-bit is set)\n * \"FF\" (for negative values where the most-significant-bit is set)\n *\n * padHex(bigInteger.fromInt(-236)) === \"FF14\"\n * padHex(bigInteger.fromInt(20)) === \"14\"\n *\n * padHex(bigInteger.fromInt(-200)) === \"FF38\"\n * padHex(bigInteger.fromInt(56)) === \"38\"\n *\n * padHex(bigInteger.fromInt(-20)) === \"EC\"\n * padHex(bigInteger.fromInt(236)) === \"00EC\"\n *\n * padHex(bigInteger.fromInt(-56)) === \"C8\"\n * padHex(bigInteger.fromInt(200)) === \"00C8\"\n *\n * @param {AuthBigInteger} bigInt Number to encode.\n * @returns {String} even-length hex string of the two's complement encoding.\n */\nconst getPaddedHex = (bigInt) => {\n if (!(bigInt instanceof BigInteger)) {\n throw new Error('Not a BigInteger');\n }\n const isNegative = bigInt.compareTo(BigInteger.ZERO) < 0;\n /* Get a hex string for abs(bigInt) */\n let hexStr = bigInt.abs().toString(16);\n /* Pad hex to even length if needed */\n hexStr = hexStr.length % 2 !== 0 ? `0${hexStr}` : hexStr;\n /* Prepend \"00\" if the most significant bit is set */\n hexStr = HEX_MSB_REGEX.test(hexStr) ? `00${hexStr}` : hexStr;\n if (isNegative) {\n /* Flip the bits of the representation */\n const invertedNibbles = hexStr\n .split('')\n .map((x) => {\n const invertedNibble = ~parseInt(x, 16) & 0xf;\n return '0123456789ABCDEF'.charAt(invertedNibble);\n })\n .join('');\n /* After flipping the bits, add one to get the 2's complement representation */\n const flippedBitsBI = new BigInteger(invertedNibbles, 16).add(BigInteger.ONE);\n hexStr = flippedBitsBI.toString(16);\n /*\n For hex strings starting with 'FF8', 'FF' can be dropped, e.g. 0xFFFF80=0xFF80=0x80=-128\n\n Any sequence of '1' bits on the left can always be substituted with a single '1' bit\n without changing the represented value.\n\n This only happens in the case when the input is 80...00\n */\n if (hexStr.toUpperCase().startsWith('FF8')) {\n hexStr = hexStr.substring(2);\n }\n }\n return hexStr;\n};\n\nexport { getPaddedHex };\n//# sourceMappingURL=getPaddedHex.mjs.map\n","import BigInteger from '../BigInteger/BigInteger.mjs';\nimport { getHashFromHex } from '../getHashFromHex.mjs';\nimport { getPaddedHex } from '../getPaddedHex.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * @internal\n */\nconst calculateU = ({ A, B, }) => {\n const U = new BigInteger(getHashFromHex(getPaddedHex(A) + getPaddedHex(B)), 16);\n if (U.equals(BigInteger.ZERO)) {\n throw new Error('U cannot be zero.');\n }\n return U;\n};\n\nexport { calculateU };\n//# sourceMappingURL=calculateU.mjs.map\n","import { Sha256 } from '@aws-crypto/sha256-js';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Standard HKDF algorithm.\n *\n * @param {Uint8Array} ikm Input key material.\n * @param {Uint8Array} salt Salt value.\n * @param {Uint8Array} info Context and application specific info.\n *\n * @returns {Uint8Array} Strong key material.\n *\n * @internal\n */\nconst getHkdfKey = (ikm, salt, info) => {\n const awsCryptoHash = new Sha256(salt);\n awsCryptoHash.update(ikm);\n const resultFromAWSCryptoPrk = awsCryptoHash.digestSync();\n const awsCryptoHashHmac = new Sha256(resultFromAWSCryptoPrk);\n awsCryptoHashHmac.update(info);\n const resultFromAWSCryptoHmac = awsCryptoHashHmac.digestSync();\n const hashHexFromAWSCrypto = resultFromAWSCryptoHmac;\n return hashHexFromAWSCrypto.slice(0, 16);\n};\n\nexport { getHkdfKey };\n//# sourceMappingURL=getHkdfKey.mjs.map\n","import { WordArray } from '@aws-amplify/core/internals/utils';\nimport { getBytesFromHex } from './getBytesFromHex.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Returns a Uint8Array with a sequence of random nBytes\n *\n * @param {number} nBytes\n * @returns {Uint8Array} fixed-length sequence of random bytes\n */\nconst getRandomBytes = (nBytes) => {\n const str = new WordArray().random(nBytes).toString();\n return getBytesFromHex(str);\n};\n\nexport { getRandomBytes };\n//# sourceMappingURL=getRandomBytes.mjs.map\n","import { base64Encoder } from '@aws-amplify/core/internals/utils';\nimport { getRandomBytes } from './getRandomBytes.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Helper function to generate a random string\n * @returns {string} a random value.\n *\n * @internal\n */\nconst getRandomString = () => base64Encoder.convert(getRandomBytes(40));\n\nexport { getRandomString };\n//# sourceMappingURL=getRandomString.mjs.map\n","import { AuthError } from '../../../../../errors/AuthError.mjs';\nimport { textEncoder } from '../../textEncoder/index.mjs';\nimport BigInteger from '../BigInteger/BigInteger.mjs';\nimport { calculateS } from '../calculate/calculateS.mjs';\nimport { calculateU } from '../calculate/calculateU.mjs';\nimport { getBytesFromHex } from '../getBytesFromHex.mjs';\nimport { getHashFromData } from '../getHashFromData.mjs';\nimport { getHashFromHex } from '../getHashFromHex.mjs';\nimport { getHexFromBytes } from '../getHexFromBytes.mjs';\nimport { getHkdfKey } from '../getHkdfKey.mjs';\nimport { getPaddedHex } from '../getPaddedHex.mjs';\nimport { getRandomBytes } from '../getRandomBytes.mjs';\nimport { getRandomString } from '../getRandomString.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/** @class */\nclass AuthenticationHelper {\n constructor({ userPoolName, a, g, A, N, }) {\n this.encoder = textEncoder;\n this.userPoolName = userPoolName;\n this.a = a;\n this.g = g;\n this.A = A;\n this.N = N;\n this.k = new BigInteger(getHashFromHex(`${getPaddedHex(N)}${getPaddedHex(g)}`), 16);\n }\n /**\n * @returns {string} Generated random value included in password hash.\n */\n getRandomPassword() {\n if (!this.randomPassword) {\n throw new AuthError({\n name: 'EmptyBigIntegerRandomPassword',\n message: 'random password is empty',\n });\n }\n return this.randomPassword;\n }\n /**\n * @returns {string} Generated random value included in devices hash.\n */\n getSaltToHashDevices() {\n if (!this.saltToHashDevices) {\n throw new AuthError({\n name: 'EmptyBigIntegersaltToHashDevices',\n message: 'saltToHashDevices is empty',\n });\n }\n return this.saltToHashDevices;\n }\n /**\n * @returns {string} Value used to verify devices.\n */\n getVerifierDevices() {\n if (!this.verifierDevices) {\n throw new AuthError({\n name: 'EmptyBigIntegerVerifierDevices',\n message: 'verifyDevices is empty',\n });\n }\n return this.verifierDevices;\n }\n /**\n * Generate salts and compute verifier.\n *\n * @param {string} deviceGroupKey Devices to generate verifier for.\n * @param {string} username User to generate verifier for.\n *\n * @returns {Promise}\n */\n async generateHashDevice(deviceGroupKey, username) {\n this.randomPassword = getRandomString();\n const combinedString = `${deviceGroupKey}${username}:${this.randomPassword}`;\n const hashedString = getHashFromData(combinedString);\n const hexRandom = getHexFromBytes(getRandomBytes(16));\n // The random hex will be unambiguously represented as a postive integer\n this.saltToHashDevices = getPaddedHex(new BigInteger(hexRandom, 16));\n return new Promise((resolve, reject) => {\n this.g.modPow(new BigInteger(getHashFromHex(this.saltToHashDevices + hashedString), 16), this.N, (err, result) => {\n if (err) {\n reject(err);\n return;\n }\n this.verifierDevices = getPaddedHex(result);\n resolve();\n });\n });\n }\n /**\n * Calculates the final HKDF key based on computed S value, computed U value and the key\n *\n * @param {String} username Username.\n * @param {String} password Password.\n * @param {AuthBigInteger} B Server B value.\n * @param {AuthBigInteger} salt Generated salt.\n */\n async getPasswordAuthenticationKey({ username, password, serverBValue, salt, }) {\n if (serverBValue.mod(this.N).equals(BigInteger.ZERO)) {\n throw new Error('B cannot be zero.');\n }\n const U = calculateU({\n A: this.A,\n B: serverBValue,\n });\n const usernamePassword = `${this.userPoolName}${username}:${password}`;\n const usernamePasswordHash = getHashFromData(usernamePassword);\n const x = new BigInteger(getHashFromHex(getPaddedHex(salt) + usernamePasswordHash), 16);\n const S = await calculateS({\n a: this.a,\n g: this.g,\n k: this.k,\n x,\n B: serverBValue,\n N: this.N,\n U,\n });\n const context = this.encoder.convert('Caldera Derived Key');\n const spacer = this.encoder.convert(String.fromCharCode(1));\n const info = new Uint8Array(context.byteLength + spacer.byteLength);\n info.set(context, 0);\n info.set(spacer, context.byteLength);\n const hkdfKey = getHkdfKey(getBytesFromHex(getPaddedHex(S)), getBytesFromHex(getPaddedHex(U)), info);\n return hkdfKey;\n }\n}\n\nexport { AuthenticationHelper as default };\n//# sourceMappingURL=AuthenticationHelper.mjs.map\n","import BigInteger from '../BigInteger/BigInteger.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * @internal\n */\nconst calculateA = async ({ a, g, N, }) => {\n return new Promise((resolve, reject) => {\n g.modPow(a, N, (err, A) => {\n if (err) {\n reject(err);\n return;\n }\n if (A.mod(N).equals(BigInteger.ZERO)) {\n reject(new Error('Illegal parameter. A mod N cannot be 0.'));\n return;\n }\n resolve(A);\n });\n });\n};\n\nexport { calculateA };\n//# sourceMappingURL=calculateA.mjs.map\n","import AuthenticationHelper from './AuthenticationHelper/AuthenticationHelper.mjs';\nimport BigInteger from './BigInteger/BigInteger.mjs';\nimport { calculateA } from './calculate/calculateA.mjs';\nimport { INIT_N } from './constants.mjs';\nimport '@aws-crypto/sha256-js';\nimport { getHexFromBytes } from './getHexFromBytes.mjs';\nimport { getRandomBytes } from './getRandomBytes.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Returns a new {@link AuthenticationHelper} instance with randomly generated BigInteger seed\n *\n * @param userPoolName Cognito user pool name.\n * @returns An {@link AuthenticationHelper} instance.\n *\n * @internal\n */\nconst getAuthenticationHelper = async (userPoolName) => {\n const N = new BigInteger(INIT_N, 16);\n const g = new BigInteger('2', 16);\n const a = generateRandomBigInteger();\n const A = await calculateA({ a, g, N });\n return new AuthenticationHelper({ userPoolName, a, g, A, N });\n};\n/**\n * Generates a random BigInteger.\n *\n * @returns {BigInteger} a random value.\n */\nconst generateRandomBigInteger = () => {\n // This will be interpreted as a postive 128-bit integer\n const hexRandom = getHexFromBytes(getRandomBytes(128));\n // There is no need to do randomBigInt.mod(this.N - 1) as N (3072-bit) is > 128 bytes (1024-bit)\n return new BigInteger(hexRandom, 16);\n};\n\nexport { getAuthenticationHelper };\n//# sourceMappingURL=getAuthenticationHelper.mjs.map\n","import { base64Encoder, getDeviceName } from '@aws-amplify/core/internals/utils';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../types/errors.mjs';\nimport { createConfirmDeviceClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createConfirmDeviceClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthenticationHelper } from './srp/getAuthenticationHelper.mjs';\nimport { getBytesFromHex } from './srp/getBytesFromHex.mjs';\nimport '@aws-crypto/sha256-js';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * This function is used to kick off the device management flow.\n *\n * If an error is thrown while generating a hash device or calling the `ConfirmDevice`\n * client, then this API will ignore the error and return undefined. Otherwise the authentication\n * flow will not complete and the user won't be able to be signed in.\n *\n * @returns DeviceMetadata | undefined\n */\nasync function getNewDeviceMetadata({ userPoolId, userPoolEndpoint, newDeviceMetadata, accessToken, }) {\n if (!newDeviceMetadata)\n return undefined;\n const userPoolName = userPoolId.split('_')[1] || '';\n const authenticationHelper = await getAuthenticationHelper(userPoolName);\n const deviceKey = newDeviceMetadata?.DeviceKey;\n const deviceGroupKey = newDeviceMetadata?.DeviceGroupKey;\n try {\n await authenticationHelper.generateHashDevice(deviceGroupKey ?? '', deviceKey ?? '');\n }\n catch (errGenHash) {\n // TODO: log error here\n return undefined;\n }\n const deviceSecretVerifierConfig = {\n Salt: base64Encoder.convert(getBytesFromHex(authenticationHelper.getSaltToHashDevices())),\n PasswordVerifier: base64Encoder.convert(getBytesFromHex(authenticationHelper.getVerifierDevices())),\n };\n const randomPassword = authenticationHelper.getRandomPassword();\n try {\n const confirmDevice = createConfirmDeviceClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n await confirmDevice({ region: getRegionFromUserPoolId(userPoolId) }, {\n AccessToken: accessToken,\n DeviceName: await getDeviceName(),\n DeviceKey: newDeviceMetadata?.DeviceKey,\n DeviceSecretVerifierConfig: deviceSecretVerifierConfig,\n });\n return {\n deviceKey,\n deviceGroupKey,\n randomPassword,\n };\n }\n catch (error) {\n // TODO: log error here\n return undefined;\n }\n}\n\nexport { getNewDeviceMetadata };\n//# sourceMappingURL=getNewDeviceMetadata.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { AuthErrorCodes } from '../../../common/AuthErrorStrings.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport { AuthError } from '../../../errors/AuthError.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../../../providers/cognito/types/errors.mjs';\nimport { createRespondToAuthChallengeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../../../providers/cognito/factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { cacheCognitoTokens } from '../../../providers/cognito/tokenProvider/cacheTokens.mjs';\nimport { dispatchSignedInHubEvent } from '../../../providers/cognito/utils/dispatchSignedInHubEvent.mjs';\nimport '../../utils/store/autoSignInStore.mjs';\nimport { signInStore, setActiveSignInState } from '../../utils/store/signInStore.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { assertPasskeyError, PasskeyErrorCode } from '../../utils/passkey/errors.mjs';\nimport { getPasskey } from '../../utils/passkey/getPasskey.mjs';\nimport { getNewDeviceMetadata } from '../../../providers/cognito/utils/getNewDeviceMetadata.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nasync function handleWebAuthnSignInResult(challengeParameters) {\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const { username, signInSession, signInDetails, challengeName } = signInStore.getState();\n if (challengeName !== 'WEB_AUTHN' || !username) {\n throw new AuthError({\n name: AuthErrorCodes.SignInException,\n message: 'Unable to proceed due to invalid sign in state.',\n });\n }\n const { CREDENTIAL_REQUEST_OPTIONS: credentialRequestOptions } = challengeParameters;\n assertPasskeyError(!!credentialRequestOptions, PasskeyErrorCode.InvalidPasskeyAuthenticationOptions);\n const cred = await getPasskey(JSON.parse(credentialRequestOptions));\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: authConfig.userPoolEndpoint,\n }),\n });\n const { ChallengeName: nextChallengeName, ChallengeParameters: nextChallengeParameters, AuthenticationResult: authenticationResult, Session: nextSession, } = await respondToAuthChallenge({\n region: getRegionFromUserPoolId(authConfig.userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, {\n ChallengeName: 'WEB_AUTHN',\n ChallengeResponses: {\n USERNAME: username,\n CREDENTIAL: JSON.stringify(cred),\n },\n ClientId: authConfig.userPoolClientId,\n Session: signInSession,\n });\n setActiveSignInState({\n signInSession: nextSession,\n username,\n challengeName: nextChallengeName,\n signInDetails,\n });\n if (authenticationResult) {\n await cacheCognitoTokens({\n ...authenticationResult,\n username,\n NewDeviceMetadata: await getNewDeviceMetadata({\n userPoolId: authConfig.userPoolId,\n userPoolEndpoint: authConfig.userPoolEndpoint,\n newDeviceMetadata: authenticationResult.NewDeviceMetadata,\n accessToken: authenticationResult.AccessToken,\n }),\n signInDetails,\n });\n signInStore.dispatch({ type: 'RESET_STATE' });\n await dispatchSignedInHubEvent();\n return {\n isSignedIn: true,\n nextStep: { signInStep: 'DONE' },\n };\n }\n if (nextChallengeName === 'WEB_AUTHN') {\n throw new AuthError({\n name: AuthErrorCodes.SignInException,\n message: 'Sequential WEB_AUTHN challenges returned from underlying service cannot be handled.',\n });\n }\n return {\n challengeName: nextChallengeName,\n challengeParameters: nextChallengeParameters,\n };\n}\n\nexport { handleWebAuthnSignInResult };\n//# sourceMappingURL=handleWebAuthnSignInResult.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst MONTH_NAMES = [\n 'Jan',\n 'Feb',\n 'Mar',\n 'Apr',\n 'May',\n 'Jun',\n 'Jul',\n 'Aug',\n 'Sep',\n 'Oct',\n 'Nov',\n 'Dec',\n];\nconst WEEK_NAMES = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];\nconst getNowString = () => {\n const now = new Date();\n const weekDay = WEEK_NAMES[now.getUTCDay()];\n const month = MONTH_NAMES[now.getUTCMonth()];\n const day = now.getUTCDate();\n let hours = now.getUTCHours();\n if (hours < 10) {\n hours = `0${hours}`;\n }\n let minutes = now.getUTCMinutes();\n if (minutes < 10) {\n minutes = `0${minutes}`;\n }\n let seconds = now.getUTCSeconds();\n if (seconds < 10) {\n seconds = `0${seconds}`;\n }\n const year = now.getUTCFullYear();\n // ddd MMM D HH:mm:ss UTC YYYY\n const dateNow = `${weekDay} ${month} ${day} ${hours}:${minutes}:${seconds} UTC ${year}`;\n return dateNow;\n};\n\nexport { getNowString };\n//# sourceMappingURL=getNowString.mjs.map\n","import { Sha256 } from '@aws-crypto/sha256-js';\nimport { base64Encoder, base64Decoder } from '@aws-amplify/core/internals/utils';\nimport { textEncoder } from '../textEncoder/index.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst getSignatureString = ({ userPoolName, username, challengeParameters, dateNow, hkdf, }) => {\n const bufUPIDaToB = textEncoder.convert(userPoolName);\n const bufUNaToB = textEncoder.convert(username);\n const bufSBaToB = urlB64ToUint8Array(challengeParameters.SECRET_BLOCK);\n const bufDNaToB = textEncoder.convert(dateNow);\n const bufConcat = new Uint8Array(bufUPIDaToB.byteLength +\n bufUNaToB.byteLength +\n bufSBaToB.byteLength +\n bufDNaToB.byteLength);\n bufConcat.set(bufUPIDaToB, 0);\n bufConcat.set(bufUNaToB, bufUPIDaToB.byteLength);\n bufConcat.set(bufSBaToB, bufUPIDaToB.byteLength + bufUNaToB.byteLength);\n bufConcat.set(bufDNaToB, bufUPIDaToB.byteLength + bufUNaToB.byteLength + bufSBaToB.byteLength);\n const awsCryptoHash = new Sha256(hkdf);\n awsCryptoHash.update(bufConcat);\n const resultFromAWSCrypto = awsCryptoHash.digestSync();\n const signatureString = base64Encoder.convert(resultFromAWSCrypto);\n return signatureString;\n};\nconst urlB64ToUint8Array = (base64String) => {\n const padding = '='.repeat((4 - (base64String.length % 4)) % 4);\n const base64 = (base64String + padding).replace(/-/g, '+').replace(/_/g, '/');\n const rawData = base64Decoder.convert(base64);\n const outputArray = new Uint8Array(rawData.length);\n for (let i = 0; i < rawData.length; ++i) {\n outputArray[i] = rawData.charCodeAt(i);\n }\n return outputArray;\n};\n\nexport { getSignatureString };\n//# sourceMappingURL=getSignatureString.mjs.map\n","import '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../types/errors.mjs';\nimport { createRespondToAuthChallengeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { assertDeviceMetadata } from './types.mjs';\nimport { getAuthenticationHelper } from './srp/getAuthenticationHelper.mjs';\nimport './srp/constants.mjs';\nimport { getNowString } from './srp/getNowString.mjs';\nimport { getSignatureString } from './srp/getSignatureString.mjs';\nimport BigInteger from './srp/BigInteger/BigInteger.mjs';\nimport { getUserContextData } from './userContextData.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nasync function handleDeviceSRPAuth({ username, config, clientMetadata, session, tokenOrchestrator, }) {\n const { userPoolId, userPoolEndpoint } = config;\n const clientId = config.userPoolClientId;\n const deviceMetadata = await tokenOrchestrator?.getDeviceMetadata(username);\n assertDeviceMetadata(deviceMetadata);\n const authenticationHelper = await getAuthenticationHelper(deviceMetadata.deviceGroupKey);\n const challengeResponses = {\n USERNAME: username,\n SRP_A: authenticationHelper.A.toString(16),\n DEVICE_KEY: deviceMetadata.deviceKey,\n };\n const jsonReqResponseChallenge = {\n ChallengeName: 'DEVICE_SRP_AUTH',\n ClientId: clientId,\n ChallengeResponses: challengeResponses,\n ClientMetadata: clientMetadata,\n Session: session,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const { ChallengeParameters: respondedChallengeParameters, Session } = await respondToAuthChallenge({ region: getRegionFromUserPoolId(userPoolId) }, jsonReqResponseChallenge);\n return handleDevicePasswordVerifier(username, respondedChallengeParameters, clientMetadata, Session, authenticationHelper, config, tokenOrchestrator);\n}\nasync function handleDevicePasswordVerifier(username, challengeParameters, clientMetadata, session, authenticationHelper, { userPoolId, userPoolClientId, userPoolEndpoint }, tokenOrchestrator) {\n const deviceMetadata = await tokenOrchestrator?.getDeviceMetadata(username);\n assertDeviceMetadata(deviceMetadata);\n const serverBValue = new BigInteger(challengeParameters?.SRP_B, 16);\n const salt = new BigInteger(challengeParameters?.SALT, 16);\n const { deviceKey } = deviceMetadata;\n const { deviceGroupKey } = deviceMetadata;\n const hkdf = await authenticationHelper.getPasswordAuthenticationKey({\n username: deviceMetadata.deviceKey,\n password: deviceMetadata.randomPassword,\n serverBValue,\n salt,\n });\n const dateNow = getNowString();\n const challengeResponses = {\n USERNAME: challengeParameters?.USERNAME ?? username,\n PASSWORD_CLAIM_SECRET_BLOCK: challengeParameters?.SECRET_BLOCK,\n TIMESTAMP: dateNow,\n PASSWORD_CLAIM_SIGNATURE: getSignatureString({\n username: deviceKey,\n userPoolName: deviceGroupKey,\n challengeParameters,\n dateNow,\n hkdf,\n }),\n DEVICE_KEY: deviceKey,\n };\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReqResponseChallenge = {\n ChallengeName: 'DEVICE_PASSWORD_VERIFIER',\n ClientId: userPoolClientId,\n ChallengeResponses: challengeResponses,\n Session: session,\n ClientMetadata: clientMetadata,\n UserContextData,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n return respondToAuthChallenge({ region: getRegionFromUserPoolId(userPoolId) }, jsonReqResponseChallenge);\n}\n\nexport { handleDeviceSRPAuth };\n//# sourceMappingURL=handleDeviceSRPAuth.mjs.map\n","import { AuthError } from '../../../errors/AuthError.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../types/errors.mjs';\nimport { createRespondToAuthChallengeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport BigInteger from './srp/BigInteger/BigInteger.mjs';\nimport './srp/constants.mjs';\nimport '@aws-crypto/sha256-js';\nimport { getNowString } from './srp/getNowString.mjs';\nimport { getSignatureString } from './srp/getSignatureString.mjs';\nimport { getUserContextData } from './userContextData.mjs';\nimport { handleDeviceSRPAuth } from './handleDeviceSRPAuth.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nasync function handlePasswordVerifierChallenge(password, challengeParameters, clientMetadata, session, authenticationHelper, config, tokenOrchestrator) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const userPoolName = userPoolId?.split('_')[1] || '';\n const serverBValue = new BigInteger(challengeParameters?.SRP_B, 16);\n const salt = new BigInteger(challengeParameters?.SALT, 16);\n const username = challengeParameters?.USER_ID_FOR_SRP;\n if (!username)\n throw new AuthError({\n name: 'EmptyUserIdForSRPException',\n message: 'USER_ID_FOR_SRP was not found in challengeParameters',\n });\n const hkdf = await authenticationHelper.getPasswordAuthenticationKey({\n username,\n password,\n serverBValue,\n salt,\n });\n const dateNow = getNowString();\n const challengeResponses = {\n USERNAME: username,\n PASSWORD_CLAIM_SECRET_BLOCK: challengeParameters?.SECRET_BLOCK,\n TIMESTAMP: dateNow,\n PASSWORD_CLAIM_SIGNATURE: getSignatureString({\n username,\n userPoolName,\n challengeParameters,\n dateNow,\n hkdf,\n }),\n };\n const deviceMetadata = await tokenOrchestrator.getDeviceMetadata(username);\n if (deviceMetadata && deviceMetadata.deviceKey) {\n challengeResponses.DEVICE_KEY = deviceMetadata.deviceKey;\n }\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReqResponseChallenge = {\n ChallengeName: 'PASSWORD_VERIFIER',\n ChallengeResponses: challengeResponses,\n ClientMetadata: clientMetadata,\n Session: session,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const response = await respondToAuthChallenge({ region: getRegionFromUserPoolId(userPoolId) }, jsonReqResponseChallenge);\n if (response.ChallengeName === 'DEVICE_SRP_AUTH')\n return handleDeviceSRPAuth({\n username,\n config,\n clientMetadata,\n session: response.Session,\n tokenOrchestrator,\n });\n return response;\n}\n\nexport { handlePasswordVerifierChallenge };\n//# sourceMappingURL=handlePasswordVerifierChallenge.mjs.map\n","import { AuthError } from '../../../errors/AuthError.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * It will retry the function if the error is a `ResourceNotFoundException` and\n * will clean the device keys stored in the storage mechanism.\n *\n */\nasync function retryOnResourceNotFoundException(func, args, username, tokenOrchestrator) {\n try {\n return await func(...args);\n }\n catch (error) {\n if (error instanceof AuthError &&\n error.name === 'ResourceNotFoundException' &&\n error.message.includes('Device does not exist.')) {\n await tokenOrchestrator.clearDeviceMetadata(username);\n return func(...args);\n }\n throw error;\n }\n}\n\nexport { retryOnResourceNotFoundException };\n//# sourceMappingURL=retryOnResourceNotFoundException.mjs.map\n","import '../../../client/utils/store/autoSignInStore.mjs';\nimport { signInStore } from '../../../client/utils/store/signInStore.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nfunction setActiveSignInUsername(username) {\n const { dispatch } = signInStore;\n dispatch({ type: 'SET_USERNAME', value: username });\n}\n\nexport { setActiveSignInUsername };\n//# sourceMappingURL=setActiveSignInUsername.mjs.map\n","import { AuthAction } from '@aws-amplify/core/internals/utils';\nimport { getUserContextData } from '../../../providers/cognito/utils/userContextData.mjs';\nimport { getAuthenticationHelper } from '../../../providers/cognito/utils/srp/getAuthenticationHelper.mjs';\nimport '../../../providers/cognito/utils/srp/constants.mjs';\nimport '@aws-crypto/sha256-js';\nimport { createInitiateAuthClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createInitiateAuthClient.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../../../providers/cognito/types/errors.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../../../providers/cognito/factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { handlePasswordVerifierChallenge } from '../../../providers/cognito/utils/handlePasswordVerifierChallenge.mjs';\nimport { retryOnResourceNotFoundException } from '../../../providers/cognito/utils/retryOnResourceNotFoundException.mjs';\nimport { setActiveSignInUsername } from '../../../providers/cognito/utils/setActiveSignInUsername.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Handles the Password SRP (Secure Remote Password) authentication flow.\n * This function can be used with both USER_SRP_AUTH and USER_AUTH flows.\n *\n * @param {Object} params - The parameters for the Password SRP authentication\n * @param {string} params.username - The username for authentication\n * @param {string} params.password - The user's password\n * @param {ClientMetadata} [params.clientMetadata] - Optional metadata to be sent with auth requests\n * @param {CognitoUserPoolConfig} params.config - Cognito User Pool configuration\n * @param {AuthTokenOrchestrator} params.tokenOrchestrator - Token orchestrator for managing auth tokens\n * @param {AuthFlowType} params.authFlow - The type of authentication flow ('USER_SRP_AUTH' or 'USER_AUTH')\n * @param {AuthFactorType} [params.preferredChallenge] - Optional preferred challenge type when using USER_AUTH flow\n *\n * @returns {Promise} The authentication response\n */\nasync function handlePasswordSRP({ username, password, clientMetadata, config, tokenOrchestrator, authFlow, preferredChallenge, }) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const userPoolName = userPoolId?.split('_')[1] || '';\n const authenticationHelper = await getAuthenticationHelper(userPoolName);\n const authParameters = {\n USERNAME: username,\n SRP_A: authenticationHelper.A.toString(16),\n };\n if (authFlow === 'USER_AUTH' && preferredChallenge) {\n authParameters.PREFERRED_CHALLENGE = preferredChallenge;\n }\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n AuthFlow: authFlow,\n AuthParameters: authParameters,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const initiateAuth = createInitiateAuthClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const resp = await initiateAuth({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.SignIn),\n }, jsonReq);\n const { ChallengeParameters: challengeParameters, Session: session } = resp;\n const activeUsername = challengeParameters?.USERNAME ?? username;\n setActiveSignInUsername(activeUsername);\n if (resp.ChallengeName === 'PASSWORD_VERIFIER') {\n return retryOnResourceNotFoundException(handlePasswordVerifierChallenge, [\n password,\n challengeParameters,\n clientMetadata,\n session,\n authenticationHelper,\n config,\n tokenOrchestrator,\n ], activeUsername, tokenOrchestrator);\n }\n return resp;\n}\n\nexport { handlePasswordSRP };\n//# sourceMappingURL=handlePasswordSRP.mjs.map\n","import { AuthAction } from '@aws-amplify/core/internals/utils';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../../../providers/cognito/types/errors.mjs';\nimport { createRespondToAuthChallengeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../../../providers/cognito/factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Handles the SELECT_CHALLENGE response for authentication.\n * Initiates the selected authentication challenge based on user choice.\n *\n * @param {Object} params - The parameters for handling the selected challenge\n * @param {string} params.username - The username for authentication\n * @param {string} params.session - The current authentication session token\n * @param {string} params.selectedChallenge - The challenge type selected by the user\n * @param {CognitoUserPoolConfig} params.config - Cognito User Pool configuration\n * @param {ClientMetadata} [params.clientMetadata] - Optional metadata to be sent with auth requests\n *\n * @returns {Promise} The challenge response\n */\nasync function initiateSelectedChallenge({ username, session, selectedChallenge, config, clientMetadata, }) {\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: config.userPoolEndpoint,\n }),\n });\n return respondToAuthChallenge({\n region: getRegionFromUserPoolId(config.userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, {\n ChallengeName: 'SELECT_CHALLENGE',\n ChallengeResponses: {\n USERNAME: username,\n ANSWER: selectedChallenge,\n },\n ClientId: config.userPoolClientId,\n Session: session,\n ClientMetadata: clientMetadata,\n });\n}\n\nexport { initiateSelectedChallenge };\n//# sourceMappingURL=handleSelectChallenge.mjs.map\n","import { AuthAction } from '@aws-amplify/core/internals/utils';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../../../providers/cognito/types/errors.mjs';\nimport { createRespondToAuthChallengeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../../../providers/cognito/factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { getUserContextData } from '../../../providers/cognito/utils/userContextData.mjs';\nimport { setActiveSignInUsername } from '../../../providers/cognito/utils/setActiveSignInUsername.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Handles the SELECT_CHALLENGE response specifically for Password authentication.\n * This function combines the SELECT_CHALLENGE flow with standard password authentication.\n *\n * @param {string} username - The username for authentication\n * @param {string} password - The user's password\n * @param {ClientMetadata} [clientMetadata] - Optional metadata to be sent with auth requests\n * @param {CognitoUserPoolConfig} config - Cognito User Pool configuration\n * @param {string} session - The current authentication session token\n *\n * @returns {Promise} The challenge response\n */\nasync function handleSelectChallengeWithPassword(username, password, clientMetadata, config, session) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const authParameters = {\n ANSWER: 'PASSWORD',\n USERNAME: username,\n PASSWORD: password,\n };\n const userContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const response = await respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, {\n ChallengeName: 'SELECT_CHALLENGE',\n ChallengeResponses: authParameters,\n ClientId: userPoolClientId,\n ClientMetadata: clientMetadata,\n Session: session,\n UserContextData: userContextData,\n });\n const activeUsername = response.ChallengeParameters?.USERNAME ?? username;\n setActiveSignInUsername(activeUsername);\n return response;\n}\n\nexport { handleSelectChallengeWithPassword };\n//# sourceMappingURL=handleSelectChallengeWithPassword.mjs.map\n","import { AuthAction } from '@aws-amplify/core/internals/utils';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../../../providers/cognito/types/errors.mjs';\nimport { createRespondToAuthChallengeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../../../providers/cognito/factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { getAuthenticationHelper } from '../../../providers/cognito/utils/srp/getAuthenticationHelper.mjs';\nimport '../../../providers/cognito/utils/srp/constants.mjs';\nimport '@aws-crypto/sha256-js';\nimport { getUserContextData } from '../../../providers/cognito/utils/userContextData.mjs';\nimport { setActiveSignInUsername } from '../../../providers/cognito/utils/setActiveSignInUsername.mjs';\nimport { retryOnResourceNotFoundException } from '../../../providers/cognito/utils/retryOnResourceNotFoundException.mjs';\nimport { handlePasswordVerifierChallenge } from '../../../providers/cognito/utils/handlePasswordVerifierChallenge.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Handles the SELECT_CHALLENGE response specifically for Password SRP authentication.\n * This function combines the SELECT_CHALLENGE flow with Password SRP protocol.\n *\n * @param {string} username - The username for authentication\n * @param {string} password - The user's password\n * @param {ClientMetadata} [clientMetadata] - Optional metadata to be sent with auth requests\n * @param {CognitoUserPoolConfig} config - Cognito User Pool configuration\n * @param {string} session - The current authentication session token\n * @param {AuthTokenOrchestrator} tokenOrchestrator - Token orchestrator for managing auth tokens\n *\n * @returns {Promise} The challenge response\n */\nasync function handleSelectChallengeWithPasswordSRP(username, password, clientMetadata, config, session, tokenOrchestrator) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const userPoolName = userPoolId.split('_')[1] || '';\n const authenticationHelper = await getAuthenticationHelper(userPoolName);\n const authParameters = {\n ANSWER: 'PASSWORD_SRP',\n USERNAME: username,\n SRP_A: authenticationHelper.A.toString(16),\n };\n const userContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const response = await respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, {\n ChallengeName: 'SELECT_CHALLENGE',\n ChallengeResponses: authParameters,\n ClientId: userPoolClientId,\n ClientMetadata: clientMetadata,\n Session: session,\n UserContextData: userContextData,\n });\n const activeUsername = response.ChallengeParameters?.USERNAME ?? username;\n setActiveSignInUsername(activeUsername);\n if (response.ChallengeName === 'PASSWORD_VERIFIER') {\n return retryOnResourceNotFoundException(handlePasswordVerifierChallenge, [\n password,\n response.ChallengeParameters,\n clientMetadata,\n response.Session,\n authenticationHelper,\n config,\n tokenOrchestrator,\n ], activeUsername, tokenOrchestrator);\n }\n return response;\n}\n\nexport { handleSelectChallengeWithPasswordSRP };\n//# sourceMappingURL=handleSelectChallengeWithPasswordSRP.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { AuthAction, assertTokenProviderConfig, AmplifyUrl } from '@aws-amplify/core/internals/utils';\nimport { AuthError } from '../../../errors/AuthError.mjs';\nimport { InitiateAuthException } from '../types/errors.mjs';\nimport { AuthErrorCodes } from '../../../common/AuthErrorStrings.mjs';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { USER_ALREADY_AUTHENTICATED_EXCEPTION } from '../../../errors/constants.mjs';\nimport { getCurrentUser } from '../apis/getCurrentUser.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { createInitiateAuthClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createInitiateAuthClient.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport { createRespondToAuthChallengeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createRespondToAuthChallengeClient.mjs';\nimport { createVerifySoftwareTokenClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createVerifySoftwareTokenClient.mjs';\nimport { createAssociateSoftwareTokenClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createAssociateSoftwareTokenClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { handleWebAuthnSignInResult } from '../../../client/flows/userAuth/handleWebAuthnSignInResult.mjs';\nimport { handlePasswordSRP } from '../../../client/flows/shared/handlePasswordSRP.mjs';\nimport { initiateSelectedChallenge } from '../../../client/flows/userAuth/handleSelectChallenge.mjs';\nimport { handleSelectChallengeWithPassword } from '../../../client/flows/userAuth/handleSelectChallengeWithPassword.mjs';\nimport { handleSelectChallengeWithPasswordSRP } from '../../../client/flows/userAuth/handleSelectChallengeWithPasswordSRP.mjs';\nimport '../../../client/utils/store/autoSignInStore.mjs';\nimport { signInStore } from '../../../client/utils/store/signInStore.mjs';\nimport { getAuthenticationHelper } from './srp/getAuthenticationHelper.mjs';\nimport './srp/constants.mjs';\nimport '@aws-crypto/sha256-js';\nimport { getUserContextData } from './userContextData.mjs';\nimport { handlePasswordVerifierChallenge } from './handlePasswordVerifierChallenge.mjs';\nimport { handleDeviceSRPAuth } from './handleDeviceSRPAuth.mjs';\nimport { retryOnResourceNotFoundException } from './retryOnResourceNotFoundException.mjs';\nimport { setActiveSignInUsername } from './setActiveSignInUsername.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst USER_ATTRIBUTES = 'userAttributes.';\nfunction isWebAuthnResultAuthSignInOutput(result) {\n return 'isSignedIn' in result && 'nextStep' in result;\n}\nasync function handleCustomChallenge({ challengeResponse, clientMetadata, session, username, config, tokenOrchestrator, }) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const challengeResponses = {\n USERNAME: username,\n ANSWER: challengeResponse,\n };\n const deviceMetadata = await tokenOrchestrator?.getDeviceMetadata(username);\n if (deviceMetadata && deviceMetadata.deviceKey) {\n challengeResponses.DEVICE_KEY = deviceMetadata.deviceKey;\n }\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n ChallengeName: 'CUSTOM_CHALLENGE',\n ChallengeResponses: challengeResponses,\n Session: session,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const response = await respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, jsonReq);\n if (response.ChallengeName === 'DEVICE_SRP_AUTH') {\n return handleDeviceSRPAuth({\n username,\n config,\n clientMetadata,\n session: response.Session,\n tokenOrchestrator,\n });\n }\n return response;\n}\nasync function handleMFASetupChallenge({ challengeResponse, username, clientMetadata, session, deviceName, config, }) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n if (challengeResponse === 'EMAIL') {\n return {\n ChallengeName: 'MFA_SETUP',\n Session: session,\n ChallengeParameters: {\n MFAS_CAN_SETUP: '[\"EMAIL_OTP\"]',\n },\n $metadata: {},\n };\n }\n if (challengeResponse === 'TOTP') {\n return {\n ChallengeName: 'MFA_SETUP',\n Session: session,\n ChallengeParameters: {\n MFAS_CAN_SETUP: '[\"SOFTWARE_TOKEN_MFA\"]',\n },\n $metadata: {},\n };\n }\n const challengeResponses = {\n USERNAME: username,\n };\n const isTOTPCode = /^\\d+$/.test(challengeResponse);\n if (isTOTPCode) {\n const verifySoftwareToken = createVerifySoftwareTokenClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const { Session } = await verifySoftwareToken({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, {\n UserCode: challengeResponse,\n Session: session,\n FriendlyDeviceName: deviceName,\n });\n signInStore.dispatch({\n type: 'SET_SIGN_IN_SESSION',\n value: Session,\n });\n const jsonReq = {\n ChallengeName: 'MFA_SETUP',\n ChallengeResponses: challengeResponses,\n Session,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n return respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, jsonReq);\n }\n const isEmail = challengeResponse.includes('@');\n if (isEmail) {\n challengeResponses.EMAIL = challengeResponse;\n const jsonReq = {\n ChallengeName: 'MFA_SETUP',\n ChallengeResponses: challengeResponses,\n Session: session,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n return respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, jsonReq);\n }\n throw new AuthError({\n name: AuthErrorCodes.SignInException,\n message: `Cannot proceed with MFA setup using challengeResponse: ${challengeResponse}`,\n recoverySuggestion: 'Try passing \"EMAIL\", \"TOTP\", a valid email, or OTP code as the challengeResponse.',\n });\n}\nasync function handleSelectMFATypeChallenge({ challengeResponse, username, clientMetadata, session, config, }) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n assertValidationError(challengeResponse === 'TOTP' ||\n challengeResponse === 'SMS' ||\n challengeResponse === 'EMAIL', AuthValidationErrorCode.IncorrectMFAMethod);\n const challengeResponses = {\n USERNAME: username,\n ANSWER: mapMfaType(challengeResponse),\n };\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n ChallengeName: 'SELECT_MFA_TYPE',\n ChallengeResponses: challengeResponses,\n Session: session,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n return respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, jsonReq);\n}\nasync function handleCompleteNewPasswordChallenge({ challengeResponse, clientMetadata, session, username, requiredAttributes, config, }) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const challengeResponses = {\n ...createAttributes(requiredAttributes),\n NEW_PASSWORD: challengeResponse,\n USERNAME: username,\n };\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n ChallengeName: 'NEW_PASSWORD_REQUIRED',\n ChallengeResponses: challengeResponses,\n ClientMetadata: clientMetadata,\n Session: session,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n return respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, jsonReq);\n}\nasync function handleUserPasswordAuthFlow(username, password, clientMetadata, config, tokenOrchestrator) {\n const { userPoolClientId, userPoolId, userPoolEndpoint } = config;\n const authParameters = {\n USERNAME: username,\n PASSWORD: password,\n };\n const deviceMetadata = await tokenOrchestrator.getDeviceMetadata(username);\n if (deviceMetadata && deviceMetadata.deviceKey) {\n authParameters.DEVICE_KEY = deviceMetadata.deviceKey;\n }\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n AuthFlow: 'USER_PASSWORD_AUTH',\n AuthParameters: authParameters,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const initiateAuth = createInitiateAuthClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const response = await initiateAuth({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.SignIn),\n }, jsonReq);\n const activeUsername = response.ChallengeParameters?.USERNAME ??\n response.ChallengeParameters?.USER_ID_FOR_SRP ??\n username;\n setActiveSignInUsername(activeUsername);\n if (response.ChallengeName === 'DEVICE_SRP_AUTH')\n return handleDeviceSRPAuth({\n username: activeUsername,\n config,\n clientMetadata,\n session: response.Session,\n tokenOrchestrator,\n });\n return response;\n}\nasync function handleUserSRPAuthFlow(username, password, clientMetadata, config, tokenOrchestrator) {\n return handlePasswordSRP({\n username,\n password,\n clientMetadata,\n config,\n tokenOrchestrator,\n authFlow: 'USER_SRP_AUTH',\n });\n}\nasync function handleCustomAuthFlowWithoutSRP(username, clientMetadata, config, tokenOrchestrator) {\n const { userPoolClientId, userPoolId, userPoolEndpoint } = config;\n const authParameters = {\n USERNAME: username,\n };\n const deviceMetadata = await tokenOrchestrator.getDeviceMetadata(username);\n if (deviceMetadata && deviceMetadata.deviceKey) {\n authParameters.DEVICE_KEY = deviceMetadata.deviceKey;\n }\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n AuthFlow: 'CUSTOM_AUTH',\n AuthParameters: authParameters,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const initiateAuth = createInitiateAuthClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const response = await initiateAuth({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.SignIn),\n }, jsonReq);\n const activeUsername = response.ChallengeParameters?.USERNAME ?? username;\n setActiveSignInUsername(activeUsername);\n if (response.ChallengeName === 'DEVICE_SRP_AUTH')\n return handleDeviceSRPAuth({\n username: activeUsername,\n config,\n clientMetadata,\n session: response.Session,\n tokenOrchestrator,\n });\n return response;\n}\nasync function handleCustomSRPAuthFlow(username, password, clientMetadata, config, tokenOrchestrator) {\n assertTokenProviderConfig(config);\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const userPoolName = userPoolId?.split('_')[1] || '';\n const authenticationHelper = await getAuthenticationHelper(userPoolName);\n const authParameters = {\n USERNAME: username,\n SRP_A: authenticationHelper.A.toString(16),\n CHALLENGE_NAME: 'SRP_A',\n };\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n AuthFlow: 'CUSTOM_AUTH',\n AuthParameters: authParameters,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n };\n const initiateAuth = createInitiateAuthClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const { ChallengeParameters: challengeParameters, Session: session } = await initiateAuth({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.SignIn),\n }, jsonReq);\n const activeUsername = challengeParameters?.USERNAME ?? username;\n setActiveSignInUsername(activeUsername);\n return retryOnResourceNotFoundException(handlePasswordVerifierChallenge, [\n password,\n challengeParameters,\n clientMetadata,\n session,\n authenticationHelper,\n config,\n tokenOrchestrator,\n ], activeUsername, tokenOrchestrator);\n}\nasync function getSignInResult(params) {\n const { challengeName, challengeParameters, availableChallenges } = params;\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n switch (challengeName) {\n case 'CUSTOM_CHALLENGE':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE',\n additionalInfo: challengeParameters,\n },\n };\n case 'MFA_SETUP': {\n const { signInSession, username } = signInStore.getState();\n const mfaSetupTypes = getMFATypes(parseMFATypes(challengeParameters.MFAS_CAN_SETUP)) || [];\n const allowedMfaSetupTypes = getAllowedMfaSetupTypes(mfaSetupTypes);\n const isTotpMfaSetupAvailable = allowedMfaSetupTypes.includes('TOTP');\n const isEmailMfaSetupAvailable = allowedMfaSetupTypes.includes('EMAIL');\n if (isTotpMfaSetupAvailable && isEmailMfaSetupAvailable) {\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION',\n allowedMFATypes: allowedMfaSetupTypes,\n },\n };\n }\n if (isEmailMfaSetupAvailable) {\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONTINUE_SIGN_IN_WITH_EMAIL_SETUP',\n },\n };\n }\n if (isTotpMfaSetupAvailable) {\n const associateSoftwareToken = createAssociateSoftwareTokenClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: authConfig.userPoolEndpoint,\n }),\n });\n const { Session, SecretCode: secretCode } = await associateSoftwareToken({ region: getRegionFromUserPoolId(authConfig.userPoolId) }, {\n Session: signInSession,\n });\n signInStore.dispatch({\n type: 'SET_SIGN_IN_SESSION',\n value: Session,\n });\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONTINUE_SIGN_IN_WITH_TOTP_SETUP',\n totpSetupDetails: getTOTPSetupDetails(secretCode, username),\n },\n };\n }\n throw new AuthError({\n name: AuthErrorCodes.SignInException,\n message: `Cannot initiate MFA setup from available types: ${mfaSetupTypes}`,\n });\n }\n case 'NEW_PASSWORD_REQUIRED':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED',\n missingAttributes: parseAttributes(challengeParameters.requiredAttributes),\n },\n };\n case 'SELECT_MFA_TYPE':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONTINUE_SIGN_IN_WITH_MFA_SELECTION',\n allowedMFATypes: getMFATypes(parseMFATypes(challengeParameters.MFAS_CAN_CHOOSE)),\n },\n };\n case 'SMS_OTP':\n case 'SMS_MFA':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONFIRM_SIGN_IN_WITH_SMS_CODE',\n codeDeliveryDetails: {\n deliveryMedium: challengeParameters.CODE_DELIVERY_DELIVERY_MEDIUM,\n destination: challengeParameters.CODE_DELIVERY_DESTINATION,\n },\n },\n };\n case 'SOFTWARE_TOKEN_MFA':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONFIRM_SIGN_IN_WITH_TOTP_CODE',\n },\n };\n case 'EMAIL_OTP':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONFIRM_SIGN_IN_WITH_EMAIL_CODE',\n codeDeliveryDetails: {\n deliveryMedium: challengeParameters.CODE_DELIVERY_DELIVERY_MEDIUM,\n destination: challengeParameters.CODE_DELIVERY_DESTINATION,\n },\n },\n };\n case 'WEB_AUTHN': {\n const result = await handleWebAuthnSignInResult(challengeParameters);\n if (isWebAuthnResultAuthSignInOutput(result)) {\n return result;\n }\n return getSignInResult(result);\n }\n case 'PASSWORD':\n case 'PASSWORD_SRP':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONFIRM_SIGN_IN_WITH_PASSWORD',\n },\n };\n case 'SELECT_CHALLENGE':\n return {\n isSignedIn: false,\n nextStep: {\n signInStep: 'CONTINUE_SIGN_IN_WITH_FIRST_FACTOR_SELECTION',\n availableChallenges,\n },\n };\n }\n // TODO: remove this error message for production apps\n throw new AuthError({\n name: AuthErrorCodes.SignInException,\n message: 'An error occurred during the sign in process. ' +\n `${challengeName} challengeName returned by the underlying service was not addressed.`,\n });\n}\nfunction getTOTPSetupDetails(secretCode, username) {\n return {\n sharedSecret: secretCode,\n getSetupUri: (appName, accountName) => {\n const totpUri = `otpauth://totp/${appName}:${accountName ?? username}?secret=${secretCode}&issuer=${appName}`;\n return new AmplifyUrl(totpUri);\n },\n };\n}\nfunction getSignInResultFromError(errorName) {\n if (errorName === InitiateAuthException.PasswordResetRequiredException) {\n return {\n isSignedIn: false,\n nextStep: { signInStep: 'RESET_PASSWORD' },\n };\n }\n else if (errorName === InitiateAuthException.UserNotConfirmedException) {\n return {\n isSignedIn: false,\n nextStep: { signInStep: 'CONFIRM_SIGN_UP' },\n };\n }\n}\nfunction parseAttributes(attributes) {\n if (!attributes)\n return [];\n const parsedAttributes = JSON.parse(attributes).map(att => att.includes(USER_ATTRIBUTES) ? att.replace(USER_ATTRIBUTES, '') : att);\n return parsedAttributes;\n}\nfunction createAttributes(attributes) {\n if (!attributes)\n return {};\n const newAttributes = {};\n Object.entries(attributes).forEach(([key, value]) => {\n if (value)\n newAttributes[`${USER_ATTRIBUTES}${key}`] = value;\n });\n return newAttributes;\n}\nasync function handleChallengeName(username, challengeName, session, challengeResponse, config, tokenOrchestrator, clientMetadata, options) {\n const userAttributes = options?.userAttributes;\n const deviceName = options?.friendlyDeviceName;\n switch (challengeName) {\n case 'WEB_AUTHN':\n case 'SELECT_CHALLENGE':\n if (challengeResponse === 'PASSWORD_SRP' ||\n challengeResponse === 'PASSWORD') {\n return {\n ChallengeName: challengeResponse,\n Session: session,\n $metadata: {},\n };\n }\n return initiateSelectedChallenge({\n username,\n session,\n selectedChallenge: challengeResponse,\n config,\n clientMetadata,\n });\n case 'SELECT_MFA_TYPE':\n return handleSelectMFATypeChallenge({\n challengeResponse,\n clientMetadata,\n session,\n username,\n config,\n });\n case 'MFA_SETUP':\n return handleMFASetupChallenge({\n challengeResponse,\n clientMetadata,\n session,\n username,\n deviceName,\n config,\n });\n case 'NEW_PASSWORD_REQUIRED':\n return handleCompleteNewPasswordChallenge({\n challengeResponse,\n clientMetadata,\n session,\n username,\n requiredAttributes: userAttributes,\n config,\n });\n case 'CUSTOM_CHALLENGE':\n return retryOnResourceNotFoundException(handleCustomChallenge, [\n {\n challengeResponse,\n clientMetadata,\n session,\n username,\n config,\n tokenOrchestrator,\n },\n ], username, tokenOrchestrator);\n case 'SMS_MFA':\n case 'SOFTWARE_TOKEN_MFA':\n case 'SMS_OTP':\n case 'EMAIL_OTP':\n return handleMFAChallenge({\n challengeName,\n challengeResponse,\n clientMetadata,\n session,\n username,\n config,\n });\n case 'PASSWORD':\n return handleSelectChallengeWithPassword(username, challengeResponse, clientMetadata, config, session);\n case 'PASSWORD_SRP':\n return handleSelectChallengeWithPasswordSRP(username, challengeResponse, // This is the actual password\n clientMetadata, config, session, tokenOrchestrator);\n }\n // TODO: remove this error message for production apps\n throw new AuthError({\n name: AuthErrorCodes.SignInException,\n message: `An error occurred during the sign in process.\n\t\t${challengeName} challengeName returned by the underlying service was not addressed.`,\n });\n}\nfunction mapMfaType(mfa) {\n let mfaType = 'SMS_MFA';\n if (mfa === 'TOTP')\n mfaType = 'SOFTWARE_TOKEN_MFA';\n if (mfa === 'EMAIL')\n mfaType = 'EMAIL_OTP';\n return mfaType;\n}\nfunction getMFAType(type) {\n if (type === 'SMS_MFA')\n return 'SMS';\n if (type === 'SOFTWARE_TOKEN_MFA')\n return 'TOTP';\n if (type === 'EMAIL_OTP')\n return 'EMAIL';\n // TODO: log warning for unknown MFA type\n}\nfunction getMFATypes(types) {\n if (!types)\n return undefined;\n return types.map(getMFAType).filter(Boolean);\n}\nfunction parseMFATypes(mfa) {\n if (!mfa)\n return [];\n return JSON.parse(mfa);\n}\nfunction getAllowedMfaSetupTypes(availableMfaSetupTypes) {\n return availableMfaSetupTypes.filter(authMfaType => authMfaType === 'EMAIL' || authMfaType === 'TOTP');\n}\nasync function assertUserNotAuthenticated() {\n let authUser;\n try {\n authUser = await getCurrentUser();\n }\n catch (error) { }\n if (authUser && authUser.userId && authUser.username) {\n throw new AuthError({\n name: USER_ALREADY_AUTHENTICATED_EXCEPTION,\n message: 'There is already a signed in user.',\n recoverySuggestion: 'Call signOut before calling signIn again.',\n });\n }\n}\nfunction getActiveSignInUsername(username) {\n const state = signInStore.getState();\n return state.username ?? username;\n}\nasync function handleMFAChallenge({ challengeName, challengeResponse, clientMetadata, session, username, config, }) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const challengeResponses = {\n USERNAME: username,\n };\n if (challengeName === 'EMAIL_OTP') {\n challengeResponses.EMAIL_OTP_CODE = challengeResponse;\n }\n if (challengeName === 'SMS_MFA') {\n challengeResponses.SMS_MFA_CODE = challengeResponse;\n }\n if (challengeName === 'SMS_OTP') {\n challengeResponses.SMS_OTP_CODE = challengeResponse;\n }\n if (challengeName === 'SOFTWARE_TOKEN_MFA') {\n challengeResponses.SOFTWARE_TOKEN_MFA_CODE = challengeResponse;\n }\n const userContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const jsonReq = {\n ChallengeName: challengeName,\n ChallengeResponses: challengeResponses,\n Session: session,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData: userContextData,\n };\n const respondToAuthChallenge = createRespondToAuthChallengeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n return respondToAuthChallenge({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignIn),\n }, jsonReq);\n}\n\nexport { assertUserNotAuthenticated, createAttributes, getActiveSignInUsername, getAllowedMfaSetupTypes, getMFAType, getMFATypes, getSignInResult, getSignInResultFromError, getTOTPSetupDetails, handleChallengeName, handleCompleteNewPasswordChallenge, handleCustomAuthFlowWithoutSRP, handleCustomChallenge, handleCustomSRPAuthFlow, handleMFAChallenge, handleMFASetupChallenge, handleSelectMFATypeChallenge, handleUserPasswordAuthFlow, handleUserSRPAuthFlow, mapMfaType, parseAttributes, parseMFATypes };\n//# sourceMappingURL=signInHelpers.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { assertServiceError } from '../../../errors/utils/assertServiceError.mjs';\nimport { handleCustomAuthFlowWithoutSRP, getActiveSignInUsername, getSignInResult, getSignInResultFromError } from '../utils/signInHelpers.mjs';\nimport { setActiveSignInState, resetActiveSignInState } from '../../../client/utils/store/signInStore.mjs';\nimport { cacheCognitoTokens } from '../tokenProvider/cacheTokens.mjs';\nimport '../utils/refreshAuthTokens.mjs';\nimport '../tokenProvider/errorHelpers.mjs';\nimport '../utils/types.mjs';\nimport { tokenOrchestrator } from '../tokenProvider/tokenProvider.mjs';\nimport { dispatchSignedInHubEvent } from '../utils/dispatchSignedInHubEvent.mjs';\nimport { retryOnResourceNotFoundException } from '../utils/retryOnResourceNotFoundException.mjs';\nimport { getNewDeviceMetadata } from '../utils/getNewDeviceMetadata.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Signs a user in using a custom authentication flow without password\n *\n * @param input - The SignInWithCustomAuthInput object\n * @returns AuthSignInResult\n * @throws service: {@link InitiateAuthException } - Cognito service errors thrown during the sign-in process.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown when either username or password\n * are not defined.\n * @throws SignInWithCustomAuthOutput - Thrown when the token provider config is invalid.\n */\nasync function signInWithCustomAuth(input) {\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const { username, password, options } = input;\n const signInDetails = {\n loginId: username,\n authFlowType: 'CUSTOM_WITHOUT_SRP',\n };\n const metadata = options?.clientMetadata;\n assertValidationError(!!username, AuthValidationErrorCode.EmptySignInUsername);\n assertValidationError(!password, AuthValidationErrorCode.CustomAuthSignInPassword);\n try {\n const { ChallengeName: retriedChallengeName, ChallengeParameters: retiredChallengeParameters, AuthenticationResult, Session, } = await retryOnResourceNotFoundException(handleCustomAuthFlowWithoutSRP, [username, metadata, authConfig, tokenOrchestrator], username, tokenOrchestrator);\n const activeUsername = getActiveSignInUsername(username);\n // sets up local state used during the sign-in process\n setActiveSignInState({\n signInSession: Session,\n username: activeUsername,\n challengeName: retriedChallengeName,\n signInDetails,\n });\n if (AuthenticationResult) {\n await cacheCognitoTokens({\n username: activeUsername,\n ...AuthenticationResult,\n NewDeviceMetadata: await getNewDeviceMetadata({\n userPoolId: authConfig.userPoolId,\n userPoolEndpoint: authConfig.userPoolEndpoint,\n newDeviceMetadata: AuthenticationResult.NewDeviceMetadata,\n accessToken: AuthenticationResult.AccessToken,\n }),\n signInDetails,\n });\n resetActiveSignInState();\n await dispatchSignedInHubEvent();\n return {\n isSignedIn: true,\n nextStep: { signInStep: 'DONE' },\n };\n }\n return getSignInResult({\n challengeName: retriedChallengeName,\n challengeParameters: retiredChallengeParameters,\n });\n }\n catch (error) {\n resetActiveSignInState();\n assertServiceError(error);\n const result = getSignInResultFromError(error.name);\n if (result)\n return result;\n throw error;\n }\n}\n\nexport { signInWithCustomAuth };\n//# sourceMappingURL=signInWithCustomAuth.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { assertServiceError } from '../../../errors/utils/assertServiceError.mjs';\nimport { handleCustomSRPAuthFlow, getActiveSignInUsername, getSignInResult, getSignInResultFromError } from '../utils/signInHelpers.mjs';\nimport { setActiveSignInState, resetActiveSignInState } from '../../../client/utils/store/signInStore.mjs';\nimport { cacheCognitoTokens } from '../tokenProvider/cacheTokens.mjs';\nimport '../utils/refreshAuthTokens.mjs';\nimport '../tokenProvider/errorHelpers.mjs';\nimport '../utils/types.mjs';\nimport { tokenOrchestrator } from '../tokenProvider/tokenProvider.mjs';\nimport { dispatchSignedInHubEvent } from '../utils/dispatchSignedInHubEvent.mjs';\nimport { getNewDeviceMetadata } from '../utils/getNewDeviceMetadata.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Signs a user in using a custom authentication flow with SRP\n *\n * @param input - The SignInWithCustomSRPAuthInput object\n * @returns SignInWithCustomSRPAuthOutput\n * @throws service: {@link InitiateAuthException }, {@link RespondToAuthChallengeException } - Cognito\n * service errors thrown during the sign-in process.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown when either username or password\n * are not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function signInWithCustomSRPAuth(input) {\n const { username, password, options } = input;\n const signInDetails = {\n loginId: username,\n authFlowType: 'CUSTOM_WITH_SRP',\n };\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const metadata = options?.clientMetadata;\n assertValidationError(!!username, AuthValidationErrorCode.EmptySignInUsername);\n assertValidationError(!!password, AuthValidationErrorCode.EmptySignInPassword);\n try {\n const { ChallengeName: handledChallengeName, ChallengeParameters: handledChallengeParameters, AuthenticationResult, Session, } = await handleCustomSRPAuthFlow(username, password, metadata, authConfig, tokenOrchestrator);\n const activeUsername = getActiveSignInUsername(username);\n // sets up local state used during the sign-in process\n setActiveSignInState({\n signInSession: Session,\n username: activeUsername,\n challengeName: handledChallengeName,\n signInDetails,\n });\n if (AuthenticationResult) {\n await cacheCognitoTokens({\n username: activeUsername,\n ...AuthenticationResult,\n NewDeviceMetadata: await getNewDeviceMetadata({\n userPoolId: authConfig.userPoolId,\n userPoolEndpoint: authConfig.userPoolEndpoint,\n newDeviceMetadata: AuthenticationResult.NewDeviceMetadata,\n accessToken: AuthenticationResult.AccessToken,\n }),\n signInDetails,\n });\n resetActiveSignInState();\n await dispatchSignedInHubEvent();\n return {\n isSignedIn: true,\n nextStep: { signInStep: 'DONE' },\n };\n }\n return getSignInResult({\n challengeName: handledChallengeName,\n challengeParameters: handledChallengeParameters,\n });\n }\n catch (error) {\n resetActiveSignInState();\n assertServiceError(error);\n const result = getSignInResultFromError(error.name);\n if (result)\n return result;\n throw error;\n }\n}\n\nexport { signInWithCustomSRPAuth };\n//# sourceMappingURL=signInWithCustomSRPAuth.mjs.map\n","import { autoSignInStore } from '../../../client/utils/store/autoSignInStore.mjs';\nimport '../../../client/utils/store/signInStore.mjs';\nimport { AuthError } from '../../../errors/AuthError.mjs';\nimport { AUTO_SIGN_IN_EXCEPTION } from '../../../errors/constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst initialAutoSignIn = async () => {\n throw new AuthError({\n name: AUTO_SIGN_IN_EXCEPTION,\n message: 'The autoSignIn flow has not started, or has been cancelled/completed.',\n recoverySuggestion: 'Please try to use the signIn API or log out before starting a new autoSignIn flow.',\n });\n};\n/**\n * Signs a user in automatically after finishing the sign-up process.\n *\n * This API will automatically sign a user in if the autoSignIn flow has been completed in the following cases:\n * - User confirmed their account with a verification code sent to their phone or email (default option).\n * - User confirmed their account with a verification link sent to their phone or email. In order to\n * enable this option you need to go to the Amazon Cognito [console](https://aws.amazon.com/pm/cognito),\n * look for your userpool, then go to the `Messaging` tab and enable `link` mode inside the `Verification message` option.\n * Finally you need to define the `signUpVerificationMethod` in your `Auth` config.\n *\n * @example\n * ```typescript\n * Amplify.configure({\n * Auth: {\n * Cognito: {\n * ...cognitoConfig,\n * signUpVerificationMethod: \"link\" // the default value is \"code\"\n * }\n *\t}});\n * ```\n *\n * @throws AutoSignInException - Thrown when the autoSignIn flow has not started, or has been cancelled/completed.\n * @returns The signInOutput.\n *\n * @example\n * ```typescript\n * // handleSignUp.ts\n * async function handleSignUp(\n * username:string,\n * password:string\n * ){\n * try {\n * const { nextStep } = await signUp({\n * username,\n * password,\n * options: {\n * userAttributes:{ email:'email@email.com'},\n * autoSignIn: true // This enables the auto sign-in flow.\n * },\n * });\n *\n * handleSignUpStep(nextStep);\n *\n * } catch (error) {\n * console.log(error);\n * }\n * }\n *\n * // handleConfirmSignUp.ts\n * async function handleConfirmSignUp(username:string, confirmationCode:string) {\n * try {\n * const { nextStep } = await confirmSignUp({\n * username,\n * confirmationCode,\n * });\n *\n * handleSignUpStep(nextStep);\n * } catch (error) {\n * console.log(error);\n * }\n * }\n *\n * // signUpUtils.ts\n * async function handleSignUpStep( step: SignUpOutput[\"nextStep\"]) {\n * switch (step.signUpStep) {\n * case \"CONFIRM_SIGN_UP\":\n *\n * // Redirect end-user to confirm-sign up screen.\n *\n * case \"COMPLETE_AUTO_SIGN_IN\":\n *\t const codeDeliveryDetails = step.codeDeliveryDetails;\n * if (codeDeliveryDetails) {\n * // Redirect user to confirm-sign-up with link screen.\n * }\n * const signInOutput = await autoSignIn();\n * // handle sign-in steps\n * }\n *\n * ```\n */\n// TODO(Eslint): can this be refactored not using `let` on exported member?\n// eslint-disable-next-line import/no-mutable-exports\nlet autoSignIn = initialAutoSignIn;\n/**\n * Sets the context of autoSignIn at run time.\n * @internal\n */\nfunction setAutoSignIn(callback) {\n autoSignIn = callback;\n}\n/**\n * Resets the context\n *\n * @internal\n */\nfunction resetAutoSignIn(resetCallback = true) {\n if (resetCallback) {\n autoSignIn = initialAutoSignIn;\n }\n autoSignInStore.dispatch({ type: 'RESET' });\n}\n\nexport { autoSignIn, resetAutoSignIn, setAutoSignIn };\n//# sourceMappingURL=autoSignIn.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { assertServiceError } from '../../../errors/utils/assertServiceError.mjs';\nimport { handleUserSRPAuthFlow, getActiveSignInUsername, getSignInResult, getSignInResultFromError } from '../utils/signInHelpers.mjs';\nimport { setActiveSignInState, resetActiveSignInState } from '../../../client/utils/store/signInStore.mjs';\nimport { cacheCognitoTokens } from '../tokenProvider/cacheTokens.mjs';\nimport '../utils/refreshAuthTokens.mjs';\nimport '../tokenProvider/errorHelpers.mjs';\nimport '../utils/types.mjs';\nimport { tokenOrchestrator } from '../tokenProvider/tokenProvider.mjs';\nimport { dispatchSignedInHubEvent } from '../utils/dispatchSignedInHubEvent.mjs';\nimport { getNewDeviceMetadata } from '../utils/getNewDeviceMetadata.mjs';\nimport { resetAutoSignIn } from './autoSignIn.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Signs a user in\n *\n * @param input - The SignInWithSRPInput object\n * @returns SignInWithSRPOutput\n * @throws service: {@link InitiateAuthException }, {@link RespondToAuthChallengeException } - Cognito service errors\n * thrown during the sign-in process.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown when either username or password\n * are not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function signInWithSRP(input) {\n const { username, password } = input;\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n const signInDetails = {\n loginId: username,\n authFlowType: 'USER_SRP_AUTH',\n };\n assertTokenProviderConfig(authConfig);\n const clientMetaData = input.options?.clientMetadata;\n assertValidationError(!!username, AuthValidationErrorCode.EmptySignInUsername);\n assertValidationError(!!password, AuthValidationErrorCode.EmptySignInPassword);\n try {\n const { ChallengeName: handledChallengeName, ChallengeParameters: handledChallengeParameters, AuthenticationResult, Session, } = await handleUserSRPAuthFlow(username, password, clientMetaData, authConfig, tokenOrchestrator);\n const activeUsername = getActiveSignInUsername(username);\n // sets up local state used during the sign-in process\n setActiveSignInState({\n signInSession: Session,\n username: activeUsername,\n challengeName: handledChallengeName,\n signInDetails,\n });\n if (AuthenticationResult) {\n await cacheCognitoTokens({\n username: activeUsername,\n ...AuthenticationResult,\n NewDeviceMetadata: await getNewDeviceMetadata({\n userPoolId: authConfig.userPoolId,\n userPoolEndpoint: authConfig.userPoolEndpoint,\n newDeviceMetadata: AuthenticationResult.NewDeviceMetadata,\n accessToken: AuthenticationResult.AccessToken,\n }),\n signInDetails,\n });\n resetActiveSignInState();\n await dispatchSignedInHubEvent();\n resetAutoSignIn();\n return {\n isSignedIn: true,\n nextStep: { signInStep: 'DONE' },\n };\n }\n return getSignInResult({\n challengeName: handledChallengeName,\n challengeParameters: handledChallengeParameters,\n });\n }\n catch (error) {\n resetActiveSignInState();\n resetAutoSignIn();\n assertServiceError(error);\n const result = getSignInResultFromError(error.name);\n if (result)\n return result;\n throw error;\n }\n}\n\nexport { signInWithSRP };\n//# sourceMappingURL=signInWithSRP.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertServiceError } from '../../../errors/utils/assertServiceError.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { handleUserPasswordAuthFlow, getActiveSignInUsername, getSignInResult, getSignInResultFromError } from '../utils/signInHelpers.mjs';\nimport { setActiveSignInState, resetActiveSignInState } from '../../../client/utils/store/signInStore.mjs';\nimport { cacheCognitoTokens } from '../tokenProvider/cacheTokens.mjs';\nimport '../utils/refreshAuthTokens.mjs';\nimport '../tokenProvider/errorHelpers.mjs';\nimport '../utils/types.mjs';\nimport { tokenOrchestrator } from '../tokenProvider/tokenProvider.mjs';\nimport { dispatchSignedInHubEvent } from '../utils/dispatchSignedInHubEvent.mjs';\nimport { retryOnResourceNotFoundException } from '../utils/retryOnResourceNotFoundException.mjs';\nimport { getNewDeviceMetadata } from '../utils/getNewDeviceMetadata.mjs';\nimport { resetAutoSignIn } from './autoSignIn.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Signs a user in using USER_PASSWORD_AUTH AuthFlowType\n *\n * @param input - The SignInWithUserPasswordInput object\n * @returns SignInWithUserPasswordOutput\n * @throws service: {@link InitiateAuthException } - Cognito service error thrown during the sign-in process.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown when either username or password\n * are not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function signInWithUserPassword(input) {\n const { username, password, options } = input;\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n const signInDetails = {\n loginId: username,\n authFlowType: 'USER_PASSWORD_AUTH',\n };\n assertTokenProviderConfig(authConfig);\n const metadata = options?.clientMetadata;\n assertValidationError(!!username, AuthValidationErrorCode.EmptySignInUsername);\n assertValidationError(!!password, AuthValidationErrorCode.EmptySignInPassword);\n try {\n const { ChallengeName: retiredChallengeName, ChallengeParameters: retriedChallengeParameters, AuthenticationResult, Session, } = await retryOnResourceNotFoundException(handleUserPasswordAuthFlow, [username, password, metadata, authConfig, tokenOrchestrator], username, tokenOrchestrator);\n const activeUsername = getActiveSignInUsername(username);\n // sets up local state used during the sign-in process\n setActiveSignInState({\n signInSession: Session,\n username: activeUsername,\n challengeName: retiredChallengeName,\n signInDetails,\n });\n if (AuthenticationResult) {\n await cacheCognitoTokens({\n ...AuthenticationResult,\n username: activeUsername,\n NewDeviceMetadata: await getNewDeviceMetadata({\n userPoolId: authConfig.userPoolId,\n userPoolEndpoint: authConfig.userPoolEndpoint,\n newDeviceMetadata: AuthenticationResult.NewDeviceMetadata,\n accessToken: AuthenticationResult.AccessToken,\n }),\n signInDetails,\n });\n resetActiveSignInState();\n await dispatchSignedInHubEvent();\n resetAutoSignIn();\n return {\n isSignedIn: true,\n nextStep: { signInStep: 'DONE' },\n };\n }\n return getSignInResult({\n challengeName: retiredChallengeName,\n challengeParameters: retriedChallengeParameters,\n });\n }\n catch (error) {\n resetActiveSignInState();\n resetAutoSignIn();\n assertServiceError(error);\n const result = getSignInResultFromError(error.name);\n if (result)\n return result;\n throw error;\n }\n}\n\nexport { signInWithUserPassword };\n//# sourceMappingURL=signInWithUserPassword.mjs.map\n","import { AuthAction } from '@aws-amplify/core/internals/utils';\nimport { getUserContextData } from '../../../providers/cognito/utils/userContextData.mjs';\nimport { createInitiateAuthClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createInitiateAuthClient.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport '../../../providers/cognito/types/errors.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../../../providers/cognito/factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { handlePasswordSRP } from '../shared/handlePasswordSRP.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { setActiveSignInUsername } from '../../../providers/cognito/utils/setActiveSignInUsername.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Handles user authentication flow with configurable challenge preferences.\n * Supports AuthFactorType challenges through the USER_AUTH flow.\n *\n * @param {HandleUserAuthFlowInput} params - Authentication flow parameters\n * @param {string} params.username - The username for authentication\n * @param {Record} [params.clientMetadata] - Optional metadata to pass to authentication service\n * @param {CognitoUserPoolConfig} params.config - Cognito User Pool configuration\n * @param {AuthTokenOrchestrator} params.tokenOrchestrator - Manages authentication tokens and device tracking\n * @param {AuthFactorType} [params.preferredChallenge] - Optional preferred authentication method\n * @param {string} [params.password] - Required when preferredChallenge is 'PASSWORD' or 'PASSWORD_SRP'\n *\n * @returns {Promise} The authentication response from Cognito\n */\nasync function handleUserAuthFlow({ username, clientMetadata, config, tokenOrchestrator, preferredChallenge, password, session, }) {\n const { userPoolId, userPoolClientId, userPoolEndpoint } = config;\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const authParameters = { USERNAME: username };\n if (preferredChallenge) {\n if (preferredChallenge === 'PASSWORD_SRP') {\n assertValidationError(!!password, AuthValidationErrorCode.EmptySignInPassword);\n return handlePasswordSRP({\n username,\n password,\n clientMetadata,\n config,\n tokenOrchestrator,\n authFlow: 'USER_AUTH',\n preferredChallenge,\n });\n }\n if (preferredChallenge === 'PASSWORD') {\n assertValidationError(!!password, AuthValidationErrorCode.EmptySignInPassword);\n authParameters.PASSWORD = password;\n }\n authParameters.PREFERRED_CHALLENGE = preferredChallenge;\n }\n const jsonReq = {\n AuthFlow: 'USER_AUTH',\n AuthParameters: authParameters,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n };\n if (session) {\n jsonReq.Session = session;\n }\n const initiateAuth = createInitiateAuthClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const response = await initiateAuth({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.SignIn),\n }, jsonReq);\n // Set the active username immediately after successful authentication attempt\n // If a user starts a new sign-in while another sign-in is incomplete,\n // this ensures we're tracking the correct user for subsequent auth challenges.\n setActiveSignInUsername(username);\n return response;\n}\n\nexport { handleUserAuthFlow };\n//# sourceMappingURL=handleUserAuthFlow.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { assertServiceError } from '../../../errors/utils/assertServiceError.mjs';\nimport { getActiveSignInUsername, getSignInResult, getSignInResultFromError } from '../utils/signInHelpers.mjs';\nimport { autoSignInStore } from '../../../client/utils/store/autoSignInStore.mjs';\nimport { setActiveSignInState, resetActiveSignInState } from '../../../client/utils/store/signInStore.mjs';\nimport { cacheCognitoTokens } from '../tokenProvider/cacheTokens.mjs';\nimport { dispatchSignedInHubEvent } from '../utils/dispatchSignedInHubEvent.mjs';\nimport '../utils/refreshAuthTokens.mjs';\nimport '../tokenProvider/errorHelpers.mjs';\nimport '../utils/types.mjs';\nimport { tokenOrchestrator } from '../tokenProvider/tokenProvider.mjs';\nimport { handleUserAuthFlow } from '../../../client/flows/userAuth/handleUserAuthFlow.mjs';\nimport { getNewDeviceMetadata } from '../utils/getNewDeviceMetadata.mjs';\nimport { resetAutoSignIn } from './autoSignIn.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Signs a user in through a registered email or phone number without a password by by receiving and entering an OTP.\n *\n * @param input - The SignInWithUserAuthInput object\n * @returns SignInWithUserAuthOutput\n * @throws service: {@link InitiateAuthException }, {@link RespondToAuthChallengeException } - Cognito service errors\n * thrown during the sign-in process.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown when either username or password -- needs to change\n * are not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function signInWithUserAuth(input) {\n const { username, password, options } = input;\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n const signInDetails = {\n loginId: username,\n authFlowType: 'USER_AUTH',\n };\n assertTokenProviderConfig(authConfig);\n const clientMetaData = options?.clientMetadata;\n const preferredChallenge = options?.preferredChallenge;\n assertValidationError(!!username, AuthValidationErrorCode.EmptySignInUsername);\n try {\n const handleUserAuthFlowInput = {\n username,\n config: authConfig,\n tokenOrchestrator,\n clientMetadata: clientMetaData,\n preferredChallenge,\n password,\n };\n const autoSignInStoreState = autoSignInStore.getState();\n if (autoSignInStoreState.active &&\n autoSignInStoreState.username === username) {\n handleUserAuthFlowInput.session = autoSignInStoreState.session;\n }\n const response = await handleUserAuthFlow(handleUserAuthFlowInput);\n const activeUsername = getActiveSignInUsername(username);\n setActiveSignInState({\n signInSession: response.Session,\n username: activeUsername,\n challengeName: response.ChallengeName,\n signInDetails,\n });\n if (response.AuthenticationResult) {\n await cacheCognitoTokens({\n username: activeUsername,\n ...response.AuthenticationResult,\n NewDeviceMetadata: await getNewDeviceMetadata({\n userPoolId: authConfig.userPoolId,\n userPoolEndpoint: authConfig.userPoolEndpoint,\n newDeviceMetadata: response.AuthenticationResult.NewDeviceMetadata,\n accessToken: response.AuthenticationResult.AccessToken,\n }),\n signInDetails,\n });\n resetActiveSignInState();\n await dispatchSignedInHubEvent();\n resetAutoSignIn();\n return {\n isSignedIn: true,\n nextStep: { signInStep: 'DONE' },\n };\n }\n return getSignInResult({\n challengeName: response.ChallengeName,\n challengeParameters: response.ChallengeParameters,\n availableChallenges: 'AvailableChallenges' in response\n ? response.AvailableChallenges\n : undefined,\n });\n }\n catch (error) {\n resetActiveSignInState();\n resetAutoSignIn();\n assertServiceError(error);\n const result = getSignInResultFromError(error.name);\n if (result)\n return result;\n throw error;\n }\n}\n\nexport { signInWithUserAuth };\n//# sourceMappingURL=signInWithUserAuth.mjs.map\n","import { assertUserNotAuthenticated } from '../utils/signInHelpers.mjs';\nimport { signInWithCustomAuth } from './signInWithCustomAuth.mjs';\nimport { signInWithCustomSRPAuth } from './signInWithCustomSRPAuth.mjs';\nimport { signInWithSRP } from './signInWithSRP.mjs';\nimport { signInWithUserPassword } from './signInWithUserPassword.mjs';\nimport { signInWithUserAuth } from './signInWithUserAuth.mjs';\nimport { resetAutoSignIn } from './autoSignIn.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Signs a user in\n *\n * @param input - The SignInInput object\n * @returns SignInOutput\n * @throws service: {@link InitiateAuthException }, {@link RespondToAuthChallengeException }\n * - Cognito service errors thrown during the sign-in process.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown when either username or password\n * are not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function signIn(input) {\n // Here we want to reset the store but not reassign the callback.\n // The callback is reset when the underlying promise resolves or rejects.\n // With the advent of session based sign in, this guarantees that the signIn API initiates a new auth flow,\n // regardless of whether it is called for a user currently engaged in an active auto sign in session.\n resetAutoSignIn(false);\n const authFlowType = input.options?.authFlowType;\n await assertUserNotAuthenticated();\n switch (authFlowType) {\n case 'USER_SRP_AUTH':\n return signInWithSRP(input);\n case 'USER_PASSWORD_AUTH':\n return signInWithUserPassword(input);\n case 'CUSTOM_WITHOUT_SRP':\n return signInWithCustomAuth(input);\n case 'CUSTOM_WITH_SRP':\n return signInWithCustomSRPAuth(input);\n case 'USER_AUTH':\n return signInWithUserAuth(input);\n default:\n return signInWithSRP(input);\n }\n}\n\nexport { signIn };\n//# sourceMappingURL=signIn.mjs.map\n","import { HubInternal } from '@aws-amplify/core/internals/utils';\nimport { signIn } from '../apis/signIn.mjs';\nimport { AuthError } from '../../../errors/AuthError.mjs';\nimport { setAutoSignIn, resetAutoSignIn } from '../apis/autoSignIn.mjs';\nimport { AUTO_SIGN_IN_EXCEPTION } from '../../../errors/constants.mjs';\nimport { signInWithUserAuth } from '../apis/signInWithUserAuth.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst MAX_AUTOSIGNIN_POLLING_MS = 3 * 60 * 1000;\nfunction handleCodeAutoSignIn(signInInput) {\n const stopHubListener = HubInternal.listen('auth-internal', async ({ payload }) => {\n switch (payload.event) {\n case 'confirmSignUp': {\n const response = payload.data;\n if (response?.isSignUpComplete) {\n HubInternal.dispatch('auth-internal', {\n event: 'autoSignIn',\n });\n setAutoSignIn(autoSignInWithCode(signInInput));\n stopHubListener();\n }\n }\n }\n });\n // This will stop the listener if confirmSignUp is not resolved.\n const timeOutId = setTimeout(() => {\n stopHubListener();\n clearTimeout(timeOutId);\n resetAutoSignIn();\n }, MAX_AUTOSIGNIN_POLLING_MS);\n}\nfunction debounce(fun, delay) {\n let timer;\n return (args) => {\n if (!timer) {\n fun(...args);\n }\n clearTimeout(timer);\n timer = setTimeout(() => {\n timer = undefined;\n }, delay);\n };\n}\nfunction handleAutoSignInWithLink(signInInput, resolve, reject) {\n const start = Date.now();\n const autoSignInPollingIntervalId = setInterval(async () => {\n const elapsedTime = Date.now() - start;\n const maxTime = MAX_AUTOSIGNIN_POLLING_MS;\n if (elapsedTime > maxTime) {\n clearInterval(autoSignInPollingIntervalId);\n reject(new AuthError({\n name: AUTO_SIGN_IN_EXCEPTION,\n message: 'The account was not confirmed on time.',\n recoverySuggestion: 'Try to verify your account by clicking the link sent your email or phone and then login manually.',\n }));\n resetAutoSignIn();\n }\n else {\n try {\n const signInOutput = await signIn(signInInput);\n if (signInOutput.nextStep.signInStep !== 'CONFIRM_SIGN_UP') {\n resolve(signInOutput);\n clearInterval(autoSignInPollingIntervalId);\n resetAutoSignIn();\n }\n }\n catch (error) {\n clearInterval(autoSignInPollingIntervalId);\n reject(error);\n resetAutoSignIn();\n }\n }\n }, 5000);\n}\nconst debouncedAutoSignInWithLink = debounce(handleAutoSignInWithLink, 300);\nconst debouncedAutoSignWithCodeOrUserConfirmed = debounce(handleAutoSignInWithCodeOrUserConfirmed, 300);\nfunction autoSignInWhenUserIsConfirmedWithLink(signInInput) {\n return async () => {\n return new Promise((resolve, reject) => {\n debouncedAutoSignInWithLink([signInInput, resolve, reject]);\n });\n };\n}\nasync function handleAutoSignInWithCodeOrUserConfirmed(signInInput, resolve, reject) {\n try {\n const output = signInInput?.options?.authFlowType === 'USER_AUTH'\n ? await signInWithUserAuth(signInInput)\n : await signIn(signInInput);\n resolve(output);\n resetAutoSignIn();\n }\n catch (error) {\n reject(error);\n resetAutoSignIn();\n }\n}\nfunction autoSignInWithCode(signInInput) {\n return async () => {\n return new Promise((resolve, reject) => {\n debouncedAutoSignWithCodeOrUserConfirmed([signInInput, resolve, reject]);\n });\n };\n}\nconst autoSignInUserConfirmed = autoSignInWithCode;\n\nexport { autoSignInUserConfirmed, autoSignInWhenUserIsConfirmedWithLink, handleCodeAutoSignIn };\n//# sourceMappingURL=signUpHelpers.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { parseJsonError, parseJsonBody } from '@aws-amplify/core/internals/aws-client-utils';\nimport { validationErrorMap } from '../../../../common/AuthErrorStrings.mjs';\nimport { AuthError } from '../../../../errors/AuthError.mjs';\nimport { AuthValidationErrorCode } from '../../../../errors/types/validation.mjs';\nimport { assertServiceError } from '../../../../errors/utils/assertServiceError.mjs';\nimport { SignUpException } from '../../../../providers/cognito/types/errors.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createSignUpClientDeserializer = () => async (response) => {\n if (response.statusCode >= 300) {\n const error = await parseJsonError(response);\n assertServiceError(error);\n if (\n // Missing Password Error\n // 1 validation error detected: Value at 'password'failed to satisfy constraint: Member must not be null\n error.name === SignUpException.InvalidParameterException &&\n /'password'/.test(error.message) &&\n /Member must not be null/.test(error.message)) {\n const name = AuthValidationErrorCode.EmptySignUpPassword;\n const { message, recoverySuggestion } = validationErrorMap[name];\n throw new AuthError({\n name,\n message,\n recoverySuggestion,\n });\n }\n throw new AuthError({ name: error.name, message: error.message });\n }\n return parseJsonBody(response);\n};\nconst createSignUpClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('SignUp'), createSignUpClientDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createSignUpClient, createSignUpClientDeserializer };\n//# sourceMappingURL=createSignUpClient.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { toAttributeType } from '../utils/apiHelpers.mjs';\nimport { handleCodeAutoSignIn, autoSignInUserConfirmed, autoSignInWhenUserIsConfirmedWithLink } from '../utils/signUpHelpers.mjs';\nimport { getUserContextData } from '../utils/userContextData.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport { createSignUpClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createSignUpClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { autoSignInStore } from '../../../client/utils/store/autoSignInStore.mjs';\nimport '../../../client/utils/store/signInStore.mjs';\nimport { setAutoSignIn } from './autoSignIn.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Creates a user\n *\n * @param input - The SignUpInput object\n * @returns SignUpOutput\n * @throws service: {@link SignUpException } - Cognito service errors thrown during the sign-up process.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown either username or password\n * are not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function signUp(input) {\n const { username, password, options } = input;\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n const signUpVerificationMethod = authConfig?.signUpVerificationMethod ?? 'code';\n const { clientMetadata, validationData, autoSignIn } = input.options ?? {};\n assertTokenProviderConfig(authConfig);\n assertValidationError(!!username, AuthValidationErrorCode.EmptySignUpUsername);\n const signInServiceOptions = typeof autoSignIn !== 'boolean' ? autoSignIn : undefined;\n const signInInput = {\n username,\n options: signInServiceOptions,\n };\n // if the authFlowType is 'CUSTOM_WITHOUT_SRP' then we don't include the password\n if (signInServiceOptions?.authFlowType !== 'CUSTOM_WITHOUT_SRP') {\n signInInput.password = password;\n }\n const { userPoolId, userPoolClientId, userPoolEndpoint } = authConfig;\n const signUpClient = createSignUpClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const signUpClientInput = {\n Username: username,\n Password: undefined,\n UserAttributes: options?.userAttributes && toAttributeType(options?.userAttributes),\n ClientMetadata: clientMetadata,\n ValidationData: validationData && toAttributeType(validationData),\n ClientId: userPoolClientId,\n UserContextData: getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n }),\n };\n if (password) {\n signUpClientInput.Password = password;\n }\n const { UserSub: userId, CodeDeliveryDetails: cdd, UserConfirmed: userConfirmed, Session: session, } = await signUpClient({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.SignUp),\n }, signUpClientInput);\n if (signInServiceOptions || autoSignIn === true) {\n autoSignInStore.dispatch({ type: 'START' });\n autoSignInStore.dispatch({ type: 'SET_USERNAME', value: username });\n autoSignInStore.dispatch({ type: 'SET_SESSION', value: session });\n }\n const codeDeliveryDetails = {\n destination: cdd?.Destination,\n deliveryMedium: cdd?.DeliveryMedium,\n attributeName: cdd?.AttributeName,\n };\n const isSignUpComplete = !!userConfirmed;\n const isAutoSignInStarted = autoSignInStore.getState().active;\n // Sign Up Complete\n // No Confirm Sign In Step Required\n if (isSignUpComplete) {\n if (isAutoSignInStarted) {\n setAutoSignIn(autoSignInUserConfirmed(signInInput));\n return {\n isSignUpComplete: true,\n nextStep: {\n signUpStep: 'COMPLETE_AUTO_SIGN_IN',\n },\n userId,\n };\n }\n return {\n isSignUpComplete: true,\n nextStep: {\n signUpStep: 'DONE',\n },\n userId,\n };\n }\n // Sign Up Not Complete\n // Confirm Sign Up Step Required\n if (isAutoSignInStarted) {\n // Confirmation Via Link Occurs In Separate Context\n // AutoSignIn Fn Will Initiate Polling Once Executed\n if (signUpVerificationMethod === 'link') {\n setAutoSignIn(autoSignInWhenUserIsConfirmedWithLink(signInInput));\n return {\n isSignUpComplete: false,\n nextStep: {\n signUpStep: 'COMPLETE_AUTO_SIGN_IN',\n codeDeliveryDetails,\n },\n userId,\n };\n }\n // Confirmation Via Code Occurs In Same Context\n // AutoSignIn Next Step Will Be Returned From Confirm Sign Up\n handleCodeAutoSignIn(signInInput);\n }\n return {\n isSignUpComplete: false,\n nextStep: {\n signUpStep: 'CONFIRM_SIGN_UP',\n codeDeliveryDetails,\n },\n userId,\n };\n}\n\nexport { signUp };\n//# sourceMappingURL=signUp.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createForgotPasswordClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('ForgotPassword'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createForgotPasswordClient };\n//# sourceMappingURL=createForgotPasswordClient.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { getUserContextData } from '../utils/userContextData.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../types/errors.mjs';\nimport { createForgotPasswordClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createForgotPasswordClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Resets a user's password.\n *\n * @param input - The ResetPasswordInput object.\n * @returns ResetPasswordOutput\n * @throws -{@link ForgotPasswordException }\n * Thrown due to an invalid confirmation code or password.\n * @throws -{@link AuthValidationErrorCode }\n * Thrown due to an empty username.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n **/\nasync function resetPassword(input) {\n const { username } = input;\n assertValidationError(!!username, AuthValidationErrorCode.EmptyResetPasswordUsername);\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const { userPoolClientId, userPoolId, userPoolEndpoint } = authConfig;\n const clientMetadata = input.options?.clientMetadata;\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const forgotPassword = createForgotPasswordClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const res = await forgotPassword({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ResetPassword),\n }, {\n Username: username,\n ClientMetadata: clientMetadata,\n ClientId: userPoolClientId,\n UserContextData,\n });\n const codeDeliveryDetails = res.CodeDeliveryDetails;\n return {\n isPasswordReset: false,\n nextStep: {\n resetPasswordStep: 'CONFIRM_RESET_PASSWORD_WITH_CODE',\n codeDeliveryDetails: {\n deliveryMedium: codeDeliveryDetails?.DeliveryMedium,\n destination: codeDeliveryDetails?.Destination,\n attributeName: codeDeliveryDetails?.AttributeName,\n },\n },\n };\n}\n\nexport { resetPassword };\n//# sourceMappingURL=resetPassword.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createConfirmForgotPasswordClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('ConfirmForgotPassword'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createConfirmForgotPasswordClient };\n//# sourceMappingURL=createConfirmForgotPasswordClient.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { getUserContextData } from '../utils/userContextData.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../types/errors.mjs';\nimport { createConfirmForgotPasswordClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createConfirmForgotPasswordClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Confirms the new password and verification code to reset the password.\n *\n * @param input - The ConfirmResetPasswordInput object.\n * @throws -{@link ConfirmForgotPasswordException }\n * Thrown due to an invalid confirmation code or password.\n * @throws -{@link AuthValidationErrorCode }\n * Thrown due to an empty confirmation code, password or username.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function confirmResetPassword(input) {\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const { userPoolClientId, userPoolId, userPoolEndpoint } = authConfig;\n const { username, newPassword } = input;\n assertValidationError(!!username, AuthValidationErrorCode.EmptyConfirmResetPasswordUsername);\n assertValidationError(!!newPassword, AuthValidationErrorCode.EmptyConfirmResetPasswordNewPassword);\n const code = input.confirmationCode;\n assertValidationError(!!code, AuthValidationErrorCode.EmptyConfirmResetPasswordConfirmationCode);\n const metadata = input.options?.clientMetadata;\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const confirmForgotPassword = createConfirmForgotPasswordClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n await confirmForgotPassword({\n region: getRegionFromUserPoolId(authConfig.userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmResetPassword),\n }, {\n Username: username,\n ConfirmationCode: code,\n Password: newPassword,\n ClientMetadata: metadata,\n ClientId: authConfig.userPoolClientId,\n UserContextData,\n });\n}\n\nexport { confirmResetPassword };\n//# sourceMappingURL=confirmResetPassword.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createResendConfirmationCodeClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('ResendConfirmationCode'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createResendConfirmationCodeClient };\n//# sourceMappingURL=createResendConfirmationCodeClient.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { getUserContextData } from '../utils/userContextData.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../types/errors.mjs';\nimport { createResendConfirmationCodeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createResendConfirmationCodeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Resend the confirmation code while signing up\n *\n * @param input - The ResendSignUpCodeInput object\n * @returns ResendSignUpCodeOutput\n * @throws service: {@link ResendConfirmationException } - Cognito service errors thrown when resending the code.\n * @throws validation: {@link AuthValidationErrorCode } - Validation errors thrown either username are not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function resendSignUpCode(input) {\n const { username } = input;\n assertValidationError(!!username, AuthValidationErrorCode.EmptySignUpUsername);\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const { userPoolClientId, userPoolId, userPoolEndpoint } = authConfig;\n const clientMetadata = input.options?.clientMetadata;\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const resendConfirmationCode = createResendConfirmationCodeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const { CodeDeliveryDetails } = await resendConfirmationCode({\n region: getRegionFromUserPoolId(authConfig.userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ResendSignUpCode),\n }, {\n Username: username,\n ClientMetadata: clientMetadata,\n ClientId: authConfig.userPoolClientId,\n UserContextData,\n });\n const { DeliveryMedium, AttributeName, Destination } = {\n ...CodeDeliveryDetails,\n };\n return {\n destination: Destination,\n deliveryMedium: DeliveryMedium,\n attributeName: AttributeName\n ? AttributeName\n : undefined,\n };\n}\n\nexport { resendSignUpCode };\n//# sourceMappingURL=resendSignUpCode.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createConfirmSignUpClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('ConfirmSignUp'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createConfirmSignUpClient };\n//# sourceMappingURL=createConfirmSignUpClient.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction, HubInternal } from '@aws-amplify/core/internals/utils';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { getUserContextData } from '../utils/userContextData.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../types/errors.mjs';\nimport { createConfirmSignUpClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createConfirmSignUpClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\nimport { autoSignInStore } from '../../../client/utils/store/autoSignInStore.mjs';\nimport '../../../client/utils/store/signInStore.mjs';\nimport { resetAutoSignIn } from './autoSignIn.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Confirms a new user account.\n *\n * @param input - The ConfirmSignUpInput object.\n * @returns ConfirmSignUpOutput\n * @throws -{@link ConfirmSignUpException }\n * Thrown due to an invalid confirmation code.\n * @throws -{@link AuthValidationErrorCode }\n * Thrown due to an empty confirmation code\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function confirmSignUp(input) {\n const { username, confirmationCode, options } = input;\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const { userPoolId, userPoolClientId, userPoolEndpoint } = authConfig;\n const clientMetadata = options?.clientMetadata;\n assertValidationError(!!username, AuthValidationErrorCode.EmptyConfirmSignUpUsername);\n assertValidationError(!!confirmationCode, AuthValidationErrorCode.EmptyConfirmSignUpCode);\n const UserContextData = getUserContextData({\n username,\n userPoolId,\n userPoolClientId,\n });\n const confirmSignUpClient = createConfirmSignUpClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const { Session: session } = await confirmSignUpClient({\n region: getRegionFromUserPoolId(authConfig.userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmSignUp),\n }, {\n Username: username,\n ConfirmationCode: confirmationCode,\n ClientMetadata: clientMetadata,\n ForceAliasCreation: options?.forceAliasCreation,\n ClientId: authConfig.userPoolClientId,\n UserContextData,\n });\n return new Promise((resolve, reject) => {\n try {\n const signUpOut = {\n isSignUpComplete: true,\n nextStep: {\n signUpStep: 'DONE',\n },\n };\n const autoSignInStoreState = autoSignInStore.getState();\n if (!autoSignInStoreState.active ||\n autoSignInStoreState.username !== username) {\n resolve(signUpOut);\n resetAutoSignIn();\n return;\n }\n autoSignInStore.dispatch({ type: 'SET_SESSION', value: session });\n const stopListener = HubInternal.listen('auth-internal', ({ payload }) => {\n switch (payload.event) {\n case 'autoSignIn':\n resolve({\n isSignUpComplete: true,\n nextStep: {\n signUpStep: 'COMPLETE_AUTO_SIGN_IN',\n },\n });\n stopListener();\n }\n });\n HubInternal.dispatch('auth-internal', {\n event: 'confirmSignUp',\n data: signUpOut,\n });\n }\n catch (error) {\n reject(error);\n }\n });\n}\n\nexport { confirmSignUp };\n//# sourceMappingURL=confirmSignUp.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig } from '@aws-amplify/core/internals/utils';\nimport '../../../client/utils/store/autoSignInStore.mjs';\nimport { signInStore, setActiveSignInState, resetActiveSignInState } from '../../../client/utils/store/signInStore.mjs';\nimport { AuthError } from '../../../errors/AuthError.mjs';\nimport { handleChallengeName, getSignInResult, getSignInResultFromError } from '../utils/signInHelpers.mjs';\nimport { assertServiceError } from '../../../errors/utils/assertServiceError.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { AuthErrorCodes } from '../../../common/AuthErrorStrings.mjs';\nimport { cacheCognitoTokens } from '../tokenProvider/cacheTokens.mjs';\nimport '../utils/refreshAuthTokens.mjs';\nimport '../tokenProvider/errorHelpers.mjs';\nimport '../utils/types.mjs';\nimport { tokenOrchestrator } from '../tokenProvider/tokenProvider.mjs';\nimport { dispatchSignedInHubEvent } from '../utils/dispatchSignedInHubEvent.mjs';\nimport { getNewDeviceMetadata } from '../utils/getNewDeviceMetadata.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Continues or completes the sign in process when required by the initial call to `signIn`.\n *\n * @param input - The ConfirmSignInInput object\n * @returns ConfirmSignInOutput\n * @throws -{@link VerifySoftwareTokenException }:\n * Thrown due to an invalid MFA token.\n * @throws -{@link RespondToAuthChallengeException }:\n * Thrown due to an invalid auth challenge response.\n * @throws -{@link AssociateSoftwareTokenException}:\n * Thrown due to a service error during the MFA setup process.\n * @throws -{@link AuthValidationErrorCode }:\n * Thrown when `challengeResponse` is not defined.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function confirmSignIn(input) {\n const { challengeResponse, options } = input;\n const { username, challengeName, signInSession, signInDetails } = signInStore.getState();\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const clientMetaData = options?.clientMetadata;\n assertValidationError(!!challengeResponse, AuthValidationErrorCode.EmptyChallengeResponse);\n if (!username || !challengeName || !signInSession)\n // TODO: remove this error message for production apps\n throw new AuthError({\n name: AuthErrorCodes.SignInException,\n message: `\n\t\t\tAn error occurred during the sign in process.\n\n\t\t\tThis most likely occurred due to:\n\t\t\t1. signIn was not called before confirmSignIn.\n\t\t\t2. signIn threw an exception.\n\t\t\t3. page was refreshed during the sign in flow and session has expired.\n\t\t\t`,\n recoverySuggestion: 'Make sure a successful call to signIn is made before calling confirmSignIn' +\n 'and that the session has not expired.',\n });\n try {\n const { Session, ChallengeName: handledChallengeName, AuthenticationResult, ChallengeParameters: handledChallengeParameters, } = await handleChallengeName(username, challengeName, signInSession, challengeResponse, authConfig, tokenOrchestrator, clientMetaData, options);\n // sets up local state used during the sign-in process\n setActiveSignInState({\n signInSession: Session,\n username,\n challengeName: handledChallengeName,\n signInDetails,\n });\n if (AuthenticationResult) {\n await cacheCognitoTokens({\n username,\n ...AuthenticationResult,\n NewDeviceMetadata: await getNewDeviceMetadata({\n userPoolId: authConfig.userPoolId,\n userPoolEndpoint: authConfig.userPoolEndpoint,\n newDeviceMetadata: AuthenticationResult.NewDeviceMetadata,\n accessToken: AuthenticationResult.AccessToken,\n }),\n signInDetails,\n });\n resetActiveSignInState();\n await dispatchSignedInHubEvent();\n return {\n isSignedIn: true,\n nextStep: { signInStep: 'DONE' },\n };\n }\n return getSignInResult({\n challengeName: handledChallengeName,\n challengeParameters: handledChallengeParameters,\n });\n }\n catch (error) {\n assertServiceError(error);\n const result = getSignInResultFromError(error.name);\n if (result)\n return result;\n throw error;\n }\n}\n\nexport { confirmSignIn };\n//# sourceMappingURL=confirmSignIn.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createVerifyUserAttributeClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('VerifyUserAttribute'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createVerifyUserAttributeClient };\n//# sourceMappingURL=createVerifyUserAttributeClient.mjs.map\n","import { Amplify, fetchAuthSession } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { AuthValidationErrorCode } from '../../../errors/types/validation.mjs';\nimport { assertValidationError } from '../../../errors/utils/assertValidationError.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { assertAuthTokens } from '../utils/types.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../types/errors.mjs';\nimport { createVerifyUserAttributeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createVerifyUserAttributeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Confirms a user attribute with the confirmation code.\n *\n * @param input - The ConfirmUserAttributeInput object\n * @throws -{@link AuthValidationErrorCode } -\n * Thrown when `confirmationCode` is not defined.\n * @throws -{@link VerifyUserAttributeException } - Thrown due to an invalid confirmation code or attribute.\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nasync function confirmUserAttribute(input) {\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n const { userPoolEndpoint, userPoolId } = authConfig;\n const { confirmationCode, userAttributeKey } = input;\n assertValidationError(!!confirmationCode, AuthValidationErrorCode.EmptyConfirmUserAttributeCode);\n const { tokens } = await fetchAuthSession({ forceRefresh: false });\n assertAuthTokens(tokens);\n const verifyUserAttribute = createVerifyUserAttributeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n await verifyUserAttribute({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.ConfirmUserAttribute),\n }, {\n AccessToken: tokens.accessToken.toString(),\n AttributeName: userAttributeKey,\n Code: confirmationCode,\n });\n}\n\nexport { confirmUserAttribute };\n//# sourceMappingURL=confirmUserAttribute.mjs.map\n","import { ConsoleLogger } from '@aws-amplify/core';\nimport { AuthErrorStrings } from './common/AuthErrorStrings.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// TODO: delete this module when the Auth class is removed.\nconst logger = new ConsoleLogger('AuthError');\nclass AuthError extends Error {\n constructor(type) {\n const { message, log } = authErrorMessages[type];\n super(message);\n // Hack for making the custom error class work when transpiled to es5\n // TODO: Delete the following 2 lines after we change the build target to >= es2015\n this.constructor = AuthError;\n Object.setPrototypeOf(this, AuthError.prototype);\n this.name = 'AuthError';\n this.log = log || message;\n logger.error(this.log);\n }\n}\nclass NoUserPoolError extends AuthError {\n constructor(type) {\n super(type);\n // Hack for making the custom error class work when transpiled to es5\n // TODO: Delete the following 2 lines after we change the build target to >= es2015\n this.constructor = NoUserPoolError;\n Object.setPrototypeOf(this, NoUserPoolError.prototype);\n this.name = 'NoUserPoolError';\n }\n}\nconst authErrorMessages = {\n oauthSignInError: {\n message: AuthErrorStrings.OAUTH_ERROR,\n log: 'Make sure Cognito Hosted UI has been configured correctly',\n },\n noConfig: {\n message: AuthErrorStrings.DEFAULT_MSG,\n log: `\n Error: Amplify has not been configured correctly.\n This error is typically caused by one of the following scenarios:\n\n 1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n \n 2. There might be multiple conflicting versions of amplify packages in your node_modules.\n\t\t\t\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n `,\n },\n missingAuthConfig: {\n message: AuthErrorStrings.DEFAULT_MSG,\n log: `\n Error: Amplify has not been configured correctly. \n The configuration object is missing required auth properties.\n This error is typically caused by one of the following scenarios:\n\n 1. Did you run \\`amplify push\\` after adding auth via \\`amplify add auth\\`?\n See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n 2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n `,\n },\n emptyUsername: {\n message: AuthErrorStrings.EMPTY_USERNAME,\n },\n // TODO: should include a list of valid sign-in types\n invalidUsername: {\n message: AuthErrorStrings.INVALID_USERNAME,\n },\n emptyPassword: {\n message: AuthErrorStrings.EMPTY_PASSWORD,\n },\n emptyCode: {\n message: AuthErrorStrings.EMPTY_CODE,\n },\n signUpError: {\n message: AuthErrorStrings.SIGN_UP_ERROR,\n log: 'The first parameter should either be non-null string or object',\n },\n noMFA: {\n message: AuthErrorStrings.NO_MFA,\n },\n invalidMFA: {\n message: AuthErrorStrings.INVALID_MFA,\n },\n emptyChallengeResponse: {\n message: AuthErrorStrings.EMPTY_CHALLENGE,\n },\n noUserSession: {\n message: AuthErrorStrings.NO_USER_SESSION,\n },\n deviceConfig: {\n message: AuthErrorStrings.DEVICE_CONFIG,\n },\n networkError: {\n message: AuthErrorStrings.NETWORK_ERROR,\n },\n autoSignInError: {\n message: AuthErrorStrings.AUTOSIGNIN_ERROR,\n },\n default: {\n message: AuthErrorStrings.DEFAULT_MSG,\n },\n};\n\nexport { AuthError, NoUserPoolError, authErrorMessages };\n//# sourceMappingURL=Errors.mjs.map\n","import { authErrorMessages } from '../../../../Errors.mjs';\nimport { AuthErrorCodes } from '../../../../common/AuthErrorStrings.mjs';\nimport { AuthError } from '../../../../errors/AuthError.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createOAuthError = (message, recoverySuggestion) => new AuthError({\n message: message ?? 'An error has occurred during the oauth process.',\n name: AuthErrorCodes.OAuthSignInError,\n recoverySuggestion: recoverySuggestion ?? authErrorMessages.oauthSignInError.log,\n});\n\nexport { createOAuthError };\n//# sourceMappingURL=createOAuthError.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nvar AuthErrorTypes;\n(function (AuthErrorTypes) {\n AuthErrorTypes[\"NoConfig\"] = \"noConfig\";\n AuthErrorTypes[\"MissingAuthConfig\"] = \"missingAuthConfig\";\n AuthErrorTypes[\"EmptyUsername\"] = \"emptyUsername\";\n AuthErrorTypes[\"InvalidUsername\"] = \"invalidUsername\";\n AuthErrorTypes[\"EmptyPassword\"] = \"emptyPassword\";\n AuthErrorTypes[\"EmptyCode\"] = \"emptyCode\";\n AuthErrorTypes[\"SignUpError\"] = \"signUpError\";\n AuthErrorTypes[\"NoMFA\"] = \"noMFA\";\n AuthErrorTypes[\"InvalidMFA\"] = \"invalidMFA\";\n AuthErrorTypes[\"EmptyChallengeResponse\"] = \"emptyChallengeResponse\";\n AuthErrorTypes[\"NoUserSession\"] = \"noUserSession\";\n AuthErrorTypes[\"Default\"] = \"default\";\n AuthErrorTypes[\"DeviceConfig\"] = \"deviceConfig\";\n AuthErrorTypes[\"NetworkError\"] = \"networkError\";\n AuthErrorTypes[\"AutoSignInError\"] = \"autoSignInError\";\n AuthErrorTypes[\"OAuthSignInError\"] = \"oauthSignInError\";\n})(AuthErrorTypes || (AuthErrorTypes = {}));\n\nexport { AuthErrorTypes };\n//# sourceMappingURL=Auth.mjs.map\n","import { AuthError } from '../../../../errors/AuthError.mjs';\nimport { AuthErrorTypes } from '../../../../types/Auth.mjs';\nimport { oAuthStore } from './oAuthStore.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst flowCancelledMessage = '`signInWithRedirect` has been canceled.';\nconst validationFailedMessage = 'An error occurred while validating the state.';\nconst validationRecoverySuggestion = 'Try to initiate an OAuth flow from Amplify';\nconst validateState = async (state) => {\n const savedState = await oAuthStore.loadOAuthState();\n // This is because savedState only exists if the flow was initiated by Amplify\n const validatedState = state === savedState ? savedState : undefined;\n if (!validatedState) {\n throw new AuthError({\n name: AuthErrorTypes.OAuthSignInError,\n message: state === null ? flowCancelledMessage : validationFailedMessage,\n recoverySuggestion: state === null ? undefined : validationRecoverySuggestion,\n });\n }\n return validatedState;\n};\n\nexport { flowCancelledMessage, validateState, validationFailedMessage, validationRecoverySuggestion };\n//# sourceMappingURL=validateState.mjs.map\n","import { AmplifyUrl, USER_AGENT_HEADER, urlSafeDecode, AMPLIFY_SYMBOL } from '@aws-amplify/core/internals/utils';\nimport { decodeJWT, Hub } from '@aws-amplify/core';\nimport { cacheCognitoTokens } from '../../tokenProvider/cacheTokens.mjs';\nimport { dispatchSignedInHubEvent } from '../dispatchSignedInHubEvent.mjs';\nimport '../refreshAuthTokens.mjs';\nimport '../../tokenProvider/errorHelpers.mjs';\nimport { oAuthStore } from './oAuthStore.mjs';\nimport { resolveAndClearInflightPromises } from './inflightPromise.mjs';\nimport { tokenOrchestrator } from '../../tokenProvider/tokenProvider.mjs';\nimport { createOAuthError } from './createOAuthError.mjs';\nimport { validateState } from './validateState.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst completeOAuthFlow = async ({ currentUrl, userAgentValue, clientId, redirectUri, responseType, domain, preferPrivateSession, }) => {\n const urlParams = new AmplifyUrl(currentUrl);\n const error = urlParams.searchParams.get('error');\n const errorMessage = urlParams.searchParams.get('error_description');\n if (error) {\n throw createOAuthError(errorMessage ?? error);\n }\n if (responseType === 'code') {\n return handleCodeFlow({\n currentUrl,\n userAgentValue,\n clientId,\n redirectUri,\n domain,\n preferPrivateSession,\n });\n }\n return handleImplicitFlow({\n currentUrl,\n redirectUri,\n preferPrivateSession,\n });\n};\nconst handleCodeFlow = async ({ currentUrl, userAgentValue, clientId, redirectUri, domain, preferPrivateSession, }) => {\n /* Convert URL into an object with parameters as keys\n{ redirect_uri: 'http://localhost:3000/', response_type: 'code', ...} */\n const url = new AmplifyUrl(currentUrl);\n const code = url.searchParams.get('code');\n const state = url.searchParams.get('state');\n // if `code` or `state` is not presented in the redirect url, most likely\n // that the end user cancelled the inflight oauth flow by:\n // 1. clicking the back button of browser\n // 2. closing the provider hosted UI page and coming back to the app\n if (!code || !state) {\n throw createOAuthError('User cancelled OAuth flow.');\n }\n // may throw error is being caught in attemptCompleteOAuthFlow.ts\n const validatedState = await validateState(state);\n const oAuthTokenEndpoint = 'https://' + domain + '/oauth2/token';\n // TODO(v6): check hub events\n // dispatchAuthEvent(\n // \t'codeFlow',\n // \t{},\n // \t`Retrieving tokens from ${oAuthTokenEndpoint}`\n // );\n const codeVerifier = await oAuthStore.loadPKCE();\n const oAuthTokenBody = {\n grant_type: 'authorization_code',\n code,\n client_id: clientId,\n redirect_uri: redirectUri,\n ...(codeVerifier ? { code_verifier: codeVerifier } : {}),\n };\n const body = Object.entries(oAuthTokenBody)\n .map(([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`)\n .join('&');\n const { access_token, refresh_token: refreshToken, id_token, error, error_message: errorMessage, token_type, expires_in, } = await (await fetch(oAuthTokenEndpoint, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded',\n [USER_AGENT_HEADER]: userAgentValue,\n },\n body,\n })).json();\n if (error) {\n // error is being caught in attemptCompleteOAuthFlow.ts\n throw createOAuthError(errorMessage ?? error);\n }\n const username = (access_token && decodeJWT(access_token).payload.username) ?? 'username';\n await cacheCognitoTokens({\n username,\n AccessToken: access_token,\n IdToken: id_token,\n RefreshToken: refreshToken});\n return completeFlow({\n redirectUri,\n state: validatedState,\n preferPrivateSession,\n });\n};\nconst handleImplicitFlow = async ({ currentUrl, redirectUri, preferPrivateSession, }) => {\n // hash is `null` if `#` doesn't exist on URL\n const url = new AmplifyUrl(currentUrl);\n const { id_token, access_token, state, token_type, expires_in, error_description, error, } = (url.hash ?? '#')\n .substring(1) // Remove # from returned code\n .split('&')\n .map(pairings => pairings.split('='))\n .reduce((accum, [k, v]) => ({ ...accum, [k]: v }), {\n id_token: undefined,\n access_token: undefined,\n state: undefined,\n token_type: undefined,\n expires_in: undefined,\n error_description: undefined,\n error: undefined,\n });\n if (error) {\n throw createOAuthError(error_description ?? error);\n }\n if (!access_token) {\n // error is being caught in attemptCompleteOAuthFlow.ts\n throw createOAuthError('No access token returned from OAuth flow.');\n }\n const validatedState = await validateState(state);\n const username = (access_token && decodeJWT(access_token).payload.username) ?? 'username';\n await cacheCognitoTokens({\n username,\n AccessToken: access_token,\n IdToken: id_token});\n return completeFlow({\n redirectUri,\n state: validatedState,\n preferPrivateSession,\n });\n};\nconst completeFlow = async ({ redirectUri, state, preferPrivateSession, }) => {\n await tokenOrchestrator.setOAuthMetadata({\n oauthSignIn: true,\n });\n await oAuthStore.clearOAuthData();\n await oAuthStore.storeOAuthSignIn(true, preferPrivateSession);\n // this should be called before any call that involves `fetchAuthSession`\n // e.g. `getCurrentUser()` below, so it allows every inflight async calls to\n // `fetchAuthSession` can be resolved\n resolveAndClearInflightPromises();\n // clear history before sending out final Hub events\n clearHistory(redirectUri);\n if (isCustomState(state)) {\n Hub.dispatch('auth', {\n event: 'customOAuthState',\n data: urlSafeDecode(getCustomState(state)),\n }, 'Auth', AMPLIFY_SYMBOL);\n }\n Hub.dispatch('auth', { event: 'signInWithRedirect' }, 'Auth', AMPLIFY_SYMBOL);\n await dispatchSignedInHubEvent();\n};\nconst isCustomState = (state) => {\n return /-/.test(state);\n};\nconst getCustomState = (state) => {\n return state.split('-').splice(1).join('-');\n};\nconst clearHistory = (redirectUri) => {\n if (typeof window !== 'undefined' && typeof window.history !== 'undefined') {\n window.history.replaceState(window.history.state, '', redirectUri);\n }\n};\n\nexport { completeOAuthFlow };\n//# sourceMappingURL=completeOAuthFlow.mjs.map\n","import { Hub } from '@aws-amplify/core';\nimport { AMPLIFY_SYMBOL } from '@aws-amplify/core/internals/utils';\nimport { oAuthStore } from './oAuthStore.mjs';\nimport { resolveAndClearInflightPromises } from './inflightPromise.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst handleFailure = async (error) => {\n resolveAndClearInflightPromises();\n await oAuthStore.clearOAuthInflightData();\n Hub.dispatch('auth', { event: 'signInWithRedirect_failure', data: { error } }, 'Auth', AMPLIFY_SYMBOL);\n};\n\nexport { handleFailure };\n//# sourceMappingURL=handleFailure.mjs.map\n","import { assertTokenProviderConfig, assertOAuthConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { getAuthUserAgentValue } from '../../../../utils/getAuthUserAgentValue.mjs';\nimport { oAuthStore } from './oAuthStore.mjs';\nimport { completeOAuthFlow } from './completeOAuthFlow.mjs';\nimport { getRedirectUrl } from './getRedirectUrl.mjs';\nimport { handleFailure } from './handleFailure.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst attemptCompleteOAuthFlow = async (authConfig) => {\n try {\n assertTokenProviderConfig(authConfig);\n assertOAuthConfig(authConfig);\n oAuthStore.setAuthConfig(authConfig);\n }\n catch (_) {\n // no-op\n // This should not happen as Amplify singleton checks the oauth config key\n // unless the oauth config object doesn't contain required properties\n return;\n }\n // No inflight OAuth\n if (!(await oAuthStore.loadOAuthInFlight())) {\n return;\n }\n try {\n const currentUrl = window.location.href;\n const { loginWith, userPoolClientId } = authConfig;\n const { domain, redirectSignIn, responseType } = loginWith.oauth;\n const redirectUri = getRedirectUrl(redirectSignIn);\n await completeOAuthFlow({\n currentUrl,\n clientId: userPoolClientId,\n domain,\n redirectUri,\n responseType,\n userAgentValue: getAuthUserAgentValue(AuthAction.SignInWithRedirect),\n });\n }\n catch (err) {\n await handleFailure(err);\n }\n};\n\nexport { attemptCompleteOAuthFlow };\n//# sourceMappingURL=attemptCompleteOAuthFlow.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { isBrowser, ADD_OAUTH_LISTENER } from '@aws-amplify/core/internals/utils';\nimport { attemptCompleteOAuthFlow } from './attemptCompleteOAuthFlow.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n// attach the side effect for handling the completion of an inflight oauth flow\n// this side effect works only on Web\nisBrowser() &&\n (() => {\n // add the listener to the singleton for triggering\n Amplify[ADD_OAUTH_LISTENER](attemptCompleteOAuthFlow);\n })();\n//# sourceMappingURL=enableOAuthListener.mjs.map\n","// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst cognitoHostedUIIdentityProviderMap = {\n Google: 'Google',\n Facebook: 'Facebook',\n Amazon: 'LoginWithAmazon',\n Apple: 'SignInWithApple',\n};\n\nexport { cognitoHostedUIIdentityProviderMap };\n//# sourceMappingURL=models.mjs.map\n","import { Sha256 } from '@aws-crypto/sha256-js';\nimport { getCrypto, base64Encoder } from '@aws-amplify/core/internals/utils';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst CODE_VERIFIER_CHARSET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n/**\n *\n * @param length Desired length of the code verifier.\n *\n * **NOTE:** According to the [RFC 7636](https://datatracker.ietf.org/doc/html/rfc7636#section-4.1)\n * A code verifier must be with a length >= 43 and <= 128.\n *\n * @returns An object that contains the generated `codeVerifier` and a method\n * `toCodeChallenge` to generate the code challenge from the `codeVerifier`\n * following the spec of [RFC 7636](https://datatracker.ietf.org/doc/html/rfc7636#section-4.2).\n */\nconst generateCodeVerifier = (length) => {\n const randomBytes = new Uint8Array(length);\n getCrypto().getRandomValues(randomBytes);\n let value = '';\n let codeChallenge;\n for (const byte of randomBytes) {\n value += CODE_VERIFIER_CHARSET.charAt(byte % CODE_VERIFIER_CHARSET.length);\n }\n return {\n value,\n method: 'S256',\n toCodeChallenge() {\n if (codeChallenge) {\n return codeChallenge;\n }\n codeChallenge = generateCodeChallenge(value);\n return codeChallenge;\n },\n };\n};\nfunction generateCodeChallenge(codeVerifier) {\n const awsCryptoHash = new Sha256();\n awsCryptoHash.update(codeVerifier);\n const codeChallenge = removePaddingChar(base64Encoder.convert(awsCryptoHash.digestSync(), { urlSafe: true }));\n return codeChallenge;\n}\nfunction removePaddingChar(base64Encoded) {\n return base64Encoded.replace(/=/g, '');\n}\n\nexport { generateCodeVerifier };\n//# sourceMappingURL=generateCodeVerifier.mjs.map\n","import { generateRandomString } from '@aws-amplify/core/internals/utils';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst generateState = () => {\n return generateRandomString(32);\n};\n\nexport { generateState };\n//# sourceMappingURL=generateState.mjs.map\n","import { createOAuthError } from './createOAuthError.mjs';\nimport { handleFailure } from './handleFailure.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst listenForOAuthFlowCancellation = (store) => {\n async function handleCancelOAuthFlow(event) {\n const isBfcache = event.persisted;\n if (isBfcache && (await store.loadOAuthInFlight())) {\n const error = createOAuthError('User cancelled OAuth flow.');\n await handleFailure(error);\n }\n window.removeEventListener('pageshow', handleCancelOAuthFlow);\n }\n window.addEventListener('pageshow', handleCancelOAuthFlow);\n};\n\nexport { listenForOAuthFlowCancellation };\n//# sourceMappingURL=cancelOAuthFlow.mjs.map\n","import { Amplify } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, assertOAuthConfig, urlSafeEncode, isBrowser, AuthAction } from '@aws-amplify/core/internals/utils';\nimport '../utils/oauth/enableOAuthListener.mjs';\nimport { cognitoHostedUIIdentityProviderMap } from '../types/models.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport { openAuthSession } from '../../../utils/openAuthSession.mjs';\nimport { assertUserNotAuthenticated } from '../utils/signInHelpers.mjs';\nimport { generateCodeVerifier } from '../utils/oauth/generateCodeVerifier.mjs';\nimport { generateState } from '../utils/oauth/generateState.mjs';\nimport '../utils/refreshAuthTokens.mjs';\nimport '../tokenProvider/errorHelpers.mjs';\nimport { oAuthStore } from '../utils/oauth/oAuthStore.mjs';\nimport '../tokenProvider/tokenProvider.mjs';\nimport { getRedirectUrl } from '../utils/oauth/getRedirectUrl.mjs';\nimport { handleFailure } from '../utils/oauth/handleFailure.mjs';\nimport { completeOAuthFlow } from '../utils/oauth/completeOAuthFlow.mjs';\nimport '../../../types/Auth.mjs';\nimport { createOAuthError } from '../utils/oauth/createOAuthError.mjs';\nimport { listenForOAuthFlowCancellation } from '../utils/oauth/cancelOAuthFlow.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Signs in a user with OAuth. Redirects the application to an Identity Provider.\n *\n * @param input - The SignInWithRedirectInput object, if empty it will redirect to Cognito HostedUI\n *\n * @throws AuthTokenConfigException - Thrown when the user pool config is invalid.\n * @throws OAuthNotConfigureException - Thrown when the oauth config is invalid.\n */\nasync function signInWithRedirect(input) {\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n assertTokenProviderConfig(authConfig);\n assertOAuthConfig(authConfig);\n oAuthStore.setAuthConfig(authConfig);\n await assertUserNotAuthenticated();\n let provider = 'COGNITO'; // Default\n if (typeof input?.provider === 'string') {\n provider = cognitoHostedUIIdentityProviderMap[input.provider];\n }\n else if (input?.provider?.custom) {\n provider = input.provider.custom;\n }\n return oauthSignIn({\n oauthConfig: authConfig.loginWith.oauth,\n clientId: authConfig.userPoolClientId,\n provider,\n customState: input?.customState,\n preferPrivateSession: input?.options?.preferPrivateSession,\n options: {\n loginHint: input?.options?.loginHint,\n lang: input?.options?.lang,\n nonce: input?.options?.nonce,\n },\n });\n}\nconst oauthSignIn = async ({ oauthConfig, provider, clientId, customState, preferPrivateSession, options, }) => {\n const { domain, redirectSignIn, responseType, scopes } = oauthConfig;\n const { loginHint, lang, nonce } = options ?? {};\n const randomState = generateState();\n /* encodeURIComponent is not URL safe, use urlSafeEncode instead. Cognito\n single-encodes/decodes url on first sign in and double-encodes/decodes url\n when user already signed in. Using encodeURIComponent, Base32, Base64 add\n characters % or = which on further encoding becomes unsafe. '=' create issue\n for parsing query params.\n Refer: https://github.com/aws-amplify/amplify-js/issues/5218 */\n const state = customState\n ? `${randomState}-${urlSafeEncode(customState)}`\n : randomState;\n const { value, method, toCodeChallenge } = generateCodeVerifier(128);\n const redirectUri = getRedirectUrl(oauthConfig.redirectSignIn);\n if (isBrowser())\n oAuthStore.storeOAuthInFlight(true);\n oAuthStore.storeOAuthState(state);\n oAuthStore.storePKCE(value);\n const queryString = Object.entries({\n redirect_uri: redirectUri,\n response_type: responseType,\n client_id: clientId,\n identity_provider: provider,\n scope: scopes.join(' '),\n // eslint-disable-next-line camelcase\n ...(loginHint && { login_hint: loginHint }),\n ...(lang && { lang }),\n ...(nonce && { nonce }),\n state,\n ...(responseType === 'code' && {\n code_challenge: toCodeChallenge(),\n code_challenge_method: method,\n }),\n })\n .map(([k, v]) => `${encodeURIComponent(k)}=${encodeURIComponent(v)}`)\n .join('&');\n // TODO(v6): use URL object instead\n const oAuthUrl = `https://${domain}/oauth2/authorize?${queryString}`;\n // this will only take effect in the following scenarios:\n // 1. the user cancels the OAuth flow on web via back button, and\n // 2. when bfcache is enabled\n listenForOAuthFlowCancellation(oAuthStore);\n // the following is effective only in react-native as openAuthSession resolves only in react-native\n const { type, error, url } = (await openAuthSession(oAuthUrl)) ??\n {};\n try {\n if (type === 'error') {\n throw createOAuthError(String(error));\n }\n if (type === 'success' && url) {\n await completeOAuthFlow({\n currentUrl: url,\n clientId,\n domain,\n redirectUri,\n responseType,\n userAgentValue: getAuthUserAgentValue(AuthAction.SignInWithRedirect),\n preferPrivateSession,\n });\n }\n }\n catch (err) {\n await handleFailure(err);\n // rethrow the error so it can be caught by `await signInWithRedirect()` in react-native\n throw err;\n }\n};\n\nexport { signInWithRedirect };\n//# sourceMappingURL=signInWithRedirect.mjs.map\n","import { composeServiceApi } from '@aws-amplify/core/internals/aws-client-utils/composers';\nimport { cognitoUserPoolTransferHandler } from './shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport { createUserPoolSerializer } from './shared/serde/createUserPoolSerializer.mjs';\nimport { createUserPoolDeserializer } from './shared/serde/createUserPoolDeserializer.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '@aws-amplify/core/internals/utils';\nimport { DEFAULT_SERVICE_CLIENT_API_CONFIG } from './constants.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nconst createGetUserAttributeVerificationCodeClient = (config) => composeServiceApi(cognitoUserPoolTransferHandler, createUserPoolSerializer('GetUserAttributeVerificationCode'), createUserPoolDeserializer(), {\n ...DEFAULT_SERVICE_CLIENT_API_CONFIG,\n ...config,\n});\n\nexport { createGetUserAttributeVerificationCodeClient };\n//# sourceMappingURL=createGetUserAttributeVerificationCodeClient.mjs.map\n","import { Amplify, fetchAuthSession } from '@aws-amplify/core';\nimport { assertTokenProviderConfig, AuthAction } from '@aws-amplify/core/internals/utils';\nimport { assertAuthTokens } from '../utils/types.mjs';\nimport { getRegionFromUserPoolId } from '../../../foundation/parsers/regionParsers.mjs';\nimport { getAuthUserAgentValue } from '../../../utils/getAuthUserAgentValue.mjs';\nimport '@aws-amplify/core/internals/aws-client-utils/composers';\nimport '@aws-amplify/core/internals/aws-client-utils';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/shared/handler/cognitoUserPoolTransferHandler.mjs';\nimport '../../../foundation/factories/serviceClients/cognitoIdentityProvider/constants.mjs';\nimport '../../../common/AuthErrorStrings.mjs';\nimport '../../../errors/types/validation.mjs';\nimport '../types/errors.mjs';\nimport { createGetUserAttributeVerificationCodeClient } from '../../../foundation/factories/serviceClients/cognitoIdentityProvider/createGetUserAttributeVerificationCodeClient.mjs';\nimport { createCognitoUserPoolEndpointResolver } from '../factories/createCognitoUserPoolEndpointResolver.mjs';\n\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n/**\n * Resends user's confirmation code when updating attributes while authenticated.\n *\n * @param input - The SendUserAttributeVerificationCodeInput object\n * @returns SendUserAttributeVerificationCodeOutput\n * @throws - {@link GetUserAttributeVerificationException}\n * @throws AuthTokenConfigException - Thrown when the token provider config is invalid.\n */\nconst sendUserAttributeVerificationCode = async (input) => {\n const { userAttributeKey, options } = input;\n const authConfig = Amplify.getConfig().Auth?.Cognito;\n const clientMetadata = options?.clientMetadata;\n assertTokenProviderConfig(authConfig);\n const { userPoolEndpoint, userPoolId } = authConfig;\n const { tokens } = await fetchAuthSession({ forceRefresh: false });\n assertAuthTokens(tokens);\n const getUserAttributeVerificationCode = createGetUserAttributeVerificationCodeClient({\n endpointResolver: createCognitoUserPoolEndpointResolver({\n endpointOverride: userPoolEndpoint,\n }),\n });\n const { CodeDeliveryDetails } = await getUserAttributeVerificationCode({\n region: getRegionFromUserPoolId(userPoolId),\n userAgentValue: getAuthUserAgentValue(AuthAction.SendUserAttributeVerificationCode),\n }, {\n AccessToken: tokens.accessToken.toString(),\n ClientMetadata: clientMetadata,\n AttributeName: userAttributeKey,\n });\n const { DeliveryMedium, AttributeName, Destination } = {\n ...CodeDeliveryDetails,\n };\n return {\n destination: Destination,\n deliveryMedium: DeliveryMedium,\n attributeName: AttributeName,\n };\n};\n\nexport { sendUserAttributeVerificationCode };\n//# sourceMappingURL=sendUserAttributeVerificationCode.mjs.map\n","import { defineComponent as q, useSlots as Tr, renderSlot as E, mergeProps as Ie, unref as d, createElementVNode as x, normalizeProps as oe, guardReactiveProps as ie, openBlock as U, createElementBlock as X, toRefs as re, ref as le, createVNode as C, withCtx as _, createCommentVNode as j, effectScope as cs, getCurrentScope as us, onScopeDispose as di, isRef as ds, shallowRef as co, watch as fs, reactive as fi, watchEffect as ps, createBlock as W, normalizeClass as Ae, createTextVNode as M, toDisplayString as R, Fragment as qe, renderList as En, computed as D, onBeforeMount as ms, withModifiers as ue, h as Zt, onMounted as pi, onUnmounted as gs } from \"vue\";\nimport { Hub as hs, I18n as ys, ConsoleLogger as vs } from \"aws-amplify/utils\";\nimport { getCurrentUser as mi, signIn as _s, signUp as ws, confirmSignIn as gi, confirmSignUp as Ss, confirmResetPassword as bs, resetPassword as hi, resendSignUpCode as Cs, fetchUserAttributes as yi, signInWithRedirect as vi, autoSignIn as As, signOut as Is, sendUserAttributeVerificationCode as Es, confirmUserAttribute as Ts } from \"aws-amplify/auth\";\nimport { Category as We, AiAction as tt, AuthAction as Ce, StorageAction as Le, InAppMessagingAction as Ps, GeoAction as er, AmplifyErrorCode as ks, setCustomUserAgent as De } from \"@aws-amplify/core/internals/utils\";\nimport { Amplify as Ns } from \"aws-amplify\";\nconst Ne = /* @__PURE__ */ q({\n __name: \"base-footer\",\n setup(e) {\n const t = Tr();\n return (n, r) => E(n.$slots, \"footert\", Ie(n.$attrs, {\n slotData: d(t).default && d(t).default()\n }), () => [\n x(\"footer\", oe(ie(n.$attrs)), [\n E(n.$slots, \"default\")\n ], 16)\n ]);\n }\n}), Ue = /* @__PURE__ */ q({\n __name: \"base-form\",\n setup(e) {\n const t = Tr();\n return (n, r) => E(n.$slots, \"formt\", Ie(n.$attrs, {\n slotData: d(t).default && d(t).default()\n }), () => [\n x(\"form\", Ie({ \"data-amplify-form\": \"\" }, n.$attrs), [\n E(n.$slots, \"default\")\n ], 16)\n ]);\n }\n}), Tn = (e, t) => {\n const n = e.__vccOpts || e;\n for (const [r, o] of t)\n n[r] = o;\n return n;\n}, Us = {};\nfunction $s(e, t) {\n return U(), X(\"div\", null, [\n E(e.$slots, \"default\")\n ]);\n}\nconst me = /* @__PURE__ */ Tn(Us, [[\"render\", $s]]), Os = [\"type\", \"data-fullwidth\", \"data-size\", \"data-fontWeight\", \"data-variation\", \"data-loading\", \"data-disabled\", \"disabled\"], we = /* @__PURE__ */ q({\n __name: \"amplify-button\",\n props: {\n type: null,\n fullWidth: { type: [Boolean, String] },\n size: null,\n variation: null,\n fontWeight: null,\n loading: { type: [Boolean, String] },\n disabled: { type: [Boolean, String] }\n },\n setup(e) {\n const t = e, { type: n, fullWidth: r, size: o, variation: i, fontWeight: a } = re(t);\n return (s, l) => E(s.$slots, \"buttont\", oe(ie(s.$attrs)), () => [\n x(\"button\", Ie({\n class: [\"amplify-button amplify-field-group__control\", {\n [`amplify-button--${d(i)}`]: d(i),\n [`amplify-button--${d(o)}`]: d(o),\n \"amplify-button--fullwidth\": d(r),\n \"amplify-button--loading\": e.loading,\n \"amplify-button--disabled\": e.disabled\n }],\n type: d(n),\n style: { fontWeight: d(a) },\n \"data-fullwidth\": d(r),\n \"data-size\": d(o),\n \"data-fontWeight\": d(a),\n \"data-variation\": d(i),\n \"data-loading\": e.loading,\n \"data-disabled\": e.disabled,\n disabled: e.disabled\n }, s.$attrs, { \"data-amplify-button\": \"\" }), [\n E(s.$slots, \"default\")\n ], 16, Os)\n ]);\n }\n}), Pr = (e) => {\n var t;\n return (t = e.context.actorRef) == null ? void 0 : t.getSnapshot();\n}, kr = (e) => {\n var t;\n return (t = Pr(e)) == null ? void 0 : t.context;\n}, Fs = {\n category: We.AI,\n apis: [\n tt.CreateConversation,\n tt.DeleteConversation,\n tt.ListConversations,\n tt.UpdateConversation,\n tt.OnMessage,\n tt.SendMessage,\n tt.Generation\n ]\n}, Rs = {\n apis: [Ce.DeleteUser, Ce.UpdatePassword],\n category: We.Auth\n}, xs = {\n apis: [\n Ce.SignUp,\n Ce.ConfirmSignUp,\n Ce.ResendSignUpCode,\n Ce.SignIn,\n Ce.ConfirmSignIn,\n Ce.FetchUserAttributes,\n Ce.SignOut,\n Ce.ResetPassword,\n Ce.ConfirmResetPassword,\n Ce.SignInWithRedirect\n ],\n category: We.Auth\n}, Ms = {\n apis: [Le.UploadData],\n category: We.Storage\n}, Ds = {\n apis: [Ps.NotifyMessageInteraction],\n category: We.InAppMessaging\n}, Bs = {\n category: We.Geo,\n apis: [\n er.SearchByText,\n er.SearchForSuggestions,\n er.SearchByPlaceId\n ]\n}, Ls = {\n category: We.Geo,\n apis: []\n}, Gs = {\n apis: [Le.UploadData],\n category: We.Storage\n}, zs = {\n apis: [\n Le.UploadData,\n Le.Copy,\n Le.GetUrl,\n Le.List,\n Le.Remove,\n Le.GetDataAccess,\n Le.ListCallerAccessGrants\n ],\n category: We.Storage\n};\nfunction Lt(e) {\n return e != null && !Array.isArray(e) && typeof e == \"object\";\n}\nfunction _i(e) {\n return typeof e == \"string\" || typeof e == \"object\" && Object.prototype.toString.call(e) === \"[object String]\";\n}\nfunction Ws(e) {\n return Lt(e) && Object.prototype.toString.call(e) === \"[object Map]\";\n}\nfunction Vs(e) {\n return Lt(e) && Object.prototype.toString.call(e) === \"[object Set]\";\n}\nfunction wi(e) {\n if (e == null)\n return !0;\n if (Lt(e) && (Ws(e) || Vs(e)))\n return !e.size;\n if (Lt(e) && (_i(e) || Array.isArray(e)))\n return !e.length;\n for (const t in e)\n if (Hs(e, t))\n return !1;\n return !0;\n}\nfunction js(e) {\n return Lt(e) && wi(e);\n}\nfunction Hs(e, t) {\n return e != null && Object.prototype.hasOwnProperty.call(e, t);\n}\nfunction uo(e) {\n return typeof e == \"function\";\n}\nfunction Ys(...e) {\n}\nconst Si = ({ payload: e }, t, n) => {\n var l;\n const { data: r, event: o } = e, { send: i } = t, { onSignIn: a, onSignOut: s } = n ?? {};\n switch (o) {\n case \"signedIn\": {\n uo(a) && a(e);\n break;\n }\n case \"signInWithRedirect\": {\n i(\"SIGN_IN_WITH_REDIRECT\");\n break;\n }\n case \"signedOut\": {\n uo(s) && s(), i(\"SIGN_OUT\");\n break;\n }\n case \"tokenRefresh_failure\": {\n if (((l = r == null ? void 0 : r.error) == null ? void 0 : l.name) === ks.NetworkError)\n return;\n i(\"SIGN_OUT\");\n break;\n }\n }\n}, Ks = (e, t = Si) => {\n const n = (r) => t(r, e);\n return hs.listen(\"auth\", n, \"authenticator-hub-handler\");\n}, qs = [\n \"+1\",\n \"+7\",\n \"+20\",\n \"+27\",\n \"+30\",\n \"+31\",\n \"+32\",\n \"+33\",\n \"+34\",\n \"+36\",\n \"+39\",\n \"+40\",\n \"+41\",\n \"+43\",\n \"+44\",\n \"+45\",\n \"+46\",\n \"+47\",\n \"+48\",\n \"+49\",\n \"+51\",\n \"+52\",\n \"+53\",\n \"+54\",\n \"+55\",\n \"+56\",\n \"+57\",\n \"+58\",\n \"+60\",\n \"+61\",\n \"+62\",\n \"+63\",\n \"+64\",\n \"+65\",\n \"+66\",\n \"+81\",\n \"+82\",\n \"+84\",\n \"+86\",\n \"+90\",\n \"+91\",\n \"+92\",\n \"+93\",\n \"+94\",\n \"+95\",\n \"+98\",\n \"+212\",\n \"+213\",\n \"+216\",\n \"+218\",\n \"+220\",\n \"+221\",\n \"+222\",\n \"+223\",\n \"+224\",\n \"+225\",\n \"+226\",\n \"+227\",\n \"+228\",\n \"+229\",\n \"+230\",\n \"+231\",\n \"+232\",\n \"+233\",\n \"+234\",\n \"+235\",\n \"+236\",\n \"+237\",\n \"+238\",\n \"+239\",\n \"+240\",\n \"+241\",\n \"+242\",\n \"+243\",\n \"+244\",\n \"+245\",\n \"+246\",\n \"+248\",\n \"+249\",\n \"+250\",\n \"+251\",\n \"+252\",\n \"+253\",\n \"+254\",\n \"+255\",\n \"+256\",\n \"+257\",\n \"+258\",\n \"+260\",\n \"+261\",\n \"+262\",\n \"+263\",\n \"+264\",\n \"+265\",\n \"+266\",\n \"+267\",\n \"+268\",\n \"+269\",\n \"+290\",\n \"+291\",\n \"+297\",\n \"+298\",\n \"+299\",\n \"+345\",\n \"+350\",\n \"+351\",\n \"+352\",\n \"+353\",\n \"+354\",\n \"+355\",\n \"+356\",\n \"+357\",\n \"+358\",\n \"+359\",\n \"+370\",\n \"+371\",\n \"+372\",\n \"+373\",\n \"+374\",\n \"+375\",\n \"+376\",\n \"+377\",\n \"+378\",\n \"+379\",\n \"+380\",\n \"+381\",\n \"+382\",\n \"+385\",\n \"+386\",\n \"+387\",\n \"+389\",\n \"+420\",\n \"+421\",\n \"+423\",\n \"+500\",\n \"+501\",\n \"+502\",\n \"+503\",\n \"+504\",\n \"+505\",\n \"+506\",\n \"+507\",\n \"+508\",\n \"+509\",\n \"+537\",\n \"+590\",\n \"+591\",\n \"+593\",\n \"+594\",\n \"+595\",\n \"+596\",\n \"+597\",\n \"+598\",\n \"+599\",\n \"+670\",\n \"+672\",\n \"+673\",\n \"+674\",\n \"+675\",\n \"+676\",\n \"+677\",\n \"+678\",\n \"+679\",\n \"+680\",\n \"+681\",\n \"+682\",\n \"+683\",\n \"+685\",\n \"+686\",\n \"+687\",\n \"+688\",\n \"+689\",\n \"+690\",\n \"+691\",\n \"+692\",\n \"+850\",\n \"+852\",\n \"+853\",\n \"+855\",\n \"+856\",\n \"+872\",\n \"+880\",\n \"+886\",\n \"+960\",\n \"+961\",\n \"+962\",\n \"+963\",\n \"+964\",\n \"+965\",\n \"+966\",\n \"+967\",\n \"+968\",\n \"+970\",\n \"+971\",\n \"+972\",\n \"+973\",\n \"+974\",\n \"+975\",\n \"+976\",\n \"+977\",\n \"+992\",\n \"+993\",\n \"+994\",\n \"+995\",\n \"+996\",\n \"+998\"\n], Gt = {\n birthdate: {\n label: \"Birthdate\",\n placeholder: \"Enter your Birthdate\",\n type: \"date\",\n autocomplete: \"bday\",\n isRequired: !0\n },\n confirmation_code: {\n label: \"Confirmation Code\",\n placeholder: \"Enter your Confirmation Code\",\n type: \"text\",\n autocomplete: \"one-time-code\",\n isRequired: !0\n },\n confirm_password: {\n label: \"Confirm Password\",\n placeholder: \"Please confirm your Password\",\n type: \"password\",\n autocomplete: \"new-password\",\n isRequired: !0\n },\n email: {\n label: \"Email\",\n placeholder: \"Enter your Email\",\n type: \"email\",\n autocomplete: \"username\",\n isRequired: !0\n },\n family_name: {\n label: \"Family Name\",\n placeholder: \"Enter your Family Name\",\n type: \"text\",\n autocomplete: \"family-name\",\n isRequired: !0\n },\n given_name: {\n label: \"Given Name\",\n placeholder: \"Enter your Given Name\",\n type: \"text\",\n autocomplete: \"given-name\",\n isRequired: !0\n },\n middle_name: {\n label: \"Middle Name\",\n placeholder: \"Enter your Middle Name\",\n type: \"text\",\n autocomplete: \"additional-name\",\n isRequired: !0\n },\n name: {\n label: \"Name\",\n placeholder: \"Enter your Name\",\n type: \"text\",\n autocomplete: \"name\",\n isRequired: !0\n },\n nickname: {\n label: \"Nickname\",\n placeholder: \"Enter your Nickname\",\n type: \"text\",\n autocomplete: \"tel\",\n isRequired: !0\n },\n password: {\n label: \"Password\",\n placeholder: \"Enter your Password\",\n type: \"password\",\n autocomplete: \"new-password\",\n isRequired: !0\n },\n phone_number: {\n label: \"Phone Number\",\n placeholder: \"Enter your Phone Number\",\n type: \"tel\",\n autocomplete: \"tel\",\n dialCode: \"+1\",\n dialCodeList: qs,\n isRequired: !0\n },\n preferred_username: {\n label: \"Preferred Username\",\n placeholder: \"Enter your Preferred Username\",\n type: \"text\",\n isRequired: !0\n },\n profile: {\n label: \"Profile\",\n placeholder: \"Add your Profile\",\n type: \"url\",\n autocomplete: \"url\",\n isRequired: !0\n },\n website: {\n label: \"Website\",\n placeholder: \"Add your Website\",\n type: \"url\",\n autocomplete: \"url\",\n isRequired: !0\n },\n username: {\n label: \"Username\",\n placeholder: \"Enter your Username\",\n type: \"text\",\n autocomplete: \"username\",\n isRequired: !0\n }\n}, Js = [\n \"^\",\n \"$\",\n \"*\",\n \".\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"(\",\n \")\",\n \"?\",\n '\"',\n \"!\",\n \"@\",\n \"#\",\n \"%\",\n \"&\",\n \"/\",\n \"\\\\\",\n \",\",\n \">\",\n \"<\",\n \"'\",\n \":\",\n \";\",\n \"|\",\n \"_\",\n \"~\",\n \"`\",\n \"=\",\n \"+\",\n \"-\",\n \" \"\n], Zs = (e, t) => {\n if (t != null && t.matches(\"federatedSignIn\")) {\n if (e.matches(\"signUpActor\"))\n return \"signUp\";\n if (e.matches(\"signInActor\"))\n return \"signIn\";\n }\n switch (!0) {\n case e.matches(\"idle\"):\n return \"idle\";\n case e.matches(\"setup\"):\n return \"setup\";\n case e.matches(\"signOut\"):\n return \"signOut\";\n case e.matches(\"authenticated\"):\n return \"authenticated\";\n case (t == null ? void 0 : t.matches(\"confirmSignUp\")):\n case (t == null ? void 0 : t.matches(\"resendSignUpCode\")):\n return \"confirmSignUp\";\n case (t == null ? void 0 : t.matches(\"confirmSignIn\")):\n return \"confirmSignIn\";\n case (t == null ? void 0 : t.matches(\"setupTotp.edit\")):\n case (t == null ? void 0 : t.matches(\"setupTotp.submit\")):\n return \"setupTotp\";\n case (t == null ? void 0 : t.matches(\"signIn\")):\n return \"signIn\";\n case (t == null ? void 0 : t.matches(\"signUp\")):\n case (t == null ? void 0 : t.matches(\"autoSignIn\")):\n return \"signUp\";\n case (t == null ? void 0 : t.matches(\"forceChangePassword\")):\n return \"forceNewPassword\";\n case (t == null ? void 0 : t.matches(\"forgotPassword\")):\n return \"forgotPassword\";\n case (t == null ? void 0 : t.matches(\"confirmResetPassword\")):\n return \"confirmResetPassword\";\n case (t == null ? void 0 : t.matches(\"selectUserAttributes\")):\n return \"verifyUser\";\n case (t == null ? void 0 : t.matches(\"confirmVerifyUserAttribute\")):\n return \"confirmVerifyUser\";\n case e.matches(\"getCurrentUser\"):\n case (t == null ? void 0 : t.matches(\"fetchUserAttributes\")):\n return \"transition\";\n default:\n return null;\n }\n}, Qs = (e) => {\n const t = (n) => (r) => e({ type: n, data: r });\n return {\n initializeMachine: t(\"INIT\"),\n resendCode: t(\"RESEND\"),\n signOut: t(\"SIGN_OUT\"),\n submitForm: t(\"SUBMIT\"),\n updateForm: t(\"CHANGE\"),\n updateBlur: t(\"BLUR\"),\n // Actions that don't immediately invoke a service but instead transition to a screen\n // are prefixed with `to*`\n toFederatedSignIn: t(\"FEDERATED_SIGN_IN\"),\n toForgotPassword: t(\"FORGOT_PASSWORD\"),\n toSignIn: t(\"SIGN_IN\"),\n toSignUp: t(\"SIGN_UP\"),\n skipVerification: t(\"SKIP\")\n };\n}, Xs = (e) => {\n var g, w;\n const t = kr(e) ?? {}, { challengeName: n, codeDeliveryDetails: r, remoteError: o, validationError: i, totpSecretCode: a = null, unverifiedUserAttributes: s, username: l } = t, { socialProviders: c = [] } = ((g = e.context) == null ? void 0 : g.config) ?? {}, u = (t == null ? void 0 : t.user) ?? ((w = e.context) == null ? void 0 : w.user), m = !!(i && Object.keys(i).length > 0), f = Pr(e), p = e.hasTag(\"pending\") || (f == null ? void 0 : f.hasTag(\"pending\")), h = Zs(e, f);\n return {\n authStatus: ((y) => {\n switch (y) {\n case \"idle\":\n case \"setup\":\n return \"configuring\";\n case \"authenticated\":\n return \"authenticated\";\n default:\n return \"unauthenticated\";\n }\n })(h),\n challengeName: n,\n codeDeliveryDetails: r,\n error: o,\n hasValidationErrors: m,\n isPending: p,\n route: h,\n socialProviders: c,\n totpSecretCode: a,\n unverifiedUserAttributes: s,\n user: u,\n username: l,\n validationErrors: i\n // @v6-migration-note\n // While most of the properties\n // on `AuthenticatorServiceContextFacade` can resolve to `undefined`, updating\n // the interface requires material changes in consumers (namely `useAuthenticator`)\n // which will have implications on the UI layer as typeguards and non-null checks\n // are required to pass type checking. As the `Authenticator` is behaving as expected\n // with the `AuthenticatorServiceContextFacade` interface, prefer to cast\n };\n}, el = ({ send: e, state: t }) => {\n const n = Qs(e), r = Xs(t);\n return {\n ...n,\n ...r\n };\n};\nvar ur;\n(function(e) {\n e.Apple = \"Apple\", e.Amazon = \"Amazon\", e.Facebook = \"Facebook\", e.Google = \"Google\";\n})(ur || (ur = {}));\nvar fo;\n(function(e) {\n e.Email = \"email\", e.PhoneNumber = \"phone_number\";\n})(fo || (fo = {}));\nconst tl = [\n \"birthdate\",\n \"email\",\n \"family_name\",\n \"given_name\",\n \"middle_name\",\n \"name\",\n \"nickname\",\n \"phone_number\",\n \"preferred_username\",\n \"profile\",\n \"website\"\n], nl = [\n \"username\",\n \"email\",\n \"phone_number\"\n], bi = [\n ...nl,\n ...tl,\n \"confirmation_code\",\n \"password\",\n \"confirm_password\"\n], rl = (e) => bi.includes(e), $e = (e) => {\n const t = new FormData(e.target);\n return Object.fromEntries(t);\n}, Ci = (e) => bi.includes(e), ol = (e) => Array.isArray(e), il = (e) => e ? ol(e) ? e : [e] : null, al = (e) => {\n const t = e.trim().split(\"\");\n for (let n = 0; n < t.length; n++)\n n > 0 && n < t.length - 1 && (t[n] = \"*\");\n return t.join(\"\");\n}, sl = (e) => {\n if (e.length < 4)\n return e;\n const t = e.split(\"\");\n for (let n = 0; n < t.length - 4; n++)\n t[n] = \"*\";\n return t.join(\"\");\n}, ll = (e) => {\n const t = e.split(\"@\");\n return `${al(t[0])}@${t[1]}`;\n}, cl = (e, t) => e === \"Phone Number\" ? sl(t) : ll(t), ul = (e) => Js.some((t) => e.includes(t)), dl = (e, t, n) => encodeURI(`otpauth://totp/${e}:${t}?secret=${n}&issuer=${e}`);\nfunction fl(e, ...t) {\n return Object.entries(e).reduce((n, [r, o]) => ({\n ...n,\n [r]: t.includes(r) ? o : o == null ? void 0 : o.trim()\n }), {});\n}\nconst pl = {\n \"Account recovery requires verified contact information\": \"Zurücksetzen des Accounts benötigt einen verifizierten Account\",\n \"Add your Profile\": \"Ihr Profil hinzufügen\",\n \"Add your Website\": \"Ihre Website hinzufügen\",\n \"Back to Sign In\": \"Zurück zur Anmeldung\",\n \"Change Password\": \"Passwort ändern\",\n Changing: \"Ändern von\",\n Code: \"Code\",\n \"Confirm Password\": \"Passwort bestätigen\",\n \"Please confirm your Password\": \"Bitte bestätigen Sie Ihr Passwort\",\n \"Confirm Sign Up\": \"Registrierung bestätigen\",\n \"Confirm SMS Code\": \"SMS-Code bestätigen\",\n \"Confirm TOTP Code\": \"TOTP-Code bestätigen\",\n Confirm: \"Bestätigen\",\n \"Confirmation Code\": \"Bestätigungs-Code\",\n Confirming: \"Wird bestätigt\",\n \"Create a new account\": \"Einen neuen Account erstellen\",\n \"Create Account\": \"Account erstellen\",\n \"Creating Account\": \"Account wird erstellt\",\n \"Dismiss alert\": \"Warnung verwerfen\",\n Email: \"E-Mail\",\n \"Enter your Birthdate\": \"Geben Sie Ihr Geburtsdatum ein\",\n \"Enter your code\": \"Geben Sie Ihren Code ein\",\n \"Enter your Confirmation Code\": \"Geben Sie Ihren Bestätigungs-Code ein\",\n \"Enter your Email\": \"Geben Sie Ihre E-Mail ein\",\n \"Enter your Family Name\": \"Geben Sie Ihren Nachnamen ein\",\n \"Enter your Given Name\": \"Geben Sie Ihren Vornamen ein\",\n \"Enter your Middle Name\": \"Geben Sie Ihren zweiten Vornamen ein\",\n \"Enter your Name\": \"Geben Sie Ihren Namen ein\",\n \"Enter your Nickname\": \"Geben Sie Ihren Spitznamen ein\",\n \"Enter your Password\": \"Geben Sie Ihr Passwort ein\",\n \"Enter your password\": \"Geben Sie Ihr Passwort ein\",\n \"Enter your email\": \"Geben Sie Ihre E-Mail ein\",\n \"Enter your phone number\": \"Geben Sie Ihre Telefonnummer ein\",\n \"Enter your Preferred Username\": \"Geben Sie Ihren bevorzugten Benutzernamen ein\",\n \"Enter your username\": \"Geben Sie Ihren Benutzernamen ein\",\n \"Forgot password?\": \"Passwort vergessen?\",\n \"Forgot your password?\": \"Passwort vergessen? \",\n \"Hide password\": \"Passwort verbergen\",\n \"It may take a minute to arrive\": \"Es kann eine Minute dauern, bis er ankommt\",\n Loading: \"Wird geladen\",\n \"New password\": \"Neues Passwort\",\n or: \"oder\",\n Password: \"Passwort\",\n \"Phone Number\": \"Telefonnummer\",\n \"Resend Code\": \"Code erneut senden\",\n \"Reset your Password\": \"Zurücksetzen des Passworts\",\n \"Reset your password\": \"Zurücksetzen des passworts\",\n \"Send code\": \"Code senden\",\n \"Send Code\": \"Code senden\",\n Sending: \"Wird gesendet\",\n \"Setup TOTP\": \"TOTP einrichten\",\n \"Show password\": \"Passwort anzeigen\",\n \"Sign in to your account\": \"Melden Sie sich mit Ihrem Account an\",\n \"Sign In with Amazon\": \"Mit Amazon anmelden\",\n \"Sign In with Apple\": \"Mit Apple anmelden\",\n \"Sign In with Facebook\": \"Mit Facebook anmelden\",\n \"Sign In with Google\": \"Mit Google anmelden\",\n \"Sign in\": \"Anmelden\",\n \"Sign In\": \"Anmelden\",\n \"Signing in\": \"Wird angemeldet\",\n Skip: \"Überspringen\",\n Submit: \"Abschicken\",\n Submitting: \"Wird gesendet\",\n Username: \"Benutzername\",\n \"Verify Contact\": \"Kontakt verifizieren\",\n Verify: \"Verifizieren\",\n \"We Emailed You\": \"E-Mail wurde versendet\",\n \"We Sent A Code\": \"Wir haben einen Code gesendet\",\n \"We Texted You\": \"Wir haben Ihnen eine SMS gesendet\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Ihr Bestätigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir per E-Mail verschickt haben\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Ihr Bestätigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir per SMS verschickt haben\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Ein Account mit dieser E-Mail existiert bereits.\",\n \"Confirm a Code\": \"Code bestätigen\",\n \"Confirm Sign In\": \"Anmeldung bestätigen\",\n \"Create account\": \"Hier registrieren\",\n \"Sign Up with Facebook\": \"Mit Facebook registrieren\",\n \"Sign Up with Google\": \"Mit Google registrieren\",\n \"Forgot Password\": \"Passwort vergessen\",\n \"Have an account? \": \"Schon registriert? \",\n \"Incorrect username or password\": \"Falscher Benutzername oder falsches Passwort\",\n \"Invalid password format\": \"Ungültiges Passwort-Format\",\n \"Invalid phone number format\": \"Ungültiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900\",\n \"It may take a minute to arrive.\": \"Es könnte eine Minute dauern, bis der Code eintrifft.\",\n \"Lost your code? \": \"Code verloren? \",\n \"New Password\": \"Neues Passwort\",\n \"No account? \": \"Kein Account? \",\n \"Password attempts exceeded\": \"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht\",\n \"Reset password\": \"Passwort zurücksetzen\",\n \"Reset Password\": \"Passwort Zurücksetzen\",\n \"Sign Out\": \"Abmelden\",\n \"Sign Up\": \"Registrieren\",\n \"User already exists\": \"Dieser Benutzer existiert bereits\",\n \"User does not exist\": \"Dieser Benutzer existiert nicht\",\n \"Username cannot be empty\": \"Benutzername darf nicht leer sein\"\n}, ml = {\n \"Account recovery requires verified contact information\": \"Account recovery requires verified contact information\",\n \"Add your Profile\": \"Add your Profile\",\n \"Add your Website\": \"Add your Website\",\n \"Back to Sign In\": \"Back to Sign In\",\n \"Change Password\": \"Change Password\",\n Changing: \"Changing\",\n Code: \"Code\",\n \"Confirm Password\": \"Confirm Password\",\n \"Confirm Sign Up\": \"Confirm Sign Up\",\n \"Confirm SMS Code\": \"Confirm SMS Code\",\n \"Confirm MFA Code\": \"Confirm MFA Code\",\n \"Confirm TOTP Code\": \"Confirm TOTP Code\",\n Confirm: \"Confirm\",\n \"Confirmation Code\": \"Confirmation Code\",\n Confirming: \"Confirming\",\n \"Create a new account\": \"Create a new account\",\n \"Create Account\": \"Create Account\",\n \"Creating Account\": \"Creating Account\",\n \"Dismiss alert\": \"Dismiss alert\",\n Email: \"Email\",\n \"Enter your Birthdate\": \"Enter your Birthdate\",\n \"Enter your code\": \"Enter your code\",\n \"Enter your Confirmation Code\": \"Enter your Confirmation Code\",\n \"Enter your Email\": \"Enter your Email\",\n \"Enter your Family Name\": \"Enter your Family Name\",\n \"Enter your Given Name\": \"Enter your Given Name\",\n \"Enter your Middle Name\": \"Enter your Middle Name\",\n \"Enter your Name\": \"Enter your Name\",\n \"Enter your Nickname\": \"Enter your Nickname\",\n \"Enter your Password\": \"Enter your Password\",\n \"Enter your phone number\": \"Enter your phone number\",\n \"Enter your Preferred Username\": \"Enter your Preferred Username\",\n \"Enter your username\": \"Enter your username\",\n \"Forgot password?\": \"Forgot password?\",\n \"Forgot your password?\": \"Forgot your password?\",\n \"Hide password\": \"Hide password\",\n \"It may take a minute to arrive\": \"It may take a minute to arrive\",\n Loading: \"Loading\",\n \"New password\": \"New password\",\n or: \"or\",\n Password: \"Password\",\n \"Phone Number\": \"Phone Number\",\n \"Please confirm your Password\": \"Please confirm your Password\",\n \"Resend Code\": \"Resend Code\",\n \"Reset your password\": \"Reset your password\",\n \"Reset your Password\": \"Reset your Password\",\n \"Send code\": \"Send code\",\n \"Send Code\": \"Send Code\",\n Sending: \"Sending\",\n \"Setup TOTP\": \"Setup TOTP\",\n \"Show password\": \"Show password\",\n \"Sign in to your account\": \"Sign in to your account\",\n \"Sign In with Amazon\": \"Sign In with Amazon\",\n \"Sign In with Apple\": \"Sign In with Apple\",\n \"Sign In with Facebook\": \"Sign In with Facebook\",\n \"Sign In with Google\": \"Sign In with Google\",\n \"Sign in\": \"Sign in\",\n \"Sign In\": \"Sign In\",\n \"Signing in\": \"Signing in\",\n Skip: \"Skip\",\n Submit: \"Submit\",\n Submitting: \"Submitting\",\n Username: \"Username\",\n \"Verify Contact\": \"Verify Contact\",\n Verify: \"Verify\",\n \"We Emailed You\": \"We Emailed You\",\n \"We Sent A Code\": \"We Sent A Code\",\n \"We Texted You\": \"We Texted You\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Your code is on the way. To log in, enter the code we emailed to\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Your code is on the way. To log in, enter the code we sent you\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Your code is on the way. To log in, enter the code we texted to\"\n}, gl = {\n \"Account recovery requires verified contact information\": \"La recuperación de la cuenta requiere información de contacto verificada\",\n \"Back to Sign In\": \"Volver a inicio de sesión\",\n \"Change Password\": \"Cambiar contraseña\",\n Changing: \"Cambiando\",\n Code: \"Código\",\n \"Code *\": \"Código *\",\n \"Confirm Password\": \"Confirmar contraseña\",\n \"Confirm Sign Up\": \"Confirmar registro\",\n \"Confirm SMS Code\": \"Confirmar el código de SMS\",\n \"Confirm TOTP Code\": \"Confirmar código TOTP\",\n Confirm: \"Confirmar\",\n \"Confirmation Code\": \"Código de confirmación\",\n Confirming: \"Confirmando\",\n \"Create a new account\": \"Crear una cuenta nueva\",\n \"Create Account\": \"Crear cuenta\",\n \"Creating Account\": \"Creando cuenta\",\n \"Dismiss alert\": \"Descartar alerta\",\n Email: \"Email\",\n \"Enter your code\": \"Ingrese el código\",\n \"Enter your Email\": \"Escriba su Email\",\n \"Enter your email\": \"Escriba su email\",\n \"Enter your Password\": \"Escriba su Contraseña\",\n \"Enter your phone number\": \"Ingrese el número de teléfono\",\n \"Enter your username\": \"Ingrese el nombre de usuario\",\n \"Forgot your password?\": \"¿Olvidó su contraseña?\",\n \"Hide password\": \"Ocultar contraseña\",\n \"It may take a minute to arrive\": \"Es posible que tarde un minuto en llegar\",\n Loading: \"Cargando\",\n \"New password\": \"Nueva contraseña\",\n or: \"o\",\n Password: \"Contraseña\",\n \"Phone Number\": \"Número de teléfono\",\n \"Resend Code\": \"Reenviar código\",\n \"Reset your password\": \"Restablecer su contraseña\",\n \"Reset your Password\": \"Restablecer su Contraseña\",\n \"Send code\": \"Enviar código\",\n \"Send Code\": \"Enviar código\",\n Sending: \"Enviando\",\n \"Setup TOTP\": \"Configurar TOTP\",\n \"Show password\": \"Mostrar contraseña\",\n \"Sign in to your account\": \"Iniciar sesión en tu cuenta\",\n \"Sign In with Amazon\": \"Iniciar Sesión con Amazon\",\n \"Sign In with Apple\": \"Iniciar Sesión con Apple\",\n \"Sign In with Facebook\": \"Iniciar Sesión con Facebook\",\n \"Sign In with Google\": \"Iniciar Sesión con Google\",\n \"Sign in\": \"Iniciar sesión\",\n \"Sign In\": \"Iniciar Sesión\",\n \"Signing in\": \"Iniciando sesión\",\n Skip: \"Omitir\",\n Submit: \"Enviar\",\n Submitting: \"Enviando\",\n Username: \"Nombre de usuario\",\n \"Verify Contact\": \"Verificar contacto\",\n Verify: \"Verificar\",\n \"We Emailed You\": \"Le hemos enviado un correo electrónico\",\n \"We Sent A Code\": \"Hemos enviado un código\",\n \"We Texted You\": \"Le hemos enviado un mensaje de texto\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"El código está en camino. Para iniciar sesión, escriba el código que hemos enviado por correo electrónico a\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"El código está en camino. Para iniciar sesión, escriba el código que le hemos enviado\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"El código está en camino. Para iniciar sesión, escriba el código que hemos enviado por mensaje de texto a\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Ya existe una cuenta con el correo ingresado.\",\n \"Confirm a Code\": \"Confirmar un código\",\n \"Confirm Sign In\": \"Confirmar inicio de sesión\",\n \"Forgot Password\": \"Olvidé mi contraseña\",\n \"Incorrect username or password.\": \"Nombre de usuario o contraseña incorrecta\",\n \"Enter your Family Name\": \"Escriba su apellido\",\n \"Enter your Given Name\": \"Escriba su nombre\",\n \"Given Name\": \"Nombre\",\n \"Family Name\": \"Apellido\",\n \"Reset Password\": \"Restablecer contraseña\",\n \"Please confirm your Password\": \"Confirme su contraseña\",\n \"Invalid password format\": \"Formato de contraseña inválido\",\n \"Invalid phone number format\": \"Formato de número de teléfono inválido\",\n \"Loading...\": \"Cargando...\",\n \"New Password\": \"Nueva contraseña\",\n \"Resend a Code\": \"Reenviar un código\",\n \"Sign Out\": \"Cerrar sesión\",\n \"Sign Up with Amazon\": \"Crear cuenta con Amazon\",\n \"Sign Up with Apple\": \"Crear cuenta con Apple\",\n \"Sign Up with Facebook\": \"Crear cuenta con Facebook\",\n \"Sign Up with Google\": \"Crear cuenta con Google\",\n \"Sign Up\": \"Crear cuenta\",\n \"User already exists\": \"El usuario ya existe\",\n \"User does not exist\": \"El usuario no existe\",\n \"Username/client id combination not found.\": \"El usuario no existe\",\n \"Username cannot be empty\": \"El nombre de usuario no puede estar vacío\",\n \"Your passwords must match\": \"Las contraseñas deben coincidir\",\n \"Password must have at least 8 characters\": \"La contraseña debe tener al menos 8 caracteres\",\n \"Password did not conform with policy: Password must have uppercase characters\": \"La contraseña debe tener al menos un carácter en mayúscula\",\n \"Password did not conform with policy: Password must have numeric characters\": \"La contraseña debe tener al menos un carácter numérico\",\n \"Password did not conform with policy: Password must have symbol characters\": \"La contraseña debe tener al menos un símbolo\",\n \"Password did not conform with policy: Password must have lowercase characters\": \"La contraseña debe tener al menos un carácter en minúsculas\",\n \"Invalid verification code provided, please try again.\": \"Código de verificación no válido, inténtelo de nuevo.\",\n \"Attempt limit exceeded, please try after some time.\": \"Número máximo de intentos excedido, por favor inténtelo de nuevo más tarde.\",\n \"A network error has occurred.\": \"Se ha producido un error de red.\"\n}, hl = {\n \"Account recovery requires verified contact information\": \"La récupération du compte nécessite des informations de contact vérifiées\",\n \"Back to Sign In\": \"Retour à la connexion\",\n \"Change Password\": \"Modifier le mot de passe\",\n Changing: \"Modification en cours\",\n Code: \"Code\",\n \"Confirm Password\": \"Confirmez le mot de passe\",\n \"Confirm Sign Up\": \"Confirmer l'inscription\",\n \"Confirm SMS Code\": \"Confirmer le code SMS\",\n \"Confirm TOTP Code\": \"Confirmer le code TOTP\",\n Confirm: \"Confirmer\",\n \"Confirmation Code\": \"Code de confirmation\",\n Confirming: \"Confirmation\",\n \"Create a new account\": \"Créer un nouveau compte\",\n \"Create Account\": \"Créer un compte\",\n \"Creating Account\": \"Création d'un compte\",\n \"Dismiss alert\": \"Supprimer l'alerte\",\n Email: \"Email\",\n \"Enter your code\": \"Saisissez cotre code de confirmation\",\n \"Enter your Email\": \"Saisissez votre adresse e-mail\",\n \"Enter your email\": \"Saisissez votre adresse e-mail\",\n \"Enter your phone number\": \"Saisissez votre numéro de téléphone\",\n \"Enter your username\": \"Saisissez votre nom d'utilisateur\",\n \"Forgot your password?\": \"Mot de passe oublié ? \",\n \"Hide password\": \"Masquer le mot de passe\",\n \"It may take a minute to arrive\": \"Cela peut prendre une minute\",\n Loading: \"Chargement en cours\",\n \"New password\": \"Nouveau mot de passe\",\n or: \"ou\",\n Password: \"Mot de passe\",\n \"Phone Number\": \"Numéro de téléphone\",\n \"Resend Code\": \"Renvoyer le code\",\n \"Reset your Password\": \"Réinitialiser votre mot de passe\",\n \"Reset your password\": \"Réinitialisez votre mot de passe\",\n \"Send code\": \"Envoyer le code\",\n \"Send Code\": \"M'envoyer un code\",\n Sending: \"Envoi en cours\",\n \"Setup TOTP\": \"Configuration de TOTP\",\n \"Show password\": \"Afficher le mot de passe\",\n \"Sign in to your account\": \"Connexion à votre compte\",\n \"Sign In with Amazon\": \"Se connecter avec Amazon\",\n \"Sign In with Apple\": \"Se connecter avec Apple\",\n \"Sign In with Facebook\": \"Se connecter avec Facebook\",\n \"Sign In with Google\": \"Se connecter avec Google\",\n \"Sign in\": \"Se connecter\",\n \"Sign In\": \"Se connecter\",\n \"Signing in\": \"Connexion en cours\",\n Skip: \"Passer\",\n Submit: \"Soumettre\",\n Submitting: \"Envoi en cours\",\n Username: \"Nom d'utilisateur\",\n \"Verify Contact\": \"Vérifier le contact\",\n Verify: \"Vérifier\",\n \"We Sent A Code\": \"Nous avons envoyé un code\",\n \"We Texted You\": \"Nous vous avons envoyé un SMS\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoyé\",\n // Additional translations provided by customers\n \"Add your Profile\": \"Ajoutez votre profil\",\n \"Add your Website\": \"Ajoutez votre site web\",\n \"An account with the given email already exists.\": \"Un utilisateur avec cette adresse email existe déjà.\",\n Birthdate: \"Date de naissance\",\n Change: \"Modifier\",\n \"Confirm a Code\": \"Confirmer un code\",\n \"Confirm Sign In\": \"Confirmer la connexion\",\n \"Create account\": \"Créer un compte\",\n \"Enter your Birthdate\": \"Saisissez votre date de naissance\",\n \"Enter your Confirmation Code\": \"Saisissez votre code de confirmation\",\n \"Enter your Family Name\": \"Saisissez votre nom de famille\",\n \"Enter your Given Name\": \"Saisissez votre prénom\",\n \"Enter your Middle Name\": \"Saisissez votre deuxième prénom\",\n \"Enter your Name\": \"Saisissez votre nom\",\n \"Enter your Nickname\": \"Saisissez votre surnom\",\n \"Enter your Password\": \"Saisissez votre mot de passe\",\n \"Enter your Phone Number\": \"Saisissez votre numéro de téléphone\",\n \"Enter your Preferred Username\": \"Saisissez votre nom d'utilisateur\",\n \"Enter your password\": \"Saisissez votre mot de passe\",\n \"Given Name\": \"Prénom\",\n \"Family Name\": \"Nom de famille\",\n \"Forgot Password\": \"Mot de passe oublié\",\n \"Forgot Password?\": \"Mot de passe oublié ?\",\n \"Incorrect username or password.\": \"Identifiant ou mot de passe incorrect.\",\n \"Have an account? \": \"Déjà un compte ? \",\n Hello: \"Bonjour\",\n \"Incorrect username or password\": \"Identifiant ou mot de passe incorrect\",\n \"Invalid password format\": \"Format de mot de passe invalide\",\n \"Invalid phone number format\": \"Format de numéro de téléphone invalide. Veuillez utiliser un format +12345678900\",\n \"Loading...\": \"Chargement...\",\n \"Lost your code? \": \"Vous avez perdu votre code ? \",\n \"Network error\": \"Erreur réseau\",\n \"New Password\": \"Nouveau mot de passe\",\n Name: \"Nom\",\n \"No account? \": \"Pas de compte ? \",\n \"Please confirm your Password\": \"Confirmez votre mot de passe\",\n \"Preferred Username\": \"Nom d'utilisateur préféré\",\n Profile: \"Profil\",\n \"Resend a Code\": \"Renvoyer un code\",\n \"Reset password\": \"Réinitialiser le mot de passe\",\n \"Reset Password\": \"Réinitialiser le mot de passe\",\n Send: \"Envoyer\",\n \"Sign In with AWS\": \"Se connecter avec AWS\",\n \"Sign Out\": \"Déconnexion\",\n \"Sign Up\": \"S'inscrire\",\n SMS: \"SMS\",\n \"User already exists\": \"L'utilisateur existe déjà\",\n \"User does not exist\": \"L'utilisateur n'existe pas\",\n \"Username cannot be empty\": \"Le nom d'utilisateur doit être renseigné\",\n \"Username/client id combination not found.\": \"L'utilisateur n'existe pas\",\n \"We Emailed You\": \"Nous vous avons envoyé un code\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Votre code est en route. Pour vous connecter entrez le code reçu sur cette adresse email\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Votre code est en route. Pour vous connecter entrez le code reçu sur ce numéro de téléphone\",\n \"Your passwords must match\": \"Vos mots de passe doivent être identiques\",\n \"It may take a minute to arrive.\": \"Cela peut prendre quelques minutes.\",\n Website: \"Site web\",\n \"Password must have at least 8 characters\": \"Le mot de passe doit comporter au moins 8 caractères\",\n \"Password did not conform with policy: Password must have uppercase characters\": \"Le mot de passe doit comporter des caractères majuscules\",\n \"Password did not conform with policy: Password must have numeric characters\": \"Le mot de passe doit comporter des caractères numériques\",\n \"Password did not conform with policy: Password must have symbol characters\": \"Le mot de passe doit comporter des symboles\",\n \"Password did not conform with policy: Password must have lowercase characters\": \"Le mot de passe doit comporter des caractères minuscules\",\n \"Invalid verification code provided, please try again.\": \"Code de vérification invalide, veuillez réessayer.\",\n \"Attempt limit exceeded, please try after some time.\": \"Nombre maximum de tentatives dépassé, veuillez réessayer plus tard.\",\n \"A network error has occurred.\": \"Une erreur de réseau s'est produite.\"\n}, yl = {\n \"Account recovery requires verified contact information\": \"Il ripristino dell'account richiede informazioni di contatto verificate\",\n \"Back to Sign In\": \"Torna alla schermata di accesso\",\n \"Change Password\": \"Cambia la password\",\n Changing: \"Modifica in corso\",\n Code: \"Codice\",\n \"Confirm Password\": \"Conferma la password\",\n \"Confirm Sign Up\": \"Conferma registrazione\",\n \"Confirm SMS Code\": \"Conferma codice SMS\",\n \"Confirm TOTP Code\": \"Conferma codice TOTP\",\n Confirm: \"Conferma\",\n \"Confirmation Code\": \"Codice di verifica\",\n Confirming: \"Conferma in corso\",\n \"Create a new account\": \"Crea un nuovo account\",\n \"Create Account\": \"Crea Account\",\n \"Creating Account\": \"Creazione account in corso\",\n \"Dismiss alert\": \"Ignora l'avviso\",\n Email: \"Email\",\n \"Enter your code\": \"Inserisci il tuo codice\",\n \"Enter your Email\": \"Inserisci la tua e-mail\",\n \"Enter your phone number\": 'Inserisci il tuo numero di telefono\"',\n \"Enter your username\": \"Inserisci il tuo nome utente\",\n \"Forgot your password?\": \"Password dimenticata?\",\n \"Hide password\": \"Nascondi password\",\n \"It may take a minute to arrive\": \"L'arrivo potrebbe richiedere qualche minuto\",\n Loading: \"Caricamento in corso\",\n \"New password\": \"Nuova password\",\n or: \"oppure\",\n Password: \"Password\",\n \"Phone Number\": \"Numero di telefono\",\n \"Resend Code\": \"Invia nuovamente il codice\",\n \"Reset your Password\": \"Reimposta la tua Password\",\n \"Reset your password\": \"Reimposta la tua password\",\n \"Send code\": \"Invia codice\",\n \"Send Code\": \"Invia codice\",\n Sending: \"Invio in corso\",\n \"Setup TOTP\": \"Configura TOTP\",\n \"Show password\": \"Mostra password\",\n \"Sign in to your account\": \"Accedi al tuo account\",\n \"Sign In with Amazon\": \"Accedi con Amazon\",\n \"Sign In with Apple\": \"Accedi con Apple\",\n \"Sign In with Facebook\": \"Accedi con Facebook\",\n \"Sign In with Google\": \"Accedi con Google\",\n \"Sign in\": \"Accedi\",\n \"Sign In\": \"Accedi\",\n \"Signing in\": \"Accesso in corso\",\n Skip: \"Salta\",\n Submit: \"Invia\",\n Submitting: \"Invio in corso\",\n Username: \"Nome utente\",\n \"Verify Contact\": \"Verifica contatto\",\n Verify: \"Verifica\",\n \"We Emailed You\": \"Ti abbiamo inviato un'e-mail\",\n \"We Sent A Code\": \"Ti abbiamo inviato un codice\",\n \"We Texted You\": \"Ti abbiamo inviato un SMS\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Il codice è in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Il codice è in arrivo. Per accedere, immetti il codice che ti abbiamo inviato\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Il codice è in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Questa email è già utilizzata da un altro account.\",\n \"Confirm a Code\": \"Conferma un codice\",\n \"Confirm Sign In\": \"Conferma l'accesso\",\n \"Create account\": \"Crea account\",\n \"Enter your password\": \"Inserisci la tua password\",\n \"Forgot Password?\": \"Password dimenticata?\",\n \"Have an account? \": \"Già registrato?\",\n \"Incorrect username or password\": \"Nome utente o password errati\",\n \"Invalid password format\": \"Formato della password non valido\",\n \"Invalid phone number format\": \"Formato del numero di telefono non valido\",\n \"Lost your code?\": \"Codice smarrito?\",\n \"New Password\": \"Nuova password\",\n \"No account? \": \"Non hai un account?\",\n \"Password attempts exceeded\": \"Il numero massimo di tentativi di accesso falliti è stato raggiunto\",\n \"Reset password\": \"Reimposta password\",\n \"Sign Out\": \"Esci\",\n \"Sign Up\": \"Registrati\",\n \"User already exists\": \"Utente già esistente\",\n \"User does not exist\": \"Utente inesistente\",\n \"Username cannot be empty\": \"Il nome utente non può essere vuoto\"\n}, vl = {\n \"Account recovery requires verified contact information\": \"アカウントの復旧には確認済みの連絡先が必要です\",\n \"Back to Sign In\": \"サインインに戻る\",\n \"Change Password\": \"パスワードを変える \",\n Changing: \"変更中\",\n Code: \"コード\",\n \"Confirm Password\": \"パスワードの確認\",\n \"Confirm Sign Up\": \"登録する\",\n \"Confirm SMS Code\": \"SMS コードを確認\",\n \"Confirm TOTP Code\": \"TOTP コードを確認\",\n Confirm: \"確定\",\n \"Confirmation Code\": \"確認コード\",\n Confirming: \"確認中\",\n \"Create a new account\": \"新しいアカウントを作る\",\n \"Create Account\": \"アカウントを作る\",\n \"Creating Account\": \"アカウントの作成中\",\n \"Dismiss alert\": \"アラートを閉じる\",\n Email: \"メールアドレス\",\n \"Enter your code\": \"コードを入力\",\n \"Enter your Email\": \"メールアドレスを入力\",\n \"Enter your phone number\": \"電話番号を入力\",\n \"Enter your username\": \"ユーザー名を入力 \",\n \"Enter your Username\": \"ユーザー名を入力 \",\n \"Forgot your password?\": \"パスワードを忘れましたか? \",\n \"Hide password\": \"パスワードを非表示\",\n \"It may take a minute to arrive\": \"到着するまでに 1 分かかることがあります\",\n Loading: \"ロード中\",\n \"New password\": \"新しいパスワード\",\n or: \"又は\",\n Password: \"パスワード \",\n \"Phone Number\": \"電話番号\",\n \"Resend Code\": \"コードを再送信\",\n \"Reset your Password\": \"パスワードをリセット\",\n \"Reset your password\": \"パスワードをリセットする\",\n \"Send code\": \"コードを送信\",\n \"Send Code\": \"コードを送信\",\n Sending: \"送信中\",\n \"Setup TOTP\": \"TOTP をセットアップ\",\n \"Show password\": \"パスワードを表示\",\n \"Sign in to your account\": \"アカウントにサインイン \",\n \"Sign In with Amazon\": \"Amazonでサインイン\",\n \"Sign In with Apple\": \"Apple でサインイン\",\n \"Sign In with Facebook\": \"Facebookでサインイン\",\n \"Sign In with Google\": \"Googleでサインイン\",\n \"Sign In\": \"サインイン \",\n \"Sign in\": \"サインイン\",\n \"Signing in\": \"サインイン中\",\n Skip: \"スキップ\",\n Submit: \"送信\",\n Submitting: \"送信中\",\n Username: \"ユーザー名 \",\n \"Verify Contact\": \"連絡先を確認\",\n Verify: \"確認\",\n \"We Sent A Code\": \"コードが送信されました\",\n \"We Texted You\": \"テキストが送信されました\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"コードが途中です。ログインするには、送信したコードを入力してください\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"入力されたメールアドレスのアカウントが既に存在します\",\n \"Confirm a Code\": \"コードを確認\",\n \"Confirm Sign In\": \"サインインする\",\n \"Create account\": \"アカウントを作る \",\n \"Enter your password\": \"パスワードを入力 \",\n \"Enter your Password\": \"パスワードを入力\",\n \"Please confirm your Password\": \"パスワードを入力\",\n \"Forgot Password\": \"パスワードを忘れた \",\n \"Have an account? \": \"アカウントを持っていますか?\",\n \"Incorrect username or password\": \"ユーザー名かパスワードが異なります \",\n \"Invalid password format\": \"パスワードの形式が無効です \",\n \"Invalid phone number format\": `不正な電話番号の形式です。\n+12345678900 の形式で入力してください`,\n \"It may take a minute to arrive.\": \"コードを受信するまで数分かかる場合があります。\",\n \"Lost your code? \": \"コードを失くしましたか?\",\n \"New Password\": \"新しいパスワード\",\n \"No account? \": \"アカウントが無いとき \",\n \"Password attempts exceeded\": \"サインインの試行回数が上限に達しました\",\n \"Reset password\": \"パスワードをリセット \",\n \"Reset Password\": \"パスワードをリセット\",\n \"Sign Out\": \"サインアウト \",\n \"Sign Up\": \"登録 \",\n \"User already exists\": \"既にユーザーが存在しています \",\n \"User does not exist\": \"ユーザーが存在しません \",\n \"Username cannot be empty\": \"ユーザー名は入力必須です\",\n \"We Emailed You\": \"コードを送信しました\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"ログインするには、メールに記載されたコードを入力してください。送信先:\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"ログインするには、テキストメッセージに記載されたコードを入力してください。送信先:\"\n}, _l = {\n \"Account recovery requires verified contact information\": \"계정 복구를 위해 연락처 확인이 필요합니다\",\n \"Back to Sign In\": \"로그인으로 돌아가기\",\n \"Change Password\": \"비밀번호 변경하기\",\n Changing: \"변경중\",\n Code: \"코드\",\n \"Confirm Password\": \"비밀번호 재확인\",\n \"Confirm Sign Up\": \"회원가입 확인\",\n \"Confirm SMS Code\": \"휴대폰 본인 확인\",\n \"Confirm TOTP Code\": \"TOTP 인증번호 확인\",\n Confirm: \"확인\",\n \"Confirmation Code\": \"인증번호\",\n Confirming: \"확인중\",\n \"Create a new account\": \"회원가입\",\n \"Create Account\": \"회원가입\",\n \"Creating Account\": \"회원가입중\",\n \"Dismiss alert\": \"알림 무시\",\n Email: \"이메일\",\n \"Enter your Birthdate\": \"생년월일 입력\",\n \"Enter your code\": \"인증번호를 입력해주세요\",\n \"Enter your Confirmation Code\": \"확인 코드 입력\",\n \"Enter your Email\": \"이메일 입력\",\n \"Enter your Family Name\": \"성 입력\",\n \"Enter your Given Name\": \"사용장 이름 입력\",\n \"Enter your Name\": \"이름 입력\",\n \"Enter your Nickname\": \"닉네임 입력\",\n \"Enter your Password\": \"비밀번호 입력\",\n \"Enter your phone number\": \"전화번호 입력\",\n \"Enter your Preferred Username\": \"선호하는 아이디 입력\",\n \"Enter your username\": \"아이디를 입력해주세요\",\n \"Forgot password?\": \"비밀번호를 잊으셨나요?\",\n \"Hide password\": \"비밀번호 숨기기\",\n \"It may take a minute to arrive\": \"도착하는 데 1분 정도 걸릴 수 있습니다\",\n Loading: \"로딩중\",\n \"New password\": \"새 비밀번호\",\n or: \"또는\",\n Password: \"비밀번호\",\n \"Phone Number\": \"전화번호\",\n \"Please confirm your Password\": \"비밀번호를 확인해 주세요.\",\n \"Resend Code\": \"인증번호 재전송\",\n \"Reset your password\": \"비밀번호 재설정\",\n \"Reset your Password\": \"비밀번호 재설정\",\n \"Send code\": \"인증코드 보내기\",\n \"Send Code\": \"코드 전송\",\n Sending: \"전송중\",\n \"Setup TOTP\": \"TOTP 설정하기\",\n \"Show password\": \"비밀번호 보이기\",\n \"Sign in to your account\": \"로그인\",\n \"Sign In with Amazon\": \"Amazon 로그인\",\n \"Sign In with Apple\": \"Apple 로그인\",\n \"Sign In with Facebook\": \"Facebook 로그인\",\n \"Sign In with Google\": \"Google 로그인\",\n \"Sign in\": \"로그인\",\n \"Sign In\": \"로그인\",\n \"Signing in\": \"로그인중\",\n Skip: \"다음에 하기\",\n Submit: \"확인\",\n Submitting: \"확인중\",\n Username: \"아이디\",\n \"Verify Contact\": \"연락처 확인\",\n Verify: \"인증\",\n \"We Emailed You\": \"이메일을 보냄\",\n \"We Sent A Code\": \"코드를 보냄\",\n \"We Texted You\": \"문자 메시지를 보냄\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"코드가 전송 중입니다. 로그인하려면 이메일로 전송한 코드를 입력하세요\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"코드가 전송 중입니다. 로그인하려면 전송한 코드를 입력하세요\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"코드가 전송 중입니다. 로그인하려면 문자 메시지로 전송한 코드를 입력하세요\",\n // Additional translations provided by customers\n Birthdate: \"생년월일\",\n \"Family Name\": \"성\",\n \"Forgot your password?\": \"비밀번호를 잊으셨나요?\",\n \"Given Name\": \"이름\",\n Name: \"성함\",\n Nickname: \"닉네임\",\n \"Preferred Username\": \"닉네임\",\n Profile: \"프로필\",\n \"Reset Password\": \"비밀번호 재설정\",\n Website: \"웹사이트\"\n}, wl = {\n \"Account recovery requires verified contact information\": \"Gjenoppretting av konto krever verifisert kontaktinformajson\",\n \"Add your Profile\": \"Legg til profilen din\",\n \"Add your Website\": \"Legg til nettsiden din\",\n \"Back to Sign In\": \"Tilbake til innlogging\",\n \"Change Password\": \"Bytt passord\",\n Changing: \"Endre\",\n Code: \"Kode\",\n \"Confirm Password\": \"Bekreft passordet\",\n \"Confirm Sign Up\": \"Bekreft registrering\",\n \"Confirm SMS Code\": \"Bekreft SMS-kode\",\n \"Confirm TOTP Code\": \"Bekreft TOTP-kode\",\n Confirm: \"Bekreft\",\n \"Confirmation Code\": \"Bekreftelseskode\",\n Confirming: \"Bekrefter\",\n \"Create a new account\": \"Opprett en ny konto\",\n \"Create Account\": \"Opprett konto\",\n \"Creating Account\": \"Oppretter konto\",\n \"Dismiss alert\": \"Avvis varsel\",\n Email: \"E-post\",\n \"Enter your Birthdate\": \"Skriv inn fødselsdatoen din\",\n \"Enter your code\": \"Skriv inn koden din\",\n \"Enter your Confirmation Code\": \"Skriv inn bekreftelseskoden din\",\n \"Enter your Email\": \"Skriv inn e-postadressen din\",\n \"Enter your Family Name\": \"Skriv inn etternavnet ditt\",\n \"Enter your Given Name\": \"Skriv inn fornavnet ditt\",\n \"Enter your Middle Name\": \"Skriv inn mellomnavnet ditt\",\n \"Enter your Name\": \"Skriv inn navnet ditt\",\n \"Enter your Nickname\": \"Skriv inn kallenavnet ditt\",\n \"Enter your Password\": \"Skriv inn passordet ditt\",\n \"Enter your phone number\": \"Skriv inn telefonnummeret ditt\",\n \"Enter your Preferred Username\": \"Skriv inn det foretrukne brukernavnet ditt\",\n \"Enter your username\": \"Skriv inn brukernavnet ditt\",\n \"Forgot password?\": \"Glemt passord?\",\n \"Forgot your password?\": \"Glemt passordet ditt?\",\n \"Hide password\": \"Skjul passordet\",\n \"It may take a minute to arrive\": \"Det kan ta et minutt for å komme frem\",\n Loading: \"Laster inn\",\n \"New password\": \"Nytt passord\",\n or: \"eller\",\n Password: \"Passord\",\n \"Phone Number\": \"Telefonnummer\",\n \"Please confirm your Password\": \"Vennligst bekreft passordet ditt\",\n \"Resend Code\": \"Send koden på nytt\",\n \"Reset your password\": \"Nullstill passordet ditt\",\n \"Reset your Password\": \"Nullstill passordet ditt\",\n \"Send code\": \"Send kode\",\n \"Send Code\": \"Send kode\",\n Sending: \"Sender\",\n \"Setup TOTP\": \"Konfigurer TOTP\",\n \"Show password\": \"Vis passordet\",\n \"Sign in to your account\": \"Logg inn på kontoen din\",\n \"Sign In with Amazon\": \"Logg inn med Amazon\",\n \"Sign In with Apple\": \"Logg inn med Apple\",\n \"Sign In with Facebook\": \"Logg inn med Facebook\",\n \"Sign In with Google\": \"Logg inn med Google\",\n \"Sign in\": \"Logg inn\",\n \"Sign In\": \"Logg inn\",\n \"Signing in\": \"Logger inn\",\n Skip: \"Hopp over\",\n Submit: \"Send inn\",\n Submitting: \"Sender inn\",\n Username: \"Brukernavn\",\n \"Verify Contact\": \"Bekreft kontakt\",\n Verify: \"Bekreft\",\n \"We Emailed You\": \"Vi sendte deg en e-post\",\n \"We Sent A Code\": \"Vi sendte en kode\",\n \"We Texted You\": \"Vi sendte deg en tekstmelding\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Koden din er på vei. For å logge inn, skriv inn koden vi sendte e-post til\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Koden din er på vei. For å logge inn, skriv inn koden vi sendte deg\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Koden din er på vei. For å logge inn, skriv inn koden vi sendte tekstmelding til\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Det finnes allerede en konto med denne e-postadressen\",\n \"Confirm a Code\": \"Bekreft koden\",\n \"Confirm Sign In\": \"Bekreft innlogging\",\n \"Create account\": \"Opprett konto\",\n \"Enter your password\": \"Skriv inn passordet ditt\",\n \"Forgot Password\": \"Glemt passordet\",\n \"Have an account? \": \"Har en konto allerede? \",\n \"Incorrect username or password\": \"Feil brukernavn eller passord\",\n \"Invalid password format\": \"Ugyldig passordformat\",\n \"Invalid phone number format\": \"Ugyldig telefonnummerformat\",\n \"Lost your code? \": \"Mistet koden? \",\n \"New Password\": \"Nytt passord\",\n \"No account? \": \"Ingen konto? \",\n \"Password attempts exceeded\": \"For mange mislykkede passordforsøk\",\n \"Reset password\": \"Nullstill passord\",\n \"Sign Out\": \"Logg ut\",\n \"Sign Up\": \"Registrering\",\n \"User already exists\": \"Brukeren finnes allerede\",\n \"User does not exist\": \"Brukeren finnes ikke\",\n \"Username cannot be empty\": \"Brukernavnet kan ikke være tomt\"\n}, Sl = {\n \"Account recovery requires verified contact information\": \"Accountherstel vereist geverifieerde contactgegevens\",\n \"Back to Sign In\": \"Terug naar inloggen\",\n \"Change Password\": \"Wachtwoord wijzigen\",\n Changing: \"Wordt aangepast\",\n Code: \"Code\",\n \"Confirm Password\": \"Bevestig Wachtwoord\",\n \"Confirm Sign Up\": \"Bevestig inschrijving\",\n \"Confirm SMS Code\": \"Bevestig SMS Code\",\n \"Confirm TOTP Code\": \"Bevestig TOTP Code\",\n Confirm: \"Bevestig\",\n \"Confirmation Code\": \"Bevestigingscode\",\n Confirming: \"Bevestigen\",\n \"Create a new account\": \"Nieuw account aanmaken\",\n \"Create Account\": \"Account aanmaken\",\n \"Creating Account\": \"Account wordt aangemaakt\",\n \"Dismiss alert\": \"Waarschuwing sluiten\",\n Email: \"E-mail\",\n \"Enter your code\": \"Vul je code in\",\n \"Enter your Email\": \"Vul je e-mail in\",\n \"Enter your Password\": \"Vul je wachtwoord in\",\n \"Enter your phone number\": \"Vul je telefoonnummer in\",\n \"Enter your username\": \"Vul je gebruikersnaam in\",\n \"Enter your Username\": \"Vul je gebruikersnaam in\",\n \"Forgot your password?\": \"Wachtwoord vergeten? \",\n \"Hide password\": \"Verberg wachtwoord\",\n \"It may take a minute to arrive\": \"Het kan even duren voordat deze aankomt\",\n Loading: \"Laden\",\n \"New password\": \"Nieuw wachtwoord\",\n \"New Password\": \"Nieuw Wachtwoord\",\n or: \"of\",\n Password: \"Wachtwoord\",\n \"Phone Number\": \"Telefoonnummer\",\n \"Please confirm your Password\": \"Bevestig je wachtwoord\",\n \"Resend Code\": \"Verstuur code nogmaals\",\n \"Reset Password\": \"Wachtwoord resetten\",\n \"Reset your password\": \"Reset je wachtwoord\",\n \"Reset your Password\": \"Wachtwoord resetten\",\n \"Send code\": \"Verstuur code\",\n \"Send Code\": \"Verstuur Code\",\n Sending: \"Versturen\",\n \"Setup TOTP\": \"TOTP Instellingen\",\n \"Show password\": \"Toon wachtwoord\",\n \"Sign in to your account\": \"Inloggen op je account\",\n \"Sign In with Amazon\": \"Inloggen met Amazon\",\n \"Sign In with Apple\": \"Inloggen met Apple\",\n \"Sign In with Facebook\": \"Inloggen met Facebook\",\n \"Sign In with Google\": \"Inloggen met Google\",\n \"Sign in\": \"Inloggen\",\n \"Sign In\": \"Inloggen\",\n \"Signing in\": \"Inloggen\",\n Skip: \"Overslaan\",\n Submit: \"Versturen\",\n Submitting: \"Wordt verstuurd\",\n Username: \"Gebruikersnaam\",\n \"Verify Contact\": \"Verifieer Contact\",\n Verify: \"Verifieer\",\n \"We Emailed You\": \"We hebben u een e-mail gestuurd\",\n \"We Sent A Code\": \"We hebben een code gestuurd\",\n \"We Texted You\": \"We hebben u een sms gestuurd\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar\",\n \"Your passwords must match\": \"Je wachtwoorden moeten overeenkomen\"\n}, bl = {\n \"Account recovery requires verified contact information\": \"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych\",\n \"Back to Sign In\": \"Powrót do logowania\",\n \"Change Password\": \"Zmień hasło\",\n Changing: \"Zmienianie\",\n Code: \"Kod\",\n \"Confirm Password\": \"Potwierdź Hasło\",\n \"Confirm Sign Up\": \"Potwierdź rejestrację\",\n \"Confirm SMS Code\": \"Potwierdź kod SMS\",\n \"Confirm TOTP Code\": \"Potwierdź hasło jednorazowe\",\n Confirm: \"Potwierdź\",\n \"Confirmation Code\": \"Kod potwierdzenia\",\n Confirming: \"Potwierdzanie\",\n \"Create a new account\": \"Utwórz nowe konto\",\n \"Create Account\": \"Utwórz konto\",\n \"Creating Account\": \"Tworzenie konta\",\n \"Dismiss alert\": \"Odrzuć alert\",\n Email: \"E-mail\",\n \"Enter your code\": \"Wprowadź swój kod\",\n \"Enter your Email\": \"Wpisz swój adres e-mail\",\n \"Enter your phone number\": \"Wpisz swój numer telefonu\",\n \"Enter your username\": \"Wprowadź swoją nazwę użytkownika\",\n \"Forgot your password?\": \"Zapomniałeś hasła? \",\n \"Hide password\": \"Ukryj hasło\",\n \"It may take a minute to arrive\": \"Może to chwilę potrwać\",\n Loading: \"Ładowanie\",\n \"New password\": \"Nowe hasło\",\n or: \"albo\",\n Password: \"Hasło\",\n \"Phone Number\": \"Numer telefonu\",\n \"Resend Code\": \"Wyślij kod ponownie\",\n \"Reset your password\": \"Zresetuj swoje hasło\",\n \"Reset your Password\": \"Zresetuj swoje hasło\",\n \"Send code\": \"Wyślij kod\",\n \"Send Code\": \"Zresetuj hasło\",\n Sending: \"Wysyłanie\",\n \"Setup TOTP\": \"Konfiguruj TOTP\",\n \"Show password\": \"Pokaż hasło\",\n \"Sign in to your account\": \"Zaloguj się na swoje konto\",\n \"Sign In with Amazon\": \"Zaloguj z Amazon\",\n \"Sign In with Apple\": \"Zaloguj z Apple\",\n \"Sign In with Facebook\": \"Zaloguj z Facebook\",\n \"Sign In with Google\": \"Zaloguj z Google\",\n \"Sign In\": \"Logowanie\",\n \"Sign in\": \"Zaloguj\",\n \"Signing in\": \"Logowanie\",\n Skip: \"Pomiń\",\n Submit: \"Wyślij\",\n Submitting: \"Wysyłanie\",\n Username: \"Nazwa użytkownika\",\n \"Verify Contact\": \"Weryfikacja danych kontaktowych\",\n Verify: \"Zweryfikuj\",\n // Additional translations provided by customers\n Birthdate: \"Data urodzenia\",\n \"Family Name\": \"Nazwisko\",\n \"Given Name\": \"Pierwsze imię\",\n \"Middle Name\": \"Drugie imię\",\n Name: \"Imię i nazwisko\",\n Nickname: \"Pseudonim\",\n \"Preferred Username\": \"Preferowana nazwa użytkownika\",\n Profile: \"Profil\",\n Website: \"Strona internetowa\",\n \"We Emailed You\": \"Wysłaliśmy Ci wiadomość e-mail\",\n \"We Sent A Code\": \"Wysłaliśmy kod\",\n \"We Texted You\": \"Wysłaliśmy Ci wiadomość SMS\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Twój kod został wysłany. Aby się zalogować, wprowadź kod wysłany na adres e-mail\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Twój kod został wysłany. Aby się zalogować, wprowadź wysłany do Ciebie kod\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Twój kod został wysłany. Aby się zalogować, wprowadź kod wysłany do Ciebie w wiadomości SMS pod numer\"\n}, Cl = {\n \"Account recovery requires verified contact information\": \"A recuperação da conta requer informações de contato verificadas\",\n \"Add your Profile\": \"Adicione seu Perfil\",\n \"Add your Website\": \"Adicione seu Website\",\n \"Back to Sign In\": \"Voltar para Entrar\",\n \"Change Password\": \"Mudar senha\",\n Changing: \"Mudando\",\n Code: \"Código\",\n \"Confirm Password\": \"Confirme a Senha\",\n \"Confirm Sign Up\": \"Confirmar inscrição\",\n \"Confirm SMS Code\": \"Confirme o código SMS\",\n \"Confirm MFA Code\": \"Confirme o código MFA\",\n \"Confirm TOTP Code\": \"Confirme o código TOTP\",\n Confirm: \"confirme\",\n \"Confirmation Code\": \"Código de confirmação\",\n Confirming: \"Confirmando\",\n \"Create a new account\": \"Criar uma nova conta\",\n \"Create Account\": \"Criar Conta\",\n \"Creating Account\": \"Criando conta\",\n \"Dismiss alert\": \"Descartar alerta\",\n Email: \"O email\",\n \"Enter your Birthdate\": \"Digite sua Data de Nascimento\",\n \"Enter your code\": \"Insira seu código\",\n \"Enter your Confirmation Code\": \"Digite seu código de confirmação\",\n \"Enter your Email\": \"Digite seu e-mail\",\n \"Enter your Family Name\": \"Digite seu Sobrenome\",\n \"Enter your Given Name\": \"Digite seu Primeiro Nome\",\n \"Enter your Middle Name\": \"Digite seu Nome do Meio\",\n \"Enter your Name\": \"Digite seu Nome\",\n \"Enter your Nickname\": \"Digite seu Apelido\",\n \"Enter your Password\": \"Digite sua senha\",\n \"Enter your phone number\": \"Digite seu número de telefone\",\n \"Enter your Preferred Username\": \"Digite seu nome de usuário preferido\",\n \"Enter your username\": \"Digite seu nome de usuário\",\n \"Forgot password?\": \"Esqueceu a senha?\",\n \"Forgot your password?\": \"Esqueceu sua senha?\",\n \"Hide password\": \"Esconder a senha\",\n \"It may take a minute to arrive\": \"Pode levar um minuto para chegar\",\n Loading: \"Carregando\",\n \"New password\": \"Nova Senha\",\n or: \"ou\",\n Password: \"Senha\",\n \"Phone Number\": \"Número de telefone\",\n \"Please confirm your Password\": \"Por favor confirme sua Senha\",\n \"Resend Code\": \"Reenviar código\",\n \"Reset your password\": \"Redefina sua senha\",\n \"Reset your Password\": \"Redefina sua senha\",\n \"Send code\": \"Enviar código\",\n \"Send Code\": \"Enviar código\",\n Sending: \"Enviando\",\n \"Setup TOTP\": \"Configurar TOTP\",\n \"Show password\": \"Mostrar senha\",\n \"Sign in to your account\": \"Faça login em sua conta\",\n \"Sign In with Amazon\": \"Entrar com a Amazon\",\n \"Sign In with Apple\": \"Entrar com a Apple\",\n \"Sign In with Facebook\": \"Entrar com o Facebook\",\n \"Sign In with Google\": \"Faça login no Google\",\n \"Sign in\": \"Entrar\",\n \"Sign In\": \"Entrar\",\n \"Signing in\": \"Entrando\",\n Skip: \"Pular\",\n Submit: \"Enviar\",\n Submitting: \"Enviando\",\n Username: \"Nome do usuário\",\n \"Verify Contact\": \"Verificar contato\",\n Verify: \"Verificar\",\n \"We Emailed You\": \"Enviamos um e-mail para você\",\n \"We Sent A Code\": \"Enviamos um código\",\n \"We Texted You\": \"Enviamos um SMS para você\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Seu código está a caminho. Para fazer login, insira o código para o qual enviamos um e-mail\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Seu código está a caminho. Para fazer login, insira o código que enviamos para você\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Seu código está a caminho. Para fazer login, insira o código para o qual enviamos uma mensagem de texto\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Já existe uma conta com o email utilizado.\",\n \"Confirm a Code\": \"Confirmar um Código\",\n \"Confirm Sign In\": \"Confirmar Início de Sessão\",\n \"Forgot Password\": \"Esqueci Minha Senha\",\n \"Incorrect username or password.\": \"Nome de usuário ou senha incorreta\",\n \"Invalid password format\": \"Formato de senha inválido\",\n \"Invalid phone number format\": \"Formato de número de telefone inválido\",\n \"Loading...\": \"Carregando...\",\n \"New Password\": \"Nova Senha\",\n \"Resend a Code\": \"Reenviar um Código\",\n \"Sign Out\": \"Sair\",\n \"Sign Up with Amazon\": \"Criar Conta com a Amazon\",\n \"Sign Up with Apple\": \"Criar Conta com a Apple\",\n \"Sign Up with Facebook\": \"Criar Conta com o Facebook\",\n \"Sign Up with Google\": \"Criar Conta com o Google\",\n \"Sign Up\": \"Criar Conta\",\n \"User already exists\": \"Usuário já existe\",\n \"User does not exist\": \"Usuário não existe\",\n \"Username cannot be empty\": \"Nome de usuário não pode estar vazio\",\n \"Your passwords must match\": \"Suas senhas devem ser iguais\"\n}, Al = {\n \"Account recovery requires verified contact information\": \"账户恢复需要验证过的联系方式\",\n \"Back to Sign In\": \"回到登录\",\n \"Change Password\": \"更改密码\",\n Changing: \"正在修改\",\n Code: \"确认码\",\n \"Confirm Password\": \"确认密码\",\n \"Confirm Sign Up\": \"确认注册\",\n \"Confirm SMS Code\": \"确认短信验证码\",\n \"Confirm TOTP Code\": \"确认 TOTP 代码\",\n Confirm: \"确认\",\n \"Confirmation Code\": \"确认码\",\n Confirming: \"正在确认\",\n \"Create a new account\": \"创建新账户\",\n \"Create Account\": \"创建账户\",\n \"Creating Account\": \"正在创建账户\",\n \"Dismiss alert\": \"关闭警报\",\n Email: \"邮箱\",\n \"Enter your code\": \"输入验证码\",\n \"Enter your Email\": \"输入电子邮件\",\n \"Enter your Password\": \"输入密码\",\n \"Enter your phone number\": \"输入电话号码\",\n \"Enter your username\": \"输入用户名\",\n \"Forgot your password?\": \"忘记密码了?\",\n \"Hide password\": \"隐藏密码\",\n \"It may take a minute to arrive\": \"可能需要一分钟才能到达\",\n Loading: \"正在加载\",\n \"New password\": \"新密码\",\n or: \"或者\",\n Password: \"密码\",\n \"Phone Number\": \"电话\",\n \"Please confirm your Password\": \"请再次输入密码\",\n \"Resend Code\": \"重发验证码\",\n \"Reset your password\": \"重置密码\",\n \"Reset your Password\": \"重置密码\",\n \"Send Code\": \"发送确认码\",\n \"Send code\": \"发送验证码\",\n Sending: \"正在发送\",\n \"Setup TOTP\": \"设置 TOTP\",\n \"Show password\": \"显示密码\",\n \"Sign in to your account\": \"登录账户\",\n \"Sign In with Amazon\": \"通过 Amazon 登录\",\n \"Sign In with Apple\": \"通过 Apple 登录\",\n \"Sign In with Facebook\": \"通过 Facebook 登录\",\n \"Sign In with Google\": \"通过 Google 登录\",\n \"Sign in\": \"登录\",\n \"Sign In\": \"登录\",\n \"Signing in\": \"正在登录\",\n Skip: \"跳过\",\n Submit: \"提交\",\n Submitting: \"正在提交\",\n Username: \"用户名\",\n \"Verify Contact\": \"验证联系方式\",\n Verify: \"验证\",\n \"We Emailed You\": \"我们给您发送了电子邮件\",\n \"We Sent A Code\": \"我们发送了代码\",\n \"We Texted You\": \"我们给您发送了短信\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"您的代码正在发送中。要登录,请输入我们通过电子邮件发送给以下人员的代码:\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"您的代码正在发送中。要登录,请输入我们发送给您的代码\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"您的代码正在发送中。要登录,请输入我们通过短信发送给以下人员的代码:\",\n // Additional translations provided by customers\n \"Confirm a Code\": \"确认码\",\n \"Confirm Sign In\": \"确认登录\",\n \"Forgot Password\": \"忘记密码\",\n \"Incorrect username or password\": \"用户名或密码错误\",\n \"Invalid password format\": \"密码格式错误\",\n \"Invalid phone number format\": \"电话格式错误,请使用格式 +12345678900\",\n \"New Password\": \"新密码\",\n \"Resend a Code\": \"重发确认码\",\n \"Sign Out\": \"退出\",\n \"Sign Up\": \"注册\",\n \"User already exists\": \"用户已经存在\",\n \"User does not exist\": \"用户不存在\"\n}, Il = {\n \"Account recovery requires verified contact information\": \"För att återställa kontot behöver du ett verifierat konto\",\n \"Back to Sign In\": \"Tillbaka till inloggningen\",\n \"Change Password\": \"Byt lösenord\",\n Changing: \"Ändra\",\n Code: \"Kod\",\n \"Confirm Password\": \"Bekräfta lösenord\",\n \"Confirm Sign Up\": \"Bekräfta registrering\",\n \"Confirm SMS Code\": \"Bekräfta SMS-kod\",\n \"Confirm TOTP Code\": \"Bekräfta TOTP-kod\",\n Confirm: \"Bekräfta\",\n \"Confirmation Code\": \"Verifikationskod\",\n Confirming: \"Bekräftar\",\n \"Create a new account\": \"Skapa ett nytt konto\",\n \"Create Account\": \"Skapa konto\",\n \"Creating Account\": \"Skapar konto\",\n \"Dismiss alert\": \"Avvisa varning\",\n Email: \"E-post\",\n \"Enter your code\": \"Skriv din kod\",\n \"Enter your Email\": \"Ange din e-post\",\n \"Enter your phone number\": \"Ange ditt telefonnummer\",\n \"Enter your username\": \"Ange ditt användarnamn\",\n \"Forgot your password?\": \"Glömt ditt lösenord? \",\n \"Hide password\": \"Dölj lösenord\",\n \"It may take a minute to arrive\": \"Det kan ta en minut att komma fram\",\n Loading: \"Laddar\",\n \"New password\": \"Nytt lösenord\",\n or: \"eller\",\n Password: \"Lösenord\",\n \"Phone Number\": \"Telefonnummer\",\n \"Resend Code\": \"Skicka koden igen\",\n \"Reset your password\": \"Återställ ditt lösenord\",\n \"Reset your Password\": \"Återställ ditt lösenord\",\n \"Send code\": \"Skicka kod\",\n \"Send Code\": \"Skicka kod\",\n Sending: \"Skickar\",\n \"Setup TOTP\": \"Konfigurera TOTP\",\n \"Show password\": \"Visa lösenord\",\n \"Sign in to your account\": \"Logga in till ditt konto\",\n \"Sign In with Amazon\": \"Logga in med Amazon\",\n \"Sign In with Apple\": \"Logga in med Apple\",\n \"Sign In with Facebook\": \"Logga in med Facebook\",\n \"Sign In with Google\": \"Logga in med Google\",\n \"Sign in\": \"Logga in\",\n \"Sign In\": \"Logga in\",\n \"Signing in\": \"Loggar in\",\n Skip: \"Hoppa över\",\n Submit: \"Skicka\",\n Submitting: \"Skickar in\",\n Username: \"Användarnamn\",\n \"Verify Contact\": \"Verifiera kontakt\",\n Verify: \"Verifiera\",\n \"We Sent A Code\": \"Vi skickade en kod\",\n \"We Texted You\": \"Vi sms:ade dig\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Din kod är på väg. För att logga in, ange koden vi mejlade till\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Din kod är på väg. För att logga in, ange koden vi skickade till dig\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Din kod är på väg. För att logga in, ange koden vi sms:ade till\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Det finns redan ett konto med denna e-postadress\",\n \"Confirm a Code\": \"Bekräfta koden\",\n \"Confirm Sign In\": \"Bekräfta inloggning\",\n \"Create account\": \"Skapa konto\",\n \"Enter your Password\": \"Ange ditt lösenord\",\n \"Forgot Password?\": \"Glömt lösenord?\",\n \"Have an account? \": \"Redan registrerad? \",\n \"Incorrect username or password\": \"Felaktigt användarnamn eller lösenord\",\n \"Invalid password format\": \"Ogiltigt lösenordsformat\",\n \"Invalid phone number format\": \"Ogiltigt format för telefonnummer\",\n \"Lost your code? \": \"Förlorat koden? \",\n \"New Password\": \"Nytt lösenord\",\n \"No account? \": \"Inget konto? \",\n \"Password attempts exceeded\": \"Maximalt antal felaktiga inloggningsförsök har uppnåtts\",\n \"Reset Password\": \"Återställ lösenord\",\n \"Sign Out\": \"Logga ut\",\n \"Sign Up\": \"Registrering\",\n \"User already exists\": \"Användaren finns redan\",\n \"User does not exist\": \"Användaren finns inte\",\n \"Username cannot be empty\": \"Användarnamnet kan inte vara tomt\",\n \"We Emailed You\": \"Vi har skickat e-post till dig\",\n \"Please confirm your Password\": \"Bekräfta ditt lösenord\"\n}, El = {\n \"Account recovery requires verified contact information\": \"Pemulihan akun memerlukan informasi kontak terverifikasi\",\n \"Back to Sign In\": \"Kembali ke Masuk\",\n \"Change Password\": \"Ubah kata sandi\",\n Changing: \"Mengubah\",\n Code: \"Kode\",\n \"Confirm Password\": \"Konfirmasi kata sandi\",\n \"Confirm Sign Up\": \"Konfirmasi Pendaftaran\",\n \"Confirm SMS Code\": \"Konfirmasi Kode SMS\",\n \"Confirm TOTP Code\": \"Konfirmasi Kode TOTP\",\n Confirm: \"Konfirmasi\",\n \"Confirmation Code\": \"Kode Konfirmasi\",\n Confirming: \"Mengkonfirmasi\",\n \"Create a new account\": \"Buat akun baru\",\n \"Create Account\": \"Buat Akun\",\n \"Creating Account\": \"Membuat Akun\",\n \"Dismiss alert\": \"Hentikan pemberitahuan\",\n Email: \"Email\",\n \"Enter your code\": \"Masukkan kode anda\",\n \"Enter your Email\": \"Masukkan email anda\",\n \"Enter your phone number\": \"Masukkan nomor telepon anda\",\n \"Enter your username\": \"Masukkan nama akun anda\",\n \"Forgot your password?\": \"Lupa kata sandi? \",\n \"Hide password\": \"Sembunyikan kata sandi\",\n \"It may take a minute to arrive\": \"Mungkin perlu waktu satu menit untuk tiba\",\n Loading: \"Memuat\",\n \"New password\": \"Kata sandi baru\",\n or: \"atau\",\n Password: \"Kata sandi\",\n \"Phone Number\": \"Nomor telepon\",\n \"Resend Code\": \"Kirim ulang kodenya\",\n \"Reset your Password\": \"Reset Kata Sandi\",\n \"Reset your password\": \"Ubah kata sandi anda\",\n \"Send code\": \"Kirim kode\",\n \"Send Code\": \"Kirim Kode\",\n Sending: \"Mengirim\",\n \"Setup TOTP\": \"Siapkan TOTP\",\n \"Show password\": \"Tampilkan kata sandi\",\n \"Sign in to your account\": \"Masuk akun anda\",\n \"Sign In with Amazon\": \"Masuk dengan Amazon\",\n \"Sign In with Apple\": \"Masuk dengan Apple\",\n \"Sign In with Facebook\": \"Masuk dengan Facebook\",\n \"Sign In with Google\": \"Masuk dengan Google\",\n \"Sign in\": \"Masuk\",\n \"Sign In\": \"Masuk\",\n \"Signing in\": \"Memasuki\",\n Skip: \"Lewati\",\n Submit: \"Ajukan\",\n Submitting: \"Mengajukan\",\n Username: \"Nama akun\",\n \"Verify Contact\": \"Verifikasi Kontak\",\n Verify: \"Verifikasi\",\n \"We Sent A Code\": \"Kami Mengirim Kode\",\n \"We Texted You\": \"Kami mengirim SMS kepada Anda\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Akun dengan email tersebut sudah terdaftar.\",\n \"Attempt limit exceeded, please try after some time.\": \"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.\",\n \"Cannot reset password for the user as there is no registered/verified email or phone_number\": \"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon\",\n Change: \"Ubah\",\n \"Confirm a Code\": \"Konfirmasi kode\",\n \"Create account\": \"Buat akun\",\n \"Enter your password\": \"Masukkan kata sandi anda\",\n \"Forgot Password\": \"Lupa kata sandi\",\n \"Have an account? \": \"Sudah punya akun? \",\n Hello: \"Halo\",\n \"Incorrect username or password.\": \"Nama akun atau kata sandi salah.\",\n \"Invalid phone number format\": \"Nomor telepon tidak sesuai dengan format.\",\n \"Invalid verification code provided, please try again.\": \"Kode verifikasi tidak sesuai, mohon coba lagi.\",\n \"It may take a minute to arrive.\": \"Mungkin perlu beberapa waktu untuk tiba.\",\n \"Lost your code? \": \"Kode anda hilang?\",\n Name: \"Nama\",\n \"Network error\": \"Galat jaringan\",\n \"No account? \": \"Tidak ada akun?\",\n \"Password did not conform with policy: Password not long enough\": \"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang\",\n \"Resend a Code\": \"Renvoyer un code\",\n \"Reset password\": \"Ubah kata sandi anda\",\n Send: \"Kirim\",\n \"Sign In with AWS\": \"Masuk dengan AWS\",\n \"Sign Up with Amazon\": \"Daftar dengan Amazon\",\n \"Sign Up with AWS\": \"Daftar dengan AWS\",\n \"Sign Up with Facebook\": \"Daftar dengan Facebook\",\n \"Sign Up with Google\": \"Daftar dengan Google\",\n SMS: \"SMS\",\n \"User already exists\": \"Akun sudah terdaftar\",\n \"User does not exist.\": \"Akun tidak terdaftar.\",\n \"User is disabled.\": \"Akun dinonaktifkan.\",\n \"Username cannot be empty\": \"Nama akun tidak boleh kosong\",\n \"Username/client id combination not found.\": \"Nama akun atau id tidak ditemukan.\",\n \"We Emailed You\": \"Kami mengirimkanmu email\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke\",\n \"Your passwords must match\": \"Kata sandi harus sama\"\n}, Tl = {\n \"Account recovery requires verified contact information\": \"Hesap kurtarma, doğrulanmış iletişim bilgilerini gerektirir\",\n \"Add your Profile\": \"Profilinizi ekleyin\",\n \"Add your Website\": \"Web sitenizi ekleyin\",\n \"Back to Sign In\": \"Oturum Açmaya Geri Dön\",\n \"Change Password\": \"Şifreyi Değiştir\",\n Changing: \"Değiştiriliyor\",\n Code: \"Kod\",\n \"Confirm Password\": \"Şifreyi Doğrula\",\n \"Confirm Sign Up\": \"Kayıt İşlemini Doğrula\",\n \"Confirm SMS Code\": \"SMS Kodunu Doğrula\",\n \"Confirm MFA Code\": \"Çoklu Faktörlü Doğrulama Kodunu Doğrula\",\n \"Confirm TOTP Code\": \"Tek Kullanımlık Şifreyi Doğrula\",\n Confirm: \"Doğrula\",\n \"Confirmation Code\": \"Doğrulama Kodu\",\n Confirming: \"Doğrulanıyor\",\n \"Create a new account\": \"Yeni bir hesap oluştur\",\n \"Create Account\": \"Hesap Oluştur\",\n \"Creating Account\": \"Hesap Oluşturuluyor\",\n \"Dismiss alert\": \"Uyarıyı reddet\",\n Email: \"E-posta\",\n \"Enter your Birthdate\": \"Doğum gününüzü girin\",\n \"Enter your code\": \"Kodu girin\",\n \"Enter your Confirmation Code\": \"Doğrulama Kodunuzu Girin\",\n \"Enter your Email\": \"E-posta adresinizi girin\",\n \"Enter your email\": \"E-posta adresinizi girin\",\n \"Enter your Family Name\": \"Ad Soyadınızı girin\",\n \"Enter your Given Name\": \"Adınızı girin\",\n \"Enter your Middle Name\": \"Soyadınızı girin\",\n \"Enter your Name\": \"Adınızı girin\",\n \"Enter your Nickname\": \"Takma adınızı girin\",\n \"Enter your Password\": \"Şifrenizi girin\",\n \"Enter your phone number\": \"Telefon numaranızı girin\",\n \"Enter your Preferred Username\": \"Tercih ettiğiniz kullanıcı adınızı girin\",\n \"Enter your username\": \"Kullanıcı adınızı girin\",\n \"Forgot Password?\": \"Şifrenizi Mi Unuttunuz?\",\n \"Forgot password?\": \"Şifrenizi mi unuttunuz?\",\n \"Forgot your password?\": \"Şifrenizi mi unuttunuz?\",\n \"Hide password\": \"Şifreyi gizle\",\n \"It may take a minute to arrive\": \"Kodun gelmesi bir dakika sürebilir\",\n Loading: \"Yükleniyor\",\n \"New password\": \"Yeni şifre\",\n or: \"veya\",\n Password: \"Şifre\",\n \"Phone Number\": \"Telefon Numarası\",\n \"Please confirm your Password\": \"Lütfen şifrenizi doğrulayın\",\n \"Resend Code\": \"Kodu Yeniden Gönder\",\n \"Reset your password\": \"Şifrenizi sıfırlayın\",\n \"Reset your Password\": \"Şifrenizi Sıfırlayın\",\n \"Reset Password\": \"Şifreyi Sıfırla\",\n \"Send code\": \"Kod gönder\",\n \"Send Code\": \"Kod Gönder\",\n Sending: \"Gönderiliyor\",\n \"Setup TOTP\": \"Tek kullanımlık şifre kurulumu yap\",\n \"Show password\": \"Şifreyi göster\",\n \"Sign in to your account\": \"Hesabınızda oturum açın\",\n \"Sign In with Amazon\": \"Amazon ile Oturum Aç\",\n \"Sign In with Apple\": \"Apple ile Oturum Aç\",\n \"Sign In with Facebook\": \"Facebook ile Oturum Aç\",\n \"Sign In with Google\": \"Google ile Oturum Aç\",\n \"Sign in\": \"Oturum aç\",\n \"Sign In\": \"Oturum Aç\",\n \"Sign Up with Facebook\": \"Facebook ile Kayıt Ol\",\n \"Sign Up with Google\": \"Google ile Kayıt Ol\",\n \"Signing in\": \"Oturum açılıyor\",\n Skip: \"Atla\",\n Submit: \"Gönder\",\n Submitting: \"Gönderiliyor\",\n Username: \"Kullanıcı adı\",\n \"Verify Contact\": \"Kişiyi Doğrula\",\n Verify: \"Doğrula\",\n \"We Emailed You\": \"Size E-posta Gönderdik\",\n \"We Sent A Code\": \"Bir Kod Gönderdik\",\n \"We Texted You\": \"Size Mesaj Gönderdik\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Kodunuz yolda. Oturum açmak için, gönderdiğimiz e-postadaki kodu girin\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Kodunuz yolda. Oturum açmak için, size gönderdiğimiz kodu girin\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Kodunuz yolda. Oturum açmak için, gönderdiğimiz mesajdaki kodu girin\",\n // Additional translations provided by customers\n \"An account with the given email already exists.\": \"Bu e-postaya ait zaten bir hesap var.\",\n \"Confirm Sign In\": \"Oturum Açmayı Doğrula\",\n \"Have an account? \": \"Hesabınız var mı? \",\n \"Incorrect username or password\": \"Yanlış kullanıcı adı ya da şifre\",\n \"Invalid password format\": \"Geçersiz parola formatı\",\n \"Invalid phone number format\": \"Geçersiz telefon numarası formatı\",\n \"Lost your code? \": \"Kodu mu kaybettiniz? \",\n \"No account? \": \"Hesabınız yok mu? \",\n \"Password attempts exceeded\": \"Maksimum oturum açma girişimi aşıldı\",\n \"Sign Out\": \"Çıkış yap\",\n \"Sign Up\": \"Kayıt Ol\",\n \"User already exists\": \"Bu kullanıcı zaten var\",\n \"User does not exist\": \"Böyle bir kullanıcı mevcut değil\",\n \"Username cannot be empty\": \"Kullanıcı adı boş olamaz\"\n}, Pl = {\n \"Account recovery requires verified contact information\": \"Восстановление учетной записи требует проверки контактной информации\",\n \"Back to Sign In\": \"Назад, чтобы войти\",\n \"Change Password\": \"изменять пароль\",\n Changing: \"Изменение\",\n Code: \"Код\",\n \"Confirm Password\": \"Подтверждение пароля\",\n \"Confirm Sign Up\": \"Подтверждение зарегистрироваться\",\n \"Confirm SMS Code\": \"Подтверждение CMC-Код\",\n \"Confirm TOTP Code\": \"Подтверждение TOTP-Код\",\n Confirm: \"Подтверждать\",\n \"Confirmation Code\": \"код подтверждения\",\n Confirming: \"подтверждение\",\n \"Create a new account\": \"Создавать новую учетную запись\",\n \"Create Account\": \"Создать учетную запись\",\n \"Creating Account\": \"создание учетная запись\",\n \"Dismiss alert\": \"Закрыть оповещение\",\n Email: \"электронная почта\",\n \"Enter your code\": \"ввести ваш Код\",\n \"Enter your Email\": \"ввести ваш электронная почта\",\n \"Enter your phone number\": \"ввести ваш номер телефона\",\n \"Enter your username\": \"ввести ваш имя пользователя\",\n \"Forgot your password?\": \"Забыли ваш пароль?\",\n \"Hide password\": \"Скрывать пароль\",\n \"It may take a minute to arrive\": \"Доставка может занять некоторое время\",\n Loading: \"Загрузка\",\n \"New password\": \"Новый пароль\",\n or: \"или\",\n Password: \"Пароль\",\n \"Phone Number\": \"Номер телефона\",\n \"Resend Code\": \"Отправь еще раз Код\",\n \"Reset your password\": \"сброс ваш пароль\",\n \"Reset your Password\": \"сброс ваш Пароль\",\n \"Send code\": \"Отправлять Код\",\n \"Send Code\": \"Отправлять Код\",\n Sending: \"отправка\",\n \"Setup TOTP\": \"Настраивать TOTP\",\n \"Show password\": \"Показывать пароль\",\n \"Sign in to your account\": \"знак в свой аккаунт\",\n \"Sign In with Amazon\": \"знак в с Amazon\",\n \"Sign In with Apple\": \"знак в с Apple\",\n \"Sign In with Facebook\": \"знак в с Facebook\",\n \"Sign In with Google\": \"знак в с Google\",\n \"Sign in\": \"знак в\",\n \"Sign In\": \"знак в\",\n \"Signing in\": \"подписание в\",\n Skip: \"Пропускать\",\n Submit: \"Представлять на рассмотрение\",\n Submitting: \"Представив\",\n Username: \"Имя пользователя\",\n \"Verify Contact\": \"Проверить контакт\",\n Verify: \"Проверить\",\n \"We Emailed You\": \"Мы отправили вам электронное письмо\",\n \"We Sent A Code\": \"Мы отправили код\",\n \"We Texted You\": \"Мы отправили вам текстовое сообщение\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Ваш код отправлен. Чтобы войти в систему, введите код, который мы отправили по электронной почте\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Ваш код отправлен. Чтобы войти в систему, введите код, который мы послали вам\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Ваш код отправлен. Чтобы войти в систему, введите код, который мы отправили текстовым сообщением\"\n}, kl = {\n \"Account recovery requires verified contact information\": \"שחזור לקוח דורש עוד מידע\",\n \"Back to Sign In\": \"חזור להרשמה\",\n \"Change Password\": \"עדכון סיסמא\",\n Changing: \"מעדכן\",\n Code: \"קוד\",\n \"Confirm Password\": \"אשר סיסמא\",\n \"Confirm Sign Up\": \"אשר הרשמה\",\n \"Confirm SMS Code\": \"אשר sms קוד\",\n \"Confirm TOTP Code\": \"אשר totp קוד\",\n Confirm: \"אישור\",\n \"Confirmation Code\": \"אישור קוד\",\n Confirming: \"מאשר\",\n \"Create a new account\": \"צור משתמש חדש\",\n \"Create Account\": \"צור משתמש\",\n \"Creating Account\": \"יצירת משתמש\",\n \"Dismiss alert\": \"הסר התראה\",\n Email: \"אימייל\",\n \"Enter your code\": \"הכנס את הקוד\",\n \"Enter your Email\": \"הכנס את המייל שלך\",\n \"Enter your phone number\": \"הכנס את מספר הטלפון שלך\",\n \"Enter your username\": \"הכנס את שם המתמש שלך\",\n \"Forgot your password?\": \"שכחת סיסמא ?\",\n \"Hide password\": \"הסתר סיסמא\",\n Loading: \"טוען\",\n \"New password\": \"סיסמא חדשה\",\n or: \"אוֹ\",\n Password: \"סיסמא\",\n \"Phone Number\": \"מספר טלפון\",\n \"Resend Code\": \"שלח קוד שוב\",\n \"Reset your password\": \"אפס סיסמא\",\n \"Reset your Password\": \"אפס סיסמא\",\n \"Send code\": \"שלח קוד\",\n \"Send Code\": \"שלח קוד\",\n Sending: \"שולח\",\n \"Setup TOTP\": \"Setup TOTP\",\n \"Show password\": \"הצג סיסמא\",\n \"Sign in to your account\": \"התחבר לחשבון שלך\",\n \"Sign In with Amazon\": \"Sign In with Amazon\",\n \"Sign In with Apple\": \"Sign In with Apple\",\n \"Sign In with Facebook\": \"Sign In with Facebook\",\n \"Sign In with Google\": \"Sign In with Google\",\n \"Sign in\": \"התחבר\",\n \"Sign In\": \"התחבר\",\n \"Signing in\": \"מתחבר\",\n Skip: \"דלג\",\n Submit: \"שלח\",\n Submitting: \"שולח\",\n Username: \"שם משתמש\",\n \"Verify Contact\": \"אמת איש קשר\",\n Verify: \"אמת\"\n}, Nl = {\n \"Account recovery requires verified contact information\": \"Відновлення облікового запису потребує контактної інформації\",\n \"Back to Sign In\": \"Назад на сторінку входу\",\n \"Change Password\": \"Змінити пароль\",\n Changing: \"Змінюємо\",\n Code: \"Код\",\n \"Confirm Password\": \"Підтвердіть пароль\",\n \"Confirm Sign Up\": \"Підтвердіть реєстрацію\",\n \"Confirm SMS Code\": \"Підтвердіть SMS код\",\n \"Confirm TOTP Code\": \"Підтвердіть TOTP код\",\n Confirm: \"Підтвердити\",\n \"Confirmation Code\": \"Код підтвердження\",\n Confirming: \"Підтверджуємо\",\n \"Create a new account\": \"Зареєструватися\",\n \"Create Account\": \"Зареєструватися\",\n \"Creating Account\": \"Реєструємо\",\n \"Dismiss alert\": \"Відхилити сповіщення\",\n Email: \"Email\",\n \"Enter your code\": \"Введіть код\",\n \"Enter your Email\": \"Введіть ваш email\",\n \"Enter your phone number\": \"Введіть ваш номер телефону\",\n \"Enter your username\": \"Введіть ваше імʼя користувача\",\n \"Forgot password?\": \"Забули пароль?\",\n \"Forgot your password?\": \"Забули ваш пароль?\",\n \"Hide password\": \"Сховати пароль\",\n \"It may take a minute to arrive\": \"Доставка може тривати хвилину\",\n Loading: \"Загружаємо\",\n \"New password\": \"Новий пароль\",\n or: \"або\",\n Password: \"Пароль\",\n \"Phone Number\": \"Номер Телефону\",\n \"Resend Code\": \"Відправити код повторно\",\n \"Reset your password\": \"Скинути пароль\",\n \"Reset your Password\": \"Скинути пароль\",\n \"Send code\": \"Відправити код\",\n \"Send Code\": \"Відправити код\",\n Sending: \"Відправляємо\",\n \"Setup TOTP\": \"Налаштувати TOTP\",\n \"Show password\": \"Показати пароль\",\n \"Sign in to your account\": \"Увійти у ваш обліковий запис\",\n \"Sign In with Amazon\": \"Увійти з Amazon\",\n \"Sign In with Apple\": \"Увійти з Apple\",\n \"Sign In with Facebook\": \"Увійти з Facebook\",\n \"Sign In with Google\": \"Увійти з Google\",\n \"Sign in\": \"Увійти\",\n \"Sign In\": \"Увійти\",\n \"Signing in\": \"Входимо\",\n Skip: \"Пропустити\",\n Submit: \"Відправити\",\n Submitting: \"Відправляємо\",\n Username: \"Імʼя користувача\",\n \"Verify Contact\": \"Підтвердити Контакт\",\n Verify: \"Підтвердити\",\n \"We Emailed You\": \"Ми відправили вам Email\",\n \"We Sent A Code\": \"Ми відправили код\",\n \"We Texted You\": \"Ми відправили вам текстове повідомлення\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми відправили вам на Email\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми вам відправили\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"Ваш код вже в дорозі. Щоб увійти, введіть код, що ми відправили вам текстовим повідомленням\",\n // Additional translations\n \"An account with the given email already exists.\": \"Обліковий запис з цим Email вже існує.\",\n \"Confirm a Code\": \"Підтвердіть код\",\n \"Confirm Sign In\": \"Підтвердіть вхід\",\n \"Forgot Password\": \"Забули пароль\",\n \"Incorrect username or password.\": \"Невірне імʼя користувача або пароль\",\n \"Invalid password format\": \"Невірний формат паролю\",\n \"Invalid phone number format\": \"Невірний формат номеру телефону\",\n \"Loading...\": \"Загружаємо...\",\n \"New Password\": \"Новий пароль\",\n \"Resend a Code\": \"Відправити код повторно\",\n \"Reset Password\": \"Скинути пароль\",\n \"Sign Out\": \"Вийти\",\n \"Sign Up with Amazon\": \"Зареєструватися з Amazon\",\n \"Sign Up with Apple\": \"Зареєструватися з Apple\",\n \"Sign Up with Facebook\": \"Зареєструватися з Facebook\",\n \"Sign Up with Google\": \"Зареєструватися з Google\",\n \"Sign Up\": \"Зареєструватися\",\n \"User already exists\": \"Користувач вже існує\",\n \"User does not exist\": \"Такий користувач не існує\",\n \"Username cannot be empty\": \"Імʼя користувача не може бути пустим\",\n \"Your passwords must match\": \"Паролі мають збігатися\"\n}, Ul = {\n \"Account recovery requires verified contact information\": \"การกู้คืนบัญชีต้องมีข้อมูลติดต่อที่ได้รับการยืนยันแล้ว\",\n \"Add your Profile\": \"เพิ่มโปรไฟล์ของคุณ\",\n \"Add your Website\": \"เพิ่มเว็บไซต์ของคุณ\",\n \"Back to Sign In\": \"กลับไปที่การเข้าสู่ระบบ\",\n \"Change Password\": \"เปลี่ยนรหัสผ่าน\",\n Changing: \"กำลังเปลี่ยน\",\n Code: \"รหัส\",\n \"Confirm Password\": \"ยืนยันรหัสผ่าน\",\n \"Please confirm your Password\": \"กรุณายืนยันรหัสผ่านของคุณ\",\n \"Confirm Sign Up\": \"ยืนยันการลงทะเบียน\",\n \"Confirm SMS Code\": \"ยืนยันรหัส SMS\",\n \"Confirm MFA Code\": \"ยืนยันรหัส MFA\",\n \"Confirm TOTP Code\": \"ยืนยันรหัส TOTP\",\n Confirm: \"ยืนยัน\",\n \"Confirmation Code\": \"รหัสยืนยัน\",\n Confirming: \"กำลังยืนยัน\",\n \"Create a new account\": \"สร้างบัญชีใหม่\",\n \"Create Account\": \"สร้างบัญชี\",\n \"Creating Account\": \"กำลังสร้างบัญชี\",\n \"Dismiss alert\": \"ปิดการแจ้งเตือน\",\n Email: \"อีเมล\",\n \"Enter your Birthdate\": \"กรอกวันเกิดของคุณ\",\n \"Enter your code\": \"กรอกรหัสของคุณ\",\n \"Enter your Confirmation Code\": \"กรอกรหัสยืนยันของคุณ\",\n \"Enter your Email\": \"กรอกอีเมลของคุณ\",\n \"Enter your Family Name\": \"กรอกนามสกุลของคุณ\",\n \"Enter your Given Name\": \"กรอกชื่อของคุณ\",\n \"Enter your Middle Name\": \"กรอกชื่อกลางของคุณ\",\n \"Enter your Name\": \"กรอกชื่อของคุณ\",\n \"Enter your Nickname\": \"กรอกชื่อเล่นของคุณ\",\n \"Enter your Password\": \"กรอกรหัสผ่านของคุณ\",\n \"Enter your email\": \"กรอกอีเมลของคุณ\",\n \"Enter your phone number\": \"กรอกหมายเลขโทรศัพท์ของคุณ\",\n \"Enter your Preferred Username\": \"กรอกชื่อผู้ใช้ที่ต้องการ\",\n \"Enter your username\": \"กรอกชื่อผู้ใช้ของคุณ\",\n \"Forgot password?\": \"ลืมรหัสผ่าน?\",\n \"Forgot your password?\": \"ลืมรหัสผ่านใช่หรือไม่?\",\n \"Hide password\": \"ซ่อนรหัสผ่าน\",\n \"It may take a minute to arrive\": \"อาจใช้เวลาสักครู่\",\n Loading: \"กำลังโหลด\",\n \"New password\": \"รหัสผ่านใหม่\",\n or: \"หรือ\",\n Password: \"รหัสผ่าน\",\n \"Phone Number\": \"หมายเลขโทรศัพท์\",\n \"Resend Code\": \"ส่งรหัสอีกครั้ง\",\n \"Reset your Password\": \"รีเซ็ตรหัสผ่านของคุณ\",\n \"Reset your password\": \"รีเซ็ตรหัสผ่านของคุณ\",\n \"Send code\": \"ส่งรหัส\",\n \"Send Code\": \"ส่งรหัส\",\n Sending: \"กำลังส่ง\",\n \"Setup TOTP\": \"ตั้งค่า TOTP\",\n \"Show password\": \"แสดงรหัสผ่าน\",\n \"Sign in to your account\": \"เข้าสู่ระบบบัญชีของคุณ\",\n \"Sign In with Amazon\": \"เข้าสู่ระบบด้วย Amazon\",\n \"Sign In with Apple\": \"เข้าสู่ระบบด้วย Apple\",\n \"Sign In with Facebook\": \"เข้าสู่ระบบด้วย Facebook\",\n \"Sign In with Google\": \"เข้าสู่ระบบด้วย Google\",\n \"Sign in\": \"เข้าสู่ระบบ\",\n \"Sign In\": \"เข้าสู่ระบบ\",\n \"Signing in\": \"กำลังเข้าสู่ระบบ\",\n Skip: \"ข้าม\",\n Submit: \"ส่ง\",\n Submitting: \"กำลังส่ง\",\n Username: \"ชื่อผู้ใช้\",\n \"Verify Contact\": \"ยืนยันการติดต่อ\",\n Verify: \"ยืนยัน\",\n \"We Emailed You\": \"เราได้ส่งอีเมลถึงคุณแล้ว\",\n \"We Sent A Code\": \"เราได้ส่งรหัสแล้ว\",\n \"We Texted You\": \"เราได้ส่ง SMS ถึงคุณแล้ว\",\n \"Your code is on the way. To log in, enter the code we emailed to\": \"รหัสของคุณกำลังมา เพื่อเข้าสู่ระบบ กรุณากรอกรหัสที่เราส่งไปยังอีเมล\",\n \"Your code is on the way. To log in, enter the code we sent you\": \"รหัสของคุณกำลังมา เพื่อเข้าสู่ระบบ กรุณากรอกรหัสที่เราส่งให้คุณ\",\n \"Your code is on the way. To log in, enter the code we texted to\": \"รหัสของคุณกำลังมา เพื่อเข้าสู่ระบบ กรุณากรอกรหัสที่เราส่งไปยัง SMS\",\n // Additional translations\n \"An account with the given email already exists.\": \"บัญชีที่ใช้อีเมลนี้มีอยู่แล้ว\",\n \"Confirm a Code\": \"ยืนยันรหัส\",\n \"Confirm Sign In\": \"ยืนยันการเข้าสู่ระบบ\",\n \"Create account\": \"สร้างบัญชี\",\n \"Sign Up with Facebook\": \"ลงทะเบียนด้วย Facebook\",\n \"Sign Up with Google\": \"ลงทะเบียนด้วย Google\",\n \"Sign Up with Apple\": \"ลงทะเบียนด้วย Apple\",\n \"Sign Up with Line\": \"ลงทะเบียนด้วย Line\",\n \"Forgot Password\": \"ลืมรหัสผ่าน\",\n \"Have an account? \": \"มีบัญชีอยู่แล้ว? \",\n \"Incorrect username or password\": \"ชื่อผู้ใช้หรือรหัสผ่านไม่ถูกต้อง\",\n \"Invalid password format\": \"รูปแบบรหัสผ่านไม่ถูกต้อง\",\n \"It may take a minute to arrive.\": \"อาจใช้เวลาสักครู่ในการมาถึง\",\n \"Lost your code? \": \"หารหัสไม่เจอ? \",\n \"New Password\": \"รหัสผ่านใหม่\",\n \"No account? \": \"ไม่มีบัญชี? \",\n \"Password attempts exceeded\": \"เกินจำนวนครั้งที่อนุญาตให้ใส่รหัสผ่าน\",\n \"Reset password\": \"รีเซ็ตรหัสผ่าน\",\n \"Reset Password\": \"รีเซ็ตรหัสผ่าน\",\n \"Sign Out\": \"ออกจากระบบ\",\n \"Sign Up\": \"ลงทะเบียน\",\n \"User already exists\": \"ผู้ใช้นี้มีอยู่แล้ว\",\n \"User does not exist\": \"ไม่มีผู้ใช้นี้\",\n \"Username cannot be empty\": \"ต้องใส่ชื่อผู้ใช้งาน\"\n}, $l = {\n ADD_PROFILE: \"Add your Profile\",\n ADD_WEBSITE: \"Add your Website\",\n BACK_SIGN_IN: \"Back to Sign In\",\n BIRTHDATE: \"Birthdate\",\n CHANGE_PASSWORD: \"Change Password\",\n CHANGING_PASSWORD: \"Changing\",\n CODE: \"Code\",\n CODE_ARRIVAL: \"It may take a minute to arrive\",\n CODE_EMAILED: \"Your code is on the way. To log in, enter the code we emailed to\",\n CODE_SENT: \"Your code is on the way. To log in, enter the code we sent you\",\n CODE_TEXTED: \"Your code is on the way. To log in, enter the code we texted to\",\n CONFIRM_PASSWORD: \"Confirm Password\",\n CONFIRM_PASSWORD_PLACEHOLDER: \"Please confirm your Password\",\n CONFIRM_RESET_PASSWORD_HEADING: \"Reset your Password\",\n CONFIRM_SIGNUP_HEADING: \"Confirm Sign Up\",\n CONFIRM_SMS: \"Confirm SMS Code\",\n // If challenge name is not returned\n CONFIRM_MFA_DEFAULT: \"Confirm MFA Code\",\n CONFIRM_TOTP: \"Confirm TOTP Code\",\n CONFIRM: \"Confirm\",\n CONFIRMATION_CODE: \"Confirmation Code\",\n CONFIRMING: \"Confirming\",\n CREATE_ACCOUNT: \"Create Account\",\n CREATING_ACCOUNT: \"Creating Account\",\n EMAIL_ADDRESS: \"Email\",\n ENTER_BIRTHDATE: \"Enter your Birthdate\",\n ENTER_CODE: \"Enter your code\",\n ENTER_CONFIRMATION_CODE: \"Enter your Confirmation Code\",\n ENTER_EMAIL: \"Enter your Email\",\n ENTER_FAMILY_NAME: \"Enter your Family Name\",\n ENTER_GIVEN_NAME: \"Enter your Given Name\",\n ENTER_MIDDLE_NAME: \"Enter your Middle Name\",\n ENTER_NAME: \"Enter your Name\",\n ENTER_NICK_NAME: \"Enter your Nickname\",\n ENTER_PASSWORD: \"Enter your Password\",\n ENTER_PHONE_NUMBER: \"Enter your Phone Number\",\n ENTER_PREFERRED_USERNAME: \"Enter your Preferred Username\",\n ENTER_USERNAME: \"Enter your username\",\n FAMILY_NAME: \"Family Name\",\n GIVEN_NAME: \"Given Name\",\n FORGOT_PASSWORD: \"Forgot Password?\",\n FORGOT_YOUR_PASSWORD: \"Forgot your password?\",\n HIDE_PASSWORD: \"Hide password\",\n LOADING: \"Loading\",\n LOGIN_NAME: \"Username\",\n MIDDLE_NAME: \"Middle Name\",\n NAME: \"Name\",\n NICKNAME: \"Nickname\",\n NEW_PASSWORD: \"New password\",\n OR: \"or\",\n PASSWORD: \"Password\",\n PHONE_NUMBER: \"Phone Number\",\n PREFERRED_USERNAME: \"Preferred Username\",\n PROFILE: \"Profile\",\n RESEND_CODE: \"Resend Code\",\n RESET_PASSWORD_HEADING: \"Reset your password\",\n RESET_PASSWORD: \"Reset Password\",\n SEND_CODE: \"Send code\",\n SENDING: \"Sending\",\n SETUP_TOTP: \"Setup TOTP\",\n SHOW_PASSWORD: \"Show password\",\n SIGN_IN_BUTTON: \"Sign in\",\n SIGN_IN_TAB: \"Sign In\",\n SIGN_IN_WITH_AMAZON: \"Sign In with Amazon\",\n SIGN_IN_WITH_APPLE: \"Sign In with Apple\",\n SIGN_IN_WITH_FACEBOOK: \"Sign In with Facebook\",\n SIGN_IN_WITH_GOOGLE: \"Sign In with Google\",\n SIGN_IN: \"Sign in to your account\",\n SIGN_UP_BUTTON: \"Create a new account\",\n SIGNING_IN_BUTTON: \"Signing in\",\n SKIP: \"Skip\",\n SUBMIT: \"Submit\",\n SUBMITTING: \"Submitting\",\n UPPERCASE_COPY: \"COPY\",\n VERIFY_CONTACT: \"Verify Contact\",\n VERIFY_HEADING: \"Account recovery requires verified contact information\",\n VERIFY: \"Verify\",\n WE_EMAILED: \"We Emailed You\",\n WE_SENT_CODE: \"We Sent A Code\",\n WE_TEXTED: \"We Texted You\",\n WEBSITE: \"Website\"\n}, Ol = { ...pl }, Fl = {\n ...ml\n}, Rl = { ...gl }, xl = { ...hl }, Ml = { ...yl }, Dl = { ...vl }, po = { ..._l }, Bl = { ...wl }, Ll = { ...Sl }, Gl = { ...bl }, zl = { ...Cl }, Wl = { ...Al }, Vl = { ...Il }, jl = { ...El }, Hl = { ...Tl }, Yl = { ...Pl }, Kl = { ...kl }, ql = { ...Nl }, Jl = { ...Ul }, Zl = {\n ...$l\n // new module related default texts goes here\n}, z = { ...Zl };\nfunction N(e) {\n return ys.get(e);\n}\nconst YC = {\n de: Ol,\n en: Fl,\n es: Rl,\n fr: xl,\n id: jl,\n it: Ml,\n ja: Dl,\n // TODO: remove kr in next major release\n kr: po,\n ko: po,\n nb: Bl,\n nl: Ll,\n pl: Gl,\n pt: zl,\n zh: Wl,\n sv: Vl,\n tr: Hl,\n ru: Yl,\n he: Kl,\n ua: ql,\n th: Jl\n}, Nr = (e) => {\n var r;\n const t = (r = e == null ? void 0 : e.context.config) == null ? void 0 : r.loginMechanisms, [n] = t ?? [\"username\"];\n return n;\n}, Ql = (e) => {\n const t = { ...e };\n for (const [n, r] of Object.entries(e)) {\n const { label: o, placeholder: i } = r;\n t[n] = {\n ...r,\n label: o ? N(o) : void 0,\n placeholder: i ? N(i) : void 0\n };\n }\n return t;\n}, Xl = (e) => Object.entries(e).sort((t, n) => {\n const r = t[1].order || Number.MAX_VALUE, o = n[1].order || Number.MAX_VALUE;\n return r - o;\n}).filter((t) => t[1] !== void 0), ec = \"+1\", Je = (e) => {\n let t = Gt[e];\n const { type: n } = t;\n return n === \"tel\" && (t = { ...t, dialCode: ec }), t;\n}, Pn = (e) => {\n const t = Nr(e);\n return {\n ...Je(t),\n autocomplete: \"username\"\n };\n}, cn = (e) => ({\n confirmation_code: {\n ...Je(\"confirmation_code\"),\n label: \"Code *\",\n placeholder: \"Code\"\n }\n}), tc = (e) => ({\n username: { ...Pn(e) },\n password: {\n ...Je(\"password\"),\n autocomplete: \"current-password\"\n }\n}), nc = (e) => {\n const { loginMechanisms: t, signUpAttributes: n } = e.context.config, r = Nr(e), o = Array.from(/* @__PURE__ */ new Set([\n ...t,\n \"password\",\n \"confirm_password\",\n ...n\n ])), i = {};\n for (const a of o)\n if (Ci(a)) {\n const s = a === r ? Pn(e) : Je(a);\n i[a] = { ...s };\n } else\n console.debug(`Authenticator does not have a default implementation for ${a}. Customize SignUp FormFields to add your own.`);\n return i;\n}, rc = (e) => ({\n confirmation_code: {\n ...Je(\"confirmation_code\"),\n placeholder: \"Enter your code\"\n }\n}), oc = (e) => {\n const t = Nr(e), { label: n } = Gt[t];\n return {\n username: {\n ...Pn(e),\n label: `Enter your ${n.toLowerCase()}`,\n placeholder: `Enter your ${n.toLowerCase()}`\n }\n };\n}, ic = (e) => ({\n ...cn(),\n password: {\n ...Je(\"password\"),\n label: \"New Password\",\n placeholder: \"New Password\"\n },\n confirm_password: {\n ...Je(\"confirm_password\"),\n label: \"Confirm Password\",\n placeholder: \"Confirm Password\"\n }\n}), ac = (e) => {\n const t = Pr(e), { missingAttributes: n } = t.context, r = Array.from(/* @__PURE__ */ new Set([\n \"password\",\n \"confirm_password\",\n ...n ?? []\n ])), o = {};\n for (const i of r)\n Ci(i) ? o[i] = { ...Je(i) } : console.debug(`Authenticator does not have a default implementation for ${i}. Customize ForceNewPassword FormFields to add your own.`);\n return o;\n}, sc = {\n signIn: tc,\n signUp: nc,\n confirmSignUp: rc,\n confirmSignIn: cn,\n forceNewPassword: ac,\n forgotPassword: oc,\n confirmResetPassword: ic,\n confirmVerifyUser: cn,\n setupTotp: cn\n}, lc = (e, t) => {\n const n = sc[e];\n return n(t);\n}, cc = (e, t) => {\n var r, o;\n const n = (o = (r = kr(t)) == null ? void 0 : r.formFields) == null ? void 0 : o[e];\n return !n || Object.keys(n).length === 0 ? {} : Object.entries(n).reduce((i, [a, s]) => {\n if ((e === \"signIn\" || e === \"forgotPassword\") && a === \"username\") {\n const c = { ...Pn(t), ...s };\n return { ...i, [a]: c };\n } else if (rl(a)) {\n const c = { ...Gt[a], ...s };\n return { ...i, [a]: c };\n } else\n return { ...i, [a]: s };\n }, {});\n}, uc = (e, t) => {\n const n = lc(e, t), r = cc(e, t), o = { ...n, ...r };\n return delete o.QR, Ql(o);\n}, dc = (e) => e.map((t) => {\n const n = t[0], r = { ...t[1], order: void 0 };\n return [n, r];\n}), fc = (e, t) => {\n const n = uc(e, t);\n return dc(Xl(n));\n}, pc = (e) => {\n switch (e) {\n case \"SMS_MFA\":\n return N(z.CONFIRM_SMS);\n case \"SOFTWARE_TOKEN_MFA\":\n return N(z.CONFIRM_TOTP);\n default:\n return N(z.CONFIRM_MFA_DEFAULT);\n }\n}, mc = (e) => {\n const { DeliveryMedium: t, Destination: n } = e ?? {}, r = t === \"EMAIL\", o = t === \"SMS\", i = N(z.CODE_ARRIVAL);\n return r || o ? `${N(r ? z.CODE_EMAILED : z.CODE_TEXTED)} ${n}. ${i}.` : `${N(z.CODE_SENT)}. ${i}.`;\n}, gc = (e) => {\n const { DeliveryMedium: t } = e ?? {}, n = t === \"EMAIL\";\n return N(!n && t === \"SMS\" ? z.WE_SENT_CODE : n ? z.WE_EMAILED : z.WE_TEXTED);\n}, hc = {\n amazon: \"Amazon\",\n apple: \"Apple\",\n facebook: \"Facebook\",\n google: \"Google\"\n}, yc = (e, t) => N(`Sign ${e === \"signIn\" ? \"In\" : \"Up\"} with ${hc[t]}`), Ee = {\n /** Shared */\n getBackToSignInText: () => N(z.BACK_SIGN_IN),\n getChangePasswordText: () => N(z.CHANGE_PASSWORD),\n getChangingText: () => N(z.CHANGING_PASSWORD),\n getConfirmText: () => N(z.CONFIRM),\n getConfirmingText: () => N(z.CONFIRMING),\n getCopyText: () => N(z.UPPERCASE_COPY),\n getHidePasswordText: () => N(z.HIDE_PASSWORD),\n getLoadingText: () => N(z.LOADING),\n getOrText: () => N(z.OR),\n getResendCodeText: () => N(z.RESEND_CODE),\n getSendCodeText: () => N(z.SEND_CODE),\n getSendingText: () => N(z.SENDING),\n getShowPasswordText: () => N(z.SHOW_PASSWORD),\n getSubmitText: () => N(z.SUBMIT),\n getSubmittingText: () => N(z.SUBMITTING),\n /** SignInSignUpTabs */\n getSignInTabText: () => N(z.SIGN_IN_TAB),\n getSignUpTabText: () => N(z.CREATE_ACCOUNT),\n /** SignIn */\n getForgotPasswordText: (e) => N(e ? z.FORGOT_PASSWORD : z.FORGOT_YOUR_PASSWORD),\n getSigningInText: () => N(z.SIGNING_IN_BUTTON),\n getSignInText: () => N(z.SIGN_IN_BUTTON),\n /** SignUp */\n getCreatingAccountText: () => N(z.CREATING_ACCOUNT),\n getCreateAccountText: () => N(z.CREATE_ACCOUNT),\n /** ConfirmSignUp */\n getDeliveryMessageText: mc,\n getDeliveryMethodText: gc,\n /** ConfirmSignIn */\n getChallengeText: pc,\n /** ForgotPassword */\n getResetYourPasswordText: () => N(z.RESET_PASSWORD),\n /** SetupTotp */\n getSetupTotpText: () => N(z.SETUP_TOTP),\n // TODO: add defaultText for below\n getSetupTotpInstructionsText: () => N(\"Copy and paste the secret key below into an authenticator app and then enter the code in the text field below.\"),\n // TODO: add defaultText for \"COPIED\"\n getCopiedText: () => N(\"COPIED\"),\n /** FederatedSignIn */\n getSignInWithFederationText: yc,\n /** VerifyUser */\n getSkipText: () => N(z.SKIP),\n getVerifyText: () => N(z.VERIFY),\n getVerifyContactText: () => N(z.VERIFY_CONTACT),\n getAccountRecoveryInfoText: () => N(z.VERIFY_HEADING),\n /** Validations */\n // TODO: add defaultText\n getInvalidEmailText: () => N(\"Please enter a valid email\"),\n // TODO: add defaultText\n getRequiredFieldText: () => N(\"This field is required\")\n};\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\nvar A = function() {\n return A = Object.assign || function(t) {\n for (var n, r = 1, o = arguments.length; r < o; r++) {\n n = arguments[r];\n for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);\n }\n return t;\n }, A.apply(this, arguments);\n};\nfunction Ur(e, t) {\n var n = {};\n for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);\n if (e != null && typeof Object.getOwnPropertySymbols == \"function\")\n for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)\n t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);\n return n;\n}\nfunction V(e) {\n var t = typeof Symbol == \"function\" && Symbol.iterator, n = t && e[t], r = 0;\n if (n) return n.call(e);\n if (e && typeof e.length == \"number\") return {\n next: function() {\n return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };\n }\n };\n throw new TypeError(t ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction H(e, t) {\n var n = typeof Symbol == \"function\" && e[Symbol.iterator];\n if (!n) return e;\n var r = n.call(e), o, i = [], a;\n try {\n for (; (t === void 0 || t-- > 0) && !(o = r.next()).done; ) i.push(o.value);\n } catch (s) {\n a = { error: s };\n } finally {\n try {\n o && !o.done && (n = r.return) && n.call(r);\n } finally {\n if (a) throw a.error;\n }\n }\n return i;\n}\nfunction Q(e, t, n) {\n if (arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)\n (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);\n return e.concat(i || Array.prototype.slice.call(t));\n}\nvar Z;\n(function(e) {\n e.Start = \"xstate.start\", e.Stop = \"xstate.stop\", e.Raise = \"xstate.raise\", e.Send = \"xstate.send\", e.Cancel = \"xstate.cancel\", e.NullEvent = \"\", e.Assign = \"xstate.assign\", e.After = \"xstate.after\", e.DoneState = \"done.state\", e.DoneInvoke = \"done.invoke\", e.Log = \"xstate.log\", e.Init = \"xstate.init\", e.Invoke = \"xstate.invoke\", e.ErrorExecution = \"error.execution\", e.ErrorCommunication = \"error.communication\", e.ErrorPlatform = \"error.platform\", e.ErrorCustom = \"xstate.error\", e.Update = \"xstate.update\", e.Pure = \"xstate.pure\", e.Choose = \"xstate.choose\";\n})(Z || (Z = {}));\nvar Ze;\n(function(e) {\n e.Parent = \"#_parent\", e.Internal = \"#_internal\";\n})(Ze || (Ze = {}));\nvar pn = Z.Start, kn = Z.Stop, vt = Z.Raise, jt = Z.Send, $r = Z.Cancel, Ai = Z.NullEvent, Nn = Z.Assign, vc = Z.After, _c = Z.DoneState, Un = Z.Log, Ii = Z.Init, mn = Z.Invoke, wc = Z.ErrorExecution, dr = Z.ErrorPlatform, Or = Z.ErrorCustom, $n = Z.Update, Ei = Z.Choose, Ti = Z.Pure;\nconst Sc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n after: vc,\n assign: Nn,\n cancel: $r,\n choose: Ei,\n doneState: _c,\n error: Or,\n errorExecution: wc,\n errorPlatform: dr,\n init: Ii,\n invoke: mn,\n log: Un,\n nullEvent: Ai,\n pure: Ti,\n raise: vt,\n send: jt,\n start: pn,\n stop: kn,\n update: $n\n}, Symbol.toStringTag, { value: \"Module\" }));\nvar Pi = \".\", mo = {}, fr = \"xstate.guard\", bc = \"\", ne = process.env.NODE_ENV === \"production\", Qt;\nfunction Fr(e, t, n) {\n n === void 0 && (n = Pi);\n var r = Mt(e, n), o = Mt(t, n);\n return Y(o) ? Y(r) ? o === r : !1 : Y(r) ? r in o : Object.keys(r).every(function(i) {\n return i in o ? Fr(r[i], o[i]) : !1;\n });\n}\nfunction ki(e) {\n try {\n return Y(e) || typeof e == \"number\" ? \"\".concat(e) : e.type;\n } catch {\n throw new Error(\"Events must be strings or objects with a string event.type property.\");\n }\n}\nfunction pr(e, t) {\n try {\n return _t(e) ? e : e.toString().split(t);\n } catch {\n throw new Error(\"'\".concat(e, \"' is not a valid state path.\"));\n }\n}\nfunction Cc(e) {\n return typeof e == \"object\" && \"value\" in e && \"context\" in e && \"event\" in e && \"_event\" in e;\n}\nfunction Mt(e, t) {\n if (Cc(e))\n return e.value;\n if (_t(e))\n return gn(e);\n if (typeof e != \"string\")\n return e;\n var n = pr(e, t);\n return gn(n);\n}\nfunction gn(e) {\n if (e.length === 1)\n return e[0];\n for (var t = {}, n = t, r = 0; r < e.length - 1; r++)\n r === e.length - 2 ? n[e[r]] = e[r + 1] : (n[e[r]] = {}, n = n[e[r]]);\n return t;\n}\nfunction Ot(e, t) {\n for (var n = {}, r = Object.keys(e), o = 0; o < r.length; o++) {\n var i = r[o];\n n[i] = t(e[i], i, e, o);\n }\n return n;\n}\nfunction go(e, t, n) {\n var r, o, i = {};\n try {\n for (var a = V(Object.keys(e)), s = a.next(); !s.done; s = a.next()) {\n var l = s.value, c = e[l];\n n(c) && (i[l] = t(c, l, e));\n }\n } catch (u) {\n r = {\n error: u\n };\n } finally {\n try {\n s && !s.done && (o = a.return) && o.call(a);\n } finally {\n if (r) throw r.error;\n }\n }\n return i;\n}\nvar Ac = function(e) {\n return function(t) {\n var n, r, o = t;\n try {\n for (var i = V(e), a = i.next(); !a.done; a = i.next()) {\n var s = a.value;\n o = o[s];\n }\n } catch (l) {\n n = {\n error: l\n };\n } finally {\n try {\n a && !a.done && (r = i.return) && r.call(i);\n } finally {\n if (n) throw n.error;\n }\n }\n return o;\n };\n};\nfunction Ic(e, t) {\n return function(n) {\n var r, o, i = n;\n try {\n for (var a = V(e), s = a.next(); !s.done; s = a.next()) {\n var l = s.value;\n i = i[t][l];\n }\n } catch (c) {\n r = {\n error: c\n };\n } finally {\n try {\n s && !s.done && (o = a.return) && o.call(a);\n } finally {\n if (r) throw r.error;\n }\n }\n return i;\n };\n}\nfunction un(e) {\n if (!e)\n return [[]];\n if (Y(e))\n return [[e]];\n var t = te(Object.keys(e).map(function(n) {\n var r = e[n];\n return typeof r != \"string\" && (!r || !Object.keys(r).length) ? [[n]] : un(e[n]).map(function(o) {\n return [n].concat(o);\n });\n }));\n return t;\n}\nfunction te(e) {\n var t;\n return (t = []).concat.apply(t, Q([], H(e), !1));\n}\nfunction Ni(e) {\n return _t(e) ? e : [e];\n}\nfunction Pe(e) {\n return e === void 0 ? [] : Ni(e);\n}\nfunction hn(e, t, n) {\n var r, o;\n if (K(e))\n return e(t, n.data);\n var i = {};\n try {\n for (var a = V(Object.keys(e)), s = a.next(); !s.done; s = a.next()) {\n var l = s.value, c = e[l];\n K(c) ? i[l] = c(t, n.data) : i[l] = c;\n }\n } catch (u) {\n r = {\n error: u\n };\n } finally {\n try {\n s && !s.done && (o = a.return) && o.call(a);\n } finally {\n if (r) throw r.error;\n }\n }\n return i;\n}\nfunction Ec(e) {\n return /^(done|error)\\./.test(e);\n}\nfunction ho(e) {\n return !!(e instanceof Promise || e !== null && (K(e) || typeof e == \"object\") && K(e.then));\n}\nfunction Tc(e) {\n return e !== null && typeof e == \"object\" && \"transition\" in e && typeof e.transition == \"function\";\n}\nfunction Pc(e, t) {\n var n, r, o = H([[], []], 2), i = o[0], a = o[1];\n try {\n for (var s = V(e), l = s.next(); !l.done; l = s.next()) {\n var c = l.value;\n t(c) ? i.push(c) : a.push(c);\n }\n } catch (u) {\n n = {\n error: u\n };\n } finally {\n try {\n l && !l.done && (r = s.return) && r.call(s);\n } finally {\n if (n) throw n.error;\n }\n }\n return [i, a];\n}\nfunction Ui(e, t) {\n return Ot(e.states, function(n, r) {\n if (n) {\n var o = (Y(t) ? void 0 : t[r]) || (n ? n.current : void 0);\n if (o)\n return {\n current: o,\n states: Ui(n, o)\n };\n }\n });\n}\nfunction kc(e, t) {\n return {\n current: t,\n states: Ui(e, t)\n };\n}\nfunction yo(e, t, n, r) {\n ne || ce(!!e, \"Attempting to update undefined context\");\n var o = e && n.reduce(function(i, a) {\n var s, l, c = a.assignment, u = {\n state: r,\n action: a,\n _event: t\n }, m = {};\n if (K(c))\n m = c(i, t.data, u);\n else\n try {\n for (var f = V(Object.keys(c)), p = f.next(); !p.done; p = f.next()) {\n var h = p.value, v = c[h];\n m[h] = K(v) ? v(i, t.data, u) : v;\n }\n } catch (b) {\n s = {\n error: b\n };\n } finally {\n try {\n p && !p.done && (l = f.return) && l.call(f);\n } finally {\n if (s) throw s.error;\n }\n }\n return Object.assign({}, i, m);\n }, e);\n return o;\n}\nvar ce = function() {\n};\nne || (ce = function(e, t) {\n var n = e instanceof Error ? e : void 0;\n if (!(!n && e) && console !== void 0) {\n var r = [\"Warning: \".concat(t)];\n n && r.push(n), console.warn.apply(console, r);\n }\n});\nfunction _t(e) {\n return Array.isArray(e);\n}\nfunction K(e) {\n return typeof e == \"function\";\n}\nfunction Y(e) {\n return typeof e == \"string\";\n}\nfunction $i(e, t) {\n if (e)\n return Y(e) ? {\n type: fr,\n name: e,\n predicate: t ? t[e] : void 0\n } : K(e) ? {\n type: fr,\n name: e.name,\n predicate: e\n } : e;\n}\nfunction Nc(e) {\n try {\n return \"subscribe\" in e && K(e.subscribe);\n } catch {\n return !1;\n }\n}\nvar Ye = /* @__PURE__ */ function() {\n return typeof Symbol == \"function\" && Symbol.observable || \"@@observable\";\n}();\nQt = {}, Qt[Ye] = function() {\n return this;\n}, Qt[Symbol.observable] = function() {\n return this;\n};\nfunction ze(e) {\n return !!e && \"__xstatenode\" in e;\n}\nfunction Uc(e) {\n return !!e && typeof e.send == \"function\";\n}\nvar $c = /* @__PURE__ */ function() {\n var e = 0;\n return function() {\n return e++, e.toString(16);\n };\n}();\nfunction On(e, t) {\n return Y(e) || typeof e == \"number\" ? A({\n type: e\n }, t) : e;\n}\nfunction de(e, t) {\n if (!Y(e) && \"$$type\" in e && e.$$type === \"scxml\")\n return e;\n var n = On(e);\n return A({\n name: n.type,\n data: n,\n $$type: \"scxml\",\n type: \"external\"\n }, t);\n}\nfunction st(e, t) {\n var n = Ni(t).map(function(r) {\n return typeof r > \"u\" || typeof r == \"string\" || ze(r) ? {\n target: r,\n event: e\n } : A(A({}, r), {\n event: e\n });\n });\n return n;\n}\nfunction Oc(e) {\n if (!(e === void 0 || e === bc))\n return Pe(e);\n}\nfunction Fc(e, t, n) {\n if (!ne) {\n var r = e.stack ? \" Stacktrace was '\".concat(e.stack, \"'\") : \"\";\n if (e === t)\n console.error(\"Missing onError handler for invocation '\".concat(n, \"', error was '\").concat(e, \"'.\").concat(r));\n else {\n var o = t.stack ? \" Stacktrace was '\".concat(t.stack, \"'\") : \"\";\n console.error(\"Missing onError handler and/or unhandled exception/promise rejection for invocation '\".concat(n, \"'. \") + \"Original error: '\".concat(e, \"'. \").concat(r, \" Current error is '\").concat(t, \"'.\").concat(o));\n }\n }\n}\nfunction Oi(e, t, n, r, o) {\n var i = e.options.guards, a = {\n state: o,\n cond: t,\n _event: r\n };\n if (t.type === fr)\n return ((i == null ? void 0 : i[t.name]) || t.predicate)(n, r.data, a);\n var s = i == null ? void 0 : i[t.type];\n if (!s)\n throw new Error(\"Guard '\".concat(t.type, \"' is not implemented on machine '\").concat(e.id, \"'.\"));\n return s(n, r.data, a);\n}\nfunction Fi(e) {\n return typeof e == \"string\" ? {\n type: e\n } : e;\n}\nfunction dn(e, t, n) {\n var r = function() {\n }, o = typeof e == \"object\", i = o ? e : null;\n return {\n next: ((o ? e.next : e) || r).bind(i),\n error: ((o ? e.error : t) || r).bind(i),\n complete: ((o ? e.complete : n) || r).bind(i)\n };\n}\nfunction Xt(e, t) {\n return \"\".concat(e, \":invocation[\").concat(t, \"]\");\n}\nfunction mr(e) {\n return (e.type === vt || e.type === jt && e.to === Ze.Internal) && typeof e.delay != \"number\";\n}\nvar rt = /* @__PURE__ */ de({\n type: Ii\n});\nfunction yn(e, t) {\n return t && t[e] || void 0;\n}\nfunction pt(e, t) {\n var n;\n if (Y(e) || typeof e == \"number\") {\n var r = yn(e, t);\n K(r) ? n = {\n type: e,\n exec: r\n } : r ? n = r : n = {\n type: e,\n exec: void 0\n };\n } else if (K(e))\n n = {\n // Convert action to string if unnamed\n type: e.name || e.toString(),\n exec: e\n };\n else {\n var r = yn(e.type, t);\n if (K(r))\n n = A(A({}, e), {\n exec: r\n });\n else if (r) {\n var o = r.type || e.type;\n n = A(A(A({}, r), e), {\n type: o\n });\n } else\n n = e;\n }\n return n;\n}\nvar Ge = function(e, t) {\n if (!e)\n return [];\n var n = _t(e) ? e : [e];\n return n.map(function(r) {\n return pt(r, t);\n });\n};\nfunction Fn(e) {\n var t = pt(e);\n return A(A({\n id: Y(e) ? e : t.id\n }, t), {\n type: t.type\n });\n}\nfunction Ri(e, t) {\n return {\n type: vt,\n event: typeof e == \"function\" ? e : On(e),\n delay: t ? t.delay : void 0,\n id: t == null ? void 0 : t.id\n };\n}\nfunction xi(e, t, n, r) {\n var o = {\n _event: n\n }, i = de(K(e.event) ? e.event(t, n.data, o) : e.event), a;\n if (Y(e.delay)) {\n var s = r && r[e.delay];\n a = K(s) ? s(t, n.data, o) : s;\n } else\n a = K(e.delay) ? e.delay(t, n.data, o) : e.delay;\n return A(A({}, e), {\n type: vt,\n _event: i,\n delay: a\n });\n}\nfunction wt(e, t) {\n return {\n to: t ? t.to : void 0,\n type: jt,\n event: K(e) ? e : On(e),\n delay: t ? t.delay : void 0,\n // TODO: don't auto-generate IDs here like that\n // there is too big chance of the ID collision\n id: t && t.id !== void 0 ? t.id : K(e) ? e.name : ki(e)\n };\n}\nfunction Mi(e, t, n, r) {\n var o = {\n _event: n\n }, i = de(K(e.event) ? e.event(t, n.data, o) : e.event), a;\n if (Y(e.delay)) {\n var s = r && r[e.delay];\n a = K(s) ? s(t, n.data, o) : s;\n } else\n a = K(e.delay) ? e.delay(t, n.data, o) : e.delay;\n var l = K(e.to) ? e.to(t, n.data, o) : e.to;\n return A(A({}, e), {\n to: l,\n _event: i,\n event: i.data,\n delay: a\n });\n}\nfunction Rr(e, t) {\n return wt(e, A(A({}, t), {\n to: Ze.Parent\n }));\n}\nfunction Rc(e, t, n) {\n return wt(t, A(A({}, n), {\n to: e\n }));\n}\nfunction Di() {\n return Rr($n);\n}\nfunction xc(e, t) {\n return wt(e, A(A({}, t), {\n to: function(n, r, o) {\n var i = o._event;\n return i.origin;\n }\n }));\n}\nvar Mc = function(e, t) {\n return {\n context: e,\n event: t\n };\n};\nfunction Dc(e, t) {\n return e === void 0 && (e = Mc), {\n type: Un,\n label: t,\n expr: e\n };\n}\nvar Bi = function(e, t, n) {\n return A(A({}, e), {\n value: Y(e.expr) ? e.expr : e.expr(t, n.data, {\n _event: n\n })\n });\n}, Li = function(e) {\n return {\n type: $r,\n sendId: e\n };\n};\nfunction Gi(e) {\n var t = Fn(e);\n return {\n type: Z.Start,\n activity: t,\n exec: void 0\n };\n}\nfunction zi(e) {\n var t = K(e) ? e : Fn(e);\n return {\n type: Z.Stop,\n activity: t,\n exec: void 0\n };\n}\nfunction Wi(e, t, n) {\n var r = K(e.activity) ? e.activity(t, n.data) : e.activity, o = typeof r == \"string\" ? {\n id: r\n } : r, i = {\n type: Z.Stop,\n activity: o\n };\n return i;\n}\nvar Vi = function(e) {\n return {\n type: Nn,\n assignment: e\n };\n};\nfunction Bc(e) {\n return typeof e == \"object\" && \"type\" in e;\n}\nfunction ji(e, t) {\n var n = t ? \"#\".concat(t) : \"\";\n return \"\".concat(Z.After, \"(\").concat(e, \")\").concat(n);\n}\nfunction Ft(e, t) {\n var n = \"\".concat(Z.DoneState, \".\").concat(e), r = {\n type: n,\n data: t\n };\n return r.toString = function() {\n return n;\n }, r;\n}\nfunction Dt(e, t) {\n var n = \"\".concat(Z.DoneInvoke, \".\").concat(e), r = {\n type: n,\n data: t\n };\n return r.toString = function() {\n return n;\n }, r;\n}\nfunction ft(e, t) {\n var n = \"\".concat(Z.ErrorPlatform, \".\").concat(e), r = {\n type: n,\n data: t\n };\n return r.toString = function() {\n return n;\n }, r;\n}\nfunction Lc(e) {\n return {\n type: Z.Pure,\n get: e\n };\n}\nfunction Hi(e, t) {\n if (!ne && (!e || typeof e == \"function\")) {\n var n = e;\n e = function() {\n for (var r = [], o = 0; o < arguments.length; o++)\n r[o] = arguments[o];\n var i = typeof n == \"function\" ? n.apply(void 0, Q([], H(r), !1)) : n;\n if (!i)\n throw new Error(\"Attempted to forward event to undefined actor. This risks an infinite loop in the sender.\");\n return i;\n };\n }\n return wt(function(r, o) {\n return o;\n }, A(A({}, t), {\n to: e\n }));\n}\nfunction Gc(e, t) {\n return Rr(function(n, r, o) {\n return {\n type: Or,\n data: K(e) ? e(n, r, o) : e\n };\n }, A(A({}, t), {\n to: Ze.Parent\n }));\n}\nfunction zc(e) {\n return {\n type: Z.Choose,\n conds: e\n };\n}\nvar Wc = function(e) {\n var t, n, r = [];\n try {\n for (var o = V(e), i = o.next(); !i.done; i = o.next())\n for (var a = i.value, s = 0; s < a.actions.length; ) {\n if (a.actions[s].type === Nn) {\n r.push(a.actions[s]), a.actions.splice(s, 1);\n continue;\n }\n s++;\n }\n } catch (l) {\n t = {\n error: l\n };\n } finally {\n try {\n i && !i.done && (n = o.return) && n.call(o);\n } finally {\n if (t) throw t.error;\n }\n }\n return r;\n};\nfunction zt(e, t, n, r, o, i, a) {\n a === void 0 && (a = !1);\n var s = a ? [] : Wc(o), l = s.length ? yo(n, r, s, t) : n, c = a ? [n] : void 0, u = [];\n function m(h, v) {\n var b;\n switch (v.type) {\n case vt: {\n var g = xi(v, l, r, e.options.delays);\n return i && typeof g.delay == \"number\" && i(g, l, r), g;\n }\n case jt:\n var w = Mi(v, l, r, e.options.delays);\n if (!ne) {\n var y = v.delay;\n ce(\n !Y(y) || typeof w.delay == \"number\",\n // tslint:disable-next-line:max-line-length\n \"No delay reference for delay expression '\".concat(y, \"' was found on machine '\").concat(e.id, \"'\")\n );\n }\n return i && w.to !== Ze.Internal && (h === \"entry\" ? u.push(w) : i(w, l, r)), w;\n case Un: {\n var S = Bi(v, l, r);\n return i == null || i(S, l, r), S;\n }\n case Ei: {\n var I = v, T = (b = I.conds.find(function(fe) {\n var ge = $i(fe.cond, e.options.guards);\n return !ge || Oi(e, ge, l, r, i ? void 0 : t);\n })) === null || b === void 0 ? void 0 : b.actions;\n if (!T)\n return [];\n var P = H(zt(e, t, l, r, [{\n type: h,\n actions: Ge(Pe(T), e.options.actions)\n }], i, a), 2), k = P[0], $ = P[1];\n return l = $, c == null || c.push(l), k;\n }\n case Ti: {\n var T = v.get(l, r.data);\n if (!T)\n return [];\n var O = H(zt(e, t, l, r, [{\n type: h,\n actions: Ge(Pe(T), e.options.actions)\n }], i, a), 2), F = O[0], B = O[1];\n return l = B, c == null || c.push(l), F;\n }\n case kn: {\n var S = Wi(v, l, r);\n return i == null || i(S, n, r), S;\n }\n case Nn: {\n l = yo(l, r, [v], i ? void 0 : t), c == null || c.push(l);\n break;\n }\n default:\n var G = pt(v, e.options.actions), ae = G.exec;\n if (i)\n i(G, l, r);\n else if (ae && c) {\n var be = c.length - 1, Te = A(A({}, G), {\n exec: function(fe) {\n for (var ge = [], ve = 1; ve < arguments.length; ve++)\n ge[ve - 1] = arguments[ve];\n ae.apply(void 0, Q([c[be]], H(ge), !1));\n }\n });\n G = Te;\n }\n return G;\n }\n }\n function f(h) {\n var v, b, g = [];\n try {\n for (var w = V(h.actions), y = w.next(); !y.done; y = w.next()) {\n var S = y.value, I = m(h.type, S);\n I && (g = g.concat(I));\n }\n } catch (T) {\n v = {\n error: T\n };\n } finally {\n try {\n y && !y.done && (b = w.return) && b.call(w);\n } finally {\n if (v) throw v.error;\n }\n }\n return u.forEach(function(T) {\n i(T, l, r);\n }), u.length = 0, g;\n }\n var p = te(o.map(f));\n return [p, l];\n}\nconst Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n actionTypes: Sc,\n after: ji,\n assign: Vi,\n cancel: Li,\n choose: zc,\n done: Ft,\n doneInvoke: Dt,\n error: ft,\n escalate: Gc,\n forwardTo: Hi,\n getActionFunction: yn,\n initEvent: rt,\n isActionObject: Bc,\n log: Dc,\n pure: Lc,\n raise: Ri,\n resolveActions: zt,\n resolveLog: Bi,\n resolveRaise: xi,\n resolveSend: Mi,\n resolveStop: Wi,\n respond: xc,\n send: wt,\n sendParent: Rr,\n sendTo: Rc,\n sendUpdate: Di,\n start: Gi,\n stop: zi,\n toActionObject: pt,\n toActionObjects: Ge,\n toActivityDefinition: Fn\n}, Symbol.toStringTag, { value: \"Module\" }));\nvar vn = [], ut = function(e, t) {\n vn.push(e);\n var n = t(e);\n return vn.pop(), n;\n}, Vc = function(e) {\n return e(vn[vn.length - 1]);\n};\nfunction Ki(e) {\n var t;\n return t = {\n id: e,\n send: function() {\n },\n subscribe: function() {\n return {\n unsubscribe: function() {\n }\n };\n },\n getSnapshot: function() {\n },\n toJSON: function() {\n return {\n id: e\n };\n }\n }, t[Ye] = function() {\n return this;\n }, t;\n}\nfunction jc(e, t, n, r) {\n var o, i = Fi(e.src), a = (o = t == null ? void 0 : t.options.services) === null || o === void 0 ? void 0 : o[i.type], s = e.data ? hn(e.data, n, r) : void 0, l = a ? xr(a, e.id, s) : Ki(e.id);\n return l.meta = e, l;\n}\nfunction xr(e, t, n) {\n var r = Ki(t);\n if (r.deferred = !0, ze(e)) {\n var o = r.state = ut(void 0, function() {\n return (n ? e.withContext(n) : e).initialState;\n });\n r.getSnapshot = function() {\n return o;\n };\n }\n return r;\n}\nfunction Hc(e) {\n try {\n return typeof e.send == \"function\";\n } catch {\n return !1;\n }\n}\nfunction Yc(e) {\n return Hc(e) && \"id\" in e;\n}\nfunction Kc(e) {\n var t;\n return A((t = {\n subscribe: function() {\n return {\n unsubscribe: function() {\n }\n };\n },\n id: \"anonymous\",\n getSnapshot: function() {\n }\n }, t[Ye] = function() {\n return this;\n }, t), e);\n}\nvar _n = function(e) {\n return e.type === \"atomic\" || e.type === \"final\";\n};\nfunction qi(e) {\n return Object.keys(e.states).map(function(t) {\n return e.states[t];\n });\n}\nfunction Wt(e) {\n return qi(e).filter(function(t) {\n return t.type !== \"history\";\n });\n}\nfunction Ji(e) {\n var t = [e];\n return _n(e) ? t : t.concat(te(Wt(e).map(Ji)));\n}\nfunction Rt(e, t) {\n var n, r, o, i, a, s, l, c, u = new Set(e), m = gr(u), f = new Set(t);\n try {\n for (var p = V(f), h = p.next(); !h.done; h = p.next())\n for (var v = h.value, b = v.parent; b && !f.has(b); )\n f.add(b), b = b.parent;\n } catch ($) {\n n = {\n error: $\n };\n } finally {\n try {\n h && !h.done && (r = p.return) && r.call(p);\n } finally {\n if (n) throw n.error;\n }\n }\n var g = gr(f);\n try {\n for (var w = V(f), y = w.next(); !y.done; y = w.next()) {\n var v = y.value;\n if (v.type === \"compound\" && (!g.get(v) || !g.get(v).length))\n m.get(v) ? m.get(v).forEach(function(O) {\n return f.add(O);\n }) : v.initialStateNodes.forEach(function(O) {\n return f.add(O);\n });\n else if (v.type === \"parallel\")\n try {\n for (var S = (a = void 0, V(Wt(v))), I = S.next(); !I.done; I = S.next()) {\n var T = I.value;\n f.has(T) || (f.add(T), m.get(T) ? m.get(T).forEach(function(O) {\n return f.add(O);\n }) : T.initialStateNodes.forEach(function(O) {\n return f.add(O);\n }));\n }\n } catch (O) {\n a = {\n error: O\n };\n } finally {\n try {\n I && !I.done && (s = S.return) && s.call(S);\n } finally {\n if (a) throw a.error;\n }\n }\n }\n } catch ($) {\n o = {\n error: $\n };\n } finally {\n try {\n y && !y.done && (i = w.return) && i.call(w);\n } finally {\n if (o) throw o.error;\n }\n }\n try {\n for (var P = V(f), k = P.next(); !k.done; k = P.next())\n for (var v = k.value, b = v.parent; b && !f.has(b); )\n f.add(b), b = b.parent;\n } catch ($) {\n l = {\n error: $\n };\n } finally {\n try {\n k && !k.done && (c = P.return) && c.call(P);\n } finally {\n if (l) throw l.error;\n }\n }\n return f;\n}\nfunction Zi(e, t) {\n var n = t.get(e);\n if (!n)\n return {};\n if (e.type === \"compound\") {\n var r = n[0];\n if (r) {\n if (_n(r))\n return r.key;\n } else\n return {};\n }\n var o = {};\n return n.forEach(function(i) {\n o[i.key] = Zi(i, t);\n }), o;\n}\nfunction gr(e) {\n var t, n, r = /* @__PURE__ */ new Map();\n try {\n for (var o = V(e), i = o.next(); !i.done; i = o.next()) {\n var a = i.value;\n r.has(a) || r.set(a, []), a.parent && (r.has(a.parent) || r.set(a.parent, []), r.get(a.parent).push(a));\n }\n } catch (s) {\n t = {\n error: s\n };\n } finally {\n try {\n i && !i.done && (n = o.return) && n.call(o);\n } finally {\n if (t) throw t.error;\n }\n }\n return r;\n}\nfunction qc(e, t) {\n var n = Rt([e], t);\n return Zi(e, gr(n));\n}\nfunction xt(e, t) {\n return Array.isArray(e) ? e.some(function(n) {\n return n === t;\n }) : e instanceof Set ? e.has(t) : !1;\n}\nfunction Jc(e) {\n return Q([], H(new Set(te(Q([], H(e.map(function(t) {\n return t.ownEvents;\n })), !1)))), !1);\n}\nfunction fn(e, t) {\n return t.type === \"compound\" ? Wt(t).some(function(n) {\n return n.type === \"final\" && xt(e, n);\n }) : t.type === \"parallel\" ? Wt(t).every(function(n) {\n return fn(e, n);\n }) : !1;\n}\nfunction Zc(e) {\n return e === void 0 && (e = []), e.reduce(function(t, n) {\n return n.meta !== void 0 && (t[n.id] = n.meta), t;\n }, {});\n}\nfunction vo(e) {\n return new Set(te(e.map(function(t) {\n return t.tags;\n })));\n}\nfunction Qi(e, t) {\n if (e === t)\n return !0;\n if (e === void 0 || t === void 0)\n return !1;\n if (Y(e) || Y(t))\n return e === t;\n var n = Object.keys(e), r = Object.keys(t);\n return n.length === r.length && n.every(function(o) {\n return Qi(e[o], t[o]);\n });\n}\nfunction Qc(e) {\n return typeof e != \"object\" || e === null ? !1 : \"value\" in e && \"_event\" in e;\n}\nfunction Xc(e, t) {\n var n = e.exec, r = A(A({}, e), {\n exec: n !== void 0 ? function() {\n return n(t.context, t.event, {\n action: e,\n state: t,\n _event: t._event\n });\n } : void 0\n });\n return r;\n}\nvar ke = (\n /** @class */\n /* @__PURE__ */ function() {\n function e(t) {\n var n = this, r;\n this.actions = [], this.activities = mo, this.meta = {}, this.events = [], this.value = t.value, this.context = t.context, this._event = t._event, this._sessionid = t._sessionid, this.event = this._event.data, this.historyValue = t.historyValue, this.history = t.history, this.actions = t.actions || [], this.activities = t.activities || mo, this.meta = Zc(t.configuration), this.events = t.events || [], this.matches = this.matches.bind(this), this.toStrings = this.toStrings.bind(this), this.configuration = t.configuration, this.transitions = t.transitions, this.children = t.children, this.done = !!t.done, this.tags = (r = Array.isArray(t.tags) ? new Set(t.tags) : t.tags) !== null && r !== void 0 ? r : /* @__PURE__ */ new Set(), this.machine = t.machine, Object.defineProperty(this, \"nextEvents\", {\n get: function() {\n return Jc(n.configuration);\n }\n });\n }\n return e.from = function(t, n) {\n if (t instanceof e)\n return t.context !== n ? new e({\n value: t.value,\n context: n,\n _event: t._event,\n _sessionid: null,\n historyValue: t.historyValue,\n history: t.history,\n actions: [],\n activities: t.activities,\n meta: {},\n events: [],\n configuration: [],\n transitions: [],\n children: {}\n }) : t;\n var r = rt;\n return new e({\n value: t,\n context: n,\n _event: r,\n _sessionid: null,\n historyValue: void 0,\n history: void 0,\n actions: [],\n activities: void 0,\n meta: void 0,\n events: [],\n configuration: [],\n transitions: [],\n children: {}\n });\n }, e.create = function(t) {\n return new e(t);\n }, e.inert = function(t, n) {\n if (t instanceof e) {\n if (!t.actions.length)\n return t;\n var r = rt;\n return new e({\n value: t.value,\n context: n,\n _event: r,\n _sessionid: null,\n historyValue: t.historyValue,\n history: t.history,\n activities: t.activities,\n configuration: t.configuration,\n transitions: [],\n children: {}\n });\n }\n return e.from(t, n);\n }, e.prototype.toStrings = function(t, n) {\n var r = this;\n if (t === void 0 && (t = this.value), n === void 0 && (n = \".\"), Y(t))\n return [t];\n var o = Object.keys(t);\n return o.concat.apply(o, Q([], H(o.map(function(i) {\n return r.toStrings(t[i], n).map(function(a) {\n return i + n + a;\n });\n })), !1));\n }, e.prototype.toJSON = function() {\n var t = this;\n t.configuration, t.transitions;\n var n = t.tags;\n t.machine;\n var r = Ur(t, [\"configuration\", \"transitions\", \"tags\", \"machine\"]);\n return A(A({}, r), {\n tags: Array.from(n)\n });\n }, e.prototype.matches = function(t) {\n return Fr(t, this.value);\n }, e.prototype.hasTag = function(t) {\n return this.tags.has(t);\n }, e.prototype.can = function(t) {\n var n;\n ne && ce(!!this.machine, \"state.can(...) used outside of a machine-created State object; this will always return false.\");\n var r = (n = this.machine) === null || n === void 0 ? void 0 : n.getTransitionData(this, t);\n return !!(r != null && r.transitions.length) && // Check that at least one transition is not forbidden\n r.transitions.some(function(o) {\n return o.target !== void 0 || o.actions.length;\n });\n }, e;\n }()\n), eu = {\n deferEvents: !1\n}, _o = (\n /** @class */\n /* @__PURE__ */ function() {\n function e(t) {\n this.processingEvent = !1, this.queue = [], this.initialized = !1, this.options = A(A({}, eu), t);\n }\n return e.prototype.initialize = function(t) {\n if (this.initialized = !0, t) {\n if (!this.options.deferEvents) {\n this.schedule(t);\n return;\n }\n this.process(t);\n }\n this.flushEvents();\n }, e.prototype.schedule = function(t) {\n if (!this.initialized || this.processingEvent) {\n this.queue.push(t);\n return;\n }\n if (this.queue.length !== 0)\n throw new Error(\"Event queue should be empty when it is not processing events\");\n this.process(t), this.flushEvents();\n }, e.prototype.clear = function() {\n this.queue = [];\n }, e.prototype.flushEvents = function() {\n for (var t = this.queue.shift(); t; )\n this.process(t), t = this.queue.shift();\n }, e.prototype.process = function(t) {\n this.processingEvent = !0;\n try {\n t();\n } catch (n) {\n throw this.clear(), n;\n } finally {\n this.processingEvent = !1;\n }\n }, e;\n }()\n), tr = /* @__PURE__ */ new Map(), tu = 0, Pt = {\n bookId: function() {\n return \"x:\".concat(tu++);\n },\n register: function(e, t) {\n return tr.set(e, t), e;\n },\n get: function(e) {\n return tr.get(e);\n },\n free: function(e) {\n tr.delete(e);\n }\n};\nfunction Mr() {\n if (typeof globalThis < \"u\")\n return globalThis;\n if (typeof self < \"u\")\n return self;\n if (typeof window < \"u\")\n return window;\n if (typeof global < \"u\")\n return global;\n ne || console.warn(\"XState could not find a global object in this environment. Please let the maintainers know and raise an issue here: https://github.com/statelyai/xstate/issues\");\n}\nfunction nu() {\n var e = Mr();\n if (e && \"__xstate__\" in e)\n return e.__xstate__;\n}\nfunction ru(e) {\n if (Mr()) {\n var t = nu();\n t && t.register(e);\n }\n}\nfunction ou(e, t) {\n t === void 0 && (t = {});\n var n = e.initialState, r = /* @__PURE__ */ new Set(), o = [], i = !1, a = function() {\n if (!i) {\n for (i = !0; o.length > 0; ) {\n var c = o.shift();\n n = e.transition(n, c, l), r.forEach(function(u) {\n return u.next(n);\n });\n }\n i = !1;\n }\n }, s = Kc({\n id: t.id,\n send: function(c) {\n o.push(c), a();\n },\n getSnapshot: function() {\n return n;\n },\n subscribe: function(c, u, m) {\n var f = dn(c, u, m);\n return r.add(f), f.next(n), {\n unsubscribe: function() {\n r.delete(f);\n }\n };\n }\n }), l = {\n parent: t.parent,\n self: s,\n id: t.id || \"anonymous\",\n observers: r\n };\n return n = e.start ? e.start(l) : n, s;\n}\nvar hr = {\n sync: !1,\n autoForward: !1\n}, se;\n(function(e) {\n e[e.NotStarted = 0] = \"NotStarted\", e[e.Running = 1] = \"Running\", e[e.Stopped = 2] = \"Stopped\";\n})(se || (se = {}));\nvar iu = (\n /** @class */\n /* @__PURE__ */ function() {\n function e(t, n) {\n n === void 0 && (n = e.defaultOptions);\n var r = this;\n this.machine = t, this.delayedEventsMap = {}, this.listeners = /* @__PURE__ */ new Set(), this.contextListeners = /* @__PURE__ */ new Set(), this.stopListeners = /* @__PURE__ */ new Set(), this.doneListeners = /* @__PURE__ */ new Set(), this.eventListeners = /* @__PURE__ */ new Set(), this.sendListeners = /* @__PURE__ */ new Set(), this.initialized = !1, this.status = se.NotStarted, this.children = /* @__PURE__ */ new Map(), this.forwardTo = /* @__PURE__ */ new Set(), this._outgoingQueue = [], this.init = this.start, this.send = function(u, m) {\n if (_t(u))\n return r.batch(u), r.state;\n var f = de(On(u, m));\n if (r.status === se.Stopped)\n return ne || ce(!1, 'Event \"'.concat(f.name, '\" was sent to stopped service \"').concat(r.machine.id, `\". This service has already reached its final state, and will not transition.\nEvent: `).concat(JSON.stringify(f.data))), r.state;\n if (r.status !== se.Running && !r.options.deferEvents)\n throw new Error('Event \"'.concat(f.name, '\" was sent to uninitialized service \"').concat(\n r.machine.id,\n `\". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.\nEvent: `\n ).concat(JSON.stringify(f.data)));\n return r.scheduler.schedule(function() {\n r.forward(f);\n var p = r._nextState(f);\n r.update(p, f);\n }), r._state;\n }, this.sendTo = function(u, m, f) {\n var p = r.parent && (m === Ze.Parent || r.parent.id === m), h = p ? r.parent : Y(m) ? m === Ze.Internal ? r : r.children.get(m) || Pt.get(m) : Uc(m) ? m : void 0;\n if (!h) {\n if (!p)\n throw new Error(\"Unable to send event to child '\".concat(m, \"' from service '\").concat(r.id, \"'.\"));\n ne || ce(!1, \"Service '\".concat(r.id, \"' has no parent: unable to send event \").concat(u.type));\n return;\n }\n if (\"machine\" in h) {\n if (r.status !== se.Stopped || r.parent !== h || // we need to send events to the parent from exit handlers of a machine that reached its final state\n r.state.done) {\n var v = A(A({}, u), {\n name: u.name === Or ? \"\".concat(ft(r.id)) : u.name,\n origin: r.sessionId\n });\n !f && r.machine.config.predictableActionArguments ? r._outgoingQueue.push([h, v]) : h.send(v);\n }\n } else\n !f && r.machine.config.predictableActionArguments ? r._outgoingQueue.push([h, u.data]) : h.send(u.data);\n }, this._exec = function(u, m, f, p) {\n p === void 0 && (p = r.machine.options.actions);\n var h = u.exec || yn(u.type, p), v = K(h) ? h : h ? h.exec : u.exec;\n if (v)\n try {\n return v(m, f.data, r.machine.config.predictableActionArguments ? {\n action: u,\n _event: f\n } : {\n action: u,\n state: r.state,\n _event: f\n });\n } catch (ae) {\n throw r.parent && r.parent.send({\n type: \"xstate.error\",\n data: ae\n }), ae;\n }\n switch (u.type) {\n case vt: {\n var b = u;\n r.defer(b);\n break;\n }\n case jt:\n var g = u;\n if (typeof g.delay == \"number\") {\n r.defer(g);\n return;\n } else\n g.to ? r.sendTo(g._event, g.to, f === rt) : r.send(g._event);\n break;\n case $r:\n r.cancel(u.sendId);\n break;\n case pn: {\n if (r.status !== se.Running)\n return;\n var w = u.activity;\n if (\n // in v4 with `predictableActionArguments` invokes are called eagerly when the `this.state` still points to the previous state\n !r.machine.config.predictableActionArguments && !r.state.activities[w.id || w.type]\n )\n break;\n if (w.type === Z.Invoke) {\n var y = Fi(w.src), S = r.machine.options.services ? r.machine.options.services[y.type] : void 0, I = w.id, T = w.data;\n ne || ce(\n !(\"forward\" in w),\n // tslint:disable-next-line:max-line-length\n \"`forward` property is deprecated (found in invocation of '\".concat(w.src, \"' in in machine '\").concat(r.machine.id, \"'). \") + \"Please use `autoForward` instead.\"\n );\n var P = \"autoForward\" in w ? w.autoForward : !!w.forward;\n if (!S) {\n ne || ce(!1, \"No service found for invocation '\".concat(w.src, \"' in machine '\").concat(r.machine.id, \"'.\"));\n return;\n }\n var k = T ? hn(T, m, f) : void 0;\n if (typeof S == \"string\")\n return;\n var $ = K(S) ? S(m, f.data, {\n data: k,\n src: y,\n meta: w.meta\n }) : S;\n if (!$)\n return;\n var O = void 0;\n ze($) && ($ = k ? $.withContext(k) : $, O = {\n autoForward: P\n }), r.spawn($, I, O);\n } else\n r.spawnActivity(w);\n break;\n }\n case kn: {\n r.stopChild(u.activity.id);\n break;\n }\n case Un:\n var F = u, B = F.label, G = F.value;\n B ? r.logger(B, G) : r.logger(G);\n break;\n default:\n ne || ce(!1, \"No implementation found for action type '\".concat(u.type, \"'\"));\n break;\n }\n };\n var o = A(A({}, e.defaultOptions), n), i = o.clock, a = o.logger, s = o.parent, l = o.id, c = l !== void 0 ? l : t.id;\n this.id = c, this.logger = a, this.clock = i, this.parent = s, this.options = o, this.scheduler = new _o({\n deferEvents: this.options.deferEvents\n }), this.sessionId = Pt.bookId();\n }\n return Object.defineProperty(e.prototype, \"initialState\", {\n get: function() {\n var t = this;\n return this._initialState ? this._initialState : ut(this, function() {\n return t._initialState = t.machine.initialState, t._initialState;\n });\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(e.prototype, \"state\", {\n /**\n * @deprecated Use `.getSnapshot()` instead.\n */\n get: function() {\n return ne || ce(this.status !== se.NotStarted, \"Attempted to read state from uninitialized service '\".concat(this.id, \"'. Make sure the service is started first.\")), this._state;\n },\n enumerable: !1,\n configurable: !0\n }), e.prototype.execute = function(t, n) {\n var r, o;\n try {\n for (var i = V(t.actions), a = i.next(); !a.done; a = i.next()) {\n var s = a.value;\n this.exec(s, t, n);\n }\n } catch (l) {\n r = {\n error: l\n };\n } finally {\n try {\n a && !a.done && (o = i.return) && o.call(i);\n } finally {\n if (r) throw r.error;\n }\n }\n }, e.prototype.update = function(t, n) {\n var r, o, i, a, s, l, c, u, m = this;\n if (t._sessionid = this.sessionId, this._state = t, (!this.machine.config.predictableActionArguments || // this is currently required to execute initial actions as the `initialState` gets cached\n // we can't just recompute it (and execute actions while doing so) because we try to preserve identity of actors created within initial assigns\n n === rt) && this.options.execute)\n this.execute(this.state);\n else\n for (var f = void 0; f = this._outgoingQueue.shift(); )\n f[0].send(f[1]);\n if (this.children.forEach(function($) {\n m.state.children[$.id] = $;\n }), this.devTools && this.devTools.send(n.data, t), t.event)\n try {\n for (var p = V(this.eventListeners), h = p.next(); !h.done; h = p.next()) {\n var v = h.value;\n v(t.event);\n }\n } catch ($) {\n r = {\n error: $\n };\n } finally {\n try {\n h && !h.done && (o = p.return) && o.call(p);\n } finally {\n if (r) throw r.error;\n }\n }\n try {\n for (var b = V(this.listeners), g = b.next(); !g.done; g = b.next()) {\n var v = g.value;\n v(t, t.event);\n }\n } catch ($) {\n i = {\n error: $\n };\n } finally {\n try {\n g && !g.done && (a = b.return) && a.call(b);\n } finally {\n if (i) throw i.error;\n }\n }\n try {\n for (var w = V(this.contextListeners), y = w.next(); !y.done; y = w.next()) {\n var S = y.value;\n S(this.state.context, this.state.history ? this.state.history.context : void 0);\n }\n } catch ($) {\n s = {\n error: $\n };\n } finally {\n try {\n y && !y.done && (l = w.return) && l.call(w);\n } finally {\n if (s) throw s.error;\n }\n }\n if (this.state.done) {\n var I = t.configuration.find(function($) {\n return $.type === \"final\" && $.parent === m.machine;\n }), T = I && I.doneData ? hn(I.doneData, t.context, n) : void 0;\n this._doneEvent = Dt(this.id, T);\n try {\n for (var P = V(this.doneListeners), k = P.next(); !k.done; k = P.next()) {\n var v = k.value;\n v(this._doneEvent);\n }\n } catch ($) {\n c = {\n error: $\n };\n } finally {\n try {\n k && !k.done && (u = P.return) && u.call(P);\n } finally {\n if (c) throw c.error;\n }\n }\n this._stop(), this._stopChildren(), Pt.free(this.sessionId);\n }\n }, e.prototype.onTransition = function(t) {\n return this.listeners.add(t), this.status === se.Running && t(this.state, this.state.event), this;\n }, e.prototype.subscribe = function(t, n, r) {\n var o = this, i = dn(t, n, r);\n this.listeners.add(i.next), this.status !== se.NotStarted && i.next(this.state);\n var a = function() {\n o.doneListeners.delete(a), o.stopListeners.delete(a), i.complete();\n };\n return this.status === se.Stopped ? i.complete() : (this.onDone(a), this.onStop(a)), {\n unsubscribe: function() {\n o.listeners.delete(i.next), o.doneListeners.delete(a), o.stopListeners.delete(a);\n }\n };\n }, e.prototype.onEvent = function(t) {\n return this.eventListeners.add(t), this;\n }, e.prototype.onSend = function(t) {\n return this.sendListeners.add(t), this;\n }, e.prototype.onChange = function(t) {\n return this.contextListeners.add(t), this;\n }, e.prototype.onStop = function(t) {\n return this.stopListeners.add(t), this;\n }, e.prototype.onDone = function(t) {\n return this.status === se.Stopped && this._doneEvent ? t(this._doneEvent) : this.doneListeners.add(t), this;\n }, e.prototype.off = function(t) {\n return this.listeners.delete(t), this.eventListeners.delete(t), this.sendListeners.delete(t), this.stopListeners.delete(t), this.doneListeners.delete(t), this.contextListeners.delete(t), this;\n }, e.prototype.start = function(t) {\n var n = this;\n if (this.status === se.Running)\n return this;\n this.machine._init(), Pt.register(this.sessionId, this), this.initialized = !0, this.status = se.Running;\n var r = t === void 0 ? this.initialState : ut(this, function() {\n return Qc(t) ? n.machine.resolveState(t) : n.machine.resolveState(ke.from(t, n.machine.context));\n });\n return this.options.devTools && this.attachDev(), this.scheduler.initialize(function() {\n n.update(r, rt);\n }), this;\n }, e.prototype._stopChildren = function() {\n this.children.forEach(function(t) {\n K(t.stop) && t.stop();\n }), this.children.clear();\n }, e.prototype._stop = function() {\n var t, n, r, o, i, a, s, l, c, u;\n try {\n for (var m = V(this.listeners), f = m.next(); !f.done; f = m.next()) {\n var p = f.value;\n this.listeners.delete(p);\n }\n } catch (P) {\n t = {\n error: P\n };\n } finally {\n try {\n f && !f.done && (n = m.return) && n.call(m);\n } finally {\n if (t) throw t.error;\n }\n }\n try {\n for (var h = V(this.stopListeners), v = h.next(); !v.done; v = h.next()) {\n var p = v.value;\n p(), this.stopListeners.delete(p);\n }\n } catch (P) {\n r = {\n error: P\n };\n } finally {\n try {\n v && !v.done && (o = h.return) && o.call(h);\n } finally {\n if (r) throw r.error;\n }\n }\n try {\n for (var b = V(this.contextListeners), g = b.next(); !g.done; g = b.next()) {\n var p = g.value;\n this.contextListeners.delete(p);\n }\n } catch (P) {\n i = {\n error: P\n };\n } finally {\n try {\n g && !g.done && (a = b.return) && a.call(b);\n } finally {\n if (i) throw i.error;\n }\n }\n try {\n for (var w = V(this.doneListeners), y = w.next(); !y.done; y = w.next()) {\n var p = y.value;\n this.doneListeners.delete(p);\n }\n } catch (P) {\n s = {\n error: P\n };\n } finally {\n try {\n y && !y.done && (l = w.return) && l.call(w);\n } finally {\n if (s) throw s.error;\n }\n }\n if (!this.initialized)\n return this;\n this.initialized = !1, this.status = se.Stopped, this._initialState = void 0;\n try {\n for (var S = V(Object.keys(this.delayedEventsMap)), I = S.next(); !I.done; I = S.next()) {\n var T = I.value;\n this.clock.clearTimeout(this.delayedEventsMap[T]);\n }\n } catch (P) {\n c = {\n error: P\n };\n } finally {\n try {\n I && !I.done && (u = S.return) && u.call(S);\n } finally {\n if (c) throw c.error;\n }\n }\n this.scheduler.clear(), this.scheduler = new _o({\n deferEvents: this.options.deferEvents\n });\n }, e.prototype.stop = function() {\n var t = this, n = this.scheduler;\n return this._stop(), n.schedule(function() {\n var r = de({\n type: \"xstate.stop\"\n }), o = ut(t, function() {\n var i = te(Q([], H(t.state.configuration), !1).sort(function(u, m) {\n return m.order - u.order;\n }).map(function(u) {\n return Ge(u.onExit, t.machine.options.actions);\n })), a = H(zt(t.machine, t.state, t.state.context, r, [{\n type: \"exit\",\n actions: i\n }], t.machine.config.predictableActionArguments ? t._exec : void 0, t.machine.config.predictableActionArguments || t.machine.config.preserveActionOrder), 2), s = a[0], l = a[1], c = new ke({\n value: t.state.value,\n context: l,\n _event: r,\n _sessionid: t.sessionId,\n historyValue: void 0,\n history: t.state,\n actions: s.filter(function(u) {\n return !mr(u);\n }),\n activities: {},\n events: [],\n configuration: [],\n transitions: [],\n children: {},\n done: t.state.done,\n tags: t.state.tags,\n machine: t.machine\n });\n return c.changed = !0, c;\n });\n t.update(o, r), t._stopChildren(), Pt.free(t.sessionId);\n }), this;\n }, e.prototype.batch = function(t) {\n var n = this;\n if (this.status === se.NotStarted && this.options.deferEvents)\n ne || ce(!1, \"\".concat(t.length, ' event(s) were sent to uninitialized service \"').concat(this.machine.id, `\" and are deferred. Make sure .start() is called for this service.\nEvent: `).concat(JSON.stringify(event)));\n else if (this.status !== se.Running)\n throw new Error(\n // tslint:disable-next-line:max-line-length\n \"\".concat(t.length, ' event(s) were sent to uninitialized service \"').concat(this.machine.id, '\". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.')\n );\n if (t.length) {\n var r = !!this.machine.config.predictableActionArguments && this._exec;\n this.scheduler.schedule(function() {\n var o, i, a = n.state, s = !1, l = [], c = function(p) {\n var h = de(p);\n n.forward(h), a = ut(n, function() {\n return n.machine.transition(a, h, void 0, r || void 0);\n }), l.push.apply(l, Q([], H(n.machine.config.predictableActionArguments ? a.actions : a.actions.map(function(v) {\n return Xc(v, a);\n })), !1)), s = s || !!a.changed;\n };\n try {\n for (var u = V(t), m = u.next(); !m.done; m = u.next()) {\n var f = m.value;\n c(f);\n }\n } catch (p) {\n o = {\n error: p\n };\n } finally {\n try {\n m && !m.done && (i = u.return) && i.call(u);\n } finally {\n if (o) throw o.error;\n }\n }\n a.changed = s, a.actions = l, n.update(a, de(t[t.length - 1]));\n });\n }\n }, e.prototype.sender = function(t) {\n return this.send.bind(this, t);\n }, e.prototype._nextState = function(t, n) {\n var r = this;\n n === void 0 && (n = !!this.machine.config.predictableActionArguments && this._exec);\n var o = de(t);\n if (o.name.indexOf(dr) === 0 && !this.state.nextEvents.some(function(a) {\n return a.indexOf(dr) === 0;\n }))\n throw o.data.data;\n var i = ut(this, function() {\n return r.machine.transition(r.state, o, void 0, n || void 0);\n });\n return i;\n }, e.prototype.nextState = function(t) {\n return this._nextState(t, !1);\n }, e.prototype.forward = function(t) {\n var n, r;\n try {\n for (var o = V(this.forwardTo), i = o.next(); !i.done; i = o.next()) {\n var a = i.value, s = this.children.get(a);\n if (!s)\n throw new Error(\"Unable to forward event '\".concat(t, \"' from interpreter '\").concat(this.id, \"' to nonexistant child '\").concat(a, \"'.\"));\n s.send(t);\n }\n } catch (l) {\n n = {\n error: l\n };\n } finally {\n try {\n i && !i.done && (r = o.return) && r.call(o);\n } finally {\n if (n) throw n.error;\n }\n }\n }, e.prototype.defer = function(t) {\n var n = this, r = this.clock.setTimeout(function() {\n \"to\" in t && t.to ? n.sendTo(t._event, t.to, !0) : n.send(t._event);\n }, t.delay);\n t.id && (this.delayedEventsMap[t.id] = r);\n }, e.prototype.cancel = function(t) {\n this.clock.clearTimeout(this.delayedEventsMap[t]), delete this.delayedEventsMap[t];\n }, e.prototype.exec = function(t, n, r) {\n r === void 0 && (r = this.machine.options.actions), this._exec(t, n.context, n._event, r);\n }, e.prototype.removeChild = function(t) {\n var n;\n this.children.delete(t), this.forwardTo.delete(t), (n = this.state) === null || n === void 0 || delete n.children[t];\n }, e.prototype.stopChild = function(t) {\n var n = this.children.get(t);\n n && (this.removeChild(t), K(n.stop) && n.stop());\n }, e.prototype.spawn = function(t, n, r) {\n if (this.status !== se.Running)\n return xr(t, n);\n if (ho(t))\n return this.spawnPromise(Promise.resolve(t), n);\n if (K(t))\n return this.spawnCallback(t, n);\n if (Yc(t))\n return this.spawnActor(t, n);\n if (Nc(t))\n return this.spawnObservable(t, n);\n if (ze(t))\n return this.spawnMachine(t, A(A({}, r), {\n id: n\n }));\n if (Tc(t))\n return this.spawnBehavior(t, n);\n throw new Error('Unable to spawn entity \"'.concat(n, '\" of type \"').concat(typeof t, '\".'));\n }, e.prototype.spawnMachine = function(t, n) {\n var r = this;\n n === void 0 && (n = {});\n var o = new e(t, A(A({}, this.options), {\n parent: this,\n id: n.id || t.id\n })), i = A(A({}, hr), n);\n i.sync && o.onTransition(function(s) {\n r.send($n, {\n state: s,\n id: o.id\n });\n });\n var a = o;\n return this.children.set(o.id, a), i.autoForward && this.forwardTo.add(o.id), o.onDone(function(s) {\n r.removeChild(o.id), r.send(de(s, {\n origin: o.id\n }));\n }).start(), a;\n }, e.prototype.spawnBehavior = function(t, n) {\n var r = ou(t, {\n id: n,\n parent: this\n });\n return this.children.set(n, r), r;\n }, e.prototype.spawnPromise = function(t, n) {\n var r, o = this, i = !1, a;\n t.then(function(l) {\n i || (a = l, o.removeChild(n), o.send(de(Dt(n, l), {\n origin: n\n })));\n }, function(l) {\n if (!i) {\n o.removeChild(n);\n var c = ft(n, l);\n try {\n o.send(de(c, {\n origin: n\n }));\n } catch (u) {\n Fc(l, u, n), o.devTools && o.devTools.send(c, o.state), o.machine.strict && o.stop();\n }\n }\n });\n var s = (r = {\n id: n,\n send: function() {\n },\n subscribe: function(l, c, u) {\n var m = dn(l, c, u), f = !1;\n return t.then(function(p) {\n f || (m.next(p), !f && m.complete());\n }, function(p) {\n f || m.error(p);\n }), {\n unsubscribe: function() {\n return f = !0;\n }\n };\n },\n stop: function() {\n i = !0;\n },\n toJSON: function() {\n return {\n id: n\n };\n },\n getSnapshot: function() {\n return a;\n }\n }, r[Ye] = function() {\n return this;\n }, r);\n return this.children.set(n, s), s;\n }, e.prototype.spawnCallback = function(t, n) {\n var r, o = this, i = !1, a = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set(), l, c = function(f) {\n l = f, s.forEach(function(p) {\n return p(f);\n }), !i && o.send(de(f, {\n origin: n\n }));\n }, u;\n try {\n u = t(c, function(f) {\n a.add(f);\n });\n } catch (f) {\n this.send(ft(n, f));\n }\n if (ho(u))\n return this.spawnPromise(u, n);\n var m = (r = {\n id: n,\n send: function(f) {\n return a.forEach(function(p) {\n return p(f);\n });\n },\n subscribe: function(f) {\n var p = dn(f);\n return s.add(p.next), {\n unsubscribe: function() {\n s.delete(p.next);\n }\n };\n },\n stop: function() {\n i = !0, K(u) && u();\n },\n toJSON: function() {\n return {\n id: n\n };\n },\n getSnapshot: function() {\n return l;\n }\n }, r[Ye] = function() {\n return this;\n }, r);\n return this.children.set(n, m), m;\n }, e.prototype.spawnObservable = function(t, n) {\n var r, o = this, i, a = t.subscribe(function(l) {\n i = l, o.send(de(l, {\n origin: n\n }));\n }, function(l) {\n o.removeChild(n), o.send(de(ft(n, l), {\n origin: n\n }));\n }, function() {\n o.removeChild(n), o.send(de(Dt(n), {\n origin: n\n }));\n }), s = (r = {\n id: n,\n send: function() {\n },\n subscribe: function(l, c, u) {\n return t.subscribe(l, c, u);\n },\n stop: function() {\n return a.unsubscribe();\n },\n getSnapshot: function() {\n return i;\n },\n toJSON: function() {\n return {\n id: n\n };\n }\n }, r[Ye] = function() {\n return this;\n }, r);\n return this.children.set(n, s), s;\n }, e.prototype.spawnActor = function(t, n) {\n return this.children.set(n, t), t;\n }, e.prototype.spawnActivity = function(t) {\n var n = this.machine.options && this.machine.options.activities ? this.machine.options.activities[t.type] : void 0;\n if (!n) {\n ne || ce(!1, \"No implementation found for activity '\".concat(t.type, \"'\"));\n return;\n }\n var r = n(this.state.context, t);\n this.spawnEffect(t.id, r);\n }, e.prototype.spawnEffect = function(t, n) {\n var r;\n this.children.set(t, (r = {\n id: t,\n send: function() {\n },\n subscribe: function() {\n return {\n unsubscribe: function() {\n }\n };\n },\n stop: n || void 0,\n getSnapshot: function() {\n },\n toJSON: function() {\n return {\n id: t\n };\n }\n }, r[Ye] = function() {\n return this;\n }, r));\n }, e.prototype.attachDev = function() {\n var t = Mr();\n if (this.options.devTools && t) {\n if (t.__REDUX_DEVTOOLS_EXTENSION__) {\n var n = typeof this.options.devTools == \"object\" ? this.options.devTools : void 0;\n this.devTools = t.__REDUX_DEVTOOLS_EXTENSION__.connect(A(A({\n name: this.id,\n autoPause: !0,\n stateSanitizer: function(r) {\n return {\n value: r.value,\n context: r.context,\n actions: r.actions\n };\n }\n }, n), {\n features: A({\n jump: !1,\n skip: !1\n }, n ? n.features : void 0)\n }), this.machine), this.devTools.init(this.state);\n }\n ru(this);\n }\n }, e.prototype.toJSON = function() {\n return {\n id: this.id\n };\n }, e.prototype[Ye] = function() {\n return this;\n }, e.prototype.getSnapshot = function() {\n return this.status === se.NotStarted ? this.initialState : this._state;\n }, e.defaultOptions = {\n execute: !0,\n deferEvents: !0,\n clock: {\n setTimeout: function(t, n) {\n return setTimeout(t, n);\n },\n clearTimeout: function(t) {\n return clearTimeout(t);\n }\n },\n logger: /* @__PURE__ */ console.log.bind(console),\n devTools: !1\n }, e.interpret = Xi, e;\n }()\n), au = function(e) {\n return Y(e) ? A(A({}, hr), {\n name: e\n }) : A(A(A({}, hr), {\n name: $c()\n }), e);\n};\nfunction kt(e, t) {\n var n = au(t);\n return Vc(function(r) {\n if (!ne) {\n var o = ze(e) || K(e);\n ce(!!r || o, 'Attempted to spawn an Actor (ID: \"'.concat(ze(e) ? e.id : \"undefined\", '\") outside of a service. This will have no effect.'));\n }\n return r ? r.spawn(e, n.name, n) : xr(e, n.name);\n });\n}\nfunction Xi(e, t) {\n var n = new iu(e, t);\n return n;\n}\nfunction su(e) {\n if (typeof e == \"string\") {\n var t = {\n type: e\n };\n return t.toString = function() {\n return e;\n }, t;\n }\n return e;\n}\nfunction en(e) {\n return A(A({\n type: mn\n }, e), {\n toJSON: function() {\n e.onDone, e.onError;\n var t = Ur(e, [\"onDone\", \"onError\"]);\n return A(A({}, t), {\n type: mn,\n src: su(e.src)\n });\n }\n });\n}\nvar dt = \"\", yr = \"#\", Nt = \"*\", lt = {}, ct = function(e) {\n return e[0] === yr;\n}, lu = function() {\n return {\n actions: {},\n guards: {},\n services: {},\n activities: {},\n delays: {}\n };\n}, cu = function(e, t, n) {\n var r = n.slice(0, -1).some(function(i) {\n return !(\"cond\" in i) && !(\"in\" in i) && (Y(i.target) || ze(i.target));\n }), o = t === dt ? \"the transient event\" : \"event '\".concat(t, \"'\");\n ce(!r, \"One or more transitions for \".concat(o, \" on state '\").concat(e.id, \"' are unreachable. \") + \"Make sure that the default transition is the last one defined.\");\n}, uu = (\n /** @class */\n /* @__PURE__ */ function() {\n function e(t, n, r, o) {\n r === void 0 && (r = \"context\" in t ? t.context : void 0);\n var i = this, a;\n this.config = t, this._context = r, this.order = -1, this.__xstatenode = !0, this.__cache = {\n events: void 0,\n relativeValue: /* @__PURE__ */ new Map(),\n initialStateValue: void 0,\n initialState: void 0,\n on: void 0,\n transitions: void 0,\n candidates: {},\n delayedTransitions: void 0\n }, this.idMap = {}, this.tags = [], this.options = Object.assign(lu(), n), this.parent = o == null ? void 0 : o.parent, this.key = this.config.key || (o == null ? void 0 : o.key) || this.config.id || \"(machine)\", this.machine = this.parent ? this.parent.machine : this, this.path = this.parent ? this.parent.path.concat(this.key) : [], this.delimiter = this.config.delimiter || (this.parent ? this.parent.delimiter : Pi), this.id = this.config.id || Q([this.machine.key], H(this.path), !1).join(this.delimiter), this.version = this.parent ? this.parent.version : this.config.version, this.type = this.config.type || (this.config.parallel ? \"parallel\" : this.config.states && Object.keys(this.config.states).length ? \"compound\" : this.config.history ? \"history\" : \"atomic\"), this.schema = this.parent ? this.machine.schema : (a = this.config.schema) !== null && a !== void 0 ? a : {}, this.description = this.config.description, ne || ce(!(\"parallel\" in this.config), 'The \"parallel\" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel ? \"Replace with `type: 'parallel'`\" : \"Use `type: '\".concat(this.type, \"'`\"), \" in the config for state node '\").concat(this.id, \"' instead.\")), this.initial = this.config.initial, this.states = this.config.states ? Ot(this.config.states, function(c, u) {\n var m, f = new e(c, {}, void 0, {\n parent: i,\n key: u\n });\n return Object.assign(i.idMap, A((m = {}, m[f.id] = f, m), f.idMap)), f;\n }) : lt;\n var s = 0;\n function l(c) {\n var u, m;\n c.order = s++;\n try {\n for (var f = V(qi(c)), p = f.next(); !p.done; p = f.next()) {\n var h = p.value;\n l(h);\n }\n } catch (v) {\n u = {\n error: v\n };\n } finally {\n try {\n p && !p.done && (m = f.return) && m.call(f);\n } finally {\n if (u) throw u.error;\n }\n }\n }\n l(this), this.history = this.config.history === !0 ? \"shallow\" : this.config.history || !1, this._transient = !!this.config.always || (this.config.on ? Array.isArray(this.config.on) ? this.config.on.some(function(c) {\n var u = c.event;\n return u === dt;\n }) : dt in this.config.on : !1), this.strict = !!this.config.strict, this.onEntry = Pe(this.config.entry || this.config.onEntry).map(function(c) {\n return pt(c);\n }), this.onExit = Pe(this.config.exit || this.config.onExit).map(function(c) {\n return pt(c);\n }), this.meta = this.config.meta, this.doneData = this.type === \"final\" ? this.config.data : void 0, this.invoke = Pe(this.config.invoke).map(function(c, u) {\n var m, f;\n if (ze(c)) {\n var p = Xt(i.id, u);\n return i.machine.options.services = A((m = {}, m[p] = c, m), i.machine.options.services), en({\n src: p,\n id: p\n });\n } else if (Y(c.src)) {\n var p = c.id || Xt(i.id, u);\n return en(A(A({}, c), {\n id: p,\n src: c.src\n }));\n } else if (ze(c.src) || K(c.src)) {\n var p = c.id || Xt(i.id, u);\n return i.machine.options.services = A((f = {}, f[p] = c.src, f), i.machine.options.services), en(A(A({\n id: p\n }, c), {\n src: p\n }));\n } else {\n var h = c.src;\n return en(A(A({\n id: Xt(i.id, u)\n }, c), {\n src: h\n }));\n }\n }), this.activities = Pe(this.config.activities).concat(this.invoke).map(function(c) {\n return Fn(c);\n }), this.transition = this.transition.bind(this), this.tags = Pe(this.config.tags);\n }\n return e.prototype._init = function() {\n this.__cache.transitions || Ji(this).forEach(function(t) {\n return t.on;\n });\n }, e.prototype.withConfig = function(t, n) {\n var r = this.options, o = r.actions, i = r.activities, a = r.guards, s = r.services, l = r.delays;\n return new e(this.config, {\n actions: A(A({}, o), t.actions),\n activities: A(A({}, i), t.activities),\n guards: A(A({}, a), t.guards),\n services: A(A({}, s), t.services),\n delays: A(A({}, l), t.delays)\n }, n ?? this.context);\n }, e.prototype.withContext = function(t) {\n return new e(this.config, this.options, t);\n }, Object.defineProperty(e.prototype, \"context\", {\n get: function() {\n return K(this._context) ? this._context() : this._context;\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(e.prototype, \"definition\", {\n /**\n * The well-structured state node definition.\n */\n get: function() {\n return {\n id: this.id,\n key: this.key,\n version: this.version,\n context: this.context,\n type: this.type,\n initial: this.initial,\n history: this.history,\n states: Ot(this.states, function(t) {\n return t.definition;\n }),\n on: this.on,\n transitions: this.transitions,\n entry: this.onEntry,\n exit: this.onExit,\n activities: this.activities || [],\n meta: this.meta,\n order: this.order || -1,\n data: this.doneData,\n invoke: this.invoke,\n description: this.description,\n tags: this.tags\n };\n },\n enumerable: !1,\n configurable: !0\n }), e.prototype.toJSON = function() {\n return this.definition;\n }, Object.defineProperty(e.prototype, \"on\", {\n /**\n * The mapping of events to transitions.\n */\n get: function() {\n if (this.__cache.on)\n return this.__cache.on;\n var t = this.transitions;\n return this.__cache.on = t.reduce(function(n, r) {\n return n[r.eventType] = n[r.eventType] || [], n[r.eventType].push(r), n;\n }, {});\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(e.prototype, \"after\", {\n get: function() {\n return this.__cache.delayedTransitions || (this.__cache.delayedTransitions = this.getDelayedTransitions(), this.__cache.delayedTransitions);\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(e.prototype, \"transitions\", {\n /**\n * All the transitions that can be taken from this state node.\n */\n get: function() {\n return this.__cache.transitions || (this.__cache.transitions = this.formatTransitions(), this.__cache.transitions);\n },\n enumerable: !1,\n configurable: !0\n }), e.prototype.getCandidates = function(t) {\n if (this.__cache.candidates[t])\n return this.__cache.candidates[t];\n var n = t === dt, r = this.transitions.filter(function(o) {\n var i = o.eventType === t;\n return n ? i : i || o.eventType === Nt;\n });\n return this.__cache.candidates[t] = r, r;\n }, e.prototype.getDelayedTransitions = function() {\n var t = this, n = this.config.after;\n if (!n)\n return [];\n var r = function(i, a) {\n var s = K(i) ? \"\".concat(t.id, \":delay[\").concat(a, \"]\") : i, l = ji(s, t.id);\n return t.onEntry.push(wt(l, {\n delay: i\n })), t.onExit.push(Li(l)), l;\n }, o = _t(n) ? n.map(function(i, a) {\n var s = r(i.delay, a);\n return A(A({}, i), {\n event: s\n });\n }) : te(Object.keys(n).map(function(i, a) {\n var s = n[i], l = Y(s) ? {\n target: s\n } : s, c = isNaN(+i) ? i : +i, u = r(c, a);\n return Pe(l).map(function(m) {\n return A(A({}, m), {\n event: u,\n delay: c\n });\n });\n }));\n return o.map(function(i) {\n var a = i.delay;\n return A(A({}, t.formatTransition(i)), {\n delay: a\n });\n });\n }, e.prototype.getStateNodes = function(t) {\n var n, r = this;\n if (!t)\n return [];\n var o = t instanceof ke ? t.value : Mt(t, this.delimiter);\n if (Y(o)) {\n var i = this.getStateNode(o).initial;\n return i !== void 0 ? this.getStateNodes((n = {}, n[o] = i, n)) : [this, this.states[o]];\n }\n var a = Object.keys(o), s = [this];\n return s.push.apply(s, Q([], H(te(a.map(function(l) {\n return r.getStateNode(l).getStateNodes(o[l]);\n }))), !1)), s;\n }, e.prototype.handles = function(t) {\n var n = ki(t);\n return this.events.includes(n);\n }, e.prototype.resolveState = function(t) {\n var n = t instanceof ke ? t : ke.create(t), r = Array.from(Rt([], this.getStateNodes(n.value)));\n return new ke(A(A({}, n), {\n value: this.resolve(n.value),\n configuration: r,\n done: fn(r, this),\n tags: vo(r),\n machine: this.machine\n }));\n }, e.prototype.transitionLeafNode = function(t, n, r) {\n var o = this.getStateNode(t), i = o.next(n, r);\n return !i || !i.transitions.length ? this.next(n, r) : i;\n }, e.prototype.transitionCompoundNode = function(t, n, r) {\n var o = Object.keys(t), i = this.getStateNode(o[0]), a = i._transition(t[o[0]], n, r);\n return !a || !a.transitions.length ? this.next(n, r) : a;\n }, e.prototype.transitionParallelNode = function(t, n, r) {\n var o, i, a = {};\n try {\n for (var s = V(Object.keys(t)), l = s.next(); !l.done; l = s.next()) {\n var c = l.value, u = t[c];\n if (u) {\n var m = this.getStateNode(c), f = m._transition(u, n, r);\n f && (a[c] = f);\n }\n }\n } catch (g) {\n o = {\n error: g\n };\n } finally {\n try {\n l && !l.done && (i = s.return) && i.call(s);\n } finally {\n if (o) throw o.error;\n }\n }\n var p = Object.keys(a).map(function(g) {\n return a[g];\n }), h = te(p.map(function(g) {\n return g.transitions;\n })), v = p.some(function(g) {\n return g.transitions.length > 0;\n });\n if (!v)\n return this.next(n, r);\n var b = te(Object.keys(a).map(function(g) {\n return a[g].configuration;\n }));\n return {\n transitions: h,\n exitSet: te(p.map(function(g) {\n return g.exitSet;\n })),\n configuration: b,\n source: n,\n actions: te(Object.keys(a).map(function(g) {\n return a[g].actions;\n }))\n };\n }, e.prototype._transition = function(t, n, r) {\n return Y(t) ? this.transitionLeafNode(t, n, r) : Object.keys(t).length === 1 ? this.transitionCompoundNode(t, n, r) : this.transitionParallelNode(t, n, r);\n }, e.prototype.getTransitionData = function(t, n) {\n return this._transition(t.value, t, de(n));\n }, e.prototype.next = function(t, n) {\n var r, o, i = this, a = n.name, s = [], l = [], c;\n try {\n for (var u = V(this.getCandidates(a)), m = u.next(); !m.done; m = u.next()) {\n var f = m.value, p = f.cond, h = f.in, v = t.context, b = h ? Y(h) && ct(h) ? (\n // Check if in state by ID\n t.matches(Mt(this.getStateNodeById(h).path, this.delimiter))\n ) : (\n // Check if in state by relative grandparent\n Fr(Mt(h, this.delimiter), Ac(this.path.slice(0, -2))(t.value))\n ) : !0, g = !1;\n try {\n g = !p || Oi(this.machine, p, v, n, t);\n } catch (S) {\n throw new Error(\"Unable to evaluate guard '\".concat(p.name || p.type, \"' in transition for event '\").concat(a, \"' in state node '\").concat(this.id, `':\n`).concat(S.message));\n }\n if (g && b) {\n f.target !== void 0 && (l = f.target), s.push.apply(s, Q([], H(f.actions), !1)), c = f;\n break;\n }\n }\n } catch (S) {\n r = {\n error: S\n };\n } finally {\n try {\n m && !m.done && (o = u.return) && o.call(u);\n } finally {\n if (r) throw r.error;\n }\n }\n if (c) {\n if (!l.length)\n return {\n transitions: [c],\n exitSet: [],\n configuration: t.value ? [this] : [],\n source: t,\n actions: s\n };\n var w = te(l.map(function(S) {\n return i.getRelativeStateNodes(S, t.historyValue);\n })), y = !!c.internal;\n return {\n transitions: [c],\n exitSet: y ? [] : te(l.map(function(S) {\n return i.getPotentiallyReenteringNodes(S);\n })),\n configuration: w,\n source: t,\n actions: s\n };\n }\n }, e.prototype.getPotentiallyReenteringNodes = function(t) {\n if (this.order < t.order)\n return [this];\n for (var n = [], r = this, o = t; r && r !== o; )\n n.push(r), r = r.parent;\n return r !== o ? [] : (n.push(o), n);\n }, e.prototype.getActions = function(t, n, r, o, i, a, s) {\n var l, c, u, m, f = this, p = a ? Rt([], this.getStateNodes(a.value)) : [], h = /* @__PURE__ */ new Set();\n try {\n for (var v = V(Array.from(t).sort(function(F, B) {\n return F.order - B.order;\n })), b = v.next(); !b.done; b = v.next()) {\n var g = b.value;\n (!xt(p, g) || xt(r.exitSet, g) || g.parent && h.has(g.parent)) && h.add(g);\n }\n } catch (F) {\n l = {\n error: F\n };\n } finally {\n try {\n b && !b.done && (c = v.return) && c.call(v);\n } finally {\n if (l) throw l.error;\n }\n }\n try {\n for (var w = V(p), y = w.next(); !y.done; y = w.next()) {\n var g = y.value;\n (!xt(t, g) || xt(r.exitSet, g.parent)) && r.exitSet.push(g);\n }\n } catch (F) {\n u = {\n error: F\n };\n } finally {\n try {\n y && !y.done && (m = w.return) && m.call(w);\n } finally {\n if (u) throw u.error;\n }\n }\n r.exitSet.sort(function(F, B) {\n return B.order - F.order;\n });\n var S = Array.from(h).sort(function(F, B) {\n return F.order - B.order;\n }), I = new Set(r.exitSet), T = te(S.map(function(F) {\n var B = [];\n if (F.type !== \"final\")\n return B;\n var G = F.parent;\n if (!G.parent)\n return B;\n B.push(\n Ft(F.id, F.doneData),\n // TODO: deprecate - final states should not emit done events for their own state.\n Ft(G.id, F.doneData ? hn(F.doneData, o, i) : void 0)\n );\n var ae = G.parent;\n return ae.type === \"parallel\" && Wt(ae).every(function(be) {\n return fn(r.configuration, be);\n }) && B.push(Ft(ae.id)), B;\n })), P = S.map(function(F) {\n var B = F.onEntry, G = F.activities.map(function(ae) {\n return Gi(ae);\n });\n return {\n type: \"entry\",\n actions: Ge(s ? Q(Q([], H(B), !1), H(G), !1) : Q(Q([], H(G), !1), H(B), !1), f.machine.options.actions)\n };\n }).concat({\n type: \"state_done\",\n actions: T.map(function(F) {\n return Ri(F);\n })\n }), k = Array.from(I).map(function(F) {\n return {\n type: \"exit\",\n actions: Ge(Q(Q([], H(F.onExit), !1), H(F.activities.map(function(B) {\n return zi(B);\n })), !1), f.machine.options.actions)\n };\n }), $ = k.concat({\n type: \"transition\",\n actions: Ge(r.actions, this.machine.options.actions)\n }).concat(P);\n if (n) {\n var O = Ge(te(Q([], H(t), !1).sort(function(F, B) {\n return B.order - F.order;\n }).map(function(F) {\n return F.onExit;\n })), this.machine.options.actions).filter(function(F) {\n return !mr(F);\n });\n return $.concat({\n type: \"stop\",\n actions: O\n });\n }\n return $;\n }, e.prototype.transition = function(t, n, r, o) {\n t === void 0 && (t = this.initialState);\n var i = de(n), a;\n if (t instanceof ke)\n a = r === void 0 ? t : this.resolveState(ke.from(t, r));\n else {\n var s = Y(t) ? this.resolve(gn(this.getResolvedPath(t))) : this.resolve(t), l = r ?? this.machine.context;\n a = this.resolveState(ke.from(s, l));\n }\n if (!ne && i.name === Nt)\n throw new Error(\"An event cannot have the wildcard type ('\".concat(Nt, \"')\"));\n if (this.strict && !this.events.includes(i.name) && !Ec(i.name))\n throw new Error(\"Machine '\".concat(this.id, \"' does not accept event '\").concat(i.name, \"'\"));\n var c = this._transition(a.value, a, i) || {\n transitions: [],\n configuration: [],\n exitSet: [],\n source: a,\n actions: []\n }, u = Rt([], this.getStateNodes(a.value)), m = c.configuration.length ? Rt(u, c.configuration) : u;\n return c.configuration = Q([], H(m), !1), this.resolveTransition(c, a, a.context, o, i);\n }, e.prototype.resolveRaisedTransition = function(t, n, r, o) {\n var i, a = t.actions;\n return t = this.transition(t, n, void 0, o), t._event = r, t.event = r.data, (i = t.actions).unshift.apply(i, Q([], H(a), !1)), t;\n }, e.prototype.resolveTransition = function(t, n, r, o, i) {\n var a, s, l, c, u = this;\n i === void 0 && (i = rt);\n var m = t.configuration, f = !n || t.transitions.length > 0, p = f ? t.configuration : n ? n.configuration : [], h = fn(p, this), v = f ? qc(this.machine, m) : void 0, b = n ? n.historyValue ? n.historyValue : t.source ? this.machine.historyValue(n.value) : void 0 : void 0, g = this.getActions(new Set(p), h, t, r, i, n, o), w = n ? A({}, n.activities) : {};\n try {\n for (var y = V(g), S = y.next(); !S.done; S = y.next()) {\n var I = S.value;\n try {\n for (var T = (l = void 0, V(I.actions)), P = T.next(); !P.done; P = T.next()) {\n var k = P.value;\n k.type === pn ? w[k.activity.id || k.activity.type] = k : k.type === kn && (w[k.activity.id || k.activity.type] = !1);\n }\n } catch (he) {\n l = {\n error: he\n };\n } finally {\n try {\n P && !P.done && (c = T.return) && c.call(T);\n } finally {\n if (l) throw l.error;\n }\n }\n }\n } catch (he) {\n a = {\n error: he\n };\n } finally {\n try {\n S && !S.done && (s = y.return) && s.call(y);\n } finally {\n if (a) throw a.error;\n }\n }\n var $ = H(zt(this, n, r, i, g, o, this.machine.config.predictableActionArguments || this.machine.config.preserveActionOrder), 2), O = $[0], F = $[1], B = H(Pc(O, mr), 2), G = B[0], ae = B[1], be = O.filter(function(he) {\n var He;\n return he.type === pn && ((He = he.activity) === null || He === void 0 ? void 0 : He.type) === mn;\n }), Te = be.reduce(function(he, He) {\n return he[He.activity.id] = jc(He.activity, u.machine, F, i), he;\n }, n ? A({}, n.children) : {}), fe = new ke({\n value: v || n.value,\n context: F,\n _event: i,\n // Persist _sessionid between states\n _sessionid: n ? n._sessionid : null,\n historyValue: v ? b ? kc(b, v) : void 0 : n ? n.historyValue : void 0,\n history: !v || t.source ? n : void 0,\n actions: v ? ae : [],\n activities: v ? w : n ? n.activities : {},\n events: [],\n configuration: p,\n transitions: t.transitions,\n children: Te,\n done: h,\n tags: vo(p),\n machine: this\n }), ge = r !== F;\n fe.changed = i.name === $n || ge;\n var ve = fe.history;\n ve && delete ve.history;\n var at = !h && (this._transient || m.some(function(he) {\n return he._transient;\n }));\n if (!f && (!at || i.name === dt))\n return fe;\n var _e = fe;\n if (!h)\n for (at && (_e = this.resolveRaisedTransition(_e, {\n type: Ai\n }, i, o)); G.length; ) {\n var L = G.shift();\n _e = this.resolveRaisedTransition(_e, L._event, i, o);\n }\n var lo = _e.changed || (ve ? !!_e.actions.length || ge || typeof ve.value != typeof _e.value || !Qi(_e.value, ve.value) : void 0);\n return _e.changed = lo, _e.history = ve, _e;\n }, e.prototype.getStateNode = function(t) {\n if (ct(t))\n return this.machine.getStateNodeById(t);\n if (!this.states)\n throw new Error(\"Unable to retrieve child state '\".concat(t, \"' from '\").concat(this.id, \"'; no child states exist.\"));\n var n = this.states[t];\n if (!n)\n throw new Error(\"Child state '\".concat(t, \"' does not exist on '\").concat(this.id, \"'\"));\n return n;\n }, e.prototype.getStateNodeById = function(t) {\n var n = ct(t) ? t.slice(yr.length) : t;\n if (n === this.id)\n return this;\n var r = this.machine.idMap[n];\n if (!r)\n throw new Error(\"Child state node '#\".concat(n, \"' does not exist on machine '\").concat(this.id, \"'\"));\n return r;\n }, e.prototype.getStateNodeByPath = function(t) {\n if (typeof t == \"string\" && ct(t))\n try {\n return this.getStateNodeById(t.slice(1));\n } catch {\n }\n for (var n = pr(t, this.delimiter).slice(), r = this; n.length; ) {\n var o = n.shift();\n if (!o.length)\n break;\n r = r.getStateNode(o);\n }\n return r;\n }, e.prototype.resolve = function(t) {\n var n, r = this;\n if (!t)\n return this.initialStateValue || lt;\n switch (this.type) {\n case \"parallel\":\n return Ot(this.initialStateValue, function(i, a) {\n return i ? r.getStateNode(a).resolve(t[a] || i) : lt;\n });\n case \"compound\":\n if (Y(t)) {\n var o = this.getStateNode(t);\n return o.type === \"parallel\" || o.type === \"compound\" ? (n = {}, n[t] = o.initialStateValue, n) : t;\n }\n return Object.keys(t).length ? Ot(t, function(i, a) {\n return i ? r.getStateNode(a).resolve(i) : lt;\n }) : this.initialStateValue || {};\n default:\n return t || lt;\n }\n }, e.prototype.getResolvedPath = function(t) {\n if (ct(t)) {\n var n = this.machine.idMap[t.slice(yr.length)];\n if (!n)\n throw new Error(\"Unable to find state node '\".concat(t, \"'\"));\n return n.path;\n }\n return pr(t, this.delimiter);\n }, Object.defineProperty(e.prototype, \"initialStateValue\", {\n get: function() {\n var t;\n if (this.__cache.initialStateValue)\n return this.__cache.initialStateValue;\n var n;\n if (this.type === \"parallel\")\n n = go(this.states, function(r) {\n return r.initialStateValue || lt;\n }, function(r) {\n return r.type !== \"history\";\n });\n else if (this.initial !== void 0) {\n if (!this.states[this.initial])\n throw new Error(\"Initial state '\".concat(this.initial, \"' not found on '\").concat(this.key, \"'\"));\n n = _n(this.states[this.initial]) ? this.initial : (t = {}, t[this.initial] = this.states[this.initial].initialStateValue, t);\n } else\n n = {};\n return this.__cache.initialStateValue = n, this.__cache.initialStateValue;\n },\n enumerable: !1,\n configurable: !0\n }), e.prototype.getInitialState = function(t, n) {\n this._init();\n var r = this.getStateNodes(t);\n return this.resolveTransition({\n configuration: r,\n exitSet: [],\n transitions: [],\n source: void 0,\n actions: []\n }, void 0, n ?? this.machine.context, void 0);\n }, Object.defineProperty(e.prototype, \"initialState\", {\n /**\n * The initial State instance, which includes all actions to be executed from\n * entering the initial state.\n */\n get: function() {\n var t = this.initialStateValue;\n if (!t)\n throw new Error(\"Cannot retrieve initial state from simple state '\".concat(this.id, \"'.\"));\n return this.getInitialState(t);\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(e.prototype, \"target\", {\n /**\n * The target state value of the history state node, if it exists. This represents the\n * default state value to transition to if no history value exists yet.\n */\n get: function() {\n var t;\n if (this.type === \"history\") {\n var n = this.config;\n Y(n.target) ? t = ct(n.target) ? gn(this.machine.getStateNodeById(n.target).path.slice(this.path.length - 1)) : n.target : t = n.target;\n }\n return t;\n },\n enumerable: !1,\n configurable: !0\n }), e.prototype.getRelativeStateNodes = function(t, n, r) {\n return r === void 0 && (r = !0), r ? t.type === \"history\" ? t.resolveHistory(n) : t.initialStateNodes : [t];\n }, Object.defineProperty(e.prototype, \"initialStateNodes\", {\n get: function() {\n var t = this;\n if (_n(this))\n return [this];\n if (this.type === \"compound\" && !this.initial)\n return ne || ce(!1, \"Compound state node '\".concat(this.id, \"' has no initial state.\")), [this];\n var n = un(this.initialStateValue);\n return te(n.map(function(r) {\n return t.getFromRelativePath(r);\n }));\n },\n enumerable: !1,\n configurable: !0\n }), e.prototype.getFromRelativePath = function(t) {\n if (!t.length)\n return [this];\n var n = H(t), r = n[0], o = n.slice(1);\n if (!this.states)\n throw new Error(\"Cannot retrieve subPath '\".concat(r, \"' from node with no states\"));\n var i = this.getStateNode(r);\n if (i.type === \"history\")\n return i.resolveHistory();\n if (!this.states[r])\n throw new Error(\"Child state '\".concat(r, \"' does not exist on '\").concat(this.id, \"'\"));\n return this.states[r].getFromRelativePath(o);\n }, e.prototype.historyValue = function(t) {\n if (Object.keys(this.states).length)\n return {\n current: t || this.initialStateValue,\n states: go(this.states, function(n, r) {\n if (!t)\n return n.historyValue();\n var o = Y(t) ? void 0 : t[r];\n return n.historyValue(o || n.initialStateValue);\n }, function(n) {\n return !n.history;\n })\n };\n }, e.prototype.resolveHistory = function(t) {\n var n = this;\n if (this.type !== \"history\")\n return [this];\n var r = this.parent;\n if (!t) {\n var o = this.target;\n return o ? te(un(o).map(function(a) {\n return r.getFromRelativePath(a);\n })) : r.initialStateNodes;\n }\n var i = Ic(r.path, \"states\")(t).current;\n return Y(i) ? [r.getStateNode(i)] : te(un(i).map(function(a) {\n return n.history === \"deep\" ? r.getFromRelativePath(a) : [r.states[a[0]]];\n }));\n }, Object.defineProperty(e.prototype, \"stateIds\", {\n /**\n * All the state node IDs of this state node and its descendant state nodes.\n */\n get: function() {\n var t = this, n = te(Object.keys(this.states).map(function(r) {\n return t.states[r].stateIds;\n }));\n return [this.id].concat(n);\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(e.prototype, \"events\", {\n /**\n * All the event types accepted by this state node and its descendants.\n */\n get: function() {\n var t, n, r, o;\n if (this.__cache.events)\n return this.__cache.events;\n var i = this.states, a = new Set(this.ownEvents);\n if (i)\n try {\n for (var s = V(Object.keys(i)), l = s.next(); !l.done; l = s.next()) {\n var c = l.value, u = i[c];\n if (u.states)\n try {\n for (var m = (r = void 0, V(u.events)), f = m.next(); !f.done; f = m.next()) {\n var p = f.value;\n a.add(\"\".concat(p));\n }\n } catch (h) {\n r = {\n error: h\n };\n } finally {\n try {\n f && !f.done && (o = m.return) && o.call(m);\n } finally {\n if (r) throw r.error;\n }\n }\n }\n } catch (h) {\n t = {\n error: h\n };\n } finally {\n try {\n l && !l.done && (n = s.return) && n.call(s);\n } finally {\n if (t) throw t.error;\n }\n }\n return this.__cache.events = Array.from(a);\n },\n enumerable: !1,\n configurable: !0\n }), Object.defineProperty(e.prototype, \"ownEvents\", {\n /**\n * All the events that have transitions directly from this state node.\n *\n * Excludes any inert events.\n */\n get: function() {\n var t = new Set(this.transitions.filter(function(n) {\n return !(!n.target && !n.actions.length && n.internal);\n }).map(function(n) {\n return n.eventType;\n }));\n return Array.from(t);\n },\n enumerable: !1,\n configurable: !0\n }), e.prototype.resolveTarget = function(t) {\n var n = this;\n if (t !== void 0)\n return t.map(function(r) {\n if (!Y(r))\n return r;\n var o = r[0] === n.delimiter;\n if (o && !n.parent)\n return n.getStateNodeByPath(r.slice(1));\n var i = o ? n.key + r : r;\n if (n.parent)\n try {\n var a = n.parent.getStateNodeByPath(i);\n return a;\n } catch (s) {\n throw new Error(\"Invalid transition definition for state node '\".concat(n.id, `':\n`).concat(s.message));\n }\n else\n return n.getStateNodeByPath(i);\n });\n }, e.prototype.formatTransition = function(t) {\n var n = this, r = Oc(t.target), o = \"internal\" in t ? t.internal : r ? r.some(function(l) {\n return Y(l) && l[0] === n.delimiter;\n }) : !0, i = this.machine.options.guards, a = this.resolveTarget(r), s = A(A({}, t), {\n actions: Ge(Pe(t.actions)),\n cond: $i(t.cond, i),\n target: a,\n source: this,\n internal: o,\n eventType: t.event,\n toJSON: function() {\n return A(A({}, s), {\n target: s.target ? s.target.map(function(l) {\n return \"#\".concat(l.id);\n }) : void 0,\n source: \"#\".concat(n.id)\n });\n }\n });\n return s;\n }, e.prototype.formatTransitions = function() {\n var t, n, r = this, o;\n if (!this.config.on)\n o = [];\n else if (Array.isArray(this.config.on))\n o = this.config.on;\n else {\n var i = this.config.on, a = Nt, s = i[a], l = s === void 0 ? [] : s, c = Ur(i, [typeof a == \"symbol\" ? a : a + \"\"]);\n o = te(Object.keys(c).map(function(w) {\n !ne && w === dt && ce(!1, \"Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. \" + 'Please check the `on` configuration for \"#'.concat(r.id, '\".'));\n var y = st(w, c[w]);\n return ne || cu(r, w, y), y;\n }).concat(st(Nt, l)));\n }\n var u = this.config.always ? st(\"\", this.config.always) : [], m = this.config.onDone ? st(String(Ft(this.id)), this.config.onDone) : [];\n ne || ce(!(this.config.onDone && !this.parent), 'Root nodes cannot have an \".onDone\" transition. Please check the config of \"'.concat(this.id, '\".'));\n var f = te(this.invoke.map(function(w) {\n var y = [];\n return w.onDone && y.push.apply(y, Q([], H(st(String(Dt(w.id)), w.onDone)), !1)), w.onError && y.push.apply(y, Q([], H(st(String(ft(w.id)), w.onError)), !1)), y;\n })), p = this.after, h = te(Q(Q(Q(Q([], H(m), !1), H(f), !1), H(o), !1), H(u), !1).map(function(w) {\n return Pe(w).map(function(y) {\n return r.formatTransition(y);\n });\n }));\n try {\n for (var v = V(p), b = v.next(); !b.done; b = v.next()) {\n var g = b.value;\n h.push(g);\n }\n } catch (w) {\n t = {\n error: w\n };\n } finally {\n try {\n b && !b.done && (n = v.return) && n.call(v);\n } finally {\n if (t) throw t.error;\n }\n }\n return h;\n }, e;\n }()\n), wo = !1;\nfunction St(e, t) {\n return !ne && !(\"predictableActionArguments\" in e) && !wo && (wo = !0, console.warn(\"It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html\")), new uu(e, t);\n}\nvar Be = Vi, Rn = Di, du = Hi, tn = typeof globalThis < \"u\" ? globalThis : typeof window < \"u\" ? window : typeof global < \"u\" ? global : typeof self < \"u\" ? self : {};\nfunction ea(e) {\n return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, \"default\") ? e.default : e;\n}\nfunction fu(e, t) {\n for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )\n o[n] = t(e[n], n, e);\n return o;\n}\nvar ta = fu;\nfunction pu() {\n this.__data__ = [], this.size = 0;\n}\nvar mu = pu;\nfunction gu(e, t) {\n return e === t || e !== e && t !== t;\n}\nvar Ht = gu, hu = Ht;\nfunction yu(e, t) {\n for (var n = e.length; n--; )\n if (hu(e[n][0], t))\n return n;\n return -1;\n}\nvar xn = yu, vu = xn, _u = Array.prototype, wu = _u.splice;\nfunction Su(e) {\n var t = this.__data__, n = vu(t, e);\n if (n < 0)\n return !1;\n var r = t.length - 1;\n return n == r ? t.pop() : wu.call(t, n, 1), --this.size, !0;\n}\nvar bu = Su, Cu = xn;\nfunction Au(e) {\n var t = this.__data__, n = Cu(t, e);\n return n < 0 ? void 0 : t[n][1];\n}\nvar Iu = Au, Eu = xn;\nfunction Tu(e) {\n return Eu(this.__data__, e) > -1;\n}\nvar Pu = Tu, ku = xn;\nfunction Nu(e, t) {\n var n = this.__data__, r = ku(n, e);\n return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;\n}\nvar Uu = Nu, $u = mu, Ou = bu, Fu = Iu, Ru = Pu, xu = Uu;\nfunction bt(e) {\n var t = -1, n = e == null ? 0 : e.length;\n for (this.clear(); ++t < n; ) {\n var r = e[t];\n this.set(r[0], r[1]);\n }\n}\nbt.prototype.clear = $u;\nbt.prototype.delete = Ou;\nbt.prototype.get = Fu;\nbt.prototype.has = Ru;\nbt.prototype.set = xu;\nvar Mn = bt, Mu = Mn;\nfunction Du() {\n this.__data__ = new Mu(), this.size = 0;\n}\nvar Bu = Du;\nfunction Lu(e) {\n var t = this.__data__, n = t.delete(e);\n return this.size = t.size, n;\n}\nvar Gu = Lu;\nfunction zu(e) {\n return this.__data__.get(e);\n}\nvar Wu = zu;\nfunction Vu(e) {\n return this.__data__.has(e);\n}\nvar ju = Vu, Hu = typeof tn == \"object\" && tn && tn.Object === Object && tn, na = Hu, Yu = na, Ku = typeof self == \"object\" && self && self.Object === Object && self, qu = Yu || Ku || Function(\"return this\")(), Oe = qu, Ju = Oe, Zu = Ju.Symbol, Dn = Zu, So = Dn, ra = Object.prototype, Qu = ra.hasOwnProperty, Xu = ra.toString, Ut = So ? So.toStringTag : void 0;\nfunction ed(e) {\n var t = Qu.call(e, Ut), n = e[Ut];\n try {\n e[Ut] = void 0;\n var r = !0;\n } catch {\n }\n var o = Xu.call(e);\n return r && (t ? e[Ut] = n : delete e[Ut]), o;\n}\nvar td = ed, nd = Object.prototype, rd = nd.toString;\nfunction od(e) {\n return rd.call(e);\n}\nvar id = od, bo = Dn, ad = td, sd = id, ld = \"[object Null]\", cd = \"[object Undefined]\", Co = bo ? bo.toStringTag : void 0;\nfunction ud(e) {\n return e == null ? e === void 0 ? cd : ld : Co && Co in Object(e) ? ad(e) : sd(e);\n}\nvar Ct = ud;\nfunction dd(e) {\n var t = typeof e;\n return e != null && (t == \"object\" || t == \"function\");\n}\nvar Ve = dd, fd = Ct, pd = Ve, md = \"[object AsyncFunction]\", gd = \"[object Function]\", hd = \"[object GeneratorFunction]\", yd = \"[object Proxy]\";\nfunction vd(e) {\n if (!pd(e))\n return !1;\n var t = fd(e);\n return t == gd || t == hd || t == md || t == yd;\n}\nvar Dr = vd, _d = Oe, wd = _d[\"__core-js_shared__\"], Sd = wd, nr = Sd, Ao = function() {\n var e = /[^.]+$/.exec(nr && nr.keys && nr.keys.IE_PROTO || \"\");\n return e ? \"Symbol(src)_1.\" + e : \"\";\n}();\nfunction bd(e) {\n return !!Ao && Ao in e;\n}\nvar Cd = bd, Ad = Function.prototype, Id = Ad.toString;\nfunction Ed(e) {\n if (e != null) {\n try {\n return Id.call(e);\n } catch {\n }\n try {\n return e + \"\";\n } catch {\n }\n }\n return \"\";\n}\nvar oa = Ed, Td = Dr, Pd = Cd, kd = Ve, Nd = oa, Ud = /[\\\\^$.*+?()[\\]{}|]/g, $d = /^\\[object .+?Constructor\\]$/, Od = Function.prototype, Fd = Object.prototype, Rd = Od.toString, xd = Fd.hasOwnProperty, Md = RegExp(\n \"^\" + Rd.call(xd).replace(Ud, \"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, \"$1.*?\") + \"$\"\n);\nfunction Dd(e) {\n if (!kd(e) || Pd(e))\n return !1;\n var t = Td(e) ? Md : $d;\n return t.test(Nd(e));\n}\nvar Bd = Dd;\nfunction Ld(e, t) {\n return e == null ? void 0 : e[t];\n}\nvar Gd = Ld, zd = Bd, Wd = Gd;\nfunction Vd(e, t) {\n var n = Wd(e, t);\n return zd(n) ? n : void 0;\n}\nvar ot = Vd, jd = ot, Hd = Oe, Yd = jd(Hd, \"Map\"), Br = Yd, Kd = ot, qd = Kd(Object, \"create\"), Bn = qd, Io = Bn;\nfunction Jd() {\n this.__data__ = Io ? Io(null) : {}, this.size = 0;\n}\nvar Zd = Jd;\nfunction Qd(e) {\n var t = this.has(e) && delete this.__data__[e];\n return this.size -= t ? 1 : 0, t;\n}\nvar Xd = Qd, ef = Bn, tf = \"__lodash_hash_undefined__\", nf = Object.prototype, rf = nf.hasOwnProperty;\nfunction of(e) {\n var t = this.__data__;\n if (ef) {\n var n = t[e];\n return n === tf ? void 0 : n;\n }\n return rf.call(t, e) ? t[e] : void 0;\n}\nvar af = of, sf = Bn, lf = Object.prototype, cf = lf.hasOwnProperty;\nfunction uf(e) {\n var t = this.__data__;\n return sf ? t[e] !== void 0 : cf.call(t, e);\n}\nvar df = uf, ff = Bn, pf = \"__lodash_hash_undefined__\";\nfunction mf(e, t) {\n var n = this.__data__;\n return this.size += this.has(e) ? 0 : 1, n[e] = ff && t === void 0 ? pf : t, this;\n}\nvar gf = mf, hf = Zd, yf = Xd, vf = af, _f = df, wf = gf;\nfunction At(e) {\n var t = -1, n = e == null ? 0 : e.length;\n for (this.clear(); ++t < n; ) {\n var r = e[t];\n this.set(r[0], r[1]);\n }\n}\nAt.prototype.clear = hf;\nAt.prototype.delete = yf;\nAt.prototype.get = vf;\nAt.prototype.has = _f;\nAt.prototype.set = wf;\nvar Sf = At, Eo = Sf, bf = Mn, Cf = Br;\nfunction Af() {\n this.size = 0, this.__data__ = {\n hash: new Eo(),\n map: new (Cf || bf)(),\n string: new Eo()\n };\n}\nvar If = Af;\nfunction Ef(e) {\n var t = typeof e;\n return t == \"string\" || t == \"number\" || t == \"symbol\" || t == \"boolean\" ? e !== \"__proto__\" : e === null;\n}\nvar Tf = Ef, Pf = Tf;\nfunction kf(e, t) {\n var n = e.__data__;\n return Pf(t) ? n[typeof t == \"string\" ? \"string\" : \"hash\"] : n.map;\n}\nvar Ln = kf, Nf = Ln;\nfunction Uf(e) {\n var t = Nf(this, e).delete(e);\n return this.size -= t ? 1 : 0, t;\n}\nvar $f = Uf, Of = Ln;\nfunction Ff(e) {\n return Of(this, e).get(e);\n}\nvar Rf = Ff, xf = Ln;\nfunction Mf(e) {\n return xf(this, e).has(e);\n}\nvar Df = Mf, Bf = Ln;\nfunction Lf(e, t) {\n var n = Bf(this, e), r = n.size;\n return n.set(e, t), this.size += n.size == r ? 0 : 1, this;\n}\nvar Gf = Lf, zf = If, Wf = $f, Vf = Rf, jf = Df, Hf = Gf;\nfunction It(e) {\n var t = -1, n = e == null ? 0 : e.length;\n for (this.clear(); ++t < n; ) {\n var r = e[t];\n this.set(r[0], r[1]);\n }\n}\nIt.prototype.clear = zf;\nIt.prototype.delete = Wf;\nIt.prototype.get = Vf;\nIt.prototype.has = jf;\nIt.prototype.set = Hf;\nvar Lr = It, Yf = Mn, Kf = Br, qf = Lr, Jf = 200;\nfunction Zf(e, t) {\n var n = this.__data__;\n if (n instanceof Yf) {\n var r = n.__data__;\n if (!Kf || r.length < Jf - 1)\n return r.push([e, t]), this.size = ++n.size, this;\n n = this.__data__ = new qf(r);\n }\n return n.set(e, t), this.size = n.size, this;\n}\nvar Qf = Zf, Xf = Mn, ep = Bu, tp = Gu, np = Wu, rp = ju, op = Qf;\nfunction Et(e) {\n var t = this.__data__ = new Xf(e);\n this.size = t.size;\n}\nEt.prototype.clear = ep;\nEt.prototype.delete = tp;\nEt.prototype.get = np;\nEt.prototype.has = rp;\nEt.prototype.set = op;\nvar Gr = Et, ip = \"__lodash_hash_undefined__\";\nfunction ap(e) {\n return this.__data__.set(e, ip), this;\n}\nvar sp = ap;\nfunction lp(e) {\n return this.__data__.has(e);\n}\nvar cp = lp, up = Lr, dp = sp, fp = cp;\nfunction wn(e) {\n var t = -1, n = e == null ? 0 : e.length;\n for (this.__data__ = new up(); ++t < n; )\n this.add(e[t]);\n}\nwn.prototype.add = wn.prototype.push = dp;\nwn.prototype.has = fp;\nvar pp = wn;\nfunction mp(e, t) {\n for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )\n if (t(e[n], n, e))\n return !0;\n return !1;\n}\nvar gp = mp;\nfunction hp(e, t) {\n return e.has(t);\n}\nvar yp = hp, vp = pp, _p = gp, wp = yp, Sp = 1, bp = 2;\nfunction Cp(e, t, n, r, o, i) {\n var a = n & Sp, s = e.length, l = t.length;\n if (s != l && !(a && l > s))\n return !1;\n var c = i.get(e), u = i.get(t);\n if (c && u)\n return c == t && u == e;\n var m = -1, f = !0, p = n & bp ? new vp() : void 0;\n for (i.set(e, t), i.set(t, e); ++m < s; ) {\n var h = e[m], v = t[m];\n if (r)\n var b = a ? r(v, h, m, t, e, i) : r(h, v, m, e, t, i);\n if (b !== void 0) {\n if (b)\n continue;\n f = !1;\n break;\n }\n if (p) {\n if (!_p(t, function(g, w) {\n if (!wp(p, w) && (h === g || o(h, g, n, r, i)))\n return p.push(w);\n })) {\n f = !1;\n break;\n }\n } else if (!(h === v || o(h, v, n, r, i))) {\n f = !1;\n break;\n }\n }\n return i.delete(e), i.delete(t), f;\n}\nvar ia = Cp, Ap = Oe, Ip = Ap.Uint8Array, aa = Ip;\nfunction Ep(e) {\n var t = -1, n = Array(e.size);\n return e.forEach(function(r, o) {\n n[++t] = [o, r];\n }), n;\n}\nvar Tp = Ep;\nfunction Pp(e) {\n var t = -1, n = Array(e.size);\n return e.forEach(function(r) {\n n[++t] = r;\n }), n;\n}\nvar kp = Pp, To = Dn, Po = aa, Np = Ht, Up = ia, $p = Tp, Op = kp, Fp = 1, Rp = 2, xp = \"[object Boolean]\", Mp = \"[object Date]\", Dp = \"[object Error]\", Bp = \"[object Map]\", Lp = \"[object Number]\", Gp = \"[object RegExp]\", zp = \"[object Set]\", Wp = \"[object String]\", Vp = \"[object Symbol]\", jp = \"[object ArrayBuffer]\", Hp = \"[object DataView]\", ko = To ? To.prototype : void 0, rr = ko ? ko.valueOf : void 0;\nfunction Yp(e, t, n, r, o, i, a) {\n switch (n) {\n case Hp:\n if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)\n return !1;\n e = e.buffer, t = t.buffer;\n case jp:\n return !(e.byteLength != t.byteLength || !i(new Po(e), new Po(t)));\n case xp:\n case Mp:\n case Lp:\n return Np(+e, +t);\n case Dp:\n return e.name == t.name && e.message == t.message;\n case Gp:\n case Wp:\n return e == t + \"\";\n case Bp:\n var s = $p;\n case zp:\n var l = r & Fp;\n if (s || (s = Op), e.size != t.size && !l)\n return !1;\n var c = a.get(e);\n if (c)\n return c == t;\n r |= Rp, a.set(e, t);\n var u = Up(s(e), s(t), r, o, i, a);\n return a.delete(e), u;\n case Vp:\n if (rr)\n return rr.call(e) == rr.call(t);\n }\n return !1;\n}\nvar Kp = Yp;\nfunction qp(e, t) {\n for (var n = -1, r = t.length, o = e.length; ++n < r; )\n e[o + n] = t[n];\n return e;\n}\nvar sa = qp, Jp = Array.isArray, je = Jp, Zp = sa, Qp = je;\nfunction Xp(e, t, n) {\n var r = t(e);\n return Qp(e) ? r : Zp(r, n(e));\n}\nvar la = Xp;\nfunction em(e, t) {\n for (var n = -1, r = e == null ? 0 : e.length, o = 0, i = []; ++n < r; ) {\n var a = e[n];\n t(a, n, e) && (i[o++] = a);\n }\n return i;\n}\nvar tm = em;\nfunction nm() {\n return [];\n}\nvar ca = nm, rm = tm, om = ca, im = Object.prototype, am = im.propertyIsEnumerable, No = Object.getOwnPropertySymbols, sm = No ? function(e) {\n return e == null ? [] : (e = Object(e), rm(No(e), function(t) {\n return am.call(e, t);\n }));\n} : om, ua = sm;\nfunction lm(e, t) {\n for (var n = -1, r = Array(e); ++n < e; )\n r[n] = t(n);\n return r;\n}\nvar cm = lm;\nfunction um(e) {\n return e != null && typeof e == \"object\";\n}\nvar it = um, dm = Ct, fm = it, pm = \"[object Arguments]\";\nfunction mm(e) {\n return fm(e) && dm(e) == pm;\n}\nvar gm = mm, Uo = gm, hm = it, da = Object.prototype, ym = da.hasOwnProperty, vm = da.propertyIsEnumerable, _m = Uo(/* @__PURE__ */ function() {\n return arguments;\n}()) ? Uo : function(e) {\n return hm(e) && ym.call(e, \"callee\") && !vm.call(e, \"callee\");\n}, zr = _m, Sn = { exports: {} };\nfunction wm() {\n return !1;\n}\nvar Sm = wm;\nSn.exports;\n(function(e, t) {\n var n = Oe, r = Sm, o = t && !t.nodeType && t, i = o && !0 && e && !e.nodeType && e, a = i && i.exports === o, s = a ? n.Buffer : void 0, l = s ? s.isBuffer : void 0, c = l || r;\n e.exports = c;\n})(Sn, Sn.exports);\nvar Wr = Sn.exports, bm = 9007199254740991, Cm = /^(?:0|[1-9]\\d*)$/;\nfunction Am(e, t) {\n var n = typeof e;\n return t = t ?? bm, !!t && (n == \"number\" || n != \"symbol\" && Cm.test(e)) && e > -1 && e % 1 == 0 && e < t;\n}\nvar Gn = Am, Im = 9007199254740991;\nfunction Em(e) {\n return typeof e == \"number\" && e > -1 && e % 1 == 0 && e <= Im;\n}\nvar Vr = Em, Tm = Ct, Pm = Vr, km = it, Nm = \"[object Arguments]\", Um = \"[object Array]\", $m = \"[object Boolean]\", Om = \"[object Date]\", Fm = \"[object Error]\", Rm = \"[object Function]\", xm = \"[object Map]\", Mm = \"[object Number]\", Dm = \"[object Object]\", Bm = \"[object RegExp]\", Lm = \"[object Set]\", Gm = \"[object String]\", zm = \"[object WeakMap]\", Wm = \"[object ArrayBuffer]\", Vm = \"[object DataView]\", jm = \"[object Float32Array]\", Hm = \"[object Float64Array]\", Ym = \"[object Int8Array]\", Km = \"[object Int16Array]\", qm = \"[object Int32Array]\", Jm = \"[object Uint8Array]\", Zm = \"[object Uint8ClampedArray]\", Qm = \"[object Uint16Array]\", Xm = \"[object Uint32Array]\", ee = {};\nee[jm] = ee[Hm] = ee[Ym] = ee[Km] = ee[qm] = ee[Jm] = ee[Zm] = ee[Qm] = ee[Xm] = !0;\nee[Nm] = ee[Um] = ee[Wm] = ee[$m] = ee[Vm] = ee[Om] = ee[Fm] = ee[Rm] = ee[xm] = ee[Mm] = ee[Dm] = ee[Bm] = ee[Lm] = ee[Gm] = ee[zm] = !1;\nfunction eg(e) {\n return km(e) && Pm(e.length) && !!ee[Tm(e)];\n}\nvar tg = eg;\nfunction ng(e) {\n return function(t) {\n return e(t);\n };\n}\nvar rg = ng, bn = { exports: {} };\nbn.exports;\n(function(e, t) {\n var n = na, r = t && !t.nodeType && t, o = r && !0 && e && !e.nodeType && e, i = o && o.exports === r, a = i && n.process, s = function() {\n try {\n var l = o && o.require && o.require(\"util\").types;\n return l || a && a.binding && a.binding(\"util\");\n } catch {\n }\n }();\n e.exports = s;\n})(bn, bn.exports);\nvar og = bn.exports, ig = tg, ag = rg, $o = og, Oo = $o && $o.isTypedArray, sg = Oo ? ag(Oo) : ig, jr = sg, lg = cm, cg = zr, ug = je, dg = Wr, fg = Gn, pg = jr, mg = Object.prototype, gg = mg.hasOwnProperty;\nfunction hg(e, t) {\n var n = ug(e), r = !n && cg(e), o = !n && !r && dg(e), i = !n && !r && !o && pg(e), a = n || r || o || i, s = a ? lg(e.length, String) : [], l = s.length;\n for (var c in e)\n (t || gg.call(e, c)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.\n (c == \"length\" || // Node.js 0.10 has enumerable non-index properties on buffers.\n o && (c == \"offset\" || c == \"parent\") || // PhantomJS 2 has enumerable non-index properties on typed arrays.\n i && (c == \"buffer\" || c == \"byteLength\" || c == \"byteOffset\") || // Skip index properties.\n fg(c, l))) && s.push(c);\n return s;\n}\nvar fa = hg, yg = Object.prototype;\nfunction vg(e) {\n var t = e && e.constructor, n = typeof t == \"function\" && t.prototype || yg;\n return e === n;\n}\nvar Hr = vg;\nfunction _g(e, t) {\n return function(n) {\n return e(t(n));\n };\n}\nvar pa = _g, wg = pa, Sg = wg(Object.keys, Object), bg = Sg, Cg = Hr, Ag = bg, Ig = Object.prototype, Eg = Ig.hasOwnProperty;\nfunction Tg(e) {\n if (!Cg(e))\n return Ag(e);\n var t = [];\n for (var n in Object(e))\n Eg.call(e, n) && n != \"constructor\" && t.push(n);\n return t;\n}\nvar Pg = Tg, kg = Dr, Ng = Vr;\nfunction Ug(e) {\n return e != null && Ng(e.length) && !kg(e);\n}\nvar zn = Ug, $g = fa, Og = Pg, Fg = zn;\nfunction Rg(e) {\n return Fg(e) ? $g(e) : Og(e);\n}\nvar ma = Rg, xg = la, Mg = ua, Dg = ma;\nfunction Bg(e) {\n return xg(e, Dg, Mg);\n}\nvar Lg = Bg, Fo = Lg, Gg = 1, zg = Object.prototype, Wg = zg.hasOwnProperty;\nfunction Vg(e, t, n, r, o, i) {\n var a = n & Gg, s = Fo(e), l = s.length, c = Fo(t), u = c.length;\n if (l != u && !a)\n return !1;\n for (var m = l; m--; ) {\n var f = s[m];\n if (!(a ? f in t : Wg.call(t, f)))\n return !1;\n }\n var p = i.get(e), h = i.get(t);\n if (p && h)\n return p == t && h == e;\n var v = !0;\n i.set(e, t), i.set(t, e);\n for (var b = a; ++m < l; ) {\n f = s[m];\n var g = e[f], w = t[f];\n if (r)\n var y = a ? r(w, g, f, t, e, i) : r(g, w, f, e, t, i);\n if (!(y === void 0 ? g === w || o(g, w, n, r, i) : y)) {\n v = !1;\n break;\n }\n b || (b = f == \"constructor\");\n }\n if (v && !b) {\n var S = e.constructor, I = t.constructor;\n S != I && \"constructor\" in e && \"constructor\" in t && !(typeof S == \"function\" && S instanceof S && typeof I == \"function\" && I instanceof I) && (v = !1);\n }\n return i.delete(e), i.delete(t), v;\n}\nvar jg = Vg, Hg = ot, Yg = Oe, Kg = Hg(Yg, \"DataView\"), qg = Kg, Jg = ot, Zg = Oe, Qg = Jg(Zg, \"Promise\"), Xg = Qg, eh = ot, th = Oe, nh = eh(th, \"Set\"), rh = nh, oh = ot, ih = Oe, ah = oh(ih, \"WeakMap\"), sh = ah, vr = qg, _r = Br, wr = Xg, Sr = rh, br = sh, ga = Ct, Tt = oa, Ro = \"[object Map]\", lh = \"[object Object]\", xo = \"[object Promise]\", Mo = \"[object Set]\", Do = \"[object WeakMap]\", Bo = \"[object DataView]\", ch = Tt(vr), uh = Tt(_r), dh = Tt(wr), fh = Tt(Sr), ph = Tt(br), nt = ga;\n(vr && nt(new vr(new ArrayBuffer(1))) != Bo || _r && nt(new _r()) != Ro || wr && nt(wr.resolve()) != xo || Sr && nt(new Sr()) != Mo || br && nt(new br()) != Do) && (nt = function(e) {\n var t = ga(e), n = t == lh ? e.constructor : void 0, r = n ? Tt(n) : \"\";\n if (r)\n switch (r) {\n case ch:\n return Bo;\n case uh:\n return Ro;\n case dh:\n return xo;\n case fh:\n return Mo;\n case ph:\n return Do;\n }\n return t;\n});\nvar mh = nt, or = Gr, gh = ia, hh = Kp, yh = jg, Lo = mh, Go = je, zo = Wr, vh = jr, _h = 1, Wo = \"[object Arguments]\", Vo = \"[object Array]\", nn = \"[object Object]\", wh = Object.prototype, jo = wh.hasOwnProperty;\nfunction Sh(e, t, n, r, o, i) {\n var a = Go(e), s = Go(t), l = a ? Vo : Lo(e), c = s ? Vo : Lo(t);\n l = l == Wo ? nn : l, c = c == Wo ? nn : c;\n var u = l == nn, m = c == nn, f = l == c;\n if (f && zo(e)) {\n if (!zo(t))\n return !1;\n a = !0, u = !1;\n }\n if (f && !u)\n return i || (i = new or()), a || vh(e) ? gh(e, t, n, r, o, i) : hh(e, t, l, n, r, o, i);\n if (!(n & _h)) {\n var p = u && jo.call(e, \"__wrapped__\"), h = m && jo.call(t, \"__wrapped__\");\n if (p || h) {\n var v = p ? e.value() : e, b = h ? t.value() : t;\n return i || (i = new or()), o(v, b, n, r, i);\n }\n }\n return f ? (i || (i = new or()), yh(e, t, n, r, o, i)) : !1;\n}\nvar bh = Sh, Ch = bh, Ho = it;\nfunction ha(e, t, n, r, o) {\n return e === t ? !0 : e == null || t == null || !Ho(e) && !Ho(t) ? e !== e && t !== t : Ch(e, t, n, r, ha, o);\n}\nvar ya = ha, Ah = Gr, Ih = ya, Eh = 1, Th = 2;\nfunction Ph(e, t, n, r) {\n var o = n.length, i = o, a = !r;\n if (e == null)\n return !i;\n for (e = Object(e); o--; ) {\n var s = n[o];\n if (a && s[2] ? s[1] !== e[s[0]] : !(s[0] in e))\n return !1;\n }\n for (; ++o < i; ) {\n s = n[o];\n var l = s[0], c = e[l], u = s[1];\n if (a && s[2]) {\n if (c === void 0 && !(l in e))\n return !1;\n } else {\n var m = new Ah();\n if (r)\n var f = r(c, u, l, e, t, m);\n if (!(f === void 0 ? Ih(u, c, Eh | Th, r, m) : f))\n return !1;\n }\n }\n return !0;\n}\nvar kh = Ph, Nh = Ve;\nfunction Uh(e) {\n return e === e && !Nh(e);\n}\nvar va = Uh, $h = va, Oh = ma;\nfunction Fh(e) {\n for (var t = Oh(e), n = t.length; n--; ) {\n var r = t[n], o = e[r];\n t[n] = [r, o, $h(o)];\n }\n return t;\n}\nvar Rh = Fh;\nfunction xh(e, t) {\n return function(n) {\n return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));\n };\n}\nvar _a = xh, Mh = kh, Dh = Rh, Bh = _a;\nfunction Lh(e) {\n var t = Dh(e);\n return t.length == 1 && t[0][2] ? Bh(t[0][0], t[0][1]) : function(n) {\n return n === e || Mh(n, e, t);\n };\n}\nvar Gh = Lh, zh = Ct, Wh = it, Vh = \"[object Symbol]\";\nfunction jh(e) {\n return typeof e == \"symbol\" || Wh(e) && zh(e) == Vh;\n}\nvar Yr = jh, Hh = je, Yh = Yr, Kh = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/, qh = /^\\w*$/;\nfunction Jh(e, t) {\n if (Hh(e))\n return !1;\n var n = typeof e;\n return n == \"number\" || n == \"symbol\" || n == \"boolean\" || e == null || Yh(e) ? !0 : qh.test(e) || !Kh.test(e) || t != null && e in Object(t);\n}\nvar Kr = Jh, wa = Lr, Zh = \"Expected a function\";\nfunction qr(e, t) {\n if (typeof e != \"function\" || t != null && typeof t != \"function\")\n throw new TypeError(Zh);\n var n = function() {\n var r = arguments, o = t ? t.apply(this, r) : r[0], i = n.cache;\n if (i.has(o))\n return i.get(o);\n var a = e.apply(this, r);\n return n.cache = i.set(o, a) || i, a;\n };\n return n.cache = new (qr.Cache || wa)(), n;\n}\nqr.Cache = wa;\nvar Qh = qr, Xh = Qh, ey = 500;\nfunction ty(e) {\n var t = Xh(e, function(r) {\n return n.size === ey && n.clear(), r;\n }), n = t.cache;\n return t;\n}\nvar ny = ty, ry = ny, oy = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g, iy = /\\\\(\\\\)?/g, ay = ry(function(e) {\n var t = [];\n return e.charCodeAt(0) === 46 && t.push(\"\"), e.replace(oy, function(n, r, o, i) {\n t.push(o ? i.replace(iy, \"$1\") : r || n);\n }), t;\n}), sy = ay, Yo = Dn, ly = ta, cy = je, uy = Yr, dy = 1 / 0, Ko = Yo ? Yo.prototype : void 0, qo = Ko ? Ko.toString : void 0;\nfunction Sa(e) {\n if (typeof e == \"string\")\n return e;\n if (cy(e))\n return ly(e, Sa) + \"\";\n if (uy(e))\n return qo ? qo.call(e) : \"\";\n var t = e + \"\";\n return t == \"0\" && 1 / e == -dy ? \"-0\" : t;\n}\nvar fy = Sa, py = fy;\nfunction my(e) {\n return e == null ? \"\" : py(e);\n}\nvar gy = my, hy = je, yy = Kr, vy = sy, _y = gy;\nfunction wy(e, t) {\n return hy(e) ? e : yy(e, t) ? [e] : vy(_y(e));\n}\nvar Wn = wy, Sy = Yr, by = 1 / 0;\nfunction Cy(e) {\n if (typeof e == \"string\" || Sy(e))\n return e;\n var t = e + \"\";\n return t == \"0\" && 1 / e == -by ? \"-0\" : t;\n}\nvar Yt = Cy, Ay = Wn, Iy = Yt;\nfunction Ey(e, t) {\n t = Ay(t, e);\n for (var n = 0, r = t.length; e != null && n < r; )\n e = e[Iy(t[n++])];\n return n && n == r ? e : void 0;\n}\nvar Jr = Ey, Ty = Jr;\nfunction Py(e, t, n) {\n var r = e == null ? void 0 : Ty(e, t);\n return r === void 0 ? n : r;\n}\nvar ky = Py;\nfunction Ny(e, t) {\n return e != null && t in Object(e);\n}\nvar Uy = Ny, $y = Wn, Oy = zr, Fy = je, Ry = Gn, xy = Vr, My = Yt;\nfunction Dy(e, t, n) {\n t = $y(t, e);\n for (var r = -1, o = t.length, i = !1; ++r < o; ) {\n var a = My(t[r]);\n if (!(i = e != null && n(e, a)))\n break;\n e = e[a];\n }\n return i || ++r != o ? i : (o = e == null ? 0 : e.length, !!o && xy(o) && Ry(a, o) && (Fy(e) || Oy(e)));\n}\nvar By = Dy, Ly = Uy, Gy = By;\nfunction zy(e, t) {\n return e != null && Gy(e, t, Ly);\n}\nvar Wy = zy, Vy = ya, jy = ky, Hy = Wy, Yy = Kr, Ky = va, qy = _a, Jy = Yt, Zy = 1, Qy = 2;\nfunction Xy(e, t) {\n return Yy(e) && Ky(t) ? qy(Jy(e), t) : function(n) {\n var r = jy(n, e);\n return r === void 0 && r === t ? Hy(n, e) : Vy(t, r, Zy | Qy);\n };\n}\nvar ev = Xy;\nfunction tv(e) {\n return e;\n}\nvar Zr = tv;\nfunction nv(e) {\n return function(t) {\n return t == null ? void 0 : t[e];\n };\n}\nvar rv = nv, ov = Jr;\nfunction iv(e) {\n return function(t) {\n return ov(t, e);\n };\n}\nvar av = iv, sv = rv, lv = av, cv = Kr, uv = Yt;\nfunction dv(e) {\n return cv(e) ? sv(uv(e)) : lv(e);\n}\nvar fv = dv, pv = Gh, mv = ev, gv = Zr, hv = je, yv = fv;\nfunction vv(e) {\n return typeof e == \"function\" ? e : e == null ? gv : typeof e == \"object\" ? hv(e) ? mv(e[0], e[1]) : pv(e) : yv(e);\n}\nvar _v = vv, wv = ot, Sv = function() {\n try {\n var e = wv(Object, \"defineProperty\");\n return e({}, \"\", {}), e;\n } catch {\n }\n}(), ba = Sv, Jo = ba;\nfunction bv(e, t, n) {\n t == \"__proto__\" && Jo ? Jo(e, t, {\n configurable: !0,\n enumerable: !0,\n value: n,\n writable: !0\n }) : e[t] = n;\n}\nvar Qr = bv, Cv = Qr, Av = Ht, Iv = Object.prototype, Ev = Iv.hasOwnProperty;\nfunction Tv(e, t, n) {\n var r = e[t];\n (!(Ev.call(e, t) && Av(r, n)) || n === void 0 && !(t in e)) && Cv(e, t, n);\n}\nvar Ca = Tv, Pv = Ca, kv = Wn, Nv = Gn, Zo = Ve, Uv = Yt;\nfunction $v(e, t, n, r) {\n if (!Zo(e))\n return e;\n t = kv(t, e);\n for (var o = -1, i = t.length, a = i - 1, s = e; s != null && ++o < i; ) {\n var l = Uv(t[o]), c = n;\n if (l === \"__proto__\" || l === \"constructor\" || l === \"prototype\")\n return e;\n if (o != a) {\n var u = s[l];\n c = r ? r(u, l, s) : void 0, c === void 0 && (c = Zo(u) ? u : Nv(t[o + 1]) ? [] : {});\n }\n Pv(s, l, c), s = s[l];\n }\n return e;\n}\nvar Ov = $v, Fv = Jr, Rv = Ov, xv = Wn;\nfunction Mv(e, t, n) {\n for (var r = -1, o = t.length, i = {}; ++r < o; ) {\n var a = t[r], s = Fv(e, a);\n n(s, a) && Rv(i, xv(a, e), s);\n }\n return i;\n}\nvar Dv = Mv, Bv = pa, Lv = Bv(Object.getPrototypeOf, Object), Xr = Lv, Gv = sa, zv = Xr, Wv = ua, Vv = ca, jv = Object.getOwnPropertySymbols, Hv = jv ? function(e) {\n for (var t = []; e; )\n Gv(t, Wv(e)), e = zv(e);\n return t;\n} : Vv, Yv = Hv;\nfunction Kv(e) {\n var t = [];\n if (e != null)\n for (var n in Object(e))\n t.push(n);\n return t;\n}\nvar qv = Kv, Jv = Ve, Zv = Hr, Qv = qv, Xv = Object.prototype, e_ = Xv.hasOwnProperty;\nfunction t_(e) {\n if (!Jv(e))\n return Qv(e);\n var t = Zv(e), n = [];\n for (var r in e)\n r == \"constructor\" && (t || !e_.call(e, r)) || n.push(r);\n return n;\n}\nvar n_ = t_, r_ = fa, o_ = n_, i_ = zn;\nfunction a_(e) {\n return i_(e) ? r_(e, !0) : o_(e);\n}\nvar eo = a_, s_ = la, l_ = Yv, c_ = eo;\nfunction u_(e) {\n return s_(e, c_, l_);\n}\nvar d_ = u_, f_ = ta, p_ = _v, m_ = Dv, g_ = d_;\nfunction h_(e, t) {\n if (e == null)\n return {};\n var n = f_(g_(e), function(r) {\n return [r];\n });\n return t = p_(t), m_(e, n, function(r, o) {\n return t(r, o[0]);\n });\n}\nvar y_ = h_;\nconst v_ = /* @__PURE__ */ ea(y_), __ = !0, w_ = \"\", Vn = (e, t) => `${e}${t}`.replace(/[^A-Z0-9+]/gi, \"\"), S_ = (e, t) => {\n switch (t) {\n case \"address\":\n case \"birthdate\":\n case \"email\":\n case \"family_name\":\n case \"gender\":\n case \"given_name\":\n case \"locale\":\n case \"middle_name\":\n case \"name\":\n case \"nickname\":\n case \"phone_number\":\n case \"picture\":\n case \"preferred_username\":\n case \"profile\":\n case \"updated_at\":\n case \"website\":\n case \"zoneinfo\":\n return !0;\n // Otherwise, it's a custom attribute\n default:\n return t.startsWith(\"custom:\");\n }\n}, b_ = (e) => {\n const { phone_number: t, ...n } = v_(e, S_);\n if (_i(t) && t !== w_) {\n const { country_code: r } = e;\n return {\n ...n,\n phone_number: Vn(r, t)\n };\n }\n return n;\n}, C_ = (e, t, n) => {\n const { password: r, ...o } = t, i = b_(o), a = {\n autoSignIn: __,\n userAttributes: {\n // use `username` value for `phone_number`\n ...n === \"phone_number\" ? { ...i, phone_number: e } : i\n }\n };\n return { username: e, password: r, options: a };\n}, A_ = ({ formValues: e, loginMechanisms: t }) => {\n const n = t[0];\n if (n === \"phone_number\") {\n const { country_code: r, phone_number: o } = e;\n return Vn(r, o);\n }\n return e[n];\n}, { assign: J } = Yi, I_ = J({ actorDoneData: void 0 }), E_ = J({ challengeName: void 0 }), T_ = J({ missingAttributes: void 0 }), P_ = J({ remoteError: void 0 }), k_ = J({ formValues: {} }), N_ = J({ touched: {} }), U_ = J({ user: void 0 }), $_ = J({ validationError: {} }), O_ = J({\n totpSecretCode: (e, { data: t }) => {\n var r;\n const { sharedSecret: n } = ((r = t.nextStep) == null ? void 0 : r.totpSetupDetails) ?? {};\n return n;\n }\n}), F_ = J({ step: \"SIGN_IN\" }), R_ = J({\n step: \"SHOULD_CONFIRM_USER_ATTRIBUTE\"\n}), x_ = J({\n step: \"CONFIRM_ATTRIBUTE_COMPLETE\"\n}), M_ = J({\n challengeName: (e, { data: t }) => {\n const { signInStep: n } = t.nextStep;\n return n === \"CONFIRM_SIGN_IN_WITH_SMS_CODE\" ? \"SMS_MFA\" : n === \"CONFIRM_SIGN_IN_WITH_TOTP_CODE\" ? \"SOFTWARE_TOKEN_MFA\" : void 0;\n }\n}), D_ = J({\n username: ({ formValues: e, loginMechanisms: t }) => {\n const n = t[0], { username: r, country_code: o } = e;\n return n === \"phone_number\" ? Vn(o, r) : r;\n }\n}), B_ = J({ username: A_ }), L_ = J({\n username: ({ formValues: e, loginMechanisms: t }) => {\n const n = t[0], { username: r, country_code: o } = e;\n return n === \"phone_number\" ? Vn(o, r) : r;\n }\n}), G_ = J({\n step: (e, { data: t }) => t.nextStep.signInStep === \"DONE\" ? \"SIGN_IN_COMPLETE\" : t.nextStep.signInStep\n}), z_ = J({\n step: (e, { data: t }) => t.nextStep.signUpStep === \"DONE\" ? \"SIGN_UP_COMPLETE\" : t.nextStep.signUpStep\n}), W_ = J({\n step: (e, { data: t }) => t.nextStep.resetPasswordStep === \"DONE\" ? \"RESET_PASSWORD_COMPLETE\" : t.nextStep.resetPasswordStep\n}), V_ = J({\n missingAttributes: (e, { data: t }) => {\n var n;\n return (n = t.nextStep) == null ? void 0 : n.missingAttributes;\n }\n}), j_ = J({\n validationError: (e, { data: t }) => t\n}), H_ = J({\n remoteError: (e, { data: t }) => t.name === \"NoUserPoolError\" ? \"Configuration error (see console) – please contact the administrator\" : (t == null ? void 0 : t.message) || t\n}), Y_ = J({ user: (e, { data: t }) => t }), Qo = (e) => ({\n Destination: e.destination,\n DeliveryMedium: e.deliveryMedium,\n AttributeName: e.attributName\n}), K_ = J({\n codeDeliveryDetails: (e, { data: t }) => {\n var n;\n return (n = t == null ? void 0 : t.nextStep) != null && n.codeDeliveryDetails ? Qo(t.nextStep.codeDeliveryDetails) : Qo(t);\n }\n}), q_ = J({\n formValues: (e, { data: t }) => {\n const { name: n, value: r } = t;\n return { ...e.formValues, [n]: r };\n }\n}), J_ = J({\n formValues: (e, { data: t }) => (\n // do not trim password\n fl({ ...e.formValues, ...t }, \"password\")\n )\n}), Z_ = J({\n touched: (e, { data: t }) => ({\n ...e.touched,\n [t.name]: !0\n })\n}), Q_ = J({\n unverifiedUserAttributes: (e, { data: t }) => {\n const { email: n, phone_number: r } = t;\n return {\n ...n && { email: n },\n ...r && { phone_number: r }\n };\n }\n}), X_ = J({ selectedUserAttribute: void 0 }), ew = J({\n selectedUserAttribute: (e) => {\n var t;\n return (t = e.formValues) == null ? void 0 : t.unverifiedAttr;\n }\n}), tw = J({ step: \"CONFIRM_SIGN_UP\" }), Kt = {\n clearActorDoneData: I_,\n clearChallengeName: E_,\n clearError: P_,\n clearFormValues: k_,\n clearMissingAttributes: T_,\n clearSelectedUserAttribute: X_,\n clearTouched: N_,\n clearUser: U_,\n clearValidationError: $_,\n handleBlur: Z_,\n handleInput: q_,\n handleSubmit: J_,\n setChallengeName: M_,\n setCodeDeliveryDetails: K_,\n setFieldErrors: j_,\n setMissingAttributes: V_,\n setNextResetPasswordStep: W_,\n setNextSignInStep: G_,\n setNextSignUpStep: z_,\n setRemoteError: H_,\n setConfirmAttributeCompleteStep: x_,\n setConfirmSignUpSignUpStep: tw,\n setShouldVerifyUserAttributeStep: R_,\n setSelectedUserAttribute: ew,\n setSignInStep: F_,\n setTotpSecretCode: O_,\n setUser: Y_,\n setUnverifiedUserAttributes: Q_,\n setUsernameForgotPassword: D_,\n setUsernameSignIn: L_,\n setUsernameSignUp: B_\n}, nw = [\n \"CONFIRM_SIGN_IN_WITH_SMS_CODE\",\n \"CONFIRM_SIGN_IN_WITH_TOTP_CODE\"\n], rw = (e, { data: t }) => (t == null ? void 0 : t.nextStep.signInStep) === \"CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED\", ow = (e, { data: t }) => {\n var n;\n return ((n = t == null ? void 0 : t.nextStep) == null ? void 0 : n.signInStep) === \"RESET_PASSWORD\";\n}, iw = (e, { data: t }) => (t == null ? void 0 : t.nextStep.signInStep) === \"CONFIRM_SIGN_UP\", aw = (e, { data: t }) => (t == null ? void 0 : t.nextStep.signUpStep) === \"COMPLETE_AUTO_SIGN_IN\", sw = (e, { data: t }) => (t == null ? void 0 : t.nextStep.signInStep) === \"DONE\", lw = (e, { data: t }) => (t == null ? void 0 : t.nextStep.signUpStep) === \"DONE\", cw = (e, { data: t }) => (t == null ? void 0 : t.nextStep.resetPasswordStep) === \"DONE\", uw = (e, { data: t }) => (t == null ? void 0 : t.step) === \"CONFIRM_ATTRIBUTE_COMPLETE\", dw = (e, { data: t }) => (t == null ? void 0 : t.step) === \"CONFIRM_ATTRIBUTE_WITH_CODE\", fw = (e, { data: t }) => (t == null ? void 0 : t.step) === \"SHOULD_CONFIRM_USER_ATTRIBUTE\", pw = (e, { data: t }) => (t == null ? void 0 : t.step) === \"RESET_PASSWORD\", mw = (e, { data: t }) => (t == null ? void 0 : t.step) === \"CONFIRM_SIGN_UP\", gw = ({ step: e }) => nw.includes(e), hw = ({ step: e }) => e === \"CONTINUE_SIGN_IN_WITH_TOTP_SETUP\", yw = ({ step: e }) => e === \"RESET_PASSWORD\", vw = ({ step: e }) => e === \"CONFIRM_RESET_PASSWORD_WITH_CODE\", _w = ({ step: e }) => e === \"CONFIRM_SIGN_UP\", ww = (e, { data: t }) => {\n const { phone_number_verified: n, email_verified: r } = t;\n return (r === void 0 || r === \"false\") && (n === void 0 || n === \"false\");\n}, Sw = (e, { data: t }) => t.message === \"User is already confirmed.\", jn = {\n hasCompletedAttributeConfirmation: uw,\n hasCompletedResetPassword: cw,\n hasCompletedSignIn: sw,\n hasCompletedSignUp: lw,\n isConfirmSignUpStep: mw,\n isConfirmUserAttributeStep: dw,\n isResetPasswordStep: pw,\n isShouldConfirmUserAttributeStep: fw,\n isUserAlreadyConfirmed: Sw,\n shouldAutoSignIn: aw,\n shouldConfirmResetPassword: vw,\n shouldConfirmSignIn: gw,\n shouldConfirmSignInWithNewPassword: rw,\n shouldConfirmSignUp: _w,\n shouldConfirmSignUpFromSignIn: iw,\n shouldResetPassword: yw,\n shouldResetPasswordFromSignIn: ow,\n shouldSetupTotp: hw,\n shouldVerifyAttribute: ww\n};\nvar bw = Qr, Cw = Ht;\nfunction Aw(e, t, n) {\n (n !== void 0 && !Cw(e[t], n) || n === void 0 && !(t in e)) && bw(e, t, n);\n}\nvar Aa = Aw;\nfunction Iw(e) {\n return function(t, n, r) {\n for (var o = -1, i = Object(t), a = r(t), s = a.length; s--; ) {\n var l = a[e ? s : ++o];\n if (n(i[l], l, i) === !1)\n break;\n }\n return t;\n };\n}\nvar Ew = Iw, Tw = Ew, Pw = Tw(), kw = Pw, Cn = { exports: {} };\nCn.exports;\n(function(e, t) {\n var n = Oe, r = t && !t.nodeType && t, o = r && !0 && e && !e.nodeType && e, i = o && o.exports === r, a = i ? n.Buffer : void 0, s = a ? a.allocUnsafe : void 0;\n function l(c, u) {\n if (u)\n return c.slice();\n var m = c.length, f = s ? s(m) : new c.constructor(m);\n return c.copy(f), f;\n }\n e.exports = l;\n})(Cn, Cn.exports);\nvar Nw = Cn.exports, Xo = aa;\nfunction Uw(e) {\n var t = new e.constructor(e.byteLength);\n return new Xo(t).set(new Xo(e)), t;\n}\nvar $w = Uw, Ow = $w;\nfunction Fw(e, t) {\n var n = t ? Ow(e.buffer) : e.buffer;\n return new e.constructor(n, e.byteOffset, e.length);\n}\nvar Rw = Fw;\nfunction xw(e, t) {\n var n = -1, r = e.length;\n for (t || (t = Array(r)); ++n < r; )\n t[n] = e[n];\n return t;\n}\nvar Mw = xw, Dw = Ve, ei = Object.create, Bw = /* @__PURE__ */ function() {\n function e() {\n }\n return function(t) {\n if (!Dw(t))\n return {};\n if (ei)\n return ei(t);\n e.prototype = t;\n var n = new e();\n return e.prototype = void 0, n;\n };\n}(), Lw = Bw, Gw = Lw, zw = Xr, Ww = Hr;\nfunction Vw(e) {\n return typeof e.constructor == \"function\" && !Ww(e) ? Gw(zw(e)) : {};\n}\nvar jw = Vw, Hw = zn, Yw = it;\nfunction Kw(e) {\n return Yw(e) && Hw(e);\n}\nvar qw = Kw, Jw = Ct, Zw = Xr, Qw = it, Xw = \"[object Object]\", eS = Function.prototype, tS = Object.prototype, Ia = eS.toString, nS = tS.hasOwnProperty, rS = Ia.call(Object);\nfunction oS(e) {\n if (!Qw(e) || Jw(e) != Xw)\n return !1;\n var t = Zw(e);\n if (t === null)\n return !0;\n var n = nS.call(t, \"constructor\") && t.constructor;\n return typeof n == \"function\" && n instanceof n && Ia.call(n) == rS;\n}\nvar iS = oS;\nfunction aS(e, t) {\n if (!(t === \"constructor\" && typeof e[t] == \"function\") && t != \"__proto__\")\n return e[t];\n}\nvar Ea = aS, sS = Ca, lS = Qr;\nfunction cS(e, t, n, r) {\n var o = !n;\n n || (n = {});\n for (var i = -1, a = t.length; ++i < a; ) {\n var s = t[i], l = r ? r(n[s], e[s], s, n, e) : void 0;\n l === void 0 && (l = e[s]), o ? lS(n, s, l) : sS(n, s, l);\n }\n return n;\n}\nvar uS = cS, dS = uS, fS = eo;\nfunction pS(e) {\n return dS(e, fS(e));\n}\nvar mS = pS, ti = Aa, gS = Nw, hS = Rw, yS = Mw, vS = jw, ni = zr, ri = je, _S = qw, wS = Wr, SS = Dr, bS = Ve, CS = iS, AS = jr, oi = Ea, IS = mS;\nfunction ES(e, t, n, r, o, i, a) {\n var s = oi(e, n), l = oi(t, n), c = a.get(l);\n if (c) {\n ti(e, n, c);\n return;\n }\n var u = i ? i(s, l, n + \"\", e, t, a) : void 0, m = u === void 0;\n if (m) {\n var f = ri(l), p = !f && wS(l), h = !f && !p && AS(l);\n u = l, f || p || h ? ri(s) ? u = s : _S(s) ? u = yS(s) : p ? (m = !1, u = gS(l, !0)) : h ? (m = !1, u = hS(l, !0)) : u = [] : CS(l) || ni(l) ? (u = s, ni(s) ? u = IS(s) : (!bS(s) || SS(s)) && (u = vS(l))) : m = !1;\n }\n m && (a.set(l, u), o(u, l, r, i, a), a.delete(l)), ti(e, n, u);\n}\nvar TS = ES, PS = Gr, kS = Aa, NS = kw, US = TS, $S = Ve, OS = eo, FS = Ea;\nfunction Ta(e, t, n, r, o) {\n e !== t && NS(t, function(i, a) {\n if (o || (o = new PS()), $S(i))\n US(e, t, a, n, Ta, r, o);\n else {\n var s = r ? r(FS(e, a), i, a + \"\", e, t, o) : void 0;\n s === void 0 && (s = i), kS(e, a, s);\n }\n }, OS);\n}\nvar RS = Ta;\nfunction xS(e, t, n) {\n switch (n.length) {\n case 0:\n return e.call(t);\n case 1:\n return e.call(t, n[0]);\n case 2:\n return e.call(t, n[0], n[1]);\n case 3:\n return e.call(t, n[0], n[1], n[2]);\n }\n return e.apply(t, n);\n}\nvar MS = xS, DS = MS, ii = Math.max;\nfunction BS(e, t, n) {\n return t = ii(t === void 0 ? e.length - 1 : t, 0), function() {\n for (var r = arguments, o = -1, i = ii(r.length - t, 0), a = Array(i); ++o < i; )\n a[o] = r[t + o];\n o = -1;\n for (var s = Array(t + 1); ++o < t; )\n s[o] = r[o];\n return s[t] = n(a), DS(e, this, s);\n };\n}\nvar LS = BS;\nfunction GS(e) {\n return function() {\n return e;\n };\n}\nvar zS = GS, WS = zS, ai = ba, VS = Zr, jS = ai ? function(e, t) {\n return ai(e, \"toString\", {\n configurable: !0,\n enumerable: !1,\n value: WS(t),\n writable: !0\n });\n} : VS, HS = jS, YS = 800, KS = 16, qS = Date.now;\nfunction JS(e) {\n var t = 0, n = 0;\n return function() {\n var r = qS(), o = KS - (r - n);\n if (n = r, o > 0) {\n if (++t >= YS)\n return arguments[0];\n } else\n t = 0;\n return e.apply(void 0, arguments);\n };\n}\nvar ZS = JS, QS = HS, XS = ZS, eb = XS(QS), tb = eb, nb = Zr, rb = LS, ob = tb;\nfunction ib(e, t) {\n return ob(rb(e, t, nb), e + \"\");\n}\nvar ab = ib, sb = Ht, lb = zn, cb = Gn, ub = Ve;\nfunction db(e, t, n) {\n if (!ub(n))\n return !1;\n var r = typeof t;\n return (r == \"number\" ? lb(n) && cb(t, n.length) : r == \"string\" && t in n) ? sb(n[t], e) : !1;\n}\nvar fb = db, pb = ab, mb = fb;\nfunction gb(e) {\n return pb(function(t, n) {\n var r = -1, o = n.length, i = o > 1 ? n[o - 1] : void 0, a = o > 2 ? n[2] : void 0;\n for (i = e.length > 3 && typeof i == \"function\" ? (o--, i) : void 0, a && mb(n[0], n[1], a) && (i = o < 3 ? void 0 : i, o = 1), t = Object(t); ++r < o; ) {\n var s = n[r];\n s && e(t, s, r, i);\n }\n return t;\n });\n}\nvar hb = gb, yb = RS, vb = hb, _b = vb(function(e, t, n) {\n yb(e, t, n);\n}), wb = _b;\nconst Sb = /* @__PURE__ */ ea(wb), Hn = async (e, t, n, r) => {\n const o = await Promise.all(r.map((a) => a(e, t, n))), i = Sb({}, ...o);\n return wi(i) ? Promise.resolve() : Promise.reject(i);\n}, bb = 8, Cb = (e) => Array.isArray(e), Ab = (e) => {\n if (e)\n return Cb(e) ? Object.entries(e).map(([t, n]) => Object.keys(n)[0]) : Object.keys(e);\n}, Qe = {\n async getAmplifyConfig() {\n var s, l, c, u;\n const e = Ns.getConfig(), t = (s = e.Auth) == null ? void 0 : s.Cognito, { loginWith: n, userAttributes: r } = ((l = e.Auth) == null ? void 0 : l.Cognito) ?? {}, o = n ? Object.entries(n).filter(([m, f]) => m !== \"oauth\").filter(([m, f]) => !!f).map((m) => m[0] === \"phone\" ? \"phone_number\" : m[0]) : void 0, i = Ab(r), a = (c = n == null ? void 0 : n.oauth) != null && c.providers ? (u = n.oauth.providers) == null ? void 0 : u.map((m) => m.toString().toLowerCase()) : void 0;\n return {\n ...t,\n loginMechanisms: o,\n signUpAttributes: i,\n socialProviders: a\n };\n },\n getCurrentUser: mi,\n handleSignIn: _s,\n handleSignUp: ws,\n handleConfirmSignIn: gi,\n handleConfirmSignUp: Ss,\n handleForgotPasswordSubmit: bs,\n handleForgotPassword: hi,\n handleResendSignUpCode: Cs,\n // Validation hooks for overriding\n async validateCustomSignUp(e, t) {\n },\n async validateFormPassword(e, t, n) {\n const { password: r } = e, { password: o } = t;\n if (!o || !n)\n return null;\n const i = [], a = n.minLength ?? bb;\n return r.length < a && i.push(`Password must have at least ${a} characters`), n.requireLowercase && !/[a-z]/.test(r) && i.push(\"Password must have lower case letters\"), n.requireUppercase && !/[A-Z]/.test(r) && i.push(\"Password must have upper case letters\"), n.requireNumbers && !/[0-9]/.test(r) && i.push(\"Password must have numbers\"), n.requireSpecialCharacters && !ul(r) && i.push(\"Password must have special characters\"), i.length !== 0 ? { password: i } : null;\n },\n async validateConfirmPassword(e, t) {\n const { password: n, confirm_password: r } = e, { confirm_password: o, password: i } = t;\n if (!n && !r)\n return null;\n if ((n || r) && n !== r && (o && i || (n == null ? void 0 : n.length) >= 6 && (r == null ? void 0 : r.length) >= 6))\n return {\n confirm_password: \"Your passwords must match\"\n };\n },\n async validatePreferredUsername(e, t) {\n }\n};\nfunction Ib({ services: e }) {\n return St({\n id: \"forgotPasswordActor\",\n initial: \"init\",\n predictableActionArguments: !0,\n states: {\n init: {\n always: [\n {\n cond: \"shouldResetPassword\",\n target: \"confirmResetPassword\"\n },\n {\n cond: \"shouldConfirmResetPassword\",\n target: \"confirmResetPassword\"\n },\n {\n target: \"forgotPassword\"\n }\n ]\n },\n forgotPassword: {\n initial: \"edit\",\n entry: \"sendUpdate\",\n exit: [\"clearError\", \"clearTouched\"],\n states: {\n edit: {\n entry: \"sendUpdate\",\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"submit\" },\n CHANGE: { actions: \"handleInput\" },\n BLUR: { actions: \"handleBlur\" }\n }\n },\n submit: {\n tags: \"pending\",\n entry: [\"sendUpdate\", \"clearError\", \"setUsernameForgotPassword\"],\n invoke: {\n src: \"handleResetPassword\",\n onDone: {\n actions: [\n \"setCodeDeliveryDetails\",\n \"setNextResetPasswordStep\"\n ],\n target: \"#forgotPasswordActor.confirmResetPassword\"\n },\n onError: {\n actions: \"setRemoteError\",\n target: \"edit\"\n }\n }\n }\n }\n },\n confirmResetPassword: {\n type: \"parallel\",\n exit: [\"clearFormValues\", \"clearError\", \"clearTouched\"],\n states: {\n validation: {\n initial: \"pending\",\n states: {\n pending: {\n invoke: {\n src: \"validateFields\",\n onDone: {\n target: \"valid\",\n actions: \"clearValidationError\"\n },\n onError: {\n target: \"invalid\",\n actions: \"setFieldErrors\"\n }\n }\n },\n valid: { entry: \"sendUpdate\" },\n invalid: { entry: \"sendUpdate\" }\n },\n on: {\n CHANGE: {\n actions: \"handleInput\",\n target: \".pending\"\n },\n BLUR: {\n actions: \"handleBlur\",\n target: \".pending\"\n }\n }\n },\n submission: {\n initial: \"idle\",\n states: {\n idle: {\n entry: \"sendUpdate\",\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"validate\" },\n RESEND: \"resendCode\",\n CHANGE: { actions: \"handleInput\" },\n BLUR: { actions: \"handleBlur\" }\n }\n },\n validate: {\n entry: \"sendUpdate\",\n invoke: {\n src: \"validateFields\",\n onDone: {\n target: \"pending\",\n actions: \"clearValidationError\"\n },\n onError: {\n target: \"idle\",\n actions: \"setFieldErrors\"\n }\n }\n },\n resendCode: {\n tags: \"pending\",\n entry: [\"clearError\", \"sendUpdate\"],\n invoke: {\n src: \"handleResetPassword\",\n onDone: { target: \"idle\" },\n onError: { actions: \"setRemoteError\", target: \"idle\" }\n }\n },\n pending: {\n tags: \"pending\",\n entry: [\"clearError\", \"sendUpdate\"],\n invoke: {\n src: \"handleConfirmResetPassword\",\n onDone: [\n {\n cond: \"hasCompletedResetPassword\",\n actions: \"setNextResetPasswordStep\",\n target: \"#forgotPasswordActor.resolved\"\n },\n {\n actions: \"setSignInStep\",\n target: \"#forgotPasswordActor.resolved\"\n }\n ],\n onError: { actions: \"setRemoteError\", target: \"idle\" }\n }\n }\n }\n }\n }\n },\n resolved: {\n type: \"final\",\n data: ({ step: t }) => ({ step: t })\n }\n }\n }, {\n // sendUpdate is a HOC\n actions: { ...Kt, sendUpdate: Rn() },\n guards: jn,\n services: {\n handleResetPassword({ username: t }) {\n return e.handleForgotPassword({ username: t });\n },\n handleConfirmResetPassword({ formValues: t, username: n }) {\n const { confirmation_code: r, password: o } = t;\n return e.handleForgotPasswordSubmit({\n confirmationCode: r,\n newPassword: o,\n username: n\n });\n },\n validateFields(t) {\n return Hn(t.formValues, t.touched, t.passwordSettings, [\n Qe.validateFormPassword,\n Qe.validateConfirmPassword\n ]);\n }\n }\n });\n}\nconst Pa = (e) => ({\n entry: [\"sendUpdate\", \"clearError\"],\n invoke: {\n src: \"signInWithRedirect\",\n onDone: { target: e },\n onError: { actions: \"setRemoteError\", target: e }\n }\n}), rn = {\n onDone: [\n {\n cond: \"hasCompletedSignIn\",\n actions: \"setNextSignInStep\",\n target: \"#signInActor.fetchUserAttributes\"\n },\n {\n cond: \"shouldConfirmSignInWithNewPassword\",\n actions: [\"setMissingAttributes\", \"setNextSignInStep\"],\n target: \"#signInActor.forceChangePassword\"\n },\n {\n cond: \"shouldResetPasswordFromSignIn\",\n actions: \"setNextSignInStep\",\n target: \"#signInActor.resetPassword\"\n },\n {\n cond: \"shouldConfirmSignUpFromSignIn\",\n actions: \"setNextSignInStep\",\n target: \"#signInActor.resendSignUpCode\"\n },\n {\n actions: [\n \"setChallengeName\",\n \"setMissingAttributes\",\n \"setNextSignInStep\",\n \"setTotpSecretCode\"\n ],\n target: \"#signInActor.init\"\n }\n ],\n onError: { actions: \"setRemoteError\", target: \"edit\" }\n}, Eb = {\n onDone: [\n {\n cond: \"shouldVerifyAttribute\",\n actions: [\n \"setShouldVerifyUserAttributeStep\",\n \"setUnverifiedUserAttributes\"\n ],\n target: \"#signInActor.resolved\"\n },\n {\n actions: \"setConfirmAttributeCompleteStep\",\n target: \"#signInActor.resolved\"\n }\n ],\n onError: {\n actions: \"setConfirmAttributeCompleteStep\",\n target: \"#signInActor.resolved\"\n }\n};\nfunction Tb({ services: e }) {\n return St({\n id: \"signInActor\",\n initial: \"init\",\n predictableActionArguments: !0,\n states: {\n init: {\n always: [\n {\n cond: \"shouldConfirmSignIn\",\n target: \"confirmSignIn\"\n },\n {\n cond: \"shouldSetupTotp\",\n target: \"setupTotp\"\n },\n {\n cond: ({ step: t }) => t === \"CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED\",\n actions: \"setActorDoneData\",\n target: \"forceChangePassword\"\n },\n { target: \"signIn\" }\n ]\n },\n federatedSignIn: Pa(\"signIn\"),\n fetchUserAttributes: {\n invoke: {\n src: \"fetchUserAttributes\",\n ...Eb\n }\n },\n resendSignUpCode: {\n invoke: {\n src: \"handleResendSignUpCode\",\n onDone: {\n actions: \"setCodeDeliveryDetails\",\n target: \"#signInActor.resolved\"\n },\n onError: {\n actions: \"setRemoteError\",\n target: \"#signInActor.signIn\"\n }\n }\n },\n resetPassword: {\n invoke: {\n src: \"resetPassword\",\n onDone: [\n {\n actions: \"setCodeDeliveryDetails\",\n target: \"#signInActor.resolved\"\n }\n ],\n onError: { actions: [\"setRemoteError\", \"sendUpdate\"] }\n }\n },\n signIn: {\n initial: \"edit\",\n exit: \"clearTouched\",\n states: {\n edit: {\n entry: \"sendUpdate\",\n on: {\n CHANGE: { actions: \"handleInput\" },\n FEDERATED_SIGN_IN: { target: \"#signInActor.federatedSignIn\" },\n SUBMIT: { actions: \"handleSubmit\", target: \"submit\" }\n }\n },\n submit: {\n tags: \"pending\",\n entry: [\"clearError\", \"sendUpdate\", \"setUsernameSignIn\"],\n exit: \"clearFormValues\",\n invoke: { src: \"handleSignIn\", ...rn }\n }\n }\n },\n confirmSignIn: {\n initial: \"edit\",\n exit: [\n \"clearChallengeName\",\n \"clearFormValues\",\n \"clearError\",\n \"clearTouched\"\n ],\n states: {\n edit: {\n entry: \"sendUpdate\",\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"submit\" },\n SIGN_IN: \"#signInActor.signIn\",\n CHANGE: { actions: \"handleInput\" }\n }\n },\n submit: {\n tags: \"pending\",\n entry: [\"clearError\", \"sendUpdate\"],\n invoke: {\n src: \"confirmSignIn\",\n ...rn\n }\n }\n }\n },\n forceChangePassword: {\n entry: \"sendUpdate\",\n type: \"parallel\",\n exit: [\"clearFormValues\", \"clearError\", \"clearTouched\"],\n states: {\n validation: {\n initial: \"pending\",\n states: {\n pending: {\n invoke: {\n src: \"validateFields\",\n onDone: {\n target: \"valid\",\n actions: \"clearValidationError\"\n },\n onError: {\n target: \"invalid\",\n actions: \"setFieldErrors\"\n }\n }\n },\n valid: { entry: \"sendUpdate\" },\n invalid: { entry: \"sendUpdate\" }\n },\n on: {\n SIGN_IN: {\n actions: \"setSignInStep\",\n target: \"#signInActor.resolved\"\n },\n CHANGE: {\n actions: \"handleInput\",\n target: \".pending\"\n },\n BLUR: {\n actions: \"handleBlur\",\n target: \".pending\"\n }\n }\n },\n submit: {\n initial: \"edit\",\n entry: \"clearError\",\n states: {\n edit: {\n entry: \"sendUpdate\",\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"validate\" }\n }\n },\n validate: {\n entry: \"sendUpdate\",\n invoke: {\n src: \"validateFields\",\n onDone: {\n actions: \"clearValidationError\",\n target: \"pending\"\n },\n onError: { actions: \"setFieldErrors\", target: \"edit\" }\n }\n },\n pending: {\n tags: \"pending\",\n entry: [\"sendUpdate\", \"clearError\"],\n invoke: {\n src: \"handleForceChangePassword\",\n ...rn\n }\n }\n }\n }\n }\n },\n setupTotp: {\n initial: \"edit\",\n exit: [\"clearFormValues\", \"clearError\", \"clearTouched\"],\n states: {\n edit: {\n entry: \"sendUpdate\",\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"submit\" },\n SIGN_IN: \"#signInActor.signIn\",\n CHANGE: { actions: \"handleInput\" }\n }\n },\n submit: {\n tags: \"pending\",\n entry: [\"sendUpdate\", \"clearError\"],\n invoke: { src: \"confirmSignIn\", ...rn }\n }\n }\n },\n resolved: {\n type: \"final\",\n data: (t) => ({\n codeDeliveryDetails: t.codeDeliveryDetails,\n remoteError: t.remoteError,\n step: t.step,\n unverifiedUserAttributes: t.unverifiedUserAttributes,\n username: t.username\n })\n }\n }\n }, {\n // sendUpdate is a HOC\n actions: { ...Kt, sendUpdate: Rn() },\n guards: jn,\n services: {\n async fetchUserAttributes() {\n return yi();\n },\n resetPassword({ username: t }) {\n return hi({ username: t });\n },\n handleResendSignUpCode({ username: t }) {\n return e.handleResendSignUpCode({ username: t });\n },\n handleSignIn({ formValues: t, username: n }) {\n const { password: r } = t;\n return e.handleSignIn({ username: n, password: r });\n },\n confirmSignIn({ formValues: t }) {\n const { confirmation_code: n } = t;\n return e.handleConfirmSignIn({ challengeResponse: n });\n },\n async handleForceChangePassword({ formValues: t }) {\n let {\n password: n,\n phone_number: r,\n country_code: o,\n // destructure and toss UI confirm_password field\n // to prevent error from sending to confirmSignIn\n confirm_password: i,\n ...a\n } = t, s;\n return r && (s = `${o}${r}`.replace(/[^A-Z0-9+]/gi, \"\"), a = {\n ...a,\n phone_number: s\n }), gi({\n challengeResponse: n,\n options: { userAttributes: a }\n });\n },\n signInWithRedirect(t, { data: n }) {\n return vi(n);\n },\n async validateFields(t) {\n return Hn(t.formValues, t.touched, t.passwordSettings, [\n Qe.validateFormPassword,\n Qe.validateConfirmPassword\n ]);\n }\n }\n });\n}\nconst Pb = {\n onDone: [\n { actions: \"setCodeDeliveryDetails\", target: \"#signUpActor.resolved\" }\n ],\n onError: { actions: [\"setRemoteError\", \"sendUpdate\"] }\n}, kb = {\n onDone: [\n {\n cond: \"hasCompletedSignIn\",\n actions: \"setNextSignInStep\",\n target: \"#signUpActor.fetchUserAttributes\"\n },\n {\n cond: \"shouldConfirmSignInWithNewPassword\",\n actions: \"setNextSignInStep\",\n target: \"#signUpActor.resolved\"\n },\n {\n cond: \"shouldResetPasswordFromSignIn\",\n actions: \"setNextSignInStep\",\n target: \"#signUpActor.resetPassword\"\n },\n {\n cond: \"shouldConfirmSignUpFromSignIn\",\n actions: \"setNextSignInStep\",\n target: \"#signUpActor.resendSignUpCode\"\n },\n {\n actions: [\n \"setNextSignInStep\",\n \"setChallengeName\",\n \"setMissingAttributes\",\n \"setTotpSecretCode\"\n ],\n target: \"#signUpActor.resolved\"\n }\n ],\n onError: {\n actions: \"setRemoteError\",\n target: \"#signUpActor.resolved\"\n }\n}, Nb = {\n onDone: [\n {\n cond: \"shouldVerifyAttribute\",\n actions: [\n \"setShouldVerifyUserAttributeStep\",\n \"setUnverifiedUserAttributes\"\n ],\n target: \"#signUpActor.resolved\"\n },\n {\n actions: \"setConfirmAttributeCompleteStep\",\n target: \"#signUpActor.resolved\"\n }\n ],\n onError: {\n actions: \"setConfirmAttributeCompleteStep\",\n target: \"#signUpActor.resolved\"\n }\n};\nfunction Ub({ services: e }) {\n return St({\n id: \"signUpActor\",\n initial: \"init\",\n predictableActionArguments: !0,\n states: {\n init: {\n always: [\n { cond: \"shouldConfirmSignUp\", target: \"confirmSignUp\" },\n { target: \"signUp\" }\n ]\n },\n autoSignIn: {\n tags: \"pending\",\n invoke: { src: \"autoSignIn\", ...kb }\n },\n fetchUserAttributes: {\n invoke: {\n src: \"fetchUserAttributes\",\n ...Nb\n }\n },\n federatedSignIn: Pa(\"signUp\"),\n resetPassword: {\n invoke: { src: \"resetPassword\", ...Pb }\n },\n resendSignUpCode: {\n tags: \"pending\",\n entry: \"sendUpdate\",\n exit: \"sendUpdate\",\n invoke: {\n src: \"resendSignUpCode\",\n onDone: {\n actions: [\"setCodeDeliveryDetails\", \"sendUpdate\"],\n target: \"#signUpActor.confirmSignUp\"\n },\n onError: [\n {\n cond: \"isUserAlreadyConfirmed\",\n target: \"#signUpActor.resolved\"\n },\n { actions: [\"setRemoteError\", \"sendUpdate\"] }\n ]\n }\n },\n signUp: {\n type: \"parallel\",\n exit: \"clearTouched\",\n on: {\n FEDERATED_SIGN_IN: { target: \"federatedSignIn\" }\n },\n states: {\n validation: {\n initial: \"pending\",\n states: {\n pending: {\n invoke: {\n src: \"validateSignUp\",\n onDone: {\n actions: \"clearValidationError\",\n target: \"valid\"\n },\n onError: { actions: \"setFieldErrors\", target: \"invalid\" }\n }\n },\n valid: { entry: \"sendUpdate\" },\n invalid: { entry: \"sendUpdate\" }\n },\n on: {\n BLUR: { actions: \"handleBlur\", target: \".pending\" },\n CHANGE: { actions: \"handleInput\", target: \".pending\" }\n }\n },\n submission: {\n initial: \"idle\",\n states: {\n idle: {\n entry: [\"sendUpdate\"],\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"validate\" }\n }\n },\n validate: {\n entry: \"sendUpdate\",\n invoke: {\n src: \"validateSignUp\",\n onDone: {\n target: \"handleSignUp\",\n actions: \"clearValidationError\"\n },\n onError: { actions: \"setFieldErrors\", target: \"idle\" }\n }\n },\n handleSignUp: {\n tags: \"pending\",\n entry: [\"setUsernameSignUp\", \"clearError\"],\n exit: \"sendUpdate\",\n invoke: {\n src: \"handleSignUp\",\n onDone: [\n {\n cond: \"hasCompletedSignUp\",\n actions: \"setNextSignUpStep\",\n target: \"#signUpActor.resolved\"\n },\n {\n cond: \"shouldAutoSignIn\",\n actions: \"setNextSignUpStep\",\n target: \"#signUpActor.autoSignIn\"\n },\n {\n actions: [\n \"setCodeDeliveryDetails\",\n \"setNextSignUpStep\"\n ],\n target: \"#signUpActor.init\"\n }\n ],\n onError: {\n actions: [\"sendUpdate\", \"setRemoteError\"],\n target: \"idle\"\n }\n }\n }\n }\n }\n }\n },\n confirmSignUp: {\n initial: \"edit\",\n entry: \"sendUpdate\",\n states: {\n edit: {\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"submit\" },\n CHANGE: { actions: \"handleInput\" },\n BLUR: { actions: \"handleBlur\" },\n RESEND: \"#signUpActor.resendSignUpCode\"\n }\n },\n submit: {\n tags: \"pending\",\n entry: [\"clearError\", \"sendUpdate\"],\n invoke: {\n src: \"confirmSignUp\",\n onDone: [\n {\n cond: \"shouldAutoSignIn\",\n actions: [\"setNextSignUpStep\", \"clearFormValues\"],\n target: \"#signUpActor.autoSignIn\"\n },\n {\n actions: \"setNextSignUpStep\",\n target: \"#signUpActor.init\"\n }\n ],\n onError: {\n actions: [\"setRemoteError\", \"sendUpdate\"],\n target: \"edit\"\n }\n }\n }\n }\n },\n resolved: {\n type: \"final\",\n data: (t) => ({\n challengeName: t.challengeName,\n missingAttributes: t.missingAttributes,\n remoteError: t.remoteError,\n step: t.step,\n totpSecretCode: t.totpSecretCode,\n username: t.username,\n unverifiedUserAttributes: t.unverifiedUserAttributes\n })\n }\n }\n }, {\n // sendUpdate is a HOC\n actions: { ...Kt, sendUpdate: Rn() },\n guards: jn,\n services: {\n autoSignIn() {\n return As();\n },\n async fetchUserAttributes() {\n return yi();\n },\n confirmSignUp({ formValues: t, username: n }) {\n const { confirmation_code: r } = t, o = { username: n, confirmationCode: r };\n return e.handleConfirmSignUp(o);\n },\n resendSignUpCode({ username: t }) {\n return e.handleResendSignUpCode({ username: t });\n },\n signInWithRedirect(t, { data: n }) {\n return vi(n);\n },\n handleSignUp(t) {\n const { formValues: n, loginMechanisms: r, username: o } = t, i = r[0], a = C_(o, n, i);\n return e.handleSignUp(a);\n },\n async validateSignUp(t) {\n return Hn(t.formValues, t.touched, t.passwordSettings, [\n // Validation of password\n e.validateFormPassword,\n // Validation for default form fields\n e.validateConfirmPassword,\n e.validatePreferredUsername,\n // Validation for any custom Sign Up fields\n e.validateCustomSignUp\n ]);\n }\n }\n });\n}\nconst $b = () => St({\n initial: \"pending\",\n id: \"signOutActor\",\n predictableActionArguments: !0,\n states: {\n pending: {\n tags: \"pending\",\n invoke: {\n src: \"signOut\",\n onDone: \"resolved\",\n onError: \"rejected\"\n }\n },\n resolved: { type: \"final\" },\n rejected: { type: \"final\" }\n }\n}, {\n services: {\n signOut: () => Is()\n }\n});\nfunction Ob() {\n return St({\n id: \"verifyUserAttributesActor\",\n initial: \"selectUserAttributes\",\n predictableActionArguments: !0,\n states: {\n selectUserAttributes: {\n initial: \"edit\",\n exit: [\"clearError\", \"clearTouched\", \"sendUpdate\"],\n states: {\n edit: {\n entry: \"sendUpdate\",\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"submit\" },\n SKIP: { target: \"#verifyUserAttributesActor.resolved\" },\n CHANGE: { actions: \"handleInput\" }\n }\n },\n submit: {\n tags: \"pending\",\n entry: [\"clearError\", \"sendUpdate\"],\n invoke: {\n src: \"sendUserAttributeVerificationCode\",\n onDone: {\n actions: [\n \"setSelectedUserAttribute\",\n \"setCodeDeliveryDetails\"\n ],\n target: \"#verifyUserAttributesActor.confirmVerifyUserAttribute\"\n },\n onError: {\n actions: \"setRemoteError\",\n target: \"edit\"\n }\n }\n }\n }\n },\n confirmVerifyUserAttribute: {\n initial: \"edit\",\n exit: [\"clearError\", \"clearFormValues\", \"clearTouched\"],\n states: {\n edit: {\n entry: \"sendUpdate\",\n on: {\n SUBMIT: { actions: \"handleSubmit\", target: \"submit\" },\n SKIP: \"#verifyUserAttributesActor.resolved\",\n CHANGE: { actions: \"handleInput\" }\n }\n },\n submit: {\n tags: \"pending\",\n entry: [\"clearError\", \"sendUpdate\"],\n invoke: {\n src: \"confirmVerifyUserAttribute\",\n onDone: {\n actions: [\n \"setConfirmAttributeCompleteStep\",\n \"clearSelectedUserAttribute\"\n ],\n target: \"#verifyUserAttributesActor.resolved\"\n },\n onError: {\n actions: \"setRemoteError\",\n target: \"edit\"\n }\n }\n }\n }\n },\n resolved: { type: \"final\", data: ({ step: e }) => ({ step: e }) }\n }\n }, {\n // sendUpdate is a HOC\n actions: { ...Kt, sendUpdate: Rn() },\n services: {\n sendUserAttributeVerificationCode({ formValues: { unverifiedAttr: e } }) {\n return Es({\n userAttributeKey: e\n });\n },\n async confirmVerifyUserAttribute({ formValues: { confirmation_code: e }, selectedUserAttribute: t }) {\n return Ts({\n confirmationCode: e,\n userAttributeKey: t\n });\n },\n async validateFields(e) {\n return Hn(e.formValues, e.touched, e.passwordSettings, [\n Qe.validateFormPassword,\n Qe.validateConfirmPassword\n ]);\n }\n }\n });\n}\nconst on = (e, t) => {\n var n, r, o, i, a, s;\n return {\n ...e.actorDoneData,\n step: ((n = e == null ? void 0 : e.actorDoneData) == null ? void 0 : n.step) ?? t,\n // initialize empty objects on actor start\n formValues: {},\n touched: {},\n validationError: {},\n // values included on `context.config` that should be available in actors\n formFields: (r = e.config) == null ? void 0 : r.formFields,\n loginMechanisms: (o = e.config) == null ? void 0 : o.loginMechanisms,\n passwordSettings: (i = e.config) == null ? void 0 : i.passwordSettings,\n signUpAttributes: (a = e.config) == null ? void 0 : a.signUpAttributes,\n socialProviders: (s = e.config) == null ? void 0 : s.socialProviders\n };\n}, { choose: Fb, stop: Rb } = Yi, $t = (e) => Rb(e), xb = {\n on: {\n INIT: {\n actions: \"configure\",\n target: \"getConfig\"\n },\n SIGN_OUT: \"#authenticator.signOut\"\n }\n}, Mb = {\n always: { actions: \"configure\", target: \"getConfig\" }\n};\nfunction Db(e) {\n const { useNextWaitConfig: t, ...n } = {};\n return St({\n id: \"authenticator\",\n initial: \"idle\",\n context: {\n user: void 0,\n config: {},\n services: Qe,\n actorRef: void 0,\n hasSetup: !1\n },\n predictableActionArguments: !0,\n states: {\n // See: https://xstate.js.org/docs/guides/communication.html#invoking-promises\n idle: {\n invoke: {\n src: \"handleGetCurrentUser\",\n onDone: { actions: \"setUser\", target: \"setup\" },\n onError: { target: \"setup\" }\n }\n },\n setup: {\n initial: \"initConfig\",\n states: {\n initConfig: t ? Mb : xb,\n getConfig: {\n invoke: {\n src: \"getAmplifyConfig\",\n onDone: [\n {\n actions: [\"applyAmplifyConfig\", \"setHasSetup\"],\n cond: \"hasUser\",\n target: \"#authenticator.authenticated\"\n },\n {\n actions: [\"applyAmplifyConfig\", \"setHasSetup\"],\n target: \"goToInitialState\"\n }\n ]\n }\n },\n goToInitialState: {\n always: [\n {\n cond: \"isInitialStateSignUp\",\n target: \"#authenticator.signUpActor\"\n },\n {\n cond: \"isInitialStateResetPassword\",\n target: \"#authenticator.forgotPasswordActor\"\n },\n { target: \"#authenticator.signInActor\" }\n ]\n }\n }\n },\n getCurrentUser: {\n invoke: {\n src: \"handleGetCurrentUser\",\n onDone: {\n actions: \"setUser\",\n target: \"#authenticator.authenticated\"\n },\n onError: { target: \"#authenticator.setup\" }\n }\n },\n signInActor: {\n initial: \"spawnActor\",\n states: {\n spawnActor: {\n always: { actions: \"spawnSignInActor\", target: \"runActor\" }\n },\n runActor: {\n entry: \"clearActorDoneData\",\n exit: $t(\"signInActor\")\n }\n },\n on: {\n FORGOT_PASSWORD: \"forgotPasswordActor\",\n SIGN_IN: \"signInActor\",\n SIGN_UP: \"signUpActor\",\n \"done.invoke.signInActor\": [\n {\n cond: \"hasCompletedAttributeConfirmation\",\n target: \"#authenticator.getCurrentUser\"\n },\n {\n cond: \"isShouldConfirmUserAttributeStep\",\n actions: \"setActorDoneData\",\n target: \"#authenticator.verifyUserAttributesActor\"\n },\n {\n cond: \"isResetPasswordStep\",\n actions: \"setActorDoneData\",\n target: \"#authenticator.forgotPasswordActor\"\n },\n {\n cond: \"isConfirmSignUpStep\",\n actions: \"setActorDoneData\",\n target: \"#authenticator.signUpActor\"\n }\n ]\n }\n },\n signUpActor: {\n initial: \"spawnActor\",\n states: {\n spawnActor: {\n always: { actions: \"spawnSignUpActor\", target: \"runActor\" }\n },\n runActor: {\n entry: \"clearActorDoneData\",\n exit: $t(\"signUpActor\")\n }\n },\n on: {\n SIGN_IN: \"signInActor\",\n \"done.invoke.signUpActor\": [\n {\n cond: \"hasCompletedAttributeConfirmation\",\n target: \"#authenticator.getCurrentUser\"\n },\n {\n cond: \"isShouldConfirmUserAttributeStep\",\n actions: \"setActorDoneData\",\n target: \"#authenticator.verifyUserAttributesActor\"\n },\n {\n cond: \"isConfirmUserAttributeStep\",\n target: \"#authenticator.verifyUserAttributesActor\"\n },\n {\n actions: \"setActorDoneData\",\n target: \"#authenticator.signInActor\"\n }\n ]\n }\n },\n forgotPasswordActor: {\n initial: \"spawnActor\",\n states: {\n spawnActor: {\n always: {\n actions: \"spawnForgotPasswordActor\",\n target: \"runActor\"\n }\n },\n runActor: {\n entry: \"clearActorDoneData\",\n exit: $t(\"forgotPasswordActor\")\n }\n },\n on: {\n SIGN_IN: \"signInActor\",\n \"done.invoke.forgotPasswordActor\": [\n { target: \"#authenticator.signInActor\" }\n ]\n }\n },\n verifyUserAttributesActor: {\n initial: \"spawnActor\",\n states: {\n spawnActor: {\n always: {\n actions: \"spawnVerifyUserAttributesActor\",\n target: \"runActor\"\n }\n },\n runActor: {\n entry: \"clearActorDoneData\",\n exit: $t(\"verifyUserAttributesActor\")\n }\n },\n on: {\n \"done.invoke.verifyUserAttributesActor\": [\n {\n actions: \"setActorDoneData\",\n target: \"#authenticator.getCurrentUser\"\n }\n ]\n }\n },\n authenticated: {\n initial: \"idle\",\n states: {\n idle: { on: { TOKEN_REFRESH: \"refreshUser\" } },\n refreshUser: {\n invoke: {\n src: \"#authenticator.getCurrentUser\",\n onDone: { actions: \"setUser\", target: \"idle\" },\n onError: { target: \"#authenticator.signOut\" }\n }\n }\n },\n on: { SIGN_OUT: \"signOut\" }\n },\n signOut: {\n initial: \"spawnActor\",\n states: {\n spawnActor: {\n always: { actions: \"spawnSignOutActor\", target: \"runActor\" }\n },\n runActor: {\n entry: \"clearActorDoneData\",\n exit: $t(\"signOutActor\")\n }\n },\n on: {\n \"done.invoke.signOutActor\": {\n actions: \"clearUser\",\n target: \"setup.getConfig\"\n }\n }\n }\n },\n on: {\n SIGN_IN_WITH_REDIRECT: { target: \"#authenticator.getCurrentUser\" },\n CHANGE: { actions: \"forwardToActor\" },\n BLUR: { actions: \"forwardToActor\" },\n SUBMIT: { actions: \"forwardToActor\" },\n FEDERATED_SIGN_IN: { actions: \"forwardToActor\" },\n RESEND: { actions: \"forwardToActor\" },\n SIGN_IN: { actions: \"forwardToActor\" },\n SKIP: { actions: \"forwardToActor\" }\n }\n }, {\n actions: {\n ...Kt,\n forwardToActor: Fb([\n { cond: \"hasActor\", actions: du(({ actorRef: o }) => o) }\n ]),\n setActorDoneData: Be({\n actorDoneData: (o, i) => ({\n challengeName: i.data.challengeName,\n codeDeliveryDetails: i.data.codeDeliveryDetails,\n missingAttributes: i.data.missingAttributes,\n remoteError: i.data.remoteError,\n username: i.data.username,\n step: i.data.step,\n totpSecretCode: i.data.totpSecretCode,\n unverifiedUserAttributes: i.data.unverifiedUserAttributes\n })\n }),\n applyAmplifyConfig: Be({\n config(o, { data: i }) {\n const { loginMechanisms: a = i.loginMechanisms ?? [], signUpAttributes: s = i.signUpAttributes ?? [], socialProviders: l = i.socialProviders ?? [], initialState: c, formFields: u, passwordSettings: m = i.passwordFormat ?? {} } = o.config;\n return a.length === 0 && a.push(\"username\"), {\n formFields: Bb(u) ?? {},\n initialState: c,\n loginMechanisms: a,\n passwordSettings: m,\n signUpAttributes: s,\n socialProviders: l\n };\n }\n }),\n spawnSignInActor: Be({\n actorRef: (o, i) => {\n const { services: a } = o, s = Tb({ services: a }).withContext(on(o, \"SIGN_IN\"));\n return kt(s, { name: \"signInActor\" });\n }\n }),\n spawnSignUpActor: Be({\n actorRef: (o, i) => {\n const { services: a } = o, s = Ub({ services: a }).withContext(on(o, \"SIGN_UP\"));\n return kt(s, { name: \"signUpActor\" });\n }\n }),\n spawnForgotPasswordActor: Be({\n actorRef: (o, i) => {\n const { services: a } = o, s = Ib({ services: a }).withContext(on(o, \"FORGOT_PASSWORD\"));\n return kt(s, { name: \"forgotPasswordActor\" });\n }\n }),\n spawnVerifyUserAttributesActor: Be({\n actorRef: (o) => {\n const i = Ob().withContext(on(o));\n return kt(i, { name: \"verifyUserAttributesActor\" });\n }\n }),\n spawnSignOutActor: Be({\n actorRef: (o) => {\n const i = $b().withContext({ user: o == null ? void 0 : o.user });\n return kt(i, { name: \"signOutActor\" });\n }\n }),\n configure: Be((o, i) => {\n const { services: a, ...s } = js(n) ? i.data ?? {} : n;\n return {\n services: { ...Qe, ...a },\n config: s\n };\n }),\n setHasSetup: Be({ hasSetup: !0 })\n },\n guards: {\n ...jn,\n hasActor: ({ actorRef: o }) => !!o,\n isInitialStateSignUp: ({ config: o }) => o.initialState === \"signUp\",\n isInitialStateResetPassword: ({ config: o }) => o.initialState === \"forgotPassword\",\n shouldSetup: ({ hasSetup: o }) => !o,\n hasUser: ({ user: o }) => !!o\n },\n services: {\n getAmplifyConfig: ({ services: o }) => o.getAmplifyConfig(),\n handleGetCurrentUser: ({ services: o }) => o.getCurrentUser()\n }\n });\n}\nfunction Bb(e) {\n return e && Object.keys(e).forEach((t) => {\n Object.keys(e[t]).forEach((n) => {\n let r = e[t][n];\n r.required = r.isRequired;\n });\n }), e;\n}\nconst pe = {\n Accordion: \"amplify-accordion\",\n AccordionItem: \"amplify-accordion__item\",\n AccordionItemTrigger: \"amplify-accordion__item__trigger\",\n AccordionItemContent: \"amplify-accordion__item__content\",\n AccordionItemIcon: \"amplify-accordion__item__icon\",\n Alert: \"amplify-alert\",\n AlertIcon: \"amplify-alert__icon\",\n AlertHeading: \"amplify-alert__heading\",\n AlertBody: \"amplify-alert__body\",\n AlertDismiss: \"amplify-alert__dismiss\",\n Autocomplete: \"amplify-autocomplete\",\n AutocompleteMenu: \"amplify-autocomplete__menu\",\n AutocompleteMenuEmpty: \"amplify-autocomplete__menu--empty\",\n AutocompleteMenuFooter: \"amplify-autocomplete__menu__footer\",\n AutocompleteMenuHeader: \"amplify-autocomplete__menu__header\",\n AutocompleteMenuLoading: \"amplify-autocomplete__menu--loading\",\n AutocompleteMenuOption: \"amplify-autocomplete__menu__option\",\n AutocompleteMenuOptions: \"amplify-autocomplete__menu__options\",\n Avatar: \"amplify-avatar\",\n AvatarIcon: \"amplify-avatar__icon\",\n AvatarImage: \"amplify-avatar__image\",\n AvatarLoader: \"amplify-avatar__loader\",\n AIConversation: \"amplify-ai-conversation\",\n AIConversationScrollView: \"amplify-ai-conversation__scrollview\",\n AIConversationAttachment: \"amplify-ai-conversation__attachment\",\n AIConversationAttachmentList: \"amplify-ai-conversation__attachment__list\",\n AIConversationAttachmentImage: \"amplify-ai-conversation__attachment__image\",\n AIConversationAttachmentName: \"amplify-ai-conversation__attachment__name\",\n AIConversationAttachmentSize: \"amplify-ai-conversation__attachment__size\",\n AIConversationAttachmentRemove: \"amplify-ai-conversation__attachment__remove\",\n AIConversationForm: \"amplify-ai-conversation__form\",\n AIConversationFormAttach: \"amplify-ai-conversation__form__attach\",\n AIConversationFormError: \"amplify-ai-conversation__form__error\",\n AIConversationFormSend: \"amplify-ai-conversation__form__send\",\n AIConversationFormField: \"amplify-ai-conversation__form__field\",\n AIConversationFormDropzone: \"amplify-ai-conversation__form__dropzone\",\n AIConversationMessage: \"amplify-ai-conversation__message\",\n AIConversationMessageAvatar: \"amplify-ai-conversation__message__avatar\",\n AIConversationMessageSender: \"amplify-ai-conversation__message__sender\",\n AIConversationMessageSenderUsername: \"amplify-ai-conversation__message__sender__username\",\n AIConversationMessageSenderTimestamp: \"amplify-ai-conversation__message__sender__timestamp\",\n AIConversationMessageBody: \"amplify-ai-conversation__message__body\",\n AIConversationMessageContent: \"amplify-ai-conversation__message__content\",\n AIConversationMessageActions: \"amplify-ai-conversation__message__actions\",\n AIConversationMessageList: \"amplify-ai-conversation__message__list\",\n AIConversationPrompt: \"amplify-ai-conversation__prompt\",\n Badge: \"amplify-badge\",\n Breadcrumbs: \"amplify-breadcrumbs\",\n BreadcrumbsList: \"amplify-breadcrumbs__list\",\n BreadcrumbsItem: \"amplify-breadcrumbs__item\",\n BreadcrumbsSeparator: \"amplify-breadcrumbs__separator\",\n BreadcrumbsLink: \"amplify-breadcrumbs__link\",\n Button: \"amplify-button\",\n ButtonGroup: \"amplify-buttongroup\",\n ButtonLoaderWrapper: \"amplify-button__loader-wrapper\",\n Card: \"amplify-card\",\n Checkbox: \"amplify-checkbox\",\n CheckboxButton: \"amplify-checkbox__button\",\n CheckboxIcon: \"amplify-checkbox__icon\",\n CheckboxInput: \"amplify-checkbox__input\",\n CheckboxLabel: \"amplify-checkbox__label\",\n CheckboxField: \"amplify-checkboxfield\",\n Collection: \"amplify-collection\",\n CollectionItems: \"amplify-collection-items\",\n CollectionSearch: \"amplify-collection-search\",\n CollectionPagination: \"amplify-collection-pagination\",\n CountryCodeSelect: \"amplify-countrycodeselect\",\n DialCodeSelect: \"amplify-dialcodeselect\",\n Divider: \"amplify-divider\",\n DividerLabel: \"amplify-divider--label\",\n DropZone: \"amplify-dropzone\",\n Field: \"amplify-field\",\n FieldDescription: \"amplify-field__description\",\n FieldErrorMessage: \"amplify-field__error-message\",\n FieldGroup: \"amplify-field-group\",\n FieldGroupControl: \"amplify-field-group__control\",\n FieldGroupOuterEnd: \"amplify-field-group__outer-end\",\n FieldGroupOuterStart: \"amplify-field-group__outer-start\",\n FieldGroupInnerEnd: \"amplify-field-group__inner-end\",\n FieldGroupInnerStart: \"amplify-field-group__inner-start\",\n FieldGroupIcon: \"amplify-field-group__icon\",\n FieldGroupIconButton: \"amplify-field-group__icon-button\",\n FieldGroupHasInnerEnd: \"amplify-field-group--has-inner-end\",\n FieldGroupHasInnerStart: \"amplify-field-group--has-inner-start\",\n FieldShowPassword: \"amplify-field__show-password\",\n FieldGroupFieldWrapper: \"amplify-field-group__field-wrapper\",\n Fieldset: \"amplify-fieldset\",\n FieldsetLegend: \"amplify-fieldset__legend\",\n FileUploader: \"amplify-fileuploader\",\n FileUploaderDropZone: \"amplify-fileuploader__dropzone\",\n FileUploaderDropZoneIcon: \"amplify-fileuploader__dropzone__icon\",\n FileUploaderDropZoneText: \"amplify-fileuploader__dropzone__text\",\n FileUploaderFilePicker: \"amplify-fileuploader__file__picker\",\n FileUploaderFile: \"amplify-fileuploader__file\",\n FileUploaderFileWrapper: \"amplify-fileuploader__file__wrapper\",\n FileUploaderFileList: \"amplify-fileuploader__file__list\",\n FileUploaderFileName: \"amplify-fileuploader__file__name\",\n FileUploaderFileSize: \"amplify-fileuploader__file__size\",\n FileUploaderFileInfo: \"amplify-fileuploader__file__info\",\n FileUploaderFileImage: \"amplify-fileuploader__file__image\",\n FileUploaderFileMain: \"amplify-fileuploader__file__main\",\n FileUploaderFileStatus: \"amplify-fileuploader__file__status\",\n FileUploaderLoader: \"amplify-fileuploader__loader\",\n FileUploaderPreviewer: \"amplify-fileuploader__previewer\",\n FileUploaderPreviewerText: \"amplify-fileuploader__previewer__text\",\n FileUploaderPreviewerActions: \"amplify-fileuploader__previewer__actions\",\n FileUploaderPreviewerFooter: \"amplify-fileuploader__previewer__footer\",\n Flex: \"amplify-flex\",\n Grid: \"amplify-grid\",\n Heading: \"amplify-heading\",\n HighlightMatch: \"amplify-highlightmatch\",\n HighlightMatchHighlighted: \"amplify-highlightmatch__highlighted\",\n Icon: \"amplify-icon\",\n Image: \"amplify-image\",\n Input: \"amplify-input\",\n Label: \"amplify-label\",\n Link: \"amplify-link\",\n Loader: \"amplify-loader\",\n LoaderLabel: \"amplify-loader__label\",\n MenuContent: \"amplify-menu__content\",\n MenuItem: \"amplify-menu__content__item\",\n MenuTrigger: \"amplify-menu__trigger\",\n MenuWrapper: \"amplify-menu__wrapper\",\n Message: \"amplify-message\",\n MessageIcon: \"amplify-message__icon\",\n MessageHeading: \"amplify-message__heading\",\n MessageBody: \"amplify-message__body\",\n MessageContent: \"amplify-message__content\",\n MessageDismiss: \"amplify-message__dismiss\",\n Pagination: \"amplify-pagination\",\n PaginationItem: \"amplify-pagination__item\",\n PasswordField: \"amplify-passwordfield\",\n PhoneNumberField: \"amplify-phonenumberfield\",\n Placeholder: \"amplify-placeholder\",\n Radio: \"amplify-radio\",\n RadioButton: \"amplify-radio__button\",\n RadioInput: \"amplify-radio__input\",\n RadioLabel: \"amplify-radio__label\",\n RadioGroupField: \"amplify-radiogroupfield\",\n RadioGroup: \"amplify-radiogroup\",\n Rating: \"amplify-rating\",\n RatingItem: \"amplify-rating__item\",\n RatingIcon: \"amplify-rating__icon\",\n RatingLabel: \"amplify-rating__label\",\n ScrollView: \"amplify-scrollview\",\n SearchField: \"amplify-searchfield\",\n SearchFieldClear: \"amplify-searchfield__clear\",\n SearchFieldSearch: \"amplify-searchfield__search\",\n Select: \"amplify-select\",\n SelectField: \"amplify-selectfield\",\n SelectWrapper: \"amplify-select__wrapper\",\n SelectIcon: \"amplify-select__icon\",\n SliderField: \"amplify-sliderfield\",\n SliderFieldGroup: \"amplify-sliderfield__group\",\n SliderFieldLabel: \"amplify-sliderfield__label\",\n SliderFieldRange: \"amplify-sliderfield__range\",\n SliderFieldRoot: \"amplify-sliderfield__root\",\n SliderFieldThumb: \"amplify-sliderfield__thumb\",\n SliderFieldTrack: \"amplify-sliderfield__track\",\n StepperField: \"amplify-stepperfield\",\n StepperFieldButtonDecrease: \"amplify-stepperfield__button--decrease\",\n StepperFieldButtonIncrease: \"amplify-stepperfield__button--increase\",\n StepperFieldInput: \"amplify-stepperfield__input\",\n StorageImage: \"amplify-storageimage\",\n StorageManager: \"amplify-storagemanager\",\n StorageManagerDropZone: \"amplify-storagemanager__dropzone\",\n StorageManagerDropZoneIcon: \"amplify-storagemanager__dropzone__icon\",\n StorageManagerDropZoneText: \"amplify-storagemanager__dropzone__text\",\n StorageManagerFilePicker: \"amplify-storagemanager__file__picker\",\n StorageManagerFile: \"amplify-storagemanager__file\",\n StorageManagerFileWrapper: \"amplify-storagemanager__file__wrapper\",\n StorageManagerFileList: \"amplify-storagemanager__file__list\",\n StorageManagerFileName: \"amplify-storagemanager__file__name\",\n StorageManagerFileSize: \"amplify-storagemanager__file__size\",\n StorageManagerFileInfo: \"amplify-storagemanager__file__info\",\n StorageManagerFileImage: \"amplify-storagemanager__file__image\",\n StorageManagerFileMain: \"amplify-storagemanager__file__main\",\n StorageManagerFileStatus: \"amplify-storagemanager__file__status\",\n StorageManagerLoader: \"amplify-storagemanager__loader\",\n StorageManagerPreviewer: \"amplify-storagemanager__previewer\",\n StorageManagerPreviewerText: \"amplify-storagemanager__previewer__text\",\n StorageManagerPreviewerActions: \"amplify-storagemanager__previewer__actions\",\n StorageManagerPreviewerFooter: \"amplify-storagemanager__previewer__footer\",\n SwitchField: \"amplify-switchfield\",\n SwitchLabel: \"amplify-switch__label\",\n SwitchThumb: \"amplify-switch__thumb\",\n SwitchTrack: \"amplify-switch__track\",\n SwitchWrapper: \"amplify-switch__wrapper\",\n Table: \"amplify-table\",\n TableCaption: \"amplify-table__caption\",\n TableBody: \"amplify-table__body\",\n TableTd: \"amplify-table__td\",\n TableTh: \"amplify-table__th\",\n TableFoot: \"amplify-table__foot\",\n TableHead: \"amplify-table__head\",\n TableRow: \"amplify-table__row\",\n Tabs: \"amplify-tabs\",\n TabsList: \"amplify-tabs__list\",\n TabsItem: \"amplify-tabs__item\",\n TabsPanel: \"amplify-tabs__panel\",\n Text: \"amplify-text\",\n Textarea: \"amplify-textarea\",\n TextAreaField: \"amplify-textareafield\",\n TextField: \"amplify-textfield\",\n ToggleButton: \"amplify-togglebutton\",\n ToggleButtonGroup: \"amplify-togglebuttongroup\",\n VisuallyHidden: \"amplify-visually-hidden\"\n}, Lb = ({ componentName: e, packageName: t, version: n }) => {\n const r = [`ui-${t}`, n];\n switch (e) {\n case \"AIConversation\": {\n De({\n ...Fs,\n additionalDetails: [[e], r]\n });\n break;\n }\n case \"Authenticator\": {\n De({\n ...xs,\n additionalDetails: [[e], r]\n });\n break;\n }\n case \"ChangePassword\":\n case \"DeleteUser\": {\n De({\n ...Rs,\n additionalDetails: [[\"AccountSettings\"], r]\n });\n break;\n }\n case \"FileUploader\": {\n De({\n ...Ms,\n additionalDetails: [[e], r]\n });\n break;\n }\n case \"InAppMessaging\": {\n De({\n ...Ds,\n additionalDetails: [[e], r]\n });\n break;\n }\n case \"LocationSearch\": {\n De({\n ...Bs,\n additionalDetails: [[e], r]\n });\n break;\n }\n case \"MapView\": {\n De({\n ...Ls,\n additionalDetails: [[e], r]\n });\n break;\n }\n case \"StorageManager\": {\n De({\n ...Gs,\n additionalDetails: [[e], r]\n });\n break;\n }\n case \"StorageBrowser\": {\n De({\n ...zs,\n additionalDetails: [[e], r]\n });\n break;\n }\n }\n return Ys;\n}, Gb = {\n key: 0,\n class: \"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base\",\n \"data-variation\": \"error\",\n role: \"alert\"\n}, zb = { class: \"amplify-flex amplify-authenticator__icon-wrapper\" }, Wb = /* @__PURE__ */ x(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n class: \"amplify-icon\",\n \"aria-hidden\": \"true\",\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\"\n}, [\n /* @__PURE__ */ x(\"path\", { 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], -1), Vb = /* @__PURE__ */ x(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n class: \"amplify-icon\",\n \"aria-hidden\": \"true\",\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\"\n}, [\n /* @__PURE__ */ x(\"path\", { 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], -1), Fe = /* @__PURE__ */ q({\n __name: \"base-alert\",\n setup(e) {\n const t = le(!0), n = N(\"Dismiss alert\");\n function r() {\n t.value = !1;\n }\n return (o, i) => {\n const a = we;\n return t.value ? (U(), X(\"div\", Gb, [\n x(\"div\", zb, [\n Wb,\n x(\"div\", null, [\n E(o.$slots, \"default\")\n ])\n ]),\n C(a, {\n class: \"amplify-field-group__control amplify-alert__dismiss\",\n \"aria-label\": d(n),\n fullwidth: !1,\n variation: \"link\",\n type: \"button\",\n onClick: r\n }, {\n default: _(() => [\n Vb\n ]),\n _: 1\n }, 8, [\"aria-label\"])\n ])) : j(\"\", !0);\n };\n }\n}), Re = /* @__PURE__ */ q({\n __name: \"base-field-set\",\n setup(e) {\n const t = Tr();\n return (n, r) => E(n.$slots, \"fieldSetI\", Ie(n.$attrs, {\n slotData: d(t).default && d(t).default()\n }), () => [\n x(\"fieldset\", Ie(n.$attrs, { \"data-amplify-fieldset\": \"\" }), [\n E(n.$slots, \"default\")\n ], 16)\n ]);\n }\n});\nfunction jb(e) {\n return us() ? (di(e), !0) : !1;\n}\nfunction ka(e) {\n let t = 0, n, r;\n const o = () => {\n t -= 1, r && t <= 0 && (r.stop(), n = void 0, r = void 0);\n };\n return (...i) => (t += 1, n || (r = cs(!0), n = r.run(() => e(...i))), jb(o), n);\n}\nfunction Hb(e) {\n return \"state\" in e;\n}\nvar si = function() {\n};\nfunction Yb(e) {\n return \"getSnapshot\" in e ? e.getSnapshot() : Hb(e) ? e.state : void 0;\n}\nfunction Kb(e, t) {\n t === void 0 && (t = Yb);\n var n = ds(e) ? e : co(e), r = co(t(n.value)), o = function(i) {\n n.value.send(i);\n };\n return fs(n, function(i, a, s) {\n r.value = t(i);\n var l = i.subscribe({\n next: function(c) {\n return r.value = c;\n },\n error: si,\n complete: si\n }).unsubscribe;\n s(function() {\n return l();\n });\n }, {\n immediate: !0\n }), { state: r, send: o };\n}\nconst qb = (e) => {\n var t, n, r;\n return {\n ...(r = (n = (t = kr(e)) == null ? void 0 : t.formFields) == null ? void 0 : n.setupTotp) == null ? void 0 : r.QR\n };\n}, to = ka(() => {\n const e = Db(), t = Xi(e).start(), n = le(\"configuring\"), { state: r, send: o } = Kb(t), i = () => {\n n.value = \"authenticated\";\n }, a = () => {\n n.value = \"unauthenticated\";\n }, s = Ks(\n t,\n (l, c) => Si(l, c, { onSignIn: i, onSignOut: a })\n );\n return mi().then(() => {\n n.value = \"authenticated\";\n }).catch(() => {\n n.value = \"unauthenticated\";\n }), di(() => {\n s();\n }), { authStatus: n, service: t, send: o, state: r };\n}), ye = ka(() => {\n const { authStatus: e, state: t, send: n } = to(), r = fi({});\n return ps(() => {\n const o = el({ send: n, state: t.value });\n for (const a of Object.keys(o))\n r[a] = o[a];\n const i = o.route === \"setupTotp\" ? qb(t.value) : null;\n r.QRFields = i, r.authStatus = e.value, r.send = n, r.state = t;\n }), r;\n});\nlet Jb = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, n) => (n &= 63, n < 36 ? t += n.toString(36) : n < 62 ? t += (n - 26).toString(36).toUpperCase() : n > 62 ? t += \"-\" : t += \"_\", t), \"\");\nconst Yn = /* @__PURE__ */ q({\n __name: \"base-input\",\n emits: [\"update:modelValue\"],\n setup(e, { emit: t }) {\n const n = (r) => {\n t(\"update:modelValue\", r.target.value);\n };\n return (r, o) => (U(), X(\"input\", {\n onChange: o[0] || (o[0] = (i) => n(i)),\n \"data-amplify-input\": \"\"\n }, null, 32));\n }\n}), Zb = {}, Qb = { \"data-amplify-label\": \"\" };\nfunction Xb(e, t) {\n return U(), X(\"label\", Qb, [\n E(e.$slots, \"default\")\n ]);\n}\nconst Kn = /* @__PURE__ */ Tn(Zb, [[\"render\", Xb]]), e1 = [\"aria-label\", \"aria-checked\"], t1 = /* @__PURE__ */ x(\"path\", { 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\" }, null, -1), n1 = [\n t1\n], r1 = /* @__PURE__ */ x(\"path\", {\n d: \"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z\",\n fill: \"none\"\n}, null, -1), o1 = /* @__PURE__ */ x(\"path\", { 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\" }, null, -1), i1 = [\n r1,\n o1\n], a1 = {\n inheritAttrs: !1\n}, Na = /* @__PURE__ */ q({\n ...a1,\n __name: \"password-control\",\n props: {\n name: null,\n label: null,\n autocomplete: { default: \"new-password\" },\n hasError: { type: Boolean, default: !1 },\n labelHidden: { type: Boolean },\n placeholder: null,\n required: { type: Boolean, default: !0 },\n describedBy: null\n },\n setup(e) {\n const t = e, n = N(\"Show password\"), r = N(\"Hide password\"), o = le(\"password\"), i = le(n), a = Math.floor(Math.random() * 999999), { name: s, label: l, autocomplete: c, hasError: u, labelHidden: m, placeholder: f, required: p } = re(t), h = le(\"\");\n function v() {\n i.value = i.value === n ? r : n, o.value = o.value === \"password\" ? \"text\" : \"password\";\n }\n const b = N((f == null ? void 0 : f.value) ?? l.value), g = N(l.value);\n return (w, y) => {\n const S = Kn, I = Yn, T = me;\n return U(), W(T, {\n class: Ae([\n d(pe).Flex,\n d(pe).Field,\n d(pe).TextField,\n d(pe).PasswordField\n ])\n }, {\n default: _(() => [\n C(S, {\n class: Ae([\"amplify-label\", { \"amplify-visually-hidden\": d(m) }]),\n for: \"amplify-field-\" + d(a)\n }, {\n default: _(() => [\n M(R(d(g)), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"for\"]),\n C(T, {\n class: Ae([d(pe).Flex, d(pe).FieldGroup])\n }, {\n default: _(() => [\n C(T, {\n class: Ae(d(pe).FieldGroupFieldWrapper)\n }, {\n default: _(() => [\n C(I, Ie(w.$attrs, {\n modelValue: h.value,\n \"onUpdate:modelValue\": y[0] || (y[0] = (P) => h.value = P),\n class: [\n d(pe).Input,\n d(pe).FieldGroupControl\n ],\n id: \"amplify-field-\" + d(a),\n \"data-amplify-password\": \"true\",\n name: d(s),\n autocomplete: d(c),\n required: d(p) ?? !0,\n placeholder: d(b),\n type: o.value,\n \"aria-invalid\": d(u),\n \"aria-describedBy\": e.describedBy,\n autocapitalize: \"off\"\n }), null, 16, [\"modelValue\", \"class\", \"id\", \"name\", \"autocomplete\", \"required\", \"placeholder\", \"type\", \"aria-invalid\", \"aria-describedBy\"])\n ]),\n _: 1\n }, 8, [\"class\"]),\n C(T, {\n class: Ae(d(pe).FieldGroupOuterEnd)\n }, {\n default: _(() => [\n x(\"button\", {\n \"aria-label\": i.value,\n \"aria-checked\": o.value !== \"password\",\n class: Ae([\n d(pe).Button,\n d(pe).FieldGroupControl,\n d(pe).FieldShowPassword\n ]),\n \"data-fullwidth\": \"false\",\n type: \"button\",\n role: \"switch\",\n onClick: v\n }, [\n o.value === \"password\" ? (U(), X(\"svg\", {\n key: 0,\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"currentColor\",\n viewBox: \"0 0 24 24\",\n class: Ae(d(pe).Icon)\n }, n1, 2)) : (U(), X(\"svg\", {\n key: 1,\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"currentColor\",\n viewBox: \"0 0 24 24\",\n class: Ae(d(pe).Icon)\n }, i1, 2))\n ], 10, e1)\n ]),\n _: 1\n }, 8, [\"class\"])\n ]),\n _: 1\n }, 8, [\"class\"])\n ]),\n _: 1\n }, 8, [\"class\"]);\n };\n }\n}), s1 = [\"value\", \"selected\"], l1 = /* @__PURE__ */ q({\n __name: \"base-select\",\n props: {\n selectValue: { default: \"\" },\n options: null\n },\n emits: [\"update:selectValue\"],\n setup(e, { emit: t }) {\n const n = e, { options: r, selectValue: o } = re(n), i = (a) => {\n t(\"update:selectValue\", a.target.value);\n };\n return (a, s) => (U(), X(\"select\", {\n onChange: s[0] || (s[0] = (l) => i(l))\n }, [\n (U(!0), X(qe, null, En(d(r), (l, c) => (U(), X(\"option\", {\n key: c,\n value: l,\n selected: l == d(o) ? !0 : void 0\n }, R(l), 9, s1))), 128))\n ], 32));\n }\n}), c1 = /* @__PURE__ */ x(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"currentColor\",\n viewBox: \"0 0 24 24\",\n class: \"amplify-icon\"\n}, [\n /* @__PURE__ */ x(\"path\", { d: \"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\" })\n], -1), u1 = /* @__PURE__ */ q({\n __name: \"alias-control\",\n props: {\n label: { default: \"Username\" },\n name: { default: \"username\" },\n placeholder: { default: \"\" },\n autocomplete: { default: \"\" },\n labelHidden: { type: Boolean },\n required: { type: Boolean, default: !0 },\n dialCode: null,\n dialCodeList: null,\n type: { default: \"text\" },\n hasError: { type: Boolean },\n describedBy: null\n },\n setup(e) {\n const t = e, { label: n, name: r, placeholder: o, autocomplete: i, labelHidden: a, required: s, dialCode: l, dialCodeList: c } = re(t), u = Math.floor(Math.random() * 999999), m = Math.floor(Math.random() * 999999);\n return (f, p) => {\n const h = Kn, v = l1, b = me, g = Yn;\n return U(), W(b, { class: \"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield\" }, {\n default: _(() => [\n C(h, Ie({\n for: \"amplify-field-\" + d(u),\n class: [\"amplify-label\", { \"amplify-visually-hidden\": d(a) }]\n }, f.$attrs), {\n default: _(() => [\n M(R(d(n)), 1)\n ]),\n _: 1\n }, 16, [\"for\", \"class\"]),\n C(b, { class: \"amplify-flex amplify-field-group\" }, {\n default: _(() => [\n C(b, { class: \"amplify-field-group__outer-start\" }, {\n default: _(() => [\n e.type === \"tel\" ? (U(), W(b, {\n key: 0,\n class: \"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column\"\n }, {\n default: _(() => [\n C(h, Ie({\n for: \"amplify-field-\" + d(m),\n class: \"amplify-label amplify-visually-hidden\"\n }, f.$attrs), {\n default: _(() => [\n M(R(\"Country Code\"))\n ]),\n _: 1\n }, 16, [\"for\"]),\n C(b, { class: \"amplify-select__wrapper\" }, {\n default: _(() => [\n C(v, {\n class: \"amplify-select amplify-field-group__control\",\n id: \"amplify-field-\" + d(m),\n autocomplete: \"tel-country-code\",\n \"aria-label\": \"country code\",\n name: \"country_code\",\n options: d(c),\n \"select-value\": d(l)\n }, null, 8, [\"id\", \"options\", \"select-value\"]),\n C(b, { class: \"amplify-flex amplify-select__icon\" }, {\n default: _(() => [\n c1\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n })) : j(\"\", !0)\n ]),\n _: 1\n }),\n C(b, { class: \"amplify-field-group__field-wrapper\" }, {\n default: _(() => [\n C(g, {\n class: \"amplify-input amplify-field-group__control\",\n id: \"amplify-field-\" + d(u),\n autocomplete: d(i),\n name: d(r),\n required: d(s) ?? !0,\n type: e.type,\n placeholder: d(o),\n \"aria-invalid\": e.hasError,\n \"aria-describedBy\": e.describedBy,\n autocapitalize: \"off\"\n }, null, 8, [\"id\", \"autocomplete\", \"name\", \"required\", \"type\", \"placeholder\", \"aria-invalid\", \"aria-describedBy\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n });\n };\n }\n}), d1 = [\"id\"], Ua = /* @__PURE__ */ q({\n __name: \"base-form-field\",\n props: {\n name: { default: \"\" },\n formField: { default: () => ({}) }\n },\n setup(e) {\n const t = e, { name: n, formField: r } = re(t), { validationErrors: o } = re(ye()), { type: i } = r.value, a = i === \"password\", s = Jb(12), l = D(() => il(o.value[n.value])), c = D(() => {\n var m;\n return ((m = l.value) == null ? void 0 : m.length) > 0;\n }), u = D(() => c.value ? s : void 0);\n return (m, f) => (U(), X(qe, null, [\n a ? (U(), W(Na, {\n key: 0,\n name: d(n),\n label: d(r).label,\n placeholder: d(r).placeholder,\n required: d(r).isRequired,\n \"label-hidden\": d(r).labelHidden,\n autocomplete: d(r).autocomplete,\n hasError: d(c),\n describedBy: d(u)\n }, null, 8, [\"name\", \"label\", \"placeholder\", \"required\", \"label-hidden\", \"autocomplete\", \"hasError\", \"describedBy\"])) : (U(), W(u1, {\n key: 1,\n name: d(n),\n label: d(r).label,\n placeholder: d(r).placeholder,\n required: d(r).isRequired,\n \"label-hidden\": d(r).labelHidden,\n autocomplete: d(r).autocomplete,\n \"dial-code\": d(r).dialCode,\n \"dial-code-list\": d(r).dialCodeList,\n type: d(r).type,\n hasError: d(c),\n describedBy: d(u)\n }, null, 8, [\"name\", \"label\", \"placeholder\", \"required\", \"label-hidden\", \"autocomplete\", \"dial-code\", \"dial-code-list\", \"type\", \"hasError\", \"describedBy\"])),\n d(c) ? (U(), X(\"div\", {\n key: 2,\n id: d(u)\n }, [\n (U(!0), X(qe, null, En(d(l), (p, h) => (U(), X(\"p\", {\n key: h,\n role: \"alert\",\n \"data-variation\": \"error\",\n class: \"amplify-text amplify-text--error\"\n }, R(d(N)(p)), 1))), 128))\n ], 8, d1)) : j(\"\", !0)\n ], 64));\n }\n}), xe = /* @__PURE__ */ q({\n __name: \"base-form-fields\",\n props: {\n route: null\n },\n setup(e) {\n const t = e, { route: n } = re(t), { state: r } = to();\n let o = [];\n return ms(() => {\n o = fc(n.value, r.value);\n }), (i, a) => (U(!0), X(qe, null, En(d(o), ([s, l]) => (U(), W(Ua, {\n name: s,\n key: s,\n formField: l\n }, null, 8, [\"name\", \"formField\"]))), 128));\n }\n}), an = /* @__PURE__ */ q({\n __name: \"federated-sign-in-button\",\n props: {\n provider: null\n },\n setup(e) {\n const t = e, { provider: n } = re(t), { toFederatedSignIn: r } = ye(), o = () => {\n r({ provider: n.value });\n };\n return (i, a) => {\n const s = we;\n return U(), W(s, {\n class: \"amplify-authenticator__federated-button\",\n type: \"button\",\n onClick: o\n }, {\n default: _(() => [\n E(i.$slots, \"default\")\n ]),\n _: 3\n });\n };\n }\n}), f1 = /* @__PURE__ */ x(\"svg\", {\n \"aria-label\": \"Amazon icon\",\n class: \"amplify-icon\",\n viewBox: \"0 0 248 268\"\n}, [\n /* @__PURE__ */ x(\"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 })\n], -1), p1 = { class: \"amplify-text\" }, m1 = /* @__PURE__ */ x(\"svg\", {\n \"aria-label\": \"Apple icon\",\n class: \"amplify-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 /* @__PURE__ */ x(\"path\", { 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], -1), g1 = { class: \"amplify-text\" }, h1 = /* @__PURE__ */ x(\"svg\", {\n \"aria-label\": \"Facebook icon\",\n class: \"amplify-icon\",\n viewBox: \"0 0 279 538\"\n}, [\n /* @__PURE__ */ x(\"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 })\n], -1), y1 = { class: \"amplify-text\" }, v1 = /* @__PURE__ */ x(\"svg\", {\n \"aria-label\": \"Google icon\",\n class: \"amplify-icon\",\n viewBox: \"0 0 256 262\",\n xmlns: \"http://www.w3.org/2000/svg\",\n preserveAspectRatio: \"xMidYMid\"\n}, [\n /* @__PURE__ */ x(\"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 }),\n /* @__PURE__ */ x(\"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 }),\n /* @__PURE__ */ x(\"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 }),\n /* @__PURE__ */ x(\"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 })\n], -1), _1 = { class: \"amplify-text\" }, w1 = [\"data-label\"], no = /* @__PURE__ */ q({\n __name: \"federated-sign-in\",\n setup(e) {\n const t = ye(), { route: n, socialProviders: r } = t, o = r == null ? void 0 : r.includes(\"amazon\"), i = r == null ? void 0 : r.includes(\"apple\"), a = r == null ? void 0 : r.includes(\"facebook\"), s = r == null ? void 0 : r.includes(\"google\"), l = a || s || o || i, { getSignInWithFederationText: c, getOrText: u } = Ee, m = D(() => ur), f = D(() => c(n, \"amazon\")), p = D(() => c(n, \"apple\")), h = D(() => c(n, \"facebook\")), v = D(() => c(n, \"google\")), b = D(() => u());\n return (g, w) => {\n const y = me;\n return d(l) ? (U(), W(y, {\n key: 0,\n class: \"amplify-flex amplify-authenticator__federated-buttons\"\n }, {\n default: _(() => [\n d(o) ? (U(), W(an, {\n key: 0,\n provider: d(m).Amazon\n }, {\n default: _(() => [\n f1,\n x(\"span\", p1, R(d(f)), 1)\n ]),\n _: 1\n }, 8, [\"provider\"])) : j(\"\", !0),\n d(i) ? (U(), W(an, {\n key: 1,\n provider: d(m).Apple\n }, {\n default: _(() => [\n m1,\n x(\"span\", g1, R(d(p)), 1)\n ]),\n _: 1\n }, 8, [\"provider\"])) : j(\"\", !0),\n d(a) ? (U(), W(an, {\n key: 2,\n provider: d(m).Facebook\n }, {\n default: _(() => [\n h1,\n x(\"span\", y1, R(d(h)), 1)\n ]),\n _: 1\n }, 8, [\"provider\"])) : j(\"\", !0),\n d(s) ? (U(), W(an, {\n key: 3,\n provider: d(m).Google\n }, {\n default: _(() => [\n v1,\n x(\"span\", _1, R(d(v)), 1)\n ]),\n _: 1\n }, 8, [\"provider\"])) : j(\"\", !0),\n x(\"hr\", {\n class: \"amplify-divider amplify-divider--horizontal amplify-divider--small\",\n \"aria-orientation\": \"horizontal\",\n \"data-label\": d(b)\n }, null, 8, w1)\n ]),\n _: 1\n })) : j(\"\", !0);\n };\n }\n}), S1 = /* @__PURE__ */ x(\"legend\", { class: \"amplify-visually-hidden\" }, \"Sign in\", -1), b1 = { \"data-amplify-footer\": \"\" }, $a = /* @__PURE__ */ q({\n __name: \"sign-in\",\n setup(e) {\n const t = ye(), { submitForm: n, updateForm: r, toForgotPassword: o } = t, { error: i, isPending: a } = re(t), { getForgotPasswordText: s, getSignInText: l, getSigningInText: c } = Ee, u = D(() => s()), m = D(() => l()), f = D(() => c()), p = (b) => {\n const { name: g, value: w } = b.target;\n r({ name: g, value: w });\n }, h = (b) => {\n n($e(b));\n }, v = () => {\n o();\n };\n return (b, g) => {\n const w = Re, y = Fe, S = we, I = me, T = Ue, P = Ne;\n return E(b.$slots, \"signInSlotI\", oe(ie(b.$attrs)), () => [\n E(b.$slots, \"header\"),\n C(I, oe(ie(b.$attrs)), {\n default: _(() => [\n C(T, {\n \"data-amplify-authenticator-signin\": \"\",\n onInput: p,\n onSubmit: ue(h, [\"prevent\"]),\n method: \"post\"\n }, {\n formt: _(({ slotData: k }) => [\n E(b.$slots, \"form\", {\n info: k,\n onSignInSubmit: h,\n onInput: p,\n onForgotPasswordClicked: v\n })\n ]),\n default: _(() => [\n C(no),\n C(I, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n C(w, {\n disabled: d(a),\n class: \"amplify-flex amplify-authenticator__column\"\n }, {\n fieldSetI: _(({ slotData: k }) => [\n E(b.$slots, \"signin-fields\", { info: k })\n ]),\n default: _(() => [\n S1,\n C(xe, { route: \"signIn\" })\n ]),\n _: 3\n }, 8, [\"disabled\"]),\n d(i) ? (U(), W(y, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(i))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(S, {\n disabled: d(a),\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !0,\n loading: !1,\n variation: \"primary\"\n }, {\n default: _(() => [\n M(R(d(a) ? d(f) : d(m)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16),\n C(P, null, {\n default: _(() => [\n E(b.$slots, \"footer\", {}, () => [\n x(\"div\", b1, [\n C(S, {\n onClick: v,\n class: \"amplify-field-group__control amplify-authenticator__font\",\n variation: \"link\",\n fullwidth: !0,\n size: \"small\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\"\n }, {\n default: _(() => [\n M(R(d(u)), 1)\n ]),\n _: 1\n })\n ])\n ])\n ]),\n _: 3\n })\n ]);\n };\n }\n}), Oa = /* @__PURE__ */ q({\n __name: \"authenticator-sign-up-form-fields\",\n setup(e) {\n return (t, n) => (U(), W(xe, { route: \"signUp\" }));\n }\n}), Fa = /* @__PURE__ */ q({\n __name: \"sign-up\",\n setup(e) {\n const t = ye(), { submitForm: n, updateBlur: r, updateForm: o } = t, { error: i, hasValidationErrors: a, isPending: s } = re(t), { getCreateAccountText: l } = Ee, c = D(() => l()), u = (p) => {\n const { checked: h, name: v, type: b, value: g } = p.target;\n o({\n name: v,\n value: b === \"checkbox\" && !h ? void 0 : g\n });\n };\n function m(p) {\n const { name: h } = p.target;\n r({ name: h });\n }\n const f = (p) => {\n n($e(p));\n };\n return (p, h) => {\n const v = Re, b = Fe, g = we, w = me, y = Ue, S = Ne;\n return E(p.$slots, \"signUpSlotI\", oe(ie(p.$attrs)), () => [\n E(p.$slots, \"header\"),\n C(w, oe(ie(p.$attrs)), {\n default: _(() => [\n C(y, {\n onInput: u,\n onBlurCapture: m,\n onSubmit: ue(f, [\"prevent\"])\n }, {\n default: _(() => [\n C(no),\n C(w, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n C(v, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(s)\n }, {\n fieldSetI: _(({ slotData: I }) => [\n E(p.$slots, \"signup-fields\", { info: I })\n ]),\n default: _(() => [\n C(Oa)\n ]),\n _: 3\n }, 8, [\"disabled\"]),\n d(i) ? (U(), W(b, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(i))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(g, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !0,\n loading: !1,\n variation: \"primary\",\n style: { \"border-radius\": \"0px\", \"font-weight\": \"normal\" },\n disabled: d(s) || d(a)\n }, {\n default: _(() => [\n M(R(d(c)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16),\n C(S, null, {\n default: _(() => [\n E(p.$slots, \"footer\")\n ]),\n _: 3\n })\n ]);\n };\n }\n}), C1 = {};\nfunction A1(e, t) {\n const n = me;\n return U(), W(n, {\n tabindex: \"0\",\n \"aria-orientation\": \"horizontal\",\n \"data-orientation\": \"horizontal\",\n class: \"amplify-authenticator__tabs amplify-tabs\"\n }, {\n default: _(() => [\n C(n, {\n class: \"amplify-tabs__list amplify-tabs__list--top amplify-tabs__list--equal amplify-authenticator__tabs-wrapper\",\n role: \"tablist\"\n }, {\n default: _(() => [\n E(e.$slots, \"default\")\n ]),\n _: 3\n })\n ]),\n _: 3\n });\n}\nconst I1 = /* @__PURE__ */ Tn(C1, [[\"render\", A1]]), E1 = [\"tabindex\", \"aria-selected\", \"id\", \"aria-controls\"], T1 = /* @__PURE__ */ q({\n __name: \"base-two-tab-item\",\n props: {\n label: null,\n id: null,\n active: { type: Boolean, default: !1 }\n },\n setup(e) {\n const t = e, { active: n, id: r, label: o } = re(t);\n return (i, a) => (U(), X(\"button\", {\n tabindex: d(n) ? 0 : -1,\n \"aria-selected\": d(n) ? \"true\" : \"false\",\n class: Ae([{ \"amplify-tabs__item--active\": d(n) }, \"amplify-tabs__item\"]),\n id: `${d(r)}-tab`,\n \"aria-controls\": `${d(r)}-panel`,\n role: \"tab\"\n }, R(d(o)), 11, E1));\n }\n}), P1 = \"4.2.31\", k1 = {};\nfunction N1(e, t) {\n return E(e.$slots, \"textI\", oe(ie(e.$attrs)), () => [\n x(\"span\", Ie(e.$attrs, { \"data-amplify-text\": \"\" }), [\n E(e.$slots, \"default\")\n ], 16)\n ]);\n}\nconst Ra = /* @__PURE__ */ Tn(k1, [[\"render\", N1]]), Xe = q({\n props: {\n level: {\n type: Number,\n default: 1\n }\n },\n inheritAttrs: !1,\n setup(e, { slots: t, attrs: n }) {\n var a, s;\n const r = t.default ? t.default() : [], o = t.headingI ? t.headingI() : [], i = `${n.class || \"\"} amplify-heading--${e.level}`;\n if (((s = (a = o[0]) == null ? void 0 : a.children) == null ? void 0 : s.length) === 0)\n o[0].children = [\n Zt(`h${e.level}`, { ...n, class: i }, [r])\n ];\n else\n return () => Zt(`h${e.level}`, { \"data-amplify-heading\": \"\", ...n, class: i }, [\n //@ts-ignore\n o[0] ? Zt(o[0].children[0]) : Zt(r[0])\n ]);\n return () => o;\n }\n}), xa = /* @__PURE__ */ q({\n __name: \"confirm-sign-up\",\n setup(e) {\n const t = ye(), { codeDeliveryDetails: n, error: r, isPending: o } = re(t), { resendCode: i, submitForm: a, updateForm: s } = t, { getDeliveryMethodText: l, getDeliveryMessageText: c, getResendCodeText: u, getConfirmText: m } = Ee, f = D(() => l(n.value)), p = D(() => u()), h = D(() => m()), v = D(() => c(n.value)), b = (S) => {\n const { name: I, value: T } = S.target;\n s({ name: I, value: T });\n }, g = (S) => {\n w(S);\n }, w = (S) => {\n a($e(S));\n }, y = () => {\n i();\n };\n return (S, I) => {\n const T = Xe, P = Ra, k = Re, $ = Fe, O = we, F = Ne, B = me, G = Ue;\n return E(S.$slots, \"confirmSignUpSlotI\", oe(ie(S.$attrs)), () => [\n C(B, oe(ie(S.$attrs)), {\n default: _(() => [\n C(G, {\n onInput: b,\n onSubmit: ue(g, [\"prevent\"])\n }, {\n default: _(() => [\n C(B, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n E(S.$slots, \"header\", {}, () => [\n C(T, {\n class: \"amplify-heading amplify-authenticator__heading\",\n level: 3\n }, {\n default: _(() => [\n M(R(d(f)), 1)\n ]),\n _: 1\n })\n ]),\n C(P, { class: \"amplify-authenticator__subtitle\" }, {\n default: _(() => [\n M(R(d(v)), 1)\n ]),\n _: 1\n }),\n C(k, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(o)\n }, {\n default: _(() => [\n C(xe, { route: \"confirmSignUp\" })\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(F, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(r) ? (U(), W($, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(r))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(O, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n loading: !1,\n variation: \"primary\",\n type: \"submit\",\n disabled: d(o)\n }, {\n default: _(() => [\n M(R(d(h)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(O, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n variation: \"default\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\",\n onClick: ue(y, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(p)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(S.$slots, \"footer\")\n ]),\n _: 3\n })\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16)\n ]);\n };\n }\n}), Ma = /* @__PURE__ */ q({\n __name: \"confirm-sign-in\",\n setup(e) {\n const t = ye(), { submitForm: n, toSignIn: r, updateForm: o } = t, { error: i, isPending: a, challengeName: s } = re(t), l = D(() => s.value), { getBackToSignInText: c, getConfirmText: u, getChallengeText: m } = Ee, f = D(() => m(l.value)), p = D(() => c()), h = D(() => u()), v = (w) => {\n const { name: y, value: S } = w.target;\n o({ name: y, value: S });\n }, b = (w) => {\n n($e(w));\n }, g = () => {\n r();\n };\n return (w, y) => {\n const S = Xe, I = me, T = Fe, P = we, k = Ne, $ = Re, O = Ue;\n return E(w.$slots, \"confirmSignInSlotI\", oe(ie(w.$attrs)), () => [\n C(I, oe(ie(w.$attrs)), {\n default: _(() => [\n C(O, {\n \"data-amplify-authenticator-confirmsignin\": \"\",\n onInput: v,\n onSubmit: ue(b, [\"prevent\"])\n }, {\n default: _(() => [\n C($, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(a)\n }, {\n default: _(() => [\n E(w.$slots, \"header\", {}, () => [\n C(S, {\n level: 3,\n class: \"amplify-heading\"\n }, {\n default: _(() => [\n M(R(d(f)), 1)\n ]),\n _: 1\n })\n ]),\n C(I, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n C(xe, { route: \"confirmSignIn\" })\n ]),\n _: 1\n }),\n C(k, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(i) ? (U(), W(T, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(i))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(P, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n loading: !1,\n variation: \"primary\",\n style: { \"font-weight\": \"normal\" },\n disabled: d(a)\n }, {\n default: _(() => [\n M(R(d(h)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(P, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n size: \"small\",\n variation: \"link\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\",\n onClick: ue(g, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(p)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(w.$slots, \"footer\")\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"disabled\"])\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16)\n ]);\n };\n }\n});\nvar qt = {}, U1 = function() {\n return typeof Promise == \"function\" && Promise.prototype && Promise.prototype.then;\n}, Da = {}, Se = {};\nlet ro;\nconst $1 = [\n 0,\n // Not used\n 26,\n 44,\n 70,\n 100,\n 134,\n 172,\n 196,\n 242,\n 292,\n 346,\n 404,\n 466,\n 532,\n 581,\n 655,\n 733,\n 815,\n 901,\n 991,\n 1085,\n 1156,\n 1258,\n 1364,\n 1474,\n 1588,\n 1706,\n 1828,\n 1921,\n 2051,\n 2185,\n 2323,\n 2465,\n 2611,\n 2761,\n 2876,\n 3034,\n 3196,\n 3362,\n 3532,\n 3706\n];\nSe.getSymbolSize = function(t) {\n if (!t) throw new Error('\"version\" cannot be null or undefined');\n if (t < 1 || t > 40) throw new Error('\"version\" should be in range from 1 to 40');\n return t * 4 + 17;\n};\nSe.getSymbolTotalCodewords = function(t) {\n return $1[t];\n};\nSe.getBCHDigit = function(e) {\n let t = 0;\n for (; e !== 0; )\n t++, e >>>= 1;\n return t;\n};\nSe.setToSJISFunction = function(t) {\n if (typeof t != \"function\")\n throw new Error('\"toSJISFunc\" is not a valid function.');\n ro = t;\n};\nSe.isKanjiModeEnabled = function() {\n return typeof ro < \"u\";\n};\nSe.toSJIS = function(t) {\n return ro(t);\n};\nvar qn = {};\n(function(e) {\n e.L = { bit: 1 }, e.M = { bit: 0 }, e.Q = { bit: 3 }, e.H = { bit: 2 };\n function t(n) {\n if (typeof n != \"string\")\n throw new Error(\"Param is not a string\");\n switch (n.toLowerCase()) {\n case \"l\":\n case \"low\":\n return e.L;\n case \"m\":\n case \"medium\":\n return e.M;\n case \"q\":\n case \"quartile\":\n return e.Q;\n case \"h\":\n case \"high\":\n return e.H;\n default:\n throw new Error(\"Unknown EC Level: \" + n);\n }\n }\n e.isValid = function(r) {\n return r && typeof r.bit < \"u\" && r.bit >= 0 && r.bit < 4;\n }, e.from = function(r, o) {\n if (e.isValid(r))\n return r;\n try {\n return t(r);\n } catch {\n return o;\n }\n };\n})(qn);\nfunction Ba() {\n this.buffer = [], this.length = 0;\n}\nBa.prototype = {\n get: function(e) {\n const t = Math.floor(e / 8);\n return (this.buffer[t] >>> 7 - e % 8 & 1) === 1;\n },\n put: function(e, t) {\n for (let n = 0; n < t; n++)\n this.putBit((e >>> t - n - 1 & 1) === 1);\n },\n getLengthInBits: function() {\n return this.length;\n },\n putBit: function(e) {\n const t = Math.floor(this.length / 8);\n this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;\n }\n};\nvar O1 = Ba;\nfunction Jt(e) {\n if (!e || e < 1)\n throw new Error(\"BitMatrix size must be defined and greater than 0\");\n this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);\n}\nJt.prototype.set = function(e, t, n, r) {\n const o = e * this.size + t;\n this.data[o] = n, r && (this.reservedBit[o] = !0);\n};\nJt.prototype.get = function(e, t) {\n return this.data[e * this.size + t];\n};\nJt.prototype.xor = function(e, t, n) {\n this.data[e * this.size + t] ^= n;\n};\nJt.prototype.isReserved = function(e, t) {\n return this.reservedBit[e * this.size + t];\n};\nvar F1 = Jt, La = {};\n(function(e) {\n const t = Se.getSymbolSize;\n e.getRowColCoords = function(r) {\n if (r === 1) return [];\n const o = Math.floor(r / 7) + 2, i = t(r), a = i === 145 ? 26 : Math.ceil((i - 13) / (2 * o - 2)) * 2, s = [i - 7];\n for (let l = 1; l < o - 1; l++)\n s[l] = s[l - 1] - a;\n return s.push(6), s.reverse();\n }, e.getPositions = function(r) {\n const o = [], i = e.getRowColCoords(r), a = i.length;\n for (let s = 0; s < a; s++)\n for (let l = 0; l < a; l++)\n s === 0 && l === 0 || // top-left\n s === 0 && l === a - 1 || // bottom-left\n s === a - 1 && l === 0 || o.push([i[s], i[l]]);\n return o;\n };\n})(La);\nvar Ga = {};\nconst R1 = Se.getSymbolSize, li = 7;\nGa.getPositions = function(t) {\n const n = R1(t);\n return [\n // top-left\n [0, 0],\n // top-right\n [n - li, 0],\n // bottom-left\n [0, n - li]\n ];\n};\nvar za = {};\n(function(e) {\n e.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n };\n const t = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n };\n e.isValid = function(o) {\n return o != null && o !== \"\" && !isNaN(o) && o >= 0 && o <= 7;\n }, e.from = function(o) {\n return e.isValid(o) ? parseInt(o, 10) : void 0;\n }, e.getPenaltyN1 = function(o) {\n const i = o.size;\n let a = 0, s = 0, l = 0, c = null, u = null;\n for (let m = 0; m < i; m++) {\n s = l = 0, c = u = null;\n for (let f = 0; f < i; f++) {\n let p = o.get(m, f);\n p === c ? s++ : (s >= 5 && (a += t.N1 + (s - 5)), c = p, s = 1), p = o.get(f, m), p === u ? l++ : (l >= 5 && (a += t.N1 + (l - 5)), u = p, l = 1);\n }\n s >= 5 && (a += t.N1 + (s - 5)), l >= 5 && (a += t.N1 + (l - 5));\n }\n return a;\n }, e.getPenaltyN2 = function(o) {\n const i = o.size;\n let a = 0;\n for (let s = 0; s < i - 1; s++)\n for (let l = 0; l < i - 1; l++) {\n const c = o.get(s, l) + o.get(s, l + 1) + o.get(s + 1, l) + o.get(s + 1, l + 1);\n (c === 4 || c === 0) && a++;\n }\n return a * t.N2;\n }, e.getPenaltyN3 = function(o) {\n const i = o.size;\n let a = 0, s = 0, l = 0;\n for (let c = 0; c < i; c++) {\n s = l = 0;\n for (let u = 0; u < i; u++)\n s = s << 1 & 2047 | o.get(c, u), u >= 10 && (s === 1488 || s === 93) && a++, l = l << 1 & 2047 | o.get(u, c), u >= 10 && (l === 1488 || l === 93) && a++;\n }\n return a * t.N3;\n }, e.getPenaltyN4 = function(o) {\n let i = 0;\n const a = o.data.length;\n for (let l = 0; l < a; l++) i += o.data[l];\n return Math.abs(Math.ceil(i * 100 / a / 5) - 10) * t.N4;\n };\n function n(r, o, i) {\n switch (r) {\n case e.Patterns.PATTERN000:\n return (o + i) % 2 === 0;\n case e.Patterns.PATTERN001:\n return o % 2 === 0;\n case e.Patterns.PATTERN010:\n return i % 3 === 0;\n case e.Patterns.PATTERN011:\n return (o + i) % 3 === 0;\n case e.Patterns.PATTERN100:\n return (Math.floor(o / 2) + Math.floor(i / 3)) % 2 === 0;\n case e.Patterns.PATTERN101:\n return o * i % 2 + o * i % 3 === 0;\n case e.Patterns.PATTERN110:\n return (o * i % 2 + o * i % 3) % 2 === 0;\n case e.Patterns.PATTERN111:\n return (o * i % 3 + (o + i) % 2) % 2 === 0;\n default:\n throw new Error(\"bad maskPattern:\" + r);\n }\n }\n e.applyMask = function(o, i) {\n const a = i.size;\n for (let s = 0; s < a; s++)\n for (let l = 0; l < a; l++)\n i.isReserved(l, s) || i.xor(l, s, n(o, l, s));\n }, e.getBestMask = function(o, i) {\n const a = Object.keys(e.Patterns).length;\n let s = 0, l = 1 / 0;\n for (let c = 0; c < a; c++) {\n i(c), e.applyMask(c, o);\n const u = e.getPenaltyN1(o) + e.getPenaltyN2(o) + e.getPenaltyN3(o) + e.getPenaltyN4(o);\n e.applyMask(c, o), u < l && (l = u, s = c);\n }\n return s;\n };\n})(za);\nvar Jn = {};\nconst Ke = qn, sn = [\n // L M Q H\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 1,\n 2,\n 2,\n 1,\n 2,\n 2,\n 4,\n 1,\n 2,\n 4,\n 4,\n 2,\n 4,\n 4,\n 4,\n 2,\n 4,\n 6,\n 5,\n 2,\n 4,\n 6,\n 6,\n 2,\n 5,\n 8,\n 8,\n 4,\n 5,\n 8,\n 8,\n 4,\n 5,\n 8,\n 11,\n 4,\n 8,\n 10,\n 11,\n 4,\n 9,\n 12,\n 16,\n 4,\n 9,\n 16,\n 16,\n 6,\n 10,\n 12,\n 18,\n 6,\n 10,\n 17,\n 16,\n 6,\n 11,\n 16,\n 19,\n 6,\n 13,\n 18,\n 21,\n 7,\n 14,\n 21,\n 25,\n 8,\n 16,\n 20,\n 25,\n 8,\n 17,\n 23,\n 25,\n 9,\n 17,\n 23,\n 34,\n 9,\n 18,\n 25,\n 30,\n 10,\n 20,\n 27,\n 32,\n 12,\n 21,\n 29,\n 35,\n 12,\n 23,\n 34,\n 37,\n 12,\n 25,\n 34,\n 40,\n 13,\n 26,\n 35,\n 42,\n 14,\n 28,\n 38,\n 45,\n 15,\n 29,\n 40,\n 48,\n 16,\n 31,\n 43,\n 51,\n 17,\n 33,\n 45,\n 54,\n 18,\n 35,\n 48,\n 57,\n 19,\n 37,\n 51,\n 60,\n 19,\n 38,\n 53,\n 63,\n 20,\n 40,\n 56,\n 66,\n 21,\n 43,\n 59,\n 70,\n 22,\n 45,\n 62,\n 74,\n 24,\n 47,\n 65,\n 77,\n 25,\n 49,\n 68,\n 81\n], ln = [\n // L M Q H\n 7,\n 10,\n 13,\n 17,\n 10,\n 16,\n 22,\n 28,\n 15,\n 26,\n 36,\n 44,\n 20,\n 36,\n 52,\n 64,\n 26,\n 48,\n 72,\n 88,\n 36,\n 64,\n 96,\n 112,\n 40,\n 72,\n 108,\n 130,\n 48,\n 88,\n 132,\n 156,\n 60,\n 110,\n 160,\n 192,\n 72,\n 130,\n 192,\n 224,\n 80,\n 150,\n 224,\n 264,\n 96,\n 176,\n 260,\n 308,\n 104,\n 198,\n 288,\n 352,\n 120,\n 216,\n 320,\n 384,\n 132,\n 240,\n 360,\n 432,\n 144,\n 280,\n 408,\n 480,\n 168,\n 308,\n 448,\n 532,\n 180,\n 338,\n 504,\n 588,\n 196,\n 364,\n 546,\n 650,\n 224,\n 416,\n 600,\n 700,\n 224,\n 442,\n 644,\n 750,\n 252,\n 476,\n 690,\n 816,\n 270,\n 504,\n 750,\n 900,\n 300,\n 560,\n 810,\n 960,\n 312,\n 588,\n 870,\n 1050,\n 336,\n 644,\n 952,\n 1110,\n 360,\n 700,\n 1020,\n 1200,\n 390,\n 728,\n 1050,\n 1260,\n 420,\n 784,\n 1140,\n 1350,\n 450,\n 812,\n 1200,\n 1440,\n 480,\n 868,\n 1290,\n 1530,\n 510,\n 924,\n 1350,\n 1620,\n 540,\n 980,\n 1440,\n 1710,\n 570,\n 1036,\n 1530,\n 1800,\n 570,\n 1064,\n 1590,\n 1890,\n 600,\n 1120,\n 1680,\n 1980,\n 630,\n 1204,\n 1770,\n 2100,\n 660,\n 1260,\n 1860,\n 2220,\n 720,\n 1316,\n 1950,\n 2310,\n 750,\n 1372,\n 2040,\n 2430\n];\nJn.getBlocksCount = function(t, n) {\n switch (n) {\n case Ke.L:\n return sn[(t - 1) * 4 + 0];\n case Ke.M:\n return sn[(t - 1) * 4 + 1];\n case Ke.Q:\n return sn[(t - 1) * 4 + 2];\n case Ke.H:\n return sn[(t - 1) * 4 + 3];\n default:\n return;\n }\n};\nJn.getTotalCodewordsCount = function(t, n) {\n switch (n) {\n case Ke.L:\n return ln[(t - 1) * 4 + 0];\n case Ke.M:\n return ln[(t - 1) * 4 + 1];\n case Ke.Q:\n return ln[(t - 1) * 4 + 2];\n case Ke.H:\n return ln[(t - 1) * 4 + 3];\n default:\n return;\n }\n};\nvar Wa = {}, Zn = {};\nconst Bt = new Uint8Array(512), An = new Uint8Array(256);\n(function() {\n let t = 1;\n for (let n = 0; n < 255; n++)\n Bt[n] = t, An[t] = n, t <<= 1, t & 256 && (t ^= 285);\n for (let n = 255; n < 512; n++)\n Bt[n] = Bt[n - 255];\n})();\nZn.log = function(t) {\n if (t < 1) throw new Error(\"log(\" + t + \")\");\n return An[t];\n};\nZn.exp = function(t) {\n return Bt[t];\n};\nZn.mul = function(t, n) {\n return t === 0 || n === 0 ? 0 : Bt[An[t] + An[n]];\n};\n(function(e) {\n const t = Zn;\n e.mul = function(r, o) {\n const i = new Uint8Array(r.length + o.length - 1);\n for (let a = 0; a < r.length; a++)\n for (let s = 0; s < o.length; s++)\n i[a + s] ^= t.mul(r[a], o[s]);\n return i;\n }, e.mod = function(r, o) {\n let i = new Uint8Array(r);\n for (; i.length - o.length >= 0; ) {\n const a = i[0];\n for (let l = 0; l < o.length; l++)\n i[l] ^= t.mul(o[l], a);\n let s = 0;\n for (; s < i.length && i[s] === 0; ) s++;\n i = i.slice(s);\n }\n return i;\n }, e.generateECPolynomial = function(r) {\n let o = new Uint8Array([1]);\n for (let i = 0; i < r; i++)\n o = e.mul(o, new Uint8Array([1, t.exp(i)]));\n return o;\n };\n})(Wa);\nconst Va = Wa;\nfunction oo(e) {\n this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);\n}\noo.prototype.initialize = function(t) {\n this.degree = t, this.genPoly = Va.generateECPolynomial(this.degree);\n};\noo.prototype.encode = function(t) {\n if (!this.genPoly)\n throw new Error(\"Encoder not initialized\");\n const n = new Uint8Array(t.length + this.degree);\n n.set(t);\n const r = Va.mod(n, this.genPoly), o = this.degree - r.length;\n if (o > 0) {\n const i = new Uint8Array(this.degree);\n return i.set(r, o), i;\n }\n return r;\n};\nvar x1 = oo, ja = {}, et = {}, io = {};\nio.isValid = function(t) {\n return !isNaN(t) && t >= 1 && t <= 40;\n};\nvar Me = {};\nconst Ha = \"[0-9]+\", M1 = \"[A-Z $%*+\\\\-./:]+\";\nlet Vt = \"(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+\";\nVt = Vt.replace(/u/g, \"\\\\u\");\nconst D1 = \"(?:(?![A-Z0-9 $%*+\\\\-./:]|\" + Vt + `)(?:.|[\\r\n]))+`;\nMe.KANJI = new RegExp(Vt, \"g\");\nMe.BYTE_KANJI = new RegExp(\"[^A-Z0-9 $%*+\\\\-./:]+\", \"g\");\nMe.BYTE = new RegExp(D1, \"g\");\nMe.NUMERIC = new RegExp(Ha, \"g\");\nMe.ALPHANUMERIC = new RegExp(M1, \"g\");\nconst B1 = new RegExp(\"^\" + Vt + \"$\"), L1 = new RegExp(\"^\" + Ha + \"$\"), G1 = new RegExp(\"^[A-Z0-9 $%*+\\\\-./:]+$\");\nMe.testKanji = function(t) {\n return B1.test(t);\n};\nMe.testNumeric = function(t) {\n return L1.test(t);\n};\nMe.testAlphanumeric = function(t) {\n return G1.test(t);\n};\n(function(e) {\n const t = io, n = Me;\n e.NUMERIC = {\n id: \"Numeric\",\n bit: 1,\n ccBits: [10, 12, 14]\n }, e.ALPHANUMERIC = {\n id: \"Alphanumeric\",\n bit: 2,\n ccBits: [9, 11, 13]\n }, e.BYTE = {\n id: \"Byte\",\n bit: 4,\n ccBits: [8, 16, 16]\n }, e.KANJI = {\n id: \"Kanji\",\n bit: 8,\n ccBits: [8, 10, 12]\n }, e.MIXED = {\n bit: -1\n }, e.getCharCountIndicator = function(i, a) {\n if (!i.ccBits) throw new Error(\"Invalid mode: \" + i);\n if (!t.isValid(a))\n throw new Error(\"Invalid version: \" + a);\n return a >= 1 && a < 10 ? i.ccBits[0] : a < 27 ? i.ccBits[1] : i.ccBits[2];\n }, e.getBestModeForData = function(i) {\n return n.testNumeric(i) ? e.NUMERIC : n.testAlphanumeric(i) ? e.ALPHANUMERIC : n.testKanji(i) ? e.KANJI : e.BYTE;\n }, e.toString = function(i) {\n if (i && i.id) return i.id;\n throw new Error(\"Invalid mode\");\n }, e.isValid = function(i) {\n return i && i.bit && i.ccBits;\n };\n function r(o) {\n if (typeof o != \"string\")\n throw new Error(\"Param is not a string\");\n switch (o.toLowerCase()) {\n case \"numeric\":\n return e.NUMERIC;\n case \"alphanumeric\":\n return e.ALPHANUMERIC;\n case \"kanji\":\n return e.KANJI;\n case \"byte\":\n return e.BYTE;\n default:\n throw new Error(\"Unknown mode: \" + o);\n }\n }\n e.from = function(i, a) {\n if (e.isValid(i))\n return i;\n try {\n return r(i);\n } catch {\n return a;\n }\n };\n})(et);\n(function(e) {\n const t = Se, n = Jn, r = qn, o = et, i = io, a = 7973, s = t.getBCHDigit(a);\n function l(f, p, h) {\n for (let v = 1; v <= 40; v++)\n if (p <= e.getCapacity(v, h, f))\n return v;\n }\n function c(f, p) {\n return o.getCharCountIndicator(f, p) + 4;\n }\n function u(f, p) {\n let h = 0;\n return f.forEach(function(v) {\n const b = c(v.mode, p);\n h += b + v.getBitsLength();\n }), h;\n }\n function m(f, p) {\n for (let h = 1; h <= 40; h++)\n if (u(f, h) <= e.getCapacity(h, p, o.MIXED))\n return h;\n }\n e.from = function(p, h) {\n return i.isValid(p) ? parseInt(p, 10) : h;\n }, e.getCapacity = function(p, h, v) {\n if (!i.isValid(p))\n throw new Error(\"Invalid QR Code version\");\n typeof v > \"u\" && (v = o.BYTE);\n const b = t.getSymbolTotalCodewords(p), g = n.getTotalCodewordsCount(p, h), w = (b - g) * 8;\n if (v === o.MIXED) return w;\n const y = w - c(v, p);\n switch (v) {\n case o.NUMERIC:\n return Math.floor(y / 10 * 3);\n case o.ALPHANUMERIC:\n return Math.floor(y / 11 * 2);\n case o.KANJI:\n return Math.floor(y / 13);\n case o.BYTE:\n default:\n return Math.floor(y / 8);\n }\n }, e.getBestVersionForData = function(p, h) {\n let v;\n const b = r.from(h, r.M);\n if (Array.isArray(p)) {\n if (p.length > 1)\n return m(p, b);\n if (p.length === 0)\n return 1;\n v = p[0];\n } else\n v = p;\n return l(v.mode, v.getLength(), b);\n }, e.getEncodedBits = function(p) {\n if (!i.isValid(p) || p < 7)\n throw new Error(\"Invalid QR Code version\");\n let h = p << 12;\n for (; t.getBCHDigit(h) - s >= 0; )\n h ^= a << t.getBCHDigit(h) - s;\n return p << 12 | h;\n };\n})(ja);\nvar Ya = {};\nconst Cr = Se, Ka = 1335, z1 = 21522, ci = Cr.getBCHDigit(Ka);\nYa.getEncodedBits = function(t, n) {\n const r = t.bit << 3 | n;\n let o = r << 10;\n for (; Cr.getBCHDigit(o) - ci >= 0; )\n o ^= Ka << Cr.getBCHDigit(o) - ci;\n return (r << 10 | o) ^ z1;\n};\nvar qa = {};\nconst W1 = et;\nfunction mt(e) {\n this.mode = W1.NUMERIC, this.data = e.toString();\n}\nmt.getBitsLength = function(t) {\n return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);\n};\nmt.prototype.getLength = function() {\n return this.data.length;\n};\nmt.prototype.getBitsLength = function() {\n return mt.getBitsLength(this.data.length);\n};\nmt.prototype.write = function(t) {\n let n, r, o;\n for (n = 0; n + 3 <= this.data.length; n += 3)\n r = this.data.substr(n, 3), o = parseInt(r, 10), t.put(o, 10);\n const i = this.data.length - n;\n i > 0 && (r = this.data.substr(n), o = parseInt(r, 10), t.put(o, i * 3 + 1));\n};\nvar V1 = mt;\nconst j1 = et, ir = [\n \"0\",\n \"1\",\n \"2\",\n \"3\",\n \"4\",\n \"5\",\n \"6\",\n \"7\",\n \"8\",\n \"9\",\n \"A\",\n \"B\",\n \"C\",\n \"D\",\n \"E\",\n \"F\",\n \"G\",\n \"H\",\n \"I\",\n \"J\",\n \"K\",\n \"L\",\n \"M\",\n \"N\",\n \"O\",\n \"P\",\n \"Q\",\n \"R\",\n \"S\",\n \"T\",\n \"U\",\n \"V\",\n \"W\",\n \"X\",\n \"Y\",\n \"Z\",\n \" \",\n \"$\",\n \"%\",\n \"*\",\n \"+\",\n \"-\",\n \".\",\n \"/\",\n \":\"\n];\nfunction gt(e) {\n this.mode = j1.ALPHANUMERIC, this.data = e;\n}\ngt.getBitsLength = function(t) {\n return 11 * Math.floor(t / 2) + 6 * (t % 2);\n};\ngt.prototype.getLength = function() {\n return this.data.length;\n};\ngt.prototype.getBitsLength = function() {\n return gt.getBitsLength(this.data.length);\n};\ngt.prototype.write = function(t) {\n let n;\n for (n = 0; n + 2 <= this.data.length; n += 2) {\n let r = ir.indexOf(this.data[n]) * 45;\n r += ir.indexOf(this.data[n + 1]), t.put(r, 11);\n }\n this.data.length % 2 && t.put(ir.indexOf(this.data[n]), 6);\n};\nvar H1 = gt, Y1 = function(t) {\n for (var n = [], r = t.length, o = 0; o < r; o++) {\n var i = t.charCodeAt(o);\n if (i >= 55296 && i <= 56319 && r > o + 1) {\n var a = t.charCodeAt(o + 1);\n a >= 56320 && a <= 57343 && (i = (i - 55296) * 1024 + a - 56320 + 65536, o += 1);\n }\n if (i < 128) {\n n.push(i);\n continue;\n }\n if (i < 2048) {\n n.push(i >> 6 | 192), n.push(i & 63 | 128);\n continue;\n }\n if (i < 55296 || i >= 57344 && i < 65536) {\n n.push(i >> 12 | 224), n.push(i >> 6 & 63 | 128), n.push(i & 63 | 128);\n continue;\n }\n if (i >= 65536 && i <= 1114111) {\n n.push(i >> 18 | 240), n.push(i >> 12 & 63 | 128), n.push(i >> 6 & 63 | 128), n.push(i & 63 | 128);\n continue;\n }\n n.push(239, 191, 189);\n }\n return new Uint8Array(n).buffer;\n};\nconst K1 = Y1, q1 = et;\nfunction ht(e) {\n this.mode = q1.BYTE, this.data = new Uint8Array(K1(e));\n}\nht.getBitsLength = function(t) {\n return t * 8;\n};\nht.prototype.getLength = function() {\n return this.data.length;\n};\nht.prototype.getBitsLength = function() {\n return ht.getBitsLength(this.data.length);\n};\nht.prototype.write = function(e) {\n for (let t = 0, n = this.data.length; t < n; t++)\n e.put(this.data[t], 8);\n};\nvar J1 = ht;\nconst Z1 = et, Q1 = Se;\nfunction yt(e) {\n this.mode = Z1.KANJI, this.data = e;\n}\nyt.getBitsLength = function(t) {\n return t * 13;\n};\nyt.prototype.getLength = function() {\n return this.data.length;\n};\nyt.prototype.getBitsLength = function() {\n return yt.getBitsLength(this.data.length);\n};\nyt.prototype.write = function(e) {\n let t;\n for (t = 0; t < this.data.length; t++) {\n let n = Q1.toSJIS(this.data[t]);\n if (n >= 33088 && n <= 40956)\n n -= 33088;\n else if (n >= 57408 && n <= 60351)\n n -= 49472;\n else\n throw new Error(\n \"Invalid SJIS character: \" + this.data[t] + `\nMake sure your charset is UTF-8`\n );\n n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);\n }\n};\nvar X1 = yt, Ja = { exports: {} };\n(function(e) {\n var t = {\n single_source_shortest_paths: function(n, r, o) {\n var i = {}, a = {};\n a[r] = 0;\n var s = t.PriorityQueue.make();\n s.push(r, 0);\n for (var l, c, u, m, f, p, h, v, b; !s.empty(); ) {\n l = s.pop(), c = l.value, m = l.cost, f = n[c] || {};\n for (u in f)\n f.hasOwnProperty(u) && (p = f[u], h = m + p, v = a[u], b = typeof a[u] > \"u\", (b || v > h) && (a[u] = h, s.push(u, h), i[u] = c));\n }\n if (typeof o < \"u\" && typeof a[o] > \"u\") {\n var g = [\"Could not find a path from \", r, \" to \", o, \".\"].join(\"\");\n throw new Error(g);\n }\n return i;\n },\n extract_shortest_path_from_predecessor_list: function(n, r) {\n for (var o = [], i = r; i; )\n o.push(i), n[i], i = n[i];\n return o.reverse(), o;\n },\n find_path: function(n, r, o) {\n var i = t.single_source_shortest_paths(n, r, o);\n return t.extract_shortest_path_from_predecessor_list(\n i,\n o\n );\n },\n /**\n * A very naive priority queue implementation.\n */\n PriorityQueue: {\n make: function(n) {\n var r = t.PriorityQueue, o = {}, i;\n n = n || {};\n for (i in r)\n r.hasOwnProperty(i) && (o[i] = r[i]);\n return o.queue = [], o.sorter = n.sorter || r.default_sorter, o;\n },\n default_sorter: function(n, r) {\n return n.cost - r.cost;\n },\n /**\n * Add a new item to the queue and ensure the highest priority element\n * is at the front of the queue.\n */\n push: function(n, r) {\n var o = { value: n, cost: r };\n this.queue.push(o), this.queue.sort(this.sorter);\n },\n /**\n * Return the highest priority element in the queue.\n */\n pop: function() {\n return this.queue.shift();\n },\n empty: function() {\n return this.queue.length === 0;\n }\n }\n };\n e.exports = t;\n})(Ja);\nvar eC = Ja.exports;\n(function(e) {\n const t = et, n = V1, r = H1, o = J1, i = X1, a = Me, s = Se, l = eC;\n function c(g) {\n return unescape(encodeURIComponent(g)).length;\n }\n function u(g, w, y) {\n const S = [];\n let I;\n for (; (I = g.exec(y)) !== null; )\n S.push({\n data: I[0],\n index: I.index,\n mode: w,\n length: I[0].length\n });\n return S;\n }\n function m(g) {\n const w = u(a.NUMERIC, t.NUMERIC, g), y = u(a.ALPHANUMERIC, t.ALPHANUMERIC, g);\n let S, I;\n return s.isKanjiModeEnabled() ? (S = u(a.BYTE, t.BYTE, g), I = u(a.KANJI, t.KANJI, g)) : (S = u(a.BYTE_KANJI, t.BYTE, g), I = []), w.concat(y, S, I).sort(function(P, k) {\n return P.index - k.index;\n }).map(function(P) {\n return {\n data: P.data,\n mode: P.mode,\n length: P.length\n };\n });\n }\n function f(g, w) {\n switch (w) {\n case t.NUMERIC:\n return n.getBitsLength(g);\n case t.ALPHANUMERIC:\n return r.getBitsLength(g);\n case t.KANJI:\n return i.getBitsLength(g);\n case t.BYTE:\n return o.getBitsLength(g);\n }\n }\n function p(g) {\n return g.reduce(function(w, y) {\n const S = w.length - 1 >= 0 ? w[w.length - 1] : null;\n return S && S.mode === y.mode ? (w[w.length - 1].data += y.data, w) : (w.push(y), w);\n }, []);\n }\n function h(g) {\n const w = [];\n for (let y = 0; y < g.length; y++) {\n const S = g[y];\n switch (S.mode) {\n case t.NUMERIC:\n w.push([\n S,\n { data: S.data, mode: t.ALPHANUMERIC, length: S.length },\n { data: S.data, mode: t.BYTE, length: S.length }\n ]);\n break;\n case t.ALPHANUMERIC:\n w.push([\n S,\n { data: S.data, mode: t.BYTE, length: S.length }\n ]);\n break;\n case t.KANJI:\n w.push([\n S,\n { data: S.data, mode: t.BYTE, length: c(S.data) }\n ]);\n break;\n case t.BYTE:\n w.push([\n { data: S.data, mode: t.BYTE, length: c(S.data) }\n ]);\n }\n }\n return w;\n }\n function v(g, w) {\n const y = {}, S = { start: {} };\n let I = [\"start\"];\n for (let T = 0; T < g.length; T++) {\n const P = g[T], k = [];\n for (let $ = 0; $ < P.length; $++) {\n const O = P[$], F = \"\" + T + $;\n k.push(F), y[F] = { node: O, lastCount: 0 }, S[F] = {};\n for (let B = 0; B < I.length; B++) {\n const G = I[B];\n y[G] && y[G].node.mode === O.mode ? (S[G][F] = f(y[G].lastCount + O.length, O.mode) - f(y[G].lastCount, O.mode), y[G].lastCount += O.length) : (y[G] && (y[G].lastCount = O.length), S[G][F] = f(O.length, O.mode) + 4 + t.getCharCountIndicator(O.mode, w));\n }\n }\n I = k;\n }\n for (let T = 0; T < I.length; T++)\n S[I[T]].end = 0;\n return { map: S, table: y };\n }\n function b(g, w) {\n let y;\n const S = t.getBestModeForData(g);\n if (y = t.from(w, S), y !== t.BYTE && y.bit < S.bit)\n throw new Error('\"' + g + '\" cannot be encoded with mode ' + t.toString(y) + `.\n Suggested mode is: ` + t.toString(S));\n switch (y === t.KANJI && !s.isKanjiModeEnabled() && (y = t.BYTE), y) {\n case t.NUMERIC:\n return new n(g);\n case t.ALPHANUMERIC:\n return new r(g);\n case t.KANJI:\n return new i(g);\n case t.BYTE:\n return new o(g);\n }\n }\n e.fromArray = function(w) {\n return w.reduce(function(y, S) {\n return typeof S == \"string\" ? y.push(b(S, null)) : S.data && y.push(b(S.data, S.mode)), y;\n }, []);\n }, e.fromString = function(w, y) {\n const S = m(w, s.isKanjiModeEnabled()), I = h(S), T = v(I, y), P = l.find_path(T.map, \"start\", \"end\"), k = [];\n for (let $ = 1; $ < P.length - 1; $++)\n k.push(T.table[P[$]].node);\n return e.fromArray(p(k));\n }, e.rawSplit = function(w) {\n return e.fromArray(\n m(w, s.isKanjiModeEnabled())\n );\n };\n})(qa);\nconst Qn = Se, ar = qn, tC = O1, nC = F1, rC = La, oC = Ga, Ar = za, Ir = Jn, iC = x1, In = ja, aC = Ya, sC = et, sr = qa;\nfunction lC(e, t) {\n const n = e.size, r = oC.getPositions(t);\n for (let o = 0; o < r.length; o++) {\n const i = r[o][0], a = r[o][1];\n for (let s = -1; s <= 7; s++)\n if (!(i + s <= -1 || n <= i + s))\n for (let l = -1; l <= 7; l++)\n a + l <= -1 || n <= a + l || (s >= 0 && s <= 6 && (l === 0 || l === 6) || l >= 0 && l <= 6 && (s === 0 || s === 6) || s >= 2 && s <= 4 && l >= 2 && l <= 4 ? e.set(i + s, a + l, !0, !0) : e.set(i + s, a + l, !1, !0));\n }\n}\nfunction cC(e) {\n const t = e.size;\n for (let n = 8; n < t - 8; n++) {\n const r = n % 2 === 0;\n e.set(n, 6, r, !0), e.set(6, n, r, !0);\n }\n}\nfunction uC(e, t) {\n const n = rC.getPositions(t);\n for (let r = 0; r < n.length; r++) {\n const o = n[r][0], i = n[r][1];\n for (let a = -2; a <= 2; a++)\n for (let s = -2; s <= 2; s++)\n a === -2 || a === 2 || s === -2 || s === 2 || a === 0 && s === 0 ? e.set(o + a, i + s, !0, !0) : e.set(o + a, i + s, !1, !0);\n }\n}\nfunction dC(e, t) {\n const n = e.size, r = In.getEncodedBits(t);\n let o, i, a;\n for (let s = 0; s < 18; s++)\n o = Math.floor(s / 3), i = s % 3 + n - 8 - 3, a = (r >> s & 1) === 1, e.set(o, i, a, !0), e.set(i, o, a, !0);\n}\nfunction lr(e, t, n) {\n const r = e.size, o = aC.getEncodedBits(t, n);\n let i, a;\n for (i = 0; i < 15; i++)\n a = (o >> i & 1) === 1, i < 6 ? e.set(i, 8, a, !0) : i < 8 ? e.set(i + 1, 8, a, !0) : e.set(r - 15 + i, 8, a, !0), i < 8 ? e.set(8, r - i - 1, a, !0) : i < 9 ? e.set(8, 15 - i - 1 + 1, a, !0) : e.set(8, 15 - i - 1, a, !0);\n e.set(r - 8, 8, 1, !0);\n}\nfunction fC(e, t) {\n const n = e.size;\n let r = -1, o = n - 1, i = 7, a = 0;\n for (let s = n - 1; s > 0; s -= 2)\n for (s === 6 && s--; ; ) {\n for (let l = 0; l < 2; l++)\n if (!e.isReserved(o, s - l)) {\n let c = !1;\n a < t.length && (c = (t[a] >>> i & 1) === 1), e.set(o, s - l, c), i--, i === -1 && (a++, i = 7);\n }\n if (o += r, o < 0 || n <= o) {\n o -= r, r = -r;\n break;\n }\n }\n}\nfunction pC(e, t, n) {\n const r = new tC();\n n.forEach(function(l) {\n r.put(l.mode.bit, 4), r.put(l.getLength(), sC.getCharCountIndicator(l.mode, e)), l.write(r);\n });\n const o = Qn.getSymbolTotalCodewords(e), i = Ir.getTotalCodewordsCount(e, t), a = (o - i) * 8;\n for (r.getLengthInBits() + 4 <= a && r.put(0, 4); r.getLengthInBits() % 8 !== 0; )\n r.putBit(0);\n const s = (a - r.getLengthInBits()) / 8;\n for (let l = 0; l < s; l++)\n r.put(l % 2 ? 17 : 236, 8);\n return mC(r, e, t);\n}\nfunction mC(e, t, n) {\n const r = Qn.getSymbolTotalCodewords(t), o = Ir.getTotalCodewordsCount(t, n), i = r - o, a = Ir.getBlocksCount(t, n), s = r % a, l = a - s, c = Math.floor(r / a), u = Math.floor(i / a), m = u + 1, f = c - u, p = new iC(f);\n let h = 0;\n const v = new Array(a), b = new Array(a);\n let g = 0;\n const w = new Uint8Array(e.buffer);\n for (let P = 0; P < a; P++) {\n const k = P < l ? u : m;\n v[P] = w.slice(h, h + k), b[P] = p.encode(v[P]), h += k, g = Math.max(g, k);\n }\n const y = new Uint8Array(r);\n let S = 0, I, T;\n for (I = 0; I < g; I++)\n for (T = 0; T < a; T++)\n I < v[T].length && (y[S++] = v[T][I]);\n for (I = 0; I < f; I++)\n for (T = 0; T < a; T++)\n y[S++] = b[T][I];\n return y;\n}\nfunction gC(e, t, n, r) {\n let o;\n if (Array.isArray(e))\n o = sr.fromArray(e);\n else if (typeof e == \"string\") {\n let c = t;\n if (!c) {\n const u = sr.rawSplit(e);\n c = In.getBestVersionForData(u, n);\n }\n o = sr.fromString(e, c || 40);\n } else\n throw new Error(\"Invalid data\");\n const i = In.getBestVersionForData(o, n);\n if (!i)\n throw new Error(\"The amount of data is too big to be stored in a QR Code\");\n if (!t)\n t = i;\n else if (t < i)\n throw new Error(\n `\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: ` + i + `.\n`\n );\n const a = pC(t, n, o), s = Qn.getSymbolSize(t), l = new nC(s);\n return lC(l, t), cC(l), uC(l, t), lr(l, n, 0), t >= 7 && dC(l, t), fC(l, a), isNaN(r) && (r = Ar.getBestMask(\n l,\n lr.bind(null, l, n)\n )), Ar.applyMask(r, l), lr(l, n, r), {\n modules: l,\n version: t,\n errorCorrectionLevel: n,\n maskPattern: r,\n segments: o\n };\n}\nDa.create = function(t, n) {\n if (typeof t > \"u\" || t === \"\")\n throw new Error(\"No input text\");\n let r = ar.M, o, i;\n return typeof n < \"u\" && (r = ar.from(n.errorCorrectionLevel, ar.M), o = In.from(n.version), i = Ar.from(n.maskPattern), n.toSJISFunc && Qn.setToSJISFunction(n.toSJISFunc)), gC(t, o, r, i);\n};\nvar Za = {}, ao = {};\n(function(e) {\n function t(n) {\n if (typeof n == \"number\" && (n = n.toString()), typeof n != \"string\")\n throw new Error(\"Color should be defined as hex string\");\n let r = n.slice().replace(\"#\", \"\").split(\"\");\n if (r.length < 3 || r.length === 5 || r.length > 8)\n throw new Error(\"Invalid hex color: \" + n);\n (r.length === 3 || r.length === 4) && (r = Array.prototype.concat.apply([], r.map(function(i) {\n return [i, i];\n }))), r.length === 6 && r.push(\"F\", \"F\");\n const o = parseInt(r.join(\"\"), 16);\n return {\n r: o >> 24 & 255,\n g: o >> 16 & 255,\n b: o >> 8 & 255,\n a: o & 255,\n hex: \"#\" + r.slice(0, 6).join(\"\")\n };\n }\n e.getOptions = function(r) {\n r || (r = {}), r.color || (r.color = {});\n const o = typeof r.margin > \"u\" || r.margin === null || r.margin < 0 ? 4 : r.margin, i = r.width && r.width >= 21 ? r.width : void 0, a = r.scale || 4;\n return {\n width: i,\n scale: i ? 4 : a,\n margin: o,\n color: {\n dark: t(r.color.dark || \"#000000ff\"),\n light: t(r.color.light || \"#ffffffff\")\n },\n type: r.type,\n rendererOpts: r.rendererOpts || {}\n };\n }, e.getScale = function(r, o) {\n return o.width && o.width >= r + o.margin * 2 ? o.width / (r + o.margin * 2) : o.scale;\n }, e.getImageWidth = function(r, o) {\n const i = e.getScale(r, o);\n return Math.floor((r + o.margin * 2) * i);\n }, e.qrToImageData = function(r, o, i) {\n const a = o.modules.size, s = o.modules.data, l = e.getScale(a, i), c = Math.floor((a + i.margin * 2) * l), u = i.margin * l, m = [i.color.light, i.color.dark];\n for (let f = 0; f < c; f++)\n for (let p = 0; p < c; p++) {\n let h = (f * c + p) * 4, v = i.color.light;\n if (f >= u && p >= u && f < c - u && p < c - u) {\n const b = Math.floor((f - u) / l), g = Math.floor((p - u) / l);\n v = m[s[b * a + g] ? 1 : 0];\n }\n r[h++] = v.r, r[h++] = v.g, r[h++] = v.b, r[h] = v.a;\n }\n };\n})(ao);\n(function(e) {\n const t = ao;\n function n(o, i, a) {\n o.clearRect(0, 0, i.width, i.height), i.style || (i.style = {}), i.height = a, i.width = a, i.style.height = a + \"px\", i.style.width = a + \"px\";\n }\n function r() {\n try {\n return document.createElement(\"canvas\");\n } catch {\n throw new Error(\"You need to specify a canvas element\");\n }\n }\n e.render = function(i, a, s) {\n let l = s, c = a;\n typeof l > \"u\" && (!a || !a.getContext) && (l = a, a = void 0), a || (c = r()), l = t.getOptions(l);\n const u = t.getImageWidth(i.modules.size, l), m = c.getContext(\"2d\"), f = m.createImageData(u, u);\n return t.qrToImageData(f.data, i, l), n(m, c, u), m.putImageData(f, 0, 0), c;\n }, e.renderToDataURL = function(i, a, s) {\n let l = s;\n typeof l > \"u\" && (!a || !a.getContext) && (l = a, a = void 0), l || (l = {});\n const c = e.render(i, a, l), u = l.type || \"image/png\", m = l.rendererOpts || {};\n return c.toDataURL(u, m.quality);\n };\n})(Za);\nvar Qa = {};\nconst hC = ao;\nfunction ui(e, t) {\n const n = e.a / 255, r = t + '=\"' + e.hex + '\"';\n return n < 1 ? r + \" \" + t + '-opacity=\"' + n.toFixed(2).slice(1) + '\"' : r;\n}\nfunction cr(e, t, n) {\n let r = e + t;\n return typeof n < \"u\" && (r += \" \" + n), r;\n}\nfunction yC(e, t, n) {\n let r = \"\", o = 0, i = !1, a = 0;\n for (let s = 0; s < e.length; s++) {\n const l = Math.floor(s % t), c = Math.floor(s / t);\n !l && !i && (i = !0), e[s] ? (a++, s > 0 && l > 0 && e[s - 1] || (r += i ? cr(\"M\", l + n, 0.5 + c + n) : cr(\"m\", o, 0), o = 0, i = !1), l + 1 < t && e[s + 1] || (r += cr(\"h\", a), a = 0)) : o++;\n }\n return r;\n}\nQa.render = function(t, n, r) {\n const o = hC.getOptions(n), i = t.modules.size, a = t.modules.data, s = i + o.margin * 2, l = o.color.light.a ? \"' : \"\", c = \"', u = 'viewBox=\"0 0 ' + s + \" \" + s + '\"', f = '' + l + c + `\n`;\n return typeof r == \"function\" && r(null, f), f;\n};\nconst vC = U1, Er = Da, Xa = Za, _C = Qa;\nfunction so(e, t, n, r, o) {\n const i = [].slice.call(arguments, 1), a = i.length, s = typeof i[a - 1] == \"function\";\n if (!s && !vC())\n throw new Error(\"Callback required as last argument\");\n if (s) {\n if (a < 2)\n throw new Error(\"Too few arguments provided\");\n a === 2 ? (o = n, n = t, t = r = void 0) : a === 3 && (t.getContext && typeof o > \"u\" ? (o = r, r = void 0) : (o = r, r = n, n = t, t = void 0));\n } else {\n if (a < 1)\n throw new Error(\"Too few arguments provided\");\n return a === 1 ? (n = t, t = r = void 0) : a === 2 && !t.getContext && (r = n, n = t, t = void 0), new Promise(function(l, c) {\n try {\n const u = Er.create(n, r);\n l(e(u, t, r));\n } catch (u) {\n c(u);\n }\n });\n }\n try {\n const l = Er.create(n, r);\n o(null, e(l, t, r));\n } catch (l) {\n o(l);\n }\n}\nqt.create = Er.create;\nqt.toCanvas = so.bind(null, Xa.render);\nqt.toDataURL = so.bind(null, Xa.renderToDataURL);\nqt.toString = so.bind(null, function(e, t, n) {\n return _C.render(e, n);\n});\nconst wC = { key: 0 }, SC = [\"src\"], bC = { \"data-amplify-copy-tooltip\": \"\" }, CC = /* @__PURE__ */ x(\"svg\", {\n width: \"24\",\n height: \"24\",\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\"\n}, [\n /* @__PURE__ */ x(\"path\", { d: \"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z\" })\n], -1), AC = /* @__PURE__ */ q({\n __name: \"setup-totp\",\n setup(e) {\n const t = new vs(\"SetupTotp-logger\"), n = ye(), { updateForm: r, submitForm: o, toSignIn: i, totpSecretCode: a, username: s, QRFields: l } = n, { error: c, isPending: u } = re(n), { totpIssuer: m = \"AWSCognito\", totpUsername: f = s } = l ?? {}, p = dl(m, f, a), h = fi({\n qrCodeImageSource: \"\",\n isLoading: !0\n }), { getCopyText: v, getCopiedText: b, getBackToSignInText: g, getConfirmText: w } = Ee, y = le(v());\n function S() {\n a && navigator.clipboard.writeText(a), y.value = b();\n }\n pi(async () => {\n try {\n h.qrCodeImageSource = await qt.toDataURL(p);\n } catch (O) {\n t.error(O);\n } finally {\n h.isLoading = !1;\n }\n });\n const I = D(() => g()), T = D(() => w()), P = (O) => {\n const { name: F, value: B } = O.target;\n r({ name: F, value: B });\n }, k = (O) => {\n o($e(O));\n }, $ = () => {\n i();\n };\n return (O, F) => {\n const B = Xe, G = me, ae = Fe, be = we, Te = Ne, fe = Re, ge = Ue;\n return E(O.$slots, \"confirmSetupTotpI\", oe(ie(O.$attrs)), () => [\n C(G, oe(ie(O.$attrs)), {\n default: _(() => [\n C(ge, {\n \"data-amplify-authenticator-setup-totp\": \"\",\n onInput: P,\n onSubmit: ue(k, [\"prevent\"])\n }, {\n default: _(() => [\n C(fe, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(u)\n }, {\n default: _(() => [\n C(G, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n E(O.$slots, \"header\", {}, () => [\n C(B, {\n class: \"amplify-heading\",\n level: 3\n }, {\n default: _(() => [\n M(\" Setup TOTP \")\n ]),\n _: 1\n })\n ]),\n C(G, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n h.isLoading ? (U(), X(\"p\", wC, \"Loading...\")) : (U(), X(\"img\", {\n key: 1,\n class: \"amplify-image\",\n \"data-amplify-qrcode\": \"\",\n src: h.qrCodeImageSource,\n alt: \"qr code\",\n width: \"228\",\n height: \"228\"\n }, null, 8, SC)),\n C(G, {\n class: \"amplify-flex\",\n \"data-amplify-copy\": \"\"\n }, {\n default: _(() => [\n x(\"div\", null, R(d(a)), 1),\n C(G, {\n \"data-amplify-copy-svg\": \"\",\n onClick: S\n }, {\n default: _(() => [\n x(\"div\", bC, R(y.value), 1),\n CC\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n C(xe, { route: \"setupTotp\" })\n ]),\n _: 1\n }),\n C(Te, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(c) ? (U(), W(ae, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(c))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(be, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n loading: !1,\n variation: \"primary\",\n type: \"submit\",\n disabled: d(u)\n }, {\n default: _(() => [\n M(R(d(T)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(be, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n size: \"small\",\n variation: \"link\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\",\n onClick: ue($, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(I)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(O.$slots, \"footer\")\n ]),\n _: 3\n })\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"disabled\"])\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16)\n ]);\n };\n }\n}), es = /* @__PURE__ */ q({\n __name: \"authenticator-force-new-password-form-fields\",\n setup(e) {\n return (t, n) => (U(), W(xe, { route: \"forceNewPassword\" }));\n }\n}), ts = /* @__PURE__ */ q({\n __name: \"force-new-password\",\n setup(e) {\n const t = ye(), { submitForm: n, toSignIn: r, updateBlur: o, updateForm: i } = t, { error: a, isPending: s } = re(t), { getChangePasswordText: l, getChangingText: c, getBackToSignInText: u } = Ee, m = D(() => l()), f = D(() => c()), p = D(() => u()), h = () => {\n r();\n }, v = (y) => {\n b(y);\n }, b = (y) => {\n n($e(y));\n }, g = (y) => {\n const { name: S, value: I } = y.target;\n i({ name: S, value: I });\n };\n function w(y) {\n const { name: S } = y.target;\n o({ name: S });\n }\n return (y, S) => {\n const I = Xe, T = me, P = Fe, k = we, $ = Ne, O = Re, F = Ue;\n return E(y.$slots, \"forceNewPasswordI\", oe(ie(y.$attrs)), () => [\n C(T, oe(ie(y.$attrs)), {\n default: _(() => [\n C(F, {\n \"data-amplify-authenticator-forcenewpassword\": \"\",\n onInput: g,\n onBlurCapture: w,\n onSubmit: ue(v, [\"prevent\"])\n }, {\n default: _(() => [\n C(O, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(s)\n }, {\n default: _(() => [\n E(y.$slots, \"header\", {}, () => [\n C(I, {\n level: 3,\n class: \"amplify-heading\"\n }, {\n default: _(() => [\n M(R(d(m)), 1)\n ]),\n _: 1\n })\n ]),\n C(T, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n E(y.$slots, \"force-new-password-form-fields\", {}, () => [\n C(es)\n ])\n ]),\n _: 3\n }),\n C($, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(a) ? (U(), W(P, {\n key: 0,\n \"data-ui-error\": \"\"\n }, {\n default: _(() => [\n M(R(d(N)(d(a))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(k, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n loading: !1,\n variation: \"primary\",\n style: { \"font-weight\": \"normal\" },\n disabled: d(s)\n }, {\n default: _(() => [\n M(R(d(s) ? d(f) + \"…\" : d(m)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(k, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n size: \"small\",\n variation: \"link\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\",\n onClick: ue(h, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(p)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(y.$slots, \"footer\", {\n onHaveAccountClicked: h,\n onForceNewPasswordSubmit: v\n })\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"disabled\"])\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16)\n ]);\n };\n }\n}), ns = /* @__PURE__ */ q({\n __name: \"forgot-password\",\n setup(e) {\n const t = ye(), { submitForm: n, toSignIn: r, updateForm: o } = t, { error: i, isPending: a } = re(t), { getBackToSignInText: s, getResetYourPasswordText: l, getSendCodeText: c } = Ee, u = D(() => s()), m = D(() => l()), f = D(() => c()), p = (b) => {\n n($e(b));\n }, h = (b) => {\n const { name: g, value: w } = b.target;\n o({ name: g, value: w });\n }, v = () => {\n r();\n };\n return (b, g) => {\n const w = Xe, y = Re, S = Fe, I = we, T = Ne, P = me, k = Ue;\n return E(b.$slots, \"forgotPasswordSlotI\", oe(ie(b.$attrs)), () => [\n C(k, Ie(b.$attrs, {\n \"data-amplify-authenticator-forgotpassword\": \"\",\n onInput: h,\n onSubmit: ue(p, [\"prevent\"])\n }), {\n default: _(() => [\n C(P, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n E(b.$slots, \"header\", {}, () => [\n C(w, {\n class: \"amplify-heading\",\n level: 3\n }, {\n default: _(() => [\n M(R(d(m)), 1)\n ]),\n _: 1\n })\n ]),\n C(y, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(a)\n }, {\n default: _(() => [\n C(xe, { route: \"forgotPassword\" })\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(T, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(i) ? (U(), W(S, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(i))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(I, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n variation: \"primary\",\n type: \"submit\",\n disabled: d(a)\n }, {\n default: _(() => [\n M(R(d(f)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(I, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n size: \"small\",\n variation: \"link\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\",\n onClick: ue(v, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(u)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(b.$slots, \"footer\", {\n onBackToSignInClicked: v,\n onResetPasswordSubmit: p\n })\n ]),\n _: 3\n })\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 16, [\"onSubmit\"])\n ]);\n };\n }\n}), rs = /* @__PURE__ */ q({\n __name: \"confirm-reset-password\",\n setup(e) {\n const t = ye(), { resendCode: n, submitForm: r, updateBlur: o, updateForm: i } = t, { error: a, isPending: s } = re(t), { getResendCodeText: l, getResetYourPasswordText: c, getSubmitText: u } = Ee, m = D(() => l()), f = D(() => c()), p = D(() => u()), h = (y) => {\n v(y);\n }, v = (y) => {\n r($e(y));\n }, b = () => {\n n();\n }, g = (y) => {\n const { name: S, value: I } = y.target;\n i({ name: S, value: I });\n };\n function w(y) {\n const { name: S } = y.target;\n o({ name: S });\n }\n return (y, S) => {\n const I = Xe, T = me, P = Fe, k = we, $ = Ne, O = Re, F = Ue;\n return E(y.$slots, \"confirmResetPasswordSlotI\", oe(ie(y.$attrs)), () => [\n C(T, oe(ie(y.$attrs)), {\n default: _(() => [\n C(F, {\n \"data-amplify-authenticator-confirmResetpassword\": \"\",\n onInput: g,\n onBlurCapture: w,\n onSubmit: ue(h, [\"prevent\"])\n }, {\n default: _(() => [\n C(O, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(s)\n }, {\n default: _(() => [\n E(y.$slots, \"header\", {}, () => [\n C(I, {\n class: \"amplify-heading\",\n level: 3\n }, {\n default: _(() => [\n M(R(d(f)), 1)\n ]),\n _: 1\n })\n ]),\n C(T, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n C(xe, { route: \"confirmResetPassword\" })\n ]),\n _: 1\n }),\n C($, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(a) ? (U(), W(P, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(a))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(k, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n variation: \"primary\",\n fullwidth: !1,\n type: \"submit\",\n disabled: d(s)\n }, {\n default: _(() => [\n M(R(d(p)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(k, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n variation: \"link\",\n fullwidth: !1,\n size: \"small\",\n type: \"button\",\n onClick: ue(b, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(m)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(y.$slots, \"footer\")\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"disabled\"])\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16)\n ]);\n };\n }\n}), os = /* @__PURE__ */ q({\n __name: \"verify-user\",\n setup(e) {\n const t = ye(), { isPending: n, unverifiedUserAttributes: r, error: o } = re(t), { skipVerification: i, submitForm: a, updateForm: s } = t, { getAccountRecoveryInfoText: l, getSkipText: c, getVerifyText: u, getVerifyContactText: m } = Ee, f = D(() => l()), p = D(() => c()), h = D(() => u()), v = D(() => m()), b = (S) => {\n const { name: I, value: T } = S.target;\n s({ name: I, value: T });\n }, g = (S) => {\n w(S);\n }, w = (S) => {\n a($e(S));\n }, y = () => {\n i();\n };\n return (S, I) => {\n const T = Xe, P = Kn, k = Ra, $ = Yn, O = me, F = Fe, B = we, G = Ne, ae = Re, be = Ue;\n return E(S.$slots, \"verifyUserSlotI\", {}, () => [\n C(O, null, {\n default: _(() => [\n C(be, {\n onInput: b,\n onSubmit: ue(g, [\"prevent\"])\n }, {\n default: _(() => [\n C(ae, {\n disabled: d(n),\n class: \"amplify-flex amplify-authenticator__column\"\n }, {\n default: _(() => [\n E(S.$slots, \"header\", {}, () => [\n C(T, {\n class: \"amplify-heading\",\n level: 3\n }, {\n default: _(() => [\n M(R(d(f)), 1)\n ]),\n _: 1\n })\n ]),\n C(O, { class: \"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column\" }, {\n default: _(() => [\n C(P, {\n class: \"amplify-visually-hidden amplify-label\",\n id: \"amplify-field-493c\"\n }, {\n default: _(() => [\n M(R(d(v)), 1)\n ]),\n _: 1\n }),\n C(O, {\n class: \"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column\",\n \"aria-labelledby\": \"amplify-field-493c\"\n }, {\n default: _(() => [\n (U(!0), X(qe, null, En(d(r), (Te, fe, ge) => (U(), X(qe, { key: Te }, [\n Te ? (U(), W(P, {\n key: 0,\n class: \"amplify-flex amplify-radio\",\n \"data-amplify-verify-label\": \"\"\n }, {\n default: _(() => [\n C(k, { class: \"amplify-text amplify-radio__label\" }, {\n default: _(() => [\n M(R(d(N)(d(Gt)[fe].label)) + \": \" + R(d(cl)(d(Gt)[fe].label, Te)), 1)\n ]),\n _: 2\n }, 1024),\n C($, {\n class: \"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input\",\n \"aria-invalid\": \"false\",\n \"data-amplify-verify-input\": \"\",\n name: \"unverifiedAttr\",\n type: \"radio\",\n checked: ge === 0,\n value: fe\n }, null, 8, [\"checked\", \"value\"]),\n C(k, {\n class: \"amplify-flex amplify-radio__button\",\n \"aria-hidden\": \"true\"\n })\n ]),\n _: 2\n }, 1024)) : j(\"\", !0)\n ], 64))), 128))\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n C(G, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(o) ? (U(), W(F, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(o))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(B, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n variation: \"primary\",\n type: \"submit\",\n disabled: d(n)\n }, {\n default: _(() => [\n M(R(d(h)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(B, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n size: \"small\",\n variation: \"link\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\",\n onClick: ue(y, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(p)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(S.$slots, \"footer\")\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"disabled\"])\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n })\n ]);\n };\n }\n}), is = /* @__PURE__ */ q({\n __name: \"confirm-verify-user\",\n setup(e) {\n const t = ye(), { error: n, isPending: r } = re(t), { skipVerification: o, submitForm: i, updateForm: a } = t, { getAccountRecoveryInfoText: s, getSkipText: l, getSubmitText: c } = Ee, u = D(() => s()), m = D(() => l()), f = D(() => c()), p = (g) => {\n const { name: w, value: y } = g.target;\n a({ name: w, value: y });\n }, h = (g) => {\n v(g);\n }, v = (g) => {\n i($e(g));\n }, b = () => {\n o();\n };\n return (g, w) => {\n const y = Xe, S = me, I = Fe, T = we, P = Ne, k = Re, $ = Ue;\n return E(g.$slots, \"confirmVerifyUserSlotI\", oe(ie(g.$attrs)), () => [\n C(S, oe(ie(g.$attrs)), {\n default: _(() => [\n C($, {\n onInput: p,\n onSubmit: ue(h, [\"prevent\"])\n }, {\n default: _(() => [\n C(k, {\n class: \"amplify-flex amplify-authenticator__column\",\n disabled: d(r)\n }, {\n default: _(() => [\n E(g.$slots, \"header\", {}, () => [\n C(y, {\n level: 3,\n class: \"amplify-heading\"\n }, {\n default: _(() => [\n M(R(d(u)), 1)\n ]),\n _: 1\n })\n ]),\n C(S, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n C(xe, { route: \"confirmVerifyUser\" })\n ]),\n _: 1\n }),\n C(P, { class: \"amplify-flex amplify-authenticator__column\" }, {\n default: _(() => [\n d(n) ? (U(), W(I, { key: 0 }, {\n default: _(() => [\n M(R(d(N)(d(n))), 1)\n ]),\n _: 1\n })) : j(\"\", !0),\n C(T, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n variation: \"primary\",\n type: \"submit\",\n disabled: d(r)\n }, {\n default: _(() => [\n M(R(d(f)), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"]),\n C(T, {\n class: \"amplify-field-group__control amplify-authenticator__font\",\n fullwidth: !1,\n size: \"small\",\n variation: \"link\",\n style: { \"font-weight\": \"normal\" },\n type: \"button\",\n onClick: ue(b, [\"prevent\"])\n }, {\n default: _(() => [\n M(R(d(m)), 1)\n ]),\n _: 1\n }, 8, [\"onClick\"]),\n E(g.$slots, \"footer\")\n ]),\n _: 3\n })\n ]),\n _: 3\n }, 8, [\"disabled\"])\n ]),\n _: 3\n }, 8, [\"onSubmit\"])\n ]),\n _: 3\n }, 16)\n ]);\n };\n }\n}), IC = [\"data-variation\"], EC = { \"data-amplify-container\": \"\" }, TC = [\"data-amplify-router-content\"], PC = {\n key: 1,\n \"data-amplify-router-content\": \"\"\n}, kC = /* @__PURE__ */ q({\n __name: \"authenticator\",\n props: {\n hideSignUp: { type: Boolean },\n initialState: null,\n loginMechanisms: null,\n services: null,\n signUpAttributes: null,\n variation: { default: \"default\" },\n socialProviders: null,\n formFields: null\n },\n setup(e) {\n const t = e, { initialState: n, loginMechanisms: r, variation: o, services: i, signUpAttributes: a, socialProviders: s, hideSignUp: l, formFields: c } = re(t);\n let u;\n const m = le(!1), { service: f, send: p, state: h } = to(), v = f.subscribe((L) => {\n L.matches(\"setup\") && !m.value && (p({\n type: \"INIT\",\n data: {\n /**\n * There's a type inference bug with prop refs that incorrectly assume\n * they can be undefined. Adding `!` until this is resolved from Vue's end.\n *\n * https://github.com/vuejs/core/issues/6420\n */\n initialState: n.value,\n loginMechanisms: r.value,\n socialProviders: s.value,\n signUpAttributes: a.value,\n services: i.value,\n formFields: c.value\n }\n }), m.value = !0);\n }).unsubscribe, b = ye(), { route: g, signOut: w, toSignIn: y, toSignUp: S, user: I } = re(b);\n pi(() => {\n u = Lb({\n componentName: \"Authenticator\",\n packageName: \"vue\",\n version: P1\n });\n }), gs(() => {\n u(), v();\n });\n const T = le(), P = le(), k = le(), $ = le(), O = le(), F = le(), B = le(), G = le(), ae = le(), be = le(), { getSignInTabText: Te, getSignUpTabText: fe } = Ee, ge = D(() => Te()), ve = D(() => fe()), at = D(() => g.value === \"signIn\" || g.value === \"signUp\"), _e = D(() => [\n \"confirmResetPassword\",\n \"confirmSignIn\",\n \"confirmSignUp\",\n \"confirmVerifyUser\",\n \"forceNewPassword\",\n \"forgotPassword\",\n \"setupTotp\",\n \"signIn\",\n \"signUp\",\n \"verifyUser\"\n ].includes(g.value));\n return (L, lo) => {\n const he = T1, He = I1;\n return U(), X(qe, null, [\n d(_e) ? (U(), X(\"div\", Ie({ key: 0 }, L.$attrs, {\n \"data-amplify-authenticator\": \"\",\n \"data-variation\": d(o)\n }), [\n x(\"div\", EC, [\n E(L.$slots, \"header\"),\n x(\"div\", {\n \"data-amplify-router\": \"\",\n \"data-amplify-router-content\": d(at) ? void 0 : \"\"\n }, [\n d(at) && !d(l) ? (U(), W(He, { key: 0 }, {\n default: _(() => [\n C(he, {\n active: d(g) === \"signIn\",\n id: \"signIn\",\n label: d(ge),\n onClick: d(y)\n }, null, 8, [\"active\", \"label\", \"onClick\"]),\n C(he, {\n active: d(g) === \"signUp\",\n id: \"signUp\",\n label: d(ve),\n onClick: d(S)\n }, null, 8, [\"active\", \"label\", \"onClick\"])\n ]),\n _: 1\n })) : j(\"\", !0),\n d(at) ? (U(), X(\"div\", PC, [\n d(g) === \"signIn\" ? (U(), W($a, {\n key: 0,\n id: \"signIn-panel\",\n role: \"tabpanel\",\n class: \"amplify-tabs__panel amplify-tabs__panel--active\",\n \"aria-labelledby\": \"signIn-tab\",\n ref_key: \"signInComponent\",\n ref: T\n }, {\n signInSlotI: _(() => [\n E(L.$slots, \"sign-in\")\n ]),\n form: _(({ info: Xn, onSignInSubmit: as, onForgotPasswordClicked: ss, onInput: ls }) => [\n E(L.$slots, \"sign-in-form\", {\n info: Xn,\n onInput: ls,\n onSignInSubmit: as,\n onForgotPasswordClicked: ss\n })\n ]),\n header: _(() => [\n E(L.$slots, \"sign-in-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"sign-in-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"signUp\" && !d(l) ? (U(), W(Fa, {\n key: 1,\n id: \"signUp-panel\",\n class: \"amplify-tabs__panel amplify-tabs__panel--active\",\n role: \"tabpanel\",\n \"aria-labelledby\": \"signUp-tab\",\n ref_key: \"signUpComponent\",\n ref: P\n }, {\n signUpSlotI: _(() => [\n E(L.$slots, \"sign-up\")\n ]),\n header: _(() => [\n E(L.$slots, \"sign-up-header\")\n ]),\n \"signup-fields\": _(({ info: Xn }) => [\n E(L.$slots, \"sign-up-fields\", { info: Xn })\n ]),\n footer: _(() => [\n E(L.$slots, \"sign-up-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0)\n ])) : j(\"\", !0),\n d(g) === \"confirmSignUp\" ? (U(), W(xa, {\n key: 2,\n ref_key: \"confirmSignUpComponent\",\n ref: k\n }, {\n confirmSignUpSlotI: _(() => [\n E(L.$slots, \"confirm-sign-up\")\n ]),\n header: _(() => [\n E(L.$slots, \"confirm-sign-up-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"confirm-sign-up-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"forgotPassword\" ? (U(), W(ns, {\n key: 3,\n ref_key: \"ForgotPasswordComponent\",\n ref: B\n }, {\n forgotPasswordSlotI: _(() => [\n E(L.$slots, \"forgot-password\")\n ]),\n header: _(() => [\n E(L.$slots, \"forgot-password-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"forgot-password-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"confirmResetPassword\" ? (U(), W(rs, {\n key: 4,\n ref_key: \"confirmResetPasswordComponent\",\n ref: G\n }, {\n confirmResetPasswordSlotI: _(() => [\n E(L.$slots, \"confirm-reset-password\")\n ]),\n header: _(() => [\n E(L.$slots, \"confirm-reset-password-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"confirm-reset-password-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"confirmSignIn\" ? (U(), W(Ma, {\n key: 5,\n ref_key: \"confirmSignInComponent\",\n ref: $\n }, {\n confirmSignInSlotI: _(() => [\n E(L.$slots, \"confirm-sign-in\")\n ]),\n header: _(() => [\n E(L.$slots, \"confirm-sign-in-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"confirm-sign-in-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"setupTotp\" ? (U(), W(AC, {\n key: 6,\n ref_key: \"confirmSetupTotpComponent\",\n ref: O\n }, {\n confirmSetupTotpI: _(() => [\n E(L.$slots, \"setup-totp\")\n ]),\n header: _(() => [\n E(L.$slots, \"setup-totp-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"setup-totp-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"forceNewPassword\" ? (U(), W(ts, {\n key: 7,\n ref_key: \"forceNewPasswordComponent\",\n ref: F\n }, {\n forceNewPasswordI: _(() => [\n E(L.$slots, \"force-new-password\")\n ]),\n header: _(() => [\n E(L.$slots, \"force-new-password-header\")\n ]),\n \"force-new-password-form-fields\": _(() => [\n E(L.$slots, \"force-new-password-form-fields\")\n ]),\n footer: _(() => [\n E(L.$slots, \"force-new-password-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"verifyUser\" ? (U(), W(os, {\n key: 8,\n ref_key: \"verifyUserComponent\",\n ref: ae\n }, {\n verifyUserSlotI: _(() => [\n E(L.$slots, \"verify-user\")\n ]),\n header: _(() => [\n E(L.$slots, \"verify-user-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"verify-user-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0),\n d(g) === \"confirmVerifyUser\" ? (U(), W(is, {\n key: 9,\n ref_key: \"confirmVerifyUserComponent\",\n ref: be\n }, {\n confirmVerifyUserSlotI: _(() => [\n E(L.$slots, \"confirm-verify-user\")\n ]),\n header: _(() => [\n E(L.$slots, \"confirm-verify-user-header\")\n ]),\n footer: _(() => [\n E(L.$slots, \"confirm-verify-user-footer\")\n ]),\n _: 3\n }, 512)) : j(\"\", !0)\n ], 8, TC),\n E(L.$slots, \"footer\")\n ])\n ], 16, IC)) : j(\"\", !0),\n d(g) === \"authenticated\" ? E(L.$slots, \"default\", {\n key: 1,\n user: d(I),\n state: d(h),\n signOut: d(w),\n send: d(p)\n }) : j(\"\", !0)\n ], 64);\n };\n }\n}), NC = q({\n props: {\n info: {\n type: Object\n }\n },\n setup(e) {\n return () => e.info;\n }\n}), UC = /* @__PURE__ */ q({\n __name: \"amplify-text-field\",\n props: {\n label: { default: \"\" },\n id: { default: \"\" },\n autocomplete: { default: \"\" },\n placeholder: { default: \"\" },\n required: { type: Boolean, default: !0 },\n disabled: { type: Boolean, default: !1 },\n name: { default: \"\" },\n type: { default: \"text\" },\n hideLabel: { type: Boolean, default: !0 }\n },\n setup(e) {\n const t = e, { label: n, id: r, autocomplete: o, placeholder: i, required: a, name: s, type: l } = re(t);\n return (c, u) => {\n const m = Kn, f = Yn, p = me;\n return U(), X(qe, null, [\n C(m, {\n class: Ae([\"amplify-label\", { \"amplify-visually-hidden\": e.hideLabel }]),\n for: d(r)\n }, {\n default: _(() => [\n M(R(d(n)), 1)\n ]),\n _: 1\n }, 8, [\"class\", \"for\"]),\n C(p, { class: \"amplify-field-group__field-wrapper\" }, {\n default: _(() => [\n C(f, {\n class: \"amplify-input amplify-field-group__control\",\n id: d(r),\n \"aria-invalid\": \"false\",\n autocomplete: d(o),\n placeholder: d(i),\n required: d(a),\n name: d(s),\n disabled: e.disabled,\n type: d(l)\n }, null, 8, [\"id\", \"autocomplete\", \"placeholder\", \"required\", \"name\", \"disabled\", \"type\"])\n ]),\n _: 1\n })\n ], 64);\n };\n }\n}), $C = { class: \"amplify-flex amplify-field amplify-checkboxfield\" }, OC = { class: \"amplify-flex amplify-checkbox\" }, FC = { class: \"amplify-visually-hidden\" }, RC = [\"data-error\", \"data-checked\"], xC = [\"data-checked\"], MC = /* @__PURE__ */ x(\"path\", { d: \"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z\" }, null, -1), DC = [\n MC\n], BC = { class: \"amplify-text amplify-checkbox__label\" }, LC = {\n key: 0,\n class: \"amplify-text amplify-field__error-message\"\n}, GC = /* @__PURE__ */ q({\n __name: \"amplify-check-box\",\n props: {\n errorMessage: { default: \"\" }\n },\n setup(e) {\n const t = e, n = le(!1), r = le(N(\"I agree with the Terms and Conditions\")), { errorMessage: o } = re(t);\n return (i, a) => (U(), X(\"div\", $C, [\n x(\"label\", OC, [\n x(\"span\", FC, [\n x(\"input\", {\n onClick: a[0] || (a[0] = (s) => n.value = !n.value),\n class: \"amplify-input amplify-field-group__control amplify-checkbox__input\",\n \"aria-invalid\": \"false\",\n type: \"checkbox\",\n name: \"acknowledgement\",\n value: \"yes\"\n })\n ]),\n x(\"span\", {\n class: Ae([\"amplify-flex amplify-checkbox__button\", {\n \"amplify-checkbox__button--error\": !n.value\n }]),\n \"aria-hidden\": \"true\",\n \"data-focus\": \"false\",\n \"data-error\": !n.value,\n \"data-checked\": n.value\n }, [\n (U(), X(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n class: Ae([\"amplify-icon amplify-checkbox__icon\", {\n \"amplify-checkbox__icon--checked\": n.value\n }]),\n viewBox: \"0 0 24 24\",\n fill: \"currentColor\",\n \"data-checked\": n.value\n }, DC, 10, xC))\n ], 10, RC),\n x(\"span\", BC, R(r.value), 1)\n ]),\n n.value ? j(\"\", !0) : (U(), X(\"p\", LC, R(d(o)), 1))\n ]));\n }\n}), KC = {\n install: (e) => {\n e.component(\"SignIn\", $a), e.component(\"SignUp\", Fa), e.component(\"FederatedSignIn\", no), e.component(\"Authenticator\", kC), e.component(\"RenderInfo\", NC), e.component(\"PasswordControl\", Na), e.component(\"ForceNewPassword\", ts), e.component(\"ForgotPassword\", ns), e.component(\"ConfirmResetPassword\", rs), e.component(\"ConfirmSignUp\", xa), e.component(\"ConfirmSignIn\", Ma), e.component(\"VerifyUser\", os), e.component(\"ConfirmVerifyUser\", is), e.component(\"AmplifyTextField\", UC), e.component(\"AmplifyCheckBox\", GC), e.component(\"AmplifyButton\", we), e.component(\"BaseFormField\", Ua), e.component(\"BaseFormFields\", xe), e.component(\n \"AuthenticatorSignUpFormFields\",\n Oa\n ), e.component(\n \"AuthenticatorForceNewPasswordFormFields\",\n es\n );\n }\n};\nexport {\n we as AmplifyButton,\n GC as AmplifyCheckBox,\n UC as AmplifyTextField,\n kC as Authenticator,\n es as AuthenticatorForceNewPasswordFormFields,\n Oa as AuthenticatorSignUpFormFields,\n rs as ConfirmResetPassword,\n Ma as ConfirmSignIn,\n xa as ConfirmSignUp,\n is as ConfirmVerifyUser,\n no as FederatedSignIn,\n ts as ForceNewPassword,\n ns as ForgotPassword,\n Na as PasswordControl,\n NC as RenderInfo,\n $a as SignIn,\n Fa as SignUp,\n os as VerifyUser,\n KC as default,\n YC as translations,\n ye as useAuthenticator\n};\n","\n\n\n"],"names":["logger","ConsoleLogger","I18n$1","lang","key","defVal","val","language","langDict","vocabularies","I18nErrorCode","i18nErrorMap","assert","createAssertionFunction","_config","_i18n","I18n","config","generateRandomString","length","STATE_CHARSET","result","randomNums","getCrypto","num","urlSafeDecode","hex","char","urlSafeEncode","str","getDeviceName","userAgentData","platform","platformVersion","model","architecture","fullVersionList","versionList","v","value","cryptoSecureRandomInt","hexStringify","wordArray","words","sigBytes","hexChars","i","bite","WordArray","Words","nBytes","AuthValidationErrorCode","validationErrorMap","AuthErrorStrings","AuthErrorCodes","assertValidationError","assertion","name","message","recoverySuggestion","AuthError","AssociateSoftwareTokenException","ChangePasswordException","ConfirmDeviceException","ConfirmForgotPasswordException","ConfirmSignUpException","DeleteUserAttributesException","DeleteUserException","ForgetDeviceException","ForgotPasswordException","GetUserException","GetIdException","GetCredentialsForIdentityException","GetUserAttributeVerificationException","GlobalSignOutException","InitiateAuthException","ResendConfirmationException","RespondToAuthChallengeException","SetUserMFAPreferenceException","SignUpException","UpdateUserAttributesException","VerifySoftwareTokenException","VerifyUserAttributeException","UpdateDeviceStatusException","ListDevicesException","createRespondToAuthChallengeClient","composeServiceApi","cognitoUserPoolTransferHandler","createUserPoolSerializer","createUserPoolDeserializer","DEFAULT_SERVICE_CLIENT_API_CONFIG","createVerifySoftwareTokenClient","createAssociateSoftwareTokenClient","cacheCognitoTokens","AuthenticationResult","accessToken","decodeJWT","accessTokenIssuedAtInMillis","currentTime","clockDrift","idToken","refreshToken","deviceMetadata","tokens","tokenOrchestrator","AmplifyError","ERROR_MESSAGE","dispatchSignedInHubEvent","Hub","getCurrentUser","AMPLIFY_SYMBOL","error","USER_UNAUTHENTICATED_EXCEPTION","UNEXPECTED_SIGN_IN_INTERRUPTION_EXCEPTION","defaultState","autoSignInReducer","state","action","createAutoSignInStore","reducer","currentState","autoSignInStore","MS_TO_EXPIRY","TGT_STATE","SIGN_IN_STATE_KEYS","signInReducer","persistSignInState","getInitialState","clearPersistedSignInState","getDefaultState","isExpired","expiryDate","expiryTimestamp","currentTimestamp","resetActiveSignInState","signInStore","stateKey","syncSessionStorage","expiry","username","challengeName","signInSession","createStore","setActiveSignInState","PasskeyError","params","PasskeyErrorCode","notSupportedRecoverySuggestion","abortOrCancelRecoverySuggestion","misconfigurationRecoverySuggestion","passkeyErrorMap","assertPasskeyError","handlePasskeyAuthenticationError","err","handlePasskeyError","AmplifyErrorCode","getIsPasskeySupported","isBrowser","convertArrayBufferToBase64Url","buffer","base64Encoder","convertBase64UrlToArrayBuffer","base64url","base64Decoder","x","deserializeJsonToPkcGetOptions","input","challengeBuffer","allowedCredentialsWithBuffer","allowedCred","serializePkcWithAssertionToJson","response","resultJson","assertCredentialIsPkcWithAuthenticatorAssertionResponse","credential","getPasskey","isPasskeySupported","passkeyGetOptions","createConfirmDeviceClient","textEncoder","BigInteger","a","b","nbi","dbits","canary","j_lm","am1","w","j","c","n","am2","xl","xh","h","m","am3","inBrowser","BI_FP","BI_RM","BI_RC","rr","vv","int2char","intAt","s","bnpCopyTo","r","bnpFromInt","nbv","bnpFromString","k","mi","sh","bnpClamp","bnToString","km","d","p","bnNegate","bnAbs","bnCompareTo","nbits","t","bnBitLength","bnpDLShiftTo","bnpDRShiftTo","bnpLShiftTo","bs","cbs","bm","ds","bnpRShiftTo","bnpSubTo","bnpMultiplyTo","y","bnpSquareTo","bnpDivRemTo","q","pm","pt","ts","ms","nsh","ys","y0","yt","d1","d2","e","qd","bnMod","bnpInvDigit","bnEquals","bnpAddTo","bnAdd","bnSubtract","bnMultiply","bnDivide","Montgomery","montConvert","montRevert","montReduce","u0","montSqrTo","montMulTo","bnModPow","callback","z","g","k1","g2","is1","r2","calculateS","B","N","U","resolve","reject","outerErr","outerResult","innerErr","innerResult","INIT_N","SHORT_TO_HEX","HEX_TO_SHORT","encodedByte","getBytesFromHex","encoded","out","getHexFromBytes","bytes","getHashFromData","data","sha256","Sha256","hashedData","hashHexFromUint8","getHashFromHex","hexStr","HEX_MSB_REGEX","getPaddedHex","bigInt","isNegative","invertedNibbles","invertedNibble","calculateU","A","getHkdfKey","ikm","salt","info","awsCryptoHash","resultFromAWSCryptoPrk","awsCryptoHashHmac","getRandomBytes","getRandomString","AuthenticationHelper","userPoolName","deviceGroupKey","combinedString","hashedString","hexRandom","password","serverBValue","usernamePassword","usernamePasswordHash","S","context","spacer","calculateA","getAuthenticationHelper","generateRandomBigInteger","getNewDeviceMetadata","userPoolId","userPoolEndpoint","newDeviceMetadata","authenticationHelper","deviceKey","deviceSecretVerifierConfig","randomPassword","createCognitoUserPoolEndpointResolver","getRegionFromUserPoolId","handleWebAuthnSignInResult","challengeParameters","authConfig","_a","Amplify","assertTokenProviderConfig","signInDetails","credentialRequestOptions","cred","respondToAuthChallenge","nextChallengeName","nextChallengeParameters","authenticationResult","nextSession","getAuthUserAgentValue","AuthAction","MONTH_NAMES","WEEK_NAMES","getNowString","now","weekDay","month","day","hours","minutes","seconds","year","getSignatureString","dateNow","hkdf","bufUPIDaToB","bufUNaToB","bufSBaToB","urlB64ToUint8Array","bufDNaToB","bufConcat","resultFromAWSCrypto","base64String","padding","base64","rawData","outputArray","handleDeviceSRPAuth","clientMetadata","session","clientId","assertDeviceMetadata","challengeResponses","jsonReqResponseChallenge","respondedChallengeParameters","Session","handleDevicePasswordVerifier","userPoolClientId","UserContextData","getUserContextData","handlePasswordVerifierChallenge","retryOnResourceNotFoundException","func","args","setActiveSignInUsername","dispatch","handlePasswordSRP","authFlow","preferredChallenge","authParameters","jsonReq","resp","createInitiateAuthClient","activeUsername","initiateSelectedChallenge","selectedChallenge","handleSelectChallengeWithPassword","userContextData","handleSelectChallengeWithPasswordSRP","USER_ATTRIBUTES","isWebAuthnResultAuthSignInOutput","handleCustomChallenge","challengeResponse","handleMFASetupChallenge","deviceName","verifySoftwareToken","handleSelectMFATypeChallenge","mapMfaType","handleCompleteNewPasswordChallenge","requiredAttributes","createAttributes","handleUserPasswordAuthFlow","_b","handleUserSRPAuthFlow","handleCustomAuthFlowWithoutSRP","handleCustomSRPAuthFlow","initiateAuth","getSignInResult","availableChallenges","mfaSetupTypes","getMFATypes","parseMFATypes","allowedMfaSetupTypes","getAllowedMfaSetupTypes","isTotpMfaSetupAvailable","isEmailMfaSetupAvailable","associateSoftwareToken","secretCode","getTOTPSetupDetails","parseAttributes","appName","accountName","totpUri","AmplifyUrl","getSignInResultFromError","errorName","attributes","att","newAttributes","handleChallengeName","options","userAttributes","handleMFAChallenge","mfa","mfaType","getMFAType","type","types","availableMfaSetupTypes","authMfaType","assertUserNotAuthenticated","authUser","USER_ALREADY_AUTHENTICATED_EXCEPTION","getActiveSignInUsername","signInWithCustomAuth","metadata","retriedChallengeName","retiredChallengeParameters","assertServiceError","signInWithCustomSRPAuth","handledChallengeName","handledChallengeParameters","initialAutoSignIn","AUTO_SIGN_IN_EXCEPTION","autoSignIn","setAutoSignIn","resetAutoSignIn","resetCallback","signInWithSRP","clientMetaData","signInWithUserPassword","retiredChallengeName","retriedChallengeParameters","handleUserAuthFlow","signInWithUserAuth","handleUserAuthFlowInput","autoSignInStoreState","signIn","authFlowType","MAX_AUTOSIGNIN_POLLING_MS","handleCodeAutoSignIn","signInInput","stopHubListener","HubInternal","payload","autoSignInWithCode","timeOutId","debounce","fun","delay","timer","handleAutoSignInWithLink","start","autoSignInPollingIntervalId","signInOutput","debouncedAutoSignInWithLink","debouncedAutoSignWithCodeOrUserConfirmed","handleAutoSignInWithCodeOrUserConfirmed","autoSignInWhenUserIsConfirmedWithLink","output","autoSignInUserConfirmed","createSignUpClientDeserializer","parseJsonError","parseJsonBody","createSignUpClient","signUp","signUpVerificationMethod","validationData","signInServiceOptions","signUpClient","signUpClientInput","toAttributeType","userId","cdd","userConfirmed","codeDeliveryDetails","isSignUpComplete","isAutoSignInStarted","createForgotPasswordClient","resetPassword","createConfirmForgotPasswordClient","confirmResetPassword","newPassword","code","createResendConfirmationCodeClient","resendSignUpCode","resendConfirmationCode","CodeDeliveryDetails","DeliveryMedium","AttributeName","Destination","createConfirmSignUpClient","confirmSignUp","confirmationCode","confirmSignUpClient","signUpOut","stopListener","confirmSignIn","createVerifyUserAttributeClient","confirmUserAttribute","userAttributeKey","fetchAuthSession","assertAuthTokens","authErrorMessages","createOAuthError","AuthErrorTypes","flowCancelledMessage","validationFailedMessage","validationRecoverySuggestion","validateState","savedState","oAuthStore","validatedState","completeOAuthFlow","currentUrl","userAgentValue","redirectUri","responseType","domain","preferPrivateSession","urlParams","errorMessage","handleCodeFlow","handleImplicitFlow","url","oAuthTokenEndpoint","codeVerifier","oAuthTokenBody","body","access_token","id_token","token_type","expires_in","USER_AGENT_HEADER","completeFlow","error_description","pairings","accum","resolveAndClearInflightPromises","clearHistory","isCustomState","getCustomState","handleFailure","attemptCompleteOAuthFlow","assertOAuthConfig","loginWith","redirectSignIn","getRedirectUrl","ADD_OAUTH_LISTENER","cognitoHostedUIIdentityProviderMap","CODE_VERIFIER_CHARSET","generateCodeVerifier","randomBytes","codeChallenge","byte","generateCodeChallenge","removePaddingChar","base64Encoded","generateState","listenForOAuthFlowCancellation","store","handleCancelOAuthFlow","event","signInWithRedirect","provider","oauthSignIn","_c","_d","_e","_f","oauthConfig","customState","scopes","loginHint","nonce","randomState","method","toCodeChallenge","queryString","oAuthUrl","openAuthSession","createGetUserAttributeVerificationCodeClient","sendUserAttributeVerificationCode","getUserAttributeVerificationCode","Ne","Tr","E","Ie","oe","ie","Ue","Tn","Us","$s","X","me","Os","we","re","Pr","kr","Fs","We","tt","Rs","Ce","xs","Ms","Le","Ds","Ps","Bs","er","Ls","Gs","zs","Lt","_i","Ws","Vs","wi","Hs","js","uo","Ys","Si","l","o","ks","Ks","hs","qs","Gt","Js","Zs","Qs","Xs","u","f","el","ur","fo","tl","nl","bi","rl","$e","Ci","ol","il","al","sl","ll","cl","ul","dl","fl","$l","Zl","Nr","Ql","Xl","ec","Je","Pn","cn","tc","nc","rc","oc","ic","ac","sc","lc","cc","uc","dc","fc","pc","mc","gc","hc","yc","Ee","Ur","V","H","Q","Z","Ze","pn","kn","vt","jt","$r","Ai","Nn","vc","Un","Ii","mn","wc","dr","Or","$n","Ei","Ti","Sc","Pi","mo","fr","bc","Qt","Fr","Mt","Y","ki","pr","_t","Cc","gn","Ot","go","Ac","Ic","un","te","Ni","Pe","hn","K","Ec","ho","Tc","Pc","Ui","kc","yo","ce","$i","Nc","Ye","ze","Uc","$c","On","de","st","Oc","Oi","Fi","dn","Xt","mr","rt","yn","Ge","Fn","Ri","xi","wt","Mi","Rr","Rc","Di","xc","Mc","Dc","Bi","Li","Gi","zi","Wi","Vi","Bc","ji","Ft","Dt","ft","Lc","Hi","Gc","zc","Wc","zt","I","T","fe","ge","P","$","O","F","G","ae","be","Te","ve","Yi","vn","ut","Vc","Ki","jc","xr","Hc","Yc","Kc","_n","qi","Wt","Ji","Rt","gr","Zi","qc","xt","Jc","fn","Zc","vo","Qi","Qc","Xc","ke","eu","_o","tr","tu","Pt","Mr","define_global_default","nu","ru","ou","hr","se","iu","Xi","au","kt","su","en","dt","yr","Nt","lt","ct","lu","uu","he","He","at","L","lo","St","Be","Rn","du","tn","ea","fu","ta","pu","mu","gu","Ht","hu","yu","xn","vu","_u","wu","Su","bu","Cu","Au","Iu","Eu","Tu","Pu","ku","Nu","Uu","$u","Ou","Fu","Ru","xu","bt","Mn","Mu","Du","Bu","Lu","Gu","zu","Wu","Vu","ju","Hu","na","Yu","Ku","qu","Oe","Ju","Zu","Dn","So","ra","Qu","Xu","Ut","ed","td","nd","rd","od","id","bo","ad","sd","ld","cd","Co","ud","Ct","dd","Ve","fd","pd","md","gd","hd","yd","vd","Dr","wd","Sd","nr","Ao","bd","Cd","Ad","Id","Ed","oa","Td","Pd","kd","Nd","Ud","$d","Od","Fd","Rd","xd","Md","Dd","Bd","Ld","Gd","zd","Wd","Vd","ot","jd","Hd","Yd","Br","Kd","Bn","Io","Jd","Zd","Qd","Xd","ef","tf","nf","rf","of","af","sf","lf","cf","uf","df","ff","pf","mf","gf","hf","yf","vf","wf","At","Sf","Eo","bf","Cf","Af","If","Ef","Tf","Pf","kf","Ln","Nf","Uf","$f","Of","Ff","Rf","xf","Mf","Df","Bf","Lf","Gf","zf","Wf","Vf","jf","Hf","It","Lr","Yf","Kf","qf","Jf","Zf","Qf","Xf","ep","tp","np","rp","op","Et","Gr","ip","ap","sp","lp","cp","up","dp","fp","wn","pp","mp","gp","hp","yp","vp","_p","wp","Sp","bp","Cp","ia","Ap","Ip","aa","Ep","Tp","Pp","kp","To","Po","Np","Up","$p","Op","Fp","Rp","xp","Mp","Dp","Bp","Lp","Gp","zp","Wp","Vp","jp","Hp","ko","Yp","Kp","qp","sa","Jp","je","Zp","Qp","Xp","la","em","tm","nm","ca","rm","om","im","am","No","sm","ua","lm","cm","um","it","dm","fm","mm","gm","Uo","hm","da","ym","vm","_m","zr","Sn","wm","Sm","Wr","Cm","Am","Gn","Im","Em","Vr","Tm","Pm","Nm","Um","$m","Om","Fm","Rm","xm","Mm","Dm","Bm","Lm","Gm","zm","Wm","Vm","jm","Hm","Ym","Km","qm","Jm","Zm","Qm","Xm","ee","eg","tg","ng","rg","bn","og","ig","ag","$o","Oo","sg","jr","lg","cg","ug","dg","fg","pg","mg","gg","hg","fa","yg","vg","Hr","_g","pa","wg","Sg","bg","Cg","Ag","Ig","Eg","Tg","Pg","kg","Ng","Ug","zn","$g","Og","Fg","Rg","ma","xg","Mg","Dg","Bg","Lg","Fo","Gg","zg","Wg","Vg","jg","Hg","Yg","Kg","qg","Jg","Zg","Qg","Xg","eh","th","nh","rh","oh","ih","ah","vr","_r","wr","Sr","br","ga","Tt","Ro","lh","xo","Mo","Do","Bo","ch","uh","dh","fh","ph","nt","mh","or","gh","hh","yh","Lo","Go","zo","vh","_h","Wo","Vo","nn","wh","jo","Sh","bh","Ch","Ho","ha","ya","Ah","Ih","Eh","Th","Ph","kh","Nh","Uh","va","$h","Oh","Fh","Rh","Mh","Dh","Bh","Lh","Gh","zh","Wh","Vh","jh","Yr","Hh","Yh","Kh","qh","Jh","Kr","wa","Zh","qr","Qh","Xh","ey","ty","ny","ry","oy","iy","ay","sy","Yo","ly","cy","uy","Ko","qo","Sa","fy","py","my","gy","hy","yy","vy","_y","wy","Wn","Sy","Cy","Yt","Ay","Iy","Ey","Jr","Ty","Py","ky","Ny","Uy","$y","Oy","Fy","Ry","xy","My","Dy","By","Ly","Gy","zy","Wy","Vy","jy","Hy","Yy","Ky","qy","Jy","Zy","Qy","Xy","ev","tv","Zr","nv","rv","ov","iv","av","sv","lv","cv","uv","dv","fv","pv","mv","gv","hv","yv","_v","wv","Sv","ba","Jo","bv","Qr","Cv","Av","Iv","Ev","Tv","Ca","Pv","kv","Nv","Zo","Uv","$v","Ov","Fv","Rv","xv","Mv","Dv","Bv","Lv","Xr","Gv","zv","Wv","Vv","jv","Hv","Yv","Kv","qv","Jv","Zv","Qv","Xv","e_","t_","n_","r_","o_","i_","a_","eo","s_","l_","c_","u_","d_","f_","p_","m_","g_","h_","y_","v_","__","w_","Vn","S_","b_","C_","A_","J","I_","E_","T_","P_","k_","N_","U_","$_","O_","F_","R_","x_","M_","D_","B_","L_","G_","z_","W_","V_","j_","H_","Y_","Qo","K_","q_","J_","Z_","Q_","X_","ew","tw","Kt","nw","rw","ow","iw","aw","sw","lw","cw","uw","dw","fw","pw","mw","gw","hw","yw","vw","_w","ww","Sw","jn","bw","Cw","Aw","Aa","Iw","Ew","Tw","Pw","kw","Cn","Nw","Xo","Uw","$w","Ow","Fw","Rw","xw","Mw","Dw","ei","Bw","Lw","Gw","zw","Ww","Vw","jw","Hw","Yw","Kw","qw","Jw","Zw","Qw","Xw","eS","tS","Ia","nS","rS","oS","iS","aS","Ea","sS","lS","cS","uS","dS","fS","pS","mS","ti","gS","hS","yS","vS","ni","ri","_S","wS","SS","bS","CS","AS","oi","IS","ES","TS","PS","kS","NS","US","$S","OS","FS","Ta","RS","xS","MS","DS","ii","BS","LS","GS","zS","WS","ai","VS","jS","HS","YS","KS","qS","JS","ZS","QS","XS","eb","tb","nb","rb","ob","ib","ab","sb","lb","cb","ub","db","fb","pb","mb","gb","hb","yb","vb","wb","Sb","Hn","bb","Cb","Ab","Qe","Ns","_s","ws","gi","Ss","hi","Cs","Ib","Pa","rn","Eb","Tb","yi","vi","Pb","kb","Nb","Ub","As","$b","Is","Ob","Es","Ts","on","Fb","Rb","$t","xb","Mb","Db","Bb","pe","Lb","De","Gb","zb","Wb","Vb","Fe","le","C","_","Re","jb","us","di","ka","cs","Hb","si","Yb","Kb","co","fs","qb","to","ye","fi","ps","Jb","Yn","Zb","Qb","Xb","Kn","e1","t1","n1","r1","o1","i1","a1","Na","W","Ae","M","R","s1","l1","qe","En","c1","u1","Ua","D","xe","an","f1","p1","m1","g1","h1","y1","v1","_1","w1","no","S1","b1","$a","ue","Oa","Fa","C1","A1","I1","E1","T1","P1","N1","Ra","Xe","Zt","xa","Ma","qt","U1","Da","Se","ro","$1","qn","Ba","O1","Jt","F1","La","Ga","R1","li","za","Jn","Ke","sn","ln","Wa","Zn","Bt","An","Va","oo","x1","ja","et","io","Me","Ha","M1","Vt","D1","B1","L1","G1","Ya","Cr","Ka","z1","ci","qa","W1","mt","V1","j1","ir","gt","H1","Y1","K1","q1","ht","J1","Z1","Q1","X1","Ja","eC","Qn","ar","tC","nC","rC","oC","Ar","Ir","iC","In","aC","sC","sr","lC","cC","uC","dC","lr","fC","pC","mC","gC","Za","ao","Qa","hC","ui","cr","yC","vC","Er","Xa","_C","so","wC","SC","bC","CC","AC","vs","pi","es","ns","rs","os","is","IC","EC","TC","PC","kC","gs","Xn","as","ss","ls","_sfc_main","defineComponent","Authenticator","i18n","useI18n","countries","setLang","currentLanguage","currentLanguageLocale","computed","_hoisted_1","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_6","_hoisted_7","_hoisted_10","_resolveComponent","_openBlock","_createElementBlock","_createElementVNode","_toDisplayString","_ctx","_hoisted_5","_createVNode","_component_authenticator","_withCtx","user","signOut","_hoisted_8","_cache","$event","_normalizeClass","_imports_0","_hoisted_9","_imports_1","_imports_2","_hoisted_11","_imports_3","_hoisted_12","_imports_4"],"mappings":"6hCAIA,MAAMA,GAAS,IAAIC,GAAc,MAAM,EAIvC,IAAIC,GAAS,KAAW,CACpB,aAAc,CAIV,KAAK,SAAW,KAIhB,KAAK,MAAQ,KAIb,KAAK,MAAQ,CAAE,CACvB,CAII,oBAAqB,CAEb,CAAC,KAAK,OACN,OAAO,OAAW,KAClB,QACA,OAAO,YACP,KAAK,MAAQ,OAAO,UAAU,UAElCF,GAAO,MAAM,KAAK,KAAK,CAC/B,CAMI,YAAYG,EAAM,CACd,KAAK,MAAQA,CACrB,CAOI,IAAIC,EAAKC,EAAS,OAAW,CAEzB,GADA,KAAK,mBAAoB,EACrB,CAAC,KAAK,MACN,OAAO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AC,EACJ,KAAM,CAAE,KAAM9d,EAAG,MAAO+d,CAAE,EAAI,EAAG,CAAE,KAAMjoB,GAAM,EAAG,CAAE,SAAUuI,EAAG,UAAWyB,CAAE,EAAI,GAAK,CAAC,EACxF,OAAQie,EAAG,CACT,IAAK,WAAY,CACZJ,GAAAtf,CAAC,GAAKA,EAAE,CAAC,EACZ,KAAA,CAEF,IAAK,qBAAsB,CACzBvI,EAAE,uBAAuB,EACzB,KAAA,CAEF,IAAK,YAAa,CAChB6nB,GAAG7d,CAAC,GAAKA,EAAE,EAAGhK,EAAE,UAAU,EAC1B,KAAA,CAEF,IAAK,uBAAwB,CACrB,KAAAgoB,EAAI9d,GAAK,KAAO,OAASA,EAAE,QAAU,KAAO,OAAS8d,EAAE,QAAUE,GAAG,aACxE,OACFloB,EAAE,UAAU,EACZ,KAAA,CACF,CAEJ,EAAGmoB,GAAK,CAAC,EAAG,EAAIJ,KAAO,CACrB,MAAM,EAAK,GAAM,EAAE,EAAG,CAAC,EACvB,OAAOK,GAAG,OAAO,OAAQ,EAAG,2BAA2B,CACzD,EAAGC,GAAK,CACN,KACA,KACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,MACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,OACA,MACF,EAAGC,GAAK,CACN,UAAW,CACT,MAAO,YACP,YAAa,uBACb,KAAM,OACN,aAAc,OACd,WAAY,EACd,EACA,kBAAmB,CACjB,MAAO,oBACP,YAAa,+BACb,KAAM,OACN,aAAc,gBACd,WAAY,EACd,EACA,iBAAkB,CAChB,MAAO,mBACP,YAAa,+BACb,KAAM,WACN,aAAc,eACd,WAAY,EACd,EACA,MAAO,CACL,MAAO,QACP,YAAa,mBACb,KAAM,QACN,aAAc,WACd,WAAY,EACd,EACA,YAAa,CACX,MAAO,cACP,YAAa,yBACb,KAAM,OACN,aAAc,cACd,WAAY,EACd,EACA,WAAY,CACV,MAAO,aACP,YAAa,wBACb,KAAM,OACN,aAAc,aACd,WAAY,EACd,EACA,YAAa,CACX,MAAO,cACP,YAAa,yBACb,KAAM,OACN,aAAc,kBACd,WAAY,EACd,EACA,KAAM,CACJ,MAAO,OACP,YAAa,kBACb,KAAM,OACN,aAAc,OACd,WAAY,EACd,EACA,SAAU,CACR,MAAO,WACP,YAAa,sBACb,KAAM,OACN,aAAc,MACd,WAAY,EACd,EACA,SAAU,CACR,MAAO,WACP,YAAa,sBACb,KAAM,WACN,aAAc,eACd,WAAY,EACd,EACA,aAAc,CACZ,MAAO,eACP,YAAa,0BACb,KAAM,M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AGD,EAAGhe,CAAC,CAAC,CAC/C,EAAA,EAAE,YAAc,SAASie,EAAGjoB,EAAG,CAChC,MAAMuI,EAAI,OAAO,KAAK,EAAE,QAAQ,EAAE,OAC9B,IAAAyB,EAAI,EAAGge,EAAI,IACf,QAAShf,EAAI,EAAGA,EAAIT,EAAGS,IAAK,CAC1BhJ,EAAEgJ,CAAC,EAAG,EAAE,UAAUA,EAAGif,CAAC,EACtB,MAAMU,EAAI,EAAE,aAAaV,CAAC,EAAI,EAAE,aAAaA,CAAC,EAAI,EAAE,aAAaA,CAAC,EAAI,EAAE,aAAaA,CAAC,EACpF,EAAA,UAAUjf,EAAGif,CAAC,EAAGU,EAAIX,IAAMA,EAAIW,EAAG3e,EAAIhB,EAAA,CAEnC,OAAAgB,CACT,CACF,GAAGmlD,EAAE,EACL,IAAIC,GAAK,CAAC,EACV,MAAMC,GAAKX,GAAIY,GAAK,CAElB,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,EACA,GACA,EACA,EACA,GACA,GACA,EACA,EACA,GACA,GACA,EACA,EACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,EACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,EACF,EAAGC,GAAK,CAEN,EACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,GACA,IACA,GACA,GACA,IACA,IACA,GACA,GACA,IACA,IACA,GACA,IACA,IACA,IACA,GACA,IACA,IACA,IACA,GACA,IACA,IACA,IACA,GACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,IACA,KACA,IACA,IACA,IACA,KACA,IACA,IACA,KACA,KACA,IACA,IACA,KACA,KACA,IACA,IACA,KACA,KACA,IACA,IACA,KACA,KACA,IACA,IACA,KACA,KACA,IACA,IACA,KACA,KACA,IACA,IACA,KACA,KACA,IACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,IACA,KACA,KACA,KACA,IACA,KACA,KACA,IACF,EACAH,GAAG,eAAiB,SAASlkD,EAAGjC,EAAG,CACjC,OAAQA,EAAG,CACT,KAAKomD,GAAG,EACN,OAAOC,IAAIpkD,EAAI,GAAK,EAAI,CAAC,EAC3B,KAAKmkD,GAAG,EACN,OAAOC,IAAIpkD,EAAI,GAAK,EAAI,CAAC,EAC3B,KAAKmkD,GAAG,EACN,OAAOC,IAAIpkD,EAAI,GAAK,EAAI,CAAC,EAC3B,KAAKmkD,GAAG,EACN,OAAOC,IAAIpkD,EAAI,GAAK,EAAI,CAAC,EAC3B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vD,OAAW,CAAA,MAAA,yBAAA,EAAA,CAA6BA,EAAA,MAAA,CAAC,MAAI,YAAA,IAAAoB","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94]}