@aws-amplify/ui-vue 4.4.3 → 4.4.4

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
@@ -2724,7 +2724,7 @@ const Kf = {
2724
2724
  function x(t) {
2725
2725
  return Jd.get(t);
2726
2726
  }
2727
- const cS = {
2727
+ const dS = {
2728
2728
  de: mp,
2729
2729
  en: hp,
2730
2730
  es: gp,
@@ -7738,48 +7738,49 @@ const mg = /* @__PURE__ */ fa(pg), hg = !0, gg = "", Lt = (t, e) => `${t}${e}`.r
7738
7738
  ], sy = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signInStep) === "CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED", uy = (t, { data: e }) => {
7739
7739
  var r;
7740
7740
  return ((r = e == null ? void 0 : e.nextStep) == null ? void 0 : r.signInStep) === "RESET_PASSWORD";
7741
- }, ly = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signInStep) === "CONFIRM_SIGN_UP", cy = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signUpStep) === "COMPLETE_AUTO_SIGN_IN", dy = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signInStep) === "DONE", fy = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signUpStep) === "DONE", py = (t, { data: e }) => (e == null ? void 0 : e.nextStep.resetPasswordStep) === "DONE", my = (t, { data: e }) => (e == null ? void 0 : e.step) === "CONFIRM_ATTRIBUTE_COMPLETE", hy = (t, { data: e }) => (e == null ? void 0 : e.step) === "CONFIRM_ATTRIBUTE_WITH_CODE", gy = (t, { data: e }) => (e == null ? void 0 : e.step) === "SHOULD_CONFIRM_USER_ATTRIBUTE", yy = (t, { data: e }) => (e == null ? void 0 : e.step) === "RESET_PASSWORD", vy = (t, { data: e }) => (e == null ? void 0 : e.step) === "CONFIRM_SIGN_UP", _y = ({ step: t }) => ay.includes(t), Sy = ({ step: t }) => t === "CONTINUE_SIGN_IN_WITH_TOTP_SETUP", wy = ({ step: t }) => t === "CONTINUE_SIGN_IN_WITH_EMAIL_SETUP", by = ({ step: t }) => [
7741
+ }, ly = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signInStep) === "CONFIRM_SIGN_UP", cy = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signUpStep) === "COMPLETE_AUTO_SIGN_IN", dy = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signUpStep) === "DONE" && t.step === "CONFIRM_SIGN_UP", fy = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signInStep) === "DONE", py = (t, { data: e }) => (e == null ? void 0 : e.nextStep.signUpStep) === "DONE", my = (t, { data: e }) => (e == null ? void 0 : e.nextStep.resetPasswordStep) === "DONE", hy = (t, { data: e }) => (e == null ? void 0 : e.step) === "CONFIRM_ATTRIBUTE_COMPLETE", gy = (t, { data: e }) => (e == null ? void 0 : e.step) === "CONFIRM_ATTRIBUTE_WITH_CODE", yy = (t, { data: e }) => (e == null ? void 0 : e.step) === "SHOULD_CONFIRM_USER_ATTRIBUTE", vy = (t, { data: e }) => (e == null ? void 0 : e.step) === "RESET_PASSWORD", _y = (t, { data: e }) => (e == null ? void 0 : e.step) === "CONFIRM_SIGN_UP", Sy = ({ step: t }) => ay.includes(t), wy = ({ step: t }) => t === "CONTINUE_SIGN_IN_WITH_TOTP_SETUP", by = ({ step: t }) => t === "CONTINUE_SIGN_IN_WITH_EMAIL_SETUP", Cy = ({ step: t }) => [
7742
7742
  "CONTINUE_SIGN_IN_WITH_MFA_SELECTION",
7743
7743
  "CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION"
7744
- ].includes(t), Cy = ({ step: t }) => t === "RESET_PASSWORD", Ay = ({ step: t }) => t === "CONFIRM_RESET_PASSWORD_WITH_CODE", Ey = ({ step: t }) => t === "CONFIRM_SIGN_UP", Iy = (t, e) => {
7744
+ ].includes(t), Ay = ({ step: t }) => t === "RESET_PASSWORD", Ey = ({ step: t }) => t === "CONFIRM_RESET_PASSWORD_WITH_CODE", Iy = ({ step: t }) => t === "CONFIRM_SIGN_UP", Ty = (t, e) => {
7745
7745
  const r = e.data || t.fetchedUserAttributes;
7746
7746
  if (!r)
7747
7747
  return !1;
7748
7748
  const { email: n, phone_number: i, phone_number_verified: o, email_verified: a } = r;
7749
7749
  return !n && !i ? !1 : (a === void 0 || a === "false") && (o === void 0 || o === "false");
7750
- }, Ty = (t, { data: e }) => e.message === "User is already confirmed.", Py = ({ availableAuthMethods: t, preferredChallenge: e, selectedAuthMethod: r }) => t && t.length > 1 && (!e || r === null), ky = ({ passwordless: t, hasExistingPasskeys: e }) => {
7750
+ }, Py = (t, { data: e }) => e.message === "User is already confirmed.", ky = ({ availableAuthMethods: t, preferredChallenge: e, selectedAuthMethod: r }) => t && t.length > 1 && (!e || r === null), My = ({ passwordless: t, hasExistingPasskeys: e }) => {
7751
7751
  const { passkeyRegistrationPrompts: r } = t || {};
7752
7752
  return !r || e ? !1 : typeof r == "boolean" ? r : r.afterSignin === "ALWAYS";
7753
- }, My = ({ passwordless: t, hasExistingPasskeys: e }) => {
7753
+ }, Ny = ({ passwordless: t, hasExistingPasskeys: e }) => {
7754
7754
  const { passkeyRegistrationPrompts: r } = t || {};
7755
7755
  return !r || e ? !1 : typeof r == "boolean" ? r : r.afterSignup === "ALWAYS";
7756
- }, Ny = ({ passwordless: t }) => (t == null ? void 0 : t.passkeyRegistrationPrompts) != null, Ry = ({ selectedAuthMethod: t, step: e }) => t != null && e === "SELECT_AUTH_METHOD", kr = {
7757
- hasCompletedAttributeConfirmation: my,
7758
- hasCompletedResetPassword: py,
7759
- hasCompletedSignIn: dy,
7760
- hasCompletedSignUp: fy,
7761
- hasPasskeyRegistrationPrompts: Ny,
7762
- isConfirmSignUpStep: vy,
7763
- isConfirmUserAttributeStep: hy,
7764
- isResetPasswordStep: yy,
7765
- isShouldConfirmUserAttributeStep: gy,
7766
- isUserAlreadyConfirmed: Ty,
7756
+ }, Ry = ({ passwordless: t }) => (t == null ? void 0 : t.passkeyRegistrationPrompts) != null, Uy = ({ selectedAuthMethod: t, step: e }) => t != null && e === "SELECT_AUTH_METHOD", kr = {
7757
+ hasCompletedAttributeConfirmation: hy,
7758
+ hasCompletedResetPassword: my,
7759
+ hasCompletedSignIn: fy,
7760
+ hasCompletedSignUp: py,
7761
+ hasPasskeyRegistrationPrompts: Ry,
7762
+ isConfirmSignUpStep: _y,
7763
+ isConfirmUserAttributeStep: gy,
7764
+ isResetPasswordStep: vy,
7765
+ isShouldConfirmUserAttributeStep: yy,
7766
+ isUserAlreadyConfirmed: Py,
7767
7767
  shouldAutoSignIn: cy,
7768
- shouldConfirmResetPassword: Ay,
7769
- shouldConfirmSignIn: _y,
7768
+ shouldManualSignIn: dy,
7769
+ shouldConfirmResetPassword: Ey,
7770
+ shouldConfirmSignIn: Sy,
7770
7771
  shouldConfirmSignInWithNewPassword: sy,
7771
- shouldConfirmSignUp: Ey,
7772
+ shouldConfirmSignUp: Iy,
7772
7773
  shouldConfirmSignUpFromSignIn: ly,
7773
- shouldResetPassword: Cy,
7774
+ shouldResetPassword: Ay,
7774
7775
  shouldResetPasswordFromSignIn: uy,
7775
- shouldReturnToSelectMethod: Ry,
7776
- shouldSelectAuthMethod: Py,
7777
- shouldSetupTotp: Sy,
7778
- shouldSetupEmail: wy,
7779
- shouldSelectMfaType: by,
7780
- shouldVerifyAttribute: Iy,
7781
- shouldPromptPasskeyRegistration: ky,
7782
- shouldPromptPasskeyRegistrationAfterSignup: My
7776
+ shouldReturnToSelectMethod: Uy,
7777
+ shouldSelectAuthMethod: ky,
7778
+ shouldSetupTotp: wy,
7779
+ shouldSetupEmail: by,
7780
+ shouldSelectMfaType: Cy,
7781
+ shouldVerifyAttribute: Ty,
7782
+ shouldPromptPasskeyRegistration: My,
7783
+ shouldPromptPasskeyRegistrationAfterSignup: Ny
7783
7784
  };
7784
7785
  var Ji, cl;
