@aws-amplify/ui-vue 2.1.3 → 2.2.2

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
@@ -17,23 +17,9 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { openBlock, createElementBlock, renderSlot, defineComponent, useSlots, mergeProps, unref, createElementVNode, normalizeProps, guardReactiveProps, ref, createVNode, withCtx, createCommentVNode, effectScope, getCurrentScope, onScopeDispose, toRefs, Fragment, createTextVNode, toDisplayString, isRef, renderList, onMounted, onBeforeUnmount, shallowRef, watch, reactive, watchEffect, computed, createBlock, useAttrs, withModifiers, h, onUnmounted, normalizeClass } from "vue";
20
+ import { defineComponent, useSlots, renderSlot, mergeProps, unref, createElementVNode, normalizeProps, guardReactiveProps, ref, openBlock, createElementBlock, createVNode, withCtx, createCommentVNode, effectScope, getCurrentScope, onScopeDispose, toRefs, createBlock, normalizeClass, createTextVNode, toDisplayString, isRef, Fragment, renderList, onMounted, onBeforeUnmount, shallowRef, watch, reactive, watchEffect, computed, useAttrs, withModifiers, h, onUnmounted } from "vue";
21
21
  import { Auth, I18n, Hub, Amplify, Logger } from "aws-amplify";
22
- var _export_sfc = (sfc, props) => {
23
- const target = sfc.__vccOpts || sfc;
24
- for (const [key, val] of props) {
25
- target[key] = val;
26
- }
27
- return target;
28
- };
29
- const _sfc_main$y = {};
30
- function _sfc_render$4(_ctx, _cache) {
31
- return openBlock(), createElementBlock("div", null, [
32
- renderSlot(_ctx.$slots, "default")
33
- ]);
34
- }
35
- var __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$4]]);
36
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
22
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
37
23
  setup(__props) {
38
24
  let mySlots = useSlots();
39
25
  return (_ctx, _cache) => {
@@ -47,7 +33,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
47
33
  };
48
34
  }
49
35
  });
50
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
36
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
51
37
  props: {
52
38
  type: null,
53
39
  fullWidth: { type: [Boolean, String] },
@@ -74,7 +60,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
74
60
  };
75
61
  }
76
62
  });
77
- const _hoisted_1$d = {
63
+ const _hoisted_1$c = {
78
64
  key: 0,
79
65
  class: "amplify-flex amplify-alert",
80
66
  "data-variation": "error",
@@ -101,15 +87,15 @@ const _hoisted_4$4 = /* @__PURE__ */ createElementVNode("svg", {
101
87
  }, [
102
88
  /* @__PURE__ */ createElementVNode("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })
103
89
  ], -1);
104
- const _sfc_main$v = {
90
+ const _sfc_main$w = {
105
91
  setup(__props) {
106
92
  const show = ref(true);
107
93
  function close() {
108
94
  show.value = false;
109
95
  }
110
96
  return (_ctx, _cache) => {
111
- const _component_amplify_button = _sfc_main$w;
112
- return show.value ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
97
+ const _component_amplify_button = _sfc_main$x;
98
+ return show.value ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
113
99
  createElementVNode("div", _hoisted_2$7, [
114
100
  _hoisted_3$5,
115
101
  createElementVNode("div", null, [
@@ -132,6 +118,20 @@ const _sfc_main$v = {
132
118
  };
133
119
  }
134
120
  };
121
+ var _export_sfc = (sfc, props) => {
122
+ const target = sfc.__vccOpts || sfc;
123
+ for (const [key, val] of props) {
124
+ target[key] = val;
125
+ }
126
+ return target;
127
+ };
128
+ const _sfc_main$v = {};
129
+ function _sfc_render$4(_ctx, _cache) {
130
+ return openBlock(), createElementBlock("div", null, [
131
+ renderSlot(_ctx.$slots, "default")
132
+ ]);
133
+ }
134
+ var __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$4]]);
135
135
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
136
136
  setup(__props) {
137
137
  let mySlots = useSlots();
@@ -194,12 +194,12 @@ function getAugmentedNamespace(n) {
194
194
  if (n.__esModule)
195
195
  return n;
196
196
  var a = Object.defineProperty({}, "__esModule", { value: true });
197
- Object.keys(n).forEach(function(k) {
198
- var d2 = Object.getOwnPropertyDescriptor(n, k);
199
- Object.defineProperty(a, k, d2.get ? d2 : {
197
+ Object.keys(n).forEach(function(k2) {
198
+ var d = Object.getOwnPropertyDescriptor(n, k2);
199
+ Object.defineProperty(a, k2, d.get ? d : {
200
200
  enumerable: true,
201
201
  get: function() {
202
- return n[k];
202
+ return n[k2];
203
203
  }
204
204
  });
205
205
  });
@@ -253,7 +253,7 @@ function getRawTag$1(value) {
253
253
  try {
254
254
  value[symToStringTag$1] = void 0;
255
255
  var unmasked = true;
256
- } catch (e) {
256
+ } catch (e2) {
257
257
  }
258
258
  var result = nativeObjectToString$1.call(value);
259
259
  if (unmasked) {
@@ -476,7 +476,7 @@ var _nodeUtil = { exports: {} };
476
476
  return types2;
477
477
  }
478
478
  return freeProcess && freeProcess.binding && freeProcess.binding("util");
479
- } catch (e) {
479
+ } catch (e2) {
480
480
  }
481
481
  }();
482
482
  module.exports = nodeUtil2;
@@ -577,14 +577,14 @@ var __assign$5 = function() {
577
577
  };
578
578
  return __assign$5.apply(this, arguments);
579
579
  };
580
- function __rest$1(s, e) {
580
+ function __rest$1(s, e2) {
581
581
  var t = {};
582
582
  for (var p in s)
583
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
583
+ if (Object.prototype.hasOwnProperty.call(s, p) && e2.indexOf(p) < 0)
584
584
  t[p] = s[p];
585
585
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
586
586
  for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
587
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
587
+ if (e2.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
588
588
  t[p[i]] = s[p[i]];
589
589
  }
590
590
  return t;
@@ -607,33 +607,33 @@ function __read(o, n) {
607
607
  var m2 = typeof Symbol === "function" && o[Symbol.iterator];
608
608
  if (!m2)
609
609
  return o;
610
- var i = m2.call(o), r2, ar2 = [], e;
610
+ var i = m2.call(o), r, ar = [], e2;
611
611
  try {
612
- while ((n === void 0 || n-- > 0) && !(r2 = i.next()).done)
613
- ar2.push(r2.value);
612
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
613
+ ar.push(r.value);
614
614
  } catch (error2) {
615
- e = { error: error2 };
615
+ e2 = { error: error2 };
616
616
  } finally {
617
617
  try {
618
- if (r2 && !r2.done && (m2 = i["return"]))
618
+ if (r && !r.done && (m2 = i["return"]))
619
619
  m2.call(i);
620
620
  } finally {
621
- if (e)
622
- throw e.error;
621
+ if (e2)
622
+ throw e2.error;
623
623
  }
624
624
  }
625
- return ar2;
625
+ return ar;
626
626
  }
627
627
  function __spreadArray(to2, from, pack) {
628
628
  if (pack || arguments.length === 2)
629
- for (var i = 0, l = from.length, ar2; i < l; i++) {
630
- if (ar2 || !(i in from)) {
631
- if (!ar2)
632
- ar2 = Array.prototype.slice.call(from, 0, i);
633
- ar2[i] = from[i];
629
+ for (var i = 0, l = from.length, ar; i < l; i++) {
630
+ if (ar || !(i in from)) {
631
+ if (!ar)
632
+ ar = Array.prototype.slice.call(from, 0, i);
633
+ ar[i] = from[i];
634
634
  }
635
635
  }
636
- return to2.concat(ar2 || Array.prototype.slice.call(from));
636
+ return to2.concat(ar || Array.prototype.slice.call(from));
637
637
  }
638
638
  var STATE_DELIMITER$1 = ".";
639
639
  var EMPTY_ACTIVITY_MAP$1 = {};
@@ -669,7 +669,7 @@ function matchesState(parentStateId, childStateId, delimiter) {
669
669
  function getEventType(event) {
670
670
  try {
671
671
  return isString$1(event) || typeof event === "number" ? "".concat(event) : event.type;
672
- } catch (e) {
672
+ } catch (e2) {
673
673
  throw new Error("Events must be strings or objects with a string event.type property.");
674
674
  }
675
675
  }
@@ -679,7 +679,7 @@ function toStatePath(stateId, delimiter) {
679
679
  return stateId;
680
680
  }
681
681
  return stateId.toString().split(delimiter);
682
- } catch (e) {
682
+ } catch (e2) {
683
683
  throw new Error("'".concat(stateId, "' is not a valid state path."));
684
684
  }
685
685
  }
@@ -1000,7 +1000,7 @@ function toGuard(condition, guardMap) {
1000
1000
  function isObservable(value) {
1001
1001
  try {
1002
1002
  return "subscribe" in value && isFunction$2(value.subscribe);
1003
- } catch (e) {
1003
+ } catch (e2) {
1004
1004
  return false;
1005
1005
  }
1006
1006
  }
@@ -1013,7 +1013,7 @@ var interopSymbols = (_a = {}, _a[symbolObservable] = function() {
1013
1013
  function isMachine(value) {
1014
1014
  try {
1015
1015
  return "__xstatenode" in value;
1016
- } catch (e) {
1016
+ } catch (e2) {
1017
1017
  return false;
1018
1018
  }
1019
1019
  }
@@ -1898,7 +1898,7 @@ function createDeferredActor(entity, id, data) {
1898
1898
  function isActor(item) {
1899
1899
  try {
1900
1900
  return typeof item.send === "function";
1901
- } catch (e) {
1901
+ } catch (e2) {
1902
1902
  return false;
1903
1903
  }
1904
1904
  }
@@ -2702,7 +2702,7 @@ var StateNode = /* @__PURE__ */ function() {
2702
2702
  if (typeof statePath === "string" && isStateId(statePath)) {
2703
2703
  try {
2704
2704
  return this.getStateNodeById(statePath.slice(1));
2705
- } catch (e) {
2705
+ } catch (e2) {
2706
2706
  }
2707
2707
  }
2708
2708
  var arrayStatePath = toStatePath(statePath, this.delimiter).slice();
@@ -3142,9 +3142,9 @@ var Scheduler = /* @__PURE__ */ function() {
3142
3142
  this.processingEvent = true;
3143
3143
  try {
3144
3144
  callback();
3145
- } catch (e) {
3145
+ } catch (e2) {
3146
3146
  this.clear();
3147
- throw e;
3147
+ throw e2;
3148
3148
  } finally {
3149
3149
  this.processingEvent = false;
3150
3150
  }
@@ -4036,15 +4036,15 @@ var Interpreter = /* @__PURE__ */ function() {
4036
4036
  var receivers = new Set();
4037
4037
  var listeners = new Set();
4038
4038
  var emitted;
4039
- var receive = function(e) {
4040
- emitted = e;
4039
+ var receive = function(e2) {
4040
+ emitted = e2;
4041
4041
  listeners.forEach(function(listener) {
4042
- return listener(e);
4042
+ return listener(e2);
4043
4043
  });
4044
4044
  if (canceled) {
4045
4045
  return;
4046
4046
  }
4047
- _this.send(toSCXMLEvent(e, {
4047
+ _this.send(toSCXMLEvent(e2, {
4048
4048
  origin: id
4049
4049
  }));
4050
4050
  };
@@ -4287,14 +4287,14 @@ var _tslib$1 = {};
4287
4287
  };
4288
4288
  return exports.__assign.apply(this, arguments);
4289
4289
  };
4290
- function __rest2(s, e) {
4290
+ function __rest2(s, e2) {
4291
4291
  var t = {};
4292
4292
  for (var p in s)
4293
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4293
+ if (Object.prototype.hasOwnProperty.call(s, p) && e2.indexOf(p) < 0)
4294
4294
  t[p] = s[p];
4295
4295
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
4296
4296
  for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
4297
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
4297
+ if (e2.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
4298
4298
  t[p[i]] = s[p[i]];
4299
4299
  }
4300
4300
  return t;
@@ -4317,33 +4317,33 @@ var _tslib$1 = {};
4317
4317
  var m2 = typeof Symbol === "function" && o[Symbol.iterator];
4318
4318
  if (!m2)
4319
4319
  return o;
4320
- var i = m2.call(o), r2, ar2 = [], e;
4320
+ var i = m2.call(o), r, ar = [], e2;
4321
4321
  try {
4322
- while ((n === void 0 || n-- > 0) && !(r2 = i.next()).done)
4323
- ar2.push(r2.value);
4322
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
4323
+ ar.push(r.value);
4324
4324
  } catch (error2) {
4325
- e = { error: error2 };
4325
+ e2 = { error: error2 };
4326
4326
  } finally {
4327
4327
  try {
4328
- if (r2 && !r2.done && (m2 = i["return"]))
4328
+ if (r && !r.done && (m2 = i["return"]))
4329
4329
  m2.call(i);
4330
4330
  } finally {
4331
- if (e)
4332
- throw e.error;
4331
+ if (e2)
4332
+ throw e2.error;
4333
4333
  }
4334
4334
  }
4335
- return ar2;
4335
+ return ar;
4336
4336
  }
4337
4337
  function __spreadArray2(to2, from, pack) {
4338
4338
  if (pack || arguments.length === 2)
4339
- for (var i = 0, l = from.length, ar2; i < l; i++) {
4340
- if (ar2 || !(i in from)) {
4341
- if (!ar2)
4342
- ar2 = Array.prototype.slice.call(from, 0, i);
4343
- ar2[i] = from[i];
4339
+ for (var i = 0, l = from.length, ar; i < l; i++) {
4340
+ if (ar || !(i in from)) {
4341
+ if (!ar)
4342
+ ar = Array.prototype.slice.call(from, 0, i);
4343
+ ar[i] = from[i];
4344
4344
  }
4345
4345
  }
4346
- return to2.concat(ar2 || Array.prototype.slice.call(from));
4346
+ return to2.concat(ar || Array.prototype.slice.call(from));
4347
4347
  }
4348
4348
  exports.__read = __read2;
4349
4349
  exports.__rest = __rest2;
@@ -4399,7 +4399,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
4399
4399
  function getEventType2(event) {
4400
4400
  try {
4401
4401
  return isString2(event) || typeof event === "number" ? "".concat(event) : event.type;
4402
- } catch (e) {
4402
+ } catch (e2) {
4403
4403
  throw new Error("Events must be strings or objects with a string event.type property.");
4404
4404
  }
4405
4405
  }
@@ -4409,7 +4409,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
4409
4409
  return stateId;
4410
4410
  }
4411
4411
  return stateId.toString().split(delimiter);
4412
- } catch (e) {
4412
+ } catch (e2) {
4413
4413
  throw new Error("'".concat(stateId, "' is not a valid state path."));
4414
4414
  }
4415
4415
  }
@@ -4748,7 +4748,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
4748
4748
  function isObservable2(value) {
4749
4749
  try {
4750
4750
  return "subscribe" in value && isFunction2(value.subscribe);
4751
- } catch (e) {
4751
+ } catch (e2) {
4752
4752
  return false;
4753
4753
  }
4754
4754
  }
@@ -4761,7 +4761,7 @@ constants.TARGETLESS_KEY = TARGETLESS_KEY;
4761
4761
  function isMachine2(value) {
4762
4762
  try {
4763
4763
  return "__xstatenode" in value;
4764
- } catch (e) {
4764
+ } catch (e2) {
4765
4765
  return false;
4766
4766
  }
4767
4767
  }
@@ -5377,11 +5377,11 @@ function toSource$2(func) {
5377
5377
  if (func != null) {
5378
5378
  try {
5379
5379
  return funcToString$2.call(func);
5380
- } catch (e) {
5380
+ } catch (e2) {
5381
5381
  }
5382
5382
  try {
5383
5383
  return func + "";
5384
- } catch (e) {
5384
+ } catch (e2) {
5385
5385
  }
5386
5386
  }
5387
5387
  return "";
@@ -5834,7 +5834,7 @@ var defineProperty$2 = function() {
5834
5834
  var func = getNative(Object, "defineProperty");
5835
5835
  func({}, "", {});
5836
5836
  return func;
5837
- } catch (e) {
5837
+ } catch (e2) {
5838
5838
  }
5839
5839
  }();
5840
5840
  var _defineProperty = defineProperty$2;
@@ -7542,212 +7542,246 @@ function usesReference(value, regexOrOptions = {}) {
7542
7542
  return false;
7543
7543
  }
7544
7544
  var usesReference_1 = usesReference;
7545
- var Mr = Object.defineProperty, Gr = Object.defineProperties;
7546
- var Hr = Object.getOwnPropertyDescriptors;
7547
- var L = Object.getOwnPropertySymbols;
7548
- var ye = Object.prototype.hasOwnProperty, Ce = Object.prototype.propertyIsEnumerable;
7549
- var xe = (o, e, a) => e in o ? Mr(o, e, { enumerable: true, configurable: true, writable: true, value: a }) : o[e] = a, m = (o, e) => {
7550
- for (var a in e || (e = {}))
7551
- ye.call(e, a) && xe(o, a, e[a]);
7552
- if (L)
7553
- for (var a of L(e))
7554
- Ce.call(e, a) && xe(o, a, e[a]);
7555
- return o;
7556
- }, C = (o, e) => Gr(o, Hr(e));
7557
- var q = (o, e) => {
7545
+ var Xr = Object.defineProperty, Zr = Object.defineProperties;
7546
+ var Qr = Object.getOwnPropertyDescriptors;
7547
+ var H = Object.getOwnPropertySymbols;
7548
+ var xe = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
7549
+ var Ae = (r, o, a) => o in r ? Xr(r, o, { enumerable: true, configurable: true, writable: true, value: a }) : r[o] = a, m = (r, o) => {
7550
+ for (var a in o || (o = {}))
7551
+ xe.call(o, a) && Ae(r, a, o[a]);
7552
+ if (H)
7553
+ for (var a of H(o))
7554
+ we.call(o, a) && Ae(r, a, o[a]);
7555
+ return r;
7556
+ }, C = (r, o) => Zr(r, Qr(o));
7557
+ var q = (r, o) => {
7558
7558
  var a = {};
7559
- for (var t in o)
7560
- ye.call(o, t) && e.indexOf(t) < 0 && (a[t] = o[t]);
7561
- if (o != null && L)
7562
- for (var t of L(o))
7563
- e.indexOf(t) < 0 && Ce.call(o, t) && (a[t] = o[t]);
7559
+ for (var t in r)
7560
+ xe.call(r, t) && o.indexOf(t) < 0 && (a[t] = r[t]);
7561
+ if (r != null && H)
7562
+ for (var t of H(r))
7563
+ o.indexOf(t) < 0 && we.call(r, t) && (a[t] = r[t]);
7564
7564
  return a;
7565
7565
  };
7566
- var Lr = (o, e) => () => (o && (e = o(o = 0)), e);
7567
- var d = (o, e) => () => (e || o((e = { exports: {} }).exports, e), e.exports);
7568
- var r = Lr(() => {
7566
+ var Jr = (r, o) => () => (r && (o = r(r = 0)), o);
7567
+ var c = (r, o) => () => (o || r((o = { exports: {} }).exports, o), o.exports);
7568
+ var e = Jr(() => {
7569
+ });
7570
+ var wo = c((di, xo) => {
7571
+ e();
7572
+ xo.exports = { alignItems: { value: "center" }, justifyContent: { value: "space-between" }, color: { value: "{colors.font.primary.value}" }, backgroundColor: { value: "{colors.background.tertiary.value}" }, paddingBlock: { value: "{space.small.value}" }, paddingInline: { value: "{space.medium.value}" }, icon: { size: { value: "{fontSizes.xl.value}" } }, heading: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } }, info: { color: { value: "{colors.font.info.value}" }, backgroundColor: { value: "{colors.background.info.value}" } }, error: { color: { value: "{colors.font.error.value}" }, backgroundColor: { value: "{colors.background.error.value}" } }, warning: { color: { value: "{colors.font.warning.value}" }, backgroundColor: { value: "{colors.background.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" }, backgroundColor: { value: "{colors.background.success.value}" } } };
7569
7573
  });
7570
- var So = d((zn, bo) => {
7571
- r();
7572
- bo.exports = { alignItems: { value: "center" }, justifyContent: { value: "space-between" }, color: { value: "{colors.font.primary.value}" }, backgroundColor: { value: "{colors.background.tertiary.value}" }, paddingBlock: { value: "{space.small.value}" }, paddingInline: { value: "{space.medium.value}" }, icon: { size: { value: "{fontSizes.xl.value}" } }, heading: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } }, info: { color: { value: "{colors.font.info.value}" }, backgroundColor: { value: "{colors.background.info.value}" } }, error: { color: { value: "{colors.font.error.value}" }, backgroundColor: { value: "{colors.background.error.value}" } }, warning: { color: { value: "{colors.font.warning.value}" }, backgroundColor: { value: "{colors.background.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" }, backgroundColor: { value: "{colors.background.success.value}" } } };
7574
+ var To = c((ci, Ao) => {
7575
+ e();
7576
+ Ao.exports = { maxWidth: { value: "60rem" }, modal: { width: { value: "{space.relative.full}" }, height: { value: "{space.relative.full}" }, backgroundColor: { value: "{colors.overlay.50.value}" }, top: { value: "{space.zero}" }, left: { value: "{space.zero}" } }, container: { widthMax: { value: "30rem" } }, router: { borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, backgroundColor: { value: "{colors.background.primary.value}" }, boxShadow: { value: "{shadows.medium.value}" } }, footer: { paddingBottom: { value: "{space.medium.value}" } }, form: { padding: { value: "{space.xl.value}" } }, state: { inactive: { backgroundColor: { value: "{colors.background.secondary.value}" } } }, orContainer: { color: { value: "{colors.neutral.80.value}" }, orLine: { backgroundColor: { value: "{colors.background.primary.value}" } } } };
7573
7577
  });
7574
- var Co = d((Bn, yo) => {
7575
- r();
7576
- yo.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: 1 }, fontWeight: { value: "{fontWeights.semibold.value}" }, fontSize: { value: "{fontSizes.small.value}" }, textAlign: { value: "center" }, paddingVertical: { value: "{space.xs.value}" }, paddingHorizontal: { value: "{space.small.value}" }, backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "{radii.xl.value}" }, info: { color: { value: "{colors.font.info.value}" }, backgroundColor: { value: "{colors.background.info.value}" } }, warning: { color: { value: "{colors.font.warning.value}" }, backgroundColor: { value: "{colors.background.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" }, backgroundColor: { value: "{colors.background.success.value}" } }, error: { color: { value: "{colors.font.error.value}" }, backgroundColor: { value: "{colors.background.error.value}" } }, small: { fontSize: { value: "{fontSizes.xs.value}" }, paddingVertical: { value: "{space.xxs.value}" }, paddingHorizontal: { value: "{space.xs.value}" } }, large: { fontSize: { value: "{fontSizes.medium.value}" }, paddingVertical: { value: "{space.small.value}" }, paddingHorizontal: { value: "{space.medium.value}" } } };
7578
+ var Io = c((mi, Do) => {
7579
+ e();
7580
+ Do.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: 1 }, fontWeight: { value: "{fontWeights.semibold.value}" }, fontSize: { value: "{fontSizes.small.value}" }, textAlign: { value: "center" }, paddingVertical: { value: "{space.xs.value}" }, paddingHorizontal: { value: "{space.small.value}" }, backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "{radii.xl.value}" }, info: { color: { value: "{colors.font.info.value}" }, backgroundColor: { value: "{colors.background.info.value}" } }, warning: { color: { value: "{colors.font.warning.value}" }, backgroundColor: { value: "{colors.background.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" }, backgroundColor: { value: "{colors.background.success.value}" } }, error: { color: { value: "{colors.font.error.value}" }, backgroundColor: { value: "{colors.background.error.value}" } }, small: { fontSize: { value: "{fontSizes.xs.value}" }, paddingVertical: { value: "{space.xxs.value}" }, paddingHorizontal: { value: "{space.xs.value}" } }, large: { fontSize: { value: "{fontSizes.medium.value}" }, paddingVertical: { value: "{space.small.value}" }, paddingHorizontal: { value: "{space.medium.value}" } } };
7577
7581
  });
7578
- var ko = d((Mn, xo) => {
7579
- r();
7580
- xo.exports = { fontWeight: { value: "{fontWeights.bold.value}" }, transitionDuration: { value: "{components.fieldcontrol.transitionDuration.value}" }, fontSize: { value: "{components.fieldcontrol.fontSize.value}" }, lineHeight: { value: "{components.fieldcontrol.lineHeight.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.paddingInlineEnd.value}" }, borderColor: { value: "{components.fieldcontrol.borderColor.value}" }, borderWidth: { value: "{components.fieldcontrol.borderWidth.value}" }, borderStyle: { value: "{components.fieldcontrol.borderStyle.value}" }, borderRadius: { value: "{components.fieldcontrol.borderRadius.value}" }, color: { value: "{colors.font.primary.value}" }, _hover: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.brand.primary.60.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { color: { value: "{colors.font.active.value}" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, borderColor: { value: "{colors.brand.primary.100.value}" } }, _loading: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, primary: { borderColor: { value: "transparent" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, backgroundColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.font.inverse.value}" }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.100.value}" }, color: { value: "{colors.font.inverse.value}" } } }, menu: { borderWidth: { value: 0 }, backgroundColor: { value: "transparent" }, justifyContent: { value: "start" }, _hover: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _focus: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _active: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.90.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } } }, link: { borderWidth: { value: 0 }, borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.interactive.value}" }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.hover.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, color: { value: "{colors.font.active.value}" } }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } } }, small: { fontSize: { value: "{components.fieldcontrol.small.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.small.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.small.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.small.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.small.paddingInlineEnd.value}" } }, large: { fontSize: { value: "{components.fieldcontrol.large.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.large.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.large.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.large.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.large.paddingInlineEnd.value}" } }, loaderWrapper: { alignItems: { value: "center" }, gap: { value: "{space.xs.value}" } } };
7582
+ var Po = c((vi, Eo) => {
7583
+ e();
7584
+ Eo.exports = { fontWeight: { value: "{fontWeights.bold.value}" }, transitionDuration: { value: "{components.fieldcontrol.transitionDuration.value}" }, fontSize: { value: "{components.fieldcontrol.fontSize.value}" }, lineHeight: { value: "{components.fieldcontrol.lineHeight.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.paddingInlineEnd.value}" }, borderColor: { value: "{components.fieldcontrol.borderColor.value}" }, borderWidth: { value: "{components.fieldcontrol.borderWidth.value}" }, borderStyle: { value: "{components.fieldcontrol.borderStyle.value}" }, borderRadius: { value: "{components.fieldcontrol.borderRadius.value}" }, color: { value: "{colors.font.primary.value}" }, _hover: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.brand.primary.60.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { color: { value: "{colors.font.active.value}" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, borderColor: { value: "{colors.brand.primary.100.value}" } }, _loading: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } }, primary: { borderColor: { value: "transparent" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, backgroundColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.font.inverse.value}" }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.background.disabled.value}" }, color: { value: "{colors.font.disabled.value}" } }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.90.value}" }, color: { value: "{colors.font.inverse.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.100.value}" }, color: { value: "{colors.font.inverse.value}" } } }, menu: { borderWidth: { value: 0 }, backgroundColor: { value: "transparent" }, justifyContent: { value: "start" }, _hover: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _focus: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.80.value}" } }, _active: { color: { value: "{colors.font.inverse.value}" }, backgroundColor: { value: "{colors.brand.primary.90.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } } }, link: { borderWidth: { value: 0 }, borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.interactive.value}" }, _hover: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.hover.value}" } }, _focus: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.10.value}" }, color: { value: "{colors.font.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _active: { borderColor: { value: "transparent" }, backgroundColor: { value: "{colors.brand.primary.20.value}" }, color: { value: "{colors.font.active.value}" } }, _disabled: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } }, _loading: { borderColor: { value: "transparent" }, backgroundColor: { value: "transparent" }, color: { value: "{colors.font.disabled.value}" } } }, small: { fontSize: { value: "{components.fieldcontrol.small.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.small.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.small.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.small.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.small.paddingInlineEnd.value}" } }, large: { fontSize: { value: "{components.fieldcontrol.large.fontSize.value}" }, paddingBlockStart: { value: "{components.fieldcontrol.large.paddingBlockStart.value}" }, paddingBlockEnd: { value: "{components.fieldcontrol.large.paddingBlockEnd.value}" }, paddingInlineStart: { value: "{components.fieldcontrol.large.paddingInlineStart.value}" }, paddingInlineEnd: { value: "{components.fieldcontrol.large.paddingInlineEnd.value}" } }, loaderWrapper: { alignItems: { value: "center" }, gap: { value: "{space.xs.value}" } } };
7581
7585
  });
7582
- var To = d((Gn, wo) => {
7583
- r();
7584
- wo.exports = { backgroundColor: { value: "{colors.background.primary.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" }, padding: { value: "{space.medium.value}" }, outlined: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, boxShadow: { value: "{components.card.boxShadow.value}" } }, elevated: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "{shadows.medium.value}" } } };
7586
+ var Wo = c((pi, Ro) => {
7587
+ e();
7588
+ Ro.exports = { backgroundColor: { value: "{colors.background.primary.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" }, padding: { value: "{space.medium.value}" }, outlined: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, boxShadow: { value: "{components.card.boxShadow.value}" } }, elevated: { backgroundColor: { value: "{components.card.backgroundColor.value}" }, borderRadius: { value: "{radii.xs.value}" }, borderWidth: { value: "0" }, borderStyle: { value: "solid" }, borderColor: { value: "transparent" }, boxShadow: { value: "{shadows.medium.value}" } } };
7585
7589
  });
7586
- var Do = d((Hn, Ao) => {
7587
- r();
7588
- Ao.exports = { cursor: { value: "pointer" }, alignItems: { value: "center" }, _disabled: { cursor: { value: "not-allowed" } }, button: { position: { value: "relative" }, alignItems: { value: "center" }, justifyContent: { value: "center" }, color: { value: "{colors.white.value}" }, before: { width: { value: "100%" }, height: { value: "100%" }, borderWidth: { value: "{borderWidths.medium.value}" }, borderRadius: { value: "20%" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" } }, _focus: { outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.focus.value}" } } }, _disabled: { borderColor: { value: "{colors.border.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.error.value}" } } } } }, icon: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "20%" }, opacity: { value: "{opacities.0.value}" }, transform: { value: "scale(0)" }, transitionProperty: { value: "all" }, transitionDuration: { value: "{time.short.value}" }, transitionTimingFunction: { value: "ease-in-out" }, _checked: { opacity: { value: "{opacities.100.value}" }, transform: { value: "scale(1)" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } } }, label: { _disabled: { color: { value: "{colors.font.disabled.value}" } } } };
7590
+ var Uo = c((gi, Vo) => {
7591
+ e();
7592
+ Vo.exports = { cursor: { value: "pointer" }, alignItems: { value: "center" }, _disabled: { cursor: { value: "not-allowed" } }, button: { position: { value: "relative" }, alignItems: { value: "center" }, justifyContent: { value: "center" }, color: { value: "{colors.white.value}" }, before: { width: { value: "100%" }, height: { value: "100%" }, borderWidth: { value: "{borderWidths.medium.value}" }, borderRadius: { value: "20%" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" } }, _focus: { outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.focus.value}" } } }, _disabled: { borderColor: { value: "{colors.border.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { borderColor: { value: "{colors.transparent.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "2px", color: "{colors.border.error.value}" } } } } }, icon: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "20%" }, opacity: { value: "{opacities.0.value}" }, transform: { value: "scale(0)" }, transitionProperty: { value: "all" }, transitionDuration: { value: "{time.short.value}" }, transitionTimingFunction: { value: "ease-in-out" }, _checked: { opacity: { value: "{opacities.100.value}" }, transform: { value: "scale(1)" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } } }, label: { _disabled: { color: { value: "{colors.font.disabled.value}" } } } };
7589
7593
  });
7590
- var Eo = d((Ln, Io) => {
7591
- r();
7592
- Io.exports = { alignItems: { value: "flex-start" }, alignContent: { value: "center" }, flexDirection: { value: "column" }, justifyContent: { value: "center" } };
7594
+ var Fo = c((fi, _o) => {
7595
+ e();
7596
+ _o.exports = { alignItems: { value: "flex-start" }, alignContent: { value: "center" }, flexDirection: { value: "column" }, justifyContent: { value: "center" } };
7593
7597
  });
7594
- var Ro = d((qn, Po) => {
7595
- r();
7596
- Po.exports = { height: { value: "100%" } };
7598
+ var Oo = c((hi, No) => {
7599
+ e();
7600
+ No.exports = { fontSize: { value: "{font.sizes.xs.value}" }, gap: { value: "{space.relative.medium.value}" }, svg: { path: { fill: { value: "{colors.font.primary}" } } }, toolTip: { bottom: { value: "{space.large}" }, color: { value: "{colors.teal.100}" }, fontSize: { value: "{font.sizes.xxs}" } } };
7597
7601
  });
7598
- var Vo = d((jn, Wo) => {
7599
- r();
7600
- Wo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.medium.value}" }, small: { borderWidth: { value: "{borderWidths.small.value}" } }, large: { borderWidth: { value: "{borderWidths.large.value}" } }, opacity: { value: "{opacities.60.value}" } };
7602
+ var Mo = c((bi, zo) => {
7603
+ e();
7604
+ zo.exports = { height: { value: "100%" } };
7601
7605
  });
7602
- var Uo = d((Kn, _o) => {
7603
- r();
7604
- _o.exports = { display: { value: "block" }, backgroundColor: { value: "{colors.white.value}" }, borderRadius: { value: "{radii.medium.value}" }, boxShadow: { value: "{shadows.large.value}" }, width: { value: "100%" }, item: { marginTop: { value: "1px" }, boxShadow: { value: "{shadows.small.value}" }, borderBottomLeftRadius: { value: "{radii.medium.value}" }, borderBottomRightRadius: { value: "{radii.medium.value}" }, borderTopLeftRadius: { value: "{radii.medium.value}" }, borderTopRightRadius: { value: "{radii.medium.value}" }, borderStartStartRadius: { value: "{radii.medium.value}" }, borderStartEndRadius: { value: "{radii.medium.value}" }, borderEndStartRadius: { value: "{radii.medium.value}" }, borderEndEndRadius: { value: "{radii.medium.value}" }, _focus: { boxShadow: { value: { offsetX: "0", offsetY: "0", blurRadius: "0", spreadRadius: "2px", color: "{colors.border.focus.value}" } } } }, header: { boxShadow: { value: { offsetX: "0", offsetY: "1px", blurRadius: "0", color: "{colors.overlay.20.value}" } } }, trigger: { minHeight: { value: "3rem" }, paddingInlineStart: { value: "{space.large.value}" }, paddingInlineEnd: { value: "{space.large.value}" }, alignItems: { value: "center" }, justifyContent: { value: "space-between" }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" } } }, content: { paddingInlineStart: { value: "{space.large.value}" }, paddingInlineEnd: { value: "{space.large.value}" }, text: { color: { value: "{colors.font.secondary.value}" }, paddingBlockStart: { value: "{space.medium.value}" }, paddingBlockEnd: { value: "{space.medium.value}" } }, _open: { animationDuration: { value: "{time.medium.value}" }, animationTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } }, _closed: { animationDuration: { value: "{time.medium.value}" }, animationTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } } }, icon: { transitionDuration: { value: "{time.medium.value}" }, transitionTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } } };
7606
+ var Go = c((Si, Bo) => {
7607
+ e();
7608
+ Bo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.medium.value}" }, label: { color: { value: "{colors.font.tertiary.value}" }, paddingInline: { value: "{space.medium.value}" }, fontSize: { value: "{fontSizes.small.value}" }, backgroundColor: { value: "{colors.background.primary.value}" } }, small: { borderWidth: { value: "{borderWidths.small.value}" } }, large: { borderWidth: { value: "{borderWidths.large.value}" } }, opacity: { value: "{opacities.60.value}" } };
7605
7609
  });
7606
- var Oo = d(($n, No) => {
7607
- r();
7608
- No.exports = { gap: { value: "{space.xs.value}" }, fontSize: { value: "{fontSizes.medium.value}" }, small: { gap: { value: "{space.xxxs.value}" }, fontSize: { value: "{fontSizes.small.value}" } }, large: { gap: { value: "{space.small.value}" }, fontSize: { value: "{fontSizes.large.value}" } }, label: { color: { value: "{colors.font.secondary.value}" } } };
7610
+ var Ho = c((yi, Lo) => {
7611
+ e();
7612
+ Lo.exports = { display: { value: "block" }, backgroundColor: { value: "{colors.white.value}" }, borderRadius: { value: "{radii.medium.value}" }, boxShadow: { value: "{shadows.large.value}" }, width: { value: "100%" }, item: { marginTop: { value: "1px" }, boxShadow: { value: "{shadows.small.value}" }, borderBottomLeftRadius: { value: "{radii.medium.value}" }, borderBottomRightRadius: { value: "{radii.medium.value}" }, borderTopLeftRadius: { value: "{radii.medium.value}" }, borderTopRightRadius: { value: "{radii.medium.value}" }, borderStartStartRadius: { value: "{radii.medium.value}" }, borderStartEndRadius: { value: "{radii.medium.value}" }, borderEndStartRadius: { value: "{radii.medium.value}" }, borderEndEndRadius: { value: "{radii.medium.value}" }, _focus: { boxShadow: { value: { offsetX: "0", offsetY: "0", blurRadius: "0", spreadRadius: "2px", color: "{colors.border.focus.value}" } } } }, header: { boxShadow: { value: { offsetX: "0", offsetY: "1px", blurRadius: "0", color: "{colors.overlay.20.value}" } } }, trigger: { minHeight: { value: "3rem" }, paddingInlineStart: { value: "{space.large.value}" }, paddingInlineEnd: { value: "{space.large.value}" }, alignItems: { value: "center" }, justifyContent: { value: "space-between" }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" } } }, content: { paddingInlineStart: { value: "{space.large.value}" }, paddingInlineEnd: { value: "{space.large.value}" }, text: { color: { value: "{colors.font.secondary.value}" }, paddingBlockStart: { value: "{space.medium.value}" }, paddingBlockEnd: { value: "{space.medium.value}" } }, _open: { animationDuration: { value: "{time.medium.value}" }, animationTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } }, _closed: { animationDuration: { value: "{time.medium.value}" }, animationTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } } }, icon: { transitionDuration: { value: "{time.medium.value}" }, transitionTimingFunction: { value: "cubic-bezier(0.87, 0, 0.13, 1)" } } };
7609
7613
  });
7610
- var zo = d((Yn, Fo) => {
7611
- r();
7612
- Fo.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}" } } } } };
7614
+ var jo = c((Ci, qo) => {
7615
+ e();
7616
+ qo.exports = { gap: { value: "{space.xs.value}" }, fontSize: { value: "{fontSizes.medium.value}" }, small: { gap: { value: "{space.xxxs.value}" }, fontSize: { value: "{fontSizes.small.value}" } }, large: { gap: { value: "{space.small.value}" }, fontSize: { value: "{fontSizes.large.value}" } }, label: { color: { value: "{colors.font.secondary.value}" } } };
7613
7617
  });
7614
- var Mo = d((Xn, Bo) => {
7615
- r();
7616
- Bo.exports = { gap: { value: 0 }, vertical: { alignItems: { value: "center" } }, outer: { alignItems: { value: "center" } } };
7618
+ var Yo = c((ki, Ko) => {
7619
+ e();
7620
+ Ko.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}" } } } } };
7617
7621
  });
7618
- var Ho = d((Zn, Go) => {
7619
- r();
7620
- Go.exports = { error: { color: { value: "{colors.font.error.value}" }, fontSize: { value: "{fontSizes.small.value}" } }, description: { color: { value: "{colors.font.secondary.value}" }, fontStyle: { value: "italic" }, fontSize: { value: "{fontSizes.small.value}" } } };
7622
+ var Xo = c((xi, $o) => {
7623
+ e();
7624
+ $o.exports = { gap: { value: 0 }, vertical: { alignItems: { value: "center" } }, outer: { alignItems: { value: "center" } } };
7621
7625
  });
7622
- var qo = d((Qn, Lo) => {
7623
- r();
7624
- Lo.exports = { gap: { value: "{space.medium.value}" }, justifyContent: { value: "normal" }, alignItems: { value: "stretch" }, alignContent: { value: "normal" }, flexWrap: { value: "nowrap" } };
7626
+ var Qo = c((wi, Zo) => {
7627
+ e();
7628
+ Zo.exports = { error: { color: { value: "{colors.font.error.value}" }, fontSize: { value: "{fontSizes.small.value}" } }, description: { color: { value: "{colors.font.secondary.value}" }, fontStyle: { value: "italic" }, fontSize: { value: "{fontSizes.small.value}" } } };
7625
7629
  });
7626
- var Ko = d((Jn, jo) => {
7627
- r();
7628
- jo.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}" } } };
7630
+ var er = c((Ai, Jo) => {
7631
+ e();
7632
+ Jo.exports = { gap: { value: "{space.medium.value}" }, justifyContent: { value: "normal" }, alignItems: { value: "stretch" }, alignContent: { value: "normal" }, flexWrap: { value: "nowrap" } };
7629
7633
  });
7630
- var Yo = d((ei, $o) => {
7631
- r();
7632
- $o.exports = { lineHeight: { value: 1 }, height: { value: "1em" } };
7634
+ var rr = c((Ti, or) => {
7635
+ e();
7636
+ or.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}" } } };
7633
7637
  });
7634
- var Zo = d((oi, Xo) => {
7635
- r();
7636
- Xo.exports = { maxWidth: { value: "100%" }, height: { value: "auto" }, objectFit: { value: "initial" }, objectPosition: { value: "initial" } };
7638
+ var tr = c((Di, ar) => {
7639
+ e();
7640
+ ar.exports = { lineHeight: { value: 1 }, height: { value: "1em" } };
7637
7641
  });
7638
- var Jo = d((ri, Qo) => {
7639
- r();
7640
- Qo.exports = { active: { color: { value: "{colors.font.active.value}" } }, color: { value: "{colors.font.interactive.value}" }, focus: { color: { value: "{colors.font.focus.value}" } }, hover: { color: { value: "{colors.font.hover.value}" } }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } }, visited: { color: { value: "{colors.font.interactive.value}" } } };
7642
+ var ir = c((Ii, nr) => {
7643
+ e();
7644
+ nr.exports = { maxWidth: { value: "100%" }, height: { value: "auto" }, objectFit: { value: "initial" }, objectPosition: { value: "initial" } };
7641
7645
  });
7642
- var or = d((ai, er) => {
7643
- r();
7644
- er.exports = { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { width: { value: "{fontSizes.small.value}" }, height: { value: "{fontSizes.small.value}" } }, large: { width: { value: "{fontSizes.large.value}" }, height: { value: "{fontSizes.large.value}" } }, linear: { width: { value: "100%" }, minWidth: { value: "5rem" }, height: { value: "{fontSizes.medium.value}" }, strokeWidth: { value: "{fontSizes.medium.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { height: { value: "{fontSizes.small.value}" }, strokeWidth: { value: "{fontSizes.small.value}" } }, large: { height: { value: "{fontSizes.large.value}" }, strokeWidth: { value: "{fontSizes.large.value}" } } } };
7646
+ var lr = c((Ei, sr) => {
7647
+ e();
7648
+ sr.exports = { active: { color: { value: "{colors.font.active.value}" } }, color: { value: "{colors.font.interactive.value}" }, focus: { color: { value: "{colors.font.focus.value}" } }, hover: { color: { value: "{colors.font.hover.value}" } }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } }, visited: { color: { value: "{colors.font.interactive.value}" } } };
7645
7649
  });
7646
- var ar = d((ti, rr) => {
7647
- r();
7648
- rr.exports = { backgroundColor: { value: "{colors.white.value}" }, borderRadius: { value: "{radii.medium.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, boxShadow: { value: "{shadows.large.value}" }, flexDirection: { value: "column" }, gap: { value: 0 }, maxWidth: { value: "30rem" }, minWidth: { value: "14rem" }, small: { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" } }, large: { width: { value: "{fontSizes.xxxl.value}" }, height: { value: "{fontSizes.xxxl.value}" } }, item: { minHeight: { value: "2.5rem" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } } };
7650
+ var dr = c((Pi, ur) => {
7651
+ e();
7652
+ ur.exports = { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { width: { value: "{fontSizes.small.value}" }, height: { value: "{fontSizes.small.value}" } }, large: { width: { value: "{fontSizes.large.value}" }, height: { value: "{fontSizes.large.value}" } }, linear: { width: { value: "100%" }, minWidth: { value: "5rem" }, height: { value: "{fontSizes.medium.value}" }, strokeWidth: { value: "{fontSizes.medium.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { height: { value: "{fontSizes.small.value}" }, strokeWidth: { value: "{fontSizes.small.value}" } }, large: { height: { value: "{fontSizes.large.value}" }, strokeWidth: { value: "{fontSizes.large.value}" } } } };
7649
7653
  });
7650
- var nr = d((ni, tr) => {
7651
- r();
7652
- tr.exports = { current: { alignItems: { value: "center" }, justifyContent: { value: "center" }, color: { value: "{colors.white.value}" }, fontSize: { value: "{fontSizes.small.value}" }, backgroundColor: { value: "{colors.overlay.40.value}" } }, button: { color: { value: "{colors.font.primary.value}" }, paddingInlineStart: { value: "{space.xxs.value}" }, paddingInlineEnd: { value: "{space.xxs.value}" }, transitionProperty: { value: "background-color" }, transitionDuration: { value: "{time.medium.value}" }, hover: { backgroundColor: { value: "{colors.overlay.10.value}" }, color: { value: "{colors.font.primary.value}" } }, disabled: { color: { value: "{colors.font.disabled.value}" } } }, ellipsis: { alignItems: { value: "baseline" }, justifyContent: { value: "center" }, paddingInlineStart: { value: "{space.xs.value}" }, paddingInlineEnd: { value: "{space.xs.value}" } }, itemContainer: { marginLeft: { value: "{space.xxxs.value}" }, marginRight: { value: "{space.xxxs.value}" } }, itemShared: { height: { value: "{fontSizes.xxl.value}" }, minWidth: { value: "{fontSizes.xxl.value}" }, borderRadius: { value: "{fontSizes.medium.value}" } } };
7654
+ var mr = c((Ri, cr) => {
7655
+ e();
7656
+ cr.exports = { backgroundColor: { value: "{colors.white.value}" }, borderRadius: { value: "{radii.medium.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, boxShadow: { value: "{shadows.large.value}" }, flexDirection: { value: "column" }, gap: { value: 0 }, maxWidth: { value: "30rem" }, minWidth: { value: "14rem" }, small: { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" } }, large: { width: { value: "{fontSizes.xxxl.value}" }, height: { value: "{fontSizes.xxxl.value}" } }, item: { minHeight: { value: "2.5rem" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } } };
7653
7657
  });
7654
- var sr = d((ii, ir) => {
7655
- r();
7656
- ir.exports = {};
7658
+ var pr = c((Wi, vr) => {
7659
+ e();
7660
+ vr.exports = { current: { alignItems: { value: "center" }, justifyContent: { value: "center" }, color: { value: "{colors.white.value}" }, fontSize: { value: "{fontSizes.small.value}" }, backgroundColor: { value: "{colors.overlay.40.value}" } }, button: { color: { value: "{colors.font.primary.value}" }, paddingInlineStart: { value: "{space.xxs.value}" }, paddingInlineEnd: { value: "{space.xxs.value}" }, transitionProperty: { value: "background-color" }, transitionDuration: { value: "{time.medium.value}" }, hover: { backgroundColor: { value: "{colors.overlay.10.value}" }, color: { value: "{colors.font.primary.value}" } }, disabled: { color: { value: "{colors.font.disabled.value}" } } }, ellipsis: { alignItems: { value: "baseline" }, justifyContent: { value: "center" }, paddingInlineStart: { value: "{space.xs.value}" }, paddingInlineEnd: { value: "{space.xs.value}" } }, itemContainer: { marginLeft: { value: "{space.xxxs.value}" }, marginRight: { value: "{space.xxxs.value}" } }, itemShared: { height: { value: "{fontSizes.xxl.value}" }, minWidth: { value: "{fontSizes.xxl.value}" }, borderRadius: { value: "{fontSizes.medium.value}" } } };
7657
7661
  });
7658
- var ur = d((si, lr) => {
7659
- r();
7660
- lr.exports = { borderRadius: { value: "{radii.small.value}" }, transitionDuration: { value: "{time.long.value}" }, startColor: { value: "{colors.background.secondary.value}" }, endColor: { value: "{colors.background.tertiary.value}" }, small: { height: { value: "{space.small.value}" } }, default: { height: { value: "{space.medium.value}" } }, large: { height: { value: "{space.large.value}" } } };
7662
+ var fr = c((Vi, gr) => {
7663
+ e();
7664
+ gr.exports = {};
7661
7665
  });
7662
- var cr = d((li, dr) => {
7663
- r();
7664
- dr.exports = { alignItems: { value: "center" }, justifyContent: { value: "flex-start" }, gap: { value: "inherit" }, _disabled: { cursor: { value: "not-allowed" } }, button: { alignItems: { value: "center" }, justifyContent: { value: "center" }, width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" }, boxSizing: { value: "border-box" }, borderWidth: { value: "{borderWidths.medium.value}" }, borderStyle: { value: "solid" }, borderRadius: { value: "50%" }, borderColor: { value: "{colors.border.primary.value}" }, color: { value: "{colors.white.value}" }, backgroundColor: { value: "{colors.white.value}" }, transitionProperty: { value: "all" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, padding: { value: "{borderWidths.medium.value}" }, small: { width: { value: "{fontSizes.small.value}" }, height: { value: "{fontSizes.small.value}" } }, large: { width: { value: "{fontSizes.large.value}" }, height: { value: "{fontSizes.large.value}" } }, _checked: { color: { value: "{colors.brand.primary.80.value}" }, _disabled: { color: { value: "{colors.background.disabled.value}" } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: "{components.fieldcontrol._error._focus.boxShadow.value}" } } }, _disabled: { borderColor: { value: "{colors.border.disabled.value}" }, backgroundColor: { value: "{colors.background.primary.value}" } } }, label: { _disabled: { color: { value: "{colors.font.disabled.value}" } } } };
7666
+ var br = c((Ui, hr) => {
7667
+ e();
7668
+ hr.exports = { borderRadius: { value: "{radii.small.value}" }, transitionDuration: { value: "{time.long.value}" }, startColor: { value: "{colors.background.secondary.value}" }, endColor: { value: "{colors.background.tertiary.value}" }, small: { height: { value: "{space.small.value}" } }, default: { height: { value: "{space.medium.value}" } }, large: { height: { value: "{space.large.value}" } } };
7665
7669
  });
7666
- var vr = d((ui, mr) => {
7667
- r();
7668
- mr.exports = { large: { size: { value: "{fontSizes.xxxl.value}" } }, default: { size: { value: "{fontSizes.xl.value}" } }, small: { size: { value: "{fontSizes.small.value}" } }, filled: { color: { value: "{colors.brand.secondary.80.value}" } }, empty: { color: { value: "{colors.background.tertiary.value}" } } };
7670
+ var yr = c((_i, Sr) => {
7671
+ e();
7672
+ Sr.exports = { alignItems: { value: "center" }, justifyContent: { value: "flex-start" }, gap: { value: "inherit" }, _disabled: { cursor: { value: "not-allowed" } }, button: { alignItems: { value: "center" }, justifyContent: { value: "center" }, width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" }, boxSizing: { value: "border-box" }, borderWidth: { value: "{borderWidths.medium.value}" }, borderStyle: { value: "solid" }, borderRadius: { value: "50%" }, borderColor: { value: "{colors.border.primary.value}" }, color: { value: "{colors.white.value}" }, backgroundColor: { value: "{colors.white.value}" }, transitionProperty: { value: "all" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, padding: { value: "{borderWidths.medium.value}" }, small: { width: { value: "{fontSizes.small.value}" }, height: { value: "{fontSizes.small.value}" } }, large: { width: { value: "{fontSizes.large.value}" }, height: { value: "{fontSizes.large.value}" } }, _checked: { color: { value: "{colors.brand.primary.80.value}" }, _disabled: { color: { value: "{colors.background.disabled.value}" } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: "{components.fieldcontrol._error._focus.boxShadow.value}" } } }, _disabled: { borderColor: { value: "{colors.border.disabled.value}" }, backgroundColor: { value: "{colors.background.primary.value}" } } }, label: { _disabled: { color: { value: "{colors.font.disabled.value}" } } } };
7669
7673
  });
7670
- var gr = d((di, pr) => {
7671
- r();
7672
- pr.exports = { paddingInlineEnd: { value: "{space.xxl.value}" }, wrapper: { flex: { value: "1" }, display: { value: "block" }, position: { value: "relative" }, cursor: { value: "pointer" } }, iconWrapper: { alignItems: { value: "center" }, position: { value: "absolute" }, top: { value: "50%" }, right: { value: "{space.medium.value}" }, transform: { value: "translateY(-50%)" }, pointerEvents: { value: "none" } }, option: { backgroundColor: { value: "{colors.background.primary.value}" } }, whiteSpace: { value: "nowrap" }, minWidth: { value: "6.5rem" }, small: { minWidth: { value: "5.5rem" } }, large: { minWidth: { value: "7.5rem" } } };
7674
+ var kr = c((Fi, Cr) => {
7675
+ e();
7676
+ Cr.exports = { large: { size: { value: "{fontSizes.xxxl.value}" } }, default: { size: { value: "{fontSizes.xl.value}" } }, small: { size: { value: "{fontSizes.small.value}" } }, filled: { color: { value: "{colors.brand.secondary.80.value}" } }, empty: { color: { value: "{colors.background.tertiary.value}" } } };
7673
7677
  });
7674
- var hr = d((ci, fr) => {
7675
- r();
7676
- fr.exports = { flexDirection: { value: "column" } };
7678
+ var wr = c((Ni, xr) => {
7679
+ e();
7680
+ xr.exports = { paddingInlineEnd: { value: "{space.xxl.value}" }, wrapper: { flex: { value: "1" }, display: { value: "block" }, position: { value: "relative" }, cursor: { value: "pointer" } }, iconWrapper: { alignItems: { value: "center" }, position: { value: "absolute" }, top: { value: "50%" }, right: { value: "{space.medium.value}" }, transform: { value: "translateY(-50%)" }, pointerEvents: { value: "none" } }, option: { backgroundColor: { value: "{colors.background.primary.value}" } }, whiteSpace: { value: "nowrap" }, minWidth: { value: "6.5rem" }, small: { minWidth: { value: "5.5rem" } }, large: { minWidth: { value: "7.5rem" } } };
7677
7681
  });
7678
- var Sr = d((mi, br) => {
7679
- r();
7680
- br.exports = { paddingBlock: { value: "{space.xs.value}" }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "9999px" }, height: { value: "0.375rem" }, minWidth: { value: "10rem" } }, range: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "9999px" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } }, thumb: { width: { value: "1.25rem" }, height: { value: "1.25rem" }, backgroundColor: { value: "{colors.background.primary.value}" }, boxShadow: { value: "{shadows.small.value}" }, borderRadius: { value: "50%" }, borderWidth: { value: "{borderWidths.small.value}" }, borderColor: { value: "{colors.border.primary.value}" }, borderStyle: { value: "solid" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" } }, _hover: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _focus: { boxShadow: { value: { offsetX: "0", offsetY: "0", blurRadius: "0", spreadRadius: "3px", color: "{colors.border.focus.value}" } } } }, small: { track: { height: { value: "0.25rem" } }, thumb: { width: { value: "1rem" }, height: { value: "1rem" } } }, large: { track: { height: { value: "0.625rem" } }, thumb: { width: { value: "1.5rem" }, height: { value: "1.5rem" } } } };
7682
+ var Tr = c((Oi, Ar) => {
7683
+ e();
7684
+ Ar.exports = { flexDirection: { value: "column" } };
7681
7685
  });
7682
- var Cr = d((vi, yr) => {
7683
- r();
7684
- yr.exports = { flexDirection: { value: "column" }, input: { textAlign: { value: "center" } } };
7686
+ var Ir = c((zi, Dr) => {
7687
+ e();
7688
+ Dr.exports = { paddingBlock: { value: "{space.xs.value}" }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "9999px" }, height: { value: "0.375rem" }, minWidth: { value: "10rem" } }, range: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderRadius: { value: "9999px" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" } } }, thumb: { width: { value: "1.25rem" }, height: { value: "1.25rem" }, backgroundColor: { value: "{colors.background.primary.value}" }, boxShadow: { value: "{shadows.small.value}" }, borderRadius: { value: "50%" }, borderWidth: { value: "{borderWidths.small.value}" }, borderColor: { value: "{colors.border.primary.value}" }, borderStyle: { value: "solid" }, _disabled: { backgroundColor: { value: "{colors.background.disabled.value}" }, borderColor: { value: "transparent" }, boxShadow: { value: "none" } }, _hover: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _focus: { boxShadow: { value: { offsetX: "0", offsetY: "0", blurRadius: "0", spreadRadius: "3px", color: "{colors.border.focus.value}" } } } }, small: { track: { height: { value: "0.25rem" } }, thumb: { width: { value: "1rem" }, height: { value: "1rem" } } }, large: { track: { height: { value: "0.625rem" } }, thumb: { width: { value: "1.5rem" }, height: { value: "1.5rem" } } } };
7685
7689
  });
7686
- var kr = d((pi, xr) => {
7687
- r();
7688
- xr.exports = { disabled: { opacity: { value: "{opacities.60.value}" } }, focused: { shadow: { value: "{shadows.small.value}" } }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } }, label: { padding: { value: "{space.xs.value}" } }, thumb: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { transform: { value: "{transforms.slideX.medium.value}" } }, transition: { duration: { value: "{time.medium.value}" } }, width: { value: "{space.relative.medium.value}" } }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { backgroundColor: { value: "{colors.brand.primary.60.value}" } }, height: { value: "{space.relative.medium.value}" }, padding: { value: "{outlineWidths.medium.value}" }, transition: { duration: { value: "{time.short.value}" } }, width: { value: "{space.relative.xl.value}" } } };
7690
+ var Pr = c((Mi, Er) => {
7691
+ e();
7692
+ Er.exports = { flexDirection: { value: "column" }, input: { textAlign: { value: "center" } } };
7689
7693
  });
7690
- var Tr = d((gi, wr) => {
7691
- r();
7692
- wr.exports = { borderCollapse: { value: "collapse" }, display: { value: "table" }, width: { value: "100%" }, head: { display: { value: "table-header-group" }, verticalAlign: { value: "middle" } }, body: { display: { value: "table-row-group" }, verticalAlign: { value: "middle" } }, foot: { display: { value: "table-footer-group" }, verticalAlign: { value: "middle" } }, row: { display: { value: "table-row" }, verticalAlign: { value: "middle" }, hover: { backgroundColor: { value: "{colors.background.tertiary.value}" } }, striped: { backgroundColor: { value: "{colors.background.secondary.value}" } } }, header: { borderColor: { value: "{colors.border.tertiary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.small.value}" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-cell" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" }, padding: { value: "{space.medium.value}" }, verticalAlign: { value: "middle" }, large: { fontSize: { value: "{fontSizes.large.value}" }, padding: { value: "{space.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" }, padding: { value: "{space.xs.value}" } } }, data: { borderColor: { value: "{colors.border.tertiary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.small.value}" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-cell" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.normal.value}" }, padding: { value: "{space.medium.value}" }, verticalAlign: { value: "middle" }, large: { fontSize: { value: "{fontSizes.large.value}" }, padding: { value: "{space.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" }, padding: { value: "{space.xs.value}" } } }, caption: { captionSide: { value: "bottom" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-caption" }, fontSize: { value: "{fontSizes.medium.value}" }, textAlign: { value: "center" }, wordBreak: { value: "break-all" }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } } } };
7694
+ var Wr = c((Bi, Rr) => {
7695
+ e();
7696
+ Rr.exports = { disabled: { opacity: { value: "{opacities.60.value}" } }, focused: { shadow: { value: "{shadows.small.value}" } }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } }, label: { padding: { value: "{space.xs.value}" } }, thumb: { backgroundColor: { value: "{colors.background.primary.value}" }, borderColor: { value: "{colors.border.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { transform: { value: "{transforms.slideX.medium.value}" } }, transition: { duration: { value: "{time.medium.value}" } }, width: { value: "{space.relative.medium.value}" } }, track: { backgroundColor: { value: "{colors.background.tertiary.value}" }, borderRadius: { value: "{radii.xxxl.value}" }, checked: { backgroundColor: { value: "{colors.brand.primary.60.value}" } }, height: { value: "{space.relative.medium.value}" }, padding: { value: "{outlineWidths.medium.value}" }, transition: { duration: { value: "{time.short.value}" } }, width: { value: "{space.relative.xl.value}" } } };
7693
7697
  });
7694
- var Dr = d((fi, Ar) => {
7695
- r();
7696
- Ar.exports = { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, gap: { value: "0" }, item: { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, color: { value: "{colors.font.secondary.value}" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" }, paddingVertical: { value: "{space.small.value}" }, paddingHorizontal: { value: "{space.medium.value}" }, textAlign: { value: "center" }, transitionDuration: { value: "{time.medium.value}" }, _hover: { color: { value: "{colors.font.hover.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" } }, _active: { color: { value: "{colors.font.interactive.value}" }, borderColor: { value: "{colors.font.interactive.value}" }, backgroundColor: { value: "transparent" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } } } };
7698
+ var Ur = c((Gi, Vr) => {
7699
+ e();
7700
+ Vr.exports = { borderCollapse: { value: "collapse" }, display: { value: "table" }, width: { value: "100%" }, head: { display: { value: "table-header-group" }, verticalAlign: { value: "middle" } }, body: { display: { value: "table-row-group" }, verticalAlign: { value: "middle" } }, foot: { display: { value: "table-footer-group" }, verticalAlign: { value: "middle" } }, row: { display: { value: "table-row" }, verticalAlign: { value: "middle" }, hover: { backgroundColor: { value: "{colors.background.tertiary.value}" } }, striped: { backgroundColor: { value: "{colors.background.secondary.value}" } } }, header: { borderColor: { value: "{colors.border.tertiary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.small.value}" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-cell" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" }, padding: { value: "{space.medium.value}" }, verticalAlign: { value: "middle" }, large: { fontSize: { value: "{fontSizes.large.value}" }, padding: { value: "{space.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" }, padding: { value: "{space.xs.value}" } } }, data: { borderColor: { value: "{colors.border.tertiary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.small.value}" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-cell" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.normal.value}" }, padding: { value: "{space.medium.value}" }, verticalAlign: { value: "middle" }, large: { fontSize: { value: "{fontSizes.large.value}" }, padding: { value: "{space.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" }, padding: { value: "{space.xs.value}" } } }, caption: { captionSide: { value: "bottom" }, color: { value: "{colors.font.primary.value}" }, display: { value: "table-caption" }, fontSize: { value: "{fontSizes.medium.value}" }, textAlign: { value: "center" }, wordBreak: { value: "break-all" }, large: { fontSize: { value: "{fontSizes.large.value}" } }, small: { fontSize: { value: "{fontSizes.small.value}" } } } };
7697
7701
  });
7698
- var Er = d((hi, Ir) => {
7699
- r();
7700
- Ir.exports = { color: { value: "{colors.font.primary.value}" }, primary: { color: { value: "{colors.font.primary.value}" } }, secondary: { color: { value: "{colors.font.secondary.value}" } }, tertiary: { color: { value: "{colors.font.tertiary.value}" } }, error: { color: { value: "{colors.font.error.value}" } }, warning: { color: { value: "{colors.font.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" } }, info: { color: { value: "{colors.font.info.value}" } } };
7702
+ var Fr = c((Li, _r) => {
7703
+ e();
7704
+ _r.exports = { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, gap: { value: "0" }, item: { backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.secondary.value}" }, borderStyle: { value: "solid" }, borderWidth: { value: "{borderWidths.medium.value}" }, color: { value: "{colors.font.secondary.value}" }, fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" }, paddingVertical: { value: "{space.small.value}" }, paddingHorizontal: { value: "{space.medium.value}" }, textAlign: { value: "center" }, transitionDuration: { value: "{time.medium.value}" }, _hover: { color: { value: "{colors.font.hover.value}" } }, _focus: { color: { value: "{colors.font.focus.value}" } }, _active: { color: { value: "{colors.font.interactive.value}" }, borderColor: { value: "{colors.font.interactive.value}" }, backgroundColor: { value: "transparent" } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, backgroundColor: { value: "transparent" }, borderColor: { value: "{colors.border.tertiary.value}" } } } };
7701
7705
  });
7702
- var Rr = d((bi, Pr) => {
7703
- r();
7704
- Pr.exports = { borderColor: { value: "{colors.border.primary.value}" }, color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, color: { value: "{colors.overlay.50.value}" } }, _active: { backgroundColor: { value: "{colors.transparent.value}" } }, _disabled: { backgroundColor: { value: "{colors.transparent.value}" }, borderColor: { value: "{colors.border.secondary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { color: { value: "{colors.font.primary.value}" }, backgroundColor: { value: "{colors.overlay.20.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.30.value}" } } }, primary: { backgroundColor: { value: "{colors.transparent.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, backgroundColor: { value: "{colors.transparent.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" }, color: { value: "{colors.overlay.50.value}" } }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { backgroundColor: { value: "{colors.background.tertiary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.white.value}" }, _focus: { backgroundColor: { value: "{colors.border.focus.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _hover: { borderColor: { value: "{colors.brand.primary.60.value}" }, backgroundColor: { value: "{colors.brand.primary.60.value}" } } } }, link: { color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _focus: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.90.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" } } } } };
7706
+ var Or = c((Hi, Nr) => {
7707
+ e();
7708
+ Nr.exports = { color: { value: "{colors.font.primary.value}" }, primary: { color: { value: "{colors.font.primary.value}" } }, secondary: { color: { value: "{colors.font.secondary.value}" } }, tertiary: { color: { value: "{colors.font.tertiary.value}" } }, error: { color: { value: "{colors.font.error.value}" } }, warning: { color: { value: "{colors.font.warning.value}" } }, success: { color: { value: "{colors.font.success.value}" } }, info: { color: { value: "{colors.font.info.value}" } } };
7705
7709
  });
7706
- var Vr = d((Si, Wr) => {
7707
- r();
7708
- Wr.exports = { alignItems: { value: "center" }, alignContent: { value: "center" }, justifyContent: { value: "flex-start" } };
7710
+ var Mr = c((qi, zr) => {
7711
+ e();
7712
+ zr.exports = { borderColor: { value: "{colors.border.primary.value}" }, color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, color: { value: "{colors.overlay.50.value}" } }, _active: { backgroundColor: { value: "{colors.transparent.value}" } }, _disabled: { backgroundColor: { value: "{colors.transparent.value}" }, borderColor: { value: "{colors.border.secondary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { color: { value: "{colors.font.primary.value}" }, backgroundColor: { value: "{colors.overlay.20.value}" }, _hover: { backgroundColor: { value: "{colors.overlay.30.value}" } } }, primary: { backgroundColor: { value: "{colors.transparent.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, backgroundColor: { value: "{colors.transparent.value}" }, boxShadow: { value: "{components.fieldcontrol._focus.boxShadow.value}" }, color: { value: "{colors.overlay.50.value}" } }, _hover: { backgroundColor: { value: "{colors.overlay.10.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { backgroundColor: { value: "{colors.background.tertiary.value}" }, color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.brand.primary.80.value}" }, borderColor: { value: "{colors.brand.primary.80.value}" }, color: { value: "{colors.white.value}" }, _focus: { backgroundColor: { value: "{colors.border.focus.value}" }, borderColor: { value: "{colors.border.focus.value}" } }, _hover: { borderColor: { value: "{colors.brand.primary.60.value}" }, backgroundColor: { value: "{colors.brand.primary.60.value}" } } } }, link: { color: { value: "{colors.overlay.50.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _focus: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.50.value}" } }, _disabled: { color: { value: "{colors.font.disabled.value}" } }, _pressed: { backgroundColor: { value: "{colors.transparent.value}" }, color: { value: "{colors.overlay.90.value}" }, _hover: { backgroundColor: { value: "{colors.transparent.value}" } } } } };
7709
7713
  });
7710
- var Ur = d((yi, _r) => {
7711
- r();
7712
- _r.exports = { alert: So(), badge: Co(), button: ko(), card: To(), checkbox: Do(), checkboxfield: Eo(), countrycodeselect: Ro(), divider: Vo(), expander: Uo(), field: Oo(), fieldcontrol: zo(), fieldgroup: Mo(), fieldmessages: Ho(), flex: qo(), heading: Ko(), icon: Yo(), image: Zo(), link: Jo(), loader: or(), menu: ar(), pagination: nr(), phonenumberfield: sr(), placeholder: ur(), radio: cr(), rating: vr(), select: gr(), selectfield: hr(), sliderfield: Sr(), stepperfield: Cr(), switchfield: kr(), table: Tr(), tabs: Dr(), text: Er(), togglebutton: Rr(), togglebuttongroup: Vr() };
7714
+ var Gr = c((ji, Br) => {
7715
+ e();
7716
+ Br.exports = { alignItems: { value: "center" }, alignContent: { value: "center" }, justifyContent: { value: "flex-start" } };
7713
7717
  });
7714
- r();
7715
- r();
7716
- r();
7717
- r();
7718
- r();
7719
- var x = ((l) => (l.SMS_MFA = "SMS_MFA", l.SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA", l.NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED", l.RESET_REQUIRED = "RESET_REQUIRED", l.MFA_SETUP = "MFA_SETUP", l))(x || {}), j = ["username", "email", "phone_number"];
7720
- r();
7721
- var G = { birthdate: { label: "Birthdate", placeholder: "Birthdate", type: "date", autocomplete: "bday" }, confirmation_code: { label: "Confirmation Code", placeholder: "Code", type: "text", autocomplete: "one-time-code" }, email: { label: "Email", type: "email", placeholder: "Email", autocomplete: "username" }, family_name: { label: "Family Name", placeholder: "Family Name", type: "text", autocomplete: "family-name" }, given_name: { label: "Given Name", placeholder: "Given Name", type: "text", autocomplete: "given-name" }, middle_name: { label: "Middle Name", placeholder: "Middle Name", type: "text", autocomplete: "additional-name" }, name: { label: "Name", placeholder: "Name", type: "text", autocomplete: "name" }, nickname: { label: "Nickname", placeholder: "Nickname", type: "text", autocomplete: "tel" }, password: { label: "Password", placeholder: "Password", type: "password", autocomplete: "password" }, phone_number: { label: "Phone Number", placeholder: "Phone", type: "tel", autocomplete: "tel" }, preferred_username: { label: "Preferred Username", placeholder: "Preferred Username", type: "text" }, profile: { label: "Profile", placeholder: "Profile", type: "url", autocomplete: "url" }, website: { label: "Website", placeholder: "Website", type: "url", autocomplete: "url" }, username: { label: "Username", type: "text", placeholder: "Username", autocomplete: "username" } }, jr = ((s) => (s.Apple = "SignInWithApple", s.Amazon = "LoginWithAmazon", s.Facebook = "Facebook", s.Google = "Google", s))(jr || {}), Ua = (o, e) => {
7722
- var u, v, c, b, g;
7723
- let a = (u = o.config) == null ? void 0 : u.loginMechanisms, t = (c = (v = o.actorRef) == null ? void 0 : v.context) == null ? void 0 : c.validationError.username;
7724
- if (j.includes(e))
7725
- return { label: G[e].label, type: G[e].type, error: t };
7726
- let s = "text", l = a.filter((f) => includes_1(j, f)).map((f) => {
7727
- var B, M;
7728
- return (M = (B = G[f]) == null ? void 0 : B.label) != null ? M : G.username.label;
7718
+ var Hr = c((Ki, Lr) => {
7719
+ e();
7720
+ Lr.exports = { alert: wo(), authenticator: To(), badge: Io(), button: Po(), card: Wo(), checkbox: Uo(), checkboxfield: Fo(), copy: Oo(), countrycodeselect: Mo(), divider: Go(), expander: Ho(), field: jo(), fieldcontrol: Yo(), fieldgroup: Xo(), fieldmessages: Qo(), flex: er(), heading: rr(), icon: tr(), image: ir(), link: lr(), loader: dr(), menu: mr(), pagination: pr(), phonenumberfield: fr(), placeholder: br(), radio: yr(), rating: kr(), select: wr(), selectfield: Tr(), sliderfield: Ir(), stepperfield: Pr(), switchfield: Wr(), table: Ur(), tabs: Fr(), text: Or(), togglebutton: Mr(), togglebuttongroup: Gr() };
7721
+ });
7722
+ e();
7723
+ e();
7724
+ e();
7725
+ e();
7726
+ var j = (r) => {
7727
+ var o;
7728
+ return (o = r.context.actorRef) == null ? void 0 : o.getSnapshot();
7729
+ }, Te = (r) => {
7730
+ var o;
7731
+ return (o = j(r)) == null ? void 0 : o.context;
7732
+ };
7733
+ e();
7734
+ e();
7735
+ e();
7736
+ e();
7737
+ e();
7738
+ var k = ((l) => (l.SMS_MFA = "SMS_MFA", l.SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA", l.NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED", l.RESET_REQUIRED = "RESET_REQUIRED", l.MFA_SETUP = "MFA_SETUP", l))(k || {}), ea = ((s) => (s.Apple = "SignInWithApple", s.Amazon = "LoginWithAmazon", s.Facebook = "Facebook", s.Google = "Google", s))(ea || {});
7739
+ e();
7740
+ e();
7741
+ var K = ["username", "email", "phone_number"];
7742
+ e();
7743
+ e();
7744
+ e();
7745
+ e();
7746
+ e();
7747
+ e();
7748
+ e();
7749
+ var I = { birthdate: { label: "Birthdate", placeholder: "Birthdate", type: "date", autocomplete: "bday" }, confirmation_code: { label: "Confirmation Code", placeholder: "Code", type: "number", autocomplete: "one-time-code" }, email: { label: "Email", type: "email", placeholder: "Email", autocomplete: "username" }, family_name: { label: "Family Name", placeholder: "Family Name", type: "text", autocomplete: "family-name" }, given_name: { label: "Given Name", placeholder: "Given Name", type: "text", autocomplete: "given-name" }, middle_name: { label: "Middle Name", placeholder: "Middle Name", type: "text", autocomplete: "additional-name" }, name: { label: "Name", placeholder: "Name", type: "text", autocomplete: "name" }, nickname: { label: "Nickname", placeholder: "Nickname", type: "text", autocomplete: "tel" }, password: { label: "Password", placeholder: "Password", type: "password", autocomplete: "password" }, phone_number: { label: "Phone Number", placeholder: "Phone", type: "tel", autocomplete: "tel" }, preferred_username: { label: "Preferred Username", placeholder: "Preferred Username", type: "text" }, profile: { label: "Profile", placeholder: "Profile", type: "url", autocomplete: "url" }, website: { label: "Website", placeholder: "Website", type: "url", autocomplete: "url" }, username: { label: "Username", type: "text", placeholder: "Username", autocomplete: "username" } }, La = (r) => {
7750
+ let o = new FormData(r.target);
7751
+ return Object.fromEntries(o);
7752
+ }, Ha = (r, o) => {
7753
+ let a = [];
7754
+ return r && (a = Object.keys(r).reduce((t, s) => {
7755
+ var l;
7756
+ return t.push([s, (l = r[s]) == null ? void 0 : l.order]), t;
7757
+ }, []).sort((t, s) => t[1] - s[1]).filter((t) => t[1] !== void 0).map((t) => t[0])), Array.from(new Set([...a, ...o]));
7758
+ };
7759
+ var Za = (r, o) => {
7760
+ var u, v, d, f, g;
7761
+ let a = (u = r.config) == null ? void 0 : u.loginMechanisms, t = (d = (v = r.actorRef) == null ? void 0 : v.context) == null ? void 0 : d.validationError.username;
7762
+ if (K.includes(o))
7763
+ return { label: I[o].label, type: I[o].type, error: t };
7764
+ let s = "text", l = a.filter((h2) => includes_1(K, h2)).map((h2) => {
7765
+ var B, G;
7766
+ return (G = (B = I[h2]) == null ? void 0 : B.label) != null ? G : I.username.label;
7729
7767
  }).join(" or ");
7730
- return a.length === 1 && (s = (g = (b = G[a[0]]) == null ? void 0 : b.type) != null ? g : "text"), { label: l, type: s, error: t };
7731
- }, J = (o) => {
7732
- var e;
7733
- return (e = o.context.actorRef) == null ? void 0 : e.getSnapshot();
7734
- }, Kr = (o) => {
7735
- var e;
7736
- return (e = J(o)) == null ? void 0 : e.context;
7737
- }, $r = (o) => {
7738
- let e = (a) => (t) => o({ type: a, data: t });
7739
- return { resendCode: e("RESEND"), signOut: e("SIGN_OUT"), submitForm: e("SUBMIT"), updateForm: e("CHANGE"), updateBlur: e("BLUR"), toFederatedSignIn: e("FEDERATED_SIGN_IN"), toResetPassword: e("RESET_PASSWORD"), toSignIn: e("SIGN_IN"), toSignUp: e("SIGN_UP"), skipVerification: e("SKIP") };
7740
- }, Yr = (o) => {
7741
- var g, f;
7742
- let e = (g = o.context) == null ? void 0 : g.user, a = J(o), t = Kr(o), s = t == null ? void 0 : t.remoteError, l = m({}, t == null ? void 0 : t.validationError), u = t == null ? void 0 : t.codeDeliveryDetails, v = Object.keys(l).length > 0, c = o.hasTag("pending") || ((f = J(o)) == null ? void 0 : f.hasTag("pending")), b = (() => {
7768
+ return a.length === 1 && (s = (g = (f = I[a[0]]) == null ? void 0 : f.type) != null ? g : "text"), { label: l, type: s, error: t };
7769
+ };
7770
+ e();
7771
+ var oa = (r) => {
7772
+ let o = (a) => (t) => r({ type: a, data: t });
7773
+ return { resendCode: o("RESEND"), signOut: o("SIGN_OUT"), submitForm: o("SUBMIT"), updateForm: o("CHANGE"), updateBlur: o("BLUR"), toFederatedSignIn: o("FEDERATED_SIGN_IN"), toResetPassword: o("RESET_PASSWORD"), toSignIn: o("SIGN_IN"), toSignUp: o("SIGN_UP"), skipVerification: o("SKIP") };
7774
+ }, ra = (r) => {
7775
+ var g, h2;
7776
+ let o = (g = r.context) == null ? void 0 : g.user, a = j(r), t = Te(r), s = t == null ? void 0 : t.remoteError, l = m({}, t == null ? void 0 : t.validationError), u = t == null ? void 0 : t.codeDeliveryDetails, v = Object.keys(l).length > 0, d = r.hasTag("pending") || ((h2 = j(r)) == null ? void 0 : h2.hasTag("pending")), f = (() => {
7743
7777
  switch (true) {
7744
- case o.matches("idle"):
7778
+ case r.matches("idle"):
7745
7779
  return "idle";
7746
- case o.matches("setup"):
7780
+ case r.matches("setup"):
7747
7781
  return "setup";
7748
- case o.matches("signOut"):
7782
+ case r.matches("signOut"):
7749
7783
  return "signOut";
7750
- case o.matches("authenticated"):
7784
+ case r.matches("authenticated"):
7751
7785
  return "authenticated";
7752
7786
  case (a == null ? void 0 : a.matches("confirmSignUp")):
7753
7787
  return "confirmSignUp";
@@ -7770,204 +7804,203 @@ var G = { birthdate: { label: "Birthdate", placeholder: "Birthdate", type: "date
7770
7804
  case (a == null ? void 0 : a.matches("confirmVerifyUser")):
7771
7805
  return "confirmVerifyUser";
7772
7806
  default:
7773
- return console.debug("Cannot infer `route` from Authenticator state:", o.value), null;
7807
+ return console.debug("Cannot infer `route` from Authenticator state:", r.value), null;
7774
7808
  }
7775
7809
  })();
7776
- return { error: s, hasValidationErrors: v, isPending: c, route: b, user: e, validationErrors: l, codeDeliveryDetails: u };
7777
- }, Oa = ({ send: o, state: e }) => {
7778
- let a = $r(o), t = Yr(e);
7810
+ return { error: s, hasValidationErrors: v, isPending: d, route: f, user: o, validationErrors: l, codeDeliveryDetails: u };
7811
+ }, ot = ({ send: r, state: o }) => {
7812
+ let a = oa(r), t = ra(o);
7779
7813
  return m(m({}, a), t);
7780
- }, Fa = (o) => Hub.listen("auth", (e) => {
7781
- switch (e.payload.event) {
7814
+ };
7815
+ e();
7816
+ var it = (r) => Hub.listen("auth", (o) => {
7817
+ switch (o.payload.event) {
7782
7818
  case "signOut":
7783
- o("SIGN_OUT");
7819
+ r("SIGN_OUT");
7784
7820
  break;
7785
7821
  }
7786
7822
  });
7787
- r();
7788
- var Ga = (o) => {
7789
- let e = new FormData(o.target);
7790
- return Object.fromEntries(e);
7791
- };
7792
- r();
7793
- r();
7794
- var Ka = ["+1", "+7", "+20", "+27", "+30", "+31", "+32", "+33", "+34", "+36", "+39", "+40", "+41", "+43", "+44", "+45", "+46", "+47", "+48", "+49", "+51", "+52", "+53", "+54", "+55", "+56", "+57", "+58", "+60", "+61", "+62", "+63", "+64", "+65", "+66", "+81", "+82", "+84", "+86", "+90", "+91", "+92", "+93", "+94", "+95", "+98", "+212", "+213", "+216", "+218", "+220", "+221", "+222", "+223", "+224", "+225", "+226", "+227", "+228", "+229", "+230", "+231", "+232", "+233", "+234", "+235", "+236", "+237", "+238", "+239", "+240", "+241", "+242", "+243", "+244", "+245", "+246", "+248", "+249", "+250", "+251", "+252", "+253", "+254", "+255", "+256", "+257", "+258", "+260", "+261", "+262", "+263", "+264", "+265", "+266", "+267", "+268", "+269", "+290", "+291", "+297", "+298", "+299", "+345", "+350", "+351", "+352", "+353", "+354", "+355", "+356", "+357", "+358", "+359", "+370", "+371", "+372", "+373", "+374", "+375", "+376", "+377", "+378", "+379", "+380", "+381", "+382", "+385", "+386", "+387", "+389", "+420", "+421", "+423", "+500", "+501", "+502", "+503", "+504", "+505", "+506", "+507", "+508", "+509", "+537", "+590", "+591", "+593", "+594", "+595", "+596", "+597", "+598", "+599", "+670", "+672", "+673", "+674", "+675", "+676", "+677", "+678", "+679", "+680", "+681", "+682", "+683", "+685", "+686", "+687", "+688", "+689", "+690", "+691", "+692", "+850", "+852", "+853", "+855", "+856", "+872", "+880", "+886", "+960", "+961", "+962", "+963", "+964", "+965", "+966", "+967", "+968", "+970", "+971", "+972", "+973", "+974", "+975", "+976", "+977", "+992", "+993", "+994", "+995", "+996", "+998"];
7795
- r();
7796
- r();
7797
- r();
7798
- r();
7823
+ e();
7824
+ e();
7825
+ var ft = ["+1", "+7", "+20", "+27", "+30", "+31", "+32", "+33", "+34", "+36", "+39", "+40", "+41", "+43", "+44", "+45", "+46", "+47", "+48", "+49", "+51", "+52", "+53", "+54", "+55", "+56", "+57", "+58", "+60", "+61", "+62", "+63", "+64", "+65", "+66", "+81", "+82", "+84", "+86", "+90", "+91", "+92", "+93", "+94", "+95", "+98", "+212", "+213", "+216", "+218", "+220", "+221", "+222", "+223", "+224", "+225", "+226", "+227", "+228", "+229", "+230", "+231", "+232", "+233", "+234", "+235", "+236", "+237", "+238", "+239", "+240", "+241", "+242", "+243", "+244", "+245", "+246", "+248", "+249", "+250", "+251", "+252", "+253", "+254", "+255", "+256", "+257", "+258", "+260", "+261", "+262", "+263", "+264", "+265", "+266", "+267", "+268", "+269", "+290", "+291", "+297", "+298", "+299", "+345", "+350", "+351", "+352", "+353", "+354", "+355", "+356", "+357", "+358", "+359", "+370", "+371", "+372", "+373", "+374", "+375", "+376", "+377", "+378", "+379", "+380", "+381", "+382", "+385", "+386", "+387", "+389", "+420", "+421", "+423", "+500", "+501", "+502", "+503", "+504", "+505", "+506", "+507", "+508", "+509", "+537", "+590", "+591", "+593", "+594", "+595", "+596", "+597", "+598", "+599", "+670", "+672", "+673", "+674", "+675", "+676", "+677", "+678", "+679", "+680", "+681", "+682", "+683", "+685", "+686", "+687", "+688", "+689", "+690", "+691", "+692", "+850", "+852", "+853", "+855", "+856", "+872", "+880", "+886", "+960", "+961", "+962", "+963", "+964", "+965", "+966", "+967", "+968", "+970", "+971", "+972", "+973", "+974", "+975", "+976", "+977", "+992", "+993", "+994", "+995", "+996", "+998"];
7826
+ e();
7827
+ e();
7828
+ e();
7829
+ e();
7799
7830
  var ee = { "Account recovery requires verified contact information": "Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account", "An account with the given email already exists.": "Ein Account mit dieser Email existiert bereits.", "Back to Sign In": "Zur\xFCck zur Anmeldung", "Change Password": "Passwort \xE4ndern", Code: "Code", Confirm: "Best\xE4tigen", "Confirm Password": "Passwort best\xE4tigen", "Confirm a Code": "Code best\xE4tigen", "Confirm Sign In": "Anmeldung best\xE4tigen", "Confirm Sign Up": "Registrierung best\xE4tigen", "Confirm SMS Code": "SMS-Code best\xE4tigen", "Confirm TOTP Code": "TOTP-Code best\xE4tigen", "Confirmation Code": "Best\xE4tigungs-Code", "Create a new account": "Einen neuen Account erstellen", "Create account": "Hier registrieren", "Create Account": "Account erstellen", "Creating Account": "Account wird erstellt", Email: "Email", "Enter your code": "Geben Sie Ihren Code ein", "Enter your password": "Geben Sie Ihr Passwort ein", "Enter your username": "Geben Sie Ihren Benutzernamen ein", "Enter your phone number": "Geben Sie Ihre Telefonnummer ein", "Enter your email": "Geben Sie ihre Email ein", "Forgot your password?": "Passwort vergessen? ", "Forgot Password": "Passwort vergessen", "Hide password": "Passwort verbergen", "Have an account? ": "Schon registriert? ", "Incorrect username or password": "Falscher Benutzername oder falsches Passwort", "Invalid password format": "Ung\xFCltiges Passwort-Format", "Invalid phone number format": "Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900", "Lost your code? ": "Code verloren? ", "New Password": "Neues Passwort", "No account? ": "Kein Account? ", or: "oder", Password: "Passwort", "Password attempts exceeded": "Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht", "Phone Number": "Telefonnummer", "Resend Code": "Code erneut senden", "Reset password": "Passwort zur\xFCcksetzen", "Reset your password": "Zur\xFCcksetzen des Passworts", "Send Code": "Code senden", "Sign in": "Anmelden", "Sign In": "Anmelden", "Sign in to your account": "Melden Sie sich mit Ihrem Account an", "Sign Out": "Abmelden", "Sign Up": "Registrieren", Skip: "\xDCberspringen", Submit: "Abschicken", "User already exists": "Dieser Benutzer existiert bereits", "User does not exist": "Dieser Benutzer existiert nicht", Username: "Benutzername", "Username cannot be empty": "Benutzername darf nicht leer sein", Verify: "Verifizieren", "Verify Contact": "Kontakt verifizieren" };
7800
- r();
7831
+ e();
7801
7832
  var oe = { "Account recovery requires verified contact information": "Account recovery requires verified contact information", "Back to Sign In": "Back to Sign In", "Change Password": "Change Password", Changing: "Changing", Code: "Code", Confirm: "Confirm", "Confirm Password": "Confirm Password", "Confirm Sign Up": "Confirm Sign Up", "Confirm SMS Code": "Confirm SMS Code", "Confirm TOTP Code": "Confirm TOTP Code", "Confirmation Code": "Confirmation Code", Confirming: "Confirming", "Create Account": "Create Account", "Creating Account": "Creating Account", Email: "Email", "Enter your code": "Enter your code", "Enter your username": "Enter your username", "Enter your phone number": "Enter your phone number", "Enter your email": "Enter your email", "Forgot your password?": "Forgot your password?", "Hide password": "Hide password", Loading: "Loading", Username: "Username", "New password": "New password", Password: "Password", "Phone Number": "Phone Number", "Resend Code": "Resend Code", "Reset your password": "Reset your password", "Reset your Password": "Reset your Password", "Send Code": "Send Code", "Send code": "Send code", Sending: "Sending", "Setup TOTP": "Setup TOTP", "Show password": "Show password", "Sign in": "Sign in", "Sign In": "Sign In", "Sign In with Amazon": "Sign In with Amazon", "Sign In with Apple": "Sign In with Apple", "Sign In with Facebook": "Sign In with Facebook", "Sign In with Google": "Sign In with Google", "Sign in to your account": "Sign in to your account", "Create a new account": "Create a new account", "Signing in": "Signing in", Skip: "Skip", Submit: "Submit", Submitting: "Submitting", "Verify Contact": "Verify Contact", Verify: "Verify" };
7802
- r();
7833
+ e();
7803
7834
  var re = { "Account recovery requires verified contact information": "La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada", "Back to Sign In": "Volver a inicio de sesi\xF3n", "Change Password": "Cambiar contrase\xF1a", Changing: "Cambiando", Code: "C\xF3digo", Confirm: "Confirmar", "Confirm a Code": "Confirmar un c\xF3digo", "Confirm Password": "Confirmar contrase\xF1a", "Confirm Sign In": "Confirmar inicio de sesi\xF3n", "Confirm Sign Up": "Confirmar registro", "Confirm TOTP Code": "Confirmar c\xF3digo TOTP", "Confirmation Code": "C\xF3digo de confirmaci\xF3n", Confirming: "Confirmando", "Create a new account": "Crear una cuenta nueva", "Creating Account": "Creando cuenta", Email: "Email", "Forgot Password": "Olvid\xE9 mi contrase\xF1a", "Incorrect username or password": "Nombre de usuario o contrase\xF1a incorrecta", "Invalid password format": "Formato de contrase\xF1a inv\xE1lido", "Invalid phone number format": "Formato de n\xFAmero de tel\xE9fono inv\xE1lido", "Forgot your password?": "\xBFOlvid\xF3 su contrase\xF1a?", "Hide password": "Ocultar contrase\xF1a", "Loading...": "Cargando...", "New Password": "Nueva contrase\xF1a", or: "o", Password: "Contrase\xF1a", "Phone Number": "N\xFAmero de tel\xE9fono", "Resend a Code": "Reenviar un c\xF3digo", "Reset your password": "Restablecer su contrase\xF1a", "Reset your Password": "Restablecer su Contrase\xF1a", "Resend Code": "Reenviar c\xF3digo", "Send Code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar contrase\xF1a", "Sign in": "Iniciar sesi\xF3n", "Sign In": "Iniciar Sesi\xF3n", "Sign In with Amazon": "Iniciar Sesi\xF3n con Amazon", "Sign In with Apple": "Iniciar Sesi\xF3n con Apple", "Sign In with Facebook": "Iniciar Sesi\xF3n con Facebook", "Sign In with Google": "Iniciar Sesi\xF3n con Google", "Sign in to your account": "Iniciar sesi\xF3n en tu cuenta", "Sign Out": "Cerrar sesi\xF3n", "Sign Up": "Crear cuenta", "Signing in": "Iniciando sesi\xF3n", Skip: "Omitir", Submit: "Enviar", "User already exists": "El usuario ya existe", "User does not exist": "El usuario no existe", Username: "Nombre de usuario", "Username cannot be empty": "El nombre de usuario no puede estar vac\xEDo", Verify: "Verificar", "Verify Contact": "Verificar contacto" };
7804
- r();
7835
+ e();
7805
7836
  var ae = { "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" };
7806
- r();
7837
+ e();
7807
7838
  var te = { "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" };
7808
- r();
7839
+ e();
7809
7840
  var ne = { "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
7810
7841
  +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" };
7811
- r();
7842
+ e();
7812
7843
  var ie = { "Back to Sign In": "\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30", Birthdate: "\uC0DD\uB144\uC6D4\uC77C", "Change Password": "\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30", Changing: "\uBCC0\uACBD\uC911", Code: "\uCF54\uB4DC", "Confirm Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778", "Reset your Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Confirm Sign Up": "\uD68C\uC6D0\uAC00\uC785 \uD655\uC778", "Confirm SMS Code": "\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778", "Confirm TOTP Code": "TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778", Confirm: "\uD655\uC778", "Confirmation Code": "\uC778\uC99D\uBC88\uD638", Confirming: "\uD655\uC778\uC911", "Create Account": "\uD68C\uC6D0\uAC00\uC785", "Creating Account": "\uD68C\uC6D0\uAC00\uC785\uC911", Email: "\uC774\uBA54\uC77C", "Enter your code": "\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694", "Enter your username": "\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694", "Family Name": "\uC131", "Given Name": "\uC774\uB984", "Forgot your password?": "\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?", "Hide password": "\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30", Loading: "\uB85C\uB529\uC911", Username: "\uC544\uC774\uB514", Name: "\uC131\uD568", Nickname: "\uB2C9\uB124\uC784", "New password": "\uC0C8 \uBE44\uBC00\uBC88\uD638", Password: "\uBE44\uBC00\uBC88\uD638", "Phone Number": "\uC804\uD654\uBC88\uD638", "Preferred Username": "\uB2C9\uB124\uC784", Profile: "\uD504\uB85C\uD544", "Resend Code": "\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1", "Reset your password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Reset Password": "\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815", "Send code": "\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30", Sending: "\uC804\uC1A1\uC911", "Setup TOTP": "TOTP \uC124\uC815\uD558\uAE30", "Show password": "\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30", "Sign in": "\uB85C\uADF8\uC778", "Sign In": "\uB85C\uADF8\uC778", "Sign In with Amazon": "Amazon \uB85C\uADF8\uC778", "Sign In with Apple": "Apple \uB85C\uADF8\uC778", "Sign In with Facebook": "Facebook \uB85C\uADF8\uC778", "Sign In with Google": "Google \uB85C\uADF8\uC778", "Sign in to your account": "\uB85C\uADF8\uC778", "Create a new account": "\uD68C\uC6D0\uAC00\uC785", "Signing in": "\uB85C\uADF8\uC778\uC911", Skip: "\uB2E4\uC74C\uC5D0 \uD558\uAE30", Submit: "\uD655\uC778", Submitting: "\uD655\uC778\uC911", "Verify Contact": "\uC5F0\uB77D\uCC98 \uD655\uC778", "Account recovery requires verified contact information": "\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4", Verify: "\uC778\uC99D", Website: "\uC6F9\uC0AC\uC774\uD2B8" };
7813
- r();
7844
+ e();
7814
7845
  var se = { "Back to Sign In": "Terug naar inloggen", "Change Password": "Wachtwoord wijzigen", Changing: "Wordt aangepast", Code: "Code", "Confirm Password": "Bevestig Wachtwoord", "Reset your Password": "Wachtwoord resetten", "Confirm Sign Up": "Bevestig inschrijving", "Confirm SMS Code": "Bevestig SMS Code", "Confirm TOTP Code": "Bevestig TOTP Code", Confirm: "Bevestig", "Confirmation Code": "Bevestigingscode", Confirming: "Bevestigen", "Create Account": "Account aanmaken", "Creating Account": "Account wordt aangemaakt", Email: "E-mail", "Enter your code": "Vul je code in", "Enter your username": "Vul je gebruikersnaam in", "Enter your phone number": "Vul je telefoonnummer in", "Enter your email": "Vul je e-mail in", "Forgot your password?": "Wachtwoord vergeten? ", "Hide password": "Verberg wachtwoord", Loading: "Laden", Username: "Gebruikersnaam", "New password": "Nieuw wachtwoord", Password: "Wachtwoord", "Phone Number": "Telefoonnummer", "Resend Code": "Verstuur code nogmaals", "Reset your password": "Reset je wachtwoord", "Send Code": "Verstuur Code", "Send code": "Verstuur code", Sending: "Versturen", "Setup TOTP": "TOTP Instellingen", "Show password": "Toon wachtwoord", "Sign in": "Inloggen", "Sign In": "Inloggen", "Sign In with Amazon": "Inloggen met Amazon", "Sign In with Apple": "Inloggen met Apple", "Sign In with Facebook": "Inloggen met Facebook", "Sign In with Google": "Inloggen met Google", "Sign in to your account": "Inloggen op je account", "Create a new account": "Nieuw account aanmaken", "Signing in": "Inloggen", Skip: "Overslaan", Submit: "Versturen", Submitting: "Wordt verstuurd", "Verify Contact": "Verifieer Contact", "Account recovery requires verified contact information": "Accountherstel vereist geverifieerde contactgegevens", Verify: "Verifieer" };
7815
- r();
7846
+ e();
7816
7847
  var le = { "Back to Sign In": "Powr\xF3t do logowania", Birthdate: "Data urodzenia", "Change Password": "Zmie\u0144 has\u0142o", Changing: "Zmienianie", Code: "Kod", "Confirm Password": "Potwierd\u017A Has\u0142o", "Reset your Password": "Zresetuj swoje has\u0142o", "Confirm Sign Up": "Potwierd\u017A rejestracj\u0119", "Confirm SMS Code": "Potwierd\u017A kod SMS", "Confirm TOTP Code": "Potwierd\u017A has\u0142o jednorazowe", Confirm: "Potwierd\u017A", "Confirmation Code": "Kod potwierdzenia", Confirming: "Potwierdzanie", "Create Account": "Utw\xF3rz konto", "Creating Account": "Tworzenie konta", Email: "E-mail", "Enter your code": "Wprowad\u017A sw\xF3j kod", "Enter your username": "Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika", "Family Name": "Nazwisko", "Given Name": "Pierwsze imi\u0119", "Forgot your password?": "Zapomnia\u0142e\u015B has\u0142a? ", "Hide password": "Ukryj has\u0142o", Loading: "\u0141adowanie", Username: "Nazwa u\u017Cytkownika", "Middle Name": "Drugie imi\u0119", Name: "Imi\u0119 i nazwisko", Nickname: "Pseudonim", "New password": "Nowe has\u0142o", Password: "Has\u0142o", "Phone Number": "Numer telefonu", "Preferred Username": "Preferowana nazwa u\u017Cytkownika", Profile: "Profil", "Resend Code": "Wy\u015Blij kod ponownie", "Reset your password": "Zresetuj swoje has\u0142o", "Send Code": "Zresetuj has\u0142o", "Send code": "Wy\u015Blij kod", Sending: "Wysy\u0142anie", "Setup TOTP": "Konfiguruj TOTP", "Show password": "Poka\u017C has\u0142o", "Sign in": "Zaloguj", "Sign In": "Logowanie", "Sign In with Amazon": "Zaloguj z Amazon", "Sign In with Apple": "Zaloguj z Apple", "Sign In with Facebook": "Zaloguj z Facebook", "Sign In with Google": "Zaloguj z Google", "Sign in to your account": "Zaloguj si\u0119 na swoje konto", "Create a new account": "Utw\xF3rz nowe konto", "Signing in": "Logowanie", Skip: "Pomi\u0144", Submit: "Wy\u015Blij", Submitting: "Wysy\u0142anie", "Verify Contact": "Weryfikacja danych kontaktowych", "Account recovery requires verified contact information": "Odzyskanie konta wymaga zweryfikowanych danych kontaktowych", Verify: "Zweryfikuj", Website: "Strona internetowa" };
7817
- r();
7848
+ e();
7818
7849
  var ue = { "Back to Sign In": "Voltar para Entrar", "Change Password": "Mudar senha", Changing: "Mudando", Code: "C\xF3digo", "Confirm Password": "Confirme a Senha", "Reset your Password": "Redefina sua senha", "Confirm Sign Up": "Confirmar inscri\xE7\xE3o", "Confirm SMS Code": "Confirme o c\xF3digo SMS", "Confirm TOTP Code": "Confirme o c\xF3digo TOTP", Confirm: "confirme", "Confirmation Code": "C\xF3digo de confirma\xE7\xE3o", Confirming: "Confirmando", "Create Account": "Criar Conta", "Creating Account": "Criando conta", Email: "O email", "Enter your code": "Insira seu c\xF3digo", "Enter your username": "entre com seu nome de usu\xE1rio", "Enter your phone number": "Digite seu n\xFAmero de telefone", "Enter your email": "Digite seu e-mail", "Forgot your password?": "Esqueceu sua senha? ", "Hide password": "Esconder a senha", Loading: "Carregando", Username: "Nome do usu\xE1rio", "New password": "Nova Senha", Password: "Senha", "Phone Number": "N\xFAmero de telefone", "Resend Code": "Reenviar c\xF3digo", "Reset your password": "Redefina sua senha", "Send Code": "Enviar c\xF3digo", "Send code": "Enviar c\xF3digo", Sending: "Enviando", "Setup TOTP": "Configurar TOTP", "Show password": "Mostrar senha", "Sign In": "Entrar", "Sign in": "Entrar", "Sign In with Amazon": "Entrar com a Amazon", "Sign In with Apple": "Entrar com a Apple", "Sign In with Facebook": "Entrar com o Facebook", "Sign In with Google": "Fa\xE7a login no Google", "Sign in to your account": "Fa\xE7a login em sua conta", "Create a new account": "Criar uma nova conta", "Signing in": "Entrando", Skip: "Pular", Submit: "Enviar", Submitting: "Enviando", "Verify Contact": "Verificar contato", "Account recovery requires verified contact information": "A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas", Verify: "Verificar" };
7819
- r();
7850
+ e();
7820
7851
  var de = { "Account recovery requires verified contact information": "\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F", "Back to Sign In": "\u56DE\u5230\u767B\u5F55", "Change Password": "\u66F4\u6539\u5BC6\u7801", Code: "\u786E\u8BA4\u7801", Confirm: "\u786E\u8BA4", "Confirm a Code": "\u786E\u8BA4\u7801", "Confirm Password": "\u786E\u8BA4\u5BC6\u7801", "Confirm Sign In": "\u786E\u8BA4\u767B\u5F55", "Confirm Sign Up": "\u786E\u8BA4\u6CE8\u518C", Email: "\u90AE\u7BB1", "Forgot Password": "\u5FD8\u8BB0\u5BC6\u7801", "Incorrect username or password": "\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF", "Invalid password format": "\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF", "Invalid phone number format": "\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900", "New Password": "\u65B0\u5BC6\u7801", or: "\u6216\u8005", Password: "\u5BC6\u7801", "Phone Number": "\u7535\u8BDD", "Resend a Code": "\u91CD\u53D1\u786E\u8BA4\u7801", "Send Code": "\u53D1\u9001\u786E\u8BA4\u7801", "Sign In": "\u767B\u5F55", "Sign Out": "\u9000\u51FA", "Sign Up": "\u6CE8\u518C", Skip: "\u8DF3\u8FC7", Submit: "\u63D0\u4EA4", "User already exists": "\u7528\u6237\u5DF2\u7ECF\u5B58\u5728", "User does not exist": "\u7528\u6237\u4E0D\u5B58\u5728", Username: "\u7528\u6237\u540D", Verify: "\u9A8C\u8BC1", "Verify Contact": "\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F" };
7821
- r();
7852
+ e();
7822
7853
  var ce = { "Account recovery requires verified contact information": "F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto", "An account with the given email already exists.": "Det finns redan ett konto med denna e-postadress", "Back to Sign In": "Tillbaka till inloggningen", "Change Password": "Byt l\xF6senord", "Confirm Password": "Bekr\xE4fta l\xF6senord", Code: "Kod", Confirm: "Bekr\xE4fta", "Confirm a Code": "Bekr\xE4fta koden", "Confirm Sign In": "Bekr\xE4fta inloggning", "Confirm Sign Up": "Bekr\xE4fta registrering", "Confirmation Code": "Verifikationskod", "Create a new account": "Skapa ett nytt konto", "Create account": "Skapa konto", "Create Account": "Skapa konto", Email: "E-post", "Enter your password": "Ange ditt l\xF6senord", "Enter your username": "Ange ditt anv\xE4ndarnamn", "Forgot Password": "Gl\xF6mt l\xF6senordet", "Forgot your password?": "Gl\xF6mt ditt l\xF6senord? ", "Have an account? ": "Redan registrerad? ", "Incorrect username or password": "Felaktigt anv\xE4ndarnamn eller l\xF6senord", "Invalid password format": "Ogiltigt l\xF6senordsformat", "Invalid phone number format": "Ogiltigt format f\xF6r telefonnummer", "Lost your code? ": "F\xF6rlorat koden? ", "New Password": "Nytt l\xF6senord", "No account? ": "Inget konto? ", or: "eller", Password: "L\xF6senord", "Password attempts exceeded": "Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts", "Phone Number": "Telefonnummer", "Resend Code": "Skicka koden igen", "Reset password": "\xC5terst\xE4ll l\xF6senord", "Reset your password": "\xC5terst\xE4ll ditt l\xF6senord", "Send code": "Skicka kod", "Sign in": "Logga in", "Sign In": "Logga in", "Sign in to your account": "Logga in till ditt konto", "Sign Out": "Logga ut", "Sign Up": "Registrering", "We Emailed You": "Vi har skickat e-post till dig", "Enter your code": "Skriv din kod", Skip: "Hoppa \xF6ver", Submit: "Skicka", "User already exists": "Anv\xE4ndaren finns redan", "User does not exist": "Anv\xE4ndaren finns inte", Username: "Anv\xE4ndarnamn", "Username cannot be empty": "Anv\xE4ndarnamnet kan inte vara tomt", Verify: "Verifiera", "Verify Contact": "Verifiera kontakt" };
7823
- r();
7824
- var me = { BACK_SIGN_IN: "Back to Sign In", BIRTHDATE: "Birthdate", CHANGE_PASSWORD: "Change Password", CHANGING_PASSWORD: "Changing", CODE: "Code", CONFIRM_PASSWORD: "Confirm Password", CONFIRM_RESET_PASSWORD_HEADING: "Reset your Password", CONFIRM_SIGNUP_HEADING: "Confirm Sign Up", CONFIRM_SMS: "Confirm SMS Code", CONFIRM_TOTP: "Confirm TOTP Code", CONFIRM: "Confirm", CONFIRMATION_CODE: "Confirmation Code", CONFIRMING: "Confirming", CREATE_ACCOUNT: "Create Account", CREATING_ACCOUNT: "Creating Account", EMAIL_ADDRESS: "Email", ENTER_CODE: "Enter your code", ENTER_USERNAME: "Enter your username", FAMILY_NAME: "Family Name", GIVEN_NAME: "Given Name", FORGOT_YOUR_PASSWORD: "Forgot your password?", FORGOT_YOUR_PASSWORD_LEGACY: "Forgot your password? ", HIDE_PASSWORD: "Hide password", LOADING: "Loading", LOGIN_NAME: "Username", MIDDLE_NAME: "Middle Name", NAME: "Name", NICKNAME: "Nickname", NEW_PASSWORD: "New password", PASSWORD: "Password", PHONE_NUMBER: "Phone Number", PREFERRED_USERNAME: "Preferred Username", PROFILE: "Profile", RESEND_CODE: "Resend Code", RESET_PASSWORD_HEADING: "Reset your password", RESET_PASSWORD: "Reset Password", SEND_CODE: "Send code", SENDING: "Sending", SETUP_TOTP: "Setup TOTP", SHOW_PASSWORD: "Show password", SIGN_IN_BUTTON: "Sign in", SIGN_IN_TAB: "Sign In", SIGN_IN_WITH_AMAZON: "Sign In with Amazon", SIGN_IN_WITH_APPLE: "Sign In with Apple", SIGN_IN_WITH_FACEBOOK: "Sign In with Facebook", SIGN_IN_WITH_GOOGLE: "Sign In with Google", SIGN_IN: "Sign in to your account", SIGN_UP_BUTTON: "Create a new account", SIGNING_IN_BUTTON: "Signing in", SKIP: "Skip", SUBMIT: "Submit", SUBMITTING: "Submitting", VERIFY_CONTACT: "Verify Contact", VERIFY_HEADING: "Account recovery requires verified contact information", VERIFY: "Verify", WEBSITE: "Website" };
7825
- var we = m({}, ee), Te = m({}, oe), Ae = m({}, re), De = m({}, ae), Ie = m({}, te), Ee = m({}, ne), Pe = m({}, ie), Re = m({}, se), We = m({}, le), Ve = m({}, ue), _e = m({}, de), Ue = m({}, ce), Ne = m({}, me);
7826
- m({}, Ne);
7827
- function Tt(o) {
7828
- return I18n.get(o);
7829
- }
7830
- function At(o) {
7831
- return I18n.get(o) !== o;
7832
- }
7833
- var Dt = { de: we, en: Te, es: Ae, fr: De, it: Ie, ja: Ee, kr: Pe, nl: Re, pl: We, pt: Ve, zh: _e, sv: Ue };
7834
- r();
7835
- r();
7836
- r();
7837
- var H = (o) => stop_1(o), Fe = assign_1({ attributeToVerify: (o) => {
7838
- } }), ze = assign_1({ challengeName: (o) => {
7839
- } }), Be = assign_1({ requiredAttributes: (o) => {
7840
- } }), I = assign_1({ remoteError: (o) => "" }), E = assign_1({ formValues: (o) => ({}) }), P = assign_1({ touched: (o) => ({}) }), Me = assign_1({ unverifiedAttributes: (o) => {
7841
- } }), Ge = assign_1({ username: (o) => {
7842
- } }), R = assign_1({ validationError: (o) => ({}) }), He = assign_1({ challengeName: (o, e) => {
7854
+ e();
7855
+ var me = { "Account recovery requires verified contact information": "Pemulihan akun memerlukan informasi kontak terverifikasi", "An account with the given email already exists.": "Akun dengan email tersebut sudah terdaftar.", "Attempt limit exceeded, please try after some time.": "Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.", "Back to Sign In": "Kembali ke Masuk", "Cannot reset password for the user as there is no registered/verified email or phone_number": "Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon", Change: "Ubah", "Change Password": "Ubah kata sandi", Code: "Kode", Confirm: "Konfirmasi", "Confirm a Code": "Konfirmasi kode", "Confirm Password": "Konfirmasi kata sandi", "Confirmation Code": "Kode Konfirmasi", "Create a new account": "Buat akun baru", "Create account": "Buat akun", "Create Account": "Buat Akun", "Creating Account": "Membuat Akun", Confirming: "Mengkonfirmasi", Email: "Email", "Enter your code": "Masukkan kode anda", "Enter your email": "Masukkan email anda", "Enter your password": "Masukkan kata sandi anda", "Enter your phone number": "Masukkan nomor telepon anda", "Enter your username": "Masukkan nama akun anda", "Forgot Password": "Lupa kata sandi", "Forgot your password?": "Lupa kata sandi? ", "Have an account? ": "Sudah punya akun? ", Hello: "Halo", "Incorrect username or password.": "Nama akun atau kata sandi salah.", "Invalid phone number format": "Nomor telepon tidak sesuai dengan format.", "Invalid verification code provided, please try again.": "Kode verifikasi tidak sesuai, mohon coba lagi.", "It may take a minute to arrive.": "Mungkin perlu beberapa waktu untuk tiba.", "Lost your code? ": "Kode anda hilang?", Name: "Nama", "Network error": "Galat jaringan", "New password": "Kata sandi baru", "No account? ": "Tidak ada akun?", or: "atau", Password: "Kata sandi", "Password did not conform with policy: Password not long enough": "Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang", "Phone Number": "Nomor telepon", "Resend a Code": "Renvoyer un code", "Resend Code": "Kirim ulang kodenya", "Reset password": "Ubah kata sandi anda", "Reset your password": "Ubah kata sandi anda", Send: "Kirim", "Send Code": "Kirim Kode", "Send code": "Kirim kode", Sending: "Mengirim", "Sign in": "Masuk", "Sign In": "Masuk", "Sign in to your account": "Masuk akun anda", "Sign In with Amazon": "Masuk dengan Amazon", "Sign In with AWS": "Masuk dengan AWS", "Sign In with Facebook": "Masuk dengan Facebook", "Sign In with Google": "Masuk dengan Google", "Sign Up with Amazon": "Daftar dengan Amazon", "Sign Up with AWS": "Daftar dengan AWS", "Sign Up with Facebook": "Daftar dengan Facebook", "Sign Up with Google": "Daftar dengan Google", "Signing in": "Memasuki", Skip: "Lewati", SMS: "SMS", Submit: "Ajukan", Submitting: "Mengajukan", "User is disabled.": "Akun dinonaktifkan.", "User already exists": "Akun sudah terdaftar", "User does not exist.": "Akun tidak terdaftar.", Username: "Nama akun", "Username cannot be empty": "Nama akun tidak boleh kosong", "Username/client id combination not found.": "Nama akun atau id tidak ditemukan.", Verify: "Verifikasi", "Verify Contact": "Verifikasi Kontak", "We Emailed You": "Kami mengirimkanmu email", "Your code is on the way. To log in, enter the code we emailed to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke", "Your code is on the way. To log in, enter the code we texted to": "Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke", "Your passwords must match": "Kata sandi harus sama" };
7856
+ e();
7857
+ var ve = { BACK_SIGN_IN: "Back to Sign In", BIRTHDATE: "Birthdate", CHANGE_PASSWORD: "Change Password", CHANGING_PASSWORD: "Changing", CODE: "Code", CONFIRM_PASSWORD: "Confirm Password", CONFIRM_RESET_PASSWORD_HEADING: "Reset your Password", CONFIRM_SIGNUP_HEADING: "Confirm Sign Up", CONFIRM_SMS: "Confirm SMS Code", CONFIRM_TOTP: "Confirm TOTP Code", CONFIRM: "Confirm", CONFIRMATION_CODE: "Confirmation Code", CONFIRMING: "Confirming", CREATE_ACCOUNT: "Create Account", CREATING_ACCOUNT: "Creating Account", EMAIL_ADDRESS: "Email", ENTER_CODE: "Enter your code", ENTER_USERNAME: "Enter your username", FAMILY_NAME: "Family Name", GIVEN_NAME: "Given Name", FORGOT_YOUR_PASSWORD: "Forgot your password?", FORGOT_YOUR_PASSWORD_LEGACY: "Forgot your password? ", HIDE_PASSWORD: "Hide password", LOADING: "Loading", LOGIN_NAME: "Username", MIDDLE_NAME: "Middle Name", NAME: "Name", NICKNAME: "Nickname", NEW_PASSWORD: "New password", PASSWORD: "Password", PHONE_NUMBER: "Phone Number", PREFERRED_USERNAME: "Preferred Username", PROFILE: "Profile", RESEND_CODE: "Resend Code", RESET_PASSWORD_HEADING: "Reset your password", RESET_PASSWORD: "Reset Password", SEND_CODE: "Send code", SENDING: "Sending", SETUP_TOTP: "Setup TOTP", SHOW_PASSWORD: "Show password", SIGN_IN_BUTTON: "Sign in", SIGN_IN_TAB: "Sign In", SIGN_IN_WITH_AMAZON: "Sign In with Amazon", SIGN_IN_WITH_APPLE: "Sign In with Apple", SIGN_IN_WITH_FACEBOOK: "Sign In with Facebook", SIGN_IN_WITH_GOOGLE: "Sign In with Google", SIGN_IN: "Sign in to your account", SIGN_UP_BUTTON: "Create a new account", SIGNING_IN_BUTTON: "Signing in", SKIP: "Skip", SUBMIT: "Submit", SUBMITTING: "Submitting", VERIFY_CONTACT: "Verify Contact", VERIFY_HEADING: "Account recovery requires verified contact information", VERIFY: "Verify", WEBSITE: "Website" };
7858
+ var Ie = m({}, ee), Ee = m({}, oe), Pe = m({}, re), Re = m({}, ae), We = m({}, te), Ve = m({}, ne), Ue = m({}, ie), _e = m({}, se), Fe = m({}, le), Ne = m({}, ue), Oe = m({}, de), ze = m({}, ce), Me = m({}, me), Be = m({}, ve);
7859
+ m({}, Be);
7860
+ function Xt(r) {
7861
+ return I18n.get(r);
7862
+ }
7863
+ function Zt(r) {
7864
+ return I18n.get(r) !== r;
7865
+ }
7866
+ var Qt = { de: Ie, en: Ee, es: Pe, fr: Re, id: Me, it: We, ja: Ve, kr: Ue, nl: _e, pl: Fe, pt: Ne, zh: Oe, sv: ze };
7867
+ e();
7868
+ e();
7869
+ e();
7870
+ var L = (r) => stop_1(r), Le = assign_1({ attributeToVerify: (r) => {
7871
+ } }), He = assign_1({ challengeName: (r) => {
7872
+ } }), qe = assign_1({ requiredAttributes: (r) => {
7873
+ } }), E = assign_1({ remoteError: (r) => "" }), P = assign_1({ formValues: (r) => ({}) }), R = assign_1({ touched: (r) => ({}) }), je = assign_1({ unverifiedAttributes: (r) => {
7874
+ } }), Ke = assign_1({ username: (r) => {
7875
+ } }), W = assign_1({ validationError: (r) => ({}) }), Ye = assign_1({ challengeName: (r, o) => {
7843
7876
  var a;
7844
- return (a = e.data) == null ? void 0 : a.challengeName;
7845
- } }), Le = assign_1({ requiredAttributes: (o, e) => {
7877
+ return (a = o.data) == null ? void 0 : a.challengeName;
7878
+ } }), $e = assign_1({ requiredAttributes: (r, o) => {
7846
7879
  var a, t;
7847
- return (t = (a = e.data) == null ? void 0 : a.challengeParam) == null ? void 0 : t.requiredAttributes;
7848
- } }), qe = assign_1({ redirectIntent: (o) => "confirmPasswordReset" }), je = assign_1({ redirectIntent: (o) => "confirmSignUp" }), K = assign_1({ authAttributes: (o, e) => {
7880
+ return (t = (a = o.data) == null ? void 0 : a.challengeParam) == null ? void 0 : t.requiredAttributes;
7881
+ } }), Xe = assign_1({ redirectIntent: (r) => "confirmPasswordReset" }), Ze = assign_1({ redirectIntent: (r) => "confirmSignUp" }), Y = assign_1({ authAttributes: (r, o) => {
7849
7882
  var l, u;
7850
- let [a] = o.loginMechanisms, t = (l = o.formValues[a]) != null ? l : o.formValues.username, s = (u = o.formValues) == null ? void 0 : u.password;
7883
+ let [a] = r.loginMechanisms, t = (l = r.formValues[a]) != null ? l : r.formValues.username, s = (u = r.formValues) == null ? void 0 : u.password;
7851
7884
  return { username: t, password: s };
7852
- } }), W = assign_1({ validationError: (o, e) => e.data }), V = assign_1({ remoteError: (o, e) => {
7885
+ } }), V = assign_1({ validationError: (r, o) => o.data }), U = assign_1({ remoteError: (r, o) => {
7853
7886
  var a;
7854
- return e.data.name === "NoUserPoolError" ? "Configuration error (see console) \u2013 please contact the administrator" : ((a = e.data) == null ? void 0 : a.message) || e.data;
7855
- } }), Ke = assign_1({ unverifiedAttributes: (o, e) => e.data.unverified }), $ = assign_1({ user: (o, e) => e.data.user || e.data }), $e = assign_1({ username: (o, e) => o.formValues.username }), Ye = assign_1({ codeDeliveryDetails: (o, e) => e.data.codeDeliveryDetails }), Xe = assign_1({ authAttributes: (o, e) => ({ username: o.formValues.username }) }), _ = assign_1({ formValues: (o, e) => {
7856
- let { name: a, value: t } = e.data;
7857
- return C(m({}, o.formValues), { [a]: t });
7858
- } }), U = assign_1({ formValues: (o, e) => m(m({}, o.formValues), e.data) }), N = assign_1({ touched: (o, e) => {
7859
- let { name: a } = e.data;
7860
- return C(m({}, o.touched), { [`${a}`]: true });
7861
- } }), Y = assign_1({ formValues: (o, e) => {
7862
- var c;
7863
- let [a = "username"] = o.loginMechanisms;
7864
- if (!o.formValues.phone_number && a !== "phone_number")
7865
- return o.formValues;
7866
- let { formValues: t, country_code: s } = o, l = t.phone_number ? "phone_number" : "username", u = `${(c = t.country_code) != null ? c : s}${t[l]}`.replace(/[^A-Z0-9+]/gi, ""), v = C(m({}, t), { [l]: u });
7887
+ return o.data.name === "NoUserPoolError" ? "Configuration error (see console) \u2013 please contact the administrator" : ((a = o.data) == null ? void 0 : a.message) || o.data;
7888
+ } }), Qe = assign_1({ unverifiedAttributes: (r, o) => o.data.unverified }), $ = assign_1({ user: (r, o) => o.data.user || o.data }), Je = assign_1({ username: (r, o) => r.formValues.username }), eo = assign_1({ codeDeliveryDetails: (r, o) => o.data.codeDeliveryDetails }), oo = assign_1({ authAttributes: (r, o) => ({ username: r.formValues.username }) }), _ = assign_1({ formValues: (r, o) => {
7889
+ let { name: a, value: t } = o.data;
7890
+ return C(m({}, r.formValues), { [a]: t });
7891
+ } }), F = assign_1({ formValues: (r, o) => m(m({}, r.formValues), o.data) }), N = assign_1({ touched: (r, o) => {
7892
+ let { name: a } = o.data;
7893
+ return C(m({}, r.touched), { [`${a}`]: true });
7894
+ } }), X = assign_1({ formValues: (r, o) => {
7895
+ var d;
7896
+ let [a = "username"] = r.loginMechanisms;
7897
+ if (!r.formValues.phone_number && a !== "phone_number")
7898
+ return r.formValues;
7899
+ let { formValues: t, country_code: s } = r, l = t.phone_number ? "phone_number" : "username", u = `${(d = t.country_code) != null ? d : s}${t[l]}`.replace(/[^A-Z0-9+]/gi, ""), v = C(m({}, t), { [l]: u });
7867
7900
  return delete v.country_code, v;
7868
7901
  } });
7869
- r();
7870
- r();
7871
- r();
7872
- var O = async (o, e, a) => {
7873
- let t = await Promise.all(a.map((l) => l(o, e))), s = merge_1({}, ...t);
7902
+ e();
7903
+ e();
7904
+ e();
7905
+ var O = async (r, o, a) => {
7906
+ let t = await Promise.all(a.map((l) => l(r, o))), s = merge_1({}, ...t);
7874
7907
  return isEmpty_1(s) ? Promise.resolve() : Promise.reject(s);
7875
7908
  };
7876
- r();
7877
- var F = { async getAmplifyConfig() {
7909
+ e();
7910
+ var z = { async getAmplifyConfig() {
7878
7911
  return Amplify.configure();
7879
7912
  }, async getCurrentUser() {
7880
7913
  return Auth.currentAuthenticatedUser();
7881
- }, async handleSignUp(o) {
7882
- return Auth.signUp(o);
7883
- }, async handleSignIn({ username: o, password: e }) {
7884
- return Auth.signIn(o, e);
7885
- }, async handleConfirmSignIn({ user: o, code: e, mfaType: a }) {
7886
- return Auth.confirmSignIn(o, e, a);
7887
- }, async handleConfirmSignUp({ username: o, code: e }) {
7888
- return await Auth.confirmSignUp(o, e);
7889
- }, async handleForgotPasswordSubmit({ username: o, code: e, password: a }) {
7890
- return Auth.forgotPasswordSubmit(o, e, a);
7891
- }, async handleForgotPassword(o) {
7892
- return Auth.forgotPassword(o);
7893
- }, async validateCustomSignUp(o, e) {
7894
- }, async validateConfirmPassword(o, e) {
7895
- let { password: a, confirm_password: t } = o, { confirm_password: s, password: l } = e;
7914
+ }, async handleSignUp(r) {
7915
+ return Auth.signUp(r);
7916
+ }, async handleSignIn({ username: r, password: o }) {
7917
+ return Auth.signIn(r, o);
7918
+ }, async handleConfirmSignIn({ user: r, code: o, mfaType: a }) {
7919
+ return Auth.confirmSignIn(r, o, a);
7920
+ }, async handleConfirmSignUp({ username: r, code: o }) {
7921
+ return await Auth.confirmSignUp(r, o);
7922
+ }, async handleForgotPasswordSubmit({ username: r, code: o, password: a }) {
7923
+ return Auth.forgotPasswordSubmit(r, o, a);
7924
+ }, async handleForgotPassword(r) {
7925
+ return Auth.forgotPassword(r);
7926
+ }, async validateCustomSignUp(r, o) {
7927
+ }, async validateConfirmPassword(r, o) {
7928
+ let { password: a, confirm_password: t } = r, { confirm_password: s, password: l } = o;
7896
7929
  if (!a && !t)
7897
7930
  return null;
7898
7931
  if ((a || t) && a !== t && (s && l || a.length >= 6 && t.length >= 6))
7899
7932
  return { confirm_password: "Your passwords must match" };
7900
- }, async validatePreferredUsername(o, e) {
7933
+ }, async validatePreferredUsername(r, o) {
7901
7934
  } };
7902
- function Qe({ services: o }) {
7903
- return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: { SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: Fe, clearChallengeName: ze, clearRequiredAttributes: Be, clearError: I, clearFormValues: E, clearTouched: P, clearUnverifiedAttributes: Me, clearValidationError: R, handleInput: _, handleSubmit: U, handleBlur: N, parsePhoneNumber: Y, setChallengeName: He, setConfirmResetPasswordIntent: qe, setConfirmSignUpIntent: je, setRequiredAttributes: Le, setCredentials: K, setFieldErrors: W, setRemoteError: V, setUnverifiedAttributes: Ke, setUser: $, setUsernameAuthAttributes: Xe }, guards: { shouldConfirmSignIn: (e, a) => {
7935
+ function ao({ services: r }) {
7936
+ return createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: { SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: (o) => ({ user: o.user }) }, rejected: { type: "final", data: (o, a) => ({ intent: o.redirectIntent, authAttributes: o.authAttributes }) } } }, { actions: { clearAttributeToVerify: Le, clearChallengeName: He, clearRequiredAttributes: qe, clearError: E, clearFormValues: P, clearTouched: R, clearUnverifiedAttributes: je, clearValidationError: W, handleInput: _, handleSubmit: F, handleBlur: N, parsePhoneNumber: X, setChallengeName: Ye, setConfirmResetPasswordIntent: Xe, setConfirmSignUpIntent: Ze, setRequiredAttributes: $e, setCredentials: Y, setFieldErrors: V, setRemoteError: U, setUnverifiedAttributes: Qe, setUser: $, setUsernameAuthAttributes: oo }, guards: { shouldConfirmSignIn: (o, a) => {
7904
7937
  let t = get_1(a, "data.challengeName");
7905
7938
  return ["SMS_MFA", "SOFTWARE_TOKEN_MFA"].includes(t);
7906
- }, 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) => {
7939
+ }, shouldRedirectToConfirmSignUp: (o, a) => a.data.code === "UserNotConfirmedException", shouldRedirectToConfirmResetPassword: (o, a) => a.data.code === "PasswordResetRequiredException", shouldSetupTOTP: (o, a) => get_1(a, "data.challengeName") === "MFA_SETUP", shouldForceChangePassword: (o, a) => get_1(a, "data.challengeName") === "NEW_PASSWORD_REQUIRED", shouldRequestVerification: (o, a) => {
7907
7940
  let { unverified: t, verified: s } = a.data;
7908
7941
  return isEmpty_1(s) && !isEmpty_1(t);
7909
- } }, services: { async signIn(e) {
7910
- let { username: a, password: t } = e.formValues;
7911
- return await o.handleSignIn({ username: a, password: t });
7912
- }, async confirmSignIn(e, a) {
7913
- let { challengeName: t, user: s } = e, { confirmation_code: l } = e.formValues, u;
7914
- return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await o.handleConfirmSignIn({ user: s, code: l, mfaType: u }), await Auth.currentAuthenticatedUser();
7915
- }, async forceNewPassword(e, a) {
7916
- let { user: t, formValues: s } = e, f = s, { password: l, confirm_password: u, phone_number: v, country_code: c } = f, b = q(f, ["password", "confirm_password", "phone_number", "country_code"]), g;
7917
- return v && (g = `${c}${v}`.replace(/[^A-Z0-9+]/gi, ""), b = C(m({}, b), { phone_number: g })), Auth.completeNewPassword(t, l, b);
7918
- }, async verifyTotpToken(e, a) {
7919
- let { user: t } = e, { confirmation_code: s } = e.formValues;
7942
+ } }, services: { async signIn(o) {
7943
+ let { username: a, password: t } = o.formValues;
7944
+ return await r.handleSignIn({ username: a, password: t });
7945
+ }, async confirmSignIn(o, a) {
7946
+ let { challengeName: t, user: s } = o, { confirmation_code: l } = o.formValues, u;
7947
+ return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await r.handleConfirmSignIn({ user: s, code: l, mfaType: u }), await Auth.currentAuthenticatedUser();
7948
+ }, async forceNewPassword(o, a) {
7949
+ let { user: t, formValues: s } = o, h2 = s, { password: l, confirm_password: u, phone_number: v, country_code: d } = h2, f = q(h2, ["password", "confirm_password", "phone_number", "country_code"]), g;
7950
+ return v && (g = `${d}${v}`.replace(/[^A-Z0-9+]/gi, ""), f = C(m({}, f), { phone_number: g })), Auth.completeNewPassword(t, l, f);
7951
+ }, async verifyTotpToken(o, a) {
7952
+ let { user: t } = o, { confirmation_code: s } = o.formValues;
7920
7953
  return Auth.verifyTotpToken(t, s);
7921
- }, async federatedSignIn(e, a) {
7954
+ }, async federatedSignIn(o, a) {
7922
7955
  let { provider: t } = a.data;
7923
7956
  return await Auth.federatedSignIn({ provider: t });
7924
- }, async checkVerifiedContact(e, a) {
7925
- let { user: t } = e;
7957
+ }, async checkVerifiedContact(o, a) {
7958
+ let { user: t } = o;
7926
7959
  return await Auth.verifiedContact(t);
7927
- }, async verifyUser(e, a) {
7928
- let { unverifiedAttr: t } = e.formValues, s = await Auth.verifyCurrentUserAttribute(t);
7929
- return e.attributeToVerify = t, s;
7930
- }, async confirmVerifyUser(e, a) {
7931
- let { attributeToVerify: t } = e, { confirmation_code: s } = e.formValues;
7960
+ }, async verifyUser(o, a) {
7961
+ let { unverifiedAttr: t } = o.formValues, s = await Auth.verifyCurrentUserAttribute(t);
7962
+ return o.attributeToVerify = t, s;
7963
+ }, async confirmVerifyUser(o, a) {
7964
+ let { attributeToVerify: t } = o, { confirmation_code: s } = o.formValues;
7932
7965
  return await Auth.verifyCurrentUserAttributeSubmit(t, s);
7933
- }, async validateFields(e, a) {
7934
- return O(e.formValues, e.touched, [F.validateConfirmPassword]);
7966
+ }, async validateFields(o, a) {
7967
+ return O(o.formValues, o.touched, [z.validateConfirmPassword]);
7935
7968
  } } });
7936
7969
  }
7937
- r();
7938
- var Je = 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() } });
7939
- r();
7940
- function eo({ services: o }) {
7941
- 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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: I, clearFormValues: E, clearTouched: P, clearUsername: Ge, clearValidationError: R, handleInput: _, handleSubmit: U, handleBlur: N, setFieldErrors: W, setRemoteError: V, setUsername: $e }, guards: { shouldAutoConfirmReset: (e, a) => !!(e.intent && e.intent === "confirmPasswordReset") }, services: { async resetPassword(e) {
7970
+ e();
7971
+ var to = 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() } });
7972
+ e();
7973
+ function no({ services: r }) {
7974
+ 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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: P, clearTouched: R, clearUsername: Ke, clearValidationError: W, handleInput: _, handleSubmit: F, handleBlur: N, setFieldErrors: V, setRemoteError: U, setUsername: Je }, guards: { shouldAutoConfirmReset: (o, a) => !!(o.intent && o.intent === "confirmPasswordReset") }, services: { async resetPassword(o) {
7942
7975
  var t, s;
7943
- let a = (s = (t = e.formValues) == null ? void 0 : t.username) != null ? s : e.username;
7944
- return o.handleForgotPassword(a);
7945
- }, async confirmResetPassword(e) {
7946
- let { username: a } = e, { confirmation_code: t, password: s } = e.formValues;
7947
- return o.handleForgotPasswordSubmit({ username: a, code: t, password: s });
7948
- }, async validateFields(e, a) {
7949
- return O(e.formValues, e.touched, [F.validateConfirmPassword]);
7976
+ let a = (s = (t = o.formValues) == null ? void 0 : t.username) != null ? s : o.username;
7977
+ return r.handleForgotPassword(a);
7978
+ }, async confirmResetPassword(o) {
7979
+ let { username: a } = o, { confirmation_code: t, password: s } = o.formValues;
7980
+ return r.handleForgotPasswordSubmit({ username: a, code: t, password: s });
7981
+ }, async validateFields(o, a) {
7982
+ return O(o.formValues, o.touched, [z.validateConfirmPassword]);
7950
7983
  } } });
7951
7984
  }
7952
- r();
7953
- function oo({ services: o }) {
7954
- 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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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) => {
7955
- let { username: t, password: s } = e.authAttributes;
7956
- return { user: get_1(a, "data.user") || e.user, authAttributes: { username: t, password: s } };
7957
- } } } }, { 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: I, clearFormValues: E, clearTouched: P, clearValidationError: R, handleInput: _, handleSubmit: U, handleBlur: N, parsePhoneNumber: Y, setCredentials: K, setFieldErrors: W, setRemoteError: V, setCodeDeliveryDetails: Ye, setUser: $ }, services: { async signIn(e, a) {
7958
- let { user: t, authAttributes: s, formValues: l } = e, u = get_1(t, "username") || get_1(s, "username"), v = get_1(l, "password");
7985
+ e();
7986
+ function io({ services: r }) {
7987
+ 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: { actions: "handleSubmit", target: "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: { actions: "handleSubmit", target: "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: (o, a) => {
7988
+ let { username: t, password: s } = o.authAttributes;
7989
+ return { user: get_1(a, "data.user") || o.user, authAttributes: { username: t, password: s } };
7990
+ } } } }, { guards: { isUserAlreadyConfirmed: (o, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (o) => o.intent && o.intent === "confirmSignUp", shouldSkipConfirm: (o, a) => a.data.userConfirmed }, actions: { clearError: E, clearFormValues: P, clearTouched: R, clearValidationError: W, handleInput: _, handleSubmit: F, handleBlur: N, parsePhoneNumber: X, setCredentials: Y, setFieldErrors: V, setRemoteError: U, setCodeDeliveryDetails: eo, setUser: $ }, services: { async signIn(o, a) {
7991
+ let { user: t, authAttributes: s, formValues: l } = o, u = get_1(t, "username") || get_1(s, "username"), v = get_1(l, "password");
7959
7992
  return await Auth.signIn(u, v);
7960
- }, async confirmSignUp(e, a) {
7961
- let { user: t, authAttributes: s, formValues: l } = e, { confirmation_code: u } = l, v = get_1(t, "username") || get_1(s, "username"), { password: c } = s;
7962
- return await o.handleConfirmSignUp({ username: v, code: u }), await Auth.signIn(v, c);
7963
- }, async resendConfirmationCode(e, a) {
7964
- let { user: t, authAttributes: s } = e, l = get_1(t, "username") || get_1(s, "username");
7993
+ }, async confirmSignUp(o, a) {
7994
+ let { user: t, authAttributes: s, formValues: l } = o, { confirmation_code: u } = l, v = get_1(t, "username") || get_1(s, "username"), { password: d } = s;
7995
+ return await r.handleConfirmSignUp({ username: v, code: u }), await Auth.signIn(v, d);
7996
+ }, async resendConfirmationCode(o, a) {
7997
+ let { user: t, authAttributes: s } = o, l = get_1(t, "username") || get_1(s, "username");
7965
7998
  return Auth.resendSignUp(l);
7966
- }, async federatedSignIn(e, a) {
7999
+ }, async federatedSignIn(o, a) {
7967
8000
  let { provider: t } = a.data;
7968
8001
  return await Auth.federatedSignIn({ provider: t });
7969
- }, async signUp(e, a) {
7970
- let { formValues: t, loginMechanisms: s } = e, [l = "username"] = s, { [l]: u, password: v } = t, c = pickBy_1(t, (b, g) => {
8002
+ }, async signUp(o, a) {
8003
+ let { formValues: t, loginMechanisms: s } = o, [l = "username"] = s, { [l]: u, password: v } = t, d = pickBy_1(t, (f, g) => {
7971
8004
  switch (g) {
7972
8005
  case "address":
7973
8006
  case "birthdate":
@@ -7991,163 +8024,219 @@ function oo({ services: o }) {
7991
8024
  return g.startsWith("custom:");
7992
8025
  }
7993
8026
  });
7994
- return await o.handleSignUp({ username: u, password: v, attributes: c });
7995
- }, async validateSignUp(e, a) {
7996
- return O(e.formValues, e.touched, [o.validateConfirmPassword, o.validatePreferredUsername, o.validateCustomSignUp]);
8027
+ return await r.handleSignUp({ username: u, password: v, attributes: d });
8028
+ }, async validateSignUp(o, a) {
8029
+ return O(o.formValues, o.touched, [r.validateConfirmPassword, r.validatePreferredUsername, r.validateCustomSignUp]);
7997
8030
  } } });
7998
8031
  }
7999
- var ro = "+1";
8000
- function Cn() {
8001
- return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: {}, services: {}, actorRef: void 0 }, states: { idle: { on: { INIT: { target: "setup", actions: "configure" } } }, setup: { invoke: [{ src: (o, e) => o.services.getCurrentUser(), onDone: { actions: "setUser", target: "authenticated" }, onError: [{ target: "signUp", cond: (o) => o.config.initialState === "signUp" }, { target: "resetPassword", cond: (o) => o.config.initialState === "resetPassword" }, { target: "signIn" }] }, { src: (o, e) => o.services.getAmplifyConfig(), onDone: { actions: "applyAmplifyConfig" } }] }, signIn: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignInActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: H("signInActor") } }, on: { SIGN_UP: "signUp", RESET_PASSWORD: "resetPassword", "done.invoke.signInActor": [{ target: "signUp", actions: "setActorDoneData", cond: "shouldRedirectToSignUp" }, { target: "resetPassword", actions: "setActorDoneData", cond: "shouldRedirectToResetPassword" }, { target: "authenticated", actions: "setActorDoneData" }] } }, signUp: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignUpActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: H("signUpActor") } }, on: { SIGN_IN: "signIn", "done.invoke.signUpActor": { target: "setup", actions: "setActorDoneData" } } }, resetPassword: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnResetPasswordActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: H("resetPasswordActor") } }, on: { SIGN_IN: "signIn", "done.invoke.resetPasswordActor": { target: "signIn", actions: "setActorDoneData" } } }, signOut: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignOutActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: [H("signOutActor"), "clearUser"] } }, on: { "done.invoke.signOutActor": "signIn" } }, authenticated: { on: { SIGN_OUT: "signOut" } } }, on: { CHANGE: { actions: "forwardToActor" }, BLUR: { actions: "forwardToActor" }, SUBMIT: { actions: "forwardToActor" }, FEDERATED_SIGN_IN: { actions: "forwardToActor" }, RESEND: { actions: "forwardToActor" }, SIGN_OUT: { actions: "forwardToActor" }, SIGN_IN: { actions: "forwardToActor" }, SKIP: { actions: "forwardToActor" } } }, { actions: { forwardToActor: forwardTo$1((o) => o.actorRef), setUser: assign$3({ user: (o, e) => e.data }), setActorDoneData: assign$3({ actorDoneData: (o, e) => ({ authAttributes: m({}, e.data.authAttributes), intent: e.data.intent }), user: (o, e) => e.data.user }), clearUser: assign$3({ user: void 0 }), clearActorDoneData: assign$3({ actorDoneData: void 0 }), applyAmplifyConfig: assign$3({ config(o, e) {
8002
- var g, f, B, M, fe, he, be, Se;
8003
- let a = (f = (g = e.data.aws_cognito_username_attributes) == null ? void 0 : g.map((T) => T.toLowerCase())) != null ? f : [], t = (M = (B = e.data.aws_cognito_verification_mechanisms) == null ? void 0 : B.map((T) => T.toLowerCase())) != null ? M : [], s = (he = (fe = e.data.aws_cognito_signup_attributes) == null ? void 0 : fe.map((T) => T.toLowerCase())) != null ? he : [], l = (Se = (be = e.data.aws_cognito_social_providers) == null ? void 0 : be.map((T) => T.toLowerCase())) != null ? Se : [];
8032
+ var so = "+1";
8033
+ function jn() {
8034
+ return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: {}, services: {}, actorRef: void 0 }, states: { idle: { on: { INIT: { target: "setup", actions: "configure" } } }, setup: { invoke: [{ src: (r, o) => r.services.getCurrentUser(), onDone: { actions: "setUser", target: "authenticated" }, onError: [{ target: "signUp", cond: (r) => r.config.initialState === "signUp" }, { target: "resetPassword", cond: (r) => r.config.initialState === "resetPassword" }, { target: "signIn" }] }, { src: (r, o) => r.services.getAmplifyConfig(), onDone: { actions: "applyAmplifyConfig" } }] }, signIn: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignInActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: L("signInActor") } }, on: { SIGN_UP: "signUp", RESET_PASSWORD: "resetPassword", "done.invoke.signInActor": [{ target: "signUp", actions: "setActorDoneData", cond: "shouldRedirectToSignUp" }, { target: "resetPassword", actions: "setActorDoneData", cond: "shouldRedirectToResetPassword" }, { target: "authenticated", actions: "setActorDoneData" }] } }, signUp: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignUpActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: L("signUpActor") } }, on: { SIGN_IN: "signIn", "done.invoke.signUpActor": { target: "setup", actions: "setActorDoneData" } } }, resetPassword: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnResetPasswordActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: L("resetPasswordActor") } }, on: { SIGN_IN: "signIn", "done.invoke.resetPasswordActor": { target: "signIn", actions: "setActorDoneData" } } }, signOut: { initial: "spawnActor", states: { spawnActor: { always: { actions: "spawnSignOutActor", target: "runActor" } }, runActor: { entry: "clearActorDoneData", exit: [L("signOutActor"), "clearUser"] } }, on: { "done.invoke.signOutActor": "signIn" } }, authenticated: { on: { SIGN_OUT: "signOut" } } }, on: { CHANGE: { actions: "forwardToActor" }, BLUR: { actions: "forwardToActor" }, SUBMIT: { actions: "forwardToActor" }, FEDERATED_SIGN_IN: { actions: "forwardToActor" }, RESEND: { actions: "forwardToActor" }, SIGN_OUT: { actions: "forwardToActor" }, SIGN_IN: { actions: "forwardToActor" }, SKIP: { actions: "forwardToActor" } } }, { actions: { forwardToActor: forwardTo$1((r) => r.actorRef), setUser: assign$3({ user: (r, o) => o.data }), setActorDoneData: assign$3({ actorDoneData: (r, o) => {
8035
+ var a, t;
8036
+ return { authAttributes: m({}, (a = o.data) == null ? void 0 : a.authAttributes), intent: (t = o.data) == null ? void 0 : t.intent };
8037
+ }, user: (r, o) => {
8038
+ var a;
8039
+ return (a = o.data) == null ? void 0 : a.user;
8040
+ } }), clearUser: assign$3({ user: void 0 }), clearActorDoneData: assign$3({ actorDoneData: void 0 }), applyAmplifyConfig: assign$3({ config(r, o) {
8041
+ var h2, B, G, he, be, Se, ye, Ce, ke;
8042
+ let a = (B = (h2 = o.data.aws_cognito_username_attributes) == null ? void 0 : h2.map((A) => A.toLowerCase())) != null ? B : [], t = (he = (G = o.data.aws_cognito_verification_mechanisms) == null ? void 0 : G.map((A) => A.toLowerCase())) != null ? he : [], s = (Se = (be = o.data.aws_cognito_signup_attributes) == null ? void 0 : be.map((A) => A.toLowerCase())) != null ? Se : [], l = (Ce = (ye = o.data.aws_cognito_social_providers) == null ? void 0 : ye.map((A) => A.toLowerCase())) != null ? Ce : [];
8004
8043
  a.length === 0 && a.push("username");
8005
- let { loginMechanisms: u, signUpAttributes: v, socialProviders: c, initialState: b } = o.config;
8006
- return { loginMechanisms: u != null ? u : a, signUpAttributes: v != null ? v : Array.from(new Set([...t, ...s])), socialProviders: c != null ? c : l.sort(), initialState: b };
8007
- } }), spawnSignInActor: assign$3({ actorRef: (o, e) => {
8008
- var s, l, u, v;
8009
- let { services: a } = o, t = Qe({ services: a }).withContext({ authAttributes: (s = o.actorDoneData) == null ? void 0 : s.authAttributes, user: o.user, intent: (l = o.actorDoneData) == null ? void 0 : l.intent, country_code: ro, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (u = o.config) == null ? void 0 : u.loginMechanisms, socialProviders: (v = o.config) == null ? void 0 : v.socialProviders });
8044
+ let { loginMechanisms: u, signUpAttributes: v, socialProviders: d, initialState: f, formFields: g } = r.config;
8045
+ return { loginMechanisms: u != null ? u : a, formFields: (ke = ha(g)) != null ? ke : {}, signUpAttributes: v != null ? v : Array.from(new Set([...t, ...s])), socialProviders: d != null ? d : l.sort(), initialState: f };
8046
+ } }), spawnSignInActor: assign$3({ actorRef: (r, o) => {
8047
+ var s, l, u, v, d;
8048
+ let { services: a } = r, t = ao({ services: a }).withContext({ authAttributes: (s = r.actorDoneData) == null ? void 0 : s.authAttributes, user: r.user, intent: (l = r.actorDoneData) == null ? void 0 : l.intent, country_code: so, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (u = r.config) == null ? void 0 : u.loginMechanisms, socialProviders: (v = r.config) == null ? void 0 : v.socialProviders, formFields: (d = r.config) == null ? void 0 : d.formFields });
8010
8049
  return spawn(t, { name: "signInActor" });
8011
- } }), spawnSignUpActor: assign$3({ actorRef: (o, e) => {
8012
- var s, l, u, v, c;
8013
- let { services: a } = o, t = oo({ services: a }).withContext({ authAttributes: (l = (s = o.actorDoneData) == null ? void 0 : s.authAttributes) != null ? l : {}, country_code: ro, intent: (u = o.actorDoneData) == null ? void 0 : u.intent, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (v = o.config) == null ? void 0 : v.loginMechanisms, socialProviders: (c = o.config) == null ? void 0 : c.socialProviders });
8050
+ } }), spawnSignUpActor: assign$3({ actorRef: (r, o) => {
8051
+ var s, l, u, v, d, f;
8052
+ let { services: a } = r, t = io({ services: a }).withContext({ authAttributes: (l = (s = r.actorDoneData) == null ? void 0 : s.authAttributes) != null ? l : {}, country_code: so, intent: (u = r.actorDoneData) == null ? void 0 : u.intent, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (v = r.config) == null ? void 0 : v.loginMechanisms, socialProviders: (d = r.config) == null ? void 0 : d.socialProviders, formFields: (f = r.config) == null ? void 0 : f.formFields });
8014
8053
  return spawn(t, { name: "signUpActor" });
8015
- } }), spawnResetPasswordActor: assign$3({ actorRef: (o, e) => {
8016
- var s, l, u;
8017
- let { services: a } = o, t = eo({ services: a }).withContext({ formValues: {}, touched: {}, intent: (s = o.actorDoneData) == null ? void 0 : s.intent, username: (u = (l = o.actorDoneData) == null ? void 0 : l.authAttributes) == null ? void 0 : u.username, validationError: {} });
8054
+ } }), spawnResetPasswordActor: assign$3({ actorRef: (r, o) => {
8055
+ var s, l, u, v;
8056
+ let { services: a } = r, t = no({ services: a }).withContext({ formValues: {}, touched: {}, intent: (s = r.actorDoneData) == null ? void 0 : s.intent, username: (u = (l = r.actorDoneData) == null ? void 0 : l.authAttributes) == null ? void 0 : u.username, formFields: (v = r.config) == null ? void 0 : v.formFields, validationError: {} });
8018
8057
  return spawn(t, { name: "resetPasswordActor" });
8019
- } }), spawnSignOutActor: assign$3({ actorRef: (o) => {
8020
- let e = Je.withContext({ user: o.user });
8021
- return spawn(e, { name: "signOutActor" });
8022
- } }), configure: assign$3((o, e) => {
8023
- let s = e.data, { services: a } = s, t = q(s, ["services"]);
8024
- return { services: m(m({}, F), a), config: t };
8025
- }) }, guards: { shouldRedirectToSignUp: (o, e) => {
8058
+ } }), spawnSignOutActor: assign$3({ actorRef: (r) => {
8059
+ let o = to.withContext({ user: r.user });
8060
+ return spawn(o, { name: "signOutActor" });
8061
+ } }), configure: assign$3((r, o) => {
8062
+ let s = o.data, { services: a } = s, t = q(s, ["services"]);
8063
+ return { services: m(m({}, z), a), config: t };
8064
+ }) }, guards: { shouldRedirectToSignUp: (r, o) => {
8026
8065
  var a;
8027
- return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmSignUp" : false;
8028
- }, shouldRedirectToResetPassword: (o, e) => {
8066
+ return ((a = o.data) == null ? void 0 : a.intent) ? o.data.intent === "confirmSignUp" : false;
8067
+ }, shouldRedirectToResetPassword: (r, o) => {
8029
8068
  var a;
8030
- return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmPasswordReset" : false;
8069
+ return ((a = o.data) == null ? void 0 : a.intent) ? o.data.intent === "confirmPasswordReset" : false;
8031
8070
  } } });
8032
8071
  }
8033
- r();
8034
- r();
8035
- r();
8036
- r();
8037
- r();
8038
- var ao = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
8039
- r();
8040
- var to = { red: { 10: { value: "hsl(0, 75%, 95%)" }, 20: { value: "hsl(0, 75%, 85%)" }, 40: { value: "hsl(0, 75%, 75%)" }, 60: { value: "hsl(0, 50%, 50%)" }, 80: { value: "hsl(0, 95%, 30%)" }, 90: { value: "hsl(0, 100%, 20%)" }, 100: { value: "hsl(0, 100%, 15%)" } }, orange: { 10: { value: "hsl(30, 75%, 95%)" }, 20: { value: "hsl(30, 75%, 85%)" }, 40: { value: "hsl(30, 75%, 75%)" }, 60: { value: "hsl(30, 50%, 50%)" }, 80: { value: "hsl(30, 95%, 30%)" }, 90: { value: "hsl(30, 100%, 20%)" }, 100: { value: "hsl(30, 100%, 15%)" } }, yellow: { 10: { value: "hsl(60, 75%, 95%)" }, 20: { value: "hsl(60, 75%, 85%)" }, 40: { value: "hsl(60, 75%, 75%)" }, 60: { value: "hsl(60, 50%, 50%)" }, 80: { value: "hsl(60, 95%, 30%)" }, 90: { value: "hsl(60, 100%, 20%)" }, 100: { value: "hsl(60, 100%, 15%)" } }, green: { 10: { value: "hsl(130, 60%, 95%)" }, 20: { value: "hsl(130, 60%, 90%)" }, 40: { value: "hsl(130, 44%, 63%)" }, 60: { value: "hsl(130, 43%, 46%)" }, 80: { value: "hsl(130, 33%, 37%)" }, 90: { value: "hsl(130, 27%, 29%)" }, 100: { value: "hsl(130, 22%, 23%)" } }, teal: { 10: { value: "hsl(190, 75%, 95%)" }, 20: { value: "hsl(190, 75%, 85%)" }, 40: { value: "hsl(190, 70%, 70%)" }, 60: { value: "hsl(190, 50%, 50%)" }, 80: { value: "hsl(190, 95%, 30%)" }, 90: { value: "hsl(190, 100%, 20%)" }, 100: { value: "hsl(190, 100%, 15%)" } }, blue: { 10: { value: "hsl(220, 95%, 95%)" }, 20: { value: "hsl(220, 85%, 85%)" }, 40: { value: "hsl(220, 70%, 70%)" }, 60: { value: "hsl(220, 50%, 50%)" }, 80: { value: "hsl(220, 95%, 30%)" }, 90: { value: "hsl(220, 100%, 20%)" }, 100: { value: "hsl(220, 100%, 15%)" } }, purple: { 10: { value: "hsl(300, 95%, 95%)" }, 20: { value: "hsl(300, 85%, 85%)" }, 40: { value: "hsl(300, 70%, 70%)" }, 60: { value: "hsl(300, 50%, 50%)" }, 80: { value: "hsl(300, 95%, 30%)" }, 90: { value: "hsl(300, 100%, 20%)" }, 100: { value: "hsl(300, 100%, 15%)" } }, pink: { 10: { value: "hsl(340, 95%, 95%)" }, 20: { value: "hsl(340, 90%, 85%)" }, 40: { value: "hsl(340, 70%, 70%)" }, 60: { value: "hsl(340, 50%, 50%)" }, 80: { value: "hsl(340, 95%, 30%)" }, 90: { value: "hsl(340, 100%, 20%)" }, 100: { value: "hsl(340, 100%, 15%)" } }, neutral: { 10: { value: "hsl(210, 5%, 98%)" }, 20: { value: "hsl(210, 5%, 94%)" }, 40: { value: "hsl(210, 5%, 87%)" }, 60: { value: "hsl(210, 6%, 70%)" }, 80: { value: "hsl(210, 10%, 40%)" }, 90: { value: "hsl(210, 25%, 25%)" }, 100: { value: "hsl(210, 50%, 10%)" } }, brand: { primary: { 10: { value: "{colors.teal.10.value}" }, 20: { value: "{colors.teal.20.value}" }, 40: { value: "{colors.teal.40.value}" }, 60: { value: "{colors.teal.60.value}" }, 80: { value: "{colors.teal.80.value}" }, 90: { value: "{colors.teal.90.value}" }, 100: { value: "{colors.teal.100.value}" } }, secondary: { 10: { value: "{colors.purple.10.value}" }, 20: { value: "{colors.purple.20.value}" }, 40: { value: "{colors.purple.40.value}" }, 60: { value: "{colors.purple.60.value}" }, 80: { value: "{colors.purple.80.value}" }, 90: { value: "{colors.purple.90.value}" }, 100: { value: "{colors.purple.100.value}" } } }, font: { primary: { value: "{colors.neutral.100.value}" }, secondary: { value: "{colors.neutral.90.value}" }, tertiary: { value: "{colors.neutral.80.value}" }, disabled: { value: "{colors.font.tertiary.value}" }, inverse: { value: "{colors.white.value}" }, interactive: { value: "{colors.brand.primary.80.value}" }, hover: { value: "{colors.brand.primary.90.value}" }, focus: { value: "{colors.brand.primary.100.value}" }, active: { value: "{colors.brand.primary.100.value}" }, info: { value: "{colors.blue.90.value}" }, warning: { value: "{colors.orange.90.value}" }, error: { value: "{colors.red.90.value}" }, success: { value: "{colors.green.90.value}" } }, background: { primary: { value: "{colors.white.value}" }, secondary: { value: "{colors.neutral.10.value}" }, tertiary: { value: "{colors.neutral.20.value}" }, disabled: { value: "{colors.background.tertiary.value}" }, info: { value: "{colors.blue.20.value}" }, warning: { value: "{colors.orange.20.value}" }, error: { value: "{colors.red.20.value}" }, success: { value: "{colors.green.20.value}" } }, border: { primary: { value: "{colors.neutral.60.value}" }, secondary: { value: "{colors.neutral.40.value}" }, tertiary: { value: "{colors.neutral.20.value}" }, disabled: { value: "{colors.border.tertiary.value}" }, focus: { value: "{colors.brand.primary.100.value}" }, error: { value: "{colors.red.80.value}" } }, shadow: { primary: { value: "hsla(210, 50%, 10%, 0.25)" }, secondary: { value: "hsla(210, 50%, 10%, 0.15)" }, tertiary: { value: "hsla(210, 50%, 10%, 0.05)" } }, overlay: { 10: { value: "hsla(0, 0%, 0%, 0.1)" }, 20: { value: "hsla(0, 0%, 0%, 0.2)" }, 30: { value: "hsla(0, 0%, 0%, 0.3)" }, 40: { value: "hsla(0, 0%, 0%, 0.4)" }, 50: { value: "hsla(0, 0%, 0%, 0.5)" }, 60: { value: "hsla(0, 0%, 0%, 0.6)" }, 70: { value: "hsla(0, 0%, 0%, 0.7)" }, 80: { value: "hsla(0, 0%, 0%, 0.8)" }, 90: { value: "hsla(0, 0%, 0%, 0.9)" } }, black: { value: "hsl(0, 0%, 0%)" }, white: { value: "hsl(0, 0%, 100%)" }, transparent: { value: "transparent" } };
8041
- r();
8042
- var no = { default: { variable: { value: `'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,
8072
+ function ha(r) {
8073
+ return r && Object.keys(r).forEach((o) => {
8074
+ Object.keys(r[o]).forEach((a) => {
8075
+ let t = r[o][a];
8076
+ t.required = t.isRequired;
8077
+ });
8078
+ }), r;
8079
+ }
8080
+ e();
8081
+ e();
8082
+ e();
8083
+ e();
8084
+ e();
8085
+ var lo = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
8086
+ e();
8087
+ var uo = { red: { 10: { value: "hsl(0, 75%, 95%)" }, 20: { value: "hsl(0, 75%, 85%)" }, 40: { value: "hsl(0, 75%, 75%)" }, 60: { value: "hsl(0, 50%, 50%)" }, 80: { value: "hsl(0, 95%, 30%)" }, 90: { value: "hsl(0, 100%, 20%)" }, 100: { value: "hsl(0, 100%, 15%)" } }, orange: { 10: { value: "hsl(30, 75%, 95%)" }, 20: { value: "hsl(30, 75%, 85%)" }, 40: { value: "hsl(30, 75%, 75%)" }, 60: { value: "hsl(30, 50%, 50%)" }, 80: { value: "hsl(30, 95%, 30%)" }, 90: { value: "hsl(30, 100%, 20%)" }, 100: { value: "hsl(30, 100%, 15%)" } }, yellow: { 10: { value: "hsl(60, 75%, 95%)" }, 20: { value: "hsl(60, 75%, 85%)" }, 40: { value: "hsl(60, 75%, 75%)" }, 60: { value: "hsl(60, 50%, 50%)" }, 80: { value: "hsl(60, 95%, 30%)" }, 90: { value: "hsl(60, 100%, 20%)" }, 100: { value: "hsl(60, 100%, 15%)" } }, green: { 10: { value: "hsl(130, 60%, 95%)" }, 20: { value: "hsl(130, 60%, 90%)" }, 40: { value: "hsl(130, 44%, 63%)" }, 60: { value: "hsl(130, 43%, 46%)" }, 80: { value: "hsl(130, 33%, 37%)" }, 90: { value: "hsl(130, 27%, 29%)" }, 100: { value: "hsl(130, 22%, 23%)" } }, teal: { 10: { value: "hsl(190, 75%, 95%)" }, 20: { value: "hsl(190, 75%, 85%)" }, 40: { value: "hsl(190, 70%, 70%)" }, 60: { value: "hsl(190, 50%, 50%)" }, 80: { value: "hsl(190, 95%, 30%)" }, 90: { value: "hsl(190, 100%, 20%)" }, 100: { value: "hsl(190, 100%, 15%)" } }, blue: { 10: { value: "hsl(220, 95%, 95%)" }, 20: { value: "hsl(220, 85%, 85%)" }, 40: { value: "hsl(220, 70%, 70%)" }, 60: { value: "hsl(220, 50%, 50%)" }, 80: { value: "hsl(220, 95%, 30%)" }, 90: { value: "hsl(220, 100%, 20%)" }, 100: { value: "hsl(220, 100%, 15%)" } }, purple: { 10: { value: "hsl(300, 95%, 95%)" }, 20: { value: "hsl(300, 85%, 85%)" }, 40: { value: "hsl(300, 70%, 70%)" }, 60: { value: "hsl(300, 50%, 50%)" }, 80: { value: "hsl(300, 95%, 30%)" }, 90: { value: "hsl(300, 100%, 20%)" }, 100: { value: "hsl(300, 100%, 15%)" } }, pink: { 10: { value: "hsl(340, 95%, 95%)" }, 20: { value: "hsl(340, 90%, 85%)" }, 40: { value: "hsl(340, 70%, 70%)" }, 60: { value: "hsl(340, 50%, 50%)" }, 80: { value: "hsl(340, 95%, 30%)" }, 90: { value: "hsl(340, 100%, 20%)" }, 100: { value: "hsl(340, 100%, 15%)" } }, neutral: { 10: { value: "hsl(210, 5%, 98%)" }, 20: { value: "hsl(210, 5%, 94%)" }, 40: { value: "hsl(210, 5%, 87%)" }, 60: { value: "hsl(210, 6%, 70%)" }, 80: { value: "hsl(210, 10%, 40%)" }, 90: { value: "hsl(210, 25%, 25%)" }, 100: { value: "hsl(210, 50%, 10%)" } }, brand: { primary: { 10: { value: "{colors.teal.10.value}" }, 20: { value: "{colors.teal.20.value}" }, 40: { value: "{colors.teal.40.value}" }, 60: { value: "{colors.teal.60.value}" }, 80: { value: "{colors.teal.80.value}" }, 90: { value: "{colors.teal.90.value}" }, 100: { value: "{colors.teal.100.value}" } }, secondary: { 10: { value: "{colors.purple.10.value}" }, 20: { value: "{colors.purple.20.value}" }, 40: { value: "{colors.purple.40.value}" }, 60: { value: "{colors.purple.60.value}" }, 80: { value: "{colors.purple.80.value}" }, 90: { value: "{colors.purple.90.value}" }, 100: { value: "{colors.purple.100.value}" } } }, font: { primary: { value: "{colors.neutral.100.value}" }, secondary: { value: "{colors.neutral.90.value}" }, tertiary: { value: "{colors.neutral.80.value}" }, disabled: { value: "{colors.font.tertiary.value}" }, inverse: { value: "{colors.white.value}" }, interactive: { value: "{colors.brand.primary.80.value}" }, hover: { value: "{colors.brand.primary.90.value}" }, focus: { value: "{colors.brand.primary.100.value}" }, active: { value: "{colors.brand.primary.100.value}" }, info: { value: "{colors.blue.90.value}" }, warning: { value: "{colors.orange.90.value}" }, error: { value: "{colors.red.90.value}" }, success: { value: "{colors.green.90.value}" } }, background: { primary: { value: "{colors.white.value}" }, secondary: { value: "{colors.neutral.10.value}" }, tertiary: { value: "{colors.neutral.20.value}" }, disabled: { value: "{colors.background.tertiary.value}" }, info: { value: "{colors.blue.20.value}" }, warning: { value: "{colors.orange.20.value}" }, error: { value: "{colors.red.20.value}" }, success: { value: "{colors.green.20.value}" } }, border: { primary: { value: "{colors.neutral.60.value}" }, secondary: { value: "{colors.neutral.40.value}" }, tertiary: { value: "{colors.neutral.20.value}" }, disabled: { value: "{colors.border.tertiary.value}" }, focus: { value: "{colors.brand.primary.100.value}" }, error: { value: "{colors.red.80.value}" } }, shadow: { primary: { value: "hsla(210, 50%, 10%, 0.25)" }, secondary: { value: "hsla(210, 50%, 10%, 0.15)" }, tertiary: { value: "hsla(210, 50%, 10%, 0.05)" } }, overlay: { 10: { value: "hsla(0, 0%, 0%, 0.1)" }, 20: { value: "hsla(0, 0%, 0%, 0.2)" }, 30: { value: "hsla(0, 0%, 0%, 0.3)" }, 40: { value: "hsla(0, 0%, 0%, 0.4)" }, 50: { value: "hsla(0, 0%, 0%, 0.5)" }, 60: { value: "hsla(0, 0%, 0%, 0.6)" }, 70: { value: "hsla(0, 0%, 0%, 0.7)" }, 80: { value: "hsla(0, 0%, 0%, 0.8)" }, 90: { value: "hsla(0, 0%, 0%, 0.9)" } }, black: { value: "hsl(0, 0%, 0%)" }, white: { value: "hsl(0, 0%, 100%)" }, transparent: { value: "transparent" } };
8088
+ e();
8089
+ var co = { default: { variable: { value: `'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,
8043
8090
  'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',
8044
8091
  sans-serif` }, static: { value: `'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
8045
8092
  'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif` } } };
8046
- r();
8047
- var io = { 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" } };
8048
- r();
8049
- var so = { 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 } };
8050
- r();
8051
- var lo = { small: { value: "1.25" }, medium: { value: "1.5" }, large: { value: "2" } };
8052
- r();
8053
- var uo = { 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" } };
8054
- r();
8055
- var co = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
8056
- r();
8057
- var mo = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
8058
- r();
8059
- var vo = { xs: { value: "0.125rem" }, small: { value: "0.25rem" }, medium: { value: "0.5rem" }, large: { value: "1rem" }, xl: { value: "2rem" }, xxl: { value: "4rem" }, xxxl: { value: "8rem" } };
8060
- r();
8061
- var po = { small: { value: { offsetX: "0px", offsetY: "2px", blurRadius: "4px", color: "{colors.shadow.tertiary.value}" } }, medium: { value: { offsetX: "0px", offsetY: "2px", blurRadius: "6px", color: "{colors.shadow.secondary.value}" } }, large: { value: { offsetX: "0px", offsetY: "4px", blurRadius: "12px", color: "{colors.shadow.primary.value}" } } };
8062
- r();
8063
- var go = { xxxs: { value: "0.25rem" }, xxs: { value: "0.375rem" }, xs: { value: "0.5rem" }, small: { value: "0.75rem" }, medium: { value: "1rem" }, large: { value: "1.5rem" }, xl: { value: "2.0rem" }, xxl: { value: "3.0rem" }, xxxl: { value: "4.5rem" }, relative: { xxxs: { value: "0.25em" }, xxs: { value: "0.375rem" }, xs: { value: "0.5em" }, small: { value: "0.75em" }, medium: { value: "1em" }, large: { value: "1.5em" }, xl: { value: "2.0em" }, xxl: { value: "3.0em" }, xxxl: { value: "4.5em" } } };
8064
- r();
8065
- var fo = { short: { value: "100ms" }, medium: { value: "250ms" }, long: { value: "500ms" } };
8066
- r();
8067
- var ho = { slideX: { small: { value: "translateX(0.5em)" }, medium: { value: "translateX(1em)" }, large: { value: "translateX(2em)" } } };
8068
- var Nr = { components: Ur(), borderWidths: ao, colors: to, fonts: no, fontSizes: io, fontWeights: so, lineHeights: lo, opacities: uo, outlineOffsets: co, outlineWidths: mo, radii: vo, shadows: po, space: go, time: fo, transforms: ho };
8069
- r();
8070
- var Or = { values: { base: 0, small: 480, medium: 768, large: 992, xl: 1280, xxl: 1536 }, defaultBreakpoint: "base" };
8071
- var Q = { tokens: Nr, breakpoints: Or, name: "base-theme" };
8072
- r();
8073
- var ca = "amplify";
8074
- function z(o) {
8075
- if (usesReference_1(o)) {
8076
- let e = o.replace(/\{|\}/g, "").replace(".value", "").split(".");
8077
- return `var(--${pe({ path: e })})`;
8093
+ e();
8094
+ var mo = { 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" } };
8095
+ e();
8096
+ var vo = { 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 } };
8097
+ e();
8098
+ var po = { small: { value: "1.25" }, medium: { value: "1.5" }, large: { value: "2" } };
8099
+ e();
8100
+ var go = { 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" } };
8101
+ e();
8102
+ var fo = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
8103
+ e();
8104
+ var ho = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
8105
+ e();
8106
+ var bo = { xs: { value: "0.125rem" }, small: { value: "0.25rem" }, medium: { value: "0.5rem" }, large: { value: "1rem" }, xl: { value: "2rem" }, xxl: { value: "4rem" }, xxxl: { value: "8rem" } };
8107
+ e();
8108
+ var So = { small: { value: { offsetX: "0px", offsetY: "2px", blurRadius: "4px", color: "{colors.shadow.tertiary.value}" } }, medium: { value: { offsetX: "0px", offsetY: "2px", blurRadius: "6px", color: "{colors.shadow.secondary.value}" } }, large: { value: { offsetX: "0px", offsetY: "4px", blurRadius: "12px", color: "{colors.shadow.primary.value}" } } };
8109
+ e();
8110
+ var yo = { zero: { value: "0" }, xxxs: { value: "0.25rem" }, xxs: { value: "0.375rem" }, xs: { value: "0.5rem" }, small: { value: "0.75rem" }, medium: { value: "1rem" }, large: { value: "1.5rem" }, xl: { value: "2.0rem" }, xxl: { value: "3.0rem" }, xxxl: { value: "4.5rem" }, relative: { xxxs: { value: "0.25em" }, xxs: { value: "0.375em" }, xs: { value: "0.5em" }, small: { value: "0.75em" }, medium: { value: "1em" }, large: { value: "1.5em" }, xl: { value: "2.0em" }, xxl: { value: "3.0em" }, xxxl: { value: "4.5em" }, full: { value: "100%" } } };
8111
+ e();
8112
+ var Co = { short: { value: "100ms" }, medium: { value: "250ms" }, long: { value: "500ms" } };
8113
+ e();
8114
+ var ko = { slideX: { small: { value: "translateX(0.5em)" }, medium: { value: "translateX(1em)" }, large: { value: "translateX(2em)" } } };
8115
+ var qr = { components: Hr(), borderWidths: lo, colors: uo, fonts: co, fontSizes: mo, fontWeights: vo, lineHeights: po, opacities: go, outlineOffsets: fo, outlineWidths: ho, radii: bo, shadows: So, space: yo, time: Co, transforms: ko };
8116
+ e();
8117
+ var jr = { values: { base: 0, small: 480, medium: 768, large: 992, xl: 1280, xxl: 1536 }, defaultBreakpoint: "base" };
8118
+ var J = { tokens: qr, breakpoints: jr, name: "default-theme" };
8119
+ e();
8120
+ var ya = "amplify";
8121
+ function M(r) {
8122
+ if (usesReference_1(r)) {
8123
+ let o = r.replace(/\{|\}/g, "").replace(".value", "").split(".");
8124
+ return `var(--${ge({ path: o })})`;
8125
+ }
8126
+ return r;
8127
+ }
8128
+ function Kr(r) {
8129
+ let { value: o } = r;
8130
+ if (typeof o == "string")
8131
+ return M(o);
8132
+ if (typeof o == "object" && "offsetX" in o) {
8133
+ let { offsetX: a = "", offsetY: t = "", blurRadius: s = "", spreadRadius: l = "", color: u = "" } = o;
8134
+ return [M(a), M(t), M(s), M(l), M(u)].join(" ");
8078
8135
  }
8079
8136
  return o;
8080
8137
  }
8081
- function Fr(o) {
8082
- let { value: e } = o;
8083
- if (typeof e == "string")
8084
- return z(e);
8085
- if (typeof e == "object" && "offsetX" in e) {
8086
- let { offsetX: a = "", offsetY: t = "", blurRadius: s = "", spreadRadius: l = "", color: u = "" } = e;
8087
- return [z(a), z(t), z(s), z(l), z(u)].join(" ");
8088
- }
8089
- return e;
8138
+ function ge({ path: r = [] }) {
8139
+ return `${kebabCase_1([ya, ...r].join(" "))}`;
8090
8140
  }
8091
- function pe({ path: o = [] }) {
8092
- return `${kebabCase_1([ca, ...o].join(" "))}`;
8141
+ function ka(r, o) {
8142
+ let a = `--${ge({ path: o })}`, { value: t } = r;
8143
+ return { name: a, path: o, value: Kr(r), original: t, toString: () => `var(${a})` };
8093
8144
  }
8094
- function va(o, e) {
8095
- let a = `--${pe({ path: e })}`, { value: t } = o;
8096
- return { name: a, path: e, value: Fr(o), original: t, toString: () => `var(${a})` };
8097
- }
8098
- function ge(o, e = []) {
8145
+ function fe(r, o = []) {
8099
8146
  let a = {};
8100
- if (o.hasOwnProperty("value"))
8101
- return va(o, e);
8102
- for (let t in o)
8103
- o.hasOwnProperty(t) && (a[t] = ge(o[t], e.concat(t)));
8147
+ if (r.hasOwnProperty("value"))
8148
+ return ka(r, o);
8149
+ for (let t in r)
8150
+ r.hasOwnProperty(t) && (a[t] = fe(r[t], o.concat(t)));
8104
8151
  return a;
8105
8152
  }
8106
- function Br(o, e = Q) {
8107
- let a = deepExtend_1([{}, e, o]), t = ge(a.tokens), { breakpoints: s, name: l } = a, u = `[data-amplify-theme="${l}"] {
8108
- ` + flattenProperties_1(t).map((c) => `${c.name}: ${c.value};`).join(`
8153
+ function $r(r, o = J) {
8154
+ let a = deepExtend_1([{}, o, r]), t = fe(a.tokens), { breakpoints: s, name: l } = a, u = `[data-amplify-theme="${l}"] {
8155
+ ` + flattenProperties_1(t).map((d) => `${d.name}: ${d.value};`).join(`
8109
8156
  `) + `
8110
8157
  }
8111
8158
  `, v = [];
8112
- return a.overrides && (v = a.overrides.map((c) => {
8113
- let b = ge(c.tokens), g = flattenProperties_1(b).map((f) => `${f.name}: ${f.value};`).join(`
8159
+ return a.overrides && (v = a.overrides.map((d) => {
8160
+ let f = fe(d.tokens), g = flattenProperties_1(f).map((h2) => `${h2.name}: ${h2.value};`).join(`
8114
8161
  `);
8115
- return "selector" in c && (u += `
8116
- ${c.selector} {
8162
+ return "selector" in d && (u += `
8163
+ ${d.selector} {
8117
8164
  ${g}
8118
8165
  }
8119
- `), "mediaQuery" in c && (u += `
8120
- @media (${c.mediaQuery}) {
8166
+ `), "mediaQuery" in d && (u += `
8167
+ @media (${d.mediaQuery}) {
8121
8168
  [data-amplify-theme="${l}"] {
8122
8169
  ${g}
8123
8170
  }
8124
8171
  }
8125
- `), "breakpoint" in c && (u += `
8126
- @media (min-width: ${a.breakpoints.values[c.breakpoint]}px) {
8172
+ `), "breakpoint" in d && (u += `
8173
+ @media (min-width: ${a.breakpoints.values[d.breakpoint]}px) {
8127
8174
  [data-amplify-theme="${l}"] {
8128
8175
  ${g}
8129
8176
  }
8130
8177
  }
8131
- `), "colorMode" in c && (u += `
8132
- @media (prefers-color-scheme: ${c.colorMode}) {
8178
+ `), "colorMode" in d && (u += `
8179
+ @media (prefers-color-scheme: ${d.colorMode}) {
8133
8180
  [data-amplify-theme="${l}"][data-amplify-color-mode="system"] {
8134
8181
  ${g}
8135
8182
  }
8136
8183
  }
8137
8184
  `, u += `
8138
- [data-amplify-theme="${l}"][data-amplify-color-mode="${c.colorMode}"] {
8185
+ [data-amplify-theme="${l}"][data-amplify-color-mode="${d.colorMode}"] {
8139
8186
  ${g}
8140
8187
  }
8141
- `), C(m({}, c), { tokens: b });
8188
+ `), C(m({}, d), { tokens: f });
8142
8189
  })), { tokens: t, breakpoints: s, name: l, cssText: u, overrides: v };
8143
8190
  }
8144
- r();
8145
- r();
8146
- Br({ name: "default-theme" }, Q);
8191
+ e();
8192
+ e();
8193
+ $r({ name: "default-theme" }, J);
8194
+ const useAliases = (login_mechanisms) => (login_mechanisms == null ? void 0 : login_mechanisms.length) === 1 && login_mechanisms[0] === "username" ? [...K] : login_mechanisms;
8195
+ const facade = {
8196
+ error: "",
8197
+ hasValidationErrors: false,
8198
+ isPending: false,
8199
+ route: "",
8200
+ user: "",
8201
+ validationErrors: {
8202
+ val: ""
8203
+ },
8204
+ codeDeliveryDetails: {
8205
+ val: ""
8206
+ },
8207
+ change: (data) => null,
8208
+ updateForm: (data) => null,
8209
+ updateBlur: (data) => null,
8210
+ resend: (data) => null,
8211
+ resendCode: (data) => null,
8212
+ signOut: (data) => null,
8213
+ federatedSignIn: (data) => null,
8214
+ toFederatedSignIn: (data) => null,
8215
+ resetPassword: (data) => null,
8216
+ toResetPassword: (data) => null,
8217
+ signIn: (data) => null,
8218
+ toSignIn: (data) => null,
8219
+ signUp: (data) => null,
8220
+ toSignUp: (data) => null,
8221
+ skip: (data) => null,
8222
+ skipVerification: (data) => null,
8223
+ submit: (data) => null,
8224
+ submitForm: (data) => null
8225
+ };
8226
+ const propsCreator = (name, show, formOverrides, labelHiddenDefault = false) => {
8227
+ var _a2, _b, _c, _d;
8228
+ const fo2 = formOverrides == null ? void 0 : formOverrides[name];
8229
+ return {
8230
+ labelHidden: (_a2 = fo2 == null ? void 0 : fo2.labelHidden) != null ? _a2 : labelHiddenDefault,
8231
+ required: (_b = fo2 == null ? void 0 : fo2.required) != null ? _b : true,
8232
+ label: (_c = fo2 == null ? void 0 : fo2.label) != null ? _c : Xt(show),
8233
+ placeholder: (_d = fo2 == null ? void 0 : fo2.placeholder) != null ? _d : Xt(show)
8234
+ };
8235
+ };
8147
8236
  const _sfc_main$s = {};
8148
- const _hoisted_1$c = { "data-amplify-label": "" };
8237
+ const _hoisted_1$b = { "data-amplify-label": "" };
8149
8238
  function _sfc_render$3(_ctx, _cache) {
8150
- return openBlock(), createElementBlock("label", _hoisted_1$c, [
8239
+ return openBlock(), createElementBlock("label", _hoisted_1$b, [
8151
8240
  renderSlot(_ctx.$slots, "default")
8152
8241
  ]);
8153
8242
  }
@@ -8155,8 +8244,8 @@ var __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render
8155
8244
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
8156
8245
  emits: ["update:modelValue"],
8157
8246
  setup(__props, { emit }) {
8158
- const onInput = (e) => {
8159
- emit("update:modelValue", e.target.value);
8247
+ const onInput = (e2) => {
8248
+ emit("update:modelValue", e2.target.value);
8160
8249
  };
8161
8250
  return (_ctx, _cache) => {
8162
8251
  return openBlock(), createElementBlock("input", {
@@ -8166,7 +8255,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
8166
8255
  };
8167
8256
  }
8168
8257
  });
8169
- const _hoisted_1$b = ["aria-label"];
8258
+ const _hoisted_1$a = ["aria-label"];
8170
8259
  const _hoisted_2$6 = {
8171
8260
  key: 0,
8172
8261
  xmlns: "http://www.w3.org/2000/svg",
@@ -8185,75 +8274,90 @@ const _hoisted_5$3 = {
8185
8274
  viewBox: "0 0 24 24",
8186
8275
  class: "amplify-icon"
8187
8276
  };
8188
- const _hoisted_6$3 = /* @__PURE__ */ createElementVNode("path", {
8277
+ const _hoisted_6$2 = /* @__PURE__ */ createElementVNode("path", {
8189
8278
  d: "M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",
8190
8279
  fill: "none"
8191
8280
  }, null, -1);
8192
8281
  const _hoisted_7$2 = /* @__PURE__ */ createElementVNode("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);
8193
8282
  const _hoisted_8$2 = [
8194
- _hoisted_6$3,
8283
+ _hoisted_6$2,
8195
8284
  _hoisted_7$2
8196
8285
  ];
8197
8286
  function setup(__props) {
8287
+ var _a2;
8198
8288
  const props = __props;
8199
- const showPassword = Tt("Show password");
8200
- const hidePassword = Tt("Hide password");
8289
+ const showPassword = Xt("Show password");
8290
+ const hidePassword = Xt("Hide password");
8201
8291
  const showHideType = ref("password");
8202
8292
  const showHideLabel = ref(showPassword);
8203
8293
  const random = Math.floor(Math.random() * 999999);
8204
- const { name, label, autocomplete, ariainvalid } = toRefs(props);
8294
+ const { name, label, autocomplete, ariainvalid, labelHidden, placeholder, required } = toRefs(props);
8205
8295
  let password = ref("");
8206
8296
  function togglePasswordText() {
8207
8297
  showHideLabel.value = showHideLabel.value === showPassword ? hidePassword : showPassword;
8208
8298
  showHideType.value = showHideType.value === "password" ? "text" : "password";
8209
8299
  }
8300
+ const placeholderValue = Xt((_a2 = placeholder == null ? void 0 : placeholder.value) != null ? _a2 : label.value);
8301
+ const labelValue = Xt(label.value);
8210
8302
  return (_ctx, _cache) => {
8211
8303
  const _component_base_label = __unplugin_components_0;
8212
8304
  const _component_base_input = _sfc_main$r;
8213
8305
  const _component_base_wrapper = __unplugin_components_2;
8214
- return openBlock(), createElementBlock(Fragment, null, [
8215
- createVNode(_component_base_label, {
8216
- class: "amplify-label amplify-visually-hidden",
8217
- for: "amplify-field-" + unref(random)
8218
- }, {
8219
- default: withCtx(() => [
8220
- createTextVNode(toDisplayString(unref(label)), 1)
8221
- ]),
8222
- _: 1
8223
- }, 8, ["for"]),
8224
- createVNode(_component_base_wrapper, { class: "amplify-flex amplify-field-group" }, {
8225
- default: withCtx(() => [
8226
- createVNode(_component_base_input, mergeProps(_ctx.$attrs, {
8227
- modelValue: unref(password),
8228
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(password) ? password.value = $event : password = $event),
8229
- class: "amplify-input amplify-field-group__control",
8230
- "aria-invalid": unref(ariainvalid),
8231
- id: "amplify-field-" + unref(random),
8232
- "data-amplify-password": "true",
8233
- name: unref(name),
8234
- autocomplete: unref(autocomplete),
8235
- required: "",
8236
- placeholder: unref(label),
8237
- type: showHideType.value
8238
- }), null, 16, ["modelValue", "aria-invalid", "id", "name", "autocomplete", "placeholder", "type"]),
8239
- createVNode(_component_base_wrapper, { class: "amplify-field-group__outer-end" }, {
8306
+ return openBlock(), createBlock(_component_base_wrapper, {
8307
+ class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield",
8308
+ style: { "flex-direction": "column" }
8309
+ }, {
8310
+ default: withCtx(() => {
8311
+ var _a3;
8312
+ return [
8313
+ createVNode(_component_base_label, {
8314
+ class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a3 = unref(labelHidden)) != null ? _a3 : true }]),
8315
+ for: "amplify-field-" + unref(random)
8316
+ }, {
8240
8317
  default: withCtx(() => [
8241
- createElementVNode("button", {
8242
- "aria-label": showHideLabel.value,
8243
- class: "amplify-button amplify-field-group__control amplify-field__show-password",
8244
- "data-fullwidth": "false",
8245
- type: "button",
8246
- onClick: togglePasswordText
8247
- }, [
8248
- showHideType.value === "password" ? (openBlock(), createElementBlock("svg", _hoisted_2$6, _hoisted_4$3)) : (openBlock(), createElementBlock("svg", _hoisted_5$3, _hoisted_8$2))
8249
- ], 8, _hoisted_1$b)
8318
+ createTextVNode(toDisplayString(unref(labelValue)), 1)
8250
8319
  ]),
8251
8320
  _: 1
8321
+ }, 8, ["class", "for"]),
8322
+ createVNode(_component_base_wrapper, { class: "amplify-flex amplify-field-group" }, {
8323
+ default: withCtx(() => {
8324
+ var _a4;
8325
+ return [
8326
+ createVNode(_component_base_input, mergeProps(_ctx.$attrs, {
8327
+ modelValue: unref(password),
8328
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(password) ? password.value = $event : password = $event),
8329
+ class: "amplify-input amplify-field-group__control",
8330
+ "aria-invalid": unref(ariainvalid),
8331
+ id: "amplify-field-" + unref(random),
8332
+ "data-amplify-password": "true",
8333
+ name: unref(name),
8334
+ autocomplete: unref(autocomplete),
8335
+ required: (_a4 = unref(required)) != null ? _a4 : true,
8336
+ placeholder: unref(placeholderValue),
8337
+ type: showHideType.value
8338
+ }), null, 16, ["modelValue", "aria-invalid", "id", "name", "autocomplete", "required", "placeholder", "type"]),
8339
+ createVNode(_component_base_wrapper, { class: "amplify-field-group__outer-end" }, {
8340
+ default: withCtx(() => [
8341
+ createElementVNode("button", {
8342
+ "aria-label": showHideLabel.value,
8343
+ class: "amplify-button amplify-field-group__control amplify-field__show-password",
8344
+ "data-fullwidth": "false",
8345
+ type: "button",
8346
+ onClick: togglePasswordText
8347
+ }, [
8348
+ showHideType.value === "password" ? (openBlock(), createElementBlock("svg", _hoisted_2$6, _hoisted_4$3)) : (openBlock(), createElementBlock("svg", _hoisted_5$3, _hoisted_8$2))
8349
+ ], 8, _hoisted_1$a)
8350
+ ]),
8351
+ _: 1
8352
+ })
8353
+ ];
8354
+ }),
8355
+ _: 1
8252
8356
  })
8253
- ]),
8254
- _: 1
8255
- })
8256
- ], 64);
8357
+ ];
8358
+ }),
8359
+ _: 1
8360
+ });
8257
8361
  };
8258
8362
  }
8259
8363
  const __default__ = {
@@ -8261,14 +8365,17 @@ const __default__ = {
8261
8365
  };
8262
8366
  const _sfc_main$q = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
8263
8367
  props: {
8264
- name: String,
8265
- label: String,
8266
- autocomplete: String,
8267
- ariainvalid: Boolean
8368
+ name: null,
8369
+ label: null,
8370
+ autocomplete: null,
8371
+ ariainvalid: { type: Boolean },
8372
+ labelHidden: { type: Boolean, default: true },
8373
+ placeholder: null,
8374
+ required: { type: Boolean, default: true }
8268
8375
  },
8269
8376
  setup
8270
8377
  }));
8271
- const _hoisted_1$a = ["value", "selected"];
8378
+ const _hoisted_1$9 = ["value", "selected"];
8272
8379
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
8273
8380
  props: {
8274
8381
  selectValue: { default: "" },
@@ -8277,8 +8384,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
8277
8384
  emits: ["update:selectValue"],
8278
8385
  setup(__props, { emit }) {
8279
8386
  const { options, selectValue } = __props;
8280
- const onChange = (e) => {
8281
- emit("update:selectValue", e.target.value);
8387
+ const onChange = (e2) => {
8388
+ emit("update:selectValue", e2.target.value);
8282
8389
  };
8283
8390
  return (_ctx, _cache) => {
8284
8391
  return openBlock(), createElementBlock("select", {
@@ -8289,7 +8396,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
8289
8396
  key: idx,
8290
8397
  value: option,
8291
8398
  selected: option == selectValue ? true : void 0
8292
- }, toDisplayString(option), 9, _hoisted_1$a);
8399
+ }, toDisplayString(option), 9, _hoisted_1$9);
8293
8400
  }), 64))
8294
8401
  ], 32);
8295
8402
  };
@@ -8307,14 +8414,14 @@ var __assign = globalThis && globalThis.__assign || function() {
8307
8414
  };
8308
8415
  return __assign.apply(this, arguments);
8309
8416
  };
8310
- var __rest = globalThis && globalThis.__rest || function(s, e) {
8417
+ var __rest = globalThis && globalThis.__rest || function(s, e2) {
8311
8418
  var t = {};
8312
8419
  for (var p in s)
8313
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
8420
+ if (Object.prototype.hasOwnProperty.call(s, p) && e2.indexOf(p) < 0)
8314
8421
  t[p] = s[p];
8315
8422
  if (s != null && typeof Object.getOwnPropertySymbols === "function")
8316
8423
  for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8317
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8424
+ if (e2.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8318
8425
  t[p[i]] = s[p[i]];
8319
8426
  }
8320
8427
  return t;
@@ -8396,38 +8503,6 @@ function useActor(actorRef, getSnapshot) {
8396
8503
  });
8397
8504
  return { state, send: send2 };
8398
8505
  }
8399
- const useAliases = (login_mechanisms) => (login_mechanisms == null ? void 0 : login_mechanisms.length) === 1 && login_mechanisms[0] === "username" ? [...j] : login_mechanisms;
8400
- const facade = {
8401
- error: "",
8402
- hasValidationErrors: false,
8403
- isPending: false,
8404
- route: "",
8405
- user: "",
8406
- validationErrors: {
8407
- val: ""
8408
- },
8409
- codeDeliveryDetails: {
8410
- val: ""
8411
- },
8412
- change: (data) => null,
8413
- updateForm: (data) => null,
8414
- updateBlur: (data) => null,
8415
- resend: (data) => null,
8416
- resendCode: (data) => null,
8417
- signOut: (data) => null,
8418
- federatedSignIn: (data) => null,
8419
- toFederatedSignIn: (data) => null,
8420
- resetPassword: (data) => null,
8421
- toResetPassword: (data) => null,
8422
- signIn: (data) => null,
8423
- toSignIn: (data) => null,
8424
- signUp: (data) => null,
8425
- toSignUp: (data) => null,
8426
- skip: (data) => null,
8427
- skipVerification: (data) => null,
8428
- submit: (data) => null,
8429
- submitForm: (data) => null
8430
- };
8431
8506
  const service = ref();
8432
8507
  let useAuthenticatorValue = reactive(__spreadProps(__spreadValues({}, facade), { send: "", state: "" }));
8433
8508
  const useAuth = (serv) => {
@@ -8448,14 +8523,14 @@ function createValues() {
8448
8523
  if (!service.value)
8449
8524
  return;
8450
8525
  const { state, send: send2 } = useAuth();
8451
- const facadeValues = Oa({ send: send2, state: state.value });
8526
+ const facadeValues = ot({ send: send2, state: state.value });
8452
8527
  for (const key of Object.keys(facade)) {
8453
8528
  useAuthenticatorValue[key] = facadeValues[key];
8454
8529
  }
8455
8530
  useAuthenticatorValue.send = send2;
8456
8531
  useAuthenticatorValue.state = state;
8457
8532
  }
8458
- const _hoisted_1$9 = /* @__PURE__ */ createTextVNode(/* @__PURE__ */ toDisplayString("Country Code"));
8533
+ const _hoisted_1$8 = /* @__PURE__ */ createTextVNode(/* @__PURE__ */ toDisplayString("Country Code"));
8459
8534
  const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("svg", {
8460
8535
  xmlns: "http://www.w3.org/2000/svg",
8461
8536
  class: "amplify-icon",
@@ -8469,31 +8544,38 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
8469
8544
  props: {
8470
8545
  userNameAlias: { type: Boolean, default: false },
8471
8546
  userName: { default: "" },
8472
- disabled: { type: Boolean }
8547
+ disabled: { type: Boolean },
8548
+ labelHidden: { type: Boolean, default: true },
8549
+ label: null,
8550
+ placeholder: null,
8551
+ required: { type: Boolean, default: true },
8552
+ dialCode: null,
8553
+ dialCodeList: null
8473
8554
  },
8474
8555
  setup(__props) {
8475
8556
  var _a2, _b, _c, _d, _e2;
8476
- const { userNameAlias, userName, disabled } = __props;
8557
+ const { userNameAlias, userName, disabled, placeholder, required, label, dialCode, dialCodeList } = __props;
8477
8558
  const { state } = useAuth();
8478
8559
  const { value: { context } } = state;
8479
- const actorContext = computed(() => Kr(state.value));
8480
- const defaultDialCode = actorContext.value.country_code;
8560
+ const actorContext = computed(() => Te(state.value));
8561
+ const defaultDialCode = dialCode != null ? dialCode : actorContext.value.country_code;
8481
8562
  let uName = ref("");
8482
8563
  if (userName) {
8483
8564
  uName = computed(() => userName);
8484
8565
  }
8485
- const dialCodes = computed(() => Ka);
8566
+ const dialCodes = computed(() => dialCodeList != null ? dialCodeList : ft);
8486
8567
  const [primaryAlias] = useAliases((_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.loginMechanisms);
8487
8568
  let name = primaryAlias;
8488
- let label = (_c = (_b = G[primaryAlias]) == null ? void 0 : _b.label) != null ? _c : G["username"].label;
8489
- let type = (_e2 = (_d = G[name]) == null ? void 0 : _d.type) != null ? _e2 : G["username"].label;
8569
+ let labelValue = (_c = (_b = I[primaryAlias]) == null ? void 0 : _b.label) != null ? _c : I["username"].label;
8570
+ let type = (_e2 = (_d = I[name]) == null ? void 0 : _d.type) != null ? _e2 : I["username"].label;
8490
8571
  if (userNameAlias) {
8491
- const aliasInfo = Ua(context);
8492
- label = aliasInfo.label || G["username"].label;
8572
+ const aliasInfo = Za(context);
8573
+ labelValue = aliasInfo.label || I["username"].label;
8493
8574
  type = aliasInfo.type;
8494
8575
  name = "username";
8495
8576
  }
8496
- label = Tt(label);
8577
+ const placeholderValue = Xt(placeholder != null ? placeholder : labelValue);
8578
+ labelValue = Xt(label != null ? label : labelValue);
8497
8579
  return (_ctx, _cache) => {
8498
8580
  const _component_base_label = __unplugin_components_0;
8499
8581
  const _component_base_select = _sfc_main$p;
@@ -8503,84 +8585,87 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
8503
8585
  class: "amplify-flex amplify-field amplify-textfield amplify-phonenumberfield",
8504
8586
  style: { "flex-direction": "column" }
8505
8587
  }, {
8506
- default: withCtx(() => [
8507
- createVNode(_component_base_label, mergeProps({
8508
- class: "amplify-label amplify-visually-hidden",
8509
- for: "amplify-field-601d"
8510
- }, _ctx.$attrs), {
8511
- default: withCtx(() => [
8512
- createTextVNode(toDisplayString(unref(label)), 1)
8513
- ]),
8514
- _: 1
8515
- }, 16),
8516
- createVNode(_component_base_wrapper, { class: "amplify-flex amplify-field-group" }, {
8517
- default: withCtx(() => [
8518
- createVNode(_component_base_wrapper, { class: "amplify-field-group__outer-start" }, {
8519
- default: withCtx(() => [
8520
- unref(type) === "tel" ? (openBlock(), createBlock(_component_base_wrapper, {
8521
- key: 0,
8522
- class: "amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect",
8523
- style: { "flex-direction": "column" }
8524
- }, {
8525
- default: withCtx(() => [
8526
- createVNode(_component_base_label, {
8527
- class: "amplify-label amplify-visually-hidden",
8528
- for: "amplify-field-1177"
8529
- }, {
8530
- default: withCtx(() => [
8531
- _hoisted_1$9
8532
- ]),
8533
- _: 1
8534
- }),
8535
- createVNode(_component_base_wrapper, { class: "amplify-select__wrapper" }, {
8536
- default: withCtx(() => [
8537
- createVNode(_component_base_select, {
8538
- class: "amplify-select amplify-field-group__control",
8539
- id: "amplify-field-1177",
8540
- "aria-label": "country code",
8541
- name: "country_code",
8542
- options: unref(dialCodes),
8543
- selectValue: unref(defaultDialCode)
8544
- }, null, 8, ["options", "selectValue"]),
8545
- createVNode(_component_base_wrapper, {
8546
- class: "amplify-flex amplify-select__icon-wrapper",
8547
- style: { "align-items": "center", "justify-content": "center" }
8548
- }, {
8549
- default: withCtx(() => [
8550
- _hoisted_2$5
8551
- ]),
8552
- _: 1
8553
- })
8554
- ]),
8555
- _: 1
8556
- })
8557
- ]),
8558
- _: 1
8559
- })) : createCommentVNode("", true)
8560
- ]),
8561
- _: 1
8562
- }),
8563
- createVNode(_component_base_wrapper, { class: "amplify-field-group__field-wrapper" }, {
8564
- default: withCtx(() => [
8565
- createVNode(_component_base_input, {
8566
- class: "amplify-input amplify-field-group__control",
8567
- id: "amplify-field-601d",
8568
- "aria-invalid": "false",
8569
- textValue: unref(uName),
8570
- autocomplete: "username",
8571
- placeholder: unref(label),
8572
- required: "",
8573
- name: unref(name),
8574
- disabled,
8575
- type: unref(type)
8576
- }, null, 8, ["textValue", "placeholder", "name", "type"])
8577
- ]),
8578
- _: 1
8579
- })
8580
- ]),
8581
- _: 1
8582
- })
8583
- ]),
8588
+ default: withCtx(() => {
8589
+ var _a3;
8590
+ return [
8591
+ createVNode(_component_base_label, mergeProps({
8592
+ class: ["amplify-label", { "amplify-visually-hidden": (_a3 = __props.labelHidden) != null ? _a3 : true }],
8593
+ for: "amplify-field-601d"
8594
+ }, _ctx.$attrs), {
8595
+ default: withCtx(() => [
8596
+ createTextVNode(toDisplayString(unref(labelValue)), 1)
8597
+ ]),
8598
+ _: 1
8599
+ }, 16, ["class"]),
8600
+ createVNode(_component_base_wrapper, { class: "amplify-flex amplify-field-group" }, {
8601
+ default: withCtx(() => [
8602
+ createVNode(_component_base_wrapper, { class: "amplify-field-group__outer-start" }, {
8603
+ default: withCtx(() => [
8604
+ unref(type) === "tel" ? (openBlock(), createBlock(_component_base_wrapper, {
8605
+ key: 0,
8606
+ class: "amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect",
8607
+ style: { "flex-direction": "column" }
8608
+ }, {
8609
+ default: withCtx(() => [
8610
+ createVNode(_component_base_label, {
8611
+ class: "amplify-label amplify-visually-hidden",
8612
+ for: "amplify-field-1177"
8613
+ }, {
8614
+ default: withCtx(() => [
8615
+ _hoisted_1$8
8616
+ ]),
8617
+ _: 1
8618
+ }),
8619
+ createVNode(_component_base_wrapper, { class: "amplify-select__wrapper" }, {
8620
+ default: withCtx(() => [
8621
+ createVNode(_component_base_select, {
8622
+ class: "amplify-select amplify-field-group__control",
8623
+ id: "amplify-field-1177",
8624
+ "aria-label": "Country code",
8625
+ name: "country_code",
8626
+ options: unref(dialCodes),
8627
+ selectValue: unref(defaultDialCode)
8628
+ }, null, 8, ["options", "selectValue"]),
8629
+ createVNode(_component_base_wrapper, {
8630
+ class: "amplify-flex amplify-select__icon-wrapper",
8631
+ style: { "align-items": "center", "justify-content": "center" }
8632
+ }, {
8633
+ default: withCtx(() => [
8634
+ _hoisted_2$5
8635
+ ]),
8636
+ _: 1
8637
+ })
8638
+ ]),
8639
+ _: 1
8640
+ })
8641
+ ]),
8642
+ _: 1
8643
+ })) : createCommentVNode("", true)
8644
+ ]),
8645
+ _: 1
8646
+ }),
8647
+ createVNode(_component_base_wrapper, { class: "amplify-field-group__field-wrapper" }, {
8648
+ default: withCtx(() => [
8649
+ createVNode(_component_base_input, {
8650
+ class: "amplify-input amplify-field-group__control",
8651
+ id: "amplify-field-601d",
8652
+ "aria-invalid": "false",
8653
+ textValue: unref(uName),
8654
+ autocomplete: "username",
8655
+ placeholder: unref(placeholderValue),
8656
+ required: required != null ? required : true,
8657
+ name: unref(name),
8658
+ disabled,
8659
+ type: unref(type)
8660
+ }, null, 8, ["textValue", "placeholder", "required", "name", "type"])
8661
+ ]),
8662
+ _: 1
8663
+ })
8664
+ ]),
8665
+ _: 1
8666
+ })
8667
+ ];
8668
+ }),
8584
8669
  _: 1
8585
8670
  });
8586
8671
  };
@@ -8593,7 +8678,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8593
8678
  setup(__props) {
8594
8679
  const { provider } = __props;
8595
8680
  const { send: send2 } = useAuth();
8596
- const onClick = (e) => {
8681
+ const onClick = (e2) => {
8597
8682
  send2({
8598
8683
  type: "FEDERATED_SIGN_IN",
8599
8684
  data: {
@@ -8603,7 +8688,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8603
8688
  };
8604
8689
  return (_ctx, _cache) => {
8605
8690
  const _component_base_wrapper = __unplugin_components_2;
8606
- const _component_amplify_button = _sfc_main$w;
8691
+ const _component_amplify_button = _sfc_main$x;
8607
8692
  return openBlock(), createBlock(_component_amplify_button, {
8608
8693
  class: "amplify-field-group__control federated-sign-in-button",
8609
8694
  "data-fullwidth": "false",
@@ -8627,7 +8712,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
8627
8712
  };
8628
8713
  }
8629
8714
  });
8630
- const _hoisted_1$8 = /* @__PURE__ */ createElementVNode("svg", {
8715
+ const _hoisted_1$7 = /* @__PURE__ */ createElementVNode("svg", {
8631
8716
  "aria-label": "Amazon icon",
8632
8717
  class: "amplify-icon federated-sign-in-icon",
8633
8718
  viewBox: "0 0 248 268"
@@ -8667,7 +8752,7 @@ const _hoisted_5$2 = /* @__PURE__ */ createElementVNode("svg", {
8667
8752
  fill: "#1877F2"
8668
8753
  })
8669
8754
  ], -1);
8670
- const _hoisted_6$2 = {
8755
+ const _hoisted_6$1 = {
8671
8756
  class: "amplify-text",
8672
8757
  style: { "align-self": "center" }
8673
8758
  };
@@ -8699,11 +8784,11 @@ const _hoisted_8$1 = {
8699
8784
  class: "amplify-text",
8700
8785
  style: { "align-self": "center" }
8701
8786
  };
8702
- const _hoisted_9$1 = /* @__PURE__ */ createElementVNode("div", { "data-or-line": "" }, "or", -1);
8703
- const _hoisted_10 = /* @__PURE__ */ createElementVNode("hr", {
8704
- class: "amplify-divider",
8787
+ const _hoisted_9$1 = /* @__PURE__ */ createElementVNode("hr", {
8788
+ class: "amplify-divider amplify-divider--label",
8705
8789
  "aria-orientation": "horizontal",
8706
- "data-size": "small"
8790
+ "data-size": "small",
8791
+ "data-label": "or"
8707
8792
  }, null, -1);
8708
8793
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
8709
8794
  setup(__props) {
@@ -8719,11 +8804,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
8719
8804
  const includeGoogle = socialProviders == null ? void 0 : socialProviders.includes("google");
8720
8805
  const shouldShowFederatedSignIn = includeFacebook || includeGoogle || includeAmazon || includeApple;
8721
8806
  const federatedText = route === "signUp" ? "Up" : "In";
8722
- const fp = computed(() => jr);
8723
- const signInWithAmazon = computed(() => Tt(`Sign ${federatedText} with Amazon`));
8724
- const signInWithApple = computed(() => Tt(`Sign ${federatedText} with Apple`));
8725
- const signInWithFacebook = computed(() => Tt(`Sign ${federatedText} with Facebook`));
8726
- const signInWithGoogle = computed(() => Tt(`Sign ${federatedText} with Google`));
8807
+ const fp = computed(() => ea);
8808
+ const signInWithAmazon = computed(() => Xt(`Sign ${federatedText} with Amazon`));
8809
+ const signInWithApple = computed(() => Xt(`Sign ${federatedText} with Apple`));
8810
+ const signInWithFacebook = computed(() => Xt(`Sign ${federatedText} with Facebook`));
8811
+ const signInWithGoogle = computed(() => Xt(`Sign ${federatedText} with Google`));
8727
8812
  return (_ctx, _cache) => {
8728
8813
  const _component_base_wrapper = __unplugin_components_2;
8729
8814
  return unref(shouldShowFederatedSignIn) ? (openBlock(), createBlock(_component_base_wrapper, {
@@ -8737,7 +8822,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
8737
8822
  provider: unref(fp).Amazon
8738
8823
  }, {
8739
8824
  default: withCtx(() => [
8740
- _hoisted_1$8,
8825
+ _hoisted_1$7,
8741
8826
  createElementVNode("p", _hoisted_2$4, toDisplayString(unref(signInWithAmazon)), 1)
8742
8827
  ]),
8743
8828
  _: 1
@@ -8758,7 +8843,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
8758
8843
  }, {
8759
8844
  default: withCtx(() => [
8760
8845
  _hoisted_5$2,
8761
- createElementVNode("p", _hoisted_6$2, toDisplayString(unref(signInWithFacebook)), 1)
8846
+ createElementVNode("p", _hoisted_6$1, toDisplayString(unref(signInWithFacebook)), 1)
8762
8847
  ]),
8763
8848
  _: 1
8764
8849
  }, 8, ["provider"])) : createCommentVNode("", true),
@@ -8772,23 +8857,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
8772
8857
  ]),
8773
8858
  _: 1
8774
8859
  }, 8, ["provider"])) : createCommentVNode("", true),
8775
- createVNode(_component_base_wrapper, {
8776
- class: "amplify-flex",
8777
- "data-or-container": ""
8778
- }, {
8779
- default: withCtx(() => [
8780
- _hoisted_9$1,
8781
- _hoisted_10
8782
- ]),
8783
- _: 1
8784
- })
8860
+ _hoisted_9$1
8785
8861
  ]),
8786
8862
  _: 1
8787
8863
  })) : createCommentVNode("", true);
8788
8864
  };
8789
8865
  }
8790
8866
  });
8791
- const _hoisted_1$7 = { "data-amplify-footer": "" };
8867
+ const _hoisted_1$6 = { "data-amplify-footer": "" };
8792
8868
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
8793
8869
  emits: [
8794
8870
  "signInSubmit",
@@ -8796,31 +8872,39 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
8796
8872
  "createAccountClicked"
8797
8873
  ],
8798
8874
  setup(__props, { emit }) {
8875
+ var _a2, _b, _c;
8799
8876
  const useAuthShared = createSharedComposable(useAuthenticator);
8800
8877
  const props = useAuthShared();
8801
8878
  const attrs = useAttrs();
8802
- const passwordLabel = computed(() => Tt("Password"));
8803
- const forgotYourPasswordLink = computed(() => !At("Forgot your password? ") ? Tt("Forgot your password?") : Tt("Forgot your password? "));
8804
- const signInButtonText = computed(() => Tt("Sign in"));
8805
- const signIngButtonText = computed(() => Tt("Signing in"));
8879
+ const passwordLabel = computed(() => Xt("Password"));
8880
+ const forgotYourPasswordLink = computed(() => !Zt("Forgot your password? ") ? Xt("Forgot your password?") : Xt("Forgot your password? "));
8881
+ const signInButtonText = computed(() => Xt("Sign in"));
8882
+ const signIngButtonText = computed(() => Xt("Signing in"));
8806
8883
  const { state, send: send2 } = useAuth();
8807
- const actorState = computed(() => J(state.value));
8808
- const onInput = (e) => {
8809
- const { name, value } = e.target;
8884
+ const actorState = computed(() => j(state.value));
8885
+ const { value: { context } } = state;
8886
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.signIn;
8887
+ const userOverrides = formOverrides == null ? void 0 : formOverrides["username"];
8888
+ let loginMechanisms = (_c = context.config) == null ? void 0 : _c.loginMechanisms;
8889
+ let fieldNames;
8890
+ fieldNames = Array.from(new Set([...loginMechanisms]));
8891
+ const loginMechanism = fieldNames.shift();
8892
+ const onInput = (e2) => {
8893
+ const { name, value } = e2.target;
8810
8894
  send2({
8811
8895
  type: "CHANGE",
8812
8896
  data: { name, value }
8813
8897
  });
8814
8898
  };
8815
- const onSignInSubmit = (e) => {
8899
+ const onSignInSubmit = (e2) => {
8816
8900
  if (attrs == null ? void 0 : attrs.onSignInSubmit) {
8817
- emit("signInSubmit", e);
8901
+ emit("signInSubmit", e2);
8818
8902
  } else {
8819
- submit(e);
8903
+ submit(e2);
8820
8904
  }
8821
8905
  };
8822
- const submit = (e) => {
8823
- props.submitForm(Ga(e));
8906
+ const submit = (e2) => {
8907
+ props.submitForm(La(e2));
8824
8908
  };
8825
8909
  const onForgotPasswordClicked = () => {
8826
8910
  if (attrs == null ? void 0 : attrs.onForgotPasswordClicked) {
@@ -8830,10 +8914,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
8830
8914
  }
8831
8915
  };
8832
8916
  return (_ctx, _cache) => {
8917
+ const _component_base_field_set = _sfc_main$y;
8918
+ const _component_base_alert = _sfc_main$w;
8919
+ const _component_amplify_button = _sfc_main$x;
8833
8920
  const _component_base_wrapper = __unplugin_components_2;
8834
- const _component_base_field_set = _sfc_main$x;
8835
- const _component_base_alert = _sfc_main$v;
8836
- const _component_amplify_button = _sfc_main$w;
8837
8921
  const _component_base_form = _sfc_main$u;
8838
8922
  const _component_base_footer = _sfc_main$t;
8839
8923
  return renderSlot(_ctx.$slots, "signInSlotI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
@@ -8869,28 +8953,31 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
8869
8953
  fieldSetI: withCtx(({ slotData }) => [
8870
8954
  renderSlot(_ctx.$slots, "signin-fields", { info: slotData })
8871
8955
  ]),
8872
- default: withCtx(() => [
8873
- createVNode(_sfc_main$o, { userNameAlias: true }),
8874
- createVNode(_component_base_wrapper, {
8875
- class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield password-field",
8876
- style: { "flex-direction": "column" }
8877
- }, {
8878
- default: withCtx(() => [
8879
- createVNode(_sfc_main$q, {
8880
- name: "password",
8881
- label: unref(passwordLabel),
8882
- autocomplete: "current-password",
8883
- ariainvalid: false
8884
- }, null, 8, ["label"])
8885
- ]),
8886
- _: 1
8887
- })
8888
- ]),
8956
+ default: withCtx(() => {
8957
+ var _a3, _b2, _c2, _d, _e2, _f;
8958
+ return [
8959
+ createVNode(_sfc_main$o, {
8960
+ userNameAlias: true,
8961
+ "label-hidden": (_a3 = unref(userOverrides)) == null ? void 0 : _a3.labelHidden,
8962
+ userName: unref(loginMechanism),
8963
+ placeholder: (_b2 = unref(userOverrides)) == null ? void 0 : _b2.placeholder,
8964
+ required: (_c2 = unref(userOverrides)) == null ? void 0 : _c2.required,
8965
+ label: (_d = unref(userOverrides)) == null ? void 0 : _d.label,
8966
+ dialCode: (_e2 = unref(userOverrides)) == null ? void 0 : _e2.dialCode,
8967
+ dialCodeList: (_f = unref(userOverrides)) == null ? void 0 : _f.dialCodeList
8968
+ }, null, 8, ["label-hidden", "userName", "placeholder", "required", "label", "dialCode", "dialCodeList"]),
8969
+ createVNode(_sfc_main$q, mergeProps(unref(propsCreator)("password", unref(passwordLabel), unref(formOverrides), true), {
8970
+ name: "password",
8971
+ autocomplete: "current-password",
8972
+ ariainvalid: false
8973
+ }), null, 16)
8974
+ ];
8975
+ }),
8889
8976
  _: 3
8890
8977
  }, 8, ["disabled"]),
8891
8978
  unref(actorState).context.remoteError ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
8892
8979
  default: withCtx(() => [
8893
- createTextVNode(toDisplayString(unref(Tt)(unref(actorState).context.remoteError)), 1)
8980
+ createTextVNode(toDisplayString(unref(Xt)(unref(actorState).context.remoteError)), 1)
8894
8981
  ]),
8895
8982
  _: 1
8896
8983
  })) : createCommentVNode("", true),
@@ -8919,7 +9006,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
8919
9006
  createVNode(_component_base_footer, null, {
8920
9007
  default: withCtx(() => [
8921
9008
  renderSlot(_ctx.$slots, "footer", {}, () => [
8922
- createElementVNode("div", _hoisted_1$7, [
9009
+ createElementVNode("div", _hoisted_1$6, [
8923
9010
  createVNode(_component_amplify_button, {
8924
9011
  onClick: onForgotPasswordClicked,
8925
9012
  class: "amplify-field-group__control",
@@ -8943,7 +9030,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
8943
9030
  };
8944
9031
  }
8945
9032
  });
8946
- const _hoisted_1$6 = /* @__PURE__ */ createTextVNode(/* @__PURE__ */ toDisplayString("Country Code"));
9033
+ const _hoisted_1$5 = /* @__PURE__ */ createTextVNode(/* @__PURE__ */ toDisplayString("Country Code"));
8947
9034
  const _hoisted_2$3 = /* @__PURE__ */ createElementVNode("svg", {
8948
9035
  xmlns: "http://www.w3.org/2000/svg",
8949
9036
  "data-size": "large",
@@ -8958,17 +9045,21 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
8958
9045
  label: { default: "Username" },
8959
9046
  name: { default: "username" },
8960
9047
  placeholder: { default: "" },
8961
- autocomplete: { default: "" }
9048
+ autocomplete: { default: "" },
9049
+ labelHidden: { type: Boolean, default: false },
9050
+ required: { type: Boolean, default: true },
9051
+ dialCode: null,
9052
+ dialCodeList: null
8962
9053
  },
8963
9054
  setup(__props) {
8964
- const { label, name, placeholder, autocomplete } = __props;
9055
+ const { label, name, placeholder, autocomplete, labelHidden, required, dialCode, dialCodeList } = __props;
8965
9056
  const random = Math.floor(Math.random() * 999999);
8966
9057
  const randomPhone = Math.floor(Math.random() * 999999);
8967
9058
  const { state, send: send2 } = useAuth();
8968
- const inputAttributes = computed(() => G);
8969
- const actorContext = computed(() => Kr(state.value));
8970
- const defaultDialCode = actorContext.value.country_code;
8971
- const dialCodes = computed(() => Ka);
9059
+ const inputAttributes = computed(() => I);
9060
+ const actorContext = computed(() => Te(state.value));
9061
+ const defaultDialCode = dialCode != null ? dialCode : actorContext.value.country_code;
9062
+ const dialCodes = computed(() => dialCodeList != null ? dialCodeList : ft);
8972
9063
  onMounted(() => {
8973
9064
  var _a2;
8974
9065
  if (((_a2 = inputAttributes.value[name]) == null ? void 0 : _a2.type) === "tel") {
@@ -8980,7 +9071,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
8980
9071
  });
8981
9072
  const inferAutocomplete = computed(() => {
8982
9073
  var _a2;
8983
- return autocomplete || ((_a2 = G[name]) == null ? void 0 : _a2.autocomplete) || name;
9074
+ return autocomplete || ((_a2 = I[name]) == null ? void 0 : _a2.autocomplete) || name;
8984
9075
  });
8985
9076
  return (_ctx, _cache) => {
8986
9077
  const _component_base_label = __unplugin_components_0;
@@ -8994,13 +9085,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
8994
9085
  default: withCtx(() => [
8995
9086
  createVNode(_component_base_label, mergeProps({
8996
9087
  for: "amplify-field-" + unref(random),
8997
- class: "amplify-label"
9088
+ class: ["amplify-label", { "sr-only": labelHidden }]
8998
9089
  }, _ctx.$attrs), {
8999
9090
  default: withCtx(() => [
9000
9091
  createTextVNode(toDisplayString(label))
9001
9092
  ]),
9002
9093
  _: 1
9003
- }, 16, ["for"]),
9094
+ }, 16, ["for", "class"]),
9004
9095
  createVNode(_component_base_wrapper, { class: "amplify-flex amplify-field-group" }, {
9005
9096
  default: withCtx(() => [
9006
9097
  createVNode(_component_base_wrapper, { class: "amplify-field-group__outer-start" }, {
@@ -9016,7 +9107,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9016
9107
  class: "amplify-label amplify-visually-hidden"
9017
9108
  }, _ctx.$attrs), {
9018
9109
  default: withCtx(() => [
9019
- _hoisted_1$6
9110
+ _hoisted_1$5
9020
9111
  ]),
9021
9112
  _: 1
9022
9113
  }, 16, ["for"]),
@@ -9059,10 +9150,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9059
9150
  id: "amplify-field-" + unref(random),
9060
9151
  autocomplete: unref(inferAutocomplete),
9061
9152
  name,
9062
- required: "",
9153
+ required: required != null ? required : true,
9063
9154
  type: (_b = (_a2 = unref(inputAttributes)[name]) == null ? void 0 : _a2.type) != null ? _b : "text",
9064
9155
  placeholder
9065
- }, null, 8, ["id", "autocomplete", "type"])
9156
+ }, null, 8, ["id", "autocomplete", "required", "type"])
9066
9157
  ];
9067
9158
  }),
9068
9159
  _: 1
@@ -9076,7 +9167,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
9076
9167
  };
9077
9168
  }
9078
9169
  });
9079
- const _hoisted_1$5 = {
9170
+ const _hoisted_1$4 = {
9080
9171
  key: 0,
9081
9172
  role: "alert",
9082
9173
  "data-variation": "error",
@@ -9084,75 +9175,79 @@ const _hoisted_1$5 = {
9084
9175
  };
9085
9176
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
9086
9177
  setup(__props) {
9087
- var _a2, _b;
9178
+ var _a2, _b, _c, _d;
9088
9179
  const { state } = useAuth();
9089
9180
  const { value: { context } } = state;
9181
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.signUp;
9090
9182
  const useAuthShared = createSharedComposable(useAuthenticator);
9091
9183
  const { validationErrors } = toRefs(useAuthShared());
9092
9184
  const props = useAuthShared();
9093
- const inputAttributes = computed(() => G);
9094
- const passwordLabel = computed(() => Tt("Password"));
9095
- const confirmPasswordLabel = computed(() => Tt("Confirm Password"));
9185
+ const inputAttributes = computed(() => I);
9186
+ const passwordLabel = computed(() => Xt("Password"));
9187
+ const confirmPasswordLabel = computed(() => Xt("Confirm Password"));
9096
9188
  let fieldNames;
9097
- let loginMechanisms = (_a2 = context.config) == null ? void 0 : _a2.loginMechanisms;
9098
- let signUpAttributes = (_b = context.config) == null ? void 0 : _b.signUpAttributes;
9189
+ let loginMechanisms = (_c = context.config) == null ? void 0 : _c.loginMechanisms;
9190
+ let signUpAttributes = (_d = context.config) == null ? void 0 : _d.signUpAttributes;
9099
9191
  fieldNames = Array.from(new Set([...loginMechanisms, ...signUpAttributes]));
9100
9192
  fieldNames = fieldNames.filter((fieldName) => {
9101
- const hasDefaultField = !!G[fieldName];
9193
+ const hasDefaultField = !!I[fieldName];
9102
9194
  if (!hasDefaultField) {
9103
9195
  console.debug(`Authenticator does not have a default implementation for ${fieldName}. Customize the authenticator sign-up-fields slot to add your own.`);
9104
9196
  }
9105
9197
  return hasDefaultField;
9106
9198
  });
9107
- function onBlur(e) {
9108
- const { name } = e.target;
9199
+ function onBlur(e2) {
9200
+ const { name } = e2.target;
9109
9201
  props.updateBlur({ name });
9110
9202
  }
9111
9203
  const loginMechanism = fieldNames.shift();
9204
+ const userOverrides = formOverrides == null ? void 0 : formOverrides[loginMechanism];
9205
+ const common = [
9206
+ loginMechanism,
9207
+ "password",
9208
+ "confirm_password"
9209
+ ];
9210
+ const fieldNamesCombined = [...common, ...fieldNames];
9211
+ const order = Ha(formOverrides, fieldNamesCombined);
9112
9212
  return (_ctx, _cache) => {
9113
- const _component_base_wrapper = __unplugin_components_2;
9114
- return openBlock(), createElementBlock(Fragment, null, [
9115
- createVNode(_sfc_main$o, { userName: unref(loginMechanism) }, null, 8, ["userName"]),
9116
- createVNode(_component_base_wrapper, {
9117
- class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield password-field",
9118
- style: { "flex-direction": "column" }
9119
- }, {
9120
- default: withCtx(() => [
9121
- createVNode(_sfc_main$q, {
9122
- name: "password",
9123
- label: unref(passwordLabel),
9124
- autocomplete: "new-password",
9125
- ariainvalid: !!unref(validationErrors).confirm_password,
9126
- onBlur
9127
- }, null, 8, ["label", "ariainvalid"])
9128
- ]),
9129
- _: 1
9130
- }),
9131
- createVNode(_component_base_wrapper, {
9132
- class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield password-field",
9133
- style: { "flex-direction": "column" }
9134
- }, {
9135
- default: withCtx(() => [
9136
- createVNode(_sfc_main$q, {
9137
- name: "confirm_password",
9138
- label: unref(confirmPasswordLabel),
9213
+ return openBlock(true), createElementBlock(Fragment, null, renderList(unref(order), (field, idx) => {
9214
+ var _a3, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t;
9215
+ return openBlock(), createElementBlock(Fragment, { key: idx }, [
9216
+ field === unref(loginMechanism) ? (openBlock(), createBlock(_sfc_main$o, {
9217
+ key: 0,
9218
+ "label-hidden": (_a3 = unref(userOverrides)) == null ? void 0 : _a3.labelHidden,
9219
+ userName: unref(loginMechanism),
9220
+ placeholder: (_b2 = unref(userOverrides)) == null ? void 0 : _b2.placeholder,
9221
+ required: (_c2 = unref(userOverrides)) == null ? void 0 : _c2.required,
9222
+ label: (_d2 = unref(userOverrides)) == null ? void 0 : _d2.label,
9223
+ dialCode: (_e2 = unref(userOverrides)) == null ? void 0 : _e2.dialCode,
9224
+ dialCodeList: (_f = unref(userOverrides)) == null ? void 0 : _f.dialCodeList
9225
+ }, null, 8, ["label-hidden", "userName", "placeholder", "required", "label", "dialCode", "dialCodeList"])) : field === "password" ? (openBlock(), createBlock(_sfc_main$q, mergeProps({
9226
+ key: 1,
9227
+ name: "password"
9228
+ }, unref(propsCreator)("password", unref(passwordLabel), unref(formOverrides), true), {
9229
+ autocomplete: "new-password",
9230
+ ariainvalid: !!unref(validationErrors).confirm_password,
9231
+ onBlur
9232
+ }), null, 16, ["ariainvalid"])) : field === "confirm_password" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
9233
+ createVNode(_sfc_main$q, mergeProps({ name: "confirm_password" }, unref(propsCreator)("confirm_password", unref(confirmPasswordLabel), unref(formOverrides), true), {
9139
9234
  autocomplete: "new-password",
9140
9235
  ariainvalid: !!unref(validationErrors).confirm_password,
9141
9236
  onBlur
9142
- }, null, 8, ["label", "ariainvalid"])
9143
- ]),
9144
- _: 1
9145
- }),
9146
- !!unref(validationErrors).confirm_password ? (openBlock(), createElementBlock("p", _hoisted_1$5, toDisplayString(unref(Tt)(unref(validationErrors).confirm_password)), 1)) : createCommentVNode("", true),
9147
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(fieldNames), (field, idx) => {
9148
- return openBlock(), createBlock(_sfc_main$k, {
9149
- key: idx,
9150
- label: unref(Tt)(unref(inputAttributes)[field].label),
9237
+ }), null, 16, ["ariainvalid"]),
9238
+ !!unref(validationErrors).confirm_password ? (openBlock(), createElementBlock("p", _hoisted_1$4, toDisplayString(unref(Xt)(unref(validationErrors).confirm_password)), 1)) : createCommentVNode("", true)
9239
+ ], 64)) : (openBlock(), createBlock(_sfc_main$k, {
9240
+ key: 3,
9241
+ label: unref(Xt)((_i = (_h = (_g = unref(formOverrides)) == null ? void 0 : _g[field]) == null ? void 0 : _h.label) != null ? _i : unref(inputAttributes)[field].label),
9242
+ "label-hidden": (_k = (_j = unref(formOverrides)) == null ? void 0 : _j[field]) == null ? void 0 : _k.labelHidden,
9243
+ required: (_m = (_l = unref(formOverrides)) == null ? void 0 : _l[field]) == null ? void 0 : _m.required,
9151
9244
  name: field,
9152
- placeholder: unref(Tt)(unref(inputAttributes)[field].label)
9153
- }, null, 8, ["label", "name", "placeholder"]);
9154
- }), 128))
9155
- ], 64);
9245
+ placeholder: unref(Xt)((_p = (_o = (_n = unref(formOverrides)) == null ? void 0 : _n[field]) == null ? void 0 : _o.placeholder) != null ? _p : unref(inputAttributes)[field].label),
9246
+ dialCode: (_r = (_q = unref(formOverrides)) == null ? void 0 : _q[field]) == null ? void 0 : _r.dialCode,
9247
+ dialCodeList: (_t = (_s = unref(formOverrides)) == null ? void 0 : _s[field]) == null ? void 0 : _t.dialCodeList
9248
+ }, null, 8, ["label", "label-hidden", "required", "name", "placeholder", "dialCode", "dialCodeList"]))
9249
+ ], 64);
9250
+ }), 128);
9156
9251
  };
9157
9252
  }
9158
9253
  });
@@ -9164,27 +9259,27 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
9164
9259
  const props = useAuthShared();
9165
9260
  const { hasValidationErrors, isPending, error: error2 } = toRefs(facadeValues);
9166
9261
  const attrs = useAttrs();
9167
- const createAccountLabel = computed(() => Tt("Create Account"));
9168
- const onInput = (e) => {
9169
- let { checked, name, type, value } = e.target;
9262
+ const createAccountLabel = computed(() => Xt("Create Account"));
9263
+ const onInput = (e2) => {
9264
+ let { checked, name, type, value } = e2.target;
9170
9265
  if (type === "checkbox" && !checked)
9171
9266
  value = void 0;
9172
9267
  props.updateForm({ name, value });
9173
9268
  };
9174
- const onSignUpSubmit = (e) => {
9269
+ const onSignUpSubmit = (e2) => {
9175
9270
  if (attrs == null ? void 0 : attrs.onSignUpSubmit) {
9176
- emit("signUpSubmit", e);
9271
+ emit("signUpSubmit", e2);
9177
9272
  } else {
9178
- submit(e);
9273
+ submit(e2);
9179
9274
  }
9180
9275
  };
9181
- const submit = (e) => {
9182
- props.submitForm(Ga(e));
9276
+ const submit = (e2) => {
9277
+ props.submitForm(La(e2));
9183
9278
  };
9184
9279
  return (_ctx, _cache) => {
9185
- const _component_base_field_set = _sfc_main$x;
9186
- const _component_base_alert = _sfc_main$v;
9187
- const _component_amplify_button = _sfc_main$w;
9280
+ const _component_base_field_set = _sfc_main$y;
9281
+ const _component_base_alert = _sfc_main$w;
9282
+ const _component_amplify_button = _sfc_main$x;
9188
9283
  const _component_base_wrapper = __unplugin_components_2;
9189
9284
  const _component_base_form = _sfc_main$u;
9190
9285
  const _component_base_footer = _sfc_main$t;
@@ -9218,7 +9313,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
9218
9313
  }, 8, ["disabled"]),
9219
9314
  unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
9220
9315
  default: withCtx(() => [
9221
- createTextVNode(toDisplayString(unref(Tt)(unref(error2))), 1)
9316
+ createTextVNode(toDisplayString(unref(Xt)(unref(error2))), 1)
9222
9317
  ]),
9223
9318
  _: 1
9224
9319
  })) : createCommentVNode("", true),
@@ -9348,39 +9443,46 @@ var __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render
9348
9443
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
9349
9444
  emits: ["confirmSignUpSubmit", "lostCodeClicked"],
9350
9445
  setup(__props, { emit }) {
9446
+ var _a2, _b, _c;
9351
9447
  const attrs = useAttrs();
9352
9448
  const useAuthShared = createSharedComposable(useAuthenticator);
9353
9449
  const { isPending, error: error2, codeDeliveryDetails } = toRefs(useAuthShared());
9354
9450
  const { submitForm, updateForm, resendCode } = useAuthShared();
9451
+ const { state } = useAuth();
9452
+ const { value: { context } } = state;
9453
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmSignUp;
9355
9454
  const confirmSignUpHeading = computed(() => {
9356
- var _a2, _b;
9357
- return ((_a2 = codeDeliveryDetails.value) == null ? void 0 : _a2.DeliveryMedium) === "EMAIL" ? Tt("We Emailed You") : ((_b = codeDeliveryDetails.value) == null ? void 0 : _b.DeliveryMedium) === "SMS" ? Tt("We Texted You") : Tt("We Sent A Code");
9455
+ var _a3, _b2;
9456
+ return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ? Xt("We Emailed You") : ((_b2 = codeDeliveryDetails.value) == null ? void 0 : _b2.DeliveryMedium) === "SMS" ? Xt("We Texted You") : Xt("We Sent A Code");
9358
9457
  });
9359
- const enterCode = computed(() => Tt("Enter your code"));
9360
- const confirmationCodeText = computed(() => Tt("Confirmation Code"));
9361
- const resendCodeText = computed(() => Tt("Resend Code"));
9362
- const confirmText = computed(() => Tt("Confirm"));
9363
- const emailMessage = Tt("Your code is on the way. To log in, enter the code we emailed to");
9364
- const textedMessage = Tt("Your code is on the way. To log in, enter the code we texted to");
9365
- const defaultMessage = Tt("Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive.");
9366
- const minutesMessage = Tt("It may take a minute to arrive.");
9458
+ const enterCode = computed(() => Xt("Enter your code"));
9459
+ const confirmationCodeText = computed(() => Xt("Confirmation Code"));
9460
+ const resendCodeText = computed(() => Xt("Resend Code"));
9461
+ const confirmText = computed(() => Xt("Confirm"));
9462
+ const emailMessage = Xt("Your code is on the way. To log in, enter the code we emailed to");
9463
+ const textedMessage = Xt("Your code is on the way. To log in, enter the code we texted to");
9464
+ const defaultMessage = Xt("Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive.");
9465
+ const minutesMessage = Xt("It may take a minute to arrive.");
9367
9466
  const subtitleText = computed(() => {
9368
- var _a2, _b, _c, _d;
9369
- return ((_a2 = codeDeliveryDetails.value) == null ? void 0 : _a2.DeliveryMedium) === "EMAIL" ? `${emailMessage} ${(_b = codeDeliveryDetails.value) == null ? void 0 : _b.Destination}. ${minutesMessage}` : ((_c = codeDeliveryDetails.value) == null ? void 0 : _c.DeliveryMedium) === "SMS" ? `${textedMessage} ${(_d = codeDeliveryDetails.value) == null ? void 0 : _d.Destination}. ${minutesMessage}` : Tt(`${defaultMessage}`);
9467
+ var _a3, _b2, _c2, _d;
9468
+ return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ? `${emailMessage} ${(_b2 = codeDeliveryDetails.value) == null ? void 0 : _b2.Destination}. ${minutesMessage}` : ((_c2 = codeDeliveryDetails.value) == null ? void 0 : _c2.DeliveryMedium) === "SMS" ? `${textedMessage} ${(_d = codeDeliveryDetails.value) == null ? void 0 : _d.Destination}. ${minutesMessage}` : Xt(`${defaultMessage}`);
9370
9469
  });
9371
- const onInput = (e) => {
9372
- const { name, value } = e.target;
9470
+ const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
9471
+ const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText;
9472
+ const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
9473
+ const onInput = (e2) => {
9474
+ const { name, value } = e2.target;
9373
9475
  updateForm({ name, value });
9374
9476
  };
9375
- const onConfirmSignUpSubmit = (e) => {
9477
+ const onConfirmSignUpSubmit = (e2) => {
9376
9478
  if (attrs == null ? void 0 : attrs.onConfirmSignUpSubmit) {
9377
- emit("confirmSignUpSubmit", e);
9479
+ emit("confirmSignUpSubmit", e2);
9378
9480
  } else {
9379
- submit(e);
9481
+ submit(e2);
9380
9482
  }
9381
9483
  };
9382
- const submit = (e) => {
9383
- submitForm(Ga(e));
9484
+ const submit = (e2) => {
9485
+ submitForm(La(e2));
9384
9486
  };
9385
9487
  const onLostCodeClicked = () => {
9386
9488
  if (attrs == null ? void 0 : attrs.onLostCodeClicked) {
@@ -9395,9 +9497,9 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
9395
9497
  const _component_base_label = __unplugin_components_0;
9396
9498
  const _component_base_input = _sfc_main$r;
9397
9499
  const _component_base_wrapper = __unplugin_components_2;
9398
- const _component_base_field_set = _sfc_main$x;
9399
- const _component_base_alert = _sfc_main$v;
9400
- const _component_amplify_button = _sfc_main$w;
9500
+ const _component_base_field_set = _sfc_main$y;
9501
+ const _component_base_alert = _sfc_main$w;
9502
+ const _component_amplify_button = _sfc_main$x;
9401
9503
  const _component_base_footer = _sfc_main$t;
9402
9504
  const _component_base_form = _sfc_main$u;
9403
9505
  return renderSlot(_ctx.$slots, "confirmSignUpSlotI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
@@ -9441,31 +9543,38 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
9441
9543
  class: "amplify-flex amplify-field amplify-textfield",
9442
9544
  style: { "flex-direction": "column" }
9443
9545
  }, {
9444
- default: withCtx(() => [
9445
- createVNode(_component_base_label, {
9446
- class: "amplify-visually-hidden amplify-label",
9447
- for: "amplify-field-124b"
9448
- }, {
9449
- default: withCtx(() => [
9450
- createTextVNode(toDisplayString(unref(confirmationCodeText)), 1)
9451
- ]),
9452
- _: 1
9453
- }),
9454
- createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
9455
- default: withCtx(() => [
9456
- createVNode(_component_base_input, {
9457
- class: "amplify-input amplify-field-group__control",
9458
- id: "amplify-field-124b",
9459
- "aria-invalid": "false",
9460
- autocomplete: "one-time-code",
9461
- name: "confirmation_code",
9462
- required: "",
9463
- placeholder: unref(enterCode)
9464
- }, null, 8, ["placeholder"])
9465
- ]),
9466
- _: 1
9467
- })
9468
- ]),
9546
+ default: withCtx(() => {
9547
+ var _a3;
9548
+ return [
9549
+ createVNode(_component_base_label, {
9550
+ class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a3 = unref(labelHidden)) != null ? _a3 : true }]),
9551
+ for: "amplify-field-124b"
9552
+ }, {
9553
+ default: withCtx(() => [
9554
+ createTextVNode(toDisplayString(unref(label)), 1)
9555
+ ]),
9556
+ _: 1
9557
+ }, 8, ["class"]),
9558
+ createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
9559
+ default: withCtx(() => {
9560
+ var _a4, _b2, _c2, _d;
9561
+ return [
9562
+ createVNode(_component_base_input, {
9563
+ placeholder: (_b2 = (_a4 = unref(confOR)) == null ? void 0 : _a4.placeholder) != null ? _b2 : unref(enterCode),
9564
+ required: (_d = (_c2 = unref(confOR)) == null ? void 0 : _c2.required) != null ? _d : true,
9565
+ class: "amplify-input amplify-field-group__control",
9566
+ id: "amplify-field-124b",
9567
+ "aria-invalid": "false",
9568
+ autocomplete: "one-time-code",
9569
+ name: "confirmation_code",
9570
+ type: "number"
9571
+ }, null, 8, ["placeholder", "required"])
9572
+ ];
9573
+ }),
9574
+ _: 1
9575
+ })
9576
+ ];
9577
+ }),
9469
9578
  _: 1
9470
9579
  })
9471
9580
  ]),
@@ -9478,7 +9587,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
9478
9587
  default: withCtx(() => [
9479
9588
  unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
9480
9589
  default: withCtx(() => [
9481
- createTextVNode(toDisplayString(unref(Tt)(unref(error2))), 1)
9590
+ createTextVNode(toDisplayString(unref(Xt)(unref(error2))), 1)
9482
9591
  ]),
9483
9592
  _: 1
9484
9593
  })) : createCommentVNode("", true),
@@ -9529,40 +9638,45 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
9529
9638
  };
9530
9639
  }
9531
9640
  });
9532
- const _hoisted_1$4 = /* @__PURE__ */ createTextVNode(" Code * ");
9533
9641
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
9534
9642
  emits: ["confirmSignInSubmit", "backToSignInClicked"],
9535
9643
  setup(__props, { emit }) {
9644
+ var _a2, _b, _c;
9536
9645
  const attrs = useAttrs();
9537
9646
  const { state, send: send2 } = useAuth();
9647
+ const { value: { context } } = state;
9648
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmSignIn;
9649
+ const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
9538
9650
  const useAuthShared = createSharedComposable(useAuthenticator);
9539
9651
  const props = useAuthShared();
9540
- const actorState = computed(() => J(state.value));
9652
+ const actorState = computed(() => j(state.value));
9541
9653
  const challengeName = actorState.value.context.challengeName;
9542
9654
  let mfaType = "SMS";
9543
- if (challengeName === x.SOFTWARE_TOKEN_MFA) {
9655
+ if (challengeName === k.SOFTWARE_TOKEN_MFA) {
9544
9656
  mfaType = "TOTP";
9545
9657
  }
9546
9658
  const confirmSignInHeading = `Confirm ${mfaType} Code`;
9547
- const backSignInText = computed(() => Tt("Back to Sign In"));
9548
- const confirmText = computed(() => Tt("Confirm"));
9549
- const codeText = computed(() => Tt("Code"));
9550
- const onInput = (e) => {
9551
- const { name, value } = e.target;
9659
+ const backSignInText = computed(() => Xt("Back to Sign In"));
9660
+ const confirmText = computed(() => Xt("Confirm"));
9661
+ const codeText = computed(() => Xt("Code"));
9662
+ const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : Xt("Code *");
9663
+ const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
9664
+ const onInput = (e2) => {
9665
+ const { name, value } = e2.target;
9552
9666
  send2({
9553
9667
  type: "CHANGE",
9554
9668
  data: { name, value }
9555
9669
  });
9556
9670
  };
9557
- const onConfirmSignInSubmit = (e) => {
9671
+ const onConfirmSignInSubmit = (e2) => {
9558
9672
  if (attrs == null ? void 0 : attrs.onConfirmSignInSubmit) {
9559
- emit("confirmSignInSubmit", e);
9673
+ emit("confirmSignInSubmit", e2);
9560
9674
  } else {
9561
- submit(e);
9675
+ submit(e2);
9562
9676
  }
9563
9677
  };
9564
- const submit = (e) => {
9565
- props.submitForm(Ga(e));
9678
+ const submit = (e2) => {
9679
+ props.submitForm(La(e2));
9566
9680
  };
9567
9681
  const onBackToSignInClicked = () => {
9568
9682
  if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
@@ -9578,10 +9692,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
9578
9692
  const _component_base_label = __unplugin_components_0;
9579
9693
  const _component_base_input = _sfc_main$r;
9580
9694
  const _component_base_wrapper = __unplugin_components_2;
9581
- const _component_base_alert = _sfc_main$v;
9582
- const _component_amplify_button = _sfc_main$w;
9695
+ const _component_base_alert = _sfc_main$w;
9696
+ const _component_amplify_button = _sfc_main$x;
9583
9697
  const _component_base_footer = _sfc_main$t;
9584
- const _component_base_field_set = _sfc_main$x;
9698
+ const _component_base_field_set = _sfc_main$y;
9585
9699
  const _component_base_form = _sfc_main$u;
9586
9700
  return renderSlot(_ctx.$slots, "confirmSignInSlotI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
9587
9701
  createVNode(_component_base_wrapper, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
@@ -9618,35 +9732,41 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
9618
9732
  class: "amplify-flex amplify-field amplify-textfield",
9619
9733
  style: { "flex-direction": "column" }
9620
9734
  }, {
9621
- default: withCtx(() => [
9622
- createVNode(_component_base_label, {
9623
- class: "amplify-visually-hidden amplify-label",
9624
- for: "amplify-field-51ee"
9625
- }, {
9626
- default: withCtx(() => [
9627
- _hoisted_1$4
9628
- ]),
9629
- _: 1
9630
- }),
9631
- createVNode(_component_base_wrapper, {
9632
- class: "amplify-flex",
9633
- style: { "flex-direction": "column" }
9634
- }, {
9635
- default: withCtx(() => [
9636
- createVNode(_component_base_input, {
9637
- class: "amplify-input amplify-field-group__control",
9638
- id: "amplify-field-51ee",
9639
- "aria-invalid": "false",
9640
- name: "confirmation_code",
9641
- placeholder: unref(codeText),
9642
- autocomplete: "one-time-code",
9643
- required: "",
9644
- type: "text"
9645
- }, null, 8, ["placeholder"])
9646
- ]),
9647
- _: 1
9648
- })
9649
- ]),
9735
+ default: withCtx(() => {
9736
+ var _a3;
9737
+ return [
9738
+ createVNode(_component_base_label, {
9739
+ class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a3 = unref(labelHidden)) != null ? _a3 : true }]),
9740
+ for: "amplify-field-51ee"
9741
+ }, {
9742
+ default: withCtx(() => [
9743
+ createTextVNode(toDisplayString(unref(label)), 1)
9744
+ ]),
9745
+ _: 1
9746
+ }, 8, ["class"]),
9747
+ createVNode(_component_base_wrapper, {
9748
+ class: "amplify-flex",
9749
+ style: { "flex-direction": "column" }
9750
+ }, {
9751
+ default: withCtx(() => {
9752
+ var _a4, _b2, _c2, _d;
9753
+ return [
9754
+ createVNode(_component_base_input, {
9755
+ placeholder: (_b2 = (_a4 = unref(confOR)) == null ? void 0 : _a4.placeholder) != null ? _b2 : unref(codeText),
9756
+ required: (_d = (_c2 = unref(confOR)) == null ? void 0 : _c2.required) != null ? _d : true,
9757
+ class: "amplify-input amplify-field-group__control",
9758
+ id: "amplify-field-51ee",
9759
+ "aria-invalid": "false",
9760
+ name: "confirmation_code",
9761
+ autocomplete: "one-time-code",
9762
+ type: "number"
9763
+ }, null, 8, ["placeholder", "required"])
9764
+ ];
9765
+ }),
9766
+ _: 1
9767
+ })
9768
+ ];
9769
+ }),
9650
9770
  _: 1
9651
9771
  })
9652
9772
  ]),
@@ -9657,13 +9777,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
9657
9777
  style: { "flex-direction": "column" }
9658
9778
  }, {
9659
9779
  default: withCtx(() => {
9660
- var _a2, _b;
9780
+ var _a3, _b2;
9661
9781
  return [
9662
- ((_b = (_a2 = unref(actorState)) == null ? void 0 : _a2.context) == null ? void 0 : _b.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
9782
+ ((_b2 = (_a3 = unref(actorState)) == null ? void 0 : _a3.context) == null ? void 0 : _b2.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
9663
9783
  default: withCtx(() => {
9664
- var _a3, _b2;
9784
+ var _a4, _b3;
9665
9785
  return [
9666
- createTextVNode(toDisplayString(unref(Tt)((_b2 = (_a3 = unref(actorState)) == null ? void 0 : _a3.context) == null ? void 0 : _b2.remoteError)), 1)
9786
+ createTextVNode(toDisplayString(unref(Xt)((_b3 = (_a4 = unref(actorState)) == null ? void 0 : _a4.context) == null ? void 0 : _b3.remoteError)), 1)
9667
9787
  ];
9668
9788
  }),
9669
9789
  _: 1
@@ -9833,7 +9953,7 @@ var errorCorrectionLevel = {};
9833
9953
  }
9834
9954
  try {
9835
9955
  return fromString(value);
9836
- } catch (e) {
9956
+ } catch (e2) {
9837
9957
  return defaultValue;
9838
9958
  }
9839
9959
  };
@@ -10029,8 +10149,8 @@ var maskPattern = {};
10029
10149
  const modulesCount = data.data.length;
10030
10150
  for (let i = 0; i < modulesCount; i++)
10031
10151
  darkCount += data.data[i];
10032
- const k = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
10033
- return k * PenaltyScores.N4;
10152
+ const k2 = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
10153
+ return k2 * PenaltyScores.N4;
10034
10154
  };
10035
10155
  function getMaskAt(maskPattern2, i, j2) {
10036
10156
  switch (maskPattern2) {
@@ -10440,13 +10560,13 @@ var galoisField = {};
10440
10560
  const EXP_TABLE = new Uint8Array(512);
10441
10561
  const LOG_TABLE = new Uint8Array(256);
10442
10562
  (function initTables() {
10443
- let x2 = 1;
10563
+ let x = 1;
10444
10564
  for (let i = 0; i < 255; i++) {
10445
- EXP_TABLE[i] = x2;
10446
- LOG_TABLE[x2] = i;
10447
- x2 <<= 1;
10448
- if (x2 & 256) {
10449
- x2 ^= 285;
10565
+ EXP_TABLE[i] = x;
10566
+ LOG_TABLE[x] = i;
10567
+ x <<= 1;
10568
+ if (x & 256) {
10569
+ x ^= 285;
10450
10570
  }
10451
10571
  }
10452
10572
  for (let i = 255; i < 512; i++) {
@@ -10461,10 +10581,10 @@ galoisField.log = function log2(n) {
10461
10581
  galoisField.exp = function exp(n) {
10462
10582
  return EXP_TABLE[n];
10463
10583
  };
10464
- galoisField.mul = function mul(x2, y) {
10465
- if (x2 === 0 || y === 0)
10584
+ galoisField.mul = function mul(x, y) {
10585
+ if (x === 0 || y === 0)
10466
10586
  return 0;
10467
- return EXP_TABLE[LOG_TABLE[x2] + LOG_TABLE[y]];
10587
+ return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]];
10468
10588
  };
10469
10589
  (function(exports) {
10470
10590
  const GF = galoisField;
@@ -10635,7 +10755,7 @@ regex.testAlphanumeric = function testAlphanumeric(str) {
10635
10755
  }
10636
10756
  try {
10637
10757
  return fromString(value);
10638
- } catch (e) {
10758
+ } catch (e2) {
10639
10759
  return defaultValue;
10640
10760
  }
10641
10761
  };
@@ -10726,11 +10846,11 @@ regex.testAlphanumeric = function testAlphanumeric(str) {
10726
10846
  if (!VersionCheck.isValid(version2) || version2 < 7) {
10727
10847
  throw new Error("Invalid QR Code version");
10728
10848
  }
10729
- let d2 = version2 << 12;
10730
- while (Utils2.getBCHDigit(d2) - G18_BCH >= 0) {
10731
- d2 ^= G18 << Utils2.getBCHDigit(d2) - G18_BCH;
10849
+ let d = version2 << 12;
10850
+ while (Utils2.getBCHDigit(d) - G18_BCH >= 0) {
10851
+ d ^= G18 << Utils2.getBCHDigit(d) - G18_BCH;
10732
10852
  }
10733
- return version2 << 12 | d2;
10853
+ return version2 << 12 | d;
10734
10854
  };
10735
10855
  })(version);
10736
10856
  var formatInfo = {};
@@ -10740,11 +10860,11 @@ const G15_MASK = 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1;
10740
10860
  const G15_BCH = Utils$3.getBCHDigit(G15);
10741
10861
  formatInfo.getEncodedBits = function getEncodedBits(errorCorrectionLevel2, mask) {
10742
10862
  const data = errorCorrectionLevel2.bit << 3 | mask;
10743
- let d2 = data << 10;
10744
- while (Utils$3.getBCHDigit(d2) - G15_BCH >= 0) {
10745
- d2 ^= G15 << Utils$3.getBCHDigit(d2) - G15_BCH;
10863
+ let d = data << 10;
10864
+ while (Utils$3.getBCHDigit(d) - G15_BCH >= 0) {
10865
+ d ^= G15 << Utils$3.getBCHDigit(d) - G15_BCH;
10746
10866
  }
10747
- return (data << 10 | d2) ^ G15_MASK;
10867
+ return (data << 10 | d) ^ G15_MASK;
10748
10868
  };
10749
10869
  var segments = {};
10750
10870
  const Mode$4 = mode;
@@ -10942,7 +11062,7 @@ var kanjiData = KanjiData;
10942
11062
  var dijkstra = { exports: {} };
10943
11063
  (function(module) {
10944
11064
  var dijkstra2 = {
10945
- single_source_shortest_paths: function(graph, s, d2) {
11065
+ single_source_shortest_paths: function(graph, s, d) {
10946
11066
  var predecessors = {};
10947
11067
  var costs = {};
10948
11068
  costs[s] = 0;
@@ -10968,15 +11088,15 @@ var dijkstra = { exports: {} };
10968
11088
  }
10969
11089
  }
10970
11090
  }
10971
- if (typeof d2 !== "undefined" && typeof costs[d2] === "undefined") {
10972
- var msg = ["Could not find a path from ", s, " to ", d2, "."].join("");
11091
+ if (typeof d !== "undefined" && typeof costs[d] === "undefined") {
11092
+ var msg = ["Could not find a path from ", s, " to ", d, "."].join("");
10973
11093
  throw new Error(msg);
10974
11094
  }
10975
11095
  return predecessors;
10976
11096
  },
10977
- extract_shortest_path_from_predecessor_list: function(predecessors, d2) {
11097
+ extract_shortest_path_from_predecessor_list: function(predecessors, d) {
10978
11098
  var nodes = [];
10979
- var u = d2;
11099
+ var u = d;
10980
11100
  while (u) {
10981
11101
  nodes.push(u);
10982
11102
  u = predecessors[u];
@@ -10984,9 +11104,9 @@ var dijkstra = { exports: {} };
10984
11104
  nodes.reverse();
10985
11105
  return nodes;
10986
11106
  },
10987
- find_path: function(graph, s, d2) {
10988
- var predecessors = dijkstra2.single_source_shortest_paths(graph, s, d2);
10989
- return dijkstra2.extract_shortest_path_from_predecessor_list(predecessors, d2);
11107
+ find_path: function(graph, s, d) {
11108
+ var predecessors = dijkstra2.single_source_shortest_paths(graph, s, d);
11109
+ return dijkstra2.extract_shortest_path_from_predecessor_list(predecessors, d);
10990
11110
  },
10991
11111
  PriorityQueue: {
10992
11112
  make: function(opts) {
@@ -11221,16 +11341,16 @@ function setupFinderPattern(matrix, version2) {
11221
11341
  for (let i = 0; i < pos.length; i++) {
11222
11342
  const row = pos[i][0];
11223
11343
  const col = pos[i][1];
11224
- for (let r2 = -1; r2 <= 7; r2++) {
11225
- if (row + r2 <= -1 || size <= row + r2)
11344
+ for (let r = -1; r <= 7; r++) {
11345
+ if (row + r <= -1 || size <= row + r)
11226
11346
  continue;
11227
- for (let c = -1; c <= 7; c++) {
11228
- if (col + c <= -1 || size <= col + c)
11347
+ for (let c2 = -1; c2 <= 7; c2++) {
11348
+ if (col + c2 <= -1 || size <= col + c2)
11229
11349
  continue;
11230
- if (r2 >= 0 && r2 <= 6 && (c === 0 || c === 6) || c >= 0 && c <= 6 && (r2 === 0 || r2 === 6) || r2 >= 2 && r2 <= 4 && c >= 2 && c <= 4) {
11231
- matrix.set(row + r2, col + c, true, true);
11350
+ if (r >= 0 && r <= 6 && (c2 === 0 || c2 === 6) || c2 >= 0 && c2 <= 6 && (r === 0 || r === 6) || r >= 2 && r <= 4 && c2 >= 2 && c2 <= 4) {
11351
+ matrix.set(row + r, col + c2, true, true);
11232
11352
  } else {
11233
- matrix.set(row + r2, col + c, false, true);
11353
+ matrix.set(row + r, col + c2, false, true);
11234
11354
  }
11235
11355
  }
11236
11356
  }
@@ -11238,10 +11358,10 @@ function setupFinderPattern(matrix, version2) {
11238
11358
  }
11239
11359
  function setupTimingPattern(matrix) {
11240
11360
  const size = matrix.size;
11241
- for (let r2 = 8; r2 < size - 8; r2++) {
11242
- const value = r2 % 2 === 0;
11243
- matrix.set(r2, 6, value, true);
11244
- matrix.set(6, r2, value, true);
11361
+ for (let r = 8; r < size - 8; r++) {
11362
+ const value = r % 2 === 0;
11363
+ matrix.set(r, 6, value, true);
11364
+ matrix.set(6, r, value, true);
11245
11365
  }
11246
11366
  }
11247
11367
  function setupAlignmentPattern(matrix, version2) {
@@ -11249,12 +11369,12 @@ function setupAlignmentPattern(matrix, version2) {
11249
11369
  for (let i = 0; i < pos.length; i++) {
11250
11370
  const row = pos[i][0];
11251
11371
  const col = pos[i][1];
11252
- for (let r2 = -2; r2 <= 2; r2++) {
11253
- for (let c = -2; c <= 2; c++) {
11254
- if (r2 === -2 || r2 === 2 || c === -2 || c === 2 || r2 === 0 && c === 0) {
11255
- matrix.set(row + r2, col + c, true, true);
11372
+ for (let r = -2; r <= 2; r++) {
11373
+ for (let c2 = -2; c2 <= 2; c2++) {
11374
+ if (r === -2 || r === 2 || c2 === -2 || c2 === 2 || r === 0 && c2 === 0) {
11375
+ matrix.set(row + r, col + c2, true, true);
11256
11376
  } else {
11257
- matrix.set(row + r2, col + c, false, true);
11377
+ matrix.set(row + r, col + c2, false, true);
11258
11378
  }
11259
11379
  }
11260
11380
  }
@@ -11305,13 +11425,13 @@ function setupData(matrix, data) {
11305
11425
  if (col === 6)
11306
11426
  col--;
11307
11427
  while (true) {
11308
- for (let c = 0; c < 2; c++) {
11309
- if (!matrix.isReserved(row, col - c)) {
11428
+ for (let c2 = 0; c2 < 2; c2++) {
11429
+ if (!matrix.isReserved(row, col - c2)) {
11310
11430
  let dark = false;
11311
11431
  if (byteIndex < data.length) {
11312
11432
  dark = (data[byteIndex] >>> bitIndex & 1) === 1;
11313
11433
  }
11314
- matrix.set(row, col - c, dark);
11434
+ matrix.set(row, col - c2, dark);
11315
11435
  bitIndex--;
11316
11436
  if (bitIndex === -1) {
11317
11437
  byteIndex++;
@@ -11376,17 +11496,17 @@ function createCodewords(bitBuffer2, version2, errorCorrectionLevel2) {
11376
11496
  }
11377
11497
  const data = new Uint8Array(totalCodewords);
11378
11498
  let index2 = 0;
11379
- let i, r2;
11499
+ let i, r;
11380
11500
  for (i = 0; i < maxDataSize; i++) {
11381
- for (r2 = 0; r2 < ecTotalBlocks; r2++) {
11382
- if (i < dcData[r2].length) {
11383
- data[index2++] = dcData[r2][i];
11501
+ for (r = 0; r < ecTotalBlocks; r++) {
11502
+ if (i < dcData[r].length) {
11503
+ data[index2++] = dcData[r][i];
11384
11504
  }
11385
11505
  }
11386
11506
  }
11387
11507
  for (i = 0; i < ecCount; i++) {
11388
- for (r2 = 0; r2 < ecTotalBlocks; r2++) {
11389
- data[index2++] = ecData[r2][i];
11508
+ for (r = 0; r < ecTotalBlocks; r++) {
11509
+ data[index2++] = ecData[r][i];
11390
11510
  }
11391
11511
  }
11392
11512
  return data;
@@ -11470,8 +11590,8 @@ var utils = {};
11470
11590
  throw new Error("Invalid hex color: " + hex);
11471
11591
  }
11472
11592
  if (hexCode.length === 3 || hexCode.length === 4) {
11473
- hexCode = Array.prototype.concat.apply([], hexCode.map(function(c) {
11474
- return [c, c];
11593
+ hexCode = Array.prototype.concat.apply([], hexCode.map(function(c2) {
11594
+ return [c2, c2];
11475
11595
  }));
11476
11596
  }
11477
11597
  if (hexCode.length === 6)
@@ -11512,9 +11632,9 @@ var utils = {};
11512
11632
  const scale = exports.getScale(qrSize, opts);
11513
11633
  return Math.floor((qrSize + opts.margin * 2) * scale);
11514
11634
  };
11515
- exports.qrToImageData = function qrToImageData(imgData, qr, opts) {
11516
- const size = qr.modules.size;
11517
- const data = qr.modules.data;
11635
+ exports.qrToImageData = function qrToImageData(imgData, qr2, opts) {
11636
+ const size = qr2.modules.size;
11637
+ const data = qr2.modules.data;
11518
11638
  const scale = exports.getScale(size, opts);
11519
11639
  const symbolSize = Math.floor((size + opts.margin * 2) * scale);
11520
11640
  const scaledMargin = opts.margin * scale;
@@ -11550,7 +11670,7 @@ var utils = {};
11550
11670
  function getCanvasElement() {
11551
11671
  try {
11552
11672
  return document.createElement("canvas");
11553
- } catch (e) {
11673
+ } catch (e2) {
11554
11674
  throw new Error("You need to specify a canvas element");
11555
11675
  }
11556
11676
  }
@@ -11594,8 +11714,8 @@ function getColorAttrib(color, attrib) {
11594
11714
  const str = attrib + '="' + color.hex + '"';
11595
11715
  return alpha < 1 ? str + " " + attrib + '-opacity="' + alpha.toFixed(2).slice(1) + '"' : str;
11596
11716
  }
11597
- function svgCmd(cmd, x2, y) {
11598
- let str = cmd + x2;
11717
+ function svgCmd(cmd, x, y) {
11718
+ let str = cmd + x;
11599
11719
  if (typeof y !== "undefined")
11600
11720
  str += " " + y;
11601
11721
  return str;
@@ -11688,16 +11808,16 @@ function renderCanvas(renderFunc, canvas2, text, opts, cb) {
11688
11808
  try {
11689
11809
  const data = QRCode.create(text, opts);
11690
11810
  resolve(renderFunc(data, canvas2, opts));
11691
- } catch (e) {
11692
- reject(e);
11811
+ } catch (e2) {
11812
+ reject(e2);
11693
11813
  }
11694
11814
  });
11695
11815
  }
11696
11816
  try {
11697
11817
  const data = QRCode.create(text, opts);
11698
11818
  cb(null, renderFunc(data, canvas2, opts));
11699
- } catch (e) {
11700
- cb(e);
11819
+ } catch (e2) {
11820
+ cb(e2);
11701
11821
  }
11702
11822
  }
11703
11823
  browser.create = QRCode.create;
@@ -11714,34 +11834,35 @@ const _hoisted_5$1 = /* @__PURE__ */ createElementVNode("svg", {
11714
11834
  width: "24",
11715
11835
  height: "24",
11716
11836
  viewBox: "0 0 24 24",
11717
- fill: "none",
11718
11837
  xmlns: "http://www.w3.org/2000/svg"
11719
11838
  }, [
11720
- /* @__PURE__ */ createElementVNode("path", {
11721
- 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",
11722
- fill: "black"
11723
- })
11839
+ /* @__PURE__ */ createElementVNode("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" })
11724
11840
  ], -1);
11725
- const _hoisted_6$1 = /* @__PURE__ */ createTextVNode("Code *");
11726
11841
  const _sfc_main$b = /* @__PURE__ */ defineComponent({
11727
11842
  emits: ["confirmSetupTOTPSubmit", "backToSignInClicked"],
11728
11843
  setup(__props, { emit }) {
11844
+ var _a2, _b, _c;
11729
11845
  const useAuthShared = createSharedComposable(useAuthenticator);
11730
11846
  const props = useAuthShared();
11731
11847
  const attrs = useAttrs();
11732
11848
  const { state, send: send2 } = useAuth();
11733
- const actorState = computed(() => J(state.value));
11849
+ const { value: { context } } = state;
11850
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.setupTOTP;
11851
+ const QROR = formOverrides == null ? void 0 : formOverrides["QR"];
11852
+ const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
11853
+ const actorState = computed(() => j(state.value));
11734
11854
  let qrCode = reactive({
11735
11855
  qrCodeImageSource: "",
11736
11856
  isLoading: true
11737
11857
  });
11738
11858
  let secretKey = ref("");
11739
- let copyTextLabel = ref(Tt("COPY"));
11859
+ let copyTextLabel = ref(Xt("COPY"));
11740
11860
  function copyText() {
11741
11861
  navigator.clipboard.writeText(secretKey.value);
11742
- copyTextLabel.value = Tt("COPIED");
11862
+ copyTextLabel.value = Xt("COPIED");
11743
11863
  }
11744
11864
  onMounted(async () => {
11865
+ var _a3, _b2;
11745
11866
  const logger = new Logger("SetupTOTP-logger");
11746
11867
  const { user } = actorState.value.context;
11747
11868
  if (!user) {
@@ -11749,8 +11870,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
11749
11870
  }
11750
11871
  try {
11751
11872
  secretKey.value = await Auth.setupTOTP(user);
11752
- const issuer = "AWSCognito";
11753
- const totpCode = `otpauth://totp/${issuer}:${user.username}?secret=${secretKey.value}&issuer=${issuer}`;
11873
+ const issuer = (_a3 = QROR == null ? void 0 : QROR.totpIssuer) != null ? _a3 : "AWSCognito";
11874
+ const username = (_b2 = QROR == null ? void 0 : QROR.totpUsername) != null ? _b2 : user.username;
11875
+ const totpCode = `otpauth://totp/${issuer}:${username}?secret=${secretKey.value}&issuer=${issuer}`;
11754
11876
  qrCode.qrCodeImageSource = await browser.toDataURL(totpCode);
11755
11877
  } catch (error2) {
11756
11878
  logger.error(error2);
@@ -11758,25 +11880,27 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
11758
11880
  qrCode.isLoading = false;
11759
11881
  }
11760
11882
  });
11761
- const backSignInText = computed(() => Tt("Back to Sign In"));
11762
- const confirmText = computed(() => Tt("Confirm"));
11763
- const codeText = computed(() => Tt("Code"));
11764
- const onInput = (e) => {
11765
- const { name, value } = e.target;
11883
+ const backSignInText = computed(() => Xt("Back to Sign In"));
11884
+ const confirmText = computed(() => Xt("Confirm"));
11885
+ const codeText = computed(() => Xt("Code"));
11886
+ const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : Xt("Code *");
11887
+ const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
11888
+ const onInput = (e2) => {
11889
+ const { name, value } = e2.target;
11766
11890
  send2({
11767
11891
  type: "CHANGE",
11768
11892
  data: { name, value }
11769
11893
  });
11770
11894
  };
11771
- const onSetupTOTPSubmit = (e) => {
11895
+ const onSetupTOTPSubmit = (e2) => {
11772
11896
  if (attrs == null ? void 0 : attrs.onConfirmSetupTOTPSubmit) {
11773
- emit("confirmSetupTOTPSubmit", e);
11897
+ emit("confirmSetupTOTPSubmit", e2);
11774
11898
  } else {
11775
- submit(e);
11899
+ submit(e2);
11776
11900
  }
11777
11901
  };
11778
- const submit = (e) => {
11779
- props.submitForm(Ga(e));
11902
+ const submit = (e2) => {
11903
+ props.submitForm(La(e2));
11780
11904
  };
11781
11905
  const onBackToSignInClicked = () => {
11782
11906
  if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
@@ -11792,10 +11916,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
11792
11916
  const _component_base_wrapper = __unplugin_components_2;
11793
11917
  const _component_base_label = __unplugin_components_0;
11794
11918
  const _component_base_input = _sfc_main$r;
11795
- const _component_base_alert = _sfc_main$v;
11796
- const _component_amplify_button = _sfc_main$w;
11919
+ const _component_base_alert = _sfc_main$w;
11920
+ const _component_amplify_button = _sfc_main$x;
11797
11921
  const _component_base_footer = _sfc_main$t;
11798
- const _component_base_field_set = _sfc_main$x;
11922
+ const _component_base_field_set = _sfc_main$y;
11799
11923
  const _component_base_form = _sfc_main$u;
11800
11924
  return renderSlot(_ctx.$slots, "confirmSetupTOTPI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
11801
11925
  createVNode(_component_base_wrapper, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
@@ -11865,32 +11989,38 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
11865
11989
  class: "amplify-flex amplify-field amplify-textfield",
11866
11990
  style: { "flex-direction": "column" }
11867
11991
  }, {
11868
- default: withCtx(() => [
11869
- createVNode(_component_base_label, {
11870
- class: "amplify-visually-hidden amplify-label",
11871
- for: "amplify-field-45d1"
11872
- }, {
11873
- default: withCtx(() => [
11874
- _hoisted_6$1
11875
- ]),
11876
- _: 1
11877
- }),
11878
- createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
11879
- default: withCtx(() => [
11880
- createVNode(_component_base_input, {
11881
- class: "amplify-input amplify-field-group__control",
11882
- id: "amplify-field-45d1",
11883
- "aria-invalid": "false",
11884
- name: "confirmation_code",
11885
- placeholder: unref(codeText),
11886
- autocomplete: "one-time-code",
11887
- required: "",
11888
- type: "text"
11889
- }, null, 8, ["placeholder"])
11890
- ]),
11891
- _: 1
11892
- })
11893
- ]),
11992
+ default: withCtx(() => {
11993
+ var _a3;
11994
+ return [
11995
+ createVNode(_component_base_label, {
11996
+ class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a3 = unref(labelHidden)) != null ? _a3 : true }]),
11997
+ for: "amplify-field-45d1"
11998
+ }, {
11999
+ default: withCtx(() => [
12000
+ createTextVNode(toDisplayString(unref(label)), 1)
12001
+ ]),
12002
+ _: 1
12003
+ }, 8, ["class"]),
12004
+ createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
12005
+ default: withCtx(() => {
12006
+ var _a4, _b2, _c2, _d;
12007
+ return [
12008
+ createVNode(_component_base_input, {
12009
+ placeholder: (_b2 = (_a4 = unref(confOR)) == null ? void 0 : _a4.placeholder) != null ? _b2 : unref(codeText),
12010
+ required: (_d = (_c2 = unref(confOR)) == null ? void 0 : _c2.required) != null ? _d : true,
12011
+ class: "amplify-input amplify-field-group__control",
12012
+ id: "amplify-field-45d1",
12013
+ "aria-invalid": "false",
12014
+ name: "confirmation_code",
12015
+ autocomplete: "one-time-code",
12016
+ type: "number"
12017
+ }, null, 8, ["placeholder", "required"])
12018
+ ];
12019
+ }),
12020
+ _: 1
12021
+ })
12022
+ ];
12023
+ }),
11894
12024
  _: 1
11895
12025
  })
11896
12026
  ]),
@@ -11901,11 +12031,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
11901
12031
  style: { "flex-direction": "column" }
11902
12032
  }, {
11903
12033
  default: withCtx(() => {
11904
- var _a2;
12034
+ var _a3;
11905
12035
  return [
11906
- ((_a2 = unref(actorState).context) == null ? void 0 : _a2.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
12036
+ ((_a3 = unref(actorState).context) == null ? void 0 : _a3.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
11907
12037
  default: withCtx(() => [
11908
- createTextVNode(toDisplayString(unref(Tt)(unref(actorState).context.remoteError)), 1)
12038
+ createTextVNode(toDisplayString(unref(Xt)(unref(actorState).context.remoteError)), 1)
11909
12039
  ]),
11910
12040
  _: 1
11911
12041
  })) : createCommentVNode("", true),
@@ -11971,12 +12101,15 @@ function _sfc_render(_ctx, _cache) {
11971
12101
  var __unplugin_components_4 = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render]]);
11972
12102
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
11973
12103
  setup(__props) {
12104
+ var _a2, _b;
11974
12105
  const { state } = useAuth();
11975
- const actorState = computed(() => J(state.value));
11976
- const inputAttributes = computed(() => G);
12106
+ const actorState = computed(() => j(state.value));
12107
+ const inputAttributes = computed(() => I);
12108
+ const { value: { context } } = state;
12109
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.forceNewPassword;
11977
12110
  let requiredAttributes = actorState.value.context.requiredAttributes;
11978
12111
  requiredAttributes = requiredAttributes == null ? void 0 : requiredAttributes.filter((fieldName) => {
11979
- const hasDefaultField = !!G[fieldName];
12112
+ const hasDefaultField = !!I[fieldName];
11980
12113
  if (!hasDefaultField) {
11981
12114
  console.debug(`Authenticator does not have a default implementation for ${fieldName}. Customize the authenticator force-new-password-fields slot to add your own.`);
11982
12115
  }
@@ -11984,13 +12117,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
11984
12117
  });
11985
12118
  return (_ctx, _cache) => {
11986
12119
  return openBlock(true), createElementBlock(Fragment, null, renderList(unref(requiredAttributes), (field, idx) => {
11987
- var _a2, _b;
12120
+ var _a3, _b2, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n;
11988
12121
  return openBlock(), createBlock(_sfc_main$k, {
11989
12122
  key: idx,
11990
- label: unref(Tt)((_a2 = unref(inputAttributes)[field]) == null ? void 0 : _a2.label),
12123
+ label: unref(Xt)((_c = (_b2 = (_a3 = unref(formOverrides)) == null ? void 0 : _a3[field]) == null ? void 0 : _b2.label) != null ? _c : unref(inputAttributes)[field].label),
12124
+ "label-hidden": (_e2 = (_d = unref(formOverrides)) == null ? void 0 : _d[field]) == null ? void 0 : _e2.labelHidden,
12125
+ required: (_g = (_f = unref(formOverrides)) == null ? void 0 : _f[field]) == null ? void 0 : _g.required,
11991
12126
  name: field,
11992
- placeholder: unref(Tt)((_b = unref(inputAttributes)[field]) == null ? void 0 : _b.label)
11993
- }, null, 8, ["label", "name", "placeholder"]);
12127
+ placeholder: unref(Xt)((_j = (_i = (_h = unref(formOverrides)) == null ? void 0 : _h[field]) == null ? void 0 : _i.placeholder) != null ? _j : unref(inputAttributes)[field].label),
12128
+ dialCode: (_l = (_k = unref(formOverrides)) == null ? void 0 : _k[field]) == null ? void 0 : _l.dialCode,
12129
+ dialCodeList: (_n = (_m = unref(formOverrides)) == null ? void 0 : _m[field]) == null ? void 0 : _n.dialCodeList
12130
+ }, null, 8, ["label", "label-hidden", "required", "name", "placeholder", "dialCode", "dialCodeList"]);
11994
12131
  }), 128);
11995
12132
  };
11996
12133
  }
@@ -11998,17 +12135,20 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
11998
12135
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
11999
12136
  emits: ["haveAccountClicked", "forceNewPasswordSubmit"],
12000
12137
  setup(__props, { emit }) {
12138
+ var _a2, _b;
12001
12139
  const attrs = useAttrs();
12002
12140
  const { state, send: send2 } = useAuth();
12141
+ const { value: { context } } = state;
12142
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.forceNewPassword;
12003
12143
  const useAuthShared = createSharedComposable(useAuthenticator);
12004
12144
  const props = useAuthShared();
12005
- const actorState = computed(() => J(state.value));
12006
- const actorContext = computed(() => Kr(state.value));
12007
- const changePasswordLabel = computed(() => Tt("Change Password"));
12008
- const changingPasswordLabel = computed(() => Tt("Changing"));
12009
- const backSignInText = computed(() => Tt("Back to Sign In"));
12010
- const passwordLabel = computed(() => Tt("Password"));
12011
- const confirmPasswordLabel = computed(() => Tt("Confirm Password"));
12145
+ const actorState = computed(() => j(state.value));
12146
+ const actorContext = computed(() => Te(state.value));
12147
+ const changePasswordLabel = computed(() => Xt("Change Password"));
12148
+ const changingPasswordLabel = computed(() => Xt("Changing"));
12149
+ const backSignInText = computed(() => Xt("Back to Sign In"));
12150
+ const passwordLabel = computed(() => Xt("Password"));
12151
+ const confirmPasswordLabel = computed(() => Xt("Confirm Password"));
12012
12152
  const onHaveAccountClicked = () => {
12013
12153
  if (attrs == null ? void 0 : attrs.onHaveAccountClicked) {
12014
12154
  emit("haveAccountClicked");
@@ -12018,35 +12158,35 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
12018
12158
  });
12019
12159
  }
12020
12160
  };
12021
- const onForceNewPasswordSubmit = (e) => {
12161
+ const onForceNewPasswordSubmit = (e2) => {
12022
12162
  if (attrs == null ? void 0 : attrs.onForceNewPasswordSubmit) {
12023
- emit("forceNewPasswordSubmit", e);
12163
+ emit("forceNewPasswordSubmit", e2);
12024
12164
  } else {
12025
- submit(e);
12165
+ submit(e2);
12026
12166
  }
12027
12167
  };
12028
- const submit = (e) => {
12029
- props.submitForm(Ga(e));
12168
+ const submit = (e2) => {
12169
+ props.submitForm(La(e2));
12030
12170
  };
12031
- const onInput = (e) => {
12032
- const { name, value } = e.target;
12171
+ const onInput = (e2) => {
12172
+ const { name, value } = e2.target;
12033
12173
  send2({
12034
12174
  type: "CHANGE",
12035
12175
  data: { name, value }
12036
12176
  });
12037
12177
  };
12038
- function onBlur(e) {
12039
- const { name } = e.target;
12178
+ function onBlur(e2) {
12179
+ const { name } = e2.target;
12040
12180
  props.updateBlur({ name });
12041
12181
  }
12042
12182
  return (_ctx, _cache) => {
12043
12183
  const _component_base_heading = _sfc_main$f;
12044
12184
  const _component_base_wrapper = __unplugin_components_2;
12045
12185
  const _component_base_box = __unplugin_components_4;
12046
- const _component_base_alert = _sfc_main$v;
12047
- const _component_amplify_button = _sfc_main$w;
12186
+ const _component_base_alert = _sfc_main$w;
12187
+ const _component_amplify_button = _sfc_main$x;
12048
12188
  const _component_base_footer = _sfc_main$t;
12049
- const _component_base_field_set = _sfc_main$x;
12189
+ const _component_base_field_set = _sfc_main$y;
12050
12190
  const _component_base_form = _sfc_main$u;
12051
12191
  return renderSlot(_ctx.$slots, "forceNewPasswordI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
12052
12192
  createVNode(_component_base_wrapper, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
@@ -12079,36 +12219,18 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
12079
12219
  style: { "flex-direction": "column" }
12080
12220
  }, {
12081
12221
  default: withCtx(() => [
12082
- createVNode(_component_base_wrapper, {
12083
- class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield",
12084
- style: { "flex-direction": "column" }
12085
- }, {
12086
- default: withCtx(() => [
12087
- createVNode(_sfc_main$q, {
12088
- name: "password",
12089
- label: unref(passwordLabel),
12090
- autocomplete: "new-password",
12091
- ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12092
- onBlur
12093
- }, null, 8, ["label", "ariainvalid"])
12094
- ]),
12095
- _: 1
12096
- }),
12097
- createVNode(_component_base_wrapper, {
12098
- class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield",
12099
- style: { "flex-direction": "column" }
12100
- }, {
12101
- default: withCtx(() => [
12102
- createVNode(_sfc_main$q, {
12103
- name: "confirm_password",
12104
- label: unref(confirmPasswordLabel),
12105
- autocomplete: "new-password",
12106
- ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12107
- onBlur
12108
- }, null, 8, ["label", "ariainvalid"])
12109
- ]),
12110
- _: 1
12111
- }),
12222
+ createVNode(_sfc_main$q, mergeProps(unref(propsCreator)("password", unref(passwordLabel), unref(formOverrides), true), {
12223
+ name: "password",
12224
+ autocomplete: "new-password",
12225
+ ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12226
+ onBlur
12227
+ }), null, 16, ["ariainvalid"]),
12228
+ createVNode(_sfc_main$q, mergeProps(unref(propsCreator)("confirm_password", unref(confirmPasswordLabel), unref(formOverrides), true), {
12229
+ name: "confirm_password",
12230
+ autocomplete: "new-password",
12231
+ ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12232
+ onBlur
12233
+ }), null, 16, ["ariainvalid"]),
12112
12234
  renderSlot(_ctx.$slots, "force-new-password-form-fields", {}, () => [
12113
12235
  createVNode(_sfc_main$9)
12114
12236
  ])
@@ -12128,7 +12250,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
12128
12250
  class: "amplify-text"
12129
12251
  }, {
12130
12252
  default: withCtx(() => [
12131
- createTextVNode(toDisplayString(unref(Tt)(unref(actorContext).validationError["confirm_password"])), 1)
12253
+ createTextVNode(toDisplayString(unref(Xt)(unref(actorContext).validationError["confirm_password"])), 1)
12132
12254
  ]),
12133
12255
  _: 1
12134
12256
  })) : createCommentVNode("", true),
@@ -12137,7 +12259,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
12137
12259
  "data-ui-error": ""
12138
12260
  }, {
12139
12261
  default: withCtx(() => [
12140
- createTextVNode(toDisplayString(unref(Tt)(unref(actorState).context.remoteError)), 1)
12262
+ createTextVNode(toDisplayString(unref(Xt)(unref(actorState).context.remoteError)), 1)
12141
12263
  ]),
12142
12264
  _: 1
12143
12265
  })) : createCommentVNode("", true),
@@ -12191,28 +12313,33 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
12191
12313
  const _sfc_main$7 = /* @__PURE__ */ defineComponent({
12192
12314
  emits: ["resetPasswordSubmit", "backToSignInClicked"],
12193
12315
  setup(__props, { emit }) {
12316
+ var _a2, _b, _c, _d;
12194
12317
  const attrs = useAttrs();
12195
12318
  const useAuthShared = createSharedComposable(useAuthenticator);
12196
12319
  const { state, send: send2, submitForm } = useAuthShared();
12197
12320
  const { error: error2, isPending } = toRefs(useAuthShared());
12198
- const { label } = Ua(state.context);
12321
+ const formOverrides = (_c = (_b = (_a2 = state.context) == null ? void 0 : _a2.config) == null ? void 0 : _b.formFields) == null ? void 0 : _c.resetPassword;
12322
+ const userOverrides = formOverrides == null ? void 0 : formOverrides["username"];
12323
+ const { label } = Za(state.context);
12199
12324
  const labelText = `Enter your ${label.toLowerCase()}`;
12200
- const backSignInText = computed(() => Tt("Back to Sign In"));
12201
- const resetPasswordHeading = computed(() => Tt("Reset your password"));
12202
- const resetPasswordText = computed(() => Tt("Send Code"));
12203
- const enterUsernameText = computed(() => Tt(labelText));
12204
- const onResetPasswordSubmit = (e) => {
12325
+ const backSignInText = computed(() => Xt("Back to Sign In"));
12326
+ const resetPasswordHeading = computed(() => Xt("Reset your password"));
12327
+ const resetPasswordText = computed(() => Xt("Send Code"));
12328
+ const enterUsernameText = computed(() => Xt(labelText));
12329
+ const labelValue = (_d = userOverrides == null ? void 0 : userOverrides.label) != null ? _d : labelText;
12330
+ const labelHidden = userOverrides == null ? void 0 : userOverrides.labelHidden;
12331
+ const onResetPasswordSubmit = (e2) => {
12205
12332
  if (attrs == null ? void 0 : attrs.onResetPasswordSubmit) {
12206
- emit("resetPasswordSubmit", e);
12333
+ emit("resetPasswordSubmit", e2);
12207
12334
  } else {
12208
- submit(e);
12335
+ submit(e2);
12209
12336
  }
12210
12337
  };
12211
- const submit = (e) => {
12212
- submitForm(Ga(e));
12338
+ const submit = (e2) => {
12339
+ submitForm(La(e2));
12213
12340
  };
12214
- const onInput = (e) => {
12215
- const { name, value } = e.target;
12341
+ const onInput = (e2) => {
12342
+ const { name, value } = e2.target;
12216
12343
  send2({
12217
12344
  type: "CHANGE",
12218
12345
  data: { name, value }
@@ -12232,9 +12359,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
12232
12359
  const _component_base_label = __unplugin_components_0;
12233
12360
  const _component_base_input = _sfc_main$r;
12234
12361
  const _component_base_wrapper = __unplugin_components_2;
12235
- const _component_base_field_set = _sfc_main$x;
12236
- const _component_base_alert = _sfc_main$v;
12237
- const _component_amplify_button = _sfc_main$w;
12362
+ const _component_base_field_set = _sfc_main$y;
12363
+ const _component_base_alert = _sfc_main$w;
12364
+ const _component_amplify_button = _sfc_main$x;
12238
12365
  const _component_base_footer = _sfc_main$t;
12239
12366
  const _component_base_form = _sfc_main$u;
12240
12367
  return renderSlot(_ctx.$slots, "resetPasswordSlotI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
@@ -12270,32 +12397,38 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
12270
12397
  class: "amplify-flex amplify-field amplify-textfield",
12271
12398
  style: { "flex-direction": "column" }
12272
12399
  }, {
12273
- default: withCtx(() => [
12274
- createVNode(_component_base_label, {
12275
- class: "amplify-visually-hidden amplify-label",
12276
- for: "amplify-field-7dce"
12277
- }, {
12278
- default: withCtx(() => [
12279
- createTextVNode(toDisplayString(labelText))
12280
- ]),
12281
- _: 1
12282
- }),
12283
- createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
12284
- default: withCtx(() => [
12285
- createVNode(_component_base_input, {
12286
- class: "amplify-input amplify-field-group__control",
12287
- id: "amplify-field-7dce",
12288
- "aria-invalid": "false",
12289
- name: "username",
12290
- placeholder: unref(enterUsernameText),
12291
- autocomplete: "username",
12292
- required: "",
12293
- type: "username"
12294
- }, null, 8, ["placeholder"])
12295
- ]),
12296
- _: 1
12297
- })
12298
- ]),
12400
+ default: withCtx(() => {
12401
+ var _a3;
12402
+ return [
12403
+ createVNode(_component_base_label, {
12404
+ class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a3 = unref(labelHidden)) != null ? _a3 : true }]),
12405
+ for: "amplify-field-7dce"
12406
+ }, {
12407
+ default: withCtx(() => [
12408
+ createTextVNode(toDisplayString(unref(labelValue)), 1)
12409
+ ]),
12410
+ _: 1
12411
+ }, 8, ["class"]),
12412
+ createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
12413
+ default: withCtx(() => {
12414
+ var _a4, _b2, _c2, _d2;
12415
+ return [
12416
+ createVNode(_component_base_input, {
12417
+ placeholder: (_b2 = (_a4 = unref(userOverrides)) == null ? void 0 : _a4.placeholder) != null ? _b2 : unref(enterUsernameText),
12418
+ required: (_d2 = (_c2 = unref(userOverrides)) == null ? void 0 : _c2.required) != null ? _d2 : true,
12419
+ class: "amplify-input amplify-field-group__control",
12420
+ id: "amplify-field-7dce",
12421
+ "aria-invalid": "false",
12422
+ name: "username",
12423
+ autocomplete: "username",
12424
+ type: "username"
12425
+ }, null, 8, ["placeholder", "required"])
12426
+ ];
12427
+ }),
12428
+ _: 1
12429
+ })
12430
+ ];
12431
+ }),
12299
12432
  _: 1
12300
12433
  })
12301
12434
  ]),
@@ -12308,7 +12441,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
12308
12441
  default: withCtx(() => [
12309
12442
  unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
12310
12443
  default: withCtx(() => [
12311
- createTextVNode(toDisplayString(unref(Tt)(unref(error2))), 1)
12444
+ createTextVNode(toDisplayString(unref(Xt)(unref(error2))), 1)
12312
12445
  ]),
12313
12446
  _: 1
12314
12447
  })) : createCommentVNode("", true),
@@ -12359,43 +12492,49 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
12359
12492
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12360
12493
  emits: ["confirmResetPasswordSubmit", "backToSignInClicked"],
12361
12494
  setup(__props, { emit }) {
12495
+ var _a2, _b, _c;
12362
12496
  const { state, send: send2 } = useAuth();
12497
+ const { value: { context } } = state;
12498
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmResetPassword;
12499
+ const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
12363
12500
  const useAuthShared = createSharedComposable(useAuthenticator);
12364
12501
  const props = useAuthShared();
12365
12502
  const attrs = useAttrs();
12366
- const actorState = computed(() => J(state.value));
12367
- const actorContext = computed(() => Kr(state.value));
12368
- const resendCodeText = computed(() => Tt("Resend Code"));
12369
- const confirmationCodeText = computed(() => Tt("Confirmation Code"));
12370
- const confirmResetPasswordHeading = computed(() => Tt("Reset your Password"));
12371
- const confirmResetPasswordText = computed(() => Tt("Submit"));
12372
- const codeText = computed(() => Tt("Code"));
12373
- const newPasswordLabel = computed(() => Tt("New password"));
12374
- const confirmPasswordLabel = computed(() => Tt("Confirm Password"));
12375
- const onConfirmResetPasswordSubmit = (e) => {
12503
+ const actorState = computed(() => j(state.value));
12504
+ const actorContext = computed(() => Te(state.value));
12505
+ const resendCodeText = computed(() => Xt("Resend Code"));
12506
+ const confirmationCodeText = computed(() => Xt("Confirmation Code"));
12507
+ const confirmResetPasswordHeading = computed(() => Xt("Reset your Password"));
12508
+ const confirmResetPasswordText = computed(() => Xt("Submit"));
12509
+ const codeText = computed(() => Xt("Code"));
12510
+ const newPasswordLabel = computed(() => Xt("New password"));
12511
+ const confirmPasswordLabel = computed(() => Xt("Confirm Password"));
12512
+ const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText;
12513
+ const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
12514
+ const onConfirmResetPasswordSubmit = (e2) => {
12376
12515
  if (attrs == null ? void 0 : attrs.onConfirmResetPasswordSubmit) {
12377
- emit("confirmResetPasswordSubmit", e);
12516
+ emit("confirmResetPasswordSubmit", e2);
12378
12517
  } else {
12379
- submit(e);
12518
+ submit(e2);
12380
12519
  }
12381
12520
  };
12382
- const submit = (e) => {
12383
- props.submitForm(Ga(e));
12521
+ const submit = (e2) => {
12522
+ props.submitForm(La(e2));
12384
12523
  };
12385
12524
  const onLostYourCodeClicked = () => {
12386
12525
  send2({
12387
12526
  type: "RESEND"
12388
12527
  });
12389
12528
  };
12390
- const onInput = (e) => {
12391
- const { name, value } = e.target;
12529
+ const onInput = (e2) => {
12530
+ const { name, value } = e2.target;
12392
12531
  send2({
12393
12532
  type: "CHANGE",
12394
12533
  data: { name, value }
12395
12534
  });
12396
12535
  };
12397
- function onBlur(e) {
12398
- const { name } = e.target;
12536
+ function onBlur(e2) {
12537
+ const { name } = e2.target;
12399
12538
  props.updateBlur({ name });
12400
12539
  }
12401
12540
  return (_ctx, _cache) => {
@@ -12404,10 +12543,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12404
12543
  const _component_base_input = _sfc_main$r;
12405
12544
  const _component_base_wrapper = __unplugin_components_2;
12406
12545
  const _component_base_box = __unplugin_components_4;
12407
- const _component_base_alert = _sfc_main$v;
12408
- const _component_amplify_button = _sfc_main$w;
12546
+ const _component_base_alert = _sfc_main$w;
12547
+ const _component_amplify_button = _sfc_main$x;
12409
12548
  const _component_base_footer = _sfc_main$t;
12410
- const _component_base_field_set = _sfc_main$x;
12549
+ const _component_base_field_set = _sfc_main$y;
12411
12550
  const _component_base_form = _sfc_main$u;
12412
12551
  return renderSlot(_ctx.$slots, "confirmResetPasswordSlotI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
12413
12552
  createVNode(_component_base_wrapper, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
@@ -12444,64 +12583,52 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12444
12583
  class: "amplify-flex amplify-field amplify-textfield",
12445
12584
  style: { "flex-direction": "column" }
12446
12585
  }, {
12447
- default: withCtx(() => [
12448
- createVNode(_component_base_label, {
12449
- class: "amplify-visually-hidden amplify-label",
12450
- for: "amplify-field-d653"
12451
- }, {
12452
- default: withCtx(() => [
12453
- createTextVNode(toDisplayString(unref(confirmationCodeText)), 1)
12454
- ]),
12455
- _: 1
12456
- }),
12457
- createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
12458
- default: withCtx(() => [
12459
- createVNode(_component_base_input, {
12460
- class: "amplify-input amplify-field-group__control",
12461
- id: "amplify-field-d653",
12462
- "aria-invalid": "false",
12463
- autocomplete: "one-time-code",
12464
- placeholder: unref(codeText),
12465
- name: "confirmation_code",
12466
- required: "",
12467
- type: "number"
12468
- }, null, 8, ["placeholder"])
12469
- ]),
12470
- _: 1
12471
- })
12472
- ]),
12473
- _: 1
12474
- }),
12475
- createVNode(_component_base_wrapper, {
12476
- class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield password-field",
12477
- style: { "flex-direction": "column" }
12478
- }, {
12479
- default: withCtx(() => [
12480
- createVNode(_sfc_main$q, {
12481
- name: "password",
12482
- label: unref(newPasswordLabel),
12483
- autocomplete: "current-password",
12484
- ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12485
- onBlur
12486
- }, null, 8, ["label", "ariainvalid"])
12487
- ]),
12586
+ default: withCtx(() => {
12587
+ var _a3;
12588
+ return [
12589
+ createVNode(_component_base_label, {
12590
+ class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a3 = unref(labelHidden)) != null ? _a3 : true }]),
12591
+ for: "amplify-field-d653"
12592
+ }, {
12593
+ default: withCtx(() => [
12594
+ createTextVNode(toDisplayString(unref(label)), 1)
12595
+ ]),
12596
+ _: 1
12597
+ }, 8, ["class"]),
12598
+ createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
12599
+ default: withCtx(() => {
12600
+ var _a4, _b2, _c2, _d;
12601
+ return [
12602
+ createVNode(_component_base_input, {
12603
+ placeholder: (_b2 = (_a4 = unref(confOR)) == null ? void 0 : _a4.placeholder) != null ? _b2 : unref(codeText),
12604
+ required: (_d = (_c2 = unref(confOR)) == null ? void 0 : _c2.required) != null ? _d : true,
12605
+ class: "amplify-input amplify-field-group__control",
12606
+ id: "amplify-field-d653",
12607
+ "aria-invalid": "false",
12608
+ autocomplete: "one-time-code",
12609
+ name: "confirmation_code",
12610
+ type: "number"
12611
+ }, null, 8, ["placeholder", "required"])
12612
+ ];
12613
+ }),
12614
+ _: 1
12615
+ })
12616
+ ];
12617
+ }),
12488
12618
  _: 1
12489
12619
  }),
12490
- createVNode(_component_base_wrapper, {
12491
- class: "amplify-flex amplify-field amplify-textfield amplify-passwordfield",
12492
- style: { "flex-direction": "column" }
12493
- }, {
12494
- default: withCtx(() => [
12495
- createVNode(_sfc_main$q, {
12496
- name: "confirm_password",
12497
- label: unref(confirmPasswordLabel),
12498
- autocomplete: "new-password",
12499
- ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12500
- onBlur
12501
- }, null, 8, ["label", "ariainvalid"])
12502
- ]),
12503
- _: 1
12504
- })
12620
+ createVNode(_sfc_main$q, mergeProps(unref(propsCreator)("password", unref(newPasswordLabel), unref(formOverrides), true), {
12621
+ name: "password",
12622
+ autocomplete: "current-password",
12623
+ ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12624
+ onBlur
12625
+ }), null, 16, ["ariainvalid"]),
12626
+ createVNode(_sfc_main$q, mergeProps(unref(propsCreator)("confirm_password", unref(confirmPasswordLabel), unref(formOverrides), true), {
12627
+ name: "confirm_password",
12628
+ autocomplete: "new-password",
12629
+ ariainvalid: !!unref(actorContext).validationError["confirm_password"],
12630
+ onBlur
12631
+ }), null, 16, ["ariainvalid"])
12505
12632
  ]),
12506
12633
  _: 1
12507
12634
  }),
@@ -12510,7 +12637,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12510
12637
  style: { "flex-direction": "column" }
12511
12638
  }, {
12512
12639
  default: withCtx(() => {
12513
- var _a2, _b;
12640
+ var _a3, _b2;
12514
12641
  return [
12515
12642
  !!unref(actorContext).validationError["confirm_password"] ? (openBlock(), createBlock(_component_base_box, {
12516
12643
  key: 0,
@@ -12520,18 +12647,18 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
12520
12647
  class: "amplify-text"
12521
12648
  }, {
12522
12649
  default: withCtx(() => {
12523
- var _a3;
12650
+ var _a4;
12524
12651
  return [
12525
- createTextVNode(toDisplayString(unref(Tt)((_a3 = unref(actorContext).validationError) == null ? void 0 : _a3.confirm_password)), 1)
12652
+ createTextVNode(toDisplayString(unref(Xt)((_a4 = unref(actorContext).validationError) == null ? void 0 : _a4.confirm_password)), 1)
12526
12653
  ];
12527
12654
  }),
12528
12655
  _: 1
12529
12656
  })) : createCommentVNode("", true),
12530
- ((_b = (_a2 = unref(actorState)) == null ? void 0 : _a2.context) == null ? void 0 : _b.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 1 }, {
12657
+ ((_b2 = (_a3 = unref(actorState)) == null ? void 0 : _a3.context) == null ? void 0 : _b2.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 1 }, {
12531
12658
  default: withCtx(() => {
12532
- var _a3, _b2;
12659
+ var _a4, _b3;
12533
12660
  return [
12534
- createTextVNode(toDisplayString(unref(Tt)((_b2 = (_a3 = unref(actorState)) == null ? void 0 : _a3.context) == null ? void 0 : _b2.remoteError)), 1)
12661
+ createTextVNode(toDisplayString(unref(Xt)((_b3 = (_a4 = unref(actorState)) == null ? void 0 : _a4.context) == null ? void 0 : _b3.remoteError)), 1)
12535
12662
  ];
12536
12663
  }),
12537
12664
  _: 1
@@ -12591,28 +12718,28 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
12591
12718
  const props = useAuthShared();
12592
12719
  const attrs = useAttrs();
12593
12720
  const { state, send: send2 } = useAuth();
12594
- const actorState = computed(() => J(state.value));
12721
+ const actorState = computed(() => j(state.value));
12595
12722
  const unverifiedAttributes = actorState.value.context.unverifiedAttributes;
12596
- const verifyHeading = computed(() => Tt("Account recovery requires verified contact information"));
12597
- const skipText = computed(() => Tt("Skip"));
12598
- const verifyText = computed(() => Tt("Verify"));
12599
- const verifyContactText = computed(() => Tt("Verify Contact"));
12600
- const onInput = (e) => {
12601
- const { name, value } = e.target;
12723
+ const verifyHeading = computed(() => Xt("Account recovery requires verified contact information"));
12724
+ const skipText = computed(() => Xt("Skip"));
12725
+ const verifyText = computed(() => Xt("Verify"));
12726
+ const verifyContactText = computed(() => Xt("Verify Contact"));
12727
+ const onInput = (e2) => {
12728
+ const { name, value } = e2.target;
12602
12729
  send2({
12603
12730
  type: "CHANGE",
12604
12731
  data: { name, value }
12605
12732
  });
12606
12733
  };
12607
- const onVerifyUserSubmit = (e) => {
12734
+ const onVerifyUserSubmit = (e2) => {
12608
12735
  if (attrs == null ? void 0 : attrs.onVerifyUserSubmit) {
12609
- emit("verifyUserSubmit", e);
12736
+ emit("verifyUserSubmit", e2);
12610
12737
  } else {
12611
- submit(e);
12738
+ submit(e2);
12612
12739
  }
12613
12740
  };
12614
- const submit = (e) => {
12615
- props.submitForm(Ga(e));
12741
+ const submit = (e2) => {
12742
+ props.submitForm(La(e2));
12616
12743
  };
12617
12744
  const onSkipClicked = () => {
12618
12745
  if (attrs == null ? void 0 : attrs.onSkipClicked) {
@@ -12627,10 +12754,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
12627
12754
  const _component_base_input = _sfc_main$r;
12628
12755
  const _component_base_text = __unplugin_components_3;
12629
12756
  const _component_base_wrapper = __unplugin_components_2;
12630
- const _component_base_alert = _sfc_main$v;
12631
- const _component_amplify_button = _sfc_main$w;
12757
+ const _component_base_alert = _sfc_main$w;
12758
+ const _component_amplify_button = _sfc_main$x;
12632
12759
  const _component_base_footer = _sfc_main$t;
12633
- const _component_base_field_set = _sfc_main$x;
12760
+ const _component_base_field_set = _sfc_main$y;
12634
12761
  const _component_base_form = _sfc_main$u;
12635
12762
  return renderSlot(_ctx.$slots, "verifyUserSlotI", {}, () => [
12636
12763
  createVNode(_component_base_wrapper, null, {
@@ -12700,7 +12827,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
12700
12827
  }),
12701
12828
  createVNode(_component_base_text, { class: "amplify-text amplify-radio__label" }, {
12702
12829
  default: withCtx(() => [
12703
- createTextVNode(toDisplayString(unref(G)[key].label), 1)
12830
+ createTextVNode(toDisplayString(unref(I)[key].label), 1)
12704
12831
  ]),
12705
12832
  _: 2
12706
12833
  }, 1024)
@@ -12725,7 +12852,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
12725
12852
  default: withCtx(() => {
12726
12853
  var _a3;
12727
12854
  return [
12728
- createTextVNode(toDisplayString(unref(Tt)((_a3 = unref(actorState)) == null ? void 0 : _a3.context.remoteError)), 1)
12855
+ createTextVNode(toDisplayString(unref(Xt)((_a3 = unref(actorState)) == null ? void 0 : _a3.context.remoteError)), 1)
12729
12856
  ];
12730
12857
  }),
12731
12858
  _: 1
@@ -12781,33 +12908,39 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
12781
12908
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12782
12909
  emits: ["confirmVerifyUserSubmit", "skipClicked"],
12783
12910
  setup(__props, { emit }) {
12911
+ var _a2, _b, _c;
12784
12912
  const useAuthShared = createSharedComposable(useAuthenticator);
12785
12913
  const props = useAuthShared();
12786
12914
  const attrs = useAttrs();
12787
12915
  const { state, send: send2 } = useAuth();
12788
- const actorState = computed(() => J(state.value));
12789
- const verifyHeading = computed(() => Tt("Account recovery requires verified contact information"));
12790
- const skipText = computed(() => Tt("Skip"));
12791
- computed(() => Tt("Verify"));
12792
- const confirmationCodeText = computed(() => Tt("Confirmation Code"));
12793
- const codeText = computed(() => Tt("Code"));
12794
- const submitText = computed(() => Tt("Submit"));
12795
- const onInput = (e) => {
12796
- const { name, value } = e.target;
12916
+ const { value: { context } } = state;
12917
+ const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmVerifyUser;
12918
+ const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
12919
+ const actorState = computed(() => j(state.value));
12920
+ const verifyHeading = computed(() => Xt("Account recovery requires verified contact information"));
12921
+ const skipText = computed(() => Xt("Skip"));
12922
+ computed(() => Xt("Verify"));
12923
+ const confirmationCodeText = computed(() => Xt("Confirmation Code"));
12924
+ const codeText = computed(() => Xt("Code"));
12925
+ const submitText = computed(() => Xt("Submit"));
12926
+ const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText.value;
12927
+ const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
12928
+ const onInput = (e2) => {
12929
+ const { name, value } = e2.target;
12797
12930
  send2({
12798
12931
  type: "CHANGE",
12799
12932
  data: { name, value }
12800
12933
  });
12801
12934
  };
12802
- const onConfirmVerifyUserSubmit = (e) => {
12935
+ const onConfirmVerifyUserSubmit = (e2) => {
12803
12936
  if (attrs == null ? void 0 : attrs.onConfirmVerifyUserSubmit) {
12804
- emit("confirmVerifyUserSubmit", e);
12937
+ emit("confirmVerifyUserSubmit", e2);
12805
12938
  } else {
12806
- submit(e);
12939
+ submit(e2);
12807
12940
  }
12808
12941
  };
12809
- const submit = (e) => {
12810
- props.submitForm(Ga(e));
12942
+ const submit = (e2) => {
12943
+ props.submitForm(La(e2));
12811
12944
  };
12812
12945
  const onSkipClicked = () => {
12813
12946
  if (attrs == null ? void 0 : attrs.onSkipClicked) {
@@ -12823,10 +12956,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12823
12956
  const _component_base_label = __unplugin_components_0;
12824
12957
  const _component_base_input = _sfc_main$r;
12825
12958
  const _component_base_wrapper = __unplugin_components_2;
12826
- const _component_base_alert = _sfc_main$v;
12827
- const _component_amplify_button = _sfc_main$w;
12959
+ const _component_base_alert = _sfc_main$w;
12960
+ const _component_amplify_button = _sfc_main$x;
12828
12961
  const _component_base_footer = _sfc_main$t;
12829
- const _component_base_field_set = _sfc_main$x;
12962
+ const _component_base_field_set = _sfc_main$y;
12830
12963
  const _component_base_form = _sfc_main$u;
12831
12964
  return renderSlot(_ctx.$slots, "confirmVerifyUserSlotI", normalizeProps(guardReactiveProps(_ctx.$attrs)), () => [
12832
12965
  createVNode(_component_base_wrapper, normalizeProps(guardReactiveProps(_ctx.$attrs)), {
@@ -12862,32 +12995,38 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12862
12995
  class: "amplify-flex amplify-field amplify-textfield",
12863
12996
  style: { "flex-direction": "column" }
12864
12997
  }, {
12865
- default: withCtx(() => [
12866
- createVNode(_component_base_label, {
12867
- class: "amplify-visually-hidden amplify-label",
12868
- for: "amplify-field-c34b"
12869
- }, {
12870
- default: withCtx(() => [
12871
- createTextVNode(toDisplayString(unref(confirmationCodeText)), 1)
12872
- ]),
12873
- _: 1
12874
- }),
12875
- createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
12876
- default: withCtx(() => [
12877
- createVNode(_component_base_input, {
12878
- class: "amplify-input amplify-field-group__control",
12879
- id: "amplify-field-c34b",
12880
- "aria-invalid": "false",
12881
- autocomplete: "one-time-code",
12882
- name: "confirmation_code",
12883
- required: "",
12884
- placeholder: unref(codeText),
12885
- type: "text"
12886
- }, null, 8, ["placeholder"])
12887
- ]),
12888
- _: 1
12889
- })
12890
- ]),
12998
+ default: withCtx(() => {
12999
+ var _a3;
13000
+ return [
13001
+ createVNode(_component_base_label, {
13002
+ class: normalizeClass(["amplify-label", { "amplify-visually-hidden": (_a3 = unref(labelHidden)) != null ? _a3 : true }]),
13003
+ for: "amplify-field-c34b"
13004
+ }, {
13005
+ default: withCtx(() => [
13006
+ createTextVNode(toDisplayString(unref(label)), 1)
13007
+ ]),
13008
+ _: 1
13009
+ }, 8, ["class"]),
13010
+ createVNode(_component_base_wrapper, { class: "amplify-flex" }, {
13011
+ default: withCtx(() => {
13012
+ var _a4, _b2, _c2, _d;
13013
+ return [
13014
+ createVNode(_component_base_input, {
13015
+ placeholder: (_b2 = (_a4 = unref(confOR)) == null ? void 0 : _a4.placeholder) != null ? _b2 : unref(codeText),
13016
+ required: (_d = (_c2 = unref(confOR)) == null ? void 0 : _c2.required) != null ? _d : true,
13017
+ class: "amplify-input amplify-field-group__control",
13018
+ id: "amplify-field-c34b",
13019
+ "aria-invalid": "false",
13020
+ autocomplete: "one-time-code",
13021
+ name: "confirmation_code",
13022
+ type: "number"
13023
+ }, null, 8, ["placeholder", "required"])
13024
+ ];
13025
+ }),
13026
+ _: 1
13027
+ })
13028
+ ];
13029
+ }),
12891
13030
  _: 1
12892
13031
  })
12893
13032
  ]),
@@ -12898,13 +13037,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
12898
13037
  style: { "flex-direction": "column" }
12899
13038
  }, {
12900
13039
  default: withCtx(() => {
12901
- var _a2, _b;
13040
+ var _a3, _b2;
12902
13041
  return [
12903
- ((_b = (_a2 = unref(actorState)) == null ? void 0 : _a2.context) == null ? void 0 : _b.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
13042
+ ((_b2 = (_a3 = unref(actorState)) == null ? void 0 : _a3.context) == null ? void 0 : _b2.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
12904
13043
  default: withCtx(() => {
12905
- var _a3;
13044
+ var _a4;
12906
13045
  return [
12907
- createTextVNode(toDisplayString(unref(Tt)((_a3 = unref(actorState)) == null ? void 0 : _a3.context.remoteError)), 1)
13046
+ createTextVNode(toDisplayString(unref(Xt)((_a4 = unref(actorState)) == null ? void 0 : _a4.context.remoteError)), 1)
12908
13047
  ];
12909
13048
  }),
12910
13049
  _: 1
@@ -12971,7 +13110,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12971
13110
  services: null,
12972
13111
  signUpAttributes: null,
12973
13112
  variation: { default: "default" },
12974
- socialProviders: null
13113
+ socialProviders: null,
13114
+ formFields: null
12975
13115
  },
12976
13116
  emits: [
12977
13117
  "signInSubmit",
@@ -12986,15 +13126,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
12986
13126
  "confirmVerifyUserSubmit"
12987
13127
  ],
12988
13128
  setup(__props, { emit }) {
12989
- const { initialState, loginMechanisms, variation, services, signUpAttributes, socialProviders, hideSignUp } = __props;
13129
+ const { initialState, loginMechanisms, variation, services, signUpAttributes, socialProviders, hideSignUp, formFields } = __props;
12990
13130
  const attrs = useAttrs();
12991
- const machine = Cn();
13131
+ const machine = jn();
12992
13132
  const service2 = useInterpret(machine);
12993
13133
  let unsubscribeHub;
12994
13134
  const { state, send: send2 } = useActor(service2);
12995
13135
  useAuth(service2);
12996
13136
  onMounted(() => {
12997
- unsubscribeHub = Fa(send2);
13137
+ unsubscribeHub = it(send2);
12998
13138
  send2({
12999
13139
  type: "INIT",
13000
13140
  data: {
@@ -13002,7 +13142,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
13002
13142
  loginMechanisms,
13003
13143
  socialProviders,
13004
13144
  signUpAttributes,
13005
- services
13145
+ services,
13146
+ formFields
13006
13147
  }
13007
13148
  });
13008
13149
  });
@@ -13010,7 +13151,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
13010
13151
  if (unsubscribeHub)
13011
13152
  unsubscribeHub();
13012
13153
  });
13013
- const actorState = computed(() => J(state.value));
13154
+ const actorState = computed(() => j(state.value));
13014
13155
  const signInComponent = ref();
13015
13156
  const signUpComponent = ref();
13016
13157
  const confirmSignUpComponent = ref();
@@ -13021,83 +13162,83 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
13021
13162
  const confirmResetPasswordComponent = ref();
13022
13163
  const verifyUserComponent = ref();
13023
13164
  const confirmVerifyUserComponent = ref();
13024
- const signInLabel = computed(() => Tt("Create Account"));
13025
- const createAccountLabel = computed(() => Tt("Sign In"));
13026
- const onSignInSubmitI = (e) => {
13165
+ const signInLabel = computed(() => Xt("Create Account"));
13166
+ const createAccountLabel = computed(() => Xt("Sign In"));
13167
+ const onSignInSubmitI = (e2) => {
13027
13168
  var _a2;
13028
13169
  if (attrs == null ? void 0 : attrs.onSignInSubmit) {
13029
- emit("signInSubmit", e);
13170
+ emit("signInSubmit", e2);
13030
13171
  } else {
13031
- (_a2 = signInComponent.value) == null ? void 0 : _a2.submit(e);
13172
+ (_a2 = signInComponent.value) == null ? void 0 : _a2.submit(e2);
13032
13173
  }
13033
13174
  };
13034
- const onConfirmSignUpSubmitI = (e) => {
13175
+ const onConfirmSignUpSubmitI = (e2) => {
13035
13176
  if (attrs == null ? void 0 : attrs.onConfirmSignUpSubmit) {
13036
- emit("confirmSignUpSubmit", e);
13177
+ emit("confirmSignUpSubmit", e2);
13037
13178
  } else {
13038
- confirmSignUpComponent.value.submit(e);
13179
+ confirmSignUpComponent.value.submit(e2);
13039
13180
  }
13040
13181
  };
13041
- const onResetPasswordSubmitI = (e) => {
13182
+ const onResetPasswordSubmitI = (e2) => {
13042
13183
  if (attrs == null ? void 0 : attrs.onResetPasswordSubmit) {
13043
- emit("resetPasswordSubmit", e);
13184
+ emit("resetPasswordSubmit", e2);
13044
13185
  } else {
13045
- resetPasswordComponent.value.submit(e);
13186
+ resetPasswordComponent.value.submit(e2);
13046
13187
  }
13047
13188
  };
13048
- const onConfirmResetPasswordSubmitI = (e) => {
13189
+ const onConfirmResetPasswordSubmitI = (e2) => {
13049
13190
  if (attrs == null ? void 0 : attrs.onConfirmResetPasswordSubmit) {
13050
- emit("confirmResetPasswordSubmit", e);
13191
+ emit("confirmResetPasswordSubmit", e2);
13051
13192
  } else {
13052
- confirmResetPasswordComponent.value.submit(e);
13193
+ confirmResetPasswordComponent.value.submit(e2);
13053
13194
  }
13054
13195
  };
13055
- const onConfirmSignInSubmitI = (e) => {
13196
+ const onConfirmSignInSubmitI = (e2) => {
13056
13197
  if (attrs == null ? void 0 : attrs.onConfirmSignInSubmit) {
13057
- emit("confirmSignInSubmit", e);
13198
+ emit("confirmSignInSubmit", e2);
13058
13199
  } else {
13059
- confirmSignInComponent.value.submit(e);
13200
+ confirmSignInComponent.value.submit(e2);
13060
13201
  }
13061
13202
  };
13062
- const onConfirmSetupTOTPSubmitI = (e) => {
13203
+ const onConfirmSetupTOTPSubmitI = (e2) => {
13063
13204
  if (attrs == null ? void 0 : attrs.onForceNewPasswordSubmit) {
13064
- emit("mSetupTOTPSubmit", e);
13205
+ emit("mSetupTOTPSubmit", e2);
13065
13206
  } else {
13066
- confirmSetupTOTPComponent.value.submit(e);
13207
+ confirmSetupTOTPComponent.value.submit(e2);
13067
13208
  }
13068
13209
  };
13069
- const onForceNewPasswordSubmitI = (e) => {
13210
+ const onForceNewPasswordSubmitI = (e2) => {
13070
13211
  if (attrs == null ? void 0 : attrs.onForceNewPasswordSubmit) {
13071
- emit("forceNewPasswordSubmit", e);
13212
+ emit("forceNewPasswordSubmit", e2);
13072
13213
  } else {
13073
- forceNewPasswordComponent.value.submit(e);
13214
+ forceNewPasswordComponent.value.submit(e2);
13074
13215
  }
13075
13216
  };
13076
- const onSignUpSubmitI = (e) => {
13217
+ const onSignUpSubmitI = (e2) => {
13077
13218
  if (attrs == null ? void 0 : attrs.onSignUpSubmit) {
13078
- emit("signUpSubmit", e);
13219
+ emit("signUpSubmit", e2);
13079
13220
  } else {
13080
13221
  signUpComponent.value.submit();
13081
13222
  }
13082
13223
  };
13083
- const onVerifyUserSubmitI = (e) => {
13224
+ const onVerifyUserSubmitI = (e2) => {
13084
13225
  if (attrs == null ? void 0 : attrs.onVerifyUserSubmit) {
13085
- emit("verifyUserSubmit", e);
13226
+ emit("verifyUserSubmit", e2);
13086
13227
  } else {
13087
- verifyUserComponent.value.submit(e);
13228
+ verifyUserComponent.value.submit(e2);
13088
13229
  }
13089
13230
  };
13090
- const onConfirmVerifyUserSubmitI = (e) => {
13231
+ const onConfirmVerifyUserSubmitI = (e2) => {
13091
13232
  if (attrs == null ? void 0 : attrs.onConfirmVerifyUserSubmit) {
13092
- emit("confirmVerifyUserSubmit", e);
13233
+ emit("confirmVerifyUserSubmit", e2);
13093
13234
  } else {
13094
- confirmVerifyUserComponent.value.submit(e);
13235
+ confirmVerifyUserComponent.value.submit(e2);
13095
13236
  }
13096
13237
  };
13097
13238
  const user = ref(null);
13098
13239
  const signOut = ref();
13099
13240
  watch(() => state.value.context, () => {
13100
- const { user: u, signOut: s } = Oa({
13241
+ const { user: u, signOut: s } = ot({
13101
13242
  send: send2,
13102
13243
  state: state.value
13103
13244
  });
@@ -13523,9 +13664,9 @@ var index = {
13523
13664
  app.component("ConfirmVerifyUser", _sfc_main$4);
13524
13665
  app.component("AmplifyTextField", _sfc_main$1);
13525
13666
  app.component("AmplifyCheckBox", _sfc_main);
13526
- app.component("AmplifyButton", _sfc_main$w);
13667
+ app.component("AmplifyButton", _sfc_main$x);
13527
13668
  app.component("AuthenticatorSignUpFormFields", _sfc_main$j);
13528
13669
  app.component("AuthenticatorForceNewPasswordFormFields", _sfc_main$9);
13529
13670
  }
13530
13671
  };
13531
- export { _sfc_main$w as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$j as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$c as ConfirmSignIn, _sfc_main$d as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$m as FederatedSignIn, _sfc_main$8 as ForceNewPassword, _sfc_main$q as PasswordControl, _sfc_main$2 as RenderInfo, _sfc_main$7 as ResetPassword, _sfc_main$l as SignIn, _sfc_main$i as SignUp, _sfc_main$o as UserNameAlias, _sfc_main$5 as VerifyUser, index as default, Dt as translations, useAuthenticator };
13672
+ export { _sfc_main$x as AmplifyButton, _sfc_main as AmplifyCheckBox, _sfc_main$1 as AmplifyTextField, _sfc_main$3 as Authenticator, _sfc_main$9 as AuthenticatorForceNewPasswordFormFields, _sfc_main$j as AuthenticatorSignUpFormFields, _sfc_main$6 as ConfirmResetPassword, _sfc_main$c as ConfirmSignIn, _sfc_main$d as ConfirmSignUp, _sfc_main$4 as ConfirmVerifyUser, _sfc_main$m as FederatedSignIn, _sfc_main$8 as ForceNewPassword, _sfc_main$q as PasswordControl, _sfc_main$2 as RenderInfo, _sfc_main$7 as ResetPassword, _sfc_main$l as SignIn, _sfc_main$i as SignUp, _sfc_main$o as UserNameAlias, _sfc_main$5 as VerifyUser, index as default, Qt as translations, useAuthenticator };