PageSourceSearch

https://askgrace.ai/_next/static/chunks/2115-3f27b4a4135ef6d7.js

js askgrace.ai collected 2026-10-05 13:28:59 UTC 4,687 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2115],{43006:(e,s,n)=>{n.d(s,{AR:()=>p,DI:()=>m,So:()=>d,be:()=>a});var r=n(2223),o=n(69216),t=n(30119),i=n(97592);function a(e,s){return{sharedSecret:e,getSetupUri:(n,o)=>{let t=`otpauth://totp/${n}:${o??s}?secret=${e}&issuer=${n}`;return new r.o(t)}}}function m(e){return"SMS_MFA"===e?"SMS":"SOFTWARE_TOKEN_MFA"===e?"TOTP":"EMAIL_OTP"===e?"EMAIL":void 0}function d(e){if(e)return e.map(m).filter(Boolean)}async function p(){let e;try{e=await (0,i.H)()}catch(e){}if(e&&e.userId&&e.username)throw new o.l({name:t.z0,message:"There is already a signed in user.",recoverySuggestion:"Call signOut before calling signIn again."})}n(66766)},69789:(e,s,n)=>{var r;n.d(s,{P:()=>r}),function(e){e.EmptySignInUsername="EmptySignInUsername",e.EmptySignInPassword="EmptySignInPassword",e.CustomAuthSignInPassword="CustomAuthSignInPassword",e.EmptySignUpUsername="EmptySignUpUsername",e.EmptySignUpPassword="EmptySignUpPassword",e.EmptyConfirmSignUpUsername="EmptyConfirmSignUpUsername",e.EmptyConfirmSignUpCode="EmptyConfirmSignUpCode",e.EmptyResendSignUpCodeUsername="EmptyresendSignUpCodeUsername",e.EmptyChallengeResponse="EmptyChallengeResponse",e.EmptyConfirmResetPasswordUsername="EmptyConfirmResetPasswordUsername",e.EmptyConfirmResetPasswordNewPassword="EmptyConfirmResetPasswordNewPassword",e.EmptyConfirmResetPasswordConfirmationCode="EmptyConfirmResetPasswordConfirmationCode",e.EmptyResetPasswordUsername="EmptyResetPasswordUsername",e.EmptyVerifyTOTPSetupCode="EmptyVerifyTOTPSetupCode",e.EmptyConfirmUserAttributeCode="EmptyConfirmUserAttributeCode",e.IncorrectMFAMethod="IncorrectMFAMethod",e.EmptyUpdatePassword="EmptyUpdatePassword",e.InvalidPreferredChallenge="InvalidPreferredChallenge"}(r||(r={}))},74390:(e,s,n)=>{n.d(s,{fs:()=>r,nC:()=>o,ut:()=>i});var r,o,t=n(69789);let i={[t.P.EmptyChallengeResponse]:{message:"challengeResponse is required to confirmSignIn"},[t.P.EmptyConfirmResetPasswordUsername]:{message:"username is required to confirmResetPassword"},[t.P.EmptyConfirmSignUpCode]:{message:"code is required to confirmSignUp"},[t.P.EmptyConfirmSignUpUsername]:{message:"username is required to confirmSignUp"},[t.P.EmptyConfirmResetPasswordConfirmationCode]:{message:"confirmationCode is required to confirmResetPassword"},[t.P.EmptyConfirmResetPasswordNewPassword]:{message:"newPassword is required to confirmResetPassword"},[t.P.EmptyResendSignUpCodeUsername]:{message:"username is required to confirmSignUp"},[t.P.EmptyResetPasswordUsername]:{message:"username is required to resetPassword"},[t.P.EmptySignInPassword]:{message:"password is required to signIn"},[t.P.EmptySignInUsername]:{message:"username is required to signIn"},[t.P.EmptySignUpPassword]:{message:"password is required to signUp"},[t.P.EmptySignUpUsername]:{message:"username is required to signUp"},[t.P.CustomAuthSignInPassword]:{message:"A password is not needed when signing in with CUSTOM_WITHOUT_SRP",recoverySuggestion:"Do not include a password in your signIn call."},[t.P.IncorrectMFAMethod]:{message:"Incorrect MFA method was chosen. It should be either SMS, TOTP, or EMAIL",recoverySuggestion:"Try to pass SMS, TOTP, or EMAIL as the challengeResponse"},[t.P.EmptyVerifyTOTPSetupCode]:{message:"code is required to verifyTotpSetup"},[t.P.EmptyUpdatePassword]:{message:"oldPassword and newPassword are required to changePassword"},[t.P.EmptyConfirmUserAttributeCode]:{message:"confirmation code is required to confirmUserAttribute"},[t.P.InvalidPreferredChallenge]:{message:"The preferred challenge is not enabled in your backend configuration",recoverySuggestion:"Ensure the authentication method is enabled in your Amplify backend configuration"}};!function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_E
1RROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in",e.OAUTH_ERROR="Couldn't finish OAuth flow, check your User Pool HostedUI settings"}(r||(r={})),function(e){e.SignInException="SignInException",e.OAuthSignInError="OAuthSignInException"}(o||(o={}))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.