7785
7786
  function vd() {
@@ -7792,7 +7793,7 @@ function vd() {
7792
7793
  return Ji = r, Ji;
7793
7794
  }
7794
7795
  var Zi, dl;
7795
- function Uy() {
7796
+ function Fy() {
7796
7797
  if (dl) return Zi;
7797
7798
  dl = 1;
7798
7799
  function t(e) {
@@ -7808,16 +7809,16 @@ function Uy() {
7808
7809
  return Zi = t, Zi;
7809
7810
  }
7810
7811
  var Qi, fl;
7811
- function Fy() {
7812
+ function Oy() {
7812
7813
  if (fl) return Qi;
7813
7814
  fl = 1;
7814
- var t = Uy(), e = t();
7815
+ var t = Fy(), e = t();
7815
7816
  return Qi = e, Qi;
7816
7817
  }
7817
7818
  var Ut = { exports: {} };
7818
7819
  Ut.exports;
7819
7820
  var pl;
7820
- function Oy() {
7821
+ function Dy() {
7821
7822
  return pl || (pl = 1, function(t, e) {
7822
7823
  var r = qe(), n = e && !e.nodeType && e, i = n && !0 && t && !t.nodeType && t, o = i && i.exports === n, a = o ? r.Buffer : void 0, s = a ? a.allocUnsafe : void 0;
7823
7824
  function u(l, c) {
@@ -7830,7 +7831,7 @@ function Oy() {
7830
7831
  }(Ut, Ut.exports)), Ut.exports;
7831
7832
  }
7832
7833
  var Xi, ml;
7833
- function Dy() {
7834
+ function xy() {
7834
7835
  if (ml) return Xi;
7835
7836
  ml = 1;
7836
7837
  var t = od();
@@ -7841,10 +7842,10 @@ function Dy() {
7841
7842
  return Xi = e, Xi;
7842
7843
  }
7843
7844
  var eo, hl;
7844
- function xy() {
7845
+ function qy() {
7845
7846
  if (hl) return eo;
7846
7847
  hl = 1;
7847
- var t = Dy();
7848
+ var t = xy();
7848
7849
  function e(r, n) {
7849
7850
  var i = n ? t(r.buffer) : r.buffer;
7850
7851
  return new r.constructor(i, r.byteOffset, r.length);
@@ -7852,7 +7853,7 @@ function xy() {
7852
7853
  return eo = e, eo;
7853
7854
  }
7854
7855
  var to, gl;
7855
- function qy() {
7856
+ function zy() {
7856
7857
  if (gl) return to;
7857
7858
  gl = 1;
7858
7859
  function t(e, r) {
@@ -7864,7 +7865,7 @@ function qy() {
7864
7865
  return to = t, to;
7865
7866
  }
7866
7867
  var ro, yl;
7867
- function zy() {
7868
+ function Ly() {
7868
7869
  if (yl) return ro;
7869
7870
  yl = 1;
7870
7871
  var t = $e(), e = Object.create, r = /* @__PURE__ */ function() {
@@ -7883,17 +7884,17 @@ function zy() {
7883
7884
  return ro = r, ro;
7884
7885
  }
7885
7886
  var no, vl;
7886
- function Ly() {
7887
+ function By() {
7887
7888
  if (vl) return no;
7888
7889
  vl = 1;
7889
- var t = zy(), e = Ta(), r = wa();
7890
+ var t = Ly(), e = Ta(), r = wa();
7890
7891
  function n(i) {
7891
7892
  return typeof i.constructor == "function" && !r(i) ? t(e(i)) : {};
7892
7893
  }
7893
7894
  return no = n, no;
7894
7895
  }
7895
7896
  var io, _l;
7896
- function By() {
7897
+ function Gy() {
7897
7898
  if (_l) return io;
7898
7899
  _l = 1;
7899
7900
  var t = Tr(), e = at();
@@ -7903,7 +7904,7 @@ function By() {
7903
7904
  return io = r, io;
7904
7905
  }
7905
7906
  var oo, Sl;
7906
- function Gy() {
7907
+ function jy() {
7907
7908
  if (Sl) return oo;
7908
7909
  Sl = 1;
7909
7910
  var t = _t(), e = Ta(), r = at(), n = "[object Object]", i = Function.prototype, o = Object.prototype, a = i.toString, s = o.hasOwnProperty, u = a.call(Object);
@@ -7929,7 +7930,7 @@ function _d() {
7929
7930
  return ao = t, ao;
7930
7931
  }
7931
7932
  var so, bl;
7932
- function jy() {
7933
+ function Wy() {
7933
7934
  if (bl) return so;
7934
7935
  bl = 1;
7935
7936
  var t = yd(), e = Ia();
@@ -7945,20 +7946,20 @@ function jy() {
7945
7946
  return so = r, so;
7946
7947
  }
7947
7948
  var uo, Cl;
7948
- function Wy() {
7949
+ function Hy() {
7949
7950
  if (Cl) return uo;
7950
7951
  Cl = 1;
7951
- var t = jy(), e = Pa();
7952
+ var t = Wy(), e = Pa();
7952
7953
  function r(n) {
7953
7954
  return t(n, e(n));
7954
7955
  }
7955
7956
  return uo = r, uo;
7956
7957
  }
7957
7958
  var lo, Al;
7958
- function Hy() {
7959
+ function Vy() {
7959
7960
  if (Al) return lo;
7960
7961
  Al = 1;
7961
- var t = vd(), e = Oy(), r = xy(), n = qy(), i = Ly(), o = ya(), a = Ye(), s = By(), u = va(), l = pa(), c = $e(), d = Gy(), f = Sa(), p = _d(), y = Wy();
7962
+ var t = vd(), e = Dy(), r = qy(), n = zy(), i = By(), o = ya(), a = Ye(), s = Gy(), u = va(), l = pa(), c = $e(), d = jy(), f = Sa(), p = _d(), y = Hy();
7962
7963
  function g(S, h, v, w, b, M, A) {
7963
7964
  var C = p(S, v), I = p(h, v), P = A.get(I);
7964
7965
  if (P) {
@@ -7975,10 +7976,10 @@ function Hy() {
7975
7976
  return lo = g, lo;
7976
7977
  }
7977
7978
  var co, El;
7978
- function Vy() {
7979
+ function Ky() {
7979
7980
  if (El) return co;
7980
7981
  El = 1;
7981
- var t = ga(), e = vd(), r = Fy(), n = Hy(), i = $e(), o = Pa(), a = _d();
7982
+ var t = ga(), e = vd(), r = Oy(), n = Vy(), i = $e(), o = Pa(), a = _d();
7982
7983
  function s(u, l, c, d, f) {
7983
7984
  u !== l && r(l, function(p, y) {
7984
7985
  if (f || (f = new t()), i(p))
@@ -7992,7 +7993,7 @@ function Vy() {
7992
7993
  return co = s, co;
7993
7994
  }
7994
7995
  var fo, Il;
7995
- function Ky() {
7996
+ function $y() {
7996
7997
  if (Il) return fo;
7997
7998
  Il = 1;
7998
7999
  function t(e, r, n) {
@@ -8011,10 +8012,10 @@ function Ky() {
8011
8012
  return fo = t, fo;
8012
8013
  }
8013
8014
  var po, Tl;
8014
- function $y() {
8015
+ function Yy() {
8015
8016
  if (Tl) return po;
8016
8017
  Tl = 1;
8017
- var t = Ky(), e = Math.max;
8018
+ var t = $y(), e = Math.max;
8018
8019
  function r(n, i, o) {
8019
8020
  return i = e(i === void 0 ? n.length - 1 : i, 0), function() {
8020
8021
  for (var a = arguments, s = -1, u = e(a.length - i, 0), l = Array(u); ++s < u; )
@@ -8028,7 +8029,7 @@ function $y() {
8028
8029
  return po = r, po;
8029
8030
  }
8030
8031
  var mo, Pl;
8031
- function Yy() {
8032
+ function Jy() {
8032
8033
  if (Pl) return mo;
8033
8034
  Pl = 1;
8034
8035
  function t(e) {
@@ -8039,10 +8040,10 @@ function Yy() {
8039
8040
  return mo = t, mo;
8040
8041
  }
8041
8042
  var ho, kl;
8042
- function Jy() {
8043
+ function Zy() {
8043
8044
  if (kl) return ho;
8044
8045
  kl = 1;
8045
- var t = Yy(), e = gd(), r = Ea(), n = e ? function(i, o) {
8046
+ var t = Jy(), e = gd(), r = Ea(), n = e ? function(i, o) {
8046
8047
  return e(i, "toString", {
8047
8048
  configurable: !0,
8048
8049
  enumerable: !1,
@@ -8053,7 +8054,7 @@ function Jy() {
8053
8054
  return ho = n, ho;
8054
8055
  }
8055
8056
  var go, Ml;
8056
- function Zy() {
8057
+ function Qy() {
8057
8058
  if (Ml) return go;
8058
8059
  Ml = 1;
8059
8060
  var t = 800, e = 16, r = Date.now;
@@ -8072,24 +8073,24 @@ function Zy() {
8072
8073
  return go = n, go;
8073
8074
  }
8074
8075
  var yo, Nl;
8075
- function Qy() {
8076
+ function Xy() {
8076
8077
  if (Nl) return yo;
8077
8078
  Nl = 1;
8078
- var t = Jy(), e = Zy(), r = e(t);
8079
+ var t = Zy(), e = Qy(), r = e(t);
8079
8080
  return yo = r, yo;
8080
8081
  }
8081
8082
  var vo, Rl;
8082
- function Xy() {
8083
+ function ev() {
8083
8084
  if (Rl) return vo;
8084
8085
  Rl = 1;
8085
- var t = Ea(), e = $y(), r = Qy();
8086
+ var t = Ea(), e = Yy(), r = Xy();
8086
8087
  function n(i, o) {
8087
8088
  return r(e(i, o, t), i + "");
8088
8089
  }
8089
8090
  return vo = n, vo;
8090
8091
  }
8091
8092
  var _o, Ul;
8092
- function ev() {
8093
+ function tv() {
8093
8094
  if (Ul) return _o;
8094
8095
  Ul = 1;
8095
8096
  var t = jt(), e = Tr(), r = Ir(), n = $e();
@@ -8102,10 +8103,10 @@ function ev() {
8102
8103
  return _o = i, _o;
8103
8104
  }
8104
8105
  var So, Fl;
8105
- function tv() {
8106
+ function rv() {
8106
8107
  if (Fl) return So;
8107
8108
  Fl = 1;
8108
- var t = Xy(), e = ev();
8109
+ var t = ev(), e = tv();
8109
8110
  function r(n) {
8110
8111
  return t(function(i, o) {
8111
8112
  var a = -1, s = o.length, u = s > 1 ? o[s - 1] : void 0, l = s > 2 ? o[2] : void 0;
@@ -8119,25 +8120,25 @@ function tv() {
8119
8120
  return So = r, So;
8120
8121
  }
8121
8122
  var wo, Ol;
8122
- function rv() {
8123
+ function nv() {
8123
8124
  if (Ol) return wo;
8124
8125
  Ol = 1;
8125
- var t = Vy(), e = tv(), r = e(function(n, i, o) {
8126
+ var t = Ky(), e = rv(), r = e(function(n, i, o) {
8126
8127
  t(n, i, o);
8127
8128
  });
8128
8129
  return wo = r, wo;
8129
8130
  }
8130
- var nv = rv();
8131
- const iv = /* @__PURE__ */ fa(nv), Mr = async (t, e, r, n) => {
8132
- const i = await Promise.all(n.map((a) => a(t, e, r))), o = iv({}, ...i);
8131
+ var iv = nv();
8132
+ const ov = /* @__PURE__ */ fa(iv), Mr = async (t, e, r, n) => {
8133
+ const i = await Promise.all(n.map((a) => a(t, e, r))), o = ov({}, ...i);
8133
8134
  return bc(o) ? Promise.resolve() : Promise.reject(o);
8134
- }, ov = 8, av = (t) => Array.isArray(t), sv = (t) => {
8135
+ }, av = 8, sv = (t) => Array.isArray(t), uv = (t) => {
8135
8136
  if (t)
8136
- return av(t) ? Object.entries(t).map(([e, r]) => Object.keys(r)[0]) : Object.keys(t);
8137
+ return sv(t) ? Object.entries(t).map(([e, r]) => Object.keys(r)[0]) : Object.keys(t);
8137
8138
  }, et = {
8138
8139
  async getAmplifyConfig() {
8139
8140
  var l, c, d, f, p, y;
8140
- const t = cf.getConfig(), e = (l = t.Auth) == null ? void 0 : l.Cognito, { loginWith: r, userAttributes: n } = ((c = t.Auth) == null ? void 0 : c.Cognito) ?? {}, i = r ? Object.entries(r).filter(([g, S]) => g !== "oauth").filter(([g, S]) => !!S).map((g) => g[0] === "phone" ? "phone_number" : g[0]) : void 0, o = sv(n), a = (d = r == null ? void 0 : r.oauth) != null && d.providers ? (f = r.oauth.providers) == null ? void 0 : f.map((g) => g.toString().toLowerCase()) : void 0, s = (y = (p = t.Auth) == null ? void 0 : p.Cognito) == null ? void 0 : y.passwordless, u = {
8141
+ const t = cf.getConfig(), e = (l = t.Auth) == null ? void 0 : l.Cognito, { loginWith: r, userAttributes: n } = ((c = t.Auth) == null ? void 0 : c.Cognito) ?? {}, i = r ? Object.entries(r).filter(([g, S]) => g !== "oauth").filter(([g, S]) => !!S).map((g) => g[0] === "phone" ? "phone_number" : g[0]) : void 0, o = uv(n), a = (d = r == null ? void 0 : r.oauth) != null && d.providers ? (f = r.oauth.providers) == null ? void 0 : f.map((g) => g.toString().toLowerCase()) : void 0, s = (y = (p = t.Auth) == null ? void 0 : p.Cognito) == null ? void 0 : y.passwordless, u = {
8141
8142
  emailOtpEnabled: (s == null ? void 0 : s.emailOtpEnabled) ?? (s == null ? void 0 : s.email_otp_enabled) === !0,
8142
8143
  smsOtpEnabled: (s == null ? void 0 : s.smsOtpEnabled) ?? (s == null ? void 0 : s.sms_otp_enabled) === !0,
8143
8144
  webAuthnEnabled: !!((s == null ? void 0 : s.webAuthn) ?? (s == null ? void 0 : s.web_authn)),
@@ -8166,7 +8167,7 @@ const iv = /* @__PURE__ */ fa(nv), Mr = async (t, e, r, n) => {
8166
8167
  const { password: n } = t, { password: i } = e;
8167
8168
  if (!i || !r)
8168
8169
  return null;
8169
- const o = [], a = r.minLength ?? ov;
8170
+ const o = [], a = r.minLength ?? av;
8170
8171
  return n.length < a && o.push(`Password must have at least ${a} characters`), r.requireLowercase && !/[a-z]/.test(n) && o.push("Password must have lower case letters"), r.requireUppercase && !/[A-Z]/.test(n) && o.push("Password must have upper case letters"), r.requireNumbers && !/[0-9]/.test(n) && o.push("Password must have numbers"), r.requireSpecialCharacters && !Wf(n) && o.push("Password must have special characters"), o.length !== 0 ? { password: o } : null;
8171
8172
  },
8172
8173
  async validateConfirmPassword(t, e) {
@@ -8195,7 +8196,7 @@ const iv = /* @__PURE__ */ fa(nv), Mr = async (t, e, r, n) => {
8195
8196
  return null;
8196
8197
  }
8197
8198
  };
8198
- function uv({ services: t }) {
8199
+ function lv({ services: t }) {
8199
8200
  return vt({
8200
8201
  id: "forgotPasswordActor",
8201
8202
  initial: "init",
@@ -8378,7 +8379,7 @@ const Sd = (t) => ({
8378
8379
  onDone: { target: t },
8379
8380
  onError: { actions: "setRemoteError", target: t }
8380
8381
  }
8381
- }), lv = (t) => [
8382
+ }), cv = (t) => [
8382
8383
  "CONTINUE_SIGN_IN_WITH_MFA_SELECTION",
8383
8384
  "CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION"
8384
8385
  ].includes(t) ? "mfa_type" : t === "CONTINUE_SIGN_IN_WITH_EMAIL_SETUP" ? "email" : "confirmation_code", ur = {
@@ -8451,7 +8452,7 @@ const Sd = (t) => ({
8451
8452
  }
8452
8453
  }
8453
8454
  });
8454
- function cv({ services: t }) {
8455
+ function dv({ services: t }) {
8455
8456
  return vt({
8456
8457
  id: "signInActor",
8457
8458
  initial: "init",
@@ -8798,7 +8799,7 @@ function cv({ services: t }) {
8798
8799
  });
8799
8800
  },
8800
8801
  confirmSignIn({ formValues: e, step: r }) {
8801
- const n = lv(r), { [n]: i } = e;
8802
+ const n = cv(r), { [n]: i } = e;
8802
8803
  return t.handleConfirmSignIn({ challengeResponse: i });
8803
8804
  },
8804
8805
  async handleForceChangePassword({ formValues: e }) {
@@ -8832,12 +8833,12 @@ function cv({ services: t }) {
8832
8833
  }
8833
8834
  });
8834
8835
  }
8835
- const dv = {
8836
+ const fv = {
8836
8837
  onDone: [
8837
8838
  { actions: "setCodeDeliveryDetails", target: "#signUpActor.resolved" }
8838
8839
  ],
8839
8840
  onError: { actions: ["setRemoteError", "sendUpdate"] }
8840
- }, fv = {
8841
+ }, pv = {
8841
8842
  onDone: [
8842
8843
  {
8843
8844
  cond: "hasCompletedSignIn",
@@ -8875,7 +8876,7 @@ const dv = {
8875
8876
  target: "#signUpActor.resolved"
8876
8877
  }
8877
8878
  };
8878
- function pv({ services: t }) {
8879
+ function mv({ services: t }) {
8879
8880
  return vt({
8880
8881
  id: "signUpActor",
8881
8882
  initial: "init",
@@ -8889,7 +8890,7 @@ function pv({ services: t }) {
8889
8890
  },
8890
8891
  autoSignIn: {
8891
8892
  tags: "pending",
8892
- invoke: { src: "autoSignIn", ...fv }
8893
+ invoke: { src: "autoSignIn", ...pv }
8893
8894
  },
8894
8895
  fetchUserAttributes: {
8895
8896
  invoke: {
@@ -8953,7 +8954,7 @@ function pv({ services: t }) {
8953
8954
  },
8954
8955
  federatedSignIn: { ...Sd("signUp") },
8955
8956
  resetPassword: {
8956
- invoke: { src: "resetPassword", ...dv }
8957
+ invoke: { src: "resetPassword", ...fv }
8957
8958
  },
8958
8959
  resendSignUpCode: {
8959
8960
  tags: "pending",
@@ -9089,6 +9090,11 @@ function pv({ services: t }) {
9089
9090
  actions: ["setNextSignUpStep", "clearFormValues"],
9090
9091
  target: "#signUpActor.autoSignIn"
9091
9092
  },
9093
+ {
9094
+ cond: "shouldManualSignIn",
9095
+ actions: ["clearFormValues", "setSignInStep"],
9096
+ target: "#signUpActor.resolved"
9097
+ },
9092
9098
  {
9093
9099
  actions: "setNextSignUpStep",
9094
9100
  target: "#signUpActor.init"
@@ -9170,7 +9176,7 @@ function pv({ services: t }) {
9170
9176
  }
9171
9177
  });
9172
9178
  }
9173
- const mv = () => vt({
9179
+ const hv = () => vt({
9174
9180
  initial: "pending",
9175
9181
  id: "signOutActor",
9176
9182
  predictableActionArguments: !0,
@@ -9191,7 +9197,7 @@ const mv = () => vt({
9191
9197
  signOut: () => of()
9192
9198
  }
9193
9199
  });
9194
- function hv() {
9200
+ function gv() {
9195
9201
  return vt({
9196
9202
  id: "verifyUserAttributesActor",
9197
9203
  initial: "selectUserAttributes",
@@ -9307,7 +9313,7 @@ const er = (t, e) => {
9307
9313
  preferredChallenge: n,
9308
9314
  passwordless: (g = t.config) == null ? void 0 : g.passwordless
9309
9315
  };
9310
- }, { choose: gv, stop: yv } = $c, Et = (t) => yv(t), vv = {
9316
+ }, { choose: yv, stop: vv } = $c, Et = (t) => vv(t), _v = {
9311
9317
  on: {
9312
9318
  INIT: {
9313
9319
  actions: "configure",
@@ -9315,10 +9321,10 @@ const er = (t, e) => {
9315
9321
  },
9316
9322
  SIGN_OUT: "#authenticator.signOut"
9317
9323
  }
9318
- }, _v = {
9324
+ }, Sv = {
9319
9325
  always: { actions: "configure", target: "getConfig" }
9320
9326
  };
9321
- function Sv(t) {
9327
+ function wv(t) {
9322
9328
  const { useNextWaitConfig: e, ...r } = {};
9323
9329
  return vt({
9324
9330
  id: "authenticator",
@@ -9343,7 +9349,7 @@ function Sv(t) {
9343
9349
  setup: {
9344
9350
  initial: "initConfig",
9345
9351
  states: {
9346
- initConfig: e ? _v : vv,
9352
+ initConfig: e ? Sv : _v,
9347
9353
  getConfig: {
9348
9354
  invoke: {
9349
9355
  src: "getAmplifyConfig",
@@ -9549,7 +9555,7 @@ function Sv(t) {
9549
9555
  }, {
9550
9556
  actions: {
9551
9557
  ...Ht,
9552
- forwardToActor: gv([
9558
+ forwardToActor: yv([
9553
9559
  { cond: "hasActor", actions: jm(({ actorRef: i }) => i) }
9554
9560
  ]),
9555
9561
  setActorDoneData: Be({
@@ -9570,7 +9576,7 @@ function Sv(t) {
9570
9576
  config(i, { data: o }) {
9571
9577
  const { loginMechanisms: a = o.loginMechanisms ?? [], signUpAttributes: s = o.signUpAttributes ?? [], socialProviders: u = o.socialProviders ?? [], initialState: l, formFields: c, passwordSettings: d = o.passwordFormat ?? {}, passwordless: f } = i.config;
9572
9578
  return a.length === 0 && a.push("username"), {
9573
- formFields: wv(c) ?? {},
9579
+ formFields: bv(c) ?? {},
9574
9580
  initialState: l,
9575
9581
  loginMechanisms: a,
9576
9582
  passwordSettings: d,
@@ -9582,31 +9588,31 @@ function Sv(t) {
9582
9588
  }),
9583
9589
  spawnSignInActor: Be({
9584
9590
  actorRef: (i, o) => {
9585
- const { services: a } = i, s = cv({ services: a }).withContext(er(i, "SIGN_IN"));
9591
+ const { services: a } = i, s = dv({ services: a }).withContext(er(i, "SIGN_IN"));
9586
9592
  return Ct(s, { name: "signInActor" });
9587
9593
  }
9588
9594
  }),
9589
9595
  spawnSignUpActor: Be({
9590
9596
  actorRef: (i, o) => {
9591
- const { services: a } = i, s = pv({ services: a }).withContext(er(i, "SIGN_UP"));
9597
+ const { services: a } = i, s = mv({ services: a }).withContext(er(i, "SIGN_UP"));
9592
9598
  return Ct(s, { name: "signUpActor" });
9593
9599
  }
9594
9600
  }),
9595
9601
  spawnForgotPasswordActor: Be({
9596
9602
  actorRef: (i, o) => {
9597
- const { services: a } = i, s = uv({ services: a }).withContext(er(i, "FORGOT_PASSWORD"));
9603
+ const { services: a } = i, s = lv({ services: a }).withContext(er(i, "FORGOT_PASSWORD"));
9598
9604
  return Ct(s, { name: "forgotPasswordActor" });
9599
9605
  }
9600
9606
  }),
9601
9607
  spawnVerifyUserAttributesActor: Be({
9602
9608
  actorRef: (i) => {
9603
- const o = hv().withContext(er(i));
9609
+ const o = gv().withContext(er(i));
9604
9610
  return Ct(o, { name: "verifyUserAttributesActor" });
9605
9611
  }
9606
9612
  }),
9607
9613
  spawnSignOutActor: Be({
9608
9614
  actorRef: (i) => {
9609
- const o = mv().withContext({ user: i == null ? void 0 : i.user });
9615
+ const o = hv().withContext({ user: i == null ? void 0 : i.user });
9610
9616
  return Ct(o, { name: "signOutActor" });
9611
9617
  }
9612
9618
  }),
@@ -9633,7 +9639,7 @@ function Sv(t) {
9633
9639
  }
9634
9640
  });
9635
9641
  }
9636
- function wv(t) {
9642
+ function bv(t) {
9637
9643
  return t && Object.keys(t).forEach((e) => {
9638
9644
  Object.keys(t[e]).forEach((r) => {
9639
9645
  let n = t[e][r];
@@ -9849,7 +9855,7 @@ const _e = {
9849
9855
  ToggleButton: "amplify-togglebutton",
9850
9856
  ToggleButtonGroup: "amplify-togglebuttongroup",
9851
9857
  VisuallyHidden: "amplify-visually-hidden"
9852
- }, bv = ({ componentName: t, packageName: e, version: r }) => {
9858
+ }, Cv = ({ componentName: t, packageName: e, version: r }) => {
9853
9859
  const n = [`ui-${e}`, r];
9854
9860
  switch (t) {
9855
9861
  case "AIConversation": {
@@ -9918,12 +9924,12 @@ const _e = {
9918
9924
  }
9919
9925
  }
9920
9926
  return Tf;
9921
- }, Cv = {
9927
+ }, Av = {
9922
9928
  key: 0,
9923
9929
  class: "amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base",
9924
9930
  "data-variation": "error",
9925
9931
  role: "alert"
9926
- }, Av = { class: "amplify-flex amplify-authenticator__icon-wrapper" }, Ev = /* @__PURE__ */ G("svg", {
9932
+ }, Ev = { class: "amplify-flex amplify-authenticator__icon-wrapper" }, Iv = /* @__PURE__ */ G("svg", {
9927
9933
  xmlns: "http://www.w3.org/2000/svg",
9928
9934
  class: "amplify-icon",
9929
9935
  "aria-hidden": "true",
@@ -9931,7 +9937,7 @@ const _e = {
9931
9937
  fill: "currentColor"
9932
9938
  }, [
9933
9939
  /* @__PURE__ */ G("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" })
9934
- ], -1), Iv = /* @__PURE__ */ G("svg", {
9940
+ ], -1), Tv = /* @__PURE__ */ G("svg", {
9935
9941
  xmlns: "http://www.w3.org/2000/svg",
9936
9942
  class: "amplify-icon",
9937
9943
  "aria-hidden": "true",
@@ -9948,9 +9954,9 @@ const _e = {
9948
9954
  }
9949
9955
  return (i, o) => {
9950
9956
  const a = Se;
9951
- return e.value ? (D(), ee("div", Cv, [
9952
- G("div", Av, [
9953
- Ev,
9957
+ return e.value ? (D(), ee("div", Av, [
9958
+ G("div", Ev, [
9959
+ Iv,
9954
9960
  G("div", null, [
9955
9961
  U(i.$slots, "default")
9956
9962
  ])
@@ -9964,7 +9970,7 @@ const _e = {
9964
9970
  onClick: n
9965
9971
  }, {
9966
9972
  default: _(() => [
9967
- Iv
9973
+ Tv
9968
9974
  ]),
9969
9975
  _: 1
9970
9976
  }, 8, ["aria-label"])
@@ -9984,7 +9990,7 @@ const _e = {
9984
9990
  ]);
9985
9991
  }
9986
9992
  });
9987
- function Tv(t) {
9993
+ function Pv(t) {
9988
9994
  return jd() ? (fc(t), !0) : !1;
9989
9995
  }
9990
9996
  function wd(t) {
@@ -9992,18 +9998,18 @@ function wd(t) {
9992
9998
  const i = () => {
9993
9999
  e -= 1, n && e <= 0 && (n.stop(), r = void 0, n = void 0);
9994
10000
  };
9995
- return (...o) => (e += 1, r || (n = Gd(!0), r = n.run(() => t(...o))), Tv(i), r);
10001
+ return (...o) => (e += 1, r || (n = Gd(!0), r = n.run(() => t(...o))), Pv(i), r);
9996
10002
  }
9997
- function Pv(t) {
10003
+ function kv(t) {
9998
10004
  return "state" in t;
9999
10005
  }
10000
10006
  var Dl = function() {
10001
10007
  };
10002
- function kv(t) {
10003
- return "getSnapshot" in t ? t.getSnapshot() : Pv(t) ? t.state : void 0;
10008
+ function Mv(t) {
10009
+ return "getSnapshot" in t ? t.getSnapshot() : kv(t) ? t.state : void 0;
10004
10010
  }
10005
- function Mv(t, e) {
10006
- e === void 0 && (e = kv);
10011
+ function Nv(t, e) {
10012
+ e === void 0 && (e = Mv);
10007
10013
  var r = Wd(t) ? t : Ua(t), n = Ua(e(r.value)), i = function(o) {
10008
10014
  r.value.send(o);
10009
10015
  };
@@ -10023,13 +10029,13 @@ function Mv(t, e) {
10023
10029
  immediate: !0
10024
10030
  }), { state: n, send: i };
10025
10031
  }
10026
- const Nv = (t) => {
10032
+ const Rv = (t) => {
10027
10033
  var e, r, n;
10028
10034
  return {
10029
10035
  ...(n = (r = (e = na(t)) == null ? void 0 : e.formFields) == null ? void 0 : r.setupTotp) == null ? void 0 : n.QR
10030
10036
  };
10031
10037
  }, ka = wd(() => {
10032
- const t = Sv(), e = ed(t).start(), r = le("configuring"), { state: n, send: i } = Mv(e), o = () => {
10038
+ const t = wv(), e = ed(t).start(), r = le("configuring"), { state: n, send: i } = Nv(e), o = () => {
10033
10039
  r.value = "authenticated";
10034
10040
  }, a = () => {
10035
10041
  r.value = "unauthenticated";
@@ -10050,11 +10056,11 @@ const Nv = (t) => {
10050
10056
  const i = Ff({ send: r, state: e.value });
10051
10057
  for (const a of Object.keys(i))
10052
10058
  n[a] = i[a];
10053
- const o = i.route === "setupTotp" ? Nv(e.value) : null;
10059
+ const o = i.route === "setupTotp" ? Rv(e.value) : null;
10054
10060
  n.QRFields = o, n.authStatus = t.value, n.send = r, n.state = e;
10055
10061
  }), n;
10056
10062
  });
10057
- let Rv = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((e, r) => (r &= 63, r < 36 ? e += r.toString(36) : r < 62 ? e += (r - 26).toString(36).toUpperCase() : r > 62 ? e += "-" : e += "_", e), "");
10063
+ let Uv = (t = 21) => crypto.getRandomValues(new Uint8Array(t)).reduce((e, r) => (r &= 63, r < 36 ? e += r.toString(36) : r < 62 ? e += (r - 26).toString(36).toUpperCase() : r > 62 ? e += "-" : e += "_", e), "");
10058
10064
  const Vt = /* @__PURE__ */ J({
10059
10065
  __name: "base-input",
10060
10066
  emits: ["update:modelValue"],
@@ -10067,24 +10073,24 @@ const Vt = /* @__PURE__ */ J({
10067
10073
  "data-amplify-input": ""
10068
10074
  }, null, 32));
10069
10075
  }
10070
- }), Uv = {}, Fv = { "data-amplify-label": "" };
10071
- function Ov(t, e) {
10072
- return D(), ee("label", Fv, [
10076
+ }), Fv = {}, Ov = { "data-amplify-label": "" };
10077
+ function Dv(t, e) {
10078
+ return D(), ee("label", Ov, [
10073
10079
  U(t.$slots, "default")
10074
10080
  ]);
10075
10081
  }
10076
- const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-checked"], xv = /* @__PURE__ */ G("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), qv = [
10077
- xv
10078
- ], zv = /* @__PURE__ */ G("path", {
10082
+ const Kt = /* @__PURE__ */ mr(Fv, [["render", Dv]]), xv = ["aria-label", "aria-checked"], qv = /* @__PURE__ */ G("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), zv = [
10083
+ qv
10084
+ ], Lv = /* @__PURE__ */ G("path", {
10079
10085
  d: "M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",
10080
10086
  fill: "none"
10081
- }, null, -1), Lv = /* @__PURE__ */ G("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), Bv = [
10082
- zv,
10083
- Lv
10084
- ], Gv = {
10087
+ }, null, -1), Bv = /* @__PURE__ */ G("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), Gv = [
10088
+ Lv,
10089
+ Bv
10090
+ ], jv = {
10085
10091
  inheritAttrs: !1
10086
10092
  }, bd = /* @__PURE__ */ J({
10087
- ...Gv,
10093
+ ...jv,
10088
10094
  __name: "password-control",
10089
10095
  props: {
10090
10096
  name: null,
@@ -10182,14 +10188,14 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10182
10188
  fill: "currentColor",
10183
10189
  viewBox: "0 0 24 24",
10184
10190
  class: Ae(m(_e).Icon)
10185
- }, qv, 2)) : (D(), ee("svg", {
10191
+ }, zv, 2)) : (D(), ee("svg", {
10186
10192
  key: 1,
10187
10193
  xmlns: "http://www.w3.org/2000/svg",
10188
10194
  fill: "currentColor",
10189
10195
  viewBox: "0 0 24 24",
10190
10196
  class: Ae(m(_e).Icon)
10191
- }, Bv, 2))
10192
- ], 10, Dv)
10197
+ }, Gv, 2))
10198
+ ], 10, xv)
10193
10199
  ]),
10194
10200
  _: 1
10195
10201
  }, 8, ["class"])
@@ -10201,7 +10207,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10201
10207
  }, 8, ["class"]);
10202
10208
  };
10203
10209
  }
10204
- }), jv = ["value", "selected"], Wv = /* @__PURE__ */ J({
10210
+ }), Wv = ["value", "selected"], Hv = /* @__PURE__ */ J({
10205
10211
  __name: "base-select",
10206
10212
  props: {
10207
10213
  selectValue: { default: "" },
@@ -10219,17 +10225,17 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10219
10225
  key: l,
10220
10226
  value: u,
10221
10227
  selected: u == m(i) ? !0 : void 0
10222
- }, q(u), 9, jv))), 128))
10228
+ }, q(u), 9, Wv))), 128))
10223
10229
  ], 32));
10224
10230
  }
10225
- }), Hv = /* @__PURE__ */ G("svg", {
10231
+ }), Vv = /* @__PURE__ */ G("svg", {
10226
10232
  xmlns: "http://www.w3.org/2000/svg",
10227
10233
  fill: "currentColor",
10228
10234
  viewBox: "0 0 24 24",
10229
10235
  class: "amplify-icon"
10230
10236
  }, [
10231
10237
  /* @__PURE__ */ G("path", { d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z" })
10232
- ], -1), Vv = /* @__PURE__ */ J({
10238
+ ], -1), Kv = /* @__PURE__ */ J({
10233
10239
  __name: "alias-control",
10234
10240
  props: {
10235
10241
  label: { default: "Username" },
@@ -10256,7 +10262,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10256
10262
  dialCodeList: l
10257
10263
  } = re(e), c = Math.floor(Math.random() * 999999), d = Math.floor(Math.random() * 999999);
10258
10264
  return (f, p) => {
10259
- const y = Kt, g = Wv, S = ye, h = Vt;
10265
+ const y = Kt, g = Hv, S = ye, h = Vt;
10260
10266
  return D(), j(S, { class: "amplify-flex amplify-field amplify-textfield amplify-phonenumberfield" }, {
10261
10267
  default: _(() => [
10262
10268
  T(y, Ee({
@@ -10299,7 +10305,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10299
10305
  }, null, 8, ["id", "options", "select-value"]),
10300
10306
  T(S, { class: "amplify-flex amplify-select__icon" }, {
10301
10307
  default: _(() => [
10302
- Hv
10308
+ Vv
10303
10309
  ]),
10304
10310
  _: 1
10305
10311
  })
@@ -10337,14 +10343,14 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10337
10343
  });
10338
10344
  };
10339
10345
  }
10340
- }), Kv = ["id"], Cd = /* @__PURE__ */ J({
10346
+ }), $v = ["id"], Cd = /* @__PURE__ */ J({
10341
10347
  __name: "base-form-field",
10342
10348
  props: {
10343
10349
  name: { default: "" },
10344
10350
  formField: { default: () => ({}) }
10345
10351
  },
10346
10352
  setup(t) {
10347
- const e = t, { name: r, formField: n } = re(e), { validationErrors: i } = re(ve()), { type: o } = n.value, a = o === "password", s = Rv(12), u = B(() => zf(i.value[r.value])), l = B(() => {
10353
+ const e = t, { name: r, formField: n } = re(e), { validationErrors: i } = re(ve()), { type: o } = n.value, a = o === "password", s = Uv(12), u = B(() => zf(i.value[r.value])), l = B(() => {
10348
10354
  var d;
10349
10355
  return ((d = u.value) == null ? void 0 : d.length) > 0;
10350
10356
  }), c = B(() => l.value ? s : void 0);
@@ -10359,7 +10365,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10359
10365
  autocomplete: m(n).autocomplete,
10360
10366
  hasError: m(l),
10361
10367
  describedBy: m(c)
10362
- }, null, 8, ["name", "label", "placeholder", "required", "label-hidden", "autocomplete", "hasError", "describedBy"])) : (D(), j(Vv, {
10368
+ }, null, 8, ["name", "label", "placeholder", "required", "label-hidden", "autocomplete", "hasError", "describedBy"])) : (D(), j(Kv, {
10363
10369
  key: 1,
10364
10370
  name: m(r),
10365
10371
  label: m(n).label,
@@ -10383,7 +10389,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10383
10389
  "data-variation": "error",
10384
10390
  class: "amplify-text amplify-text--error"
10385
10391
  }, q(m(x)(p)), 1))), 128))
10386
- ], 8, Kv)) : H("", !0)
10392
+ ], 8, $v)) : H("", !0)
10387
10393
  ], 64));
10388
10394
  }
10389
10395
  }), Fe = /* @__PURE__ */ J({
@@ -10425,7 +10431,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10425
10431
  });
10426
10432
  };
10427
10433
  }
10428
- }), $v = /* @__PURE__ */ G("svg", {
10434
+ }), Yv = /* @__PURE__ */ G("svg", {
10429
10435
  "aria-label": "Amazon icon",
10430
10436
  class: "amplify-icon",
10431
10437
  viewBox: "0 0 248 268"
@@ -10434,7 +10440,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10434
10440
  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",
10435
10441
  fill: "#FF9900"
10436
10442
  })
10437
- ], -1), Yv = { class: "amplify-text" }, Jv = /* @__PURE__ */ G("svg", {
10443
+ ], -1), Jv = { class: "amplify-text" }, Zv = /* @__PURE__ */ G("svg", {
10438
10444
  "aria-label": "Apple icon",
10439
10445
  class: "amplify-icon",
10440
10446
  fill: "#000",
@@ -10445,7 +10451,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10445
10451
  xmlns: "http://www.w3.org/2000/svg"
10446
10452
  }, [
10447
10453
  /* @__PURE__ */ G("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" })
10448
- ], -1), Zv = { class: "amplify-text" }, Qv = /* @__PURE__ */ G("svg", {
10454
+ ], -1), Qv = { class: "amplify-text" }, Xv = /* @__PURE__ */ G("svg", {
10449
10455
  "aria-label": "Facebook icon",
10450
10456
  class: "amplify-icon",
10451
10457
  viewBox: "0 0 279 538"
@@ -10454,7 +10460,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10454
10460
  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",
10455
10461
  fill: "#1877F2"
10456
10462
  })
10457
- ], -1), Xv = { class: "amplify-text" }, e_ = /* @__PURE__ */ G("svg", {
10463
+ ], -1), e_ = { class: "amplify-text" }, t_ = /* @__PURE__ */ G("svg", {
10458
10464
  "aria-label": "Google icon",
10459
10465
  class: "amplify-icon",
10460
10466
  viewBox: "0 0 256 262",
@@ -10477,7 +10483,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10477
10483
  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",
10478
10484
  fill: "#EB4335"
10479
10485
  })
10480
- ], -1), t_ = { class: "amplify-text" }, r_ = ["data-label"], Ma = /* @__PURE__ */ J({
10486
+ ], -1), r_ = { class: "amplify-text" }, n_ = ["data-label"], Ma = /* @__PURE__ */ J({
10481
10487
  __name: "federated-sign-in",
10482
10488
  setup(t) {
10483
10489
  const e = ve(), { route: r, socialProviders: n } = e, i = n == null ? void 0 : n.includes("amazon"), o = n == null ? void 0 : n.includes("apple"), a = n == null ? void 0 : n.includes("facebook"), s = n == null ? void 0 : n.includes("google"), u = a || s || i || o, { getSignInWithFederationText: l, getOrText: c } = we, d = B(() => Vo), f = B(
@@ -10501,8 +10507,8 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10501
10507
  provider: m(d).Amazon
10502
10508
  }, {
10503
10509
  default: _(() => [
10504
- $v,
10505
- G("span", Yv, q(m(f)), 1)
10510
+ Yv,
10511
+ G("span", Jv, q(m(f)), 1)
10506
10512
  ]),
10507
10513
  _: 1
10508
10514
  }, 8, ["provider"])) : H("", !0),
@@ -10511,8 +10517,8 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10511
10517
  provider: m(d).Apple
10512
10518
  }, {
10513
10519
  default: _(() => [
10514
- Jv,
10515
- G("span", Zv, q(m(p)), 1)
10520
+ Zv,
10521
+ G("span", Qv, q(m(p)), 1)
10516
10522
  ]),
10517
10523
  _: 1
10518
10524
  }, 8, ["provider"])) : H("", !0),
@@ -10521,8 +10527,8 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10521
10527
  provider: m(d).Facebook
10522
10528
  }, {
10523
10529
  default: _(() => [
10524
- Qv,
10525
- G("span", Xv, q(m(y)), 1)
10530
+ Xv,
10531
+ G("span", e_, q(m(y)), 1)
10526
10532
  ]),
10527
10533
  _: 1
10528
10534
  }, 8, ["provider"])) : H("", !0),
@@ -10531,8 +10537,8 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10531
10537
  provider: m(d).Google
10532
10538
  }, {
10533
10539
  default: _(() => [
10534
- e_,
10535
- G("span", t_, q(m(g)), 1)
10540
+ t_,
10541
+ G("span", r_, q(m(g)), 1)
10536
10542
  ]),
10537
10543
  _: 1
10538
10544
  }, 8, ["provider"])) : H("", !0),
@@ -10540,13 +10546,13 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10540
10546
  class: "amplify-divider amplify-divider--horizontal amplify-divider--small",
10541
10547
  "aria-orientation": "horizontal",
10542
10548
  "data-label": m(S)
10543
- }, null, 8, r_)
10549
+ }, null, 8, n_)
10544
10550
  ]),
10545
10551
  _: 1
10546
10552
  })) : H("", !0);
10547
10553
  };
10548
10554
  }
10549
- }), n_ = /* @__PURE__ */ G("legend", { class: "amplify-visually-hidden" }, "Sign in", -1), i_ = { "data-amplify-footer": "" }, Ad = /* @__PURE__ */ J({
10555
+ }), i_ = /* @__PURE__ */ G("legend", { class: "amplify-visually-hidden" }, "Sign in", -1), o_ = { "data-amplify-footer": "" }, Ad = /* @__PURE__ */ J({
10550
10556
  __name: "sign-in",
10551
10557
  setup(t) {
10552
10558
  const e = ve(), { submitForm: r, updateForm: n, toForgotPassword: i } = e, { error: o, isPending: a } = re(e), { getForgotPasswordText: s, getSignInText: u, getSigningInText: l } = we, c = B(() => s()), d = B(() => u()), f = B(() => l()), p = (S) => {
@@ -10589,7 +10595,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10589
10595
  U(S.$slots, "signin-fields", { info: I })
10590
10596
  ]),
10591
10597
  default: _(() => [
10592
- n_,
10598
+ i_,
10593
10599
  T(Fe, { route: "signIn" })
10594
10600
  ]),
10595
10601
  _: 3
@@ -10624,7 +10630,7 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10624
10630
  T(C, null, {
10625
10631
  default: _(() => [
10626
10632
  U(S.$slots, "footer", {}, () => [
10627
- G("div", i_, [
10633
+ G("div", o_, [
10628
10634
  T(b, {
10629
10635
  onClick: g,
10630
10636
  class: "amplify-field-group__control amplify-authenticator__font",
@@ -10733,8 +10739,8 @@ const Kt = /* @__PURE__ */ mr(Uv, [["render", Ov]]), Dv = ["aria-label", "aria-c
10733
10739
  ]);
10734
10740
  };
10735
10741
  }
10736
- }), o_ = {};
10737
- function a_(t, e) {
10742
+ }), a_ = {};
10743
+ function s_(t, e) {
10738
10744
  const r = ye;
10739
10745
  return D(), j(r, {
10740
10746
  tabindex: "0",
@@ -10756,7 +10762,7 @@ function a_(t, e) {
10756
10762
  _: 3
10757
10763
  });
10758
10764
  }
10759
- const s_ = /* @__PURE__ */ mr(o_, [["render", a_]]), u_ = ["tabindex", "aria-selected", "id", "aria-controls"], l_ = /* @__PURE__ */ J({
10765
+ const u_ = /* @__PURE__ */ mr(a_, [["render", s_]]), l_ = ["tabindex", "aria-selected", "id", "aria-controls"], c_ = /* @__PURE__ */ J({
10760
10766
  __name: "base-two-tab-item",
10761
10767
  props: {
10762
10768
  label: null,
@@ -10772,17 +10778,17 @@ const s_ = /* @__PURE__ */ mr(o_, [["render", a_]]), u_ = ["tabindex", "aria-sel
10772
10778
  id: `${m(n)}-tab`,
10773
10779
  "aria-controls": `${m(n)}-panel`,
10774
10780
  role: "tab"
10775
- }, q(m(i)), 11, u_));
10781
+ }, q(m(i)), 11, l_));
10776
10782
  }
10777
- }), c_ = "4.4.3", d_ = {};
10778
- function f_(t, e) {
10783
+ }), d_ = "4.4.4", f_ = {};
10784
+ function p_(t, e) {
10779
10785
  return U(t.$slots, "textI", ne(ie(t.$attrs)), () => [
10780
10786
  G("span", Ee(t.$attrs, { "data-amplify-text": "" }), [
10781
10787
  U(t.$slots, "default")
10782
10788
  ], 16)
10783
10789
  ]);
10784
10790
  }
10785
- const Na = /* @__PURE__ */ mr(d_, [["render", f_]]), ze = J({
10791
+ const Na = /* @__PURE__ */ mr(f_, [["render", p_]]), ze = J({
10786
10792
  props: {
10787
10793
  level: {
10788
10794
  type: Number,
@@ -11017,7 +11023,7 @@ const Na = /* @__PURE__ */ mr(d_, [["render", f_]]), ze = J({
11017
11023
  }
11018
11024
  });
11019
11025
  var ft = {}, bo, xl;
11020
- function p_() {
11026
+ function m_() {
11021
11027
  return xl || (xl = 1, bo = function() {
11022
11028
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
11023
11029
  }), bo;
@@ -11130,7 +11136,7 @@ function Ra() {
11130
11136
  }(Ao)), Ao;
11131
11137
  }
11132
11138
  var Eo, Ll;
11133
- function m_() {
11139
+ function h_() {
11134
11140
  if (Ll) return Eo;
11135
11141
  Ll = 1;
11136
11142
  function t() {
@@ -11155,7 +11161,7 @@ function m_() {
11155
11161
  }, Eo = t, Eo;
11156
11162
  }
11157
11163
  var Io, Bl;
11158
- function h_() {
11164
+ function g_() {
11159
11165
  if (Bl) return Io;
11160
11166
  Bl = 1;
11161
11167
  function t(e) {
@@ -11175,7 +11181,7 @@ function h_() {
11175
11181
  }, Io = t, Io;
11176
11182
  }
11177
11183
  var To = {}, Gl;
11178
- function g_() {
11184
+ function y_() {
11179
11185
  return Gl || (Gl = 1, function(t) {
11180
11186
  const e = st().getSymbolSize;
11181
11187
  t.getRowColCoords = function(n) {
@@ -11196,7 +11202,7 @@ function g_() {
11196
11202
  }(To)), To;
11197
11203
  }
11198
11204
  var Po = {}, jl;
11199
- function y_() {
11205
+ function v_() {
11200
11206
  if (jl) return Po;
11201
11207
  jl = 1;
11202
11208
  const t = st().getSymbolSize, e = 7;
@@ -11213,7 +11219,7 @@ function y_() {
11213
11219
  }, Po;
11214
11220
  }
11215
11221
  var ko = {}, Wl;
11216
- function v_() {
11222
+ function __() {
11217
11223
  return Wl || (Wl = 1, function(t) {
11218
11224
  t.Patterns = {
11219
11225
  PATTERN000: 0,
@@ -11668,7 +11674,7 @@ function kd() {
11668
11674
  }, rr;
11669
11675
  }
11670
11676
  var Mo = {}, It = {}, Vl;
11671
- function __() {
11677
+ function S_() {
11672
11678
  if (Vl) return It;
11673
11679
  Vl = 1;
11674
11680
  const t = new Uint8Array(512), e = new Uint8Array(256);
@@ -11688,9 +11694,9 @@ function __() {
11688
11694
  }, It;
11689
11695
  }
11690
11696
  var Kl;
11691
- function S_() {
11697
+ function w_() {
11692
11698
  return Kl || (Kl = 1, function(t) {
11693
- const e = __();
11699
+ const e = S_();
11694
11700
  t.mul = function(n, i) {
11695
11701
  const o = new Uint8Array(n.length + i.length - 1);
11696
11702
  for (let a = 0; a < n.length; a++)
@@ -11717,10 +11723,10 @@ function S_() {
11717
11723
  }(Mo)), Mo;
11718
11724
  }
11719
11725
  var No, $l;
11720
- function w_() {
11726
+ function b_() {
11721
11727
  if ($l) return No;
11722
11728
  $l = 1;
11723
- const t = S_();
11729
+ const t = w_();
11724
11730
  function e(r) {
11725
11731
  this.genPoly = void 0, this.degree = r, this.degree && this.initialize(this.degree);
11726
11732
  }
@@ -11827,7 +11833,7 @@ function ut() {
11827
11833
  }(Uo)), Uo;
11828
11834
  }
11829
11835
  var Ql;
11830
- function b_() {
11836
+ function C_() {
11831
11837
  return Ql || (Ql = 1, function(t) {
11832
11838
  const e = st(), r = kd(), n = Ra(), i = ut(), o = Md(), a = 7973, s = e.getBCHDigit(a);
11833
11839
  function u(f, p, y) {
@@ -11893,7 +11899,7 @@ function b_() {
11893
11899
  }(Ro)), Ro;
11894
11900
  }
11895
11901
  var Oo = {}, Xl;
11896
- function C_() {
11902
+ function A_() {
11897
11903
  if (Xl) return Oo;
11898
11904
  Xl = 1;
11899
11905
  const t = st(), e = 1335, r = 21522, n = t.getBCHDigit(e);
@@ -11906,7 +11912,7 @@ function C_() {
11906
11912
  }, Oo;
11907
11913
  }
11908
11914
  var Do = {}, xo, ec;
11909
- function A_() {
11915
+ function E_() {
11910
11916
  if (ec) return xo;
11911
11917
  ec = 1;
11912
11918
  const t = ut();
@@ -11928,7 +11934,7 @@ function A_() {
11928
11934
  }, xo = e, xo;
11929
11935
  }
11930
11936
  var qo, tc;
11931
- function E_() {
11937
+ function I_() {
11932
11938
  if (tc) return qo;
11933
11939
  tc = 1;
11934
11940
  const t = ut(), e = [
@@ -11997,7 +12003,7 @@ function E_() {
11997
12003
  }, qo = r, qo;
11998
12004
  }
11999
12005
  var zo, rc;
12000
- function I_() {
12006
+ function T_() {
12001
12007
  return rc || (rc = 1, zo = function(e) {
12002
12008
  for (var r = [], n = e.length, i = 0; i < n; i++) {
12003
12009
  var o = e.charCodeAt(i);
@@ -12027,10 +12033,10 @@ function I_() {
12027
12033
  }), zo;
12028
12034
  }
12029
12035
  var Lo, nc;
12030
- function T_() {
12036
+ function P_() {
12031
12037
  if (nc) return Lo;
12032
12038
  nc = 1;
12033
- const t = I_(), e = ut();
12039
+ const t = T_(), e = ut();
12034
12040
  function r(n) {
12035
12041
  this.mode = e.BYTE, this.data = new Uint8Array(t(n));
12036
12042
  }
@@ -12046,7 +12052,7 @@ function T_() {
12046
12052
  }, Lo = r, Lo;
12047
12053
  }
12048
12054
  var Bo, ic;
12049
- function P_() {
12055
+ function k_() {
12050
12056
  if (ic) return Bo;
12051
12057
  ic = 1;
12052
12058
  const t = ut(), e = st();
@@ -12077,7 +12083,7 @@ Make sure your charset is UTF-8`
12077
12083
  }, Bo = r, Bo;
12078
12084
  }
12079
12085
  var Go = { exports: {} }, oc;
12080
- function k_() {
12086
+ function M_() {
12081
12087
  return oc || (oc = 1, function(t) {
12082
12088
  var e = {
12083
12089
  single_source_shortest_paths: function(r, n, i) {
@@ -12145,9 +12151,9 @@ function k_() {
12145
12151
  }(Go)), Go.exports;
12146
12152
  }
12147
12153
  var ac;
12148
- function M_() {
12154
+ function N_() {
12149
12155
  return ac || (ac = 1, function(t) {
12150
- const e = ut(), r = A_(), n = E_(), i = T_(), o = P_(), a = Nd(), s = st(), u = k_();
12156
+ const e = ut(), r = E_(), n = I_(), i = P_(), o = k_(), a = Nd(), s = st(), u = M_();
12151
12157
  function l(h) {
12152
12158
  return unescape(encodeURIComponent(h)).length;
12153
12159
  }
@@ -12279,10 +12285,10 @@ function M_() {
12279
12285
  }(Do)), Do;
12280
12286
  }
12281
12287
  var sc;
12282
- function N_() {
12288
+ function R_() {
12283
12289
  if (sc) return Co;
12284
12290
  sc = 1;
12285
- const t = st(), e = Ra(), r = m_(), n = h_(), i = g_(), o = y_(), a = v_(), s = kd(), u = w_(), l = b_(), c = C_(), d = ut(), f = M_();
12291
+ const t = st(), e = Ra(), r = h_(), n = g_(), i = y_(), o = v_(), a = __(), s = kd(), u = b_(), l = C_(), c = A_(), d = ut(), f = N_();
12286
12292
  function p(A, C) {
12287
12293
  const I = A.size, P = o.getPositions(C);
12288
12294
  for (let k = 0; k < P.length; k++) {
@@ -12470,7 +12476,7 @@ function Rd() {
12470
12476
  }(Wo)), Wo;
12471
12477
  }
12472
12478
  var lc;
12473
- function R_() {
12479
+ function U_() {
12474
12480
  return lc || (lc = 1, function(t) {
12475
12481
  const e = Rd();
12476
12482
  function r(i, o, a) {
@@ -12497,7 +12503,7 @@ function R_() {
12497
12503
  }(jo)), jo;
12498
12504
  }
12499
12505
  var Ho = {}, cc;
12500
- function U_() {
12506
+ function F_() {
12501
12507
  if (cc) return Ho;
12502
12508
  cc = 1;
12503
12509
  const t = Rd();
@@ -12524,10 +12530,10 @@ function U_() {
12524
12530
  }, Ho;
12525
12531
  }
12526
12532
  var dc;
12527
- function F_() {
12533
+ function O_() {
12528
12534
  if (dc) return ft;
12529
12535
  dc = 1;
12530
- const t = p_(), e = N_(), r = R_(), n = U_();
12536
+ const t = m_(), e = R_(), r = U_(), n = F_();
12531
12537
  function i(o, a, s, u, l) {
12532
12538
  const c = [].slice.call(arguments, 1), d = c.length, f = typeof c[d - 1] == "function";
12533
12539
  if (!f && !t())
@@ -12559,15 +12565,15 @@ function F_() {
12559
12565
  return n.render(o, s);
12560
12566
  }), ft;
12561
12567
  }
12562
- var O_ = F_();
12563
- const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-amplify-copy-tooltip": "" }, L_ = /* @__PURE__ */ G("svg", {
12568
+ var D_ = O_();
12569
+ const x_ = /* @__PURE__ */ fa(D_), q_ = { key: 0 }, z_ = ["src"], L_ = { "data-amplify-copy-tooltip": "" }, B_ = /* @__PURE__ */ G("svg", {
12564
12570
  width: "24",
12565
12571
  height: "24",
12566
12572
  viewBox: "0 0 24 24",
12567
12573
  xmlns: "http://www.w3.org/2000/svg"
12568
12574
  }, [
12569
12575
  /* @__PURE__ */ G("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" })
12570
- ], -1), B_ = /* @__PURE__ */ J({
12576
+ ], -1), G_ = /* @__PURE__ */ J({
12571
12577
  __name: "setup-totp",
12572
12578
  setup(t) {
12573
12579
  const e = new Zd("SetupTotp-logger"), r = ve(), { updateForm: n, submitForm: i, toSignIn: o, totpSecretCode: a, username: s, QRFields: u } = r, { error: l, isPending: c } = re(r), { totpIssuer: d = "AWSCognito", totpUsername: f = s } = u ?? {}, p = Hf(d, f, a), y = pc({
@@ -12579,7 +12585,7 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
12579
12585
  }
12580
12586
  mc(async () => {
12581
12587
  try {
12582
- y.qrCodeImageSource = await D_.toDataURL(p);
12588
+ y.qrCodeImageSource = await x_.toDataURL(p);
12583
12589
  } catch (k) {
12584
12590
  e.error(k);
12585
12591
  } finally {
@@ -12625,7 +12631,7 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
12625
12631
  ]),
12626
12632
  T(R, { class: "amplify-flex amplify-authenticator__column" }, {
12627
12633
  default: _(() => [
12628
- y.isLoading ? (D(), ee("p", x_, "Loading...")) : (D(), ee("img", {
12634
+ y.isLoading ? (D(), ee("p", q_, "Loading...")) : (D(), ee("img", {
12629
12635
  key: 1,
12630
12636
  class: "amplify-image",
12631
12637
  "data-amplify-qrcode": "",
@@ -12633,7 +12639,7 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
12633
12639
  alt: "qr code",
12634
12640
  width: "228",
12635
12641
  height: "228"
12636
- }, null, 8, q_)),
12642
+ }, null, 8, z_)),
12637
12643
  T(R, {
12638
12644
  class: "amplify-flex",
12639
12645
  "data-amplify-copy": ""
@@ -12645,8 +12651,8 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
12645
12651
  onClick: b
12646
12652
  }, {
12647
12653
  default: _(() => [
12648
- G("div", z_, q(w.value), 1),
12649
- L_
12654
+ G("div", L_, q(w.value), 1),
12655
+ B_
12650
12656
  ]),
12651
12657
  _: 1
12652
12658
  })
@@ -13500,10 +13506,10 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13500
13506
  ]);
13501
13507
  };
13502
13508
  }
13503
- }), G_ = ["data-variation"], j_ = { "data-amplify-container": "" }, W_ = ["data-amplify-router-content"], H_ = {
13509
+ }), j_ = ["data-variation"], W_ = { "data-amplify-container": "" }, H_ = ["data-amplify-router-content"], V_ = {
13504
13510
  key: 1,
13505
13511
  "data-amplify-router-content": ""
13506
- }, V_ = /* @__PURE__ */ J({
13512
+ }, K_ = /* @__PURE__ */ J({
13507
13513
  __name: "authenticator",
13508
13514
  props: {
13509
13515
  hideSignUp: { type: Boolean },
@@ -13547,10 +13553,10 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13547
13553
  }), d.value = !0);
13548
13554
  }).unsubscribe, S = ve(), { route: h, signOut: v, toSignIn: w, toSignUp: b, user: M } = re(S);
13549
13555
  mc(() => {
13550
- c = bv({
13556
+ c = Cv({
13551
13557
  componentName: "Authenticator",
13552
13558
  packageName: "vue",
13553
- version: c_
13559
+ version: d_
13554
13560
  });
13555
13561
  }), $d(() => {
13556
13562
  c(), g();
@@ -13570,13 +13576,13 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13570
13576
  "verifyUser"
13571
13577
  ].includes(h.value));
13572
13578
  return (z, Ne) => {
13573
- const St = l_, Re = s_;
13579
+ const St = c_, Re = u_;
13574
13580
  return D(), ee(We, null, [
13575
13581
  m(tt) ? (D(), ee("div", Ee({ key: 0 }, z.$attrs, {
13576
13582
  "data-amplify-authenticator": "",
13577
13583
  "data-variation": m(i)
13578
13584
  }), [
13579
- G("div", j_, [
13585
+ G("div", W_, [
13580
13586
  U(z.$slots, "header"),
13581
13587
  G("div", {
13582
13588
  "data-amplify-router": "",
@@ -13599,7 +13605,7 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13599
13605
  ]),
13600
13606
  _: 1
13601
13607
  })) : H("", !0),
13602
- m(Je) ? (D(), ee("div", H_, [
13608
+ m(Je) ? (D(), ee("div", V_, [
13603
13609
  m(h) === "signIn" ? (D(), j(Ad, {
13604
13610
  key: 0,
13605
13611
  id: "signIn-panel",
@@ -13716,7 +13722,7 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13716
13722
  ]),
13717
13723
  _: 3
13718
13724
  }, 512)) : H("", !0),
13719
- m(h) === "setupTotp" ? (D(), j(B_, {
13725
+ m(h) === "setupTotp" ? (D(), j(G_, {
13720
13726
  key: 6,
13721
13727
  ref_key: "confirmSetupTotpComponent",
13722
13728
  ref: k
@@ -13815,10 +13821,10 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13815
13821
  ]),
13816
13822
  _: 3
13817
13823
  }, 512)) : H("", !0)
13818
- ], 8, W_),
13824
+ ], 8, H_),
13819
13825
  U(z.$slots, "footer")
13820
13826
  ])
13821
- ], 16, G_)) : H("", !0),
13827
+ ], 16, j_)) : H("", !0),
13822
13828
  m(h) === "authenticated" ? U(z.$slots, "default", {
13823
13829
  key: 1,
13824
13830
  user: m(M),
@@ -13829,7 +13835,7 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13829
13835
  ], 64);
13830
13836
  };
13831
13837
  }
13832
- }), K_ = J({
13838
+ }), $_ = J({
13833
13839
  props: {
13834
13840
  info: {
13835
13841
  type: Object
@@ -13838,7 +13844,7 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13838
13844
  setup(t) {
13839
13845
  return () => t.info;
13840
13846
  }
13841
- }), $_ = /* @__PURE__ */ J({
13847
+ }), Y_ = /* @__PURE__ */ J({
13842
13848
  __name: "amplify-text-field",
13843
13849
  props: {
13844
13850
  label: { default: "" },
@@ -13884,21 +13890,21 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13884
13890
  ], 64);
13885
13891
  };
13886
13892
  }
13887
- }), Y_ = { class: "amplify-flex amplify-field amplify-checkboxfield" }, J_ = { class: "amplify-flex amplify-checkbox" }, Z_ = { class: "amplify-visually-hidden" }, Q_ = ["data-error", "data-checked"], X_ = ["data-checked"], eS = /* @__PURE__ */ G("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, null, -1), tS = [
13888
- eS
13889
- ], rS = { class: "amplify-text amplify-checkbox__label" }, nS = {
13893
+ }), J_ = { class: "amplify-flex amplify-field amplify-checkboxfield" }, Z_ = { class: "amplify-flex amplify-checkbox" }, Q_ = { class: "amplify-visually-hidden" }, X_ = ["data-error", "data-checked"], eS = ["data-checked"], tS = /* @__PURE__ */ G("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, null, -1), rS = [
13894
+ tS
13895
+ ], nS = { class: "amplify-text amplify-checkbox__label" }, iS = {
13890
13896
  key: 0,
13891
13897
  class: "amplify-text amplify-field__error-message"
13892
- }, iS = /* @__PURE__ */ J({
13898
+ }, oS = /* @__PURE__ */ J({
13893
13899
  __name: "amplify-check-box",
13894
13900
  props: {
13895
13901
  errorMessage: { default: "" }
13896
13902
  },
13897
13903
  setup(t) {
13898
13904
  const e = t, r = le(!1), n = le(x("I agree with the Terms and Conditions")), { errorMessage: i } = re(e);
13899
- return (o, a) => (D(), ee("div", Y_, [
13900
- G("label", J_, [
13901
- G("span", Z_, [
13905
+ return (o, a) => (D(), ee("div", J_, [
13906
+ G("label", Z_, [
13907
+ G("span", Q_, [
13902
13908
  G("input", {
13903
13909
  onClick: a[0] || (a[0] = (s) => r.value = !r.value),
13904
13910
  class: "amplify-input amplify-field-group__control amplify-checkbox__input",
@@ -13925,16 +13931,16 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13925
13931
  viewBox: "0 0 24 24",
13926
13932
  fill: "currentColor",
13927
13933
  "data-checked": r.value
13928
- }, tS, 10, X_))
13929
- ], 10, Q_),
13930
- G("span", rS, q(n.value), 1)
13934
+ }, rS, 10, eS))
13935
+ ], 10, X_),
13936
+ G("span", nS, q(n.value), 1)
13931
13937
  ]),
13932
- r.value ? H("", !0) : (D(), ee("p", nS, q(m(i)), 1))
13938
+ r.value ? H("", !0) : (D(), ee("p", iS, q(m(i)), 1))
13933
13939
  ]));
13934
13940
  }
13935
- }), dS = {
13941
+ }), fS = {
13936
13942
  install: (t) => {
13937
- t.component("SignIn", Ad), t.component("SignUp", Id), t.component("FederatedSignIn", Ma), t.component("Authenticator", V_), t.component("RenderInfo", K_), t.component("PasswordControl", bd), t.component("ForceNewPassword", Fd), t.component("ForgotPassword", Od), t.component("ConfirmResetPassword", Dd), t.component("ConfirmSignUp", Td), t.component("ConfirmSignIn", Pd), t.component("VerifyUser", xd), t.component("ConfirmVerifyUser", qd), t.component("SelectMfaType", zd), t.component("SetupEmail", Ld), t.component("AmplifyTextField", $_), t.component("AmplifyCheckBox", iS), t.component("AmplifyButton", Se), t.component("BaseFormField", Cd), t.component("BaseFormFields", Fe), t.component(
13943
+ t.component("SignIn", Ad), t.component("SignUp", Id), t.component("FederatedSignIn", Ma), t.component("Authenticator", K_), t.component("RenderInfo", $_), t.component("PasswordControl", bd), t.component("ForceNewPassword", Fd), t.component("ForgotPassword", Od), t.component("ConfirmResetPassword", Dd), t.component("ConfirmSignUp", Td), t.component("ConfirmSignIn", Pd), t.component("VerifyUser", xd), t.component("ConfirmVerifyUser", qd), t.component("SelectMfaType", zd), t.component("SetupEmail", Ld), t.component("AmplifyTextField", Y_), t.component("AmplifyCheckBox", oS), t.component("AmplifyButton", Se), t.component("BaseFormField", Cd), t.component("BaseFormFields", Fe), t.component(
13938
13944
  "AuthenticatorSignUpFormFields",
13939
13945
  Ed
13940
13946
  ), t.component(
@@ -13945,9 +13951,9 @@ const D_ = /* @__PURE__ */ fa(O_), x_ = { key: 0 }, q_ = ["src"], z_ = { "data-a
13945
13951
  };
13946
13952
  export {
13947
13953
  Se as AmplifyButton,
13948
- iS as AmplifyCheckBox,
13949
- $_ as AmplifyTextField,
13950
- V_ as Authenticator,
13954
+ oS as AmplifyCheckBox,
13955
+ Y_ as AmplifyTextField,
13956
+ K_ as Authenticator,
13951
13957
  Ud as AuthenticatorForceNewPasswordFormFields,
13952
13958
  Ed as AuthenticatorSignUpFormFields,
13953
13959
  Dd as ConfirmResetPassword,
@@ -13958,13 +13964,13 @@ export {
13958
13964
  Fd as ForceNewPassword,
13959
13965
  Od as ForgotPassword,
13960
13966
  bd as PasswordControl,
13961
- K_ as RenderInfo,
13967
+ $_ as RenderInfo,
13962
13968
  zd as SelectMfaType,
13963
13969
  Ld as SetupEmail,
13964
13970
  Ad as SignIn,
13965
13971
  Id as SignUp,
13966
13972
  xd as VerifyUser,
13967
- dS as default,
13968
- cS as translations,
13973
+ fS as default,
13974
+ dS as translations,
13969
13975
  ve as useAuthenticator
13970
13976
  };