@aws-amplify/ui-vue 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7580,7 +7580,7 @@ var No = c((jn, Uo) => {
7580
7580
  });
7581
7581
  var Fo = c(($n, Oo) => {
7582
7582
  o();
7583
- Oo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderRadius: { value: "{radii.small.value}" }, color: { value: "{colors.font.primary.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" }, fontSize: { value: "{components.field.fontSize.value}" }, lineHeight: { value: "{lineHeights.medium.value}" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, small: { fontSize: { value: "{components.field.small.fontSize.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.small.value}" }, paddingInlineEnd: { value: "{space.small.value}" } }, large: { fontSize: { value: "{components.field.large.fontSize.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } }, quiet: { borderStyle: { value: "none" }, borderBlockEnd: { value: "{borderWidths.small.value} solid {colors.border.primary.value}" }, borderInlineStart: { value: "none" }, borderInlineEnd: { value: "none" }, borderBlockStart: { value: "none" }, borderRadius: { value: "0" }, _focus: { borderBlockEndColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.focus.value}" } } }, _error: { borderBlockEndColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.error.value}" } } } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.focus.value}" } } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, cursor: { value: "not-allowed" }, borderColor: { value: "{colors.transparent.value}" }, backgroundColor: { value: "{colors.background.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.error.value}" } } } } };
7583
+ Oo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderRadius: { value: "{radii.small.value}" }, color: { value: "{colors.font.primary.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" }, fontSize: { value: "{components.field.fontSize.value}" }, lineHeight: { value: "{lineHeights.medium.value}" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, small: { fontSize: { value: "{components.field.small.fontSize.value}" }, paddingBlockStart: { value: "{space.xxs.value}" }, paddingBlockEnd: { value: "{space.xxs.value}" }, paddingInlineStart: { value: "{space.small.value}" }, paddingInlineEnd: { value: "{space.small.value}" } }, large: { fontSize: { value: "{components.field.large.fontSize.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } }, quiet: { borderStyle: { value: "none" }, borderBlockEnd: { value: "{borderWidths.small.value} solid {colors.border.primary.value}" }, borderInlineStart: { value: "none" }, borderInlineEnd: { value: "none" }, borderBlockStart: { value: "none" }, borderRadius: { value: "0" }, _focus: { borderBlockEndColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.focus.value}" } } }, _error: { borderBlockEndColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.error.value}" } } } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.focus.value}" } } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, cursor: { value: "not-allowed" }, borderColor: { value: "{colors.transparent.value}" }, backgroundColor: { value: "{colors.background.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.error.value}" } } } } };
7584
7584
  });
7585
7585
  var Bo = c((Kn, zo) => {
7586
7586
  o();
@@ -7596,7 +7596,7 @@ var Ho = c((Xn, Lo) => {
7596
7596
  });
7597
7597
  var jo = c((Zn, qo) => {
7598
7598
  o();
7599
- qo.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: 1.25 }, 1: { fontSize: { value: "{fontSizes.xxxxl.value}" }, fontWeight: { value: "{fontWeights.light.value}" } }, 2: { fontSize: { value: "{fontSizes.xxxl.value}" }, fontWeight: { value: "{fontWeights.light.value}" } }, 3: { fontSize: { value: "{fontSizes.xxl.value}" }, fontWeight: { value: "{fontWeights.normal.value}" } }, 4: { fontSize: { value: "{fontSizes.xl.value}" }, fontWeight: { value: "{fontWeights.medium.value}" } }, 5: { fontSize: { value: "{fontSizes.large.value}" }, fontWeight: { value: "{fontWeights.semibold.value}" } }, 6: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } } };
7599
+ qo.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: "{lineHeights.small.value}" }, 1: { fontSize: { value: "{fontSizes.xxxxl.value}" }, fontWeight: { value: "{fontWeights.light.value}" } }, 2: { fontSize: { value: "{fontSizes.xxxl.value}" }, fontWeight: { value: "{fontWeights.normal.value}" } }, 3: { fontSize: { value: "{fontSizes.xxl.value}" }, fontWeight: { value: "{fontWeights.medium.value}" } }, 4: { fontSize: { value: "{fontSizes.xl.value}" }, fontWeight: { value: "{fontWeights.semibold.value}" } }, 5: { fontSize: { value: "{fontSizes.large.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } }, 6: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.extrabold.value}" } } };
7600
7600
  });
