@aws-amplify/ui-vue 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/federated-sign-in.vue.d.ts.map +1 -1
- package/dist/components/setup-totp.vue.d.ts.map +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.js +550 -543
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -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(
|
|
198
|
-
var d = Object.getOwnPropertyDescriptor(n,
|
|
199
|
-
Object.defineProperty(a,
|
|
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[
|
|
202
|
+
return n[k2];
|
|
203
203
|
}
|
|
204
204
|
});
|
|
205
205
|
});
|
|
@@ -589,33 +589,33 @@ function __rest$1(s, e) {
|
|
|
589
589
|
}
|
|
590
590
|
return t;
|
|
591
591
|
}
|
|
592
|
-
function __values(
|
|
593
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m2 = s &&
|
|
592
|
+
function __values(o2) {
|
|
593
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m2 = s && o2[s], i = 0;
|
|
594
594
|
if (m2)
|
|
595
|
-
return m2.call(
|
|
596
|
-
if (
|
|
595
|
+
return m2.call(o2);
|
|
596
|
+
if (o2 && typeof o2.length === "number")
|
|
597
597
|
return {
|
|
598
598
|
next: function() {
|
|
599
|
-
if (
|
|
600
|
-
|
|
601
|
-
return { value:
|
|
599
|
+
if (o2 && i >= o2.length)
|
|
600
|
+
o2 = void 0;
|
|
601
|
+
return { value: o2 && o2[i++], done: !o2 };
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
605
605
|
}
|
|
606
|
-
function __read(
|
|
607
|
-
var m2 = typeof Symbol === "function" &&
|
|
606
|
+
function __read(o2, n) {
|
|
607
|
+
var m2 = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
608
608
|
if (!m2)
|
|
609
|
-
return
|
|
610
|
-
var i = m2.call(
|
|
609
|
+
return o2;
|
|
610
|
+
var i = m2.call(o2), r, ar2 = [], e;
|
|
611
611
|
try {
|
|
612
|
-
while ((n === void 0 || n-- > 0) && !(
|
|
613
|
-
ar2.push(
|
|
612
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
613
|
+
ar2.push(r.value);
|
|
614
614
|
} catch (error2) {
|
|
615
615
|
e = { error: error2 };
|
|
616
616
|
} finally {
|
|
617
617
|
try {
|
|
618
|
-
if (
|
|
618
|
+
if (r && !r.done && (m2 = i["return"]))
|
|
619
619
|
m2.call(i);
|
|
620
620
|
} finally {
|
|
621
621
|
if (e)
|
|
@@ -3614,8 +3614,8 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3614
3614
|
}
|
|
3615
3615
|
}
|
|
3616
3616
|
try {
|
|
3617
|
-
for (var _m = __values(this.doneListeners),
|
|
3618
|
-
var listener =
|
|
3617
|
+
for (var _m = __values(this.doneListeners), _o2 = _m.next(); !_o2.done; _o2 = _m.next()) {
|
|
3618
|
+
var listener = _o2.value;
|
|
3619
3619
|
this.doneListeners.delete(listener);
|
|
3620
3620
|
}
|
|
3621
3621
|
} catch (e_9_1) {
|
|
@@ -3624,7 +3624,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3624
3624
|
};
|
|
3625
3625
|
} finally {
|
|
3626
3626
|
try {
|
|
3627
|
-
if (
|
|
3627
|
+
if (_o2 && !_o2.done && (_d = _m.return))
|
|
3628
3628
|
_d.call(_m);
|
|
3629
3629
|
} finally {
|
|
3630
3630
|
if (e_9)
|
|
@@ -4299,33 +4299,33 @@ var _tslib$1 = {};
|
|
|
4299
4299
|
}
|
|
4300
4300
|
return t;
|
|
4301
4301
|
}
|
|
4302
|
-
function __values2(
|
|
4303
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m2 = s &&
|
|
4302
|
+
function __values2(o2) {
|
|
4303
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m2 = s && o2[s], i = 0;
|
|
4304
4304
|
if (m2)
|
|
4305
|
-
return m2.call(
|
|
4306
|
-
if (
|
|
4305
|
+
return m2.call(o2);
|
|
4306
|
+
if (o2 && typeof o2.length === "number")
|
|
4307
4307
|
return {
|
|
4308
4308
|
next: function() {
|
|
4309
|
-
if (
|
|
4310
|
-
|
|
4311
|
-
return { value:
|
|
4309
|
+
if (o2 && i >= o2.length)
|
|
4310
|
+
o2 = void 0;
|
|
4311
|
+
return { value: o2 && o2[i++], done: !o2 };
|
|
4312
4312
|
}
|
|
4313
4313
|
};
|
|
4314
4314
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4315
4315
|
}
|
|
4316
|
-
function __read2(
|
|
4317
|
-
var m2 = typeof Symbol === "function" &&
|
|
4316
|
+
function __read2(o2, n) {
|
|
4317
|
+
var m2 = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
4318
4318
|
if (!m2)
|
|
4319
|
-
return
|
|
4320
|
-
var i = m2.call(
|
|
4319
|
+
return o2;
|
|
4320
|
+
var i = m2.call(o2), r, ar2 = [], e;
|
|
4321
4321
|
try {
|
|
4322
|
-
while ((n === void 0 || n-- > 0) && !(
|
|
4323
|
-
ar2.push(
|
|
4322
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
4323
|
+
ar2.push(r.value);
|
|
4324
4324
|
} catch (error2) {
|
|
4325
4325
|
e = { error: error2 };
|
|
4326
4326
|
} finally {
|
|
4327
4327
|
try {
|
|
4328
|
-
if (
|
|
4328
|
+
if (r && !r.done && (m2 = i["return"]))
|
|
4329
4329
|
m2.call(i);
|
|
4330
4330
|
} finally {
|
|
4331
4331
|
if (e)
|
|
@@ -7542,212 +7542,230 @@ function usesReference(value, regexOrOptions = {}) {
|
|
|
7542
7542
|
return false;
|
|
7543
7543
|
}
|
|
7544
7544
|
var usesReference_1 = usesReference;
|
|
7545
|
-
var
|
|
7546
|
-
var
|
|
7547
|
-
var
|
|
7548
|
-
var xe = Object.prototype.hasOwnProperty,
|
|
7549
|
-
var
|
|
7545
|
+
var $r = Object.defineProperty, Xr = Object.defineProperties;
|
|
7546
|
+
var Zr = Object.getOwnPropertyDescriptors;
|
|
7547
|
+
var H = Object.getOwnPropertySymbols;
|
|
7548
|
+
var xe = Object.prototype.hasOwnProperty, we = Object.prototype.propertyIsEnumerable;
|
|
7549
|
+
var Ae = (r, e, a) => e in r ? $r(r, e, { enumerable: true, configurable: true, writable: true, value: a }) : r[e] = a, m = (r, e) => {
|
|
7550
7550
|
for (var a in e || (e = {}))
|
|
7551
|
-
xe.call(e, a) &&
|
|
7552
|
-
if (
|
|
7553
|
-
for (var a of
|
|
7554
|
-
|
|
7555
|
-
return
|
|
7556
|
-
}, C = (
|
|
7557
|
-
var q = (
|
|
7551
|
+
xe.call(e, a) && Ae(r, a, e[a]);
|
|
7552
|
+
if (H)
|
|
7553
|
+
for (var a of H(e))
|
|
7554
|
+
we.call(e, a) && Ae(r, a, e[a]);
|
|
7555
|
+
return r;
|
|
7556
|
+
}, C = (r, e) => Xr(r, Zr(e));
|
|
7557
|
+
var q = (r, e) => {
|
|
7558
7558
|
var a = {};
|
|
7559
|
-
for (var t in
|
|
7560
|
-
xe.call(
|
|
7561
|
-
if (
|
|
7562
|
-
for (var t of
|
|
7563
|
-
e.indexOf(t) < 0 &&
|
|
7559
|
+
for (var t in r)
|
|
7560
|
+
xe.call(r, t) && e.indexOf(t) < 0 && (a[t] = r[t]);
|
|
7561
|
+
if (r != null && H)
|
|
7562
|
+
for (var t of H(r))
|
|
7563
|
+
e.indexOf(t) < 0 && we.call(r, t) && (a[t] = r[t]);
|
|
7564
7564
|
return a;
|
|
7565
7565
|
};
|
|
7566
|
-
var
|
|
7567
|
-
var c = (
|
|
7568
|
-
var
|
|
7566
|
+
var Qr = (r, e) => () => (r && (e = r(r = 0)), e);
|
|
7567
|
+
var c = (r, e) => () => (e || r((e = { exports: {} }).exports, e), e.exports);
|
|
7568
|
+
var o = Qr(() => {
|
|
7569
7569
|
});
|
|
7570
|
-
var
|
|
7571
|
-
|
|
7572
|
-
|
|
7570
|
+
var xo = c((ui, ko) => {
|
|
7571
|
+
o();
|
|
7572
|
+
ko.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}" } } };
|
|
7573
7573
|
});
|
|
7574
|
-
var
|
|
7575
|
-
|
|
7576
|
-
|
|
7574
|
+
var Ao = c((di, wo) => {
|
|
7575
|
+
o();
|
|
7576
|
+
wo.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}" } } } };
|
|
7577
7577
|
});
|
|
7578
|
-
var
|
|
7579
|
-
|
|
7580
|
-
|
|
7578
|
+
var Do = c((ci, To) => {
|
|
7579
|
+
o();
|
|
7580
|
+
To.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}" } } };
|
|
7581
7581
|
});
|
|
7582
|
-
var
|
|
7583
|
-
|
|
7584
|
-
|
|
7582
|
+
var Eo = c((mi, Io) => {
|
|
7583
|
+
o();
|
|
7584
|
+
Io.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}" } } };
|
|
7585
7585
|
});
|
|
7586
|
-
var
|
|
7587
|
-
|
|
7588
|
-
|
|
7586
|
+
var Ro = c((vi, Po) => {
|
|
7587
|
+
o();
|
|
7588
|
+
Po.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}" } } };
|
|
7589
7589
|
});
|
|
7590
|
-
var
|
|
7591
|
-
|
|
7592
|
-
|
|
7590
|
+
var Vo = c((pi, Wo) => {
|
|
7591
|
+
o();
|
|
7592
|
+
Wo.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}" } } } };
|
|
7593
7593
|
});
|
|
7594
|
-
var
|
|
7595
|
-
|
|
7596
|
-
|
|
7594
|
+
var _o = c((gi, Uo) => {
|
|
7595
|
+
o();
|
|
7596
|
+
Uo.exports = { alignItems: { value: "flex-start" }, alignContent: { value: "center" }, flexDirection: { value: "column" }, justifyContent: { value: "center" } };
|
|
7597
7597
|
});
|
|
7598
|
-
var
|
|
7599
|
-
|
|
7600
|
-
|
|
7598
|
+
var No = c((fi, Fo) => {
|
|
7599
|
+
o();
|
|
7600
|
+
Fo.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}" } } };
|
|
7601
7601
|
});
|
|
7602
|
-
var
|
|
7603
|
-
|
|
7604
|
-
|
|
7602
|
+
var zo = c((hi, Oo) => {
|
|
7603
|
+
o();
|
|
7604
|
+
Oo.exports = { height: { value: "100%" } };
|
|
7605
7605
|
});
|
|
7606
|
-
var
|
|
7607
|
-
|
|
7608
|
-
|
|
7606
|
+
var Bo = c((bi, Mo) => {
|
|
7607
|
+
o();
|
|
7608
|
+
Mo.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}" } };
|
|
7609
7609
|
});
|
|
7610
|
-
var
|
|
7611
|
-
|
|
7612
|
-
|
|
7610
|
+
var Lo = c((Si, Go) => {
|
|
7611
|
+
o();
|
|
7612
|
+
Go.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)" } } };
|
|
7613
7613
|
});
|
|
7614
|
-
var
|
|
7615
|
-
|
|
7616
|
-
|
|
7614
|
+
var qo = c((yi, Ho) => {
|
|
7615
|
+
o();
|
|
7616
|
+
Ho.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}" } } };
|
|
7617
7617
|
});
|
|
7618
|
-
var
|
|
7619
|
-
|
|
7620
|
-
|
|
7618
|
+
var Ko = c((Ci, jo) => {
|
|
7619
|
+
o();
|
|
7620
|
+
jo.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}" } } } } };
|
|
7621
7621
|
});
|
|
7622
|
-
var
|
|
7623
|
-
|
|
7624
|
-
|
|
7622
|
+
var $o = c((ki, Yo) => {
|
|
7623
|
+
o();
|
|
7624
|
+
Yo.exports = { gap: { value: 0 }, vertical: { alignItems: { value: "center" } }, outer: { alignItems: { value: "center" } } };
|
|
7625
7625
|
});
|
|
7626
|
-
var
|
|
7627
|
-
|
|
7628
|
-
|
|
7626
|
+
var Zo = c((xi, Xo) => {
|
|
7627
|
+
o();
|
|
7628
|
+
Xo.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}" } } };
|
|
7629
7629
|
});
|
|
7630
|
-
var
|
|
7631
|
-
|
|
7632
|
-
|
|
7630
|
+
var Jo = c((wi, Qo) => {
|
|
7631
|
+
o();
|
|
7632
|
+
Qo.exports = { gap: { value: "{space.medium.value}" }, justifyContent: { value: "normal" }, alignItems: { value: "stretch" }, alignContent: { value: "normal" }, flexWrap: { value: "nowrap" } };
|
|
7633
7633
|
});
|
|
7634
|
-
var
|
|
7635
|
-
|
|
7636
|
-
|
|
7634
|
+
var or = c((Ai, er) => {
|
|
7635
|
+
o();
|
|
7636
|
+
er.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}" } } };
|
|
7637
7637
|
});
|
|
7638
|
-
var
|
|
7639
|
-
|
|
7640
|
-
|
|
7638
|
+
var ar = c((Ti, rr) => {
|
|
7639
|
+
o();
|
|
7640
|
+
rr.exports = { lineHeight: { value: 1 }, height: { value: "1em" } };
|
|
7641
7641
|
});
|
|
7642
|
-
var
|
|
7643
|
-
|
|
7644
|
-
|
|
7642
|
+
var nr = c((Di, tr) => {
|
|
7643
|
+
o();
|
|
7644
|
+
tr.exports = { maxWidth: { value: "100%" }, height: { value: "auto" }, objectFit: { value: "initial" }, objectPosition: { value: "initial" } };
|
|
7645
7645
|
});
|
|
7646
|
-
var
|
|
7647
|
-
|
|
7648
|
-
|
|
7646
|
+
var sr = c((Ii, ir) => {
|
|
7647
|
+
o();
|
|
7648
|
+
ir.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}" } } };
|
|
7649
7649
|
});
|
|
7650
|
-
var
|
|
7651
|
-
|
|
7652
|
-
|
|
7650
|
+
var ur = c((Ei, lr) => {
|
|
7651
|
+
o();
|
|
7652
|
+
lr.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}" } } } };
|
|
7653
7653
|
});
|
|
7654
|
-
var
|
|
7655
|
-
|
|
7656
|
-
|
|
7654
|
+
var cr = c((Pi, dr) => {
|
|
7655
|
+
o();
|
|
7656
|
+
dr.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}" } } };
|
|
7657
7657
|
});
|
|
7658
|
-
var
|
|
7659
|
-
|
|
7660
|
-
|
|
7658
|
+
var vr = c((Ri, mr) => {
|
|
7659
|
+
o();
|
|
7660
|
+
mr.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}" } } };
|
|
7661
7661
|
});
|
|
7662
|
-
var
|
|
7663
|
-
|
|
7664
|
-
|
|
7662
|
+
var gr = c((Wi, pr) => {
|
|
7663
|
+
o();
|
|
7664
|
+
pr.exports = {};
|
|
7665
7665
|
});
|
|
7666
|
-
var
|
|
7667
|
-
|
|
7668
|
-
|
|
7666
|
+
var hr = c((Vi, fr) => {
|
|
7667
|
+
o();
|
|
7668
|
+
fr.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}" } } };
|
|
7669
7669
|
});
|
|
7670
|
-
var
|
|
7671
|
-
|
|
7672
|
-
|
|
7670
|
+
var Sr = c((Ui, br) => {
|
|
7671
|
+
o();
|
|
7672
|
+
br.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}" } } } };
|
|
7673
7673
|
});
|
|
7674
|
-
var
|
|
7675
|
-
|
|
7676
|
-
|
|
7674
|
+
var Cr = c((_i, yr) => {
|
|
7675
|
+
o();
|
|
7676
|
+
yr.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}" } } };
|
|
7677
7677
|
});
|
|
7678
|
-
var
|
|
7679
|
-
|
|
7680
|
-
|
|
7678
|
+
var xr = c((Fi, kr) => {
|
|
7679
|
+
o();
|
|
7680
|
+
kr.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" } } };
|
|
7681
7681
|
});
|
|
7682
|
-
var
|
|
7683
|
-
|
|
7684
|
-
|
|
7682
|
+
var Ar = c((Ni, wr) => {
|
|
7683
|
+
o();
|
|
7684
|
+
wr.exports = { flexDirection: { value: "column" } };
|
|
7685
7685
|
});
|
|
7686
|
-
var
|
|
7687
|
-
|
|
7688
|
-
|
|
7686
|
+
var Dr = c((Oi, Tr) => {
|
|
7687
|
+
o();
|
|
7688
|
+
Tr.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" } } } };
|
|
7689
7689
|
});
|
|
7690
|
-
var
|
|
7691
|
-
|
|
7692
|
-
|
|
7690
|
+
var Er = c((zi, Ir) => {
|
|
7691
|
+
o();
|
|
7692
|
+
Ir.exports = { flexDirection: { value: "column" }, input: { textAlign: { value: "center" } } };
|
|
7693
7693
|
});
|
|
7694
|
-
var
|
|
7695
|
-
|
|
7696
|
-
|
|
7694
|
+
var Rr = c((Mi, Pr) => {
|
|
7695
|
+
o();
|
|
7696
|
+
Pr.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}" } } };
|
|
7697
7697
|
});
|
|
7698
|
-
var
|
|
7699
|
-
|
|
7700
|
-
|
|
7698
|
+
var Vr = c((Bi, Wr) => {
|
|
7699
|
+
o();
|
|
7700
|
+
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}" } } } };
|
|
7701
7701
|
});
|
|
7702
|
-
var
|
|
7703
|
-
|
|
7704
|
-
|
|
7702
|
+
var _r = c((Gi, Ur) => {
|
|
7703
|
+
o();
|
|
7704
|
+
Ur.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}" } } } };
|
|
7705
7705
|
});
|
|
7706
|
-
var
|
|
7707
|
-
|
|
7708
|
-
|
|
7706
|
+
var Nr = c((Li, Fr) => {
|
|
7707
|
+
o();
|
|
7708
|
+
Fr.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}" } } };
|
|
7709
7709
|
});
|
|
7710
|
-
var
|
|
7711
|
-
|
|
7712
|
-
|
|
7710
|
+
var zr = c((Hi, Or) => {
|
|
7711
|
+
o();
|
|
7712
|
+
Or.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}" } } } } };
|
|
7713
7713
|
});
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7714
|
+
var Br = c((qi, Mr) => {
|
|
7715
|
+
o();
|
|
7716
|
+
Mr.exports = { alignItems: { value: "center" }, alignContent: { value: "center" }, justifyContent: { value: "flex-start" } };
|
|
7717
|
+
});
|
|
7718
|
+
var Lr = c((ji, Gr) => {
|
|
7719
|
+
o();
|
|
7720
|
+
Gr.exports = { alert: xo(), authenticator: Ao(), badge: Do(), button: Eo(), card: Ro(), checkbox: Vo(), checkboxfield: _o(), copy: No(), countrycodeselect: zo(), divider: Bo(), expander: Lo(), field: qo(), fieldcontrol: Ko(), fieldgroup: $o(), fieldmessages: Zo(), flex: Jo(), heading: or(), icon: ar(), image: nr(), link: sr(), loader: ur(), menu: cr(), pagination: vr(), phonenumberfield: gr(), placeholder: hr(), radio: Sr(), rating: Cr(), select: xr(), selectfield: Ar(), sliderfield: Dr(), stepperfield: Er(), switchfield: Rr(), table: Vr(), tabs: _r(), text: Nr(), togglebutton: zr(), togglebuttongroup: Br() };
|
|
7721
|
+
});
|
|
7722
|
+
o();
|
|
7723
|
+
o();
|
|
7724
|
+
o();
|
|
7725
|
+
o();
|
|
7726
|
+
o();
|
|
7727
|
+
o();
|
|
7728
|
+
o();
|
|
7729
|
+
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 || {});
|
|
7730
|
+
o();
|
|
7731
|
+
o();
|
|
7732
|
+
var j = ["username", "email", "phone_number"];
|
|
7733
|
+
o();
|
|
7734
|
+
o();
|
|
7735
|
+
o();
|
|
7736
|
+
o();
|
|
7737
|
+
o();
|
|
7738
|
+
o();
|
|
7739
|
+
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" } }, ea = ((s) => (s.Apple = "SignInWithApple", s.Amazon = "LoginWithAmazon", s.Facebook = "Facebook", s.Google = "Google", s))(ea || {}), rt = (r, e) => {
|
|
7722
7740
|
var u, v, d, f, g;
|
|
7723
|
-
let a = (u =
|
|
7741
|
+
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;
|
|
7724
7742
|
if (j.includes(e))
|
|
7725
7743
|
return { label: G[e].label, type: G[e].type, error: t };
|
|
7726
7744
|
let s = "text", l = a.filter((h2) => includes_1(j, h2)).map((h2) => {
|
|
7727
|
-
var
|
|
7728
|
-
return (
|
|
7745
|
+
var M, B;
|
|
7746
|
+
return (B = (M = G[h2]) == null ? void 0 : M.label) != null ? B : G.username.label;
|
|
7729
7747
|
}).join(" or ");
|
|
7730
7748
|
return a.length === 1 && (s = (g = (f = G[a[0]]) == null ? void 0 : f.type) != null ? g : "text"), { label: l, type: s, error: t };
|
|
7731
|
-
}, J = (
|
|
7749
|
+
}, J = (r) => {
|
|
7732
7750
|
var e;
|
|
7733
|
-
return (e =
|
|
7734
|
-
},
|
|
7751
|
+
return (e = r.context.actorRef) == null ? void 0 : e.getSnapshot();
|
|
7752
|
+
}, oa = (r) => {
|
|
7735
7753
|
var e;
|
|
7736
|
-
return (e = J(
|
|
7737
|
-
},
|
|
7738
|
-
let e = (a) => (t) =>
|
|
7754
|
+
return (e = J(r)) == null ? void 0 : e.context;
|
|
7755
|
+
}, ra = (r) => {
|
|
7756
|
+
let e = (a) => (t) => r({ type: a, data: t });
|
|
7739
7757
|
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
|
-
},
|
|
7758
|
+
}, aa = (r) => {
|
|
7741
7759
|
var g, h2;
|
|
7742
|
-
let e = (g =
|
|
7760
|
+
let e = (g = r.context) == null ? void 0 : g.user, a = J(r), t = oa(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
7761
|
switch (true) {
|
|
7744
|
-
case
|
|
7762
|
+
case r.matches("idle"):
|
|
7745
7763
|
return "idle";
|
|
7746
|
-
case
|
|
7764
|
+
case r.matches("setup"):
|
|
7747
7765
|
return "setup";
|
|
7748
|
-
case
|
|
7766
|
+
case r.matches("signOut"):
|
|
7749
7767
|
return "signOut";
|
|
7750
|
-
case
|
|
7768
|
+
case r.matches("authenticated"):
|
|
7751
7769
|
return "authenticated";
|
|
7752
7770
|
case (a == null ? void 0 : a.matches("confirmSignUp")):
|
|
7753
7771
|
return "confirmSignUp";
|
|
@@ -7770,143 +7788,145 @@ var G = { birthdate: { label: "Birthdate", placeholder: "Birthdate", type: "date
|
|
|
7770
7788
|
case (a == null ? void 0 : a.matches("confirmVerifyUser")):
|
|
7771
7789
|
return "confirmVerifyUser";
|
|
7772
7790
|
default:
|
|
7773
|
-
return console.debug("Cannot infer `route` from Authenticator state:",
|
|
7791
|
+
return console.debug("Cannot infer `route` from Authenticator state:", r.value), null;
|
|
7774
7792
|
}
|
|
7775
7793
|
})();
|
|
7776
7794
|
return { error: s, hasValidationErrors: v, isPending: d, route: f, user: e, validationErrors: l, codeDeliveryDetails: u };
|
|
7777
|
-
},
|
|
7778
|
-
let a =
|
|
7795
|
+
}, tt = ({ send: r, state: e }) => {
|
|
7796
|
+
let a = ra(r), t = aa(e);
|
|
7779
7797
|
return m(m({}, a), t);
|
|
7780
|
-
},
|
|
7798
|
+
}, nt = (r) => Hub.listen("auth", (e) => {
|
|
7781
7799
|
switch (e.payload.event) {
|
|
7782
7800
|
case "signOut":
|
|
7783
|
-
|
|
7801
|
+
r("SIGN_OUT");
|
|
7784
7802
|
break;
|
|
7785
7803
|
}
|
|
7786
7804
|
});
|
|
7787
|
-
|
|
7788
|
-
var
|
|
7789
|
-
let e = new FormData(
|
|
7805
|
+
o();
|
|
7806
|
+
var ut = (r) => {
|
|
7807
|
+
let e = new FormData(r.target);
|
|
7790
7808
|
return Object.fromEntries(e);
|
|
7791
|
-
},
|
|
7809
|
+
}, dt = (r, e) => {
|
|
7792
7810
|
let a = [];
|
|
7793
|
-
return
|
|
7811
|
+
return r && (a = Object.keys(r).reduce((t, s) => {
|
|
7794
7812
|
var l;
|
|
7795
|
-
return t.push([s, (l =
|
|
7813
|
+
return t.push([s, (l = r[s]) == null ? void 0 : l.order]), t;
|
|
7796
7814
|
}, []).sort((t, s) => t[1] - s[1]).filter((t) => t[1] !== void 0).map((t) => t[0])), Array.from(new Set([...a, ...e]));
|
|
7797
7815
|
};
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
var
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7816
|
+
o();
|
|
7817
|
+
o();
|
|
7818
|
+
var gt = ["+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"];
|
|
7819
|
+
o();
|
|
7820
|
+
o();
|
|
7821
|
+
o();
|
|
7822
|
+
o();
|
|
7805
7823
|
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" };
|
|
7806
|
-
|
|
7824
|
+
o();
|
|
7807
7825
|
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" };
|
|
7808
|
-
|
|
7826
|
+
o();
|
|
7809
7827
|
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" };
|
|
7810
|
-
|
|
7828
|
+
o();
|
|
7811
7829
|
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" };
|
|
7812
|
-
|
|
7830
|
+
o();
|
|
7813
7831
|
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" };
|
|
7814
|
-
|
|
7832
|
+
o();
|
|
7815
7833
|
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
|
|
7816
7834
|
+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" };
|
|
7817
|
-
|
|
7835
|
+
o();
|
|
7818
7836
|
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" };
|
|
7819
|
-
|
|
7837
|
+
o();
|
|
7820
7838
|
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" };
|
|
7821
|
-
|
|
7839
|
+
o();
|
|
7822
7840
|
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" };
|
|
7823
|
-
|
|
7841
|
+
o();
|
|
7824
7842
|
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" };
|
|
7825
|
-
|
|
7843
|
+
o();
|
|
7826
7844
|
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" };
|
|
7827
|
-
|
|
7845
|
+
o();
|
|
7828
7846
|
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" };
|
|
7829
|
-
|
|
7830
|
-
var me = {
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
} }),
|
|
7847
|
-
} }),
|
|
7848
|
-
} }),
|
|
7847
|
+
o();
|
|
7848
|
+
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" };
|
|
7849
|
+
o();
|
|
7850
|
+
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" };
|
|
7851
|
+
var De = m({}, ee), Ie = m({}, oe), Ee = m({}, re), Pe = m({}, ae), Re = m({}, te), We = m({}, ne), Ve = m({}, ie), Ue = m({}, se), _e = m({}, le), Fe = m({}, ue), Ne = m({}, de), Oe = m({}, ce), ze = m({}, me), Me = m({}, ve);
|
|
7852
|
+
m({}, Me);
|
|
7853
|
+
function $t(r) {
|
|
7854
|
+
return I18n.get(r);
|
|
7855
|
+
}
|
|
7856
|
+
function Xt(r) {
|
|
7857
|
+
return I18n.get(r) !== r;
|
|
7858
|
+
}
|
|
7859
|
+
var Zt = { de: De, en: Ie, es: Ee, fr: Pe, id: ze, it: Re, ja: We, kr: Ve, nl: Ue, pl: _e, pt: Fe, zh: Ne, sv: Oe };
|
|
7860
|
+
o();
|
|
7861
|
+
o();
|
|
7862
|
+
o();
|
|
7863
|
+
var L = (r) => stop_1(r), Ge = assign_1({ attributeToVerify: (r) => {
|
|
7864
|
+
} }), Le = assign_1({ challengeName: (r) => {
|
|
7865
|
+
} }), He = assign_1({ requiredAttributes: (r) => {
|
|
7866
|
+
} }), I = assign_1({ remoteError: (r) => "" }), E = assign_1({ formValues: (r) => ({}) }), P = assign_1({ touched: (r) => ({}) }), qe = assign_1({ unverifiedAttributes: (r) => {
|
|
7867
|
+
} }), je = assign_1({ username: (r) => {
|
|
7868
|
+
} }), R = assign_1({ validationError: (r) => ({}) }), Ke = assign_1({ challengeName: (r, e) => {
|
|
7849
7869
|
var a;
|
|
7850
7870
|
return (a = e.data) == null ? void 0 : a.challengeName;
|
|
7851
|
-
} }),
|
|
7871
|
+
} }), Ye = assign_1({ requiredAttributes: (r, e) => {
|
|
7852
7872
|
var a, t;
|
|
7853
7873
|
return (t = (a = e.data) == null ? void 0 : a.challengeParam) == null ? void 0 : t.requiredAttributes;
|
|
7854
|
-
} }),
|
|
7874
|
+
} }), $e = assign_1({ redirectIntent: (r) => "confirmPasswordReset" }), Xe = assign_1({ redirectIntent: (r) => "confirmSignUp" }), K = assign_1({ authAttributes: (r, e) => {
|
|
7855
7875
|
var l, u;
|
|
7856
|
-
let [a] =
|
|
7876
|
+
let [a] = r.loginMechanisms, t = (l = r.formValues[a]) != null ? l : r.formValues.username, s = (u = r.formValues) == null ? void 0 : u.password;
|
|
7857
7877
|
return { username: t, password: s };
|
|
7858
|
-
} }), W = assign_1({ validationError: (
|
|
7878
|
+
} }), W = assign_1({ validationError: (r, e) => e.data }), V = assign_1({ remoteError: (r, e) => {
|
|
7859
7879
|
var a;
|
|
7860
7880
|
return e.data.name === "NoUserPoolError" ? "Configuration error (see console) \u2013 please contact the administrator" : ((a = e.data) == null ? void 0 : a.message) || e.data;
|
|
7861
|
-
} }),
|
|
7881
|
+
} }), Ze = assign_1({ unverifiedAttributes: (r, e) => e.data.unverified }), Y = assign_1({ user: (r, e) => e.data.user || e.data }), Qe = assign_1({ username: (r, e) => r.formValues.username }), Je = assign_1({ codeDeliveryDetails: (r, e) => e.data.codeDeliveryDetails }), eo = assign_1({ authAttributes: (r, e) => ({ username: r.formValues.username }) }), U = assign_1({ formValues: (r, e) => {
|
|
7862
7882
|
let { name: a, value: t } = e.data;
|
|
7863
|
-
return C(m({},
|
|
7864
|
-
} }),
|
|
7883
|
+
return C(m({}, r.formValues), { [a]: t });
|
|
7884
|
+
} }), _ = assign_1({ formValues: (r, e) => m(m({}, r.formValues), e.data) }), F = assign_1({ touched: (r, e) => {
|
|
7865
7885
|
let { name: a } = e.data;
|
|
7866
|
-
return C(m({},
|
|
7867
|
-
} }),
|
|
7886
|
+
return C(m({}, r.touched), { [`${a}`]: true });
|
|
7887
|
+
} }), $ = assign_1({ formValues: (r, e) => {
|
|
7868
7888
|
var d;
|
|
7869
|
-
let [a = "username"] =
|
|
7870
|
-
if (!
|
|
7871
|
-
return
|
|
7872
|
-
let { formValues: t, country_code: s } =
|
|
7889
|
+
let [a = "username"] = r.loginMechanisms;
|
|
7890
|
+
if (!r.formValues.phone_number && a !== "phone_number")
|
|
7891
|
+
return r.formValues;
|
|
7892
|
+
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 });
|
|
7873
7893
|
return delete v.country_code, v;
|
|
7874
7894
|
} });
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
var
|
|
7879
|
-
let t = await Promise.all(a.map((l) => l(
|
|
7895
|
+
o();
|
|
7896
|
+
o();
|
|
7897
|
+
o();
|
|
7898
|
+
var N = async (r, e, a) => {
|
|
7899
|
+
let t = await Promise.all(a.map((l) => l(r, e))), s = merge_1({}, ...t);
|
|
7880
7900
|
return isEmpty_1(s) ? Promise.resolve() : Promise.reject(s);
|
|
7881
7901
|
};
|
|
7882
|
-
|
|
7883
|
-
var
|
|
7902
|
+
o();
|
|
7903
|
+
var O = { async getAmplifyConfig() {
|
|
7884
7904
|
return Amplify.configure();
|
|
7885
7905
|
}, async getCurrentUser() {
|
|
7886
7906
|
return Auth.currentAuthenticatedUser();
|
|
7887
|
-
}, async handleSignUp(
|
|
7888
|
-
return Auth.signUp(
|
|
7889
|
-
}, async handleSignIn({ username:
|
|
7890
|
-
return Auth.signIn(
|
|
7891
|
-
}, async handleConfirmSignIn({ user:
|
|
7892
|
-
return Auth.confirmSignIn(
|
|
7893
|
-
}, async handleConfirmSignUp({ username:
|
|
7894
|
-
return await Auth.confirmSignUp(
|
|
7895
|
-
}, async handleForgotPasswordSubmit({ username:
|
|
7896
|
-
return Auth.forgotPasswordSubmit(
|
|
7897
|
-
}, async handleForgotPassword(
|
|
7898
|
-
return Auth.forgotPassword(
|
|
7899
|
-
}, async validateCustomSignUp(
|
|
7900
|
-
}, async validateConfirmPassword(
|
|
7901
|
-
let { password: a, confirm_password: t } =
|
|
7907
|
+
}, async handleSignUp(r) {
|
|
7908
|
+
return Auth.signUp(r);
|
|
7909
|
+
}, async handleSignIn({ username: r, password: e }) {
|
|
7910
|
+
return Auth.signIn(r, e);
|
|
7911
|
+
}, async handleConfirmSignIn({ user: r, code: e, mfaType: a }) {
|
|
7912
|
+
return Auth.confirmSignIn(r, e, a);
|
|
7913
|
+
}, async handleConfirmSignUp({ username: r, code: e }) {
|
|
7914
|
+
return await Auth.confirmSignUp(r, e);
|
|
7915
|
+
}, async handleForgotPasswordSubmit({ username: r, code: e, password: a }) {
|
|
7916
|
+
return Auth.forgotPasswordSubmit(r, e, a);
|
|
7917
|
+
}, async handleForgotPassword(r) {
|
|
7918
|
+
return Auth.forgotPassword(r);
|
|
7919
|
+
}, async validateCustomSignUp(r, e) {
|
|
7920
|
+
}, async validateConfirmPassword(r, e) {
|
|
7921
|
+
let { password: a, confirm_password: t } = r, { confirm_password: s, password: l } = e;
|
|
7902
7922
|
if (!a && !t)
|
|
7903
7923
|
return null;
|
|
7904
7924
|
if ((a || t) && a !== t && (s && l || a.length >= 6 && t.length >= 6))
|
|
7905
7925
|
return { confirm_password: "Your passwords must match" };
|
|
7906
|
-
}, async validatePreferredUsername(
|
|
7926
|
+
}, async validatePreferredUsername(r, e) {
|
|
7907
7927
|
} };
|
|
7908
|
-
function
|
|
7909
|
-
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:
|
|
7928
|
+
function ro({ services: r }) {
|
|
7929
|
+
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: Ge, clearChallengeName: Le, clearRequiredAttributes: He, clearError: I, clearFormValues: E, clearTouched: P, clearUnverifiedAttributes: qe, clearValidationError: R, handleInput: U, handleSubmit: _, handleBlur: F, parsePhoneNumber: $, setChallengeName: Ke, setConfirmResetPasswordIntent: $e, setConfirmSignUpIntent: Xe, setRequiredAttributes: Ye, setCredentials: K, setFieldErrors: W, setRemoteError: V, setUnverifiedAttributes: Ze, setUser: Y, setUsernameAuthAttributes: eo }, guards: { shouldConfirmSignIn: (e, a) => {
|
|
7910
7930
|
let t = get_1(a, "data.challengeName");
|
|
7911
7931
|
return ["SMS_MFA", "SOFTWARE_TOKEN_MFA"].includes(t);
|
|
7912
7932
|
}, 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) => {
|
|
@@ -7914,10 +7934,10 @@ function eo({ services: o }) {
|
|
|
7914
7934
|
return isEmpty_1(s) && !isEmpty_1(t);
|
|
7915
7935
|
} }, services: { async signIn(e) {
|
|
7916
7936
|
let { username: a, password: t } = e.formValues;
|
|
7917
|
-
return await
|
|
7937
|
+
return await r.handleSignIn({ username: a, password: t });
|
|
7918
7938
|
}, async confirmSignIn(e, a) {
|
|
7919
7939
|
let { challengeName: t, user: s } = e, { confirmation_code: l } = e.formValues, u;
|
|
7920
|
-
return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await
|
|
7940
|
+
return (t === "SMS_MFA" || t === "SOFTWARE_TOKEN_MFA") && (u = t), await r.handleConfirmSignIn({ user: s, code: l, mfaType: u }), await Auth.currentAuthenticatedUser();
|
|
7921
7941
|
}, async forceNewPassword(e, a) {
|
|
7922
7942
|
let { user: t, formValues: s } = e, 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;
|
|
7923
7943
|
return v && (g = `${d}${v}`.replace(/[^A-Z0-9+]/gi, ""), f = C(m({}, f), { phone_number: g })), Auth.completeNewPassword(t, l, f);
|
|
@@ -7937,35 +7957,35 @@ function eo({ services: o }) {
|
|
|
7937
7957
|
let { attributeToVerify: t } = e, { confirmation_code: s } = e.formValues;
|
|
7938
7958
|
return await Auth.verifyCurrentUserAttributeSubmit(t, s);
|
|
7939
7959
|
}, async validateFields(e, a) {
|
|
7940
|
-
return
|
|
7960
|
+
return N(e.formValues, e.touched, [O.validateConfirmPassword]);
|
|
7941
7961
|
} } });
|
|
7942
7962
|
}
|
|
7943
|
-
|
|
7944
|
-
var
|
|
7945
|
-
|
|
7946
|
-
function
|
|
7947
|
-
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:
|
|
7963
|
+
o();
|
|
7964
|
+
var ao = 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() } });
|
|
7965
|
+
o();
|
|
7966
|
+
function to({ services: r }) {
|
|
7967
|
+
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: je, clearValidationError: R, handleInput: U, handleSubmit: _, handleBlur: F, setFieldErrors: W, setRemoteError: V, setUsername: Qe }, guards: { shouldAutoConfirmReset: (e, a) => !!(e.intent && e.intent === "confirmPasswordReset") }, services: { async resetPassword(e) {
|
|
7948
7968
|
var t, s;
|
|
7949
7969
|
let a = (s = (t = e.formValues) == null ? void 0 : t.username) != null ? s : e.username;
|
|
7950
|
-
return
|
|
7970
|
+
return r.handleForgotPassword(a);
|
|
7951
7971
|
}, async confirmResetPassword(e) {
|
|
7952
7972
|
let { username: a } = e, { confirmation_code: t, password: s } = e.formValues;
|
|
7953
|
-
return
|
|
7973
|
+
return r.handleForgotPasswordSubmit({ username: a, code: t, password: s });
|
|
7954
7974
|
}, async validateFields(e, a) {
|
|
7955
|
-
return
|
|
7975
|
+
return N(e.formValues, e.touched, [O.validateConfirmPassword]);
|
|
7956
7976
|
} } });
|
|
7957
7977
|
}
|
|
7958
|
-
|
|
7959
|
-
function
|
|
7978
|
+
o();
|
|
7979
|
+
function no({ services: r }) {
|
|
7960
7980
|
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) => {
|
|
7961
7981
|
let { username: t, password: s } = e.authAttributes;
|
|
7962
7982
|
return { user: get_1(a, "data.user") || e.user, authAttributes: { username: t, password: s } };
|
|
7963
|
-
} } } }, { 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:
|
|
7983
|
+
} } } }, { 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: U, handleSubmit: _, handleBlur: F, parsePhoneNumber: $, setCredentials: K, setFieldErrors: W, setRemoteError: V, setCodeDeliveryDetails: Je, setUser: Y }, services: { async signIn(e, a) {
|
|
7964
7984
|
let { user: t, authAttributes: s, formValues: l } = e, u = get_1(t, "username") || get_1(s, "username"), v = get_1(l, "password");
|
|
7965
7985
|
return await Auth.signIn(u, v);
|
|
7966
7986
|
}, async confirmSignUp(e, a) {
|
|
7967
7987
|
let { user: t, authAttributes: s, formValues: l } = e, { confirmation_code: u } = l, v = get_1(t, "username") || get_1(s, "username"), { password: d } = s;
|
|
7968
|
-
return await
|
|
7988
|
+
return await r.handleConfirmSignUp({ username: v, code: u }), await Auth.signIn(v, d);
|
|
7969
7989
|
}, async resendConfirmationCode(e, a) {
|
|
7970
7990
|
let { user: t, authAttributes: s } = e, l = get_1(t, "username") || get_1(s, "username");
|
|
7971
7991
|
return Auth.resendSignUp(l);
|
|
@@ -7997,109 +8017,109 @@ function ao({ services: o }) {
|
|
|
7997
8017
|
return g.startsWith("custom:");
|
|
7998
8018
|
}
|
|
7999
8019
|
});
|
|
8000
|
-
return await
|
|
8020
|
+
return await r.handleSignUp({ username: u, password: v, attributes: d });
|
|
8001
8021
|
}, async validateSignUp(e, a) {
|
|
8002
|
-
return
|
|
8022
|
+
return N(e.formValues, e.touched, [r.validateConfirmPassword, r.validatePreferredUsername, r.validateCustomSignUp]);
|
|
8003
8023
|
} } });
|
|
8004
8024
|
}
|
|
8005
|
-
var
|
|
8006
|
-
function
|
|
8007
|
-
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: (
|
|
8025
|
+
var io = "+1";
|
|
8026
|
+
function qn() {
|
|
8027
|
+
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, e) => 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, e) => 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, e) => e.data }), setActorDoneData: assign$3({ actorDoneData: (r, e) => {
|
|
8008
8028
|
var a, t;
|
|
8009
8029
|
return { authAttributes: m({}, (a = e.data) == null ? void 0 : a.authAttributes), intent: (t = e.data) == null ? void 0 : t.intent };
|
|
8010
|
-
}, user: (
|
|
8030
|
+
}, user: (r, e) => {
|
|
8011
8031
|
var a;
|
|
8012
8032
|
return (a = e.data) == null ? void 0 : a.user;
|
|
8013
|
-
} }), clearUser: assign$3({ user: void 0 }), clearActorDoneData: assign$3({ actorDoneData: void 0 }), applyAmplifyConfig: assign$3({ config(
|
|
8014
|
-
var h2,
|
|
8015
|
-
let a = (
|
|
8033
|
+
} }), clearUser: assign$3({ user: void 0 }), clearActorDoneData: assign$3({ actorDoneData: void 0 }), applyAmplifyConfig: assign$3({ config(r, e) {
|
|
8034
|
+
var h2, M, B, he, be, Se, ye, Ce, ke;
|
|
8035
|
+
let a = (M = (h2 = e.data.aws_cognito_username_attributes) == null ? void 0 : h2.map((A) => A.toLowerCase())) != null ? M : [], t = (he = (B = e.data.aws_cognito_verification_mechanisms) == null ? void 0 : B.map((A) => A.toLowerCase())) != null ? he : [], s = (Se = (be = e.data.aws_cognito_signup_attributes) == null ? void 0 : be.map((A) => A.toLowerCase())) != null ? Se : [], l = (Ce = (ye = e.data.aws_cognito_social_providers) == null ? void 0 : ye.map((A) => A.toLowerCase())) != null ? Ce : [];
|
|
8016
8036
|
a.length === 0 && a.push("username");
|
|
8017
|
-
let { loginMechanisms: u, signUpAttributes: v, socialProviders: d, initialState: f, formFields: g } =
|
|
8018
|
-
return { loginMechanisms: u != null ? u : a, formFields: (
|
|
8019
|
-
} }), spawnSignInActor: assign$3({ actorRef: (
|
|
8037
|
+
let { loginMechanisms: u, signUpAttributes: v, socialProviders: d, initialState: f, formFields: g } = r.config;
|
|
8038
|
+
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 };
|
|
8039
|
+
} }), spawnSignInActor: assign$3({ actorRef: (r, e) => {
|
|
8020
8040
|
var s, l, u, v, d;
|
|
8021
|
-
let { services: a } =
|
|
8041
|
+
let { services: a } = r, t = ro({ 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: io, 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 });
|
|
8022
8042
|
return spawn(t, { name: "signInActor" });
|
|
8023
|
-
} }), spawnSignUpActor: assign$3({ actorRef: (
|
|
8043
|
+
} }), spawnSignUpActor: assign$3({ actorRef: (r, e) => {
|
|
8024
8044
|
var s, l, u, v, d, f;
|
|
8025
|
-
let { services: a } =
|
|
8045
|
+
let { services: a } = r, t = no({ services: a }).withContext({ authAttributes: (l = (s = r.actorDoneData) == null ? void 0 : s.authAttributes) != null ? l : {}, country_code: io, 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 });
|
|
8026
8046
|
return spawn(t, { name: "signUpActor" });
|
|
8027
|
-
} }), spawnResetPasswordActor: assign$3({ actorRef: (
|
|
8047
|
+
} }), spawnResetPasswordActor: assign$3({ actorRef: (r, e) => {
|
|
8028
8048
|
var s, l, u, v;
|
|
8029
|
-
let { services: a } =
|
|
8049
|
+
let { services: a } = r, t = to({ 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: {} });
|
|
8030
8050
|
return spawn(t, { name: "resetPasswordActor" });
|
|
8031
|
-
} }), spawnSignOutActor: assign$3({ actorRef: (
|
|
8032
|
-
let e =
|
|
8051
|
+
} }), spawnSignOutActor: assign$3({ actorRef: (r) => {
|
|
8052
|
+
let e = ao.withContext({ user: r.user });
|
|
8033
8053
|
return spawn(e, { name: "signOutActor" });
|
|
8034
|
-
} }), configure: assign$3((
|
|
8054
|
+
} }), configure: assign$3((r, e) => {
|
|
8035
8055
|
let s = e.data, { services: a } = s, t = q(s, ["services"]);
|
|
8036
|
-
return { services: m(m({},
|
|
8037
|
-
}) }, guards: { shouldRedirectToSignUp: (
|
|
8056
|
+
return { services: m(m({}, O), a), config: t };
|
|
8057
|
+
}) }, guards: { shouldRedirectToSignUp: (r, e) => {
|
|
8038
8058
|
var a;
|
|
8039
8059
|
return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmSignUp" : false;
|
|
8040
|
-
}, shouldRedirectToResetPassword: (
|
|
8060
|
+
}, shouldRedirectToResetPassword: (r, e) => {
|
|
8041
8061
|
var a;
|
|
8042
8062
|
return ((a = e.data) == null ? void 0 : a.intent) ? e.data.intent === "confirmPasswordReset" : false;
|
|
8043
8063
|
} } });
|
|
8044
8064
|
}
|
|
8045
|
-
function
|
|
8046
|
-
return
|
|
8047
|
-
Object.keys(
|
|
8048
|
-
let t =
|
|
8065
|
+
function ha(r) {
|
|
8066
|
+
return r && Object.keys(r).forEach((e) => {
|
|
8067
|
+
Object.keys(r[e]).forEach((a) => {
|
|
8068
|
+
let t = r[e][a];
|
|
8049
8069
|
t.required = t.isRequired;
|
|
8050
8070
|
});
|
|
8051
|
-
}),
|
|
8052
|
-
}
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
var
|
|
8059
|
-
|
|
8060
|
-
var
|
|
8061
|
-
|
|
8062
|
-
var
|
|
8071
|
+
}), r;
|
|
8072
|
+
}
|
|
8073
|
+
o();
|
|
8074
|
+
o();
|
|
8075
|
+
o();
|
|
8076
|
+
o();
|
|
8077
|
+
o();
|
|
8078
|
+
var so = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
8079
|
+
o();
|
|
8080
|
+
var lo = { 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" } };
|
|
8081
|
+
o();
|
|
8082
|
+
var uo = { default: { variable: { value: `'InterVariable', 'Inter var', 'Inter', -apple-system, BlinkMacSystemFont,
|
|
8063
8083
|
'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
8064
8084
|
sans-serif` }, static: { value: `'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
|
|
8065
8085
|
'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif` } } };
|
|
8066
|
-
|
|
8067
|
-
var
|
|
8068
|
-
|
|
8069
|
-
var
|
|
8070
|
-
|
|
8071
|
-
var
|
|
8072
|
-
|
|
8073
|
-
var
|
|
8074
|
-
|
|
8075
|
-
var
|
|
8076
|
-
|
|
8077
|
-
var
|
|
8078
|
-
|
|
8079
|
-
var
|
|
8080
|
-
|
|
8081
|
-
var
|
|
8082
|
-
|
|
8083
|
-
var
|
|
8084
|
-
|
|
8085
|
-
var
|
|
8086
|
-
|
|
8087
|
-
var
|
|
8088
|
-
var
|
|
8089
|
-
|
|
8090
|
-
var
|
|
8091
|
-
var Q = { tokens:
|
|
8092
|
-
|
|
8093
|
-
var
|
|
8094
|
-
function z(
|
|
8095
|
-
if (usesReference_1(
|
|
8096
|
-
let e =
|
|
8097
|
-
return `var(--${
|
|
8098
|
-
}
|
|
8099
|
-
return
|
|
8100
|
-
}
|
|
8101
|
-
function
|
|
8102
|
-
let { value: e } =
|
|
8086
|
+
o();
|
|
8087
|
+
var co = { 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" } };
|
|
8088
|
+
o();
|
|
8089
|
+
var mo = { 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 } };
|
|
8090
|
+
o();
|
|
8091
|
+
var vo = { small: { value: "1.25" }, medium: { value: "1.5" }, large: { value: "2" } };
|
|
8092
|
+
o();
|
|
8093
|
+
var po = { 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" } };
|
|
8094
|
+
o();
|
|
8095
|
+
var go = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
8096
|
+
o();
|
|
8097
|
+
var fo = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
8098
|
+
o();
|
|
8099
|
+
var ho = { xs: { value: "0.125rem" }, small: { value: "0.25rem" }, medium: { value: "0.5rem" }, large: { value: "1rem" }, xl: { value: "2rem" }, xxl: { value: "4rem" }, xxxl: { value: "8rem" } };
|
|
8100
|
+
o();
|
|
8101
|
+
var bo = { 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}" } } };
|
|
8102
|
+
o();
|
|
8103
|
+
var So = { 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%" } } };
|
|
8104
|
+
o();
|
|
8105
|
+
var yo = { short: { value: "100ms" }, medium: { value: "250ms" }, long: { value: "500ms" } };
|
|
8106
|
+
o();
|
|
8107
|
+
var Co = { slideX: { small: { value: "translateX(0.5em)" }, medium: { value: "translateX(1em)" }, large: { value: "translateX(2em)" } } };
|
|
8108
|
+
var Hr = { components: Lr(), borderWidths: so, colors: lo, fonts: uo, fontSizes: co, fontWeights: mo, lineHeights: vo, opacities: po, outlineOffsets: go, outlineWidths: fo, radii: ho, shadows: bo, space: So, time: yo, transforms: Co };
|
|
8109
|
+
o();
|
|
8110
|
+
var qr = { values: { base: 0, small: 480, medium: 768, large: 992, xl: 1280, xxl: 1536 }, defaultBreakpoint: "base" };
|
|
8111
|
+
var Q = { tokens: Hr, breakpoints: qr, name: "default-theme" };
|
|
8112
|
+
o();
|
|
8113
|
+
var ya = "amplify";
|
|
8114
|
+
function z(r) {
|
|
8115
|
+
if (usesReference_1(r)) {
|
|
8116
|
+
let e = r.replace(/\{|\}/g, "").replace(".value", "").split(".");
|
|
8117
|
+
return `var(--${ge({ path: e })})`;
|
|
8118
|
+
}
|
|
8119
|
+
return r;
|
|
8120
|
+
}
|
|
8121
|
+
function jr(r) {
|
|
8122
|
+
let { value: e } = r;
|
|
8103
8123
|
if (typeof e == "string")
|
|
8104
8124
|
return z(e);
|
|
8105
8125
|
if (typeof e == "object" && "offsetX" in e) {
|
|
@@ -8108,29 +8128,29 @@ function Br(o) {
|
|
|
8108
8128
|
}
|
|
8109
8129
|
return e;
|
|
8110
8130
|
}
|
|
8111
|
-
function
|
|
8112
|
-
return `${kebabCase_1([
|
|
8131
|
+
function ge({ path: r = [] }) {
|
|
8132
|
+
return `${kebabCase_1([ya, ...r].join(" "))}`;
|
|
8113
8133
|
}
|
|
8114
|
-
function
|
|
8115
|
-
let a = `--${
|
|
8116
|
-
return { name: a, path: e, value:
|
|
8134
|
+
function ka(r, e) {
|
|
8135
|
+
let a = `--${ge({ path: e })}`, { value: t } = r;
|
|
8136
|
+
return { name: a, path: e, value: jr(r), original: t, toString: () => `var(${a})` };
|
|
8117
8137
|
}
|
|
8118
|
-
function
|
|
8138
|
+
function fe(r, e = []) {
|
|
8119
8139
|
let a = {};
|
|
8120
|
-
if (
|
|
8121
|
-
return
|
|
8122
|
-
for (let t in
|
|
8123
|
-
|
|
8140
|
+
if (r.hasOwnProperty("value"))
|
|
8141
|
+
return ka(r, e);
|
|
8142
|
+
for (let t in r)
|
|
8143
|
+
r.hasOwnProperty(t) && (a[t] = fe(r[t], e.concat(t)));
|
|
8124
8144
|
return a;
|
|
8125
8145
|
}
|
|
8126
|
-
function
|
|
8127
|
-
let a = deepExtend_1([{}, e,
|
|
8146
|
+
function Yr(r, e = Q) {
|
|
8147
|
+
let a = deepExtend_1([{}, e, r]), t = fe(a.tokens), { breakpoints: s, name: l } = a, u = `[data-amplify-theme="${l}"] {
|
|
8128
8148
|
` + flattenProperties_1(t).map((d) => `${d.name}: ${d.value};`).join(`
|
|
8129
8149
|
`) + `
|
|
8130
8150
|
}
|
|
8131
8151
|
`, v = [];
|
|
8132
8152
|
return a.overrides && (v = a.overrides.map((d) => {
|
|
8133
|
-
let f =
|
|
8153
|
+
let f = fe(d.tokens), g = flattenProperties_1(f).map((h2) => `${h2.name}: ${h2.value};`).join(`
|
|
8134
8154
|
`);
|
|
8135
8155
|
return "selector" in d && (u += `
|
|
8136
8156
|
${d.selector} {
|
|
@@ -8161,9 +8181,9 @@ ${g}
|
|
|
8161
8181
|
`), C(m({}, d), { tokens: f });
|
|
8162
8182
|
})), { tokens: t, breakpoints: s, name: l, cssText: u, overrides: v };
|
|
8163
8183
|
}
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8184
|
+
o();
|
|
8185
|
+
o();
|
|
8186
|
+
Yr({ name: "default-theme" }, Q);
|
|
8167
8187
|
const useAliases = (login_mechanisms) => (login_mechanisms == null ? void 0 : login_mechanisms.length) === 1 && login_mechanisms[0] === "username" ? [...j] : login_mechanisms;
|
|
8168
8188
|
const facade = {
|
|
8169
8189
|
error: "",
|
|
@@ -8202,8 +8222,8 @@ const propsCreator = (name, show, formOverrides, labelHiddenDefault = false) =>
|
|
|
8202
8222
|
return {
|
|
8203
8223
|
labelHidden: (_a2 = fo2 == null ? void 0 : fo2.labelHidden) != null ? _a2 : labelHiddenDefault,
|
|
8204
8224
|
required: (_b = fo2 == null ? void 0 : fo2.required) != null ? _b : true,
|
|
8205
|
-
label: (_c = fo2 == null ? void 0 : fo2.label) != null ? _c :
|
|
8206
|
-
placeholder: (_d = fo2 == null ? void 0 : fo2.placeholder) != null ? _d :
|
|
8225
|
+
label: (_c = fo2 == null ? void 0 : fo2.label) != null ? _c : $t(show),
|
|
8226
|
+
placeholder: (_d = fo2 == null ? void 0 : fo2.placeholder) != null ? _d : $t(show)
|
|
8207
8227
|
};
|
|
8208
8228
|
};
|
|
8209
8229
|
const _sfc_main$s = {};
|
|
@@ -8259,8 +8279,8 @@ const _hoisted_8$2 = [
|
|
|
8259
8279
|
function setup(__props) {
|
|
8260
8280
|
var _a2;
|
|
8261
8281
|
const props = __props;
|
|
8262
|
-
const showPassword =
|
|
8263
|
-
const hidePassword =
|
|
8282
|
+
const showPassword = $t("Show password");
|
|
8283
|
+
const hidePassword = $t("Hide password");
|
|
8264
8284
|
const showHideType = ref("password");
|
|
8265
8285
|
const showHideLabel = ref(showPassword);
|
|
8266
8286
|
const random = Math.floor(Math.random() * 999999);
|
|
@@ -8270,8 +8290,8 @@ function setup(__props) {
|
|
|
8270
8290
|
showHideLabel.value = showHideLabel.value === showPassword ? hidePassword : showPassword;
|
|
8271
8291
|
showHideType.value = showHideType.value === "password" ? "text" : "password";
|
|
8272
8292
|
}
|
|
8273
|
-
const placeholderValue =
|
|
8274
|
-
const labelValue =
|
|
8293
|
+
const placeholderValue = $t((_a2 = placeholder == null ? void 0 : placeholder.value) != null ? _a2 : label.value);
|
|
8294
|
+
const labelValue = $t(label.value);
|
|
8275
8295
|
return (_ctx, _cache) => {
|
|
8276
8296
|
const _component_base_label = __unplugin_components_0;
|
|
8277
8297
|
const _component_base_input = _sfc_main$r;
|
|
@@ -8496,7 +8516,7 @@ function createValues() {
|
|
|
8496
8516
|
if (!service.value)
|
|
8497
8517
|
return;
|
|
8498
8518
|
const { state, send: send2 } = useAuth();
|
|
8499
|
-
const facadeValues =
|
|
8519
|
+
const facadeValues = tt({ send: send2, state: state.value });
|
|
8500
8520
|
for (const key of Object.keys(facade)) {
|
|
8501
8521
|
useAuthenticatorValue[key] = facadeValues[key];
|
|
8502
8522
|
}
|
|
@@ -8530,25 +8550,25 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
8530
8550
|
const { userNameAlias, userName, disabled, placeholder, required, label, dialCode, dialCodeList } = __props;
|
|
8531
8551
|
const { state } = useAuth();
|
|
8532
8552
|
const { value: { context } } = state;
|
|
8533
|
-
const actorContext = computed(() =>
|
|
8553
|
+
const actorContext = computed(() => oa(state.value));
|
|
8534
8554
|
const defaultDialCode = dialCode != null ? dialCode : actorContext.value.country_code;
|
|
8535
8555
|
let uName = ref("");
|
|
8536
8556
|
if (userName) {
|
|
8537
8557
|
uName = computed(() => userName);
|
|
8538
8558
|
}
|
|
8539
|
-
const dialCodes = computed(() => dialCodeList != null ? dialCodeList :
|
|
8559
|
+
const dialCodes = computed(() => dialCodeList != null ? dialCodeList : gt);
|
|
8540
8560
|
const [primaryAlias] = useAliases((_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.loginMechanisms);
|
|
8541
8561
|
let name = primaryAlias;
|
|
8542
8562
|
let labelValue = (_c = (_b = G[primaryAlias]) == null ? void 0 : _b.label) != null ? _c : G["username"].label;
|
|
8543
8563
|
let type = (_e2 = (_d = G[name]) == null ? void 0 : _d.type) != null ? _e2 : G["username"].label;
|
|
8544
8564
|
if (userNameAlias) {
|
|
8545
|
-
const aliasInfo =
|
|
8565
|
+
const aliasInfo = rt(context);
|
|
8546
8566
|
labelValue = aliasInfo.label || G["username"].label;
|
|
8547
8567
|
type = aliasInfo.type;
|
|
8548
8568
|
name = "username";
|
|
8549
8569
|
}
|
|
8550
|
-
const placeholderValue =
|
|
8551
|
-
labelValue =
|
|
8570
|
+
const placeholderValue = $t(placeholder != null ? placeholder : labelValue);
|
|
8571
|
+
labelValue = $t(label != null ? label : labelValue);
|
|
8552
8572
|
return (_ctx, _cache) => {
|
|
8553
8573
|
const _component_base_label = __unplugin_components_0;
|
|
8554
8574
|
const _component_base_select = _sfc_main$p;
|
|
@@ -8757,11 +8777,11 @@ const _hoisted_8$1 = {
|
|
|
8757
8777
|
class: "amplify-text",
|
|
8758
8778
|
style: { "align-self": "center" }
|
|
8759
8779
|
};
|
|
8760
|
-
const _hoisted_9$1 = /* @__PURE__ */ createElementVNode("
|
|
8761
|
-
|
|
8762
|
-
class: "amplify-divider",
|
|
8780
|
+
const _hoisted_9$1 = /* @__PURE__ */ createElementVNode("hr", {
|
|
8781
|
+
class: "amplify-divider amplify-divider--label",
|
|
8763
8782
|
"aria-orientation": "horizontal",
|
|
8764
|
-
"data-size": "small"
|
|
8783
|
+
"data-size": "small",
|
|
8784
|
+
"data-label": "or"
|
|
8765
8785
|
}, null, -1);
|
|
8766
8786
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
8767
8787
|
setup(__props) {
|
|
@@ -8777,11 +8797,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8777
8797
|
const includeGoogle = socialProviders == null ? void 0 : socialProviders.includes("google");
|
|
8778
8798
|
const shouldShowFederatedSignIn = includeFacebook || includeGoogle || includeAmazon || includeApple;
|
|
8779
8799
|
const federatedText = route === "signUp" ? "Up" : "In";
|
|
8780
|
-
const fp = computed(() =>
|
|
8781
|
-
const signInWithAmazon = computed(() =>
|
|
8782
|
-
const signInWithApple = computed(() =>
|
|
8783
|
-
const signInWithFacebook = computed(() =>
|
|
8784
|
-
const signInWithGoogle = computed(() =>
|
|
8800
|
+
const fp = computed(() => ea);
|
|
8801
|
+
const signInWithAmazon = computed(() => $t(`Sign ${federatedText} with Amazon`));
|
|
8802
|
+
const signInWithApple = computed(() => $t(`Sign ${federatedText} with Apple`));
|
|
8803
|
+
const signInWithFacebook = computed(() => $t(`Sign ${federatedText} with Facebook`));
|
|
8804
|
+
const signInWithGoogle = computed(() => $t(`Sign ${federatedText} with Google`));
|
|
8785
8805
|
return (_ctx, _cache) => {
|
|
8786
8806
|
const _component_base_wrapper = __unplugin_components_2;
|
|
8787
8807
|
return unref(shouldShowFederatedSignIn) ? (openBlock(), createBlock(_component_base_wrapper, {
|
|
@@ -8830,16 +8850,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
8830
8850
|
]),
|
|
8831
8851
|
_: 1
|
|
8832
8852
|
}, 8, ["provider"])) : createCommentVNode("", true),
|
|
8833
|
-
|
|
8834
|
-
class: "amplify-flex",
|
|
8835
|
-
"data-or-container": ""
|
|
8836
|
-
}, {
|
|
8837
|
-
default: withCtx(() => [
|
|
8838
|
-
_hoisted_9$1,
|
|
8839
|
-
_hoisted_10
|
|
8840
|
-
]),
|
|
8841
|
-
_: 1
|
|
8842
|
-
})
|
|
8853
|
+
_hoisted_9$1
|
|
8843
8854
|
]),
|
|
8844
8855
|
_: 1
|
|
8845
8856
|
})) : createCommentVNode("", true);
|
|
@@ -8858,10 +8869,10 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
8858
8869
|
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
8859
8870
|
const props = useAuthShared();
|
|
8860
8871
|
const attrs = useAttrs();
|
|
8861
|
-
const passwordLabel = computed(() =>
|
|
8862
|
-
const forgotYourPasswordLink = computed(() => !
|
|
8863
|
-
const signInButtonText = computed(() =>
|
|
8864
|
-
const signIngButtonText = computed(() =>
|
|
8872
|
+
const passwordLabel = computed(() => $t("Password"));
|
|
8873
|
+
const forgotYourPasswordLink = computed(() => !Xt("Forgot your password? ") ? $t("Forgot your password?") : $t("Forgot your password? "));
|
|
8874
|
+
const signInButtonText = computed(() => $t("Sign in"));
|
|
8875
|
+
const signIngButtonText = computed(() => $t("Signing in"));
|
|
8865
8876
|
const { state, send: send2 } = useAuth();
|
|
8866
8877
|
const actorState = computed(() => J(state.value));
|
|
8867
8878
|
const { value: { context } } = state;
|
|
@@ -8886,7 +8897,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
8886
8897
|
}
|
|
8887
8898
|
};
|
|
8888
8899
|
const submit = (e) => {
|
|
8889
|
-
props.submitForm(
|
|
8900
|
+
props.submitForm(ut(e));
|
|
8890
8901
|
};
|
|
8891
8902
|
const onForgotPasswordClicked = () => {
|
|
8892
8903
|
if (attrs == null ? void 0 : attrs.onForgotPasswordClicked) {
|
|
@@ -8959,7 +8970,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
8959
8970
|
}, 8, ["disabled"]),
|
|
8960
8971
|
unref(actorState).context.remoteError ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
8961
8972
|
default: withCtx(() => [
|
|
8962
|
-
createTextVNode(toDisplayString(unref(
|
|
8973
|
+
createTextVNode(toDisplayString(unref($t)(unref(actorState).context.remoteError)), 1)
|
|
8963
8974
|
]),
|
|
8964
8975
|
_: 1
|
|
8965
8976
|
})) : createCommentVNode("", true),
|
|
@@ -9039,9 +9050,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
9039
9050
|
const randomPhone = Math.floor(Math.random() * 999999);
|
|
9040
9051
|
const { state, send: send2 } = useAuth();
|
|
9041
9052
|
const inputAttributes = computed(() => G);
|
|
9042
|
-
const actorContext = computed(() =>
|
|
9053
|
+
const actorContext = computed(() => oa(state.value));
|
|
9043
9054
|
const defaultDialCode = dialCode != null ? dialCode : actorContext.value.country_code;
|
|
9044
|
-
const dialCodes = computed(() => dialCodeList != null ? dialCodeList :
|
|
9055
|
+
const dialCodes = computed(() => dialCodeList != null ? dialCodeList : gt);
|
|
9045
9056
|
onMounted(() => {
|
|
9046
9057
|
var _a2;
|
|
9047
9058
|
if (((_a2 = inputAttributes.value[name]) == null ? void 0 : _a2.type) === "tel") {
|
|
@@ -9165,8 +9176,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9165
9176
|
const { validationErrors } = toRefs(useAuthShared());
|
|
9166
9177
|
const props = useAuthShared();
|
|
9167
9178
|
const inputAttributes = computed(() => G);
|
|
9168
|
-
const passwordLabel = computed(() =>
|
|
9169
|
-
const confirmPasswordLabel = computed(() =>
|
|
9179
|
+
const passwordLabel = computed(() => $t("Password"));
|
|
9180
|
+
const confirmPasswordLabel = computed(() => $t("Confirm Password"));
|
|
9170
9181
|
let fieldNames;
|
|
9171
9182
|
let loginMechanisms = (_c = context.config) == null ? void 0 : _c.loginMechanisms;
|
|
9172
9183
|
let signUpAttributes = (_d = context.config) == null ? void 0 : _d.signUpAttributes;
|
|
@@ -9190,10 +9201,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9190
9201
|
"confirm_password"
|
|
9191
9202
|
];
|
|
9192
9203
|
const fieldNamesCombined = [...common, ...fieldNames];
|
|
9193
|
-
const order =
|
|
9204
|
+
const order = dt(formOverrides, fieldNamesCombined);
|
|
9194
9205
|
return (_ctx, _cache) => {
|
|
9195
9206
|
return openBlock(true), createElementBlock(Fragment, null, renderList(unref(order), (field, idx) => {
|
|
9196
|
-
var _a3, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n,
|
|
9207
|
+
var _a3, _b2, _c2, _d2, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o2, _p, _q, _r2, _s, _t;
|
|
9197
9208
|
return openBlock(), createElementBlock(Fragment, { key: idx }, [
|
|
9198
9209
|
field === unref(loginMechanism) ? (openBlock(), createBlock(_sfc_main$o, {
|
|
9199
9210
|
key: 0,
|
|
@@ -9217,15 +9228,15 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
9217
9228
|
ariainvalid: !!unref(validationErrors).confirm_password,
|
|
9218
9229
|
onBlur
|
|
9219
9230
|
}), null, 16, ["ariainvalid"]),
|
|
9220
|
-
!!unref(validationErrors).confirm_password ? (openBlock(), createElementBlock("p", _hoisted_1$4, toDisplayString(unref(
|
|
9231
|
+
!!unref(validationErrors).confirm_password ? (openBlock(), createElementBlock("p", _hoisted_1$4, toDisplayString(unref($t)(unref(validationErrors).confirm_password)), 1)) : createCommentVNode("", true)
|
|
9221
9232
|
], 64)) : (openBlock(), createBlock(_sfc_main$k, {
|
|
9222
9233
|
key: 3,
|
|
9223
|
-
label: unref(
|
|
9234
|
+
label: unref($t)((_i = (_h = (_g = unref(formOverrides)) == null ? void 0 : _g[field]) == null ? void 0 : _h.label) != null ? _i : unref(inputAttributes)[field].label),
|
|
9224
9235
|
"label-hidden": (_k = (_j = unref(formOverrides)) == null ? void 0 : _j[field]) == null ? void 0 : _k.labelHidden,
|
|
9225
9236
|
required: (_m = (_l = unref(formOverrides)) == null ? void 0 : _l[field]) == null ? void 0 : _m.required,
|
|
9226
9237
|
name: field,
|
|
9227
|
-
placeholder: unref(
|
|
9228
|
-
dialCode: (
|
|
9238
|
+
placeholder: unref($t)((_p = (_o2 = (_n = unref(formOverrides)) == null ? void 0 : _n[field]) == null ? void 0 : _o2.placeholder) != null ? _p : unref(inputAttributes)[field].label),
|
|
9239
|
+
dialCode: (_r2 = (_q = unref(formOverrides)) == null ? void 0 : _q[field]) == null ? void 0 : _r2.dialCode,
|
|
9229
9240
|
dialCodeList: (_t = (_s = unref(formOverrides)) == null ? void 0 : _s[field]) == null ? void 0 : _t.dialCodeList
|
|
9230
9241
|
}, null, 8, ["label", "label-hidden", "required", "name", "placeholder", "dialCode", "dialCodeList"]))
|
|
9231
9242
|
], 64);
|
|
@@ -9241,7 +9252,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9241
9252
|
const props = useAuthShared();
|
|
9242
9253
|
const { hasValidationErrors, isPending, error: error2 } = toRefs(facadeValues);
|
|
9243
9254
|
const attrs = useAttrs();
|
|
9244
|
-
const createAccountLabel = computed(() =>
|
|
9255
|
+
const createAccountLabel = computed(() => $t("Create Account"));
|
|
9245
9256
|
const onInput = (e) => {
|
|
9246
9257
|
let { checked, name, type, value } = e.target;
|
|
9247
9258
|
if (type === "checkbox" && !checked)
|
|
@@ -9256,7 +9267,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9256
9267
|
}
|
|
9257
9268
|
};
|
|
9258
9269
|
const submit = (e) => {
|
|
9259
|
-
props.submitForm(
|
|
9270
|
+
props.submitForm(ut(e));
|
|
9260
9271
|
};
|
|
9261
9272
|
return (_ctx, _cache) => {
|
|
9262
9273
|
const _component_base_field_set = _sfc_main$y;
|
|
@@ -9295,7 +9306,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
9295
9306
|
}, 8, ["disabled"]),
|
|
9296
9307
|
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
9297
9308
|
default: withCtx(() => [
|
|
9298
|
-
createTextVNode(toDisplayString(unref(
|
|
9309
|
+
createTextVNode(toDisplayString(unref($t)(unref(error2))), 1)
|
|
9299
9310
|
]),
|
|
9300
9311
|
_: 1
|
|
9301
9312
|
})) : createCommentVNode("", true),
|
|
@@ -9435,19 +9446,19 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9435
9446
|
const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmSignUp;
|
|
9436
9447
|
const confirmSignUpHeading = computed(() => {
|
|
9437
9448
|
var _a3, _b2;
|
|
9438
|
-
return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ?
|
|
9449
|
+
return ((_a3 = codeDeliveryDetails.value) == null ? void 0 : _a3.DeliveryMedium) === "EMAIL" ? $t("We Emailed You") : ((_b2 = codeDeliveryDetails.value) == null ? void 0 : _b2.DeliveryMedium) === "SMS" ? $t("We Texted You") : $t("We Sent A Code");
|
|
9439
9450
|
});
|
|
9440
|
-
const enterCode = computed(() =>
|
|
9441
|
-
const confirmationCodeText = computed(() =>
|
|
9442
|
-
const resendCodeText = computed(() =>
|
|
9443
|
-
const confirmText = computed(() =>
|
|
9444
|
-
const emailMessage =
|
|
9445
|
-
const textedMessage =
|
|
9446
|
-
const defaultMessage =
|
|
9447
|
-
const minutesMessage =
|
|
9451
|
+
const enterCode = computed(() => $t("Enter your code"));
|
|
9452
|
+
const confirmationCodeText = computed(() => $t("Confirmation Code"));
|
|
9453
|
+
const resendCodeText = computed(() => $t("Resend Code"));
|
|
9454
|
+
const confirmText = computed(() => $t("Confirm"));
|
|
9455
|
+
const emailMessage = $t("Your code is on the way. To log in, enter the code we emailed to");
|
|
9456
|
+
const textedMessage = $t("Your code is on the way. To log in, enter the code we texted to");
|
|
9457
|
+
const defaultMessage = $t("Your code is on the way. To log in, enter the code we sent you. It may take a minute to arrive.");
|
|
9458
|
+
const minutesMessage = $t("It may take a minute to arrive.");
|
|
9448
9459
|
const subtitleText = computed(() => {
|
|
9449
9460
|
var _a3, _b2, _c2, _d;
|
|
9450
|
-
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}` :
|
|
9461
|
+
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}` : $t(`${defaultMessage}`);
|
|
9451
9462
|
});
|
|
9452
9463
|
const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
|
|
9453
9464
|
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText;
|
|
@@ -9464,7 +9475,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9464
9475
|
}
|
|
9465
9476
|
};
|
|
9466
9477
|
const submit = (e) => {
|
|
9467
|
-
submitForm(
|
|
9478
|
+
submitForm(ut(e));
|
|
9468
9479
|
};
|
|
9469
9480
|
const onLostCodeClicked = () => {
|
|
9470
9481
|
if (attrs == null ? void 0 : attrs.onLostCodeClicked) {
|
|
@@ -9568,7 +9579,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9568
9579
|
default: withCtx(() => [
|
|
9569
9580
|
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
9570
9581
|
default: withCtx(() => [
|
|
9571
|
-
createTextVNode(toDisplayString(unref(
|
|
9582
|
+
createTextVNode(toDisplayString(unref($t)(unref(error2))), 1)
|
|
9572
9583
|
]),
|
|
9573
9584
|
_: 1
|
|
9574
9585
|
})) : createCommentVNode("", true),
|
|
@@ -9633,14 +9644,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9633
9644
|
const actorState = computed(() => J(state.value));
|
|
9634
9645
|
const challengeName = actorState.value.context.challengeName;
|
|
9635
9646
|
let mfaType = "SMS";
|
|
9636
|
-
if (challengeName ===
|
|
9647
|
+
if (challengeName === k.SOFTWARE_TOKEN_MFA) {
|
|
9637
9648
|
mfaType = "TOTP";
|
|
9638
9649
|
}
|
|
9639
9650
|
const confirmSignInHeading = `Confirm ${mfaType} Code`;
|
|
9640
|
-
const backSignInText = computed(() =>
|
|
9641
|
-
const confirmText = computed(() =>
|
|
9642
|
-
const codeText = computed(() =>
|
|
9643
|
-
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c :
|
|
9651
|
+
const backSignInText = computed(() => $t("Back to Sign In"));
|
|
9652
|
+
const confirmText = computed(() => $t("Confirm"));
|
|
9653
|
+
const codeText = computed(() => $t("Code"));
|
|
9654
|
+
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : $t("Code *");
|
|
9644
9655
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
9645
9656
|
const onInput = (e) => {
|
|
9646
9657
|
const { name, value } = e.target;
|
|
@@ -9657,7 +9668,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9657
9668
|
}
|
|
9658
9669
|
};
|
|
9659
9670
|
const submit = (e) => {
|
|
9660
|
-
props.submitForm(
|
|
9671
|
+
props.submitForm(ut(e));
|
|
9661
9672
|
};
|
|
9662
9673
|
const onBackToSignInClicked = () => {
|
|
9663
9674
|
if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
|
|
@@ -9764,7 +9775,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9764
9775
|
default: withCtx(() => {
|
|
9765
9776
|
var _a4, _b3;
|
|
9766
9777
|
return [
|
|
9767
|
-
createTextVNode(toDisplayString(unref(
|
|
9778
|
+
createTextVNode(toDisplayString(unref($t)((_b3 = (_a4 = unref(actorState)) == null ? void 0 : _a4.context) == null ? void 0 : _b3.remoteError)), 1)
|
|
9768
9779
|
];
|
|
9769
9780
|
}),
|
|
9770
9781
|
_: 1
|
|
@@ -10130,8 +10141,8 @@ var maskPattern = {};
|
|
|
10130
10141
|
const modulesCount = data.data.length;
|
|
10131
10142
|
for (let i = 0; i < modulesCount; i++)
|
|
10132
10143
|
darkCount += data.data[i];
|
|
10133
|
-
const
|
|
10134
|
-
return
|
|
10144
|
+
const k2 = Math.abs(Math.ceil(darkCount * 100 / modulesCount / 5) - 10);
|
|
10145
|
+
return k2 * PenaltyScores.N4;
|
|
10135
10146
|
};
|
|
10136
10147
|
function getMaskAt(maskPattern2, i, j2) {
|
|
10137
10148
|
switch (maskPattern2) {
|
|
@@ -10541,13 +10552,13 @@ var galoisField = {};
|
|
|
10541
10552
|
const EXP_TABLE = new Uint8Array(512);
|
|
10542
10553
|
const LOG_TABLE = new Uint8Array(256);
|
|
10543
10554
|
(function initTables() {
|
|
10544
|
-
let
|
|
10555
|
+
let x = 1;
|
|
10545
10556
|
for (let i = 0; i < 255; i++) {
|
|
10546
|
-
EXP_TABLE[i] =
|
|
10547
|
-
LOG_TABLE[
|
|
10548
|
-
|
|
10549
|
-
if (
|
|
10550
|
-
|
|
10557
|
+
EXP_TABLE[i] = x;
|
|
10558
|
+
LOG_TABLE[x] = i;
|
|
10559
|
+
x <<= 1;
|
|
10560
|
+
if (x & 256) {
|
|
10561
|
+
x ^= 285;
|
|
10551
10562
|
}
|
|
10552
10563
|
}
|
|
10553
10564
|
for (let i = 255; i < 512; i++) {
|
|
@@ -10562,10 +10573,10 @@ galoisField.log = function log2(n) {
|
|
|
10562
10573
|
galoisField.exp = function exp(n) {
|
|
10563
10574
|
return EXP_TABLE[n];
|
|
10564
10575
|
};
|
|
10565
|
-
galoisField.mul = function mul(
|
|
10566
|
-
if (
|
|
10576
|
+
galoisField.mul = function mul(x, y) {
|
|
10577
|
+
if (x === 0 || y === 0)
|
|
10567
10578
|
return 0;
|
|
10568
|
-
return EXP_TABLE[LOG_TABLE[
|
|
10579
|
+
return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]];
|
|
10569
10580
|
};
|
|
10570
10581
|
(function(exports) {
|
|
10571
10582
|
const GF = galoisField;
|
|
@@ -11322,16 +11333,16 @@ function setupFinderPattern(matrix, version2) {
|
|
|
11322
11333
|
for (let i = 0; i < pos.length; i++) {
|
|
11323
11334
|
const row = pos[i][0];
|
|
11324
11335
|
const col = pos[i][1];
|
|
11325
|
-
for (let
|
|
11326
|
-
if (row +
|
|
11336
|
+
for (let r = -1; r <= 7; r++) {
|
|
11337
|
+
if (row + r <= -1 || size <= row + r)
|
|
11327
11338
|
continue;
|
|
11328
11339
|
for (let c2 = -1; c2 <= 7; c2++) {
|
|
11329
11340
|
if (col + c2 <= -1 || size <= col + c2)
|
|
11330
11341
|
continue;
|
|
11331
|
-
if (
|
|
11332
|
-
matrix.set(row +
|
|
11342
|
+
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) {
|
|
11343
|
+
matrix.set(row + r, col + c2, true, true);
|
|
11333
11344
|
} else {
|
|
11334
|
-
matrix.set(row +
|
|
11345
|
+
matrix.set(row + r, col + c2, false, true);
|
|
11335
11346
|
}
|
|
11336
11347
|
}
|
|
11337
11348
|
}
|
|
@@ -11339,10 +11350,10 @@ function setupFinderPattern(matrix, version2) {
|
|
|
11339
11350
|
}
|
|
11340
11351
|
function setupTimingPattern(matrix) {
|
|
11341
11352
|
const size = matrix.size;
|
|
11342
|
-
for (let
|
|
11343
|
-
const value =
|
|
11344
|
-
matrix.set(
|
|
11345
|
-
matrix.set(6,
|
|
11353
|
+
for (let r = 8; r < size - 8; r++) {
|
|
11354
|
+
const value = r % 2 === 0;
|
|
11355
|
+
matrix.set(r, 6, value, true);
|
|
11356
|
+
matrix.set(6, r, value, true);
|
|
11346
11357
|
}
|
|
11347
11358
|
}
|
|
11348
11359
|
function setupAlignmentPattern(matrix, version2) {
|
|
@@ -11350,12 +11361,12 @@ function setupAlignmentPattern(matrix, version2) {
|
|
|
11350
11361
|
for (let i = 0; i < pos.length; i++) {
|
|
11351
11362
|
const row = pos[i][0];
|
|
11352
11363
|
const col = pos[i][1];
|
|
11353
|
-
for (let
|
|
11364
|
+
for (let r = -2; r <= 2; r++) {
|
|
11354
11365
|
for (let c2 = -2; c2 <= 2; c2++) {
|
|
11355
|
-
if (
|
|
11356
|
-
matrix.set(row +
|
|
11366
|
+
if (r === -2 || r === 2 || c2 === -2 || c2 === 2 || r === 0 && c2 === 0) {
|
|
11367
|
+
matrix.set(row + r, col + c2, true, true);
|
|
11357
11368
|
} else {
|
|
11358
|
-
matrix.set(row +
|
|
11369
|
+
matrix.set(row + r, col + c2, false, true);
|
|
11359
11370
|
}
|
|
11360
11371
|
}
|
|
11361
11372
|
}
|
|
@@ -11477,17 +11488,17 @@ function createCodewords(bitBuffer2, version2, errorCorrectionLevel2) {
|
|
|
11477
11488
|
}
|
|
11478
11489
|
const data = new Uint8Array(totalCodewords);
|
|
11479
11490
|
let index2 = 0;
|
|
11480
|
-
let i,
|
|
11491
|
+
let i, r;
|
|
11481
11492
|
for (i = 0; i < maxDataSize; i++) {
|
|
11482
|
-
for (
|
|
11483
|
-
if (i < dcData[
|
|
11484
|
-
data[index2++] = dcData[
|
|
11493
|
+
for (r = 0; r < ecTotalBlocks; r++) {
|
|
11494
|
+
if (i < dcData[r].length) {
|
|
11495
|
+
data[index2++] = dcData[r][i];
|
|
11485
11496
|
}
|
|
11486
11497
|
}
|
|
11487
11498
|
}
|
|
11488
11499
|
for (i = 0; i < ecCount; i++) {
|
|
11489
|
-
for (
|
|
11490
|
-
data[index2++] = ecData[
|
|
11500
|
+
for (r = 0; r < ecTotalBlocks; r++) {
|
|
11501
|
+
data[index2++] = ecData[r][i];
|
|
11491
11502
|
}
|
|
11492
11503
|
}
|
|
11493
11504
|
return data;
|
|
@@ -11695,8 +11706,8 @@ function getColorAttrib(color, attrib) {
|
|
|
11695
11706
|
const str = attrib + '="' + color.hex + '"';
|
|
11696
11707
|
return alpha < 1 ? str + " " + attrib + '-opacity="' + alpha.toFixed(2).slice(1) + '"' : str;
|
|
11697
11708
|
}
|
|
11698
|
-
function svgCmd(cmd,
|
|
11699
|
-
let str = cmd +
|
|
11709
|
+
function svgCmd(cmd, x, y) {
|
|
11710
|
+
let str = cmd + x;
|
|
11700
11711
|
if (typeof y !== "undefined")
|
|
11701
11712
|
str += " " + y;
|
|
11702
11713
|
return str;
|
|
@@ -11815,13 +11826,9 @@ const _hoisted_5$1 = /* @__PURE__ */ createElementVNode("svg", {
|
|
|
11815
11826
|
width: "24",
|
|
11816
11827
|
height: "24",
|
|
11817
11828
|
viewBox: "0 0 24 24",
|
|
11818
|
-
fill: "none",
|
|
11819
11829
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11820
11830
|
}, [
|
|
11821
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
11822
|
-
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",
|
|
11823
|
-
fill: "black"
|
|
11824
|
-
})
|
|
11831
|
+
/* @__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" })
|
|
11825
11832
|
], -1);
|
|
11826
11833
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
11827
11834
|
emits: ["confirmSetupTOTPSubmit", "backToSignInClicked"],
|
|
@@ -11841,10 +11848,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
11841
11848
|
isLoading: true
|
|
11842
11849
|
});
|
|
11843
11850
|
let secretKey = ref("");
|
|
11844
|
-
let copyTextLabel = ref(
|
|
11851
|
+
let copyTextLabel = ref($t("COPY"));
|
|
11845
11852
|
function copyText() {
|
|
11846
11853
|
navigator.clipboard.writeText(secretKey.value);
|
|
11847
|
-
copyTextLabel.value =
|
|
11854
|
+
copyTextLabel.value = $t("COPIED");
|
|
11848
11855
|
}
|
|
11849
11856
|
onMounted(async () => {
|
|
11850
11857
|
var _a3, _b2;
|
|
@@ -11865,10 +11872,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
11865
11872
|
qrCode.isLoading = false;
|
|
11866
11873
|
}
|
|
11867
11874
|
});
|
|
11868
|
-
const backSignInText = computed(() =>
|
|
11869
|
-
const confirmText = computed(() =>
|
|
11870
|
-
const codeText = computed(() =>
|
|
11871
|
-
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c :
|
|
11875
|
+
const backSignInText = computed(() => $t("Back to Sign In"));
|
|
11876
|
+
const confirmText = computed(() => $t("Confirm"));
|
|
11877
|
+
const codeText = computed(() => $t("Code"));
|
|
11878
|
+
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : $t("Code *");
|
|
11872
11879
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
11873
11880
|
const onInput = (e) => {
|
|
11874
11881
|
const { name, value } = e.target;
|
|
@@ -11885,7 +11892,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
11885
11892
|
}
|
|
11886
11893
|
};
|
|
11887
11894
|
const submit = (e) => {
|
|
11888
|
-
props.submitForm(
|
|
11895
|
+
props.submitForm(ut(e));
|
|
11889
11896
|
};
|
|
11890
11897
|
const onBackToSignInClicked = () => {
|
|
11891
11898
|
if (attrs == null ? void 0 : attrs.onBackToSignInClicked) {
|
|
@@ -12020,7 +12027,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
12020
12027
|
return [
|
|
12021
12028
|
((_a3 = unref(actorState).context) == null ? void 0 : _a3.remoteError) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
12022
12029
|
default: withCtx(() => [
|
|
12023
|
-
createTextVNode(toDisplayString(unref(
|
|
12030
|
+
createTextVNode(toDisplayString(unref($t)(unref(actorState).context.remoteError)), 1)
|
|
12024
12031
|
]),
|
|
12025
12032
|
_: 1
|
|
12026
12033
|
})) : createCommentVNode("", true),
|
|
@@ -12105,11 +12112,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
12105
12112
|
var _a3, _b2, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
12106
12113
|
return openBlock(), createBlock(_sfc_main$k, {
|
|
12107
12114
|
key: idx,
|
|
12108
|
-
label: unref(
|
|
12115
|
+
label: unref($t)((_c = (_b2 = (_a3 = unref(formOverrides)) == null ? void 0 : _a3[field]) == null ? void 0 : _b2.label) != null ? _c : unref(inputAttributes)[field].label),
|
|
12109
12116
|
"label-hidden": (_e2 = (_d = unref(formOverrides)) == null ? void 0 : _d[field]) == null ? void 0 : _e2.labelHidden,
|
|
12110
12117
|
required: (_g = (_f = unref(formOverrides)) == null ? void 0 : _f[field]) == null ? void 0 : _g.required,
|
|
12111
12118
|
name: field,
|
|
12112
|
-
placeholder: unref(
|
|
12119
|
+
placeholder: unref($t)((_j = (_i = (_h = unref(formOverrides)) == null ? void 0 : _h[field]) == null ? void 0 : _i.placeholder) != null ? _j : unref(inputAttributes)[field].label),
|
|
12113
12120
|
dialCode: (_l = (_k = unref(formOverrides)) == null ? void 0 : _k[field]) == null ? void 0 : _l.dialCode,
|
|
12114
12121
|
dialCodeList: (_n = (_m = unref(formOverrides)) == null ? void 0 : _m[field]) == null ? void 0 : _n.dialCodeList
|
|
12115
12122
|
}, null, 8, ["label", "label-hidden", "required", "name", "placeholder", "dialCode", "dialCodeList"]);
|
|
@@ -12128,12 +12135,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12128
12135
|
const useAuthShared = createSharedComposable(useAuthenticator);
|
|
12129
12136
|
const props = useAuthShared();
|
|
12130
12137
|
const actorState = computed(() => J(state.value));
|
|
12131
|
-
const actorContext = computed(() =>
|
|
12132
|
-
const changePasswordLabel = computed(() =>
|
|
12133
|
-
const changingPasswordLabel = computed(() =>
|
|
12134
|
-
const backSignInText = computed(() =>
|
|
12135
|
-
const passwordLabel = computed(() =>
|
|
12136
|
-
const confirmPasswordLabel = computed(() =>
|
|
12138
|
+
const actorContext = computed(() => oa(state.value));
|
|
12139
|
+
const changePasswordLabel = computed(() => $t("Change Password"));
|
|
12140
|
+
const changingPasswordLabel = computed(() => $t("Changing"));
|
|
12141
|
+
const backSignInText = computed(() => $t("Back to Sign In"));
|
|
12142
|
+
const passwordLabel = computed(() => $t("Password"));
|
|
12143
|
+
const confirmPasswordLabel = computed(() => $t("Confirm Password"));
|
|
12137
12144
|
const onHaveAccountClicked = () => {
|
|
12138
12145
|
if (attrs == null ? void 0 : attrs.onHaveAccountClicked) {
|
|
12139
12146
|
emit("haveAccountClicked");
|
|
@@ -12151,7 +12158,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12151
12158
|
}
|
|
12152
12159
|
};
|
|
12153
12160
|
const submit = (e) => {
|
|
12154
|
-
props.submitForm(
|
|
12161
|
+
props.submitForm(ut(e));
|
|
12155
12162
|
};
|
|
12156
12163
|
const onInput = (e) => {
|
|
12157
12164
|
const { name, value } = e.target;
|
|
@@ -12235,7 +12242,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12235
12242
|
class: "amplify-text"
|
|
12236
12243
|
}, {
|
|
12237
12244
|
default: withCtx(() => [
|
|
12238
|
-
createTextVNode(toDisplayString(unref(
|
|
12245
|
+
createTextVNode(toDisplayString(unref($t)(unref(actorContext).validationError["confirm_password"])), 1)
|
|
12239
12246
|
]),
|
|
12240
12247
|
_: 1
|
|
12241
12248
|
})) : createCommentVNode("", true),
|
|
@@ -12244,7 +12251,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
12244
12251
|
"data-ui-error": ""
|
|
12245
12252
|
}, {
|
|
12246
12253
|
default: withCtx(() => [
|
|
12247
|
-
createTextVNode(toDisplayString(unref(
|
|
12254
|
+
createTextVNode(toDisplayString(unref($t)(unref(actorState).context.remoteError)), 1)
|
|
12248
12255
|
]),
|
|
12249
12256
|
_: 1
|
|
12250
12257
|
})) : createCommentVNode("", true),
|
|
@@ -12305,12 +12312,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
12305
12312
|
const { error: error2, isPending } = toRefs(useAuthShared());
|
|
12306
12313
|
const formOverrides = (_c = (_b = (_a2 = state.context) == null ? void 0 : _a2.config) == null ? void 0 : _b.formFields) == null ? void 0 : _c.resetPassword;
|
|
12307
12314
|
const userOverrides = formOverrides == null ? void 0 : formOverrides["username"];
|
|
12308
|
-
const { label } =
|
|
12315
|
+
const { label } = rt(state.context);
|
|
12309
12316
|
const labelText = `Enter your ${label.toLowerCase()}`;
|
|
12310
|
-
const backSignInText = computed(() =>
|
|
12311
|
-
const resetPasswordHeading = computed(() =>
|
|
12312
|
-
const resetPasswordText = computed(() =>
|
|
12313
|
-
const enterUsernameText = computed(() =>
|
|
12317
|
+
const backSignInText = computed(() => $t("Back to Sign In"));
|
|
12318
|
+
const resetPasswordHeading = computed(() => $t("Reset your password"));
|
|
12319
|
+
const resetPasswordText = computed(() => $t("Send Code"));
|
|
12320
|
+
const enterUsernameText = computed(() => $t(labelText));
|
|
12314
12321
|
const labelValue = (_d = userOverrides == null ? void 0 : userOverrides.label) != null ? _d : labelText;
|
|
12315
12322
|
const labelHidden = userOverrides == null ? void 0 : userOverrides.labelHidden;
|
|
12316
12323
|
const onResetPasswordSubmit = (e) => {
|
|
@@ -12321,7 +12328,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
12321
12328
|
}
|
|
12322
12329
|
};
|
|
12323
12330
|
const submit = (e) => {
|
|
12324
|
-
submitForm(
|
|
12331
|
+
submitForm(ut(e));
|
|
12325
12332
|
};
|
|
12326
12333
|
const onInput = (e) => {
|
|
12327
12334
|
const { name, value } = e.target;
|
|
@@ -12426,7 +12433,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
12426
12433
|
default: withCtx(() => [
|
|
12427
12434
|
unref(error2) ? (openBlock(), createBlock(_component_base_alert, { key: 0 }, {
|
|
12428
12435
|
default: withCtx(() => [
|
|
12429
|
-
createTextVNode(toDisplayString(unref(
|
|
12436
|
+
createTextVNode(toDisplayString(unref($t)(unref(error2))), 1)
|
|
12430
12437
|
]),
|
|
12431
12438
|
_: 1
|
|
12432
12439
|
})) : createCommentVNode("", true),
|
|
@@ -12486,14 +12493,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12486
12493
|
const props = useAuthShared();
|
|
12487
12494
|
const attrs = useAttrs();
|
|
12488
12495
|
const actorState = computed(() => J(state.value));
|
|
12489
|
-
const actorContext = computed(() =>
|
|
12490
|
-
const resendCodeText = computed(() =>
|
|
12491
|
-
const confirmationCodeText = computed(() =>
|
|
12492
|
-
const confirmResetPasswordHeading = computed(() =>
|
|
12493
|
-
const confirmResetPasswordText = computed(() =>
|
|
12494
|
-
const codeText = computed(() =>
|
|
12495
|
-
const newPasswordLabel = computed(() =>
|
|
12496
|
-
const confirmPasswordLabel = computed(() =>
|
|
12496
|
+
const actorContext = computed(() => oa(state.value));
|
|
12497
|
+
const resendCodeText = computed(() => $t("Resend Code"));
|
|
12498
|
+
const confirmationCodeText = computed(() => $t("Confirmation Code"));
|
|
12499
|
+
const confirmResetPasswordHeading = computed(() => $t("Reset your Password"));
|
|
12500
|
+
const confirmResetPasswordText = computed(() => $t("Submit"));
|
|
12501
|
+
const codeText = computed(() => $t("Code"));
|
|
12502
|
+
const newPasswordLabel = computed(() => $t("New password"));
|
|
12503
|
+
const confirmPasswordLabel = computed(() => $t("Confirm Password"));
|
|
12497
12504
|
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText;
|
|
12498
12505
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
12499
12506
|
const onConfirmResetPasswordSubmit = (e) => {
|
|
@@ -12504,7 +12511,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12504
12511
|
}
|
|
12505
12512
|
};
|
|
12506
12513
|
const submit = (e) => {
|
|
12507
|
-
props.submitForm(
|
|
12514
|
+
props.submitForm(ut(e));
|
|
12508
12515
|
};
|
|
12509
12516
|
const onLostYourCodeClicked = () => {
|
|
12510
12517
|
send2({
|
|
@@ -12634,7 +12641,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12634
12641
|
default: withCtx(() => {
|
|
12635
12642
|
var _a4;
|
|
12636
12643
|
return [
|
|
12637
|
-
createTextVNode(toDisplayString(unref(
|
|
12644
|
+
createTextVNode(toDisplayString(unref($t)((_a4 = unref(actorContext).validationError) == null ? void 0 : _a4.confirm_password)), 1)
|
|
12638
12645
|
];
|
|
12639
12646
|
}),
|
|
12640
12647
|
_: 1
|
|
@@ -12643,7 +12650,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
12643
12650
|
default: withCtx(() => {
|
|
12644
12651
|
var _a4, _b3;
|
|
12645
12652
|
return [
|
|
12646
|
-
createTextVNode(toDisplayString(unref(
|
|
12653
|
+
createTextVNode(toDisplayString(unref($t)((_b3 = (_a4 = unref(actorState)) == null ? void 0 : _a4.context) == null ? void 0 : _b3.remoteError)), 1)
|
|
12647
12654
|
];
|
|
12648
12655
|
}),
|
|
12649
12656
|
_: 1
|
|
@@ -12705,10 +12712,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
12705
12712
|
const { state, send: send2 } = useAuth();
|
|
12706
12713
|
const actorState = computed(() => J(state.value));
|
|
12707
12714
|
const unverifiedAttributes = actorState.value.context.unverifiedAttributes;
|
|
12708
|
-
const verifyHeading = computed(() =>
|
|
12709
|
-
const skipText = computed(() =>
|
|
12710
|
-
const verifyText = computed(() =>
|
|
12711
|
-
const verifyContactText = computed(() =>
|
|
12715
|
+
const verifyHeading = computed(() => $t("Account recovery requires verified contact information"));
|
|
12716
|
+
const skipText = computed(() => $t("Skip"));
|
|
12717
|
+
const verifyText = computed(() => $t("Verify"));
|
|
12718
|
+
const verifyContactText = computed(() => $t("Verify Contact"));
|
|
12712
12719
|
const onInput = (e) => {
|
|
12713
12720
|
const { name, value } = e.target;
|
|
12714
12721
|
send2({
|
|
@@ -12724,7 +12731,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
12724
12731
|
}
|
|
12725
12732
|
};
|
|
12726
12733
|
const submit = (e) => {
|
|
12727
|
-
props.submitForm(
|
|
12734
|
+
props.submitForm(ut(e));
|
|
12728
12735
|
};
|
|
12729
12736
|
const onSkipClicked = () => {
|
|
12730
12737
|
if (attrs == null ? void 0 : attrs.onSkipClicked) {
|
|
@@ -12837,7 +12844,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
12837
12844
|
default: withCtx(() => {
|
|
12838
12845
|
var _a3;
|
|
12839
12846
|
return [
|
|
12840
|
-
createTextVNode(toDisplayString(unref(
|
|
12847
|
+
createTextVNode(toDisplayString(unref($t)((_a3 = unref(actorState)) == null ? void 0 : _a3.context.remoteError)), 1)
|
|
12841
12848
|
];
|
|
12842
12849
|
}),
|
|
12843
12850
|
_: 1
|
|
@@ -12902,12 +12909,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
12902
12909
|
const formOverrides = (_b = (_a2 = context == null ? void 0 : context.config) == null ? void 0 : _a2.formFields) == null ? void 0 : _b.confirmVerifyUser;
|
|
12903
12910
|
const confOR = formOverrides == null ? void 0 : formOverrides["confirmation_code"];
|
|
12904
12911
|
const actorState = computed(() => J(state.value));
|
|
12905
|
-
const verifyHeading = computed(() =>
|
|
12906
|
-
const skipText = computed(() =>
|
|
12907
|
-
computed(() =>
|
|
12908
|
-
const confirmationCodeText = computed(() =>
|
|
12909
|
-
const codeText = computed(() =>
|
|
12910
|
-
const submitText = computed(() =>
|
|
12912
|
+
const verifyHeading = computed(() => $t("Account recovery requires verified contact information"));
|
|
12913
|
+
const skipText = computed(() => $t("Skip"));
|
|
12914
|
+
computed(() => $t("Verify"));
|
|
12915
|
+
const confirmationCodeText = computed(() => $t("Confirmation Code"));
|
|
12916
|
+
const codeText = computed(() => $t("Code"));
|
|
12917
|
+
const submitText = computed(() => $t("Submit"));
|
|
12911
12918
|
const label = (_c = confOR == null ? void 0 : confOR.label) != null ? _c : confirmationCodeText.value;
|
|
12912
12919
|
const labelHidden = confOR == null ? void 0 : confOR.labelHidden;
|
|
12913
12920
|
const onInput = (e) => {
|
|
@@ -12925,7 +12932,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
12925
12932
|
}
|
|
12926
12933
|
};
|
|
12927
12934
|
const submit = (e) => {
|
|
12928
|
-
props.submitForm(
|
|
12935
|
+
props.submitForm(ut(e));
|
|
12929
12936
|
};
|
|
12930
12937
|
const onSkipClicked = () => {
|
|
12931
12938
|
if (attrs == null ? void 0 : attrs.onSkipClicked) {
|
|
@@ -13028,7 +13035,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
13028
13035
|
default: withCtx(() => {
|
|
13029
13036
|
var _a4;
|
|
13030
13037
|
return [
|
|
13031
|
-
createTextVNode(toDisplayString(unref(
|
|
13038
|
+
createTextVNode(toDisplayString(unref($t)((_a4 = unref(actorState)) == null ? void 0 : _a4.context.remoteError)), 1)
|
|
13032
13039
|
];
|
|
13033
13040
|
}),
|
|
13034
13041
|
_: 1
|
|
@@ -13113,13 +13120,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13113
13120
|
setup(__props, { emit }) {
|
|
13114
13121
|
const { initialState, loginMechanisms, variation, services, signUpAttributes, socialProviders, hideSignUp, formFields } = __props;
|
|
13115
13122
|
const attrs = useAttrs();
|
|
13116
|
-
const machine =
|
|
13123
|
+
const machine = qn();
|
|
13117
13124
|
const service2 = useInterpret(machine);
|
|
13118
13125
|
let unsubscribeHub;
|
|
13119
13126
|
const { state, send: send2 } = useActor(service2);
|
|
13120
13127
|
useAuth(service2);
|
|
13121
13128
|
onMounted(() => {
|
|
13122
|
-
unsubscribeHub =
|
|
13129
|
+
unsubscribeHub = nt(send2);
|
|
13123
13130
|
send2({
|
|
13124
13131
|
type: "INIT",
|
|
13125
13132
|
data: {
|
|
@@ -13147,8 +13154,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13147
13154
|
const confirmResetPasswordComponent = ref();
|
|
13148
13155
|
const verifyUserComponent = ref();
|
|
13149
13156
|
const confirmVerifyUserComponent = ref();
|
|
13150
|
-
const signInLabel = computed(() =>
|
|
13151
|
-
const createAccountLabel = computed(() =>
|
|
13157
|
+
const signInLabel = computed(() => $t("Create Account"));
|
|
13158
|
+
const createAccountLabel = computed(() => $t("Sign In"));
|
|
13152
13159
|
const onSignInSubmitI = (e) => {
|
|
13153
13160
|
var _a2;
|
|
13154
13161
|
if (attrs == null ? void 0 : attrs.onSignInSubmit) {
|
|
@@ -13223,7 +13230,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
13223
13230
|
const user = ref(null);
|
|
13224
13231
|
const signOut = ref();
|
|
13225
13232
|
watch(() => state.value.context, () => {
|
|
13226
|
-
const { user: u, signOut: s } =
|
|
13233
|
+
const { user: u, signOut: s } = tt({
|
|
13227
13234
|
send: send2,
|
|
13228
13235
|
state: state.value
|
|
13229
13236
|
});
|
|
@@ -13654,4 +13661,4 @@ var index = {
|
|
|
13654
13661
|
app.component("AuthenticatorForceNewPasswordFormFields", _sfc_main$9);
|
|
13655
13662
|
}
|
|
13656
13663
|
};
|
|
13657
|
-
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,
|
|
13664
|
+
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, Zt as translations, useAuthenticator };
|