@aws-amplify/ui-vue 2.0.2 → 2.0.3
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/authenticator-sign-up-form-fields.vue.d.ts.map +1 -1
- package/dist/components/confirm-reset-password.vue.d.ts.map +1 -1
- package/dist/components/force-new-password.vue.d.ts.map +1 -1
- package/dist/components/password-control.vue.d.ts.map +1 -1
- package/dist/composables/useUtils.d.ts +1 -0
- package/dist/composables/useUtils.d.ts.map +1 -1
- package/dist/index.cjs +28 -28
- package/dist/index.js +505 -465
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -560,9 +560,9 @@ function __rest$1(s, e2) {
|
|
|
560
560
|
return t;
|
|
561
561
|
}
|
|
562
562
|
function __values(o) {
|
|
563
|
-
var s = typeof Symbol === "function" && Symbol.iterator,
|
|
564
|
-
if (
|
|
565
|
-
return
|
|
563
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
564
|
+
if (m)
|
|
565
|
+
return m.call(o);
|
|
566
566
|
if (o && typeof o.length === "number")
|
|
567
567
|
return {
|
|
568
568
|
next: function() {
|
|
@@ -574,10 +574,10 @@ function __values(o) {
|
|
|
574
574
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
575
575
|
}
|
|
576
576
|
function __read(o, n) {
|
|
577
|
-
var
|
|
578
|
-
if (!
|
|
577
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
578
|
+
if (!m)
|
|
579
579
|
return o;
|
|
580
|
-
var i =
|
|
580
|
+
var i = m.call(o), r, ar2 = [], e2;
|
|
581
581
|
try {
|
|
582
582
|
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
583
583
|
ar2.push(r.value);
|
|
@@ -585,8 +585,8 @@ function __read(o, n) {
|
|
|
585
585
|
e2 = { error: error2 };
|
|
586
586
|
} finally {
|
|
587
587
|
try {
|
|
588
|
-
if (r && !r.done && (
|
|
589
|
-
|
|
588
|
+
if (r && !r.done && (m = i["return"]))
|
|
589
|
+
m.call(i);
|
|
590
590
|
} finally {
|
|
591
591
|
if (e2)
|
|
592
592
|
throw e2.error;
|
|
@@ -1427,10 +1427,10 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1427
1427
|
try {
|
|
1428
1428
|
for (var configuration_1 = __values(configuration), configuration_1_1 = configuration_1.next(); !configuration_1_1.done; configuration_1_1 = configuration_1.next()) {
|
|
1429
1429
|
var s = configuration_1_1.value;
|
|
1430
|
-
var
|
|
1431
|
-
while (
|
|
1432
|
-
configuration.add(
|
|
1433
|
-
|
|
1430
|
+
var m = s.parent;
|
|
1431
|
+
while (m && !configuration.has(m)) {
|
|
1432
|
+
configuration.add(m);
|
|
1433
|
+
m = m.parent;
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
1436
|
} catch (e_1_1) {
|
|
@@ -1463,7 +1463,7 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1463
1463
|
} else {
|
|
1464
1464
|
if (s.type === "parallel") {
|
|
1465
1465
|
try {
|
|
1466
|
-
for (var
|
|
1466
|
+
for (var _e2 = (e_3 = void 0, __values(getChildren(s))), _f = _e2.next(); !_f.done; _f = _e2.next()) {
|
|
1467
1467
|
var child = _f.value;
|
|
1468
1468
|
if (child.type === "history") {
|
|
1469
1469
|
continue;
|
|
@@ -1487,8 +1487,8 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1487
1487
|
};
|
|
1488
1488
|
} finally {
|
|
1489
1489
|
try {
|
|
1490
|
-
if (_f && !_f.done && (_c =
|
|
1491
|
-
_c.call(
|
|
1490
|
+
if (_f && !_f.done && (_c = _e2.return))
|
|
1491
|
+
_c.call(_e2);
|
|
1492
1492
|
} finally {
|
|
1493
1493
|
if (e_3)
|
|
1494
1494
|
throw e_3.error;
|
|
@@ -1513,10 +1513,10 @@ function getConfiguration(prevStateNodes, stateNodes) {
|
|
|
1513
1513
|
try {
|
|
1514
1514
|
for (var configuration_3 = __values(configuration), configuration_3_1 = configuration_3.next(); !configuration_3_1.done; configuration_3_1 = configuration_3.next()) {
|
|
1515
1515
|
var s = configuration_3_1.value;
|
|
1516
|
-
var
|
|
1517
|
-
while (
|
|
1518
|
-
configuration.add(
|
|
1519
|
-
|
|
1516
|
+
var m = s.parent;
|
|
1517
|
+
while (m && !configuration.has(m)) {
|
|
1518
|
+
configuration.add(m);
|
|
1519
|
+
m = m.parent;
|
|
1520
1520
|
}
|
|
1521
1521
|
}
|
|
1522
1522
|
} catch (e_4_1) {
|
|
@@ -2891,7 +2891,7 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2891
2891
|
var state = states[stateId];
|
|
2892
2892
|
if (state.states) {
|
|
2893
2893
|
try {
|
|
2894
|
-
for (var
|
|
2894
|
+
for (var _e2 = (e_8 = void 0, __values(state.events)), _f = _e2.next(); !_f.done; _f = _e2.next()) {
|
|
2895
2895
|
var event_1 = _f.value;
|
|
2896
2896
|
events.add("" + event_1);
|
|
2897
2897
|
}
|
|
@@ -2901,8 +2901,8 @@ var StateNode = /* @__PURE__ */ function() {
|
|
|
2901
2901
|
};
|
|
2902
2902
|
} finally {
|
|
2903
2903
|
try {
|
|
2904
|
-
if (_f && !_f.done && (_b =
|
|
2905
|
-
_b.call(
|
|
2904
|
+
if (_f && !_f.done && (_b = _e2.return))
|
|
2905
|
+
_b.call(_e2);
|
|
2906
2906
|
} finally {
|
|
2907
2907
|
if (e_8)
|
|
2908
2908
|
throw e_8.error;
|
|
@@ -3349,7 +3349,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3349
3349
|
}
|
|
3350
3350
|
if (state.event) {
|
|
3351
3351
|
try {
|
|
3352
|
-
for (var
|
|
3352
|
+
for (var _e2 = __values(this.eventListeners), _f = _e2.next(); !_f.done; _f = _e2.next()) {
|
|
3353
3353
|
var listener = _f.value;
|
|
3354
3354
|
listener(state.event);
|
|
3355
3355
|
}
|
|
@@ -3359,8 +3359,8 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3359
3359
|
};
|
|
3360
3360
|
} finally {
|
|
3361
3361
|
try {
|
|
3362
|
-
if (_f && !_f.done && (_a =
|
|
3363
|
-
_a.call(
|
|
3362
|
+
if (_f && !_f.done && (_a = _e2.return))
|
|
3363
|
+
_a.call(_e2);
|
|
3364
3364
|
} finally {
|
|
3365
3365
|
if (e_2)
|
|
3366
3366
|
throw e_2.error;
|
|
@@ -3517,7 +3517,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3517
3517
|
return this;
|
|
3518
3518
|
};
|
|
3519
3519
|
Interpreter2.prototype.stop = function() {
|
|
3520
|
-
var e_6, _a, e_7, _b, e_8, _c, e_9, _d, e_10,
|
|
3520
|
+
var e_6, _a, e_7, _b, e_8, _c, e_9, _d, e_10, _e2;
|
|
3521
3521
|
var _this = this;
|
|
3522
3522
|
try {
|
|
3523
3523
|
for (var _f = __values(this.listeners), _g = _f.next(); !_g.done; _g = _f.next()) {
|
|
@@ -3575,8 +3575,8 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3575
3575
|
}
|
|
3576
3576
|
}
|
|
3577
3577
|
try {
|
|
3578
|
-
for (var _m = __values(this.doneListeners),
|
|
3579
|
-
var listener =
|
|
3578
|
+
for (var _m = __values(this.doneListeners), _o = _m.next(); !_o.done; _o = _m.next()) {
|
|
3579
|
+
var listener = _o.value;
|
|
3580
3580
|
this.doneListeners.delete(listener);
|
|
3581
3581
|
}
|
|
3582
3582
|
} catch (e_9_1) {
|
|
@@ -3585,7 +3585,7 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3585
3585
|
};
|
|
3586
3586
|
} finally {
|
|
3587
3587
|
try {
|
|
3588
|
-
if (
|
|
3588
|
+
if (_o && !_o.done && (_d = _m.return))
|
|
3589
3589
|
_d.call(_m);
|
|
3590
3590
|
} finally {
|
|
3591
3591
|
if (e_9)
|
|
@@ -3632,8 +3632,8 @@ var Interpreter = /* @__PURE__ */ function() {
|
|
|
3632
3632
|
};
|
|
3633
3633
|
} finally {
|
|
3634
3634
|
try {
|
|
3635
|
-
if (_q && !_q.done && (
|
|
3636
|
-
|
|
3635
|
+
if (_q && !_q.done && (_e2 = _p.return))
|
|
3636
|
+
_e2.call(_p);
|
|
3637
3637
|
} finally {
|
|
3638
3638
|
if (e_10)
|
|
3639
3639
|
throw e_10.error;
|
|
@@ -4257,9 +4257,9 @@ var _tslib$1 = {};
|
|
|
4257
4257
|
return t;
|
|
4258
4258
|
}
|
|
4259
4259
|
function __values2(o) {
|
|
4260
|
-
var s = typeof Symbol === "function" && Symbol.iterator,
|
|
4261
|
-
if (
|
|
4262
|
-
return
|
|
4260
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
4261
|
+
if (m)
|
|
4262
|
+
return m.call(o);
|
|
4263
4263
|
if (o && typeof o.length === "number")
|
|
4264
4264
|
return {
|
|
4265
4265
|
next: function() {
|
|
@@ -4271,10 +4271,10 @@ var _tslib$1 = {};
|
|
|
4271
4271
|
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4272
4272
|
}
|
|
4273
4273
|
function __read2(o, n) {
|
|
4274
|
-
var
|
|
4275
|
-
if (!
|
|
4274
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
4275
|
+
if (!m)
|
|
4276
4276
|
return o;
|
|
4277
|
-
var i =
|
|
4277
|
+
var i = m.call(o), r, ar2 = [], e2;
|
|
4278
4278
|
try {
|
|
4279
4279
|
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
4280
4280
|
ar2.push(r.value);
|
|
@@ -4282,8 +4282,8 @@ var _tslib$1 = {};
|
|
|
4282
4282
|
e2 = { error: error2 };
|
|
4283
4283
|
} finally {
|
|
4284
4284
|
try {
|
|
4285
|
-
if (r && !r.done && (
|
|
4286
|
-
|
|
4285
|
+
if (r && !r.done && (m = i["return"]))
|
|
4286
|
+
m.call(i);
|
|
4287
4287
|
} finally {
|
|
4288
4288
|
if (e2)
|
|
4289
4289
|
throw e2.error;
|
|
@@ -6703,11 +6703,11 @@ function noCase$3(input, options) {
|
|
|
6703
6703
|
end--;
|
|
6704
6704
|
return result.slice(start2, end).split("\0").map(transform).join(delimiter);
|
|
6705
6705
|
}
|
|
6706
|
-
function replace$3(input,
|
|
6707
|
-
if (
|
|
6708
|
-
return input.replace(
|
|
6709
|
-
return
|
|
6710
|
-
return input2.replace(
|
|
6706
|
+
function replace$3(input, re2, value) {
|
|
6707
|
+
if (re2 instanceof RegExp)
|
|
6708
|
+
return input.replace(re2, value);
|
|
6709
|
+
return re2.reduce(function(input2, re3) {
|
|
6710
|
+
return input2.replace(re3, value);
|
|
6711
6711
|
}, input);
|
|
6712
6712
|
}
|
|
6713
6713
|
function pascalCaseTransform(input, index2) {
|
|
@@ -6762,11 +6762,11 @@ function noCase$2(input, options) {
|
|
|
6762
6762
|
end--;
|
|
6763
6763
|
return result.slice(start2, end).split("\0").map(transform).join(delimiter);
|
|
6764
6764
|
}
|
|
6765
|
-
function replace$2(input,
|
|
6766
|
-
if (
|
|
6767
|
-
return input.replace(
|
|
6768
|
-
return
|
|
6769
|
-
return input2.replace(
|
|
6765
|
+
function replace$2(input, re2, value) {
|
|
6766
|
+
if (re2 instanceof RegExp)
|
|
6767
|
+
return input.replace(re2, value);
|
|
6768
|
+
return re2.reduce(function(input2, re3) {
|
|
6769
|
+
return input2.replace(re3, value);
|
|
6770
6770
|
}, input);
|
|
6771
6771
|
}
|
|
6772
6772
|
function upperCaseFirst$1(input) {
|
|
@@ -6800,11 +6800,11 @@ function noCase$1(input, options) {
|
|
|
6800
6800
|
end--;
|
|
6801
6801
|
return result.slice(start2, end).split("\0").map(transform).join(delimiter);
|
|
6802
6802
|
}
|
|
6803
|
-
function replace$1(input,
|
|
6804
|
-
if (
|
|
6805
|
-
return input.replace(
|
|
6806
|
-
return
|
|
6807
|
-
return input2.replace(
|
|
6803
|
+
function replace$1(input, re2, value) {
|
|
6804
|
+
if (re2 instanceof RegExp)
|
|
6805
|
+
return input.replace(re2, value);
|
|
6806
|
+
return re2.reduce(function(input2, re3) {
|
|
6807
|
+
return input2.replace(re3, value);
|
|
6808
6808
|
}, input);
|
|
6809
6809
|
}
|
|
6810
6810
|
function upperCase(str) {
|
|
@@ -6835,11 +6835,11 @@ function noCase(input, options) {
|
|
|
6835
6835
|
end--;
|
|
6836
6836
|
return result.slice(start2, end).split("\0").map(transform).join(delimiter);
|
|
6837
6837
|
}
|
|
6838
|
-
function replace(input,
|
|
6839
|
-
if (
|
|
6840
|
-
return input.replace(
|
|
6841
|
-
return
|
|
6842
|
-
return input2.replace(
|
|
6838
|
+
function replace(input, re2, value) {
|
|
6839
|
+
if (re2 instanceof RegExp)
|
|
6840
|
+
return input.replace(re2, value);
|
|
6841
|
+
return re2.reduce(function(input2, re3) {
|
|
6842
|
+
return input2.replace(re3, value);
|
|
6843
6843
|
}, input);
|
|
6844
6844
|
}
|
|
6845
6845
|
function dotCase(input, options) {
|
|
@@ -7400,161 +7400,161 @@ function usesReference(value, regexOrOptions = {}) {
|
|
|
7400
7400
|
return false;
|
|
7401
7401
|
}
|
|
7402
7402
|
var usesReference_1 = usesReference;
|
|
7403
|
-
var
|
|
7404
|
-
var
|
|
7405
|
-
var
|
|
7406
|
-
var
|
|
7407
|
-
var
|
|
7403
|
+
var Er = Object.defineProperty, Dr = Object.defineProperties;
|
|
7404
|
+
var Ir = Object.getOwnPropertyDescriptors;
|
|
7405
|
+
var me = Object.getOwnPropertySymbols;
|
|
7406
|
+
var Wr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
|
|
7407
|
+
var pe = (o, r, a) => r in o ? Er(o, r, { enumerable: true, configurable: true, writable: true, value: a }) : o[r] = a, c = (o, r) => {
|
|
7408
7408
|
for (var a in r || (r = {}))
|
|
7409
|
-
|
|
7410
|
-
if (
|
|
7411
|
-
for (var a of
|
|
7412
|
-
|
|
7409
|
+
Wr.call(r, a) && pe(o, a, r[a]);
|
|
7410
|
+
if (me)
|
|
7411
|
+
for (var a of me(r))
|
|
7412
|
+
Rr.call(r, a) && pe(o, a, r[a]);
|
|
7413
7413
|
return o;
|
|
7414
|
-
}, F = (o, r) =>
|
|
7415
|
-
var
|
|
7414
|
+
}, F = (o, r) => Dr(o, Ir(r));
|
|
7415
|
+
var Pr = (o, r) => () => (o && (r = o(o = 0)), r);
|
|
7416
7416
|
var d = (o, r) => () => (r || o((r = { exports: {} }).exports, r), r.exports);
|
|
7417
|
-
var e =
|
|
7417
|
+
var e = Pr(() => {
|
|
7418
7418
|
});
|
|
7419
|
-
var
|
|
7419
|
+
var io = d((xn, no) => {
|
|
7420
7420
|
e();
|
|
7421
|
-
|
|
7421
|
+
no.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}" } } };
|
|
7422
7422
|
});
|
|
7423
|
-
var
|
|
7423
|
+
var so = d((Cn, lo) => {
|
|
7424
7424
|
e();
|
|
7425
|
-
|
|
7425
|
+
lo.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}" } } };
|
|
7426
7426
|
});
|
|
7427
|
-
var
|
|
7427
|
+
var co = d((kn, uo) => {
|
|
7428
7428
|
e();
|
|
7429
|
-
|
|
7429
|
+
uo.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.tertiary.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.tertiary.value}" }, color: { value: "{colors.font.inverse.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}" } } };
|
|
7430
7430
|
});
|
|
7431
|
-
var
|
|
7431
|
+
var mo = d((wn, vo) => {
|
|
7432
7432
|
e();
|
|
7433
|
-
|
|
7433
|
+
vo.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}" } }, 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}" } } };
|
|
7434
7434
|
});
|
|
7435
|
-
var
|
|
7435
|
+
var go = d((Tn, po) => {
|
|
7436
7436
|
e();
|
|
7437
|
-
|
|
7437
|
+
po.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}" } } } };
|
|
7438
7438
|
});
|
|
7439
|
-
var
|
|
7439
|
+
var ho = d((An, fo) => {
|
|
7440
7440
|
e();
|
|
7441
|
-
|
|
7441
|
+
fo.exports = { alignItems: { value: "flex-start" }, alignContent: { value: "center" }, flexDirection: { value: "column" }, justifyContent: { value: "center" } };
|
|
7442
7442
|
});
|
|
7443
|
-
var
|
|
7443
|
+
var yo = d((En, bo) => {
|
|
7444
7444
|
e();
|
|
7445
|
-
|
|
7445
|
+
bo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.medium.value}" }, small: { borderWidth: { value: "{borderWidths.small.value}" } }, large: { borderWidth: { value: "{borderWidths.large.value}" } }, opacity: { value: "{opacities.60.value}" } };
|
|
7446
7446
|
});
|
|
7447
|
-
var
|
|
7447
|
+
var xo = d((Dn, So) => {
|
|
7448
7448
|
e();
|
|
7449
|
-
|
|
7449
|
+
So.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)" } } };
|
|
7450
7450
|
});
|
|
7451
|
-
var
|
|
7451
|
+
var ko = d((In, Co) => {
|
|
7452
7452
|
e();
|
|
7453
|
-
|
|
7453
|
+
Co.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}" } } };
|
|
7454
7454
|
});
|
|
7455
|
-
var
|
|
7455
|
+
var To = d((Wn, wo) => {
|
|
7456
7456
|
e();
|
|
7457
|
-
|
|
7457
|
+
wo.exports = { borderStyle: { value: "solid" }, borderColor: { value: "{colors.border.primary.value}" }, borderWidth: { value: "{borderWidths.small.value}" }, borderRadius: { value: "{radii.small.value}" }, color: { value: "{colors.font.primary.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" }, fontSize: { value: "{components.field.fontSize.value}" }, lineHeight: { value: "{lineHeights.medium.value}" }, transitionDuration: { value: "{time.medium.value}" }, outlineColor: { value: "{colors.transparent.value}" }, outlineStyle: { value: "solid" }, outlineWidth: { value: "{outlineWidths.medium.value}" }, outlineOffset: { value: "{outlineOffsets.medium.value}" }, small: { fontSize: { value: "{components.field.small.fontSize.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.small.value}" }, paddingInlineEnd: { value: "{space.small.value}" } }, large: { fontSize: { value: "{components.field.large.fontSize.value}" }, paddingBlockStart: { value: "{space.xs.value}" }, paddingBlockEnd: { value: "{space.xs.value}" }, paddingInlineStart: { value: "{space.medium.value}" }, paddingInlineEnd: { value: "{space.medium.value}" } }, quiet: { borderStyle: { value: "none" }, borderBlockEnd: { value: "{borderWidths.small.value} solid {colors.border.primary.value}" }, borderInlineStart: { value: "none" }, borderInlineEnd: { value: "none" }, borderBlockStart: { value: "none" }, borderRadius: { value: "0" }, _focus: { borderBlockEndColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.focus.value}" } } }, _error: { borderBlockEndColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "1px", color: "{colors.border.error.value}" } } } } }, _focus: { borderColor: { value: "{colors.border.focus.value}" }, boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.focus.value}" } } }, _disabled: { color: { value: "{colors.font.disabled.value}" }, cursor: { value: "not-allowed" }, borderColor: { value: "{colors.transparent.value}" }, backgroundColor: { value: "{colors.background.disabled.value}" } }, _error: { borderColor: { value: "{colors.border.error.value}" }, _focus: { boxShadow: { value: { offsetX: "0px", offsetY: "0px", blurRadius: "0px", spreadRadius: "1px", color: "{colors.border.error.value}" } } } } };
|
|
7458
7458
|
});
|
|
7459
|
-
var
|
|
7459
|
+
var Eo = d((Rn, Ao) => {
|
|
7460
7460
|
e();
|
|
7461
|
-
|
|
7461
|
+
Ao.exports = { gap: { value: 0 }, vertical: { alignItems: { value: "center" } }, outer: { alignItems: { value: "center" } } };
|
|
7462
7462
|
});
|
|
7463
|
-
var
|
|
7463
|
+
var Io = d((Pn, Do) => {
|
|
7464
7464
|
e();
|
|
7465
|
-
|
|
7465
|
+
Do.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}" } } };
|
|
7466
7466
|
});
|
|
7467
|
-
var
|
|
7467
|
+
var Ro = d((Vn, Wo) => {
|
|
7468
7468
|
e();
|
|
7469
|
-
|
|
7469
|
+
Wo.exports = { gap: { value: "{space.medium.value}" }, justifyContent: { value: "normal" }, alignItems: { value: "stretch" }, alignContent: { value: "normal" }, flexWrap: { value: "nowrap" } };
|
|
7470
7470
|
});
|
|
7471
|
-
var
|
|
7471
|
+
var Vo = d((_n, Po) => {
|
|
7472
7472
|
e();
|
|
7473
|
-
|
|
7473
|
+
Po.exports = { color: { value: "{colors.font.primary.value}" }, lineHeight: { value: 1.25 }, 1: { fontSize: { value: "{fontSizes.xxxxl.value}" }, fontWeight: { value: "{fontWeights.light.value}" } }, 2: { fontSize: { value: "{fontSizes.xxxl.value}" }, fontWeight: { value: "{fontWeights.light.value}" } }, 3: { fontSize: { value: "{fontSizes.xxl.value}" }, fontWeight: { value: "{fontWeights.normal.value}" } }, 4: { fontSize: { value: "{fontSizes.xl.value}" }, fontWeight: { value: "{fontWeights.medium.value}" } }, 5: { fontSize: { value: "{fontSizes.large.value}" }, fontWeight: { value: "{fontWeights.semibold.value}" } }, 6: { fontSize: { value: "{fontSizes.medium.value}" }, fontWeight: { value: "{fontWeights.bold.value}" } } };
|
|
7474
7474
|
});
|
|
7475
|
-
var
|
|
7475
|
+
var Uo = d((Un, _o) => {
|
|
7476
7476
|
e();
|
|
7477
|
-
|
|
7477
|
+
_o.exports = { lineHeight: { value: 1 }, height: { value: "1em" } };
|
|
7478
7478
|
});
|
|
7479
|
-
var
|
|
7479
|
+
var Oo = d((Nn, No) => {
|
|
7480
7480
|
e();
|
|
7481
|
-
|
|
7481
|
+
No.exports = { maxWidth: { value: "100%" }, height: { value: "auto" }, objectFit: { value: "initial" }, objectPosition: { value: "initial" } };
|
|
7482
7482
|
});
|
|
7483
|
-
var
|
|
7483
|
+
var zo = d((On, Fo) => {
|
|
7484
7484
|
e();
|
|
7485
|
-
|
|
7485
|
+
Fo.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}" } } };
|
|
7486
7486
|
});
|
|
7487
|
-
var
|
|
7487
|
+
var Mo = d((Fn, Bo) => {
|
|
7488
7488
|
e();
|
|
7489
|
-
|
|
7489
|
+
Bo.exports = { width: { value: "{fontSizes.xxl.value}" }, height: { value: "{fontSizes.xxl.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { width: { value: "{fontSizes.medium.value}" }, height: { value: "{fontSizes.medium.value}" } }, large: { width: { value: "{fontSizes.xxxl.value}" }, height: { value: "{fontSizes.xxxl.value}" } }, linear: { width: { value: "100%" }, minWidth: { value: "5rem" }, height: { value: "{fontSizes.xxs.value}" }, strokeWidth: { value: "{fontSizes.xxs.value}" }, strokeFilled: { value: "{colors.brand.primary.80.value}" }, strokeEmpty: { value: "{colors.neutral.20.value}" }, strokeLinecap: { value: "round" }, animationDuration: { value: "1s" }, small: { height: { value: "{fontSizes.xxxs.value}" }, strokeWidth: { value: "{fontSizes.xxxs.value}" } }, large: { height: { value: "{fontSizes.xs.value}" }, strokeWidth: { value: "{fontSizes.xs.value}" } } } };
|
|
7490
7490
|
});
|
|
7491
|
-
var
|
|
7491
|
+
var Ho = d((zn, Go) => {
|
|
7492
7492
|
e();
|
|
7493
|
-
|
|
7493
|
+
Go.exports = { backgroundColor: { value: "{colors.white.value}" }, borderRadius: { value: "{radii.medium.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}" } } };
|
|
7494
7494
|
});
|
|
7495
|
-
var
|
|
7495
|
+
var jo = d((Bn, Lo) => {
|
|
7496
7496
|
e();
|
|
7497
|
-
|
|
7497
|
+
Lo.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}" } } };
|
|
7498
7498
|
});
|
|
7499
|
-
var
|
|
7499
|
+
var $o = d((Mn, qo) => {
|
|
7500
7500
|
e();
|
|
7501
|
-
|
|
7501
|
+
qo.exports = {};
|
|
7502
7502
|
});
|
|
7503
|
-
var
|
|
7503
|
+
var Ko = d((Gn, Xo) => {
|
|
7504
7504
|
e();
|
|
7505
|
-
|
|
7505
|
+
Xo.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}" } } };
|
|
7506
7506
|
});
|
|
7507
|
-
var
|
|
7507
|
+
var Zo = d((Hn, Yo) => {
|
|
7508
7508
|
e();
|
|
7509
|
-
|
|
7509
|
+
Yo.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}" } } } };
|
|
7510
7510
|
});
|
|
7511
|
-
var
|
|
7511
|
+
var Jo = d((Ln, Qo) => {
|
|
7512
7512
|
e();
|
|
7513
|
-
|
|
7513
|
+
Qo.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}" } } };
|
|
7514
7514
|
});
|
|
7515
|
-
var
|
|
7515
|
+
var or = d((jn, er) => {
|
|
7516
7516
|
e();
|
|
7517
|
-
|
|
7517
|
+
er.exports = { paddingInlineEnd: { value: "{space.xxl.value}" }, wrapper: { 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" } }, whiteSpace: { value: "nowrap" }, minWidth: { value: "6.5rem" }, small: { minWidth: { value: "5.5rem" } }, large: { minWidth: { value: "7.5rem" } } };
|
|
7518
7518
|
});
|
|
7519
|
-
var
|
|
7519
|
+
var ar = d((qn, rr) => {
|
|
7520
7520
|
e();
|
|
7521
|
-
|
|
7521
|
+
rr.exports = { flexDirection: { value: "column" } };
|
|
7522
7522
|
});
|
|
7523
|
-
var
|
|
7523
|
+
var nr = d(($n, tr) => {
|
|
7524
7524
|
e();
|
|
7525
|
-
|
|
7525
|
+
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.medium.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" } } } };
|
|
7526
7526
|
});
|
|
7527
|
-
var
|
|
7527
|
+
var lr = d((Xn, ir) => {
|
|
7528
7528
|
e();
|
|
7529
|
-
|
|
7529
|
+
ir.exports = { flexDirection: { value: "column" }, input: { textAlign: { value: "center" } } };
|
|
7530
7530
|
});
|
|
7531
|
-
var
|
|
7531
|
+
var ur = d((Kn, sr) => {
|
|
7532
7532
|
e();
|
|
7533
|
-
|
|
7533
|
+
sr.exports = { disabled: { opacity: { value: "{opacities.60.value}" } }, focused: { shadow: { value: "{shadows.small.value}" } }, label: { padding: { value: "{space.xs.value}" } }, large: { font: { size: { value: "{fontSizes.large.value}" } } }, small: { font: { size: { value: "{fontSizes.small.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}" } } };
|
|
7534
7534
|
});
|
|
7535
|
-
var
|
|
7535
|
+
var cr = d((Yn, dr) => {
|
|
7536
7536
|
e();
|
|
7537
|
-
|
|
7537
|
+
dr.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}" } } } };
|
|
7538
7538
|
});
|
|
7539
|
-
var
|
|
7539
|
+
var mr = d((Zn, vr) => {
|
|
7540
7540
|
e();
|
|
7541
|
-
|
|
7541
|
+
vr.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}" } } } };
|
|
7542
7542
|
});
|
|
7543
|
-
var
|
|
7543
|
+
var gr = d((Qn, pr) => {
|
|
7544
7544
|
e();
|
|
7545
|
-
|
|
7545
|
+
pr.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}" } } };
|
|
7546
7546
|
});
|
|
7547
|
-
var
|
|
7547
|
+
var hr = d((Jn, fr) => {
|
|
7548
7548
|
e();
|
|
7549
|
-
|
|
7549
|
+
fr.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.overlay.90.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}" } } } } };
|
|
7550
7550
|
});
|
|
7551
|
-
var
|
|
7551
|
+
var yr = d((ei, br) => {
|
|
7552
7552
|
e();
|
|
7553
|
-
|
|
7553
|
+
br.exports = { alignItems: { value: "center" }, alignContent: { value: "center" }, justifyContent: { value: "flex-start" } };
|
|
7554
7554
|
});
|
|
7555
|
-
var
|
|
7555
|
+
var xr = d((oi, Sr) => {
|
|
7556
7556
|
e();
|
|
7557
|
-
|
|
7557
|
+
Sr.exports = { alert: io(), badge: so(), button: co(), card: mo(), checkbox: go(), checkboxfield: ho(), divider: yo(), expander: xo(), field: ko(), fieldcontrol: To(), fieldgroup: Eo(), fieldmessages: Io(), flex: Ro(), heading: Vo(), icon: Uo(), image: Oo(), link: zo(), loader: Mo(), menu: Ho(), pagination: jo(), phonenumberfield: $o(), placeholder: Ko(), radio: Zo(), rating: Jo(), select: or(), selectfield: ar(), sliderfield: nr(), stepperfield: lr(), switchfield: ur(), table: cr(), tabs: mr(), text: gr(), togglebutton: hr(), togglebuttongroup: yr() };
|
|
7558
7558
|
});
|
|
7559
7559
|
e();
|
|
7560
7560
|
e();
|
|
@@ -7565,34 +7565,34 @@ var y;
|
|
|
7565
7565
|
(function(i) {
|
|
7566
7566
|
i.SMS_MFA = "SMS_MFA", i.SOFTWARE_TOKEN_MFA = "SOFTWARE_TOKEN_MFA", i.NEW_PASSWORD_REQUIRED = "NEW_PASSWORD_REQUIRED", i.RESET_REQUIRED = "RESET_REQUIRED", i.MFA_SETUP = "MFA_SETUP";
|
|
7567
7567
|
})(y || (y = {}));
|
|
7568
|
-
var
|
|
7568
|
+
var M = ["username", "email", "phone_number"];
|
|
7569
7569
|
e();
|
|
7570
|
-
var
|
|
7570
|
+
var z = { 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" } }, fe;
|
|
7571
7571
|
(function(n) {
|
|
7572
7572
|
n.Apple = "SignInWithApple", n.Amazon = "LoginWithAmazon", n.Facebook = "Facebook", n.Google = "Google";
|
|
7573
|
-
})(
|
|
7574
|
-
var
|
|
7575
|
-
var s, l, u, p,
|
|
7573
|
+
})(fe || (fe = {}));
|
|
7574
|
+
var xa = (o, r) => {
|
|
7575
|
+
var s, l, u, p, v;
|
|
7576
7576
|
let a = (s = o.config) == null ? void 0 : s.loginMechanisms, t = (u = (l = o.actorRef) == null ? void 0 : l.context) == null ? void 0 : u.validationError.username;
|
|
7577
|
-
if (
|
|
7578
|
-
return { label:
|
|
7579
|
-
let n = "text", i = a.filter((
|
|
7577
|
+
if (M.includes(r))
|
|
7578
|
+
return { label: z[r].label, type: z[r].type, error: t };
|
|
7579
|
+
let n = "text", i = a.filter((m) => includes_1(M, m)).map((m) => {
|
|
7580
7580
|
var h2, b;
|
|
7581
|
-
return (b = (h2 =
|
|
7581
|
+
return (b = (h2 = z[m]) == null ? void 0 : h2.label) != null ? b : z.username.label;
|
|
7582
7582
|
}).join(" or ");
|
|
7583
|
-
return a.length === 1 && (n = (
|
|
7584
|
-
},
|
|
7583
|
+
return a.length === 1 && (n = (v = (p = z[a[0]]) == null ? void 0 : p.type) != null ? v : "text"), { label: i, type: n, error: t };
|
|
7584
|
+
}, q = (o) => {
|
|
7585
7585
|
var r;
|
|
7586
7586
|
return (r = o.context.actorRef) == null ? void 0 : r.getSnapshot();
|
|
7587
|
-
},
|
|
7587
|
+
}, Vr = (o) => {
|
|
7588
7588
|
var r;
|
|
7589
|
-
return (r =
|
|
7590
|
-
},
|
|
7589
|
+
return (r = q(o)) == null ? void 0 : r.context;
|
|
7590
|
+
}, _r = (o) => {
|
|
7591
7591
|
let r = (a) => (t) => o({ type: a, data: t });
|
|
7592
|
-
return { resendCode: r("RESEND"), signOut: r("SIGN_OUT"), submitForm: r("SUBMIT"), updateForm: r("CHANGE"), toFederatedSignIn: r("FEDERATED_SIGN_IN"), toResetPassword: r("RESET_PASSWORD"), toSignIn: r("SIGN_IN"), toSignUp: r("SIGN_UP"), skipVerification: r("SKIP") };
|
|
7593
|
-
},
|
|
7594
|
-
var p,
|
|
7595
|
-
let r = (p = o.context) == null ? void 0 : p.user, a =
|
|
7592
|
+
return { resendCode: r("RESEND"), signOut: r("SIGN_OUT"), submitForm: r("SUBMIT"), updateForm: r("CHANGE"), updateBlur: r("BLUR"), toFederatedSignIn: r("FEDERATED_SIGN_IN"), toResetPassword: r("RESET_PASSWORD"), toSignIn: r("SIGN_IN"), toSignUp: r("SIGN_UP"), skipVerification: r("SKIP") };
|
|
7593
|
+
}, Ur = (o) => {
|
|
7594
|
+
var p, v;
|
|
7595
|
+
let r = (p = o.context) == null ? void 0 : p.user, a = q(o), t = Vr(o), n = t == null ? void 0 : t.remoteError, i = c({}, t == null ? void 0 : t.validationError), s = Object.keys(i).length > 0, l = o.hasTag("pending") || ((v = q(o)) == null ? void 0 : v.hasTag("pending")), u = (() => {
|
|
7596
7596
|
switch (true) {
|
|
7597
7597
|
case o.matches("idle"):
|
|
7598
7598
|
return "idle";
|
|
@@ -7625,90 +7625,102 @@ var ma = (o, r) => {
|
|
|
7625
7625
|
}
|
|
7626
7626
|
})();
|
|
7627
7627
|
return { error: n, hasValidationErrors: s, isPending: l, route: u, user: r, validationErrors: i };
|
|
7628
|
-
},
|
|
7629
|
-
let a =
|
|
7630
|
-
return
|
|
7628
|
+
}, ka = ({ send: o, state: r }) => {
|
|
7629
|
+
let a = _r(o), t = Ur(r);
|
|
7630
|
+
return c(c({}, a), t);
|
|
7631
7631
|
};
|
|
7632
7632
|
e();
|
|
7633
7633
|
e();
|
|
7634
7634
|
e();
|
|
7635
|
-
var
|
|
7635
|
+
var Ra = ["+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"];
|
|
7636
7636
|
e();
|
|
7637
7637
|
e();
|
|
7638
7638
|
e();
|
|
7639
7639
|
e();
|
|
7640
|
-
var
|
|
7640
|
+
var $ = { "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 a Code": "Code best\xE4tigen", "Confirm Sign In": "Anmeldung best\xE4tigen", "Confirm Sign Up": "Registrierung best\xE4tigen", "Confirmation Code": "Best\xE4tigungs-Code", "Create a new account": "Erstelle einen neuen Account", "Create account": "Hier registrieren", "Create Account": "Account erstellen", Email: "Email", "Enter your password": "Geben Sie Ihr Passwort ein", "Enter your username": "Geben Sie Ihren Benutzernamen ein", "Forgot Password": "Passwort vergessen", "Forgot your password? ": "Passwort vergessen? ", "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" };
|
|
7641
7641
|
e();
|
|
7642
|
-
var
|
|
7642
|
+
var X = { "Back to Sign In": "Back to Sign In", "Change Password": "Change Password", Changing: "Changing", Code: "Code", "Confirm Password": "Confirm Password", "Reset your Password": "Reset your Password", "Confirm Sign Up": "Confirm Sign Up", "Confirm SMS Code": "Confirm SMS Code", "Confirm TOTP Code": "Confirm TOTP Code", Confirm: "Confirm", "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", "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", "Account recovery requires verified contact information": "Account recovery requires verified contact information", Verify: "Verify" };
|
|
7643
7643
|
e();
|
|
7644
|
-
var
|
|
7644
|
+
var K = { "Account recovery requires verified contact information": "La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada", "Back to Sign In": "Iniciar sesi\xF3n", "Change Password": "Cambia la contrase\xF1a", 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 Registraci\xF3n", "Confirmation Code": "Codigo de confirmaci\xF3n", "Create a new account": "Crear una cuenta nueva", Email: "Email", "Forgot Password": "Se te olvid\xF3 la 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.
|
|
7645
7645
|
Utilice el formato de n\xFAmero de tel\xE9fono +12345678900`, "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", "Resend Code": "Mandar codigo otra vez", "Send Code": "Enviar c\xF3digo", "Sign In": "Iniciar ses\xEDon", "Sign in to your account": "Iniciar ses\xEDon", "Sign Out": "Desconectar", "Sign Up": "Reg\xEDstrase", 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 campo de usuario no puede estar vacido", Verify: "Verificar", "Verify Contact": "Verificar contacto" };
|
|
7646
7646
|
e();
|
|
7647
|
-
var
|
|
7647
|
+
var Y = { "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" };
|
|
7648
7648
|
e();
|
|
7649
|
-
var
|
|
7649
|
+
var Z = { "Account recovery requires verified contact information": "Ripristino del conto richiede un account verificati", "An account with the given email already exists.": "Un account con questa email esiste gi\xE0.", "Back to Sign In": "Torna alla Accesso", "Change Password": "Cambia la password", Code: "Codice", Confirm: "Conferma", "Confirm a Code": "Codice Conferma", "Confirm Password": "Conferma la password", "Confirm Sign In": "Conferma di applicazione", "Confirm Sign Up": "Registrazione Conferma", "Confirmation Code": "Codice di verifica", "Create a new account": "Creare un nuovo account", "Create account": "Registrati", "Create Account": "Crea account", Email: "E-mail", "Enter your password": "Inserire la password", "Enter your username": "Inserisci il tuo nome utente", "Forgot Password": "Password dimenticata", "Forgot your password? ": "Password dimenticata?", "Have an account? ": "Gi\xE0 registrato?", "Incorrect username or password": "Nome utente o password errati", "Invalid password format": "Formato della password non valido", "Invalid phone number format": "Utilizzo non valido Telefonummern formattare un numero nel formato :. 12.345.678,9 mille", "Lost your code?": "Perso codice?", "New Password": "Nuova password", or: "o", "No account? ": "Nessun account?", Password: "Password", "Password attempts exceeded": "Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto", "Phone Number": "Numero di telefono", "Resend Code": "Codice Rispedisci", "Reset password": "Ripristina password", "Reset your password": "Resetta password", "Send Code": "Invia codice", "Sign in": "Accesso", "Sign In": "Accesso", "Sign in to your account": "Accedi con il tuo account a", "Sign Out": "Esci", "Sign Up": "Iscriviti", Skip: "Salta", Submit: "Sottoscrivi", "User already exists": "Questo utente esiste gi\xE0", "User does not exist": "Questo utente non esiste", Username: "Nome utente", "Username cannot be empty": "Nome utente non pu\xF2 essere vuoto", Verify: "Verifica", "Verify Contact": "Contatto verifica" };
|
|
7650
7650
|
e();
|
|
7651
|
-
var
|
|
7651
|
+
var Q = { "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
|
|
7652
7652
|
+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" };
|
|
7653
7653
|
e();
|
|
7654
|
-
var
|
|
7654
|
+
var J = { "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" };
|
|
7655
7655
|
e();
|
|
7656
|
-
var
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7656
|
+
var ee = { "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" };
|
|
7657
|
+
e();
|
|
7658
|
+
var oe = { "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" };
|
|
7659
|
+
e();
|
|
7660
|
+
var re = { "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": "\u6539\u53D8\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" };
|
|
7661
|
+
e();
|
|
7662
|
+
var ae = { 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? ", 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" };
|
|
7663
|
+
c({}, $);
|
|
7664
|
+
c({}, X);
|
|
7665
|
+
c({}, K);
|
|
7666
|
+
c({}, Y);
|
|
7667
|
+
c({}, Z);
|
|
7668
|
+
c({}, Q);
|
|
7669
|
+
c({}, J);
|
|
7670
|
+
c({}, ee);
|
|
7671
|
+
c({}, oe);
|
|
7672
|
+
c({}, re);
|
|
7673
|
+
var Ee = c({}, ae);
|
|
7674
|
+
c({}, Ee);
|
|
7675
|
+
function lt(o) {
|
|
7667
7676
|
return I18n.get(o);
|
|
7668
7677
|
}
|
|
7669
7678
|
e();
|
|
7670
7679
|
e();
|
|
7671
7680
|
e();
|
|
7672
|
-
var
|
|
7673
|
-
} }),
|
|
7674
|
-
} }), A = assign_1({ remoteError: (o) => "" }), E = assign_1({ formValues: (o) => ({}) }),
|
|
7675
|
-
} }),
|
|
7676
|
-
} }),
|
|
7681
|
+
var B = (o) => stop_1(o), De = assign_1({ attributeToVerify: (o) => {
|
|
7682
|
+
} }), Ie = assign_1({ challengeName: (o) => {
|
|
7683
|
+
} }), A = assign_1({ remoteError: (o) => "" }), E = assign_1({ formValues: (o) => ({}) }), D = assign_1({ touched: (o) => ({}) }), We = assign_1({ unverifiedAttributes: (o) => {
|
|
7684
|
+
} }), Re = assign_1({ username: (o) => {
|
|
7685
|
+
} }), I = assign_1({ validationError: (o) => ({}) }), Pe = assign_1({ challengeName: (o, r) => {
|
|
7677
7686
|
var a;
|
|
7678
7687
|
return (a = r.data) == null ? void 0 : a.challengeName;
|
|
7679
|
-
} }),
|
|
7688
|
+
} }), Ve = assign_1({ redirectIntent: (o) => "confirmPasswordReset" }), _e = assign_1({ redirectIntent: (o) => "confirmSignUp" }), G = assign_1({ authAttributes: (o, r) => {
|
|
7680
7689
|
var i, s;
|
|
7681
7690
|
let [a] = o.loginMechanisms, t = (i = o.formValues[a]) != null ? i : o.formValues.username, n = (s = o.formValues) == null ? void 0 : s.password;
|
|
7682
7691
|
return { username: t, password: n };
|
|
7683
|
-
} }),
|
|
7692
|
+
} }), W = assign_1({ validationError: (o, r) => r.data }), R = assign_1({ remoteError: (o, r) => {
|
|
7684
7693
|
var a;
|
|
7685
7694
|
return ((a = r.data) == null ? void 0 : a.message) || r.data;
|
|
7686
|
-
} }),
|
|
7695
|
+
} }), Ue = assign_1({ unverifiedAttributes: (o, r) => r.data.unverified }), H = assign_1({ user: (o, r) => r.data.user || r.data }), Ne = assign_1({ username: (o, r) => o.formValues.username }), Oe = assign_1({ authAttributes: (o, r) => ({ username: o.formValues.username }) }), P = assign_1({ formValues: (o, r) => {
|
|
7687
7696
|
let { name: a, value: t } = r.data;
|
|
7688
|
-
return F(
|
|
7697
|
+
return F(c({}, o.formValues), { [a]: t });
|
|
7698
|
+
} }), V = assign_1({ touched: (o, r) => {
|
|
7699
|
+
let { name: a } = r.data;
|
|
7700
|
+
return F(c({}, o.touched), { [`${a}`]: true });
|
|
7689
7701
|
} });
|
|
7690
7702
|
e();
|
|
7691
7703
|
e();
|
|
7692
7704
|
e();
|
|
7693
|
-
var
|
|
7694
|
-
let
|
|
7695
|
-
return isEmpty_1(
|
|
7705
|
+
var _ = async (o, r, a) => {
|
|
7706
|
+
let t = await Promise.all(a.map((i) => i(o, r))), n = merge_1({}, ...t);
|
|
7707
|
+
return isEmpty_1(n) ? Promise.resolve() : Promise.reject(n);
|
|
7696
7708
|
};
|
|
7697
7709
|
e();
|
|
7698
|
-
var
|
|
7710
|
+
var U = { async getAmplifyConfig() {
|
|
7699
7711
|
return Amplify.configure();
|
|
7700
7712
|
}, async getCurrentUser() {
|
|
7701
7713
|
return Auth.currentAuthenticatedUser();
|
|
7702
|
-
}, async validateCustomSignUp(o) {
|
|
7703
|
-
}, async validateConfirmPassword(o) {
|
|
7704
|
-
let { password:
|
|
7705
|
-
if (!
|
|
7714
|
+
}, async validateCustomSignUp(o, r) {
|
|
7715
|
+
}, async validateConfirmPassword(o, r) {
|
|
7716
|
+
let { password: a, confirm_password: t } = o, { confirm_password: n, password: i } = r;
|
|
7717
|
+
if (!a && !t)
|
|
7706
7718
|
return null;
|
|
7707
|
-
if (
|
|
7719
|
+
if ((a || t) && a !== t && (n && i || a.length >= 6 && t.length >= 6))
|
|
7708
7720
|
return { confirm_password: "Your passwords must match" };
|
|
7709
|
-
}, async validatePreferredUsername(o) {
|
|
7721
|
+
}, async validatePreferredUsername(o, r) {
|
|
7710
7722
|
} };
|
|
7711
|
-
var
|
|
7723
|
+
var ze = createMachine({ initial: "init", id: "signInActor", states: { init: { always: [{ target: "signIn" }] }, signIn: { initial: "edit", exit: ["clearFormValues", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onError: { actions: "setRemoteError" } } }, submit: { tags: ["pending"], entry: ["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"], target: "#signInActor.forceNewPassword" }, { actions: "setUser", target: "verifying" }], onError: [{ cond: "shouldRedirectToConfirmSignUp", actions: ["setCredentials", "setConfirmSignUpIntent"], target: "rejected" }, { cond: "shouldRedirectToConfirmResetPassword", actions: ["setUsernameAuthAttributes", "setConfirmResetPasswordIntent"], target: "rejected" }, { actions: "setRemoteError", target: "edit" }] } }, verifying: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "checkVerifiedContact", onDone: [{ cond: "shouldRequestVerification", target: "#signInActor.verifyUser", actions: "setUnverifiedAttributes" }, { target: "resolved" }], onError: { actions: "setRemoteError", target: "edit" } } }, resolved: { always: "#signInActor.resolved" }, rejected: { always: "#signInActor.rejected" } } }, confirmSignIn: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmSignIn", onDone: { target: "#signInActor.resolved", actions: ["setUser", "clearChallengeName"] }, onError: { target: "edit", actions: "setRemoteError" } } } } }, forceNewPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submit: { initial: "idle", entry: "clearError", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate" } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "forceNewPassword", onDone: { target: "resolved", actions: ["setUser", "setCredentials"] }, onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signInActor.resolved" } } } } }, setupTOTP: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SIGN_IN: "#signInActor.signIn", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "verifyTotpToken", onDone: { actions: ["setUser", "clearChallengeName"], target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, verifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "verifyUser", onDone: { target: "#signInActor.confirmVerifyUser" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, confirmVerifyUser: { initial: "edit", exit: ["clearFormValues", "clearError", "clearUnverifiedAttributes", "clearAttributeToVerify", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", SKIP: "#signInActor.resolved", CHANGE: { actions: "handleInput" } } }, submit: { tags: ["pending"], entry: "clearError", invoke: { src: "confirmVerifyUser", onDone: { target: "#signInActor.resolved" }, onError: { actions: "setRemoteError", target: "edit" } } } } }, resolved: { type: "final", data: (o) => ({ user: o.user }) }, rejected: { type: "final", data: (o, r) => ({ intent: o.redirectIntent, authAttributes: o.authAttributes }) } } }, { actions: { clearAttributeToVerify: De, clearChallengeName: Ie, clearError: A, clearFormValues: E, clearTouched: D, clearUnverifiedAttributes: We, clearValidationError: I, handleInput: P, handleBlur: V, setChallengeName: Pe, setConfirmResetPasswordIntent: Ve, setConfirmSignUpIntent: _e, setCredentials: G, setFieldErrors: W, setRemoteError: R, setUnverifiedAttributes: Ue, setUser: H, setUsernameAuthAttributes: Oe }, guards: { shouldConfirmSignIn: (o, r) => {
|
|
7712
7724
|
let a = get_1(r, "data.challengeName");
|
|
7713
7725
|
return [y.SMS_MFA, y.SOFTWARE_TOKEN_MFA].includes(a);
|
|
7714
7726
|
}, shouldRedirectToConfirmSignUp: (o, r) => r.data.code === "UserNotConfirmedException", shouldRedirectToConfirmResetPassword: (o, r) => r.data.code === "PasswordResetRequiredException", shouldSetupTOTP: (o, r) => get_1(r, "data.challengeName") === y.MFA_SETUP, shouldForceChangePassword: (o, r) => get_1(r, "data.challengeName") === y.NEW_PASSWORD_REQUIRED, shouldRequestVerification: (o, r) => {
|
|
@@ -7739,12 +7751,12 @@ var Re = createMachine({ initial: "init", id: "signInActor", states: { init: { a
|
|
|
7739
7751
|
let { attributeToVerify: a } = o, { confirmation_code: t } = o.formValues;
|
|
7740
7752
|
return await Auth.verifyCurrentUserAttributeSubmit(a, t);
|
|
7741
7753
|
}, async validateFields(o, r) {
|
|
7742
|
-
return
|
|
7754
|
+
return _(o.formValues, o.touched, [U.validateConfirmPassword]);
|
|
7743
7755
|
} } });
|
|
7744
7756
|
e();
|
|
7745
|
-
var
|
|
7757
|
+
var Be = 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() } });
|
|
7746
7758
|
e();
|
|
7747
|
-
var
|
|
7759
|
+
var Ge = createMachine({ id: "resetPasswordActor", initial: "init", states: { init: { always: [{ target: "confirmResetPassword", cond: "shouldAutoConfirmReset" }, { target: "resetPassword" }] }, resetPassword: { initial: "edit", exit: ["clearFormValues", "clearError", "clearTouched"], states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "setUsername", "clearError"], invoke: { src: "resetPassword", onDone: { target: "#resetPasswordActor.confirmResetPassword" }, onError: { actions: ["setRemoteError"], target: "edit" } } } } }, confirmResetPassword: { type: "parallel", exit: ["clearFormValues", "clearError", "clearUsername", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateFields", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", RESEND: "resendCode", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateFields", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, resendCode: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "resetPassword", onDone: { target: "idle" }, onError: { actions: "setRemoteError", target: "idle" } } }, pending: { tags: ["pending"], entry: ["clearError", sendUpdate$1()], invoke: { src: "confirmResetPassword", onDone: { actions: "clearUsername", target: "#resetPasswordActor.resolved" }, onError: { actions: "setRemoteError", target: "idle" } } } } } } }, resolved: { type: "final" } } }, { actions: { clearError: A, clearFormValues: E, clearTouched: D, clearUsername: Re, clearValidationError: I, handleInput: P, handleBlur: V, setFieldErrors: W, setRemoteError: R, setUsername: Ne }, guards: { shouldAutoConfirmReset: (o, r) => !!(o.intent && o.intent === "confirmPasswordReset") }, services: { async resetPassword(o) {
|
|
7748
7760
|
var a, t;
|
|
7749
7761
|
let r = (t = (a = o.formValues) == null ? void 0 : a.username) != null ? t : o.username;
|
|
7750
7762
|
return Auth.forgotPassword(r);
|
|
@@ -7752,14 +7764,14 @@ var Pe = createMachine({ id: "resetPasswordActor", initial: "init", states: { in
|
|
|
7752
7764
|
let { username: r } = o, { confirmation_code: a, password: t } = o.formValues;
|
|
7753
7765
|
return Auth.forgotPasswordSubmit(r, a, t);
|
|
7754
7766
|
}, async validateFields(o, r) {
|
|
7755
|
-
return
|
|
7767
|
+
return _(o.formValues, o.touched, [U.validateConfirmPassword]);
|
|
7756
7768
|
} } });
|
|
7757
7769
|
e();
|
|
7758
|
-
function
|
|
7759
|
-
return createMachine({ id: "signUpActor", initial: "init", states: { init: { always: [{ target: "confirmSignUp", cond: "shouldInitConfirmSignUp" }, { target: "signUp" }] }, signUp: { type: "parallel", exit: ["clearError", "clearFormValues"], 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" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onDone: "#signUpActor.resolved", onError: { actions: "setRemoteError" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateSignUp", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "signUp", onDone: [{ cond: "shouldSkipConfirm", target: "skipConfirm", actions: ["setUser"] }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { invoke: { src: "signIn", onDone: { target: "#signUpActor.resolved", actions: "setUser" }, onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, 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: (r, a) => {
|
|
7770
|
+
function He({ services: o }) {
|
|
7771
|
+
return createMachine({ id: "signUpActor", initial: "init", states: { init: { always: [{ target: "confirmSignUp", cond: "shouldInitConfirmSignUp" }, { target: "signUp" }] }, signUp: { type: "parallel", exit: ["clearError", "clearFormValues", "clearTouched"], states: { validation: { initial: "pending", states: { pending: { invoke: { src: "validateSignUp", onDone: { target: "valid", actions: "clearValidationError" }, onError: { target: "invalid", actions: "setFieldErrors" } } }, valid: { entry: sendUpdate$1() }, invalid: { entry: sendUpdate$1() } }, on: { CHANGE: { actions: "handleInput", target: ".pending" }, BLUR: { actions: "handleBlur", target: ".pending" } } }, submission: { initial: "idle", states: { idle: { entry: sendUpdate$1(), on: { SUBMIT: "validate", FEDERATED_SIGN_IN: "federatedSignIn" } }, federatedSignIn: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "federatedSignIn", onDone: "#signUpActor.resolved", onError: { actions: "setRemoteError" } } }, validate: { entry: sendUpdate$1(), invoke: { src: "validateSignUp", onDone: { target: "pending", actions: "clearValidationError" }, onError: { target: "idle", actions: "setFieldErrors" } } }, pending: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "signUp", onDone: [{ cond: "shouldSkipConfirm", target: "skipConfirm", actions: ["setUser"] }, { target: "resolved", actions: ["setUser", "setCredentials"] }], onError: { target: "idle", actions: "setRemoteError" } } }, skipConfirm: { invoke: { src: "signIn", onDone: { target: "#signUpActor.resolved", actions: "setUser" }, onError: { target: "idle", actions: "setRemoteError" } } }, resolved: { type: "final", always: "#signUpActor.confirmSignUp" } } } } }, confirmSignUp: { initial: "edit", states: { edit: { entry: sendUpdate$1(), on: { SUBMIT: "submit", CHANGE: { actions: "handleInput" }, BLUR: { actions: "handleBlur" }, RESEND: "resend" } }, resend: { tags: ["pending"], entry: sendUpdate$1(), invoke: { src: "resendConfirmationCode", onDone: { target: "edit" }, onError: [{ target: "#signUpActor.resolved", actions: "setUser", cond: "isUserAlreadyConfirmed" }, { target: "edit", actions: "setRemoteError" }] } }, submit: { tags: ["pending"], entry: [sendUpdate$1(), "clearError"], invoke: { src: "confirmSignUp", onDone: { target: "#signUpActor.resolved", actions: "setUser" }, onError: { target: "edit", actions: "setRemoteError" } } } } }, resolved: { type: "final", data: (r, a) => {
|
|
7760
7772
|
let { username: t, password: n } = r.authAttributes;
|
|
7761
7773
|
return { user: get_1(a, "data.user") || r.user, authAttributes: { username: t, password: n } };
|
|
7762
|
-
} } } }, { guards: { isUserAlreadyConfirmed: (r, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (r) => r.intent && r.intent === "confirmSignUp", shouldSkipConfirm: (r, a) => a.data.userConfirmed }, actions: { clearError: A, clearFormValues: E,
|
|
7774
|
+
} } } }, { guards: { isUserAlreadyConfirmed: (r, a) => a.data.message === "User is already confirmed.", shouldInitConfirmSignUp: (r) => r.intent && r.intent === "confirmSignUp", shouldSkipConfirm: (r, a) => a.data.userConfirmed }, actions: { clearError: A, clearFormValues: E, clearTouched: D, clearValidationError: I, handleInput: P, handleBlur: V, setCredentials: G, setFieldErrors: W, setRemoteError: R, setUser: H }, services: { async signIn(r, a) {
|
|
7763
7775
|
let { user: t, authAttributes: n, formValues: i } = r, s = get_1(t, "username") || get_1(n, "username"), l = get_1(i, "password");
|
|
7764
7776
|
return await Auth.signIn(s, l);
|
|
7765
7777
|
}, async confirmSignUp(r, a) {
|
|
@@ -7774,8 +7786,8 @@ function Ue({ services: o }) {
|
|
|
7774
7786
|
}, async signUp(r, a) {
|
|
7775
7787
|
let { formValues: t, loginMechanisms: n } = r, [i] = n != null ? n : ["username"];
|
|
7776
7788
|
t.phone_number && (t.phone_number = `${t.country_code}${t.phone_number}`.replace(/[^A-Z0-9+]/gi, ""));
|
|
7777
|
-
let s = t[i], { password: l } = t, u = pickBy_1(t, (
|
|
7778
|
-
switch (
|
|
7789
|
+
let s = t[i], { password: l } = t, u = pickBy_1(t, (v, m) => {
|
|
7790
|
+
switch (m) {
|
|
7779
7791
|
case "address":
|
|
7780
7792
|
case "birthdate":
|
|
7781
7793
|
case "email":
|
|
@@ -7795,35 +7807,35 @@ function Ue({ services: o }) {
|
|
|
7795
7807
|
case "zoneinfo":
|
|
7796
7808
|
return true;
|
|
7797
7809
|
default:
|
|
7798
|
-
return
|
|
7810
|
+
return m.startsWith("custom:");
|
|
7799
7811
|
}
|
|
7800
7812
|
});
|
|
7801
7813
|
return await Auth.signUp({ username: s, password: l, attributes: u });
|
|
7802
7814
|
}, async validateSignUp(r, a) {
|
|
7803
|
-
return
|
|
7815
|
+
return _(r.formValues, r.touched, [o.validateConfirmPassword, o.validatePreferredUsername, o.validateCustomSignUp]);
|
|
7804
7816
|
} } });
|
|
7805
7817
|
}
|
|
7806
|
-
var
|
|
7807
|
-
function
|
|
7808
|
-
let i =
|
|
7809
|
-
return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: { loginMechanisms: r, signUpAttributes: a, socialProviders: t }, actorRef: void 0 }, states: { idle: { invoke: [{ src: "getCurrentUser", onDone: { actions: "setUser", target: "authenticated" }, onError: o }, { src: "getAmplifyConfig", onDone: { actions: "applyAmplifyConfig" } }] }, signIn: { entry: "spawnSignInActor", exit:
|
|
7810
|
-
var h2, b,
|
|
7811
|
-
let u = (b = (h2 = l.data.aws_cognito_username_attributes) == null ? void 0 : h2.map((
|
|
7812
|
-
return u.length === 0 && u.push("username"), { loginMechanisms: r != null ? r : u, signUpAttributes: a != null ? a : Array.from(new Set([...p, ...
|
|
7818
|
+
var Le = "+1";
|
|
7819
|
+
function rn({ initialState: o = "signIn", loginMechanisms: r, signUpAttributes: a, socialProviders: t, services: n }) {
|
|
7820
|
+
let i = c(c({}, U), n);
|
|
7821
|
+
return createMachine({ id: "authenticator", initial: "idle", context: { user: void 0, config: { loginMechanisms: r, signUpAttributes: a, socialProviders: t }, actorRef: void 0 }, states: { idle: { invoke: [{ src: "getCurrentUser", onDone: { actions: "setUser", target: "authenticated" }, onError: o }, { src: "getAmplifyConfig", onDone: { actions: "applyAmplifyConfig" } }] }, signIn: { entry: "spawnSignInActor", exit: B("signInActor"), on: { SIGN_UP: "signUp", RESET_PASSWORD: "resetPassword", "done.invoke.signInActor": [{ target: "signUp", cond: "shouldRedirectToSignUp" }, { target: "resetPassword", cond: "shouldRedirectToResetPassword" }, { target: "authenticated", actions: "setUser" }] } }, signUp: { entry: "spawnSignUpActor", exit: B("signUpActor"), on: { SIGN_IN: "signIn", "done.invoke.signUpActor": { target: "idle", actions: "setUser" } } }, resetPassword: { entry: "spawnResetPasswordActor", exit: B("resetPasswordActor"), on: { SIGN_IN: "signIn", "done.invoke.resetPasswordActor": "signIn" } }, signOut: { entry: "spawnSignOutActor", exit: [B("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((s) => s.actorRef), setUser: assign$3({ user: (s, l) => l.data.user || l.data }), clearUser: assign$3({ user: void 0 }), applyAmplifyConfig: assign$3({ config(s, l) {
|
|
7822
|
+
var h2, b, le, se, ue, de, ce, ve;
|
|
7823
|
+
let u = (b = (h2 = l.data.aws_cognito_username_attributes) == null ? void 0 : h2.map((w) => w.toLowerCase())) != null ? b : [], p = (se = (le = l.data.aws_cognito_verification_mechanisms) == null ? void 0 : le.map((w) => w.toLowerCase())) != null ? se : [], v = (de = (ue = l.data.aws_cognito_signup_attributes) == null ? void 0 : ue.map((w) => w.toLowerCase())) != null ? de : [], m = (ve = (ce = l.data.aws_cognito_social_providers) == null ? void 0 : ce.map((w) => w.toLowerCase())) != null ? ve : [];
|
|
7824
|
+
return u.length === 0 && u.push("username"), { loginMechanisms: r != null ? r : u, signUpAttributes: a != null ? a : Array.from(new Set([...p, ...v])), socialProviders: t != null ? t : m.sort() };
|
|
7813
7825
|
} }), spawnSignInActor: assign$3({ actorRef: (s, l) => {
|
|
7814
|
-
var p,
|
|
7815
|
-
let u =
|
|
7826
|
+
var p, v, m, h2, b;
|
|
7827
|
+
let u = ze.withContext({ authAttributes: (p = l.data) == null ? void 0 : p.authAttributes, user: (v = l.data) == null ? void 0 : v.user, intent: (m = l.data) == null ? void 0 : m.intent, country_code: Le, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (h2 = s.config) == null ? void 0 : h2.loginMechanisms, socialProviders: (b = s.config) == null ? void 0 : b.socialProviders });
|
|
7816
7828
|
return spawn(u, { name: "signInActor" });
|
|
7817
7829
|
} }), spawnSignUpActor: assign$3({ actorRef: (s, l) => {
|
|
7818
|
-
var p,
|
|
7819
|
-
let u =
|
|
7830
|
+
var p, v, m, h2, b;
|
|
7831
|
+
let u = He({ services: i }).withContext({ authAttributes: (v = (p = l.data) == null ? void 0 : p.authAttributes) != null ? v : {}, country_code: Le, intent: (m = l.data) == null ? void 0 : m.intent, formValues: {}, touched: {}, validationError: {}, loginMechanisms: (h2 = s.config) == null ? void 0 : h2.loginMechanisms, socialProviders: (b = s.config) == null ? void 0 : b.socialProviders });
|
|
7820
7832
|
return spawn(u, { name: "signUpActor" });
|
|
7821
7833
|
} }), spawnResetPasswordActor: assign$3({ actorRef: (s, l) => {
|
|
7822
|
-
var p,
|
|
7823
|
-
let u =
|
|
7834
|
+
var p, v, m;
|
|
7835
|
+
let u = Ge.withContext({ formValues: {}, touched: {}, intent: (p = l.data) == null ? void 0 : p.intent, username: (m = (v = l.data) == null ? void 0 : v.authAttributes) == null ? void 0 : m.username, validationError: {} });
|
|
7824
7836
|
return spawn(u, { name: "resetPasswordActor" });
|
|
7825
7837
|
} }), spawnSignOutActor: assign$3({ actorRef: (s) => {
|
|
7826
|
-
let l =
|
|
7838
|
+
let l = Be.withContext({ user: s.user });
|
|
7827
7839
|
return spawn(l, { name: "signOutActor" });
|
|
7828
7840
|
} }) }, guards: { shouldRedirectToSignUp: (s, l) => {
|
|
7829
7841
|
var u;
|
|
@@ -7838,114 +7850,114 @@ e();
|
|
|
7838
7850
|
e();
|
|
7839
7851
|
e();
|
|
7840
7852
|
e();
|
|
7841
|
-
var
|
|
7853
|
+
var je = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
7842
7854
|
e();
|
|
7843
|
-
var
|
|
7855
|
+
var qe = { 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" } };
|
|
7844
7856
|
e();
|
|
7845
|
-
var
|
|
7857
|
+
var $e = { default: { variable: { value: `'InterVariable', -apple-system, BlinkMacSystemFont,
|
|
7846
7858
|
'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',
|
|
7847
7859
|
sans-serif` }, static: { value: `'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
|
|
7848
7860
|
'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif` } } };
|
|
7849
7861
|
e();
|
|
7850
|
-
var
|
|
7862
|
+
var Xe = { xxxs: { value: "0.375rem" }, xxs: { value: "0.5rem" }, xs: { value: "0.75rem" }, small: { value: "0.875rem" }, medium: { value: "1rem" }, large: { value: "1.25rem" }, xl: { value: "1.5rem" }, xxl: { value: "2rem" }, xxxl: { value: "3rem" }, xxxxl: { value: "5rem" } };
|
|
7851
7863
|
e();
|
|
7852
|
-
var
|
|
7864
|
+
var Ke = { 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 } };
|
|
7853
7865
|
e();
|
|
7854
|
-
var
|
|
7866
|
+
var Ye = { small: { value: "1.5" }, medium: { value: "1.75" }, large: { value: "2" } };
|
|
7855
7867
|
e();
|
|
7856
|
-
var
|
|
7868
|
+
var Ze = { 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" } };
|
|
7857
7869
|
e();
|
|
7858
|
-
var
|
|
7870
|
+
var Qe = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
7859
7871
|
e();
|
|
7860
|
-
var
|
|
7872
|
+
var Je = { small: { value: "1px" }, medium: { value: "2px" }, large: { value: "3px" } };
|
|
7861
7873
|
e();
|
|
7862
|
-
var
|
|
7874
|
+
var eo = { xs: { value: "0.125rem" }, small: { value: "0.25rem" }, medium: { value: "0.5rem" }, large: { value: "1rem" }, xl: { value: "2rem" }, xxl: { value: "4rem" }, xxxl: { value: "8rem" } };
|
|
7863
7875
|
e();
|
|
7864
|
-
var
|
|
7876
|
+
var oo = { 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}" } } };
|
|
7865
7877
|
e();
|
|
7866
|
-
var
|
|
7878
|
+
var ro = { xxxs: { value: "0.25rem" }, xxs: { value: "0.375rem" }, xs: { value: "0.5rem" }, small: { value: "0.75rem" }, medium: { value: "1rem" }, large: { value: "1.5rem" }, xl: { value: "2.0rem" }, xxl: { value: "3.0rem" }, xxxl: { value: "4.5rem" }, relative: { xxxs: { value: "0.25em" }, xxs: { value: "0.375rem" }, xs: { value: "0.5em" }, small: { value: "0.75em" }, medium: { value: "1em" }, large: { value: "1.5em" }, xl: { value: "2.0em" }, xxl: { value: "3.0em" }, xxxl: { value: "4.5em" } } };
|
|
7867
7879
|
e();
|
|
7868
|
-
var
|
|
7880
|
+
var ao = { short: { value: "100ms" }, medium: { value: "250ms" }, long: { value: "500ms" } };
|
|
7869
7881
|
e();
|
|
7870
|
-
var
|
|
7871
|
-
var
|
|
7882
|
+
var to = { slideX: { small: { value: "translateX(0.5em)" }, medium: { value: "translateX(1em)" }, large: { value: "translateX(2em)" } } };
|
|
7883
|
+
var Cr = { components: xr(), borderWidths: je, colors: qe, fonts: $e, fontSizes: Xe, fontWeights: Ke, lineHeights: Ye, opacities: Ze, outlineOffsets: Qe, outlineWidths: Je, radii: eo, shadows: oo, space: ro, time: ao, transforms: to };
|
|
7872
7884
|
e();
|
|
7873
|
-
var
|
|
7874
|
-
var
|
|
7885
|
+
var kr = { values: { base: 0, small: 30, medium: 48, large: 62, xl: 80, xxl: 96 }, unit: "em", defaultBreakpoint: "base" };
|
|
7886
|
+
var j = { tokens: Cr, breakpoints: kr, name: "base-theme" };
|
|
7875
7887
|
e();
|
|
7876
|
-
var
|
|
7877
|
-
function
|
|
7888
|
+
var Qr = "amplify";
|
|
7889
|
+
function O(o) {
|
|
7878
7890
|
if (usesReference_1(o)) {
|
|
7879
7891
|
let r = o.replace(/\{|\}/g, "").replace(".value", "").split(".");
|
|
7880
|
-
return `var(--${
|
|
7892
|
+
return `var(--${ne({ path: r })})`;
|
|
7881
7893
|
}
|
|
7882
7894
|
return o;
|
|
7883
7895
|
}
|
|
7884
|
-
function
|
|
7896
|
+
function wr(o) {
|
|
7885
7897
|
let { value: r } = o;
|
|
7886
7898
|
if (typeof r == "string")
|
|
7887
|
-
return
|
|
7899
|
+
return O(r);
|
|
7888
7900
|
if (typeof r == "object" && "offsetX" in r) {
|
|
7889
7901
|
let { offsetX: a = "", offsetY: t = "", blurRadius: n = "", spreadRadius: i = "", color: s = "" } = r;
|
|
7890
|
-
return [
|
|
7902
|
+
return [O(a), O(t), O(n), O(i), O(s)].join(" ");
|
|
7891
7903
|
}
|
|
7892
7904
|
return r;
|
|
7893
7905
|
}
|
|
7894
|
-
function
|
|
7895
|
-
return `${kebabCase_1([
|
|
7906
|
+
function ne({ path: o = [] }) {
|
|
7907
|
+
return `${kebabCase_1([Qr, ...o].join(" "))}`;
|
|
7896
7908
|
}
|
|
7897
|
-
function
|
|
7898
|
-
let a = `--${
|
|
7899
|
-
return { name: a, path: r, value:
|
|
7909
|
+
function ea(o, r) {
|
|
7910
|
+
let a = `--${ne({ path: r })}`, { value: t } = o;
|
|
7911
|
+
return { name: a, path: r, value: wr(o), original: t, toString: () => `var(${a})` };
|
|
7900
7912
|
}
|
|
7901
|
-
function
|
|
7913
|
+
function ie(o, r = []) {
|
|
7902
7914
|
let a = {};
|
|
7903
7915
|
if (o.hasOwnProperty("value"))
|
|
7904
|
-
return
|
|
7916
|
+
return ea(o, r);
|
|
7905
7917
|
for (let t in o)
|
|
7906
|
-
o.hasOwnProperty(t) && (a[t] =
|
|
7918
|
+
o.hasOwnProperty(t) && (a[t] = ie(o[t], r.concat(t)));
|
|
7907
7919
|
return a;
|
|
7908
7920
|
}
|
|
7909
|
-
function
|
|
7910
|
-
let a = deepExtend_1([{}, r, o]), t =
|
|
7921
|
+
function Ar(o, r = j) {
|
|
7922
|
+
let a = deepExtend_1([{}, r, o]), t = ie(a.tokens), { breakpoints: n, name: i } = a, s = `[data-amplify-theme="${i}"] {
|
|
7911
7923
|
` + flattenProperties_1(t).map((u) => `${u.name}: ${u.value};`).join(`
|
|
7912
7924
|
`) + `
|
|
7913
7925
|
}
|
|
7914
7926
|
`, l = [];
|
|
7915
7927
|
return a.overrides && (l = a.overrides.map((u) => {
|
|
7916
|
-
let p =
|
|
7928
|
+
let p = ie(u.tokens), v = flattenProperties_1(p).map((m) => `${m.name}: ${m.value};`).join(`
|
|
7917
7929
|
`);
|
|
7918
7930
|
if ("selector" in u && (s += `
|
|
7919
7931
|
${u.selector} {
|
|
7920
|
-
${
|
|
7932
|
+
${v}
|
|
7921
7933
|
}`), "mediaQuery" in u && (s += `
|
|
7922
7934
|
@media (${u.mediaQuery}) {
|
|
7923
7935
|
[data-amplify-theme="${i}"] {
|
|
7924
|
-
${
|
|
7936
|
+
${v}
|
|
7925
7937
|
}
|
|
7926
7938
|
}`), "breakpoint" in u) {
|
|
7927
|
-
let
|
|
7939
|
+
let m = a.breakpoints.values[u.breakpoint], h2 = a.breakpoints.unit;
|
|
7928
7940
|
s += `
|
|
7929
|
-
@media(min-width: ${
|
|
7941
|
+
@media(min-width: ${m}${h2}) {
|
|
7930
7942
|
[data-amplify-theme="${i}"] {
|
|
7931
|
-
${
|
|
7943
|
+
${v}
|
|
7932
7944
|
}
|
|
7933
7945
|
}`;
|
|
7934
7946
|
}
|
|
7935
7947
|
return "colorMode" in u && (s += `
|
|
7936
7948
|
@media(prefers-color-scheme: ${u.colorMode}) {
|
|
7937
7949
|
[data-amplify-theme="${i}"][data-amplify-color-mode="system"] {
|
|
7938
|
-
${
|
|
7950
|
+
${v}
|
|
7939
7951
|
}
|
|
7940
7952
|
}`, s += `
|
|
7941
7953
|
[data-amplify-theme="${i}"][data-amplify-color-mode="${u.colorMode}"] {
|
|
7942
|
-
${
|
|
7943
|
-
}`), F(
|
|
7954
|
+
${v}
|
|
7955
|
+
}`), F(c({}, u), { tokens: p });
|
|
7944
7956
|
})), { tokens: t, breakpoints: n, name: i, cssText: s, overrides: l };
|
|
7945
7957
|
}
|
|
7946
7958
|
e();
|
|
7947
7959
|
e();
|
|
7948
|
-
|
|
7960
|
+
Ar({ name: "default-theme" }, j);
|
|
7949
7961
|
const _sfc_main$r = {};
|
|
7950
7962
|
const _hoisted_1$c = { "data-amplify-label": "" };
|
|
7951
7963
|
function _sfc_render$3(_ctx, _cache) {
|
|
@@ -7996,76 +8008,80 @@ const _hoisted_8$2 = [
|
|
|
7996
8008
|
_hoisted_6$2,
|
|
7997
8009
|
_hoisted_7$2
|
|
7998
8010
|
];
|
|
7999
|
-
|
|
8011
|
+
function setup(__props) {
|
|
8012
|
+
const props = __props;
|
|
8013
|
+
const showPassword = lt("Show password");
|
|
8014
|
+
const hidePassword = lt("Hide password");
|
|
8015
|
+
const showHideType = ref("password");
|
|
8016
|
+
const showHideLabel = ref(showPassword);
|
|
8017
|
+
const random = Math.floor(Math.random() * 999999);
|
|
8018
|
+
const { name, label, autocomplete, ariainvalid } = toRefs(props);
|
|
8019
|
+
let password = ref("");
|
|
8020
|
+
function togglePasswordText() {
|
|
8021
|
+
showHideLabel.value = showHideLabel.value === showPassword ? hidePassword : showPassword;
|
|
8022
|
+
showHideType.value = showHideType.value === "password" ? "text" : "password";
|
|
8023
|
+
}
|
|
8024
|
+
return (_ctx, _cache) => {
|
|
8025
|
+
const _component_base_label = __unplugin_components_0;
|
|
8026
|
+
const _component_base_input = _sfc_main$q;
|
|
8027
|
+
const _component_base_wrapper = __unplugin_components_2;
|
|
8028
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
8029
|
+
createVNode(_component_base_label, {
|
|
8030
|
+
class: "amplify-label sr-only",
|
|
8031
|
+
for: "amplify-field-" + unref(random)
|
|
8032
|
+
}, {
|
|
8033
|
+
default: withCtx(() => [
|
|
8034
|
+
createTextVNode(toDisplayString(unref(label)), 1)
|
|
8035
|
+
]),
|
|
8036
|
+
_: 1
|
|
8037
|
+
}, 8, ["for"]),
|
|
8038
|
+
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-field-group" }, {
|
|
8039
|
+
default: withCtx(() => [
|
|
8040
|
+
createVNode(_component_base_input, mergeProps(_ctx.$attrs, {
|
|
8041
|
+
modelValue: unref(password),
|
|
8042
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(password) ? password.value = $event : password = $event),
|
|
8043
|
+
class: "amplify-input amplify-field-group__control",
|
|
8044
|
+
"aria-invalid": unref(ariainvalid),
|
|
8045
|
+
id: "amplify-field-" + unref(random),
|
|
8046
|
+
"data-amplify-password": "true",
|
|
8047
|
+
name: unref(name),
|
|
8048
|
+
autocomplete: unref(autocomplete),
|
|
8049
|
+
required: "",
|
|
8050
|
+
placeholder: unref(label),
|
|
8051
|
+
type: showHideType.value
|
|
8052
|
+
}), null, 16, ["modelValue", "aria-invalid", "id", "name", "autocomplete", "placeholder", "type"]),
|
|
8053
|
+
createVNode(_component_base_wrapper, { class: "amplify-field-group__outer-end" }, {
|
|
8054
|
+
default: withCtx(() => [
|
|
8055
|
+
createElementVNode("button", {
|
|
8056
|
+
"aria-label": showHideLabel.value,
|
|
8057
|
+
class: "amplify-button amplify-field-group__control amplify-field__show-password",
|
|
8058
|
+
"data-fullwidth": "false",
|
|
8059
|
+
type: "button",
|
|
8060
|
+
onClick: togglePasswordText
|
|
8061
|
+
}, [
|
|
8062
|
+
showHideType.value === "password" ? (openBlock(), createElementBlock("svg", _hoisted_2$6, _hoisted_4$3)) : (openBlock(), createElementBlock("svg", _hoisted_5$2, _hoisted_8$2))
|
|
8063
|
+
], 8, _hoisted_1$b)
|
|
8064
|
+
]),
|
|
8065
|
+
_: 1
|
|
8066
|
+
})
|
|
8067
|
+
]),
|
|
8068
|
+
_: 1
|
|
8069
|
+
})
|
|
8070
|
+
], 64);
|
|
8071
|
+
};
|
|
8072
|
+
}
|
|
8073
|
+
const __default__ = {
|
|
8074
|
+
inheritAttrs: false
|
|
8075
|
+
};
|
|
8076
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
|
|
8000
8077
|
props: {
|
|
8001
8078
|
name: String,
|
|
8002
8079
|
label: String,
|
|
8003
8080
|
autocomplete: String,
|
|
8004
8081
|
ariainvalid: Boolean
|
|
8005
8082
|
},
|
|
8006
|
-
setup
|
|
8007
|
-
|
|
8008
|
-
const showPassword = $a("Show password");
|
|
8009
|
-
const hidePassword = $a("Hide password");
|
|
8010
|
-
const showHideType = ref("password");
|
|
8011
|
-
const showHideLabel = ref(showPassword);
|
|
8012
|
-
const random = Math.floor(Math.random() * 999999);
|
|
8013
|
-
const { name, label, autocomplete, ariainvalid } = toRefs(props);
|
|
8014
|
-
let password = ref("");
|
|
8015
|
-
function togglePasswordText() {
|
|
8016
|
-
showHideLabel.value = showHideLabel.value === showPassword ? hidePassword : showPassword;
|
|
8017
|
-
showHideType.value = showHideType.value === "password" ? "text" : "password";
|
|
8018
|
-
}
|
|
8019
|
-
return (_ctx, _cache) => {
|
|
8020
|
-
const _component_base_label = __unplugin_components_0;
|
|
8021
|
-
const _component_base_input = _sfc_main$q;
|
|
8022
|
-
const _component_base_wrapper = __unplugin_components_2;
|
|
8023
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
8024
|
-
createVNode(_component_base_label, {
|
|
8025
|
-
class: "amplify-label sr-only",
|
|
8026
|
-
for: "amplify-field-" + unref(random)
|
|
8027
|
-
}, {
|
|
8028
|
-
default: withCtx(() => [
|
|
8029
|
-
createTextVNode(toDisplayString(unref(label)), 1)
|
|
8030
|
-
]),
|
|
8031
|
-
_: 1
|
|
8032
|
-
}, 8, ["for"]),
|
|
8033
|
-
createVNode(_component_base_wrapper, { class: "amplify-flex amplify-field-group" }, {
|
|
8034
|
-
default: withCtx(() => [
|
|
8035
|
-
createVNode(_component_base_input, {
|
|
8036
|
-
modelValue: unref(password),
|
|
8037
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(password) ? password.value = $event : password = $event),
|
|
8038
|
-
class: "amplify-input amplify-field-group__control",
|
|
8039
|
-
"aria-invalid": unref(ariainvalid),
|
|
8040
|
-
id: "amplify-field-" + unref(random),
|
|
8041
|
-
"data-amplify-password": "true",
|
|
8042
|
-
name: unref(name),
|
|
8043
|
-
autocomplete: unref(autocomplete),
|
|
8044
|
-
required: "",
|
|
8045
|
-
placeholder: unref(label),
|
|
8046
|
-
type: showHideType.value
|
|
8047
|
-
}, null, 8, ["modelValue", "aria-invalid", "id", "name", "autocomplete", "placeholder", "type"]),
|
|
8048
|
-
createVNode(_component_base_wrapper, { class: "amplify-field-group__outer-end" }, {
|
|
8049
|
-
default: withCtx(() => [
|
|
8050
|
-
createElementVNode("button", {
|
|
8051
|
-
"aria-label": showHideLabel.value,
|
|
8052
|
-
class: "amplify-button amplify-field-group__control amplify-field__show-password",
|
|
8053
|
-
"data-fullwidth": "false",
|
|
8054
|
-
type: "button",
|
|
8055
|
-
onClick: togglePasswordText
|
|
8056
|
-
}, [
|
|
8057
|
-
showHideType.value === "password" ? (openBlock(), createElementBlock("svg", _hoisted_2$6, _hoisted_4$3)) : (openBlock(), createElementBlock("svg", _hoisted_5$2, _hoisted_8$2))
|
|
8058
|
-
], 8, _hoisted_1$b)
|
|
8059
|
-
]),
|
|
8060
|
-
_: 1
|
|
8061
|
-
})
|
|
8062
|
-
]),
|
|
8063
|
-
_: 1
|
|
8064
|
-
})
|
|
8065
|
-
], 64);
|
|
8066
|
-
};
|
|
8067
|
-
}
|
|
8068
|
-
});
|
|
8083
|
+
setup
|
|
8084
|
+
}));
|
|
8069
8085
|
const _hoisted_1$a = ["value", "selected"];
|
|
8070
8086
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
8071
8087
|
props: {
|
|
@@ -8194,7 +8210,7 @@ function useActor(actorRef, getSnapshot) {
|
|
|
8194
8210
|
});
|
|
8195
8211
|
return { state, send: send2 };
|
|
8196
8212
|
}
|
|
8197
|
-
const useAliases = (login_mechanisms) => (login_mechanisms == null ? void 0 : login_mechanisms.length) === 1 && login_mechanisms[0] === "username" ? [...
|
|
8213
|
+
const useAliases = (login_mechanisms) => (login_mechanisms == null ? void 0 : login_mechanisms.length) === 1 && login_mechanisms[0] === "username" ? [...M] : login_mechanisms;
|
|
8198
8214
|
const facade = {
|
|
8199
8215
|
error: "",
|
|
8200
8216
|
hasValidationErrors: false,
|
|
@@ -8206,6 +8222,7 @@ const facade = {
|
|
|
8206
8222
|
},
|
|
8207
8223
|
change: (data) => null,
|
|
8208
8224
|
updateForm: (data) => null,
|
|
8225
|
+
updateBlur: (data) => null,
|
|
8209
8226
|
resend: (data) => null,
|
|
8210
8227
|
resendCode: (data) => null,
|
|
8211
8228
|
signOut: (data) => null,
|
|
@@ -8241,7 +8258,7 @@ function createValues() {
|
|
|
8241
8258
|
if (!service.value)
|
|
8242
8259
|
return;
|
|
8243
8260
|
const { state, send: send2 } = useAuth();
|
|
8244
|
-
const facadeValues =
|
|
8261
|
+
const facadeValues = ka({ send: send2, state: state.value });
|
|
8245
8262
|
for (const key of Object.keys(facade)) {
|
|
8246
8263
|
useAuthenticatorValue[key] = facadeValues[key];
|
|
8247
8264
|
}
|
|
@@ -8265,28 +8282,28 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
8265
8282
|
disabled: null
|
|
8266
8283
|
},
|
|
8267
8284
|
setup(__props) {
|
|
8268
|
-
var _a, _b, _c, _d,
|
|
8285
|
+
var _a, _b, _c, _d, _e2;
|
|
8269
8286
|
const { userNameAlias, userName, disabled } = __props;
|
|
8270
8287
|
const { state, send: send2 } = useAuth();
|
|
8271
8288
|
const { value: { context } } = state;
|
|
8272
|
-
const actorContext = computed(() =>
|
|
8289
|
+
const actorContext = computed(() => Vr(state.value));
|
|
8273
8290
|
const defaultDialCode = actorContext.value.country_code;
|
|
8274
8291
|
let uName = ref("");
|
|
8275
8292
|
if (userName) {
|
|
8276
8293
|
uName = computed(() => userName);
|
|
8277
8294
|
}
|
|
8278
|
-
const dialCodes = computed(() =>
|
|
8295
|
+
const dialCodes = computed(() => Ra);
|
|
8279
8296
|
const [primaryAlias] = useAliases((_a = context == null ? void 0 : context.config) == null ? void 0 : _a.loginMechanisms);
|
|
8280
8297
|
let name = primaryAlias;
|
|
8281
|
-
let label = (_c = (_b =
|
|
8282
|
-
let type = (
|
|
8298
|
+
let label = (_c = (_b = z[primaryAlias]) == null ? void 0 : _b.label) != null ? _c : z["username"].label;
|
|
8299
|
+
let type = (_e2 = (_d = z[name]) == null ? void 0 : _d.type) != null ? _e2 : z["username"].label;
|
|
8283
8300
|
if (userNameAlias) {
|
|
8284
|
-
const aliasInfo =
|
|
8285
|
-
label = aliasInfo.label ||
|
|
8301
|
+
const aliasInfo = xa(context);
|
|
8302
|
+
label = aliasInfo.label || z["username"].label;
|
|
8286
8303
|
type = aliasInfo.type;
|
|
8287
8304
|
name = "username";
|
|
8288
8305
|
}
|
|
8289
|
-
label =
|
|
8306
|
+
label = lt(label);
|
|
8290
8307
|
onMounted(() => {
|
|
8291
8308
|
if (type === "tel") {
|
|
8292
8309
|
send2({
|
|
@@ -8519,11 +8536,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
8519
8536
|
const includeGoogle = socialProviders == null ? void 0 : socialProviders.includes("google");
|
|
8520
8537
|
const shouldShowFederatedSignIn = includeFacebook || includeGoogle || includeAmazon || includeApple;
|
|
8521
8538
|
const federatedText = route === "signUp" ? "Up" : "In";
|
|
8522
|
-
const fp = computed(() =>
|
|
8523
|
-
const signInWithAmazon = computed(() =>
|
|
8524
|
-
const signInWithApple = computed(() =>
|
|
8525
|
-
const signInWithFacebook = computed(() =>
|
|
8526
|
-
const signInWithGoogle = computed(() =>
|
|
8539
|
+
const fp = computed(() => fe);
|
|
8540
|
+
const signInWithAmazon = computed(() => lt(`Sign ${federatedText} with Amazon`));
|
|
8541
|
+
const signInWithApple = computed(() => lt(`Sign ${federatedText} with Apple`));
|
|
8542
|
+
const signInWithFacebook = computed(() => lt(`Sign ${federatedText} with Facebook`));
|
|
8543
|
+
const signInWithGoogle = computed(() => lt(`Sign ${federatedText} with Google`));
|
|
8527
8544
|
return (_ctx, _cache) => {
|
|
8528
8545
|
const _component_base_wrapper = __unplugin_components_2;
|
|
8529
8546
|
return unref(shouldShowFederatedSignIn) ? (openBlock(), createBlock(_component_base_wrapper, {
|
|
@@ -8597,12 +8614,12 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
8597
8614
|
],
|
|
8598
8615
|
setup(__props, { emit }) {
|
|
8599
8616
|
const attrs = useAttrs();
|
|
8600
|
-
const passwordLabel = computed(() =>
|
|
8601
|
-
const forgotYourPasswordLink = computed(() =>
|
|
8602
|
-
const signInButtonText = computed(() =>
|
|
8603
|
-
const signIngButtonText = computed(() =>
|
|
8617
|
+
const passwordLabel = computed(() => lt("Password"));
|
|
8618
|
+
const forgotYourPasswordLink = computed(() => lt("Forgot your password? "));
|
|
8619
|
+
const signInButtonText = computed(() => lt("Sign in"));
|
|
8620
|
+
const signIngButtonText = computed(() => lt("Signing in"));
|
|
8604
8621
|
const { state, send: send2 } = useAuth();
|
|
8605
|
-
const actorState = computed(() =>
|
|
8622
|
+
const actorState = computed(() => q(state.value));
|
|
8606
8623
|
const onInput = (e2) => {
|
|
8607
8624
|
const { name, value } = e2.target;
|
|
8608
8625
|
send2({
|
|
@@ -8767,10 +8784,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
8767
8784
|
const random = Math.floor(Math.random() * 999999);
|
|
8768
8785
|
const randomPhone = Math.floor(Math.random() * 999999);
|
|
8769
8786
|
const { state, send: send2 } = useAuth();
|
|
8770
|
-
const inputAttributes = computed(() =>
|
|
8771
|
-
const actorContext = computed(() =>
|
|
8787
|
+
const inputAttributes = computed(() => z);
|
|
8788
|
+
const actorContext = computed(() => Vr(state.value));
|
|
8772
8789
|
const defaultDialCode = actorContext.value.country_code;
|
|
8773
|
-
const dialCodes = computed(() =>
|
|
8790
|
+
const dialCodes = computed(() => Ra);
|
|
8774
8791
|
onMounted(() => {
|
|
8775
8792
|
if (inputAttributes.value[name].type === "tel") {
|
|
8776
8793
|
send2({
|
|
@@ -8781,7 +8798,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
8781
8798
|
});
|
|
8782
8799
|
const inferAutocomplete = computed(() => {
|
|
8783
8800
|
var _a;
|
|
8784
|
-
return autocomplete || ((_a =
|
|
8801
|
+
return autocomplete || ((_a = z[name]) == null ? void 0 : _a.autocomplete);
|
|
8785
8802
|
});
|
|
8786
8803
|
return (_ctx, _cache) => {
|
|
8787
8804
|
const _component_base_label = __unplugin_components_0;
|
|
@@ -8886,20 +8903,25 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
8886
8903
|
const { state } = useAuth();
|
|
8887
8904
|
const { value: { context } } = state;
|
|
8888
8905
|
const { validationErrors } = toRefs(useAuthenticator());
|
|
8889
|
-
const
|
|
8890
|
-
const
|
|
8891
|
-
const
|
|
8906
|
+
const props = useAuthenticator();
|
|
8907
|
+
const inputAttributes = computed(() => z);
|
|
8908
|
+
const passwordLabel = computed(() => lt("Password"));
|
|
8909
|
+
const confirmPasswordLabel = computed(() => lt("Confirm Password"));
|
|
8892
8910
|
let fieldNames;
|
|
8893
8911
|
let loginMechanisms = (_a = context.config) == null ? void 0 : _a.loginMechanisms;
|
|
8894
8912
|
let signUpAttributes = (_b = context.config) == null ? void 0 : _b.signUpAttributes;
|
|
8895
8913
|
fieldNames = Array.from(new Set([...loginMechanisms, ...signUpAttributes]));
|
|
8896
8914
|
fieldNames = fieldNames.filter((fieldName) => {
|
|
8897
|
-
const hasDefaultField = !!
|
|
8915
|
+
const hasDefaultField = !!z[fieldName];
|
|
8898
8916
|
if (!hasDefaultField) {
|
|
8899
8917
|
console.debug(`Authenticator does not have a default implementation for ${fieldName}. Customize the authenticator sign-up-fields slot to add your own.`);
|
|
8900
8918
|
}
|
|
8901
8919
|
return hasDefaultField;
|
|
8902
8920
|
});
|
|
8921
|
+
function onBlur(e2) {
|
|
8922
|
+
const { name } = e2.target;
|
|
8923
|
+
props.updateBlur({ name });
|
|
8924
|
+
}
|
|
8903
8925
|
const loginMechanism = fieldNames.shift();
|
|
8904
8926
|
return (_ctx, _cache) => {
|
|
8905
8927
|
const _component_base_wrapper = __unplugin_components_2;
|
|
@@ -8914,7 +8936,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
8914
8936
|
name: "password",
|
|
8915
8937
|
label: unref(passwordLabel),
|
|
8916
8938
|
autocomplete: "new-password",
|
|
8917
|
-
ariainvalid: !!unref(validationErrors).confirm_password
|
|
8939
|
+
ariainvalid: !!unref(validationErrors).confirm_password,
|
|
8940
|
+
onBlur
|
|
8918
8941
|
}, null, 8, ["label", "ariainvalid"])
|
|
8919
8942
|
]),
|
|
8920
8943
|
_: 1
|
|
@@ -8928,7 +8951,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
8928
8951
|
name: "confirm_password",
|
|
8929
8952
|
label: unref(confirmPasswordLabel),
|
|
8930
8953
|
autocomplete: "new-password",
|
|
8931
|
-
ariainvalid: !!unref(validationErrors).confirm_password
|
|
8954
|
+
ariainvalid: !!unref(validationErrors).confirm_password,
|
|
8955
|
+
onBlur
|
|
8932
8956
|
}, null, 8, ["label", "ariainvalid"])
|
|
8933
8957
|
]),
|
|
8934
8958
|
_: 1
|
|
@@ -8937,9 +8961,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
8937
8961
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(fieldNames), (field, idx) => {
|
|
8938
8962
|
return openBlock(), createBlock(_sfc_main$j, {
|
|
8939
8963
|
key: idx,
|
|
8940
|
-
label: unref(
|
|
8964
|
+
label: unref(lt)(unref(inputAttributes)[field].label),
|
|
8941
8965
|
name: field,
|
|
8942
|
-
placeholder: unref(
|
|
8966
|
+
placeholder: unref(lt)(unref(inputAttributes)[field].label)
|
|
8943
8967
|
}, null, 8, ["label", "name", "placeholder"]);
|
|
8944
8968
|
}), 128))
|
|
8945
8969
|
], 64);
|
|
@@ -8953,7 +8977,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
8953
8977
|
const props = useAuthenticator();
|
|
8954
8978
|
const { hasValidationErrors, isPending, error: error2 } = toRefs(facadeValues);
|
|
8955
8979
|
const attrs = useAttrs();
|
|
8956
|
-
const createAccountLabel = computed(() =>
|
|
8980
|
+
const createAccountLabel = computed(() => lt("Create Account"));
|
|
8957
8981
|
const onInput = (e2) => {
|
|
8958
8982
|
let { checked: checked2, name, type, value } = e2.target;
|
|
8959
8983
|
if (type === "checkbox" && !checked2)
|
|
@@ -9131,14 +9155,14 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
9131
9155
|
var _a, _b, _c;
|
|
9132
9156
|
const attrs = useAttrs();
|
|
9133
9157
|
const { state, send: send2 } = useAuth();
|
|
9134
|
-
const actorState = computed(() =>
|
|
9158
|
+
const actorState = computed(() => q(state.value));
|
|
9135
9159
|
const context = actorState.value.context;
|
|
9136
9160
|
const username = (_c = (_a = context.user) == null ? void 0 : _a.username) != null ? _c : (_b = context.authAttributes) == null ? void 0 : _b.username;
|
|
9137
|
-
const enterCode = computed(() =>
|
|
9138
|
-
const confirmSignUpHeading = computed(() =>
|
|
9139
|
-
const confirmationCodeText = computed(() =>
|
|
9140
|
-
const resendCodeText = computed(() =>
|
|
9141
|
-
const confirmText = computed(() =>
|
|
9161
|
+
const enterCode = computed(() => lt("Enter your code"));
|
|
9162
|
+
const confirmSignUpHeading = computed(() => lt("Confirm Sign Up"));
|
|
9163
|
+
const confirmationCodeText = computed(() => lt("Confirmation Code"));
|
|
9164
|
+
const resendCodeText = computed(() => lt("Resend Code"));
|
|
9165
|
+
const confirmText = computed(() => lt("Confirm"));
|
|
9142
9166
|
const onInput = (e2) => {
|
|
9143
9167
|
const { name, value } = e2.target;
|
|
9144
9168
|
send2({
|
|
@@ -9316,16 +9340,16 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
9316
9340
|
setup(__props, { emit }) {
|
|
9317
9341
|
const attrs = useAttrs();
|
|
9318
9342
|
const { state, send: send2 } = useAuth();
|
|
9319
|
-
const actorState = computed(() =>
|
|
9343
|
+
const actorState = computed(() => q(state.value));
|
|
9320
9344
|
const challengeName = actorState.value.context.challengeName;
|
|
9321
9345
|
let mfaType = "SMS";
|
|
9322
9346
|
if (challengeName === y.SOFTWARE_TOKEN_MFA) {
|
|
9323
9347
|
mfaType = "TOTP";
|
|
9324
9348
|
}
|
|
9325
9349
|
const confirmSignInHeading = `Confirm ${mfaType} Code`;
|
|
9326
|
-
const backSignInText = computed(() =>
|
|
9327
|
-
const confirmText = computed(() =>
|
|
9328
|
-
const codeText = computed(() =>
|
|
9350
|
+
const backSignInText = computed(() => lt("Back to Sign In"));
|
|
9351
|
+
const confirmText = computed(() => lt("Confirm"));
|
|
9352
|
+
const codeText = computed(() => lt("Code"));
|
|
9329
9353
|
const onInput = (e2) => {
|
|
9330
9354
|
const { name, value } = e2.target;
|
|
9331
9355
|
send2({
|
|
@@ -10785,7 +10809,7 @@ function fromByteArray(uint8) {
|
|
|
10785
10809
|
var ieee754 = {};
|
|
10786
10810
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
10787
10811
|
ieee754.read = function(buffer2, offset, isLE, mLen, nBytes) {
|
|
10788
|
-
var e2,
|
|
10812
|
+
var e2, m;
|
|
10789
10813
|
var eLen = nBytes * 8 - mLen - 1;
|
|
10790
10814
|
var eMax = (1 << eLen) - 1;
|
|
10791
10815
|
var eBias = eMax >> 1;
|
|
@@ -10799,23 +10823,23 @@ ieee754.read = function(buffer2, offset, isLE, mLen, nBytes) {
|
|
|
10799
10823
|
nBits += eLen;
|
|
10800
10824
|
for (; nBits > 0; e2 = e2 * 256 + buffer2[offset + i], i += d2, nBits -= 8) {
|
|
10801
10825
|
}
|
|
10802
|
-
|
|
10826
|
+
m = e2 & (1 << -nBits) - 1;
|
|
10803
10827
|
e2 >>= -nBits;
|
|
10804
10828
|
nBits += mLen;
|
|
10805
|
-
for (; nBits > 0;
|
|
10829
|
+
for (; nBits > 0; m = m * 256 + buffer2[offset + i], i += d2, nBits -= 8) {
|
|
10806
10830
|
}
|
|
10807
10831
|
if (e2 === 0) {
|
|
10808
10832
|
e2 = 1 - eBias;
|
|
10809
10833
|
} else if (e2 === eMax) {
|
|
10810
|
-
return
|
|
10834
|
+
return m ? NaN : (s ? -1 : 1) * Infinity;
|
|
10811
10835
|
} else {
|
|
10812
|
-
|
|
10836
|
+
m = m + Math.pow(2, mLen);
|
|
10813
10837
|
e2 = e2 - eBias;
|
|
10814
10838
|
}
|
|
10815
|
-
return (s ? -1 : 1) *
|
|
10839
|
+
return (s ? -1 : 1) * m * Math.pow(2, e2 - mLen);
|
|
10816
10840
|
};
|
|
10817
10841
|
ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
10818
|
-
var e2,
|
|
10842
|
+
var e2, m, c2;
|
|
10819
10843
|
var eLen = nBytes * 8 - mLen - 1;
|
|
10820
10844
|
var eMax = (1 << eLen) - 1;
|
|
10821
10845
|
var eBias = eMax >> 1;
|
|
@@ -10825,37 +10849,37 @@ ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
|
10825
10849
|
var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;
|
|
10826
10850
|
value = Math.abs(value);
|
|
10827
10851
|
if (isNaN(value) || value === Infinity) {
|
|
10828
|
-
|
|
10852
|
+
m = isNaN(value) ? 1 : 0;
|
|
10829
10853
|
e2 = eMax;
|
|
10830
10854
|
} else {
|
|
10831
10855
|
e2 = Math.floor(Math.log(value) / Math.LN2);
|
|
10832
|
-
if (value * (
|
|
10856
|
+
if (value * (c2 = Math.pow(2, -e2)) < 1) {
|
|
10833
10857
|
e2--;
|
|
10834
|
-
|
|
10858
|
+
c2 *= 2;
|
|
10835
10859
|
}
|
|
10836
10860
|
if (e2 + eBias >= 1) {
|
|
10837
|
-
value += rt /
|
|
10861
|
+
value += rt / c2;
|
|
10838
10862
|
} else {
|
|
10839
10863
|
value += rt * Math.pow(2, 1 - eBias);
|
|
10840
10864
|
}
|
|
10841
|
-
if (value *
|
|
10865
|
+
if (value * c2 >= 2) {
|
|
10842
10866
|
e2++;
|
|
10843
|
-
|
|
10867
|
+
c2 /= 2;
|
|
10844
10868
|
}
|
|
10845
10869
|
if (e2 + eBias >= eMax) {
|
|
10846
|
-
|
|
10870
|
+
m = 0;
|
|
10847
10871
|
e2 = eMax;
|
|
10848
10872
|
} else if (e2 + eBias >= 1) {
|
|
10849
|
-
|
|
10873
|
+
m = (value * c2 - 1) * Math.pow(2, mLen);
|
|
10850
10874
|
e2 = e2 + eBias;
|
|
10851
10875
|
} else {
|
|
10852
|
-
|
|
10876
|
+
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen);
|
|
10853
10877
|
e2 = 0;
|
|
10854
10878
|
}
|
|
10855
10879
|
}
|
|
10856
|
-
for (; mLen >= 8; buffer2[offset + i] =
|
|
10880
|
+
for (; mLen >= 8; buffer2[offset + i] = m & 255, i += d2, m /= 256, mLen -= 8) {
|
|
10857
10881
|
}
|
|
10858
|
-
e2 = e2 << mLen |
|
|
10882
|
+
e2 = e2 << mLen | m;
|
|
10859
10883
|
eLen += mLen;
|
|
10860
10884
|
for (; eLen > 0; buffer2[offset + i] = e2 & 255, i += d2, e2 /= 256, eLen -= 8) {
|
|
10861
10885
|
}
|
|
@@ -11244,10 +11268,10 @@ ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
|
11244
11268
|
}
|
|
11245
11269
|
}
|
|
11246
11270
|
Buffer3.prototype._isBuffer = true;
|
|
11247
|
-
function swap(b, n,
|
|
11271
|
+
function swap(b, n, m) {
|
|
11248
11272
|
var i = b[n];
|
|
11249
|
-
b[n] = b[
|
|
11250
|
-
b[
|
|
11273
|
+
b[n] = b[m];
|
|
11274
|
+
b[m] = i;
|
|
11251
11275
|
}
|
|
11252
11276
|
Buffer3.prototype.swap16 = function swap16() {
|
|
11253
11277
|
var len = this.length;
|
|
@@ -12248,14 +12272,14 @@ ieee754.write = function(buffer2, value, offset, isLE, mLen, nBytes) {
|
|
|
12248
12272
|
return byteArray;
|
|
12249
12273
|
}
|
|
12250
12274
|
function utf16leToBytes(str, units) {
|
|
12251
|
-
var
|
|
12275
|
+
var c2, hi, lo;
|
|
12252
12276
|
var byteArray = [];
|
|
12253
12277
|
for (var i = 0; i < str.length; ++i) {
|
|
12254
12278
|
if ((units -= 2) < 0)
|
|
12255
12279
|
break;
|
|
12256
|
-
|
|
12257
|
-
hi =
|
|
12258
|
-
lo =
|
|
12280
|
+
c2 = str.charCodeAt(i);
|
|
12281
|
+
hi = c2 >> 8;
|
|
12282
|
+
lo = c2 % 256;
|
|
12259
12283
|
byteArray.push(lo);
|
|
12260
12284
|
byteArray.push(hi);
|
|
12261
12285
|
}
|
|
@@ -12982,13 +13006,13 @@ function setupFinderPattern(matrix, version2) {
|
|
|
12982
13006
|
for (var r = -1; r <= 7; r++) {
|
|
12983
13007
|
if (row + r <= -1 || size <= row + r)
|
|
12984
13008
|
continue;
|
|
12985
|
-
for (var
|
|
12986
|
-
if (col +
|
|
13009
|
+
for (var c2 = -1; c2 <= 7; c2++) {
|
|
13010
|
+
if (col + c2 <= -1 || size <= col + c2)
|
|
12987
13011
|
continue;
|
|
12988
|
-
if (r >= 0 && r <= 6 && (
|
|
12989
|
-
matrix.set(row + r, col +
|
|
13012
|
+
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) {
|
|
13013
|
+
matrix.set(row + r, col + c2, true, true);
|
|
12990
13014
|
} else {
|
|
12991
|
-
matrix.set(row + r, col +
|
|
13015
|
+
matrix.set(row + r, col + c2, false, true);
|
|
12992
13016
|
}
|
|
12993
13017
|
}
|
|
12994
13018
|
}
|
|
@@ -13008,11 +13032,11 @@ function setupAlignmentPattern(matrix, version2) {
|
|
|
13008
13032
|
var row = pos[i][0];
|
|
13009
13033
|
var col = pos[i][1];
|
|
13010
13034
|
for (var r = -2; r <= 2; r++) {
|
|
13011
|
-
for (var
|
|
13012
|
-
if (r === -2 || r === 2 ||
|
|
13013
|
-
matrix.set(row + r, col +
|
|
13035
|
+
for (var c2 = -2; c2 <= 2; c2++) {
|
|
13036
|
+
if (r === -2 || r === 2 || c2 === -2 || c2 === 2 || r === 0 && c2 === 0) {
|
|
13037
|
+
matrix.set(row + r, col + c2, true, true);
|
|
13014
13038
|
} else {
|
|
13015
|
-
matrix.set(row + r, col +
|
|
13039
|
+
matrix.set(row + r, col + c2, false, true);
|
|
13016
13040
|
}
|
|
13017
13041
|
}
|
|
13018
13042
|
}
|
|
@@ -13063,13 +13087,13 @@ function setupData(matrix, data) {
|
|
|
13063
13087
|
if (col === 6)
|
|
13064
13088
|
col--;
|
|
13065
13089
|
while (true) {
|
|
13066
|
-
for (var
|
|
13067
|
-
if (!matrix.isReserved(row, col -
|
|
13090
|
+
for (var c2 = 0; c2 < 2; c2++) {
|
|
13091
|
+
if (!matrix.isReserved(row, col - c2)) {
|
|
13068
13092
|
var dark = false;
|
|
13069
13093
|
if (byteIndex < data.length) {
|
|
13070
13094
|
dark = (data[byteIndex] >>> bitIndex & 1) === 1;
|
|
13071
13095
|
}
|
|
13072
|
-
matrix.set(row, col -
|
|
13096
|
+
matrix.set(row, col - c2, dark);
|
|
13073
13097
|
bitIndex--;
|
|
13074
13098
|
if (bitIndex === -1) {
|
|
13075
13099
|
byteIndex++;
|
|
@@ -13228,8 +13252,8 @@ var utils = {};
|
|
|
13228
13252
|
throw new Error("Invalid hex color: " + hex);
|
|
13229
13253
|
}
|
|
13230
13254
|
if (hexCode.length === 3 || hexCode.length === 4) {
|
|
13231
|
-
hexCode = Array.prototype.concat.apply([], hexCode.map(function(
|
|
13232
|
-
return [
|
|
13255
|
+
hexCode = Array.prototype.concat.apply([], hexCode.map(function(c2) {
|
|
13256
|
+
return [c2, c2];
|
|
13233
13257
|
}));
|
|
13234
13258
|
}
|
|
13235
13259
|
if (hexCode.length === 6)
|
|
@@ -13473,7 +13497,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
13473
13497
|
setup(__props, { emit }) {
|
|
13474
13498
|
const attrs = useAttrs();
|
|
13475
13499
|
const { state, send: send2 } = useAuth();
|
|
13476
|
-
const actorState = computed(() =>
|
|
13500
|
+
const actorState = computed(() => q(state.value));
|
|
13477
13501
|
let qrCode = reactive({
|
|
13478
13502
|
qrCodeImageSource: "",
|
|
13479
13503
|
isLoading: true
|
|
@@ -13495,9 +13519,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
13495
13519
|
qrCode.isLoading = false;
|
|
13496
13520
|
}
|
|
13497
13521
|
});
|
|
13498
|
-
const backSignInText = computed(() =>
|
|
13499
|
-
const confirmText = computed(() =>
|
|
13500
|
-
const codeText = computed(() =>
|
|
13522
|
+
const backSignInText = computed(() => lt("Back to Sign In"));
|
|
13523
|
+
const confirmText = computed(() => lt("Confirm"));
|
|
13524
|
+
const codeText = computed(() => lt("Code"));
|
|
13501
13525
|
const onInput = (e2) => {
|
|
13502
13526
|
const { name, value } = e2.target;
|
|
13503
13527
|
send2({
|
|
@@ -13696,13 +13720,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13696
13720
|
setup(__props, { emit }) {
|
|
13697
13721
|
const attrs = useAttrs();
|
|
13698
13722
|
const { state, send: send2 } = useAuth();
|
|
13699
|
-
const
|
|
13700
|
-
const
|
|
13701
|
-
const
|
|
13702
|
-
const
|
|
13703
|
-
const
|
|
13704
|
-
const
|
|
13705
|
-
const
|
|
13723
|
+
const props = useAuthenticator();
|
|
13724
|
+
const actorState = computed(() => q(state.value));
|
|
13725
|
+
const actorContext = computed(() => Vr(state.value));
|
|
13726
|
+
const changePasswordLabel = computed(() => lt("Change Password"));
|
|
13727
|
+
const changingPasswordLabel = computed(() => lt("Changing"));
|
|
13728
|
+
const backSignInText = computed(() => lt("Back to Sign In"));
|
|
13729
|
+
const passwordLabel = computed(() => lt("Password"));
|
|
13730
|
+
const confirmPasswordLabel = computed(() => lt("Confirm Password"));
|
|
13706
13731
|
const onHaveAccountClicked = () => {
|
|
13707
13732
|
if (attrs == null ? void 0 : attrs.onHaveAccountClicked) {
|
|
13708
13733
|
emit("haveAccountClicked");
|
|
@@ -13733,6 +13758,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13733
13758
|
data: { name, value }
|
|
13734
13759
|
});
|
|
13735
13760
|
};
|
|
13761
|
+
function onBlur(e2) {
|
|
13762
|
+
const { name } = e2.target;
|
|
13763
|
+
props.updateBlur({ name });
|
|
13764
|
+
}
|
|
13736
13765
|
return (_ctx, _cache) => {
|
|
13737
13766
|
const _component_base_heading = _sfc_main$e;
|
|
13738
13767
|
const _component_base_wrapper = __unplugin_components_2;
|
|
@@ -13782,7 +13811,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13782
13811
|
name: "password",
|
|
13783
13812
|
label: unref(passwordLabel),
|
|
13784
13813
|
autocomplete: "new-password",
|
|
13785
|
-
ariainvalid: !!unref(actorContext).validationError["confirm_password"]
|
|
13814
|
+
ariainvalid: !!unref(actorContext).validationError["confirm_password"],
|
|
13815
|
+
onBlur
|
|
13786
13816
|
}, null, 8, ["label", "ariainvalid"])
|
|
13787
13817
|
]),
|
|
13788
13818
|
_: 1
|
|
@@ -13796,7 +13826,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13796
13826
|
name: "confirm_password",
|
|
13797
13827
|
label: unref(confirmPasswordLabel),
|
|
13798
13828
|
autocomplete: "new-password",
|
|
13799
|
-
ariainvalid: !!unref(actorContext).validationError["confirm_password"]
|
|
13829
|
+
ariainvalid: !!unref(actorContext).validationError["confirm_password"],
|
|
13830
|
+
onBlur
|
|
13800
13831
|
}, null, 8, ["label", "ariainvalid"])
|
|
13801
13832
|
]),
|
|
13802
13833
|
_: 1
|
|
@@ -13812,7 +13843,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
13812
13843
|
!!unref(actorContext).validationError["confirm_password"] ? (openBlock(), createBlock(_component_base_box, {
|
|
13813
13844
|
key: 0,
|
|
13814
13845
|
"data-ui-error": "",
|
|
13815
|
-
role: "alert"
|
|
13846
|
+
role: "alert",
|
|
13847
|
+
"data-variation": "error",
|
|
13848
|
+
class: "amplify-text"
|
|
13816
13849
|
}, {
|
|
13817
13850
|
default: withCtx(() => [
|
|
13818
13851
|
createTextVNode(toDisplayString(unref(actorContext).validationError["confirm_password"]), 1)
|
|
@@ -13881,12 +13914,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
13881
13914
|
const attrs = useAttrs();
|
|
13882
13915
|
const { state, send: send2 } = useAuthenticator();
|
|
13883
13916
|
const { error: error2, isPending } = toRefs(useAuthenticator());
|
|
13884
|
-
const { label } =
|
|
13917
|
+
const { label } = xa(state.context);
|
|
13885
13918
|
const labelText = `Enter your ${label.toLowerCase()}`;
|
|
13886
|
-
const backSignInText = computed(() =>
|
|
13887
|
-
const resetPasswordHeading = computed(() =>
|
|
13888
|
-
const resetPasswordText = computed(() =>
|
|
13889
|
-
const enterUsernameText = computed(() =>
|
|
13919
|
+
const backSignInText = computed(() => lt("Back to Sign In"));
|
|
13920
|
+
const resetPasswordHeading = computed(() => lt("Reset your password"));
|
|
13921
|
+
const resetPasswordText = computed(() => lt("Send Code"));
|
|
13922
|
+
const enterUsernameText = computed(() => lt(labelText));
|
|
13890
13923
|
const onResetPasswordSubmit = (e2) => {
|
|
13891
13924
|
if (attrs == null ? void 0 : attrs.onResetPasswordSubmit) {
|
|
13892
13925
|
emit("resetPasswordSubmit", e2);
|
|
@@ -14050,16 +14083,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14050
14083
|
emits: ["confirmResetPasswordSubmit", "backToSignInClicked"],
|
|
14051
14084
|
setup(__props, { emit }) {
|
|
14052
14085
|
const { state, send: send2 } = useAuth();
|
|
14086
|
+
const props = useAuthenticator();
|
|
14053
14087
|
const attrs = useAttrs();
|
|
14054
|
-
const actorState = computed(() =>
|
|
14055
|
-
const actorContext = computed(() =>
|
|
14056
|
-
const resendCodeText = computed(() =>
|
|
14057
|
-
const confirmationCodeText = computed(() =>
|
|
14058
|
-
const confirmResetPasswordHeading = computed(() =>
|
|
14059
|
-
const confirmResetPasswordText = computed(() =>
|
|
14060
|
-
const codeText = computed(() =>
|
|
14061
|
-
const newPasswordLabel = computed(() =>
|
|
14062
|
-
const confirmPasswordLabel = computed(() =>
|
|
14088
|
+
const actorState = computed(() => q(state.value));
|
|
14089
|
+
const actorContext = computed(() => Vr(state.value));
|
|
14090
|
+
const resendCodeText = computed(() => lt("Resend Code"));
|
|
14091
|
+
const confirmationCodeText = computed(() => lt("Confirmation Code"));
|
|
14092
|
+
const confirmResetPasswordHeading = computed(() => lt("Reset your Password"));
|
|
14093
|
+
const confirmResetPasswordText = computed(() => lt("Submit"));
|
|
14094
|
+
const codeText = computed(() => lt("Code"));
|
|
14095
|
+
const newPasswordLabel = computed(() => lt("New password"));
|
|
14096
|
+
const confirmPasswordLabel = computed(() => lt("Confirm Password"));
|
|
14063
14097
|
const onConfirmResetPasswordSubmit = (e2) => {
|
|
14064
14098
|
if (attrs == null ? void 0 : attrs.onConfirmResetPasswordSubmit) {
|
|
14065
14099
|
emit("confirmResetPasswordSubmit", e2);
|
|
@@ -14086,6 +14120,10 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14086
14120
|
data: { name, value }
|
|
14087
14121
|
});
|
|
14088
14122
|
};
|
|
14123
|
+
function onBlur(e2) {
|
|
14124
|
+
const { name } = e2.target;
|
|
14125
|
+
props.updateBlur({ name });
|
|
14126
|
+
}
|
|
14089
14127
|
return (_ctx, _cache) => {
|
|
14090
14128
|
const _component_base_heading = _sfc_main$e;
|
|
14091
14129
|
const _component_base_label = __unplugin_components_0;
|
|
@@ -14169,7 +14207,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14169
14207
|
name: "password",
|
|
14170
14208
|
label: unref(newPasswordLabel),
|
|
14171
14209
|
autocomplete: "current-password",
|
|
14172
|
-
ariainvalid: !!unref(actorContext).validationError["confirm_password"]
|
|
14210
|
+
ariainvalid: !!unref(actorContext).validationError["confirm_password"],
|
|
14211
|
+
onBlur
|
|
14173
14212
|
}, null, 8, ["label", "ariainvalid"])
|
|
14174
14213
|
]),
|
|
14175
14214
|
_: 1
|
|
@@ -14183,7 +14222,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14183
14222
|
name: "confirm_password",
|
|
14184
14223
|
label: unref(confirmPasswordLabel),
|
|
14185
14224
|
autocomplete: "new-password",
|
|
14186
|
-
ariainvalid: !!unref(actorContext).validationError["confirm_password"]
|
|
14225
|
+
ariainvalid: !!unref(actorContext).validationError["confirm_password"],
|
|
14226
|
+
onBlur
|
|
14187
14227
|
}, null, 8, ["label", "ariainvalid"])
|
|
14188
14228
|
]),
|
|
14189
14229
|
_: 1
|
|
@@ -14281,12 +14321,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
14281
14321
|
setup(__props, { emit }) {
|
|
14282
14322
|
const attrs = useAttrs();
|
|
14283
14323
|
const { state, send: send2 } = useAuth();
|
|
14284
|
-
const actorState = computed(() =>
|
|
14324
|
+
const actorState = computed(() => q(state.value));
|
|
14285
14325
|
const unverifiedAttributes = actorState.value.context.unverifiedAttributes;
|
|
14286
|
-
const verifyHeading = computed(() =>
|
|
14287
|
-
const skipText = computed(() =>
|
|
14288
|
-
const verifyText = computed(() =>
|
|
14289
|
-
const verifyContactText = computed(() =>
|
|
14326
|
+
const verifyHeading = computed(() => lt("Account recovery requires verified contact information"));
|
|
14327
|
+
const skipText = computed(() => lt("Skip"));
|
|
14328
|
+
const verifyText = computed(() => lt("Verify"));
|
|
14329
|
+
const verifyContactText = computed(() => lt("Verify Contact"));
|
|
14290
14330
|
const onInput = (e2) => {
|
|
14291
14331
|
const { name, value } = e2.target;
|
|
14292
14332
|
send2({
|
|
@@ -14394,7 +14434,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
14394
14434
|
}),
|
|
14395
14435
|
createVNode(_component_base_text, { class: "amplify-text amplify-radio__label" }, {
|
|
14396
14436
|
default: withCtx(() => [
|
|
14397
|
-
createTextVNode(toDisplayString(unref(
|
|
14437
|
+
createTextVNode(toDisplayString(unref(z)[key].label), 1)
|
|
14398
14438
|
]),
|
|
14399
14439
|
_: 2
|
|
14400
14440
|
}, 1024)
|
|
@@ -14477,13 +14517,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14477
14517
|
setup(__props, { emit }) {
|
|
14478
14518
|
const attrs = useAttrs();
|
|
14479
14519
|
const { state, send: send2 } = useAuth();
|
|
14480
|
-
const actorState = computed(() =>
|
|
14481
|
-
const verifyHeading = computed(() =>
|
|
14482
|
-
const skipText = computed(() =>
|
|
14483
|
-
computed(() =>
|
|
14484
|
-
const confirmationCodeText = computed(() =>
|
|
14485
|
-
const codeText = computed(() =>
|
|
14486
|
-
const submitText = computed(() =>
|
|
14520
|
+
const actorState = computed(() => q(state.value));
|
|
14521
|
+
const verifyHeading = computed(() => lt("Account recovery requires verified contact information"));
|
|
14522
|
+
const skipText = computed(() => lt("Skip"));
|
|
14523
|
+
computed(() => lt("Verify"));
|
|
14524
|
+
const confirmationCodeText = computed(() => lt("Confirmation Code"));
|
|
14525
|
+
const codeText = computed(() => lt("Code"));
|
|
14526
|
+
const submitText = computed(() => lt("Submit"));
|
|
14487
14527
|
const onInput = (e2) => {
|
|
14488
14528
|
const { name, value } = e2.target;
|
|
14489
14529
|
send2({
|
|
@@ -14679,7 +14719,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14679
14719
|
setup(__props, { emit }) {
|
|
14680
14720
|
const { initialState, loginMechanisms, variation, services, signUpAttributes, socialProviders } = __props;
|
|
14681
14721
|
const attrs = useAttrs();
|
|
14682
|
-
const machine =
|
|
14722
|
+
const machine = rn({
|
|
14683
14723
|
initialState,
|
|
14684
14724
|
loginMechanisms,
|
|
14685
14725
|
services,
|
|
@@ -14691,7 +14731,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14691
14731
|
});
|
|
14692
14732
|
const { state, send: send2 } = useActor(service2);
|
|
14693
14733
|
useAuth(service2);
|
|
14694
|
-
const actorState = computed(() =>
|
|
14734
|
+
const actorState = computed(() => q(state.value));
|
|
14695
14735
|
const signInComponent = ref();
|
|
14696
14736
|
const signUpComponent = ref();
|
|
14697
14737
|
const confirmSignUpComponent = ref();
|
|
@@ -14702,8 +14742,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14702
14742
|
const confirmResetPasswordComponent = ref();
|
|
14703
14743
|
const verifyUserComponent = ref();
|
|
14704
14744
|
const confirmVerifyUserComponent = ref();
|
|
14705
|
-
const signInLabel = computed(() =>
|
|
14706
|
-
const createAccountLabel = computed(() =>
|
|
14745
|
+
const signInLabel = computed(() => lt("Create Account"));
|
|
14746
|
+
const createAccountLabel = computed(() => lt("Sign In"));
|
|
14707
14747
|
const onSignInSubmitI = (e2) => {
|
|
14708
14748
|
var _a;
|
|
14709
14749
|
if (attrs == null ? void 0 : attrs.onSignInSubmit) {
|
|
@@ -14778,7 +14818,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14778
14818
|
const user = ref(null);
|
|
14779
14819
|
const signOut = ref();
|
|
14780
14820
|
watch(() => state.value.context, () => {
|
|
14781
|
-
const { user: u, signOut: s } =
|
|
14821
|
+
const { user: u, signOut: s } = ka({
|
|
14782
14822
|
send: send2,
|
|
14783
14823
|
state: state.value
|
|
14784
14824
|
});
|
|
@@ -14786,7 +14826,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14786
14826
|
signOut.value = s;
|
|
14787
14827
|
});
|
|
14788
14828
|
return (_ctx, _cache) => {
|
|
14789
|
-
var _a, _b, _c, _d,
|
|
14829
|
+
var _a, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n;
|
|
14790
14830
|
const _component_base_two_tab_item = _sfc_main$g;
|
|
14791
14831
|
const _component_base_two_tabs = __unplugin_components_1;
|
|
14792
14832
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
@@ -14844,7 +14884,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14844
14884
|
]),
|
|
14845
14885
|
_: 3
|
|
14846
14886
|
}, 512)) : createCommentVNode("", true),
|
|
14847
|
-
((
|
|
14887
|
+
((_e2 = unref(actorState)) == null ? void 0 : _e2.matches("signUp")) ? (openBlock(), createBlock(_sfc_main$h, {
|
|
14848
14888
|
key: 2,
|
|
14849
14889
|
onSignUpSubmit: onSignUpSubmitI,
|
|
14850
14890
|
ref: (_value, _refs) => {
|