7601
7601
  var Ko = c((Qn, $o) => {
7602
7602
  o();
@@ -7771,7 +7771,7 @@ var oe = { "Account recovery requires verified contact information": "La recuper
7771
7771
  o();
7772
7772
  var re = { "Account recovery requires verified contact information": "La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es", "An account with the given email already exists.": "Un utilisateur avec cette adresse email existe d\xE9j\xE0.", "Back to Sign In": "Retour \xE0 la connexion", Change: "Modifier", "Change Password": "Modifier le mot de passe", Code: "Code", Confirm: "Confirmer", "Confirm a Code": "Confirmer un code", "Confirm Password": "Confirmez le mot de passe", "Confirm Sign In": "Confirmer la connexion", "Confirm Sign Up": "Confirmer l'inscription", "Confirm SMS Code": "Confirmer le code SMS", "Confirm TOTP Code": "Confirmer le code TOTP", "Confirmation Code": "Code de confirmation", "Create a new account": "Cr\xE9er un nouveau compte", "Create account": "Cr\xE9er un compte", "Create Account": "Cr\xE9er un compte", Email: "Email", "Enter your code": "Saisissez cotre code de confirmation", "Enter your email": "Saisissez votre adresse email", "Enter your password": "Saisissez votre mot de passe", "Enter your phone number": "Saisissez votre num\xE9ro de t\xE9l\xE9phone", "Enter your username": "Saisissez votre nom d'utilisateur", "Forgot Password": "Mot de passe oubli\xE9", "Forgot your password?": "Mot de passe oubli\xE9 ? ", "Have an account? ": "D\xE9j\xE0 un compte ? ", Hello: "Bonjour", "Incorrect username or password": "Identifiant ou mot de passe incorrect", "Invalid password format": "Format de mot de passe invalide", "Invalid phone number format": "Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900", "Loading...": "Chargement...", "Lost your code? ": "Vous avez perdu votre code ? ", "Network error": "Erreur r\xE9seau", "New Password": "Nouveau mot de passe", "No account? ": "Pas de compte ? ", or: "ou", Password: "Mot de passe", "Phone Number": "Num\xE9ro de t\xE9l\xE9phone", "Resend a Code": "Renvoyer un code", "Resend Code": "Renvoyer le code", "Reset password": "R\xE9initialisez votre mot de passe", "Reset your password": "R\xE9initialisez votre mot de passe", Send: "Envoyer", "Send Code": "M'envoyer un code", "Sign in": "Se connecter", "Sign In": "Se connecter", "Sign in to your account": "Connexion \xE0 votre compte", "Sign In with Amazon": "Se connecter avec Amazon", "Sign In with AWS": "Se connecter avec AWS", "Sign In with Facebook": "Se connecter avec Facebook", "Sign In with Google": "Se connecter avec Google", "Sign Out": "D\xE9connexion", "Sign Up": "S'inscrire", Skip: "Passer", SMS: "SMS", Submit: "Soumettre", "User already exists": "L'utilisateur existe d\xE9j\xE0", "User does not exist": "L'utilisateur n'existe pas", Username: "Nom d'utilisateur", "Username cannot be empty": "Le nom d'utilisateur doit \xEAtre renseign\xE9", "Username/client id combination not found.": "L'utilisateur n'existe pas", Verify: "V\xE9rifier", "Verify Contact": "V\xE9rifier le contact" };
7773
7773
  o();
7774
- var ae = { "Account recovery requires verified contact information": "Ripristino del conto richiede un account verificati", "An account with the given email already exists.": "Un account con questa email esiste gi\xE0.", "Back to Sign In": "Torna alla Accesso", "Change Password": "Cambia la password", Code: "Codice", Confirm: "Conferma", "Confirm a Code": "Codice Conferma", "Confirm Password": "Conferma la password", "Confirm Sign In": "Conferma di applicazione", "Confirm Sign Up": "Registrazione Conferma", "Confirmation Code": "Codice di verifica", "Create a new account": "Creare un nuovo account", "Create account": "Registrati", "Create Account": "Crea account", Email: "E-mail", "Enter your password": "Inserire la password", "Enter your username": "Inserisci il tuo nome utente", "Forgot Password": "Password dimenticata", "Forgot your password?": "Password dimenticata?", "Have an account? ": "Gi\xE0 registrato?", "Incorrect username or password": "Nome utente o password errati", "Invalid password format": "Formato della password non valido", "Invalid phone number format": "Utilizzo non valido Telefonummern formattare un numero nel formato :. 12.345.678,9 mille", "Lost your code?": "Perso codice?", "New Password": "Nuova password", or: "o", "No account? ": "Nessun account?", Password: "Password", "Password attempts exceeded": "Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto", "Phone Number": "Numero di telefono", "Resend Code": "Codice Rispedisci", "Reset password": "Ripristina password", "Reset your password": "Resetta password", "Send Code": "Invia codice", "Sign in": "Accesso", "Sign In": "Accesso", "Sign in to your account": "Accedi con il tuo account a", "Sign Out": "Esci", "Sign Up": "Iscriviti", Skip: "Salta", Submit: "Sottoscrivi", "User already exists": "Questo utente esiste gi\xE0", "User does not exist": "Questo utente non esiste", Username: "Nome utente", "Username cannot be empty": "Nome utente non pu\xF2 essere vuoto", Verify: "Verifica", "Verify Contact": "Contatto verifica" };
7774
+ var ae = { "Account recovery requires verified contact information": "Il ripristino dell'account richiede informazioni di contatto verificate", "An account with the given email already exists.": "Questa email \xE8 gi\xE0 utilizzata da un'altro account.", "Back to Sign In": "Torna alla schermata di accesso", "Change Password": "Cambia la password", Code: "Codice", Confirm: "Conferma", "Confirm a Code": "Conferma un codice", "Confirm Password": "Conferma la password", "Confirm Sign In": "Conferma l'accesso", "Confirm Sign Up": "Conferma registrazione", "Confirmation Code": "Codice di verifica", "Create a new account": "Crea un nuovo account", "Create account": "Crea account", "Create Account": "Crea Account", Email: "Email", "Enter your password": "Inserisci la tua password", "Enter your username": "Inserisci il tuo nome utente", "Forgot Password": "Password dimenticata", "Forgot your password?": "Password dimenticata?", "Have an account? ": "Gi\xE0 registrato?", "Incorrect username or password": "Nome utente o password errati", "Invalid password format": "Formato della password non valido", "Invalid phone number format": "Formato del numero di telefono non valido", "Lost your code?": "Codice smarrito?", "New Password": "Nuova password", or: "o", "No account? ": "Non hai un account?", Password: "Password", "Password attempts exceeded": "Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto", "Phone Number": "Numero di telefono", "Resend Code": "Rispedisci codice", "Reset password": "Reimposta password", "Reset your password": "Reimposta la tua password", "Send Code": "Invia codice", "Sign in": "Accesso", "Sign In": "Accesso", "Sign in to your account": "Accedi al tuo account", "Sign Out": "Esci", "Sign Up": "Registrati", Skip: "Salta", Submit: "Invia", "User already exists": "Utente gi\xE0 esistente", "User does not exist": "Utente inesistente", Username: "Nome utente", "Username cannot be empty": "Il nome utente non pu\xF2 essere vuoto", Verify: "Verifica", "Verify Contact": "Verifica contatto" };
7775
7775
  o();
7776
7776
  var te = { "Account recovery requires verified contact information": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059", "An account with the given email already exists.": "\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059", "Back to Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B", "Change Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ", Code: "\u30B3\u30FC\u30C9", Confirm: "\u78BA\u5B9A", "Confirm a Code": "\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D", "Confirm Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D", "Confirm Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B", "Confirm Sign Up": "\u767B\u9332\u3059\u308B", "Confirmation Code": "\u78BA\u8A8D\u30B3\u30FC\u30C9", "Create a new account": "\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", "Create account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ", "Create Account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B", Email: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", "Enter your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ", "Enter your username": "\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ", "Forgot Password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ", "Forgot your password?": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ", "Have an account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F", "Incorrect username or password": "\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ", "Invalid password format": "\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ", "Invalid phone number format": `\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
7777
7777
  +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`, "Lost your code? ": "\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F", "New Password": "\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9", "No account? ": "\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ", or: "\u53C8\u306F", Password: "\u30D1\u30B9\u30EF\u30FC\u30C9 ", "Password attempts exceeded": "\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F", "Phone Number": "\u96FB\u8A71\u756A\u53F7", "Resend Code": "\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1", "Reset password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ", "Reset your password": "\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B", "Send Code": "\u30B3\u30FC\u30C9\u3092\u9001\u4FE1", "Sign in": "\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In": "\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign in to your account": "\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ", "Sign In with Amazon": "Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Facebook": "Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign In with Google": "Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3", "Sign Out": "\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ", "Sign Up": "\u767B\u9332 ", Skip: "\u30B9\u30AD\u30C3\u30D7", Submit: "\u9001\u4FE1", "User already exists": "\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ", "User does not exist": "\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ", Username: "\u30E6\u30FC\u30B6\u30FC\u540D ", "Username cannot be empty": "\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059", Verify: "\u78BA\u8A8D", "Verify Contact": "\u9023\u7D61\u5148\u3092\u78BA\u8A8D" };
@@ -7815,9 +7815,9 @@ o();
7815
7815
  var G = (r) => stop_1(r), Oe = assign_1({ attributeToVerify: (r) => {
7816
7816
  } }), Fe = assign_1({ challengeName: (r) => {
7817
7817
  } }), ze = assign_1({ requiredAttributes: (r) => {
7818
- } }), E = assign_1({ remoteError: (r) => "" }), D = assign_1({ formValues: (r) => ({}) }), I = assign_1({ touched: (r) => ({}) }), Be = assign_1({ unverifiedAttributes: (r) => {
7818
+ } }), D = assign_1({ remoteError: (r) => "" }), I = assign_1({ formValues: (r) => ({}) }), P = assign_1({ touched: (r) => ({}) }), Be = assign_1({ unverifiedAttributes: (r) => {
7819
7819
  } }), Me = assign_1({ username: (r) => {
7820
- } }), P = assign_1({ validationError: (r) => ({}) }), Ge = assign_1({ challengeName: (r, e) => {
7820
+ } }), R = assign_1({ validationError: (r) => ({}) }), Ge = assign_1({ challengeName: (r, e) => {
7821
7821
  var a;
7822
7822
  return (a = e.data) == null ? void 0 : a.challengeName;
7823
7823
  } }), Le = assign_1({ requiredAttributes: (r, e) => {
@@ -7827,13 +7827,13 @@ var G = (r) => stop_1(r), Oe = assign_1({ attributeToVerify: (r) => {
7827
7827
  var l, u;
7828
7828
  let [a] = r.loginMechanisms, t = (l = r.formValues[a]) != null ? l : r.formValues.username, s = (u = r.formValues) == null ? void 0 : u.password;
7829
7829
  return { username: t, password: s };
7830
- } }), R = assign_1({ validationError: (r, e) => e.data }), W = assign_1({ remoteError: (r, e) => {
7830
+ } }), W = assign_1({ validationError: (r, e) => e.data }), V = assign_1({ remoteError: (r, e) => {
7831
7831
  var a;
7832
7832
  return e.data.name === "NoUserPoolError" ? "Configuration error (see console) \u2013 please contact the administrator" : ((a = e.data) == null ? void 0 : a.message) || e.data;
7833
- } }), je = assign_1({ unverifiedAttributes: (r, e) => e.data.unverified }), $ = assign_1({ user: (r, e) => e.data.user || e.data }), $e = assign_1({ username: (r, e) => r.formValues.username }), Ke = assign_1({ codeDeliveryDetails: (r, e) => e.data.codeDeliveryDetails }), Ye = assign_1({ authAttributes: (r, e) => ({ username: r.formValues.username }) }), V = assign_1({ formValues: (r, e) => {
7833
+ } }), je = assign_1({ unverifiedAttributes: (r, e) => e.data.unverified }), $ = assign_1({ user: (r, e) => e.data.user || e.data }), $e = assign_1({ username: (r, e) => r.formValues.username }), Ke = assign_1({ codeDeliveryDetails: (r, e) => e.data.codeDeliveryDetails }), Ye = assign_1({ authAttributes: (r, e) => ({ username: r.formValues.username }) }), _ = assign_1({ formValues: (r, e) => {
7834
7834
  let { name: a, value: t } = e.data;
7835
7835
  return y(m({}, r.formValues), { [a]: t });
7836
- } }), _ = assign_1({ touched: (r, e) => {
7836
+ } }), U = assign_1({ touched: (r, e) => {
7837
7837
  let { name: a } = e.data;
7838
7838
  return y(m({}, r.touched), { [`${a}`]: true });
7839
7839
  } }), K = assign_1({ formValues: (r, e) => {
@@ -7847,12 +7847,12 @@ var G = (r) => stop_1(r), Oe = assign_1({ attributeToVerify: (r) => {
7847
7847
  o();
7848
7848
  o();
7849
7849
  o();
7850
- var U = async (r, e, a) => {
7850
+ var N = async (r, e, a) => {
7851
7851
  let t = await Promise.all(a.map((l) => l(r, e))), s = merge_1({}, ...t);
7852
7852
  return isEmpty_1(s) ? Promise.resolve() : Promise.reject(s);
7853
7853
  };
7854
7854
  o();
7855
- var N = { async getAmplifyConfig() {
7855
+ var O = { async getAmplifyConfig() {
7856
7856
  return Amplify.configure();
7857
7857
  }, async getCurrentUser() {
7858
7858
  return Auth.currentAuthenticatedUser();
@@ -7878,7 +7878,7 @@ var N = { async getAmplifyConfig() {
7878
7878
  }, async validatePreferredUsername(r, e) {
7879
7879
  } };
7880
7880
  function Ze({ services: r }) {
7881
- return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onError: { actions: "setRemoteError" } } }, submit: { tags: ["pending"], entry: ["parsePhoneNumber", "clearError", sendUpdate$1()], invoke: { src: "signIn", onDone: [{ cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldForceChangePassword", actions: ["setUser", "setChallengeName", "setRequiredAttributes"], target: "#signInActor.forceNewPassword" }, { actions: "setUser", target: "verifying" }], onError: [{ cond: "shouldRedirectToConfirmSignUp", actions: ["setCredentials", "setConfirmSignUpIntent"], target: "rejected" }, { cond: "shouldRedirectToConfirmResetPassword", actions: ["setUsernameAuthAttributes", "setConfirmResetPasswordIntent"], target: "rejected" }, { actions: "setRemoteError", target: "edit" }] } }, verifying: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "checkVerifiedContact", onDone: [{ cond: "shouldRequestVerification", target: "#signInActor.verifyUser", actions: "setUnverifiedAttributes" }, { target: "resolved" }], onError: { actions: "setRemoteError", target: "edit" } } }, resolved: { always: "#signInActor.resolved" }, rejected: { always: "#signInActor.rejected" } } }, confirmSignIn: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmSignIn", onDone: { target: "#signInActor.resolved", actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, forceNewPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate" } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "forceNewPassword", onDone: [{ cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signInActor.resolved" } } } } }, setupTOTP: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "verifyTotpToken", onDone: { actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"], target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, verifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "verifyUser", onDone: { target: "#signInActor.confirmVerifyUser" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, confirmVerifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearUnverifiedAttributes", "clearAttributeToVerify", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "confirmVerifyUser", onDone: { target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, resolved: { type: "final", data: (e) => ({ user: e.user }) }, rejected: { type: "final", data: (e, a) => ({ intent: e.redirectIntent, authAttributes: e.authAttributes }) } } }, { actions: { clearAttributeToVerify: Oe, clearChallengeName: Fe, clearRequiredAttributes: ze, clearError: E, clearFormValues: D, clearTouched: I, clearUnverifiedAttributes: Be, clearValidationError: P, handleInput: V, handleBlur: _, parsePhoneNumber: K, setChallengeName: Ge, setConfirmResetPasswordIntent: He, setConfirmSignUpIntent: qe, setRequiredAttributes: Le, setCredentials: j, setFieldErrors: R, setRemoteError: W, setUnverifiedAttributes: je, setUser: $, setUsernameAuthAttributes: Ye }, guards: { shouldConfirmSignIn: (e, a) => {
7881
+ return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onError: { actions: "setRemoteError" } } }, submit: { tags: ["pending"], entry: ["parsePhoneNumber", "clearError", sendUpdate$1()], invoke: { src: "signIn", onDone: [{ cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldForceChangePassword", actions: ["setUser", "setChallengeName", "setRequiredAttributes"], target: "#signInActor.forceNewPassword" }, { actions: "setUser", target: "verifying" }], onError: [{ cond: "shouldRedirectToConfirmSignUp", actions: ["setCredentials", "setConfirmSignUpIntent"], target: "rejected" }, { cond: "shouldRedirectToConfirmResetPassword", actions: ["setUsernameAuthAttributes", "setConfirmResetPasswordIntent"], target: "rejected" }, { actions: "setRemoteError", target: "edit" }] } }, verifying: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "checkVerifiedContact", onDone: [{ cond: "shouldRequestVerification", target: "#signInActor.verifyUser", actions: "setUnverifiedAttributes" }, { target: "resolved" }], onError: { actions: "setRemoteError", target: "edit" } } }, resolved: { always: "#signInActor.resolved" }, rejected: { always: "#signInActor.rejected" } } }, confirmSignIn: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmSignIn", onDone: { target: "#signInActor.resolved", actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, forceNewPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate" } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "forceNewPassword", onDone: [{ cond: "shouldConfirmSignIn", actions: ["setUser", "setChallengeName"], target: "#signInActor.confirmSignIn" }, { cond: "shouldSetupTOTP", actions: ["setUser", "setChallengeName"], target: "#signInActor.setupTOTP" }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signInActor.resolved" } } } } }, setupTOTP: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "verifyTotpToken", onDone: { actions: ["setUser", "clearChallengeName", "clearRequiredAttributes"], target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, verifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "verifyUser", onDone: { target: "#signInActor.confirmVerifyUser" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, confirmVerifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearUnverifiedAttributes", "clearAttributeToVerify", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "confirmVerifyUser", onDone: { target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, resolved: { type: "final", data: (e) => ({ user: e.user }) }, rejected: { type: "final", data: (e, a) => ({ intent: e.redirectIntent, authAttributes: e.authAttributes }) } } }, { actions: { clearAttributeToVerify: Oe, clearChallengeName: Fe, clearRequiredAttributes: ze, clearError: D, clearFormValues: I, clearTouched: P, clearUnverifiedAttributes: Be, clearValidationError: R, handleInput: _, handleBlur: U, parsePhoneNumber: K, setChallengeName: Ge, setConfirmResetPasswordIntent: He, setConfirmSignUpIntent: qe, setRequiredAttributes: Le, setCredentials: j, setFieldErrors: W, setRemoteError: V, setUnverifiedAttributes: je, setUser: $, setUsernameAuthAttributes: Ye }, guards: { shouldConfirmSignIn: (e, a) => {
7882
7882
  let t = get_1(a, "data.challengeName");
7883
7883
  return ["SMS_MFA", "SOFTWARE_TOKEN_MFA"].includes(t);
7884
7884
  }, shouldRedirectToConfirmSignUp: (e, a) => a.data.code === "UserNotConfirmedException", shouldRedirectToConfirmResetPassword: (e, a) => a.data.code === "PasswordResetRequiredException", shouldSetupTOTP: (e, a) => get_1(a, "data.challengeName") === "MFA_SETUP", shouldForceChangePassword: (e, a) => get_1(a, "data.challengeName") === "NEW_PASSWORD_REQUIRED", shouldRequestVerification: (e, a) => {
@@ -7889,7 +7889,7 @@ function Ze({ services: r }) {
7889
7889
  return await r.handleSignIn({ username: a, password: t });
7890
7890
  }, async confirmSignIn(e, a) {
7891
7891
  let { challengeName: t, user: s } = e, { confirmation_code: l } = e.formValues, u;
7892
- return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await r.handleConfirmSignIn({ user: s, code: l, mfaType: u });
7892
+ return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await r.handleConfirmSignIn({ user: s, code: l, mfaType: u }), await Auth.currentAuthenticatedUser();
7893
7893
  }, async forceNewPassword(e, a) {
7894
7894
  let { user: t, formValues: s } = e, f = s, { password: l, confirm_password: u, phone_number: v, country_code: d } = f, b = H(f, ["password", "confirm_password", "phone_number", "country_code"]), g;
7895
7895
  return v && (g = `${d}${v}`.replace(/[^A-Z0-9+]/gi, ""), b = y(m({}, b), { phone_number: g })), Auth.completeNewPassword(t, l, b);
@@ -7909,14 +7909,14 @@ function Ze({ services: r }) {
7909
7909
  let { attributeToVerify: t } = e, { confirmation_code: s } = e.formValues;
7910
7910
  return await Auth.verifyCurrentUserAttributeSubmit(t, s);
7911
7911
  }, async validateFields(e, a) {
7912
- return U(e.formValues, e.touched, [N.validateConfirmPassword]);
7912
+ return N(e.formValues, e.touched, [O.validateConfirmPassword]);
7913
7913
  } } });
7914
7914
  }
7915
7915
  o();
7916
7916
  var Qe = createMachine({ initial: "pending", id: "signOutActor", states: { pending: { tags: ["pending"], invoke: { src: "signOut", onDone: "resolved", onError: "rejected" } }, resolved: { type: "final" }, rejected: { type: "final" } } }, { services: { signOut: () => Auth.signOut() } });
7917
7917
  o();
7918
7918
  function Je({ services: r }) {
7919
- return createMachine({ id: "resetPasswordActor", initial: "init", states: { init: { always: [{ target: "confirmResetPassword", cond: "shouldAutoConfirmReset" }, { target: "resetPassword" }] }, resetPassword: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "setUsername", "clearError"], invoke: { src: "resetPassword", onDone: { target: "#resetPasswordActor.confirmResetPassword" }, onError: { actions: ["setRemoteError"], target: "edit" } } } } }, confirmResetPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearUsername", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", RESEND: "resendCode", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, resendCode: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "resetPassword", onDone: { target: "idle" }, onError: { actions: "setRemoteError", target: "idle" } } }, pending: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmResetPassword", onDone: { actions: "clearUsername", target: "#resetPasswordActor.resolved" }, onError: { actions: "setRemoteError", target: "idle" } } } } } } }, resolved: { type: "final" } } }, { actions: { clearError: E, clearFormValues: D, clearTouched: I, clearUsername: Me, clearValidationError: P, handleInput: V, handleBlur: _, setFieldErrors: R, setRemoteError: W, setUsername: $e }, guards: { shouldAutoConfirmReset: (e, a) => !!(e.intent && e.intent === "confirmPasswordReset") }, services: { async resetPassword(e) {
7919
+ return createMachine({ id: "resetPasswordActor", initial: "init", states: { init: { always: [{ target: "confirmResetPassword", cond: "shouldAutoConfirmReset" }, { target: "resetPassword" }] }, resetPassword: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "setUsername", "clearError"], invoke: { src: "resetPassword", onDone: { target: "#resetPasswordActor.confirmResetPassword" }, onError: { actions: ["setRemoteError"], target: "edit" } } } } }, confirmResetPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearUsername", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", RESEND: "resendCode", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, resendCode: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "resetPassword", onDone: { target: "idle" }, onError: { actions: "setRemoteError", target: "idle" } } }, pending: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmResetPassword", onDone: { actions: "clearUsername", target: "#resetPasswordActor.resolved" }, onError: { actions: "setRemoteError", target: "idle" } } } } } } }, resolved: { type: "final" } } }, { actions: { clearError: D, clearFormValues: I, clearTouched: P, clearUsername: Me, clearValidationError: R, handleInput: _, handleBlur: U, setFieldErrors: W, setRemoteError: V, setUsername: $e }, guards: { shouldAutoConfirmReset: (e, a) => !!(e.intent && e.intent === "confirmPasswordReset") }, services: { async resetPassword(e) {
7920
7920
  var t, s;
7921
7921
  let a = (s = (t = e.formValues) == null ? void 0 : t.username) != null ? s : e.username;
7922
7922
  return r.handleForgotPassword(a);
@@ -7924,7 +7924,7 @@ function Je({ services: r }) {
7924
7924
  let { username: a } = e, { confirmation_code: t, password: s } = e.formValues;
7925
7925
  return r.handleForgotPasswordSubmit({ username: a, code: t, password: s });
7926
7926
  }, async validateFields(e, a) {
7927
- return U(e.formValues, e.touched, [N.validateConfirmPassword]);
7927
+ return N(e.formValues, e.touched, [O.validateConfirmPassword]);
7928
7928
  } } });
7929
7929
  }
7930
7930
  o();
@@ -7932,7 +7932,7 @@ function eo({ services: r }) {
7932
7932
  return createMachine({ id: "signUpActor", initial: "init", states: { init: { always: [{ target: "confirmSignUp", cond: "shouldInitConfirmSignUp" }, { target: "signUp" }] }, signUp: { type: "parallel", exit: ["clearError", "clearFormValues", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateSignUp", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onDone: "#signUpActor.resolved", onError: { actions: "setRemoteError" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateSignUp", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: ["parsePhoneNumber", sendUpdate$1(), "clearError"], invoke: { src: "signUp", onDone: [{ cond: "shouldSkipConfirm", target: "skipConfirm", actions: ["setUser"] }, { target: "resolved", actions: ["setUser", "setCredentials", "setCodeDeliveryDetails"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { invoke: { src: "signIn", onDone: { target: "#signUpActor.resolved", actions: "setUser" }, onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" }, RESEND: "resend" } }, resend: { tags: ["pending"], entry: sendUpdate$1(), invoke: { src: "resendConfirmationCode", onDone: { target: "edit" }, onError: [{ target: "#signUpActor.resolved", actions: "setUser", cond: "isUserAlreadyConfirmed" }, { target: "edit", actions: "setRemoteError" }] } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "confirmSignUp", onDone: { target: "#signUpActor.resolved", actions: ["setUser"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, resolved: { type: "final", data: (e, a) => {
7933
7933
  let { username: t, password: s } = e.authAttributes;
7934
7934
  return { user: get_1(a, "data.user") || e.user, authAttributes: { username: t, password: s } };
7935
- } } } }, { guards: { isUserAlreadyConfirmed: (e, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (e) => e.intent && e.intent === "confirmSignUp", shouldSkipConfirm: (e, a) => a.data.userConfirmed }, actions: { clearError: E, clearFormValues: D, clearTouched: I, clearValidationError: P, handleInput: V, handleBlur: _, parsePhoneNumber: K, setCredentials: j, setFieldErrors: R, setRemoteError: W, setCodeDeliveryDetails: Ke, setUser: $ }, services: { async signIn(e, a) {
7935
+ } } } }, { guards: { isUserAlreadyConfirmed: (e, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (e) => e.intent && e.intent === "confirmSignUp", shouldSkipConfirm: (e, a) => a.data.userConfirmed }, actions: { clearError: D, clearFormValues: I, clearTouched: P, clearValidationError: R, handleInput: _, handleBlur: U, parsePhoneNumber: K, setCredentials: j, setFieldErrors: W, setRemoteError: V, setCodeDeliveryDetails: Ke, setUser: $ }, services: { async signIn(e, a) {
7936
7936
  let { user: t, authAttributes: s, formValues: l } = e, u = get_1(t, "username") || get_1(s, "username"), v = get_1(l, "password");
7937
7937
  return await Auth.signIn(u, v);
7938
7938
  }, async confirmSignUp(e, a) {
@@ -7971,7 +7971,7 @@ function eo({ services: r }) {
7971
7971
  });
7972
7972
  return await r.handleSignUp({ username: u, password: v, attributes: d });
7973
7973
  }, async validateSignUp(e, a) {
7974
- return U(e.formValues, e.touched, [r.validateConfirmPassword, r.validatePreferredUsername, r.validateCustomSignUp]);
7974
+ return N(e.formValues, e.touched, [r.validateConfirmPassword, r.validatePreferredUsername, r.validateCustomSignUp]);
7975
7975
  } } });
7976
7976
  }
7977
7977
  var oo = "+1";
@@ -7999,7 +7999,7 @@ function Sn() {
7999
7999
  return spawn(e, { name: "signOutActor" });
8000
8000
  } }), configure: assign$3((r, e) => {
8001
8001
  let s = e.data, { services: a } = s, t = H(s, ["services"]);
8002
- return { services: m(m({}, N), a), config: t };
8002
+ return { services: m(m({}, O), a), config: t };
8003
8003
  }) }, guards: { shouldRedirectToSignUp: (r, e) => {
8004
8004
  var a;
8005
8005
  return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmSignUp" : false;
@@ -8022,11 +8022,11 @@ var to = { default: { variable: { value: `'InterVariable', 'Inter var', 'Inter',
8022
8022
  sans-serif` }, static: { value: `'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
8023
8023
  'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif` } } };
8024
8024
  o();
8025
- var no = { xxxs: { value: "0.375rem" }, xxs: { value: "0.5rem" }, xs: { value: "0.75rem" }, small: { value: "0.875rem" }, medium: { value: "1rem" }, large: { value: "1.25rem" }, xl: { value: "1.5rem" }, xxl: { value: "2rem" }, xxxl: { value: "3rem" }, xxxxl: { value: "5rem" } };
8025
+ var no = { xxxs: { value: "0.375rem" }, xxs: { value: "0.5rem" }, xs: { value: "0.75rem" }, small: { value: "0.875rem" }, medium: { value: "1rem" }, large: { value: "1.25rem" }, xl: { value: "1.5rem" }, xxl: { value: "2rem" }, xxxl: { value: "2.5rem" }, xxxxl: { value: "3rem" } };
8026
8026
  o();
8027
8027
  var io = { hairline: { value: 100 }, thin: { value: 200 }, light: { value: 300 }, normal: { value: 400 }, medium: { value: 500 }, semibold: { value: 600 }, bold: { value: 700 }, extrabold: { value: 800 }, black: { value: 900 } };
8028
8028
  o();
8029
- var so = { small: { value: "1.5" }, medium: { value: "1.75" }, large: { value: "2" } };
8029
+ var so = { small: { value: "1.25" }, medium: { value: "1.5" }, large: { value: "2" } };
8030
8030
  o();
8031
8031
  var lo = { 0: { value: "0" }, 10: { value: "0.1" }, 20: { value: "0.2" }, 30: { value: "0.3" }, 40: { value: "0.4" }, 50: { value: "0.5" }, 60: { value: "0.6" }, 70: { value: "0.7" }, 80: { value: "0.8" }, 90: { value: "0.9" }, 100: { value: "1" } };
8032
8032
  o();