@incodetech/web 0.0.0-dev-20260421-a263f79 → 0.0.0-dev-20260421-aeeff81
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/authentication/authentication.es.js +1 -1
- package/dist/{documentCapture-D_e9m4o5.js → documentCapture-CpF6kCf5.js} +2 -2
- package/dist/email/email.es.js +1 -1
- package/dist/{extensibility-Cv7u7Q9B.js → extensibility-CfU7fTHy.js} +1 -1
- package/dist/extensibility.es.js +2 -2
- package/dist/flow/flow.es.js +1 -1
- package/dist/flow/styles.css +12 -8
- package/dist/id/id.es.js +2 -2
- package/dist/selfie/selfie.es.js +1 -1
- package/dist/selfie/styles.css +12 -8
- package/dist/{tutorial-DtReTwNS.js → tutorial-vB6h6wPK.js} +221 -209
- package/dist/{useModuleLoader-BQ-yrxuR.js → useModuleLoader-J38RiuMO.js} +2 -2
- package/dist/workflow/styles.css +12 -8
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
|
@@ -11,10 +11,10 @@ import { m as x, p as S } from "./icons-Cj7hJH7f.js";
|
|
|
11
11
|
import { t as C } from "./successIcon-C4GI_9SU.js";
|
|
12
12
|
import { t as w } from "./modal-CfWL75re.js";
|
|
13
13
|
import { t as ee } from "./numberedStep-CR4w_BpM.js";
|
|
14
|
-
import { getBrowser as T, getDeviceClass as
|
|
14
|
+
import { getBrowser as T, getDeviceClass as te } from "@incodetech/core/device";
|
|
15
15
|
import "@incodetech/core/camera";
|
|
16
16
|
//#region src/shared/errorContent/errorContent.tsx
|
|
17
|
-
var
|
|
17
|
+
var E = ({ title: t, description: n, attemptsRemaining: i, onButtonClick: a, "data-testid": s }) => {
|
|
18
18
|
let { t: c } = e(), u = i <= 0, p = o(null);
|
|
19
19
|
return r(() => {
|
|
20
20
|
p.current?.focus();
|
|
@@ -59,7 +59,7 @@ var D = ({ title: t, description: n, attemptsRemaining: i, onButtonClick: a, "da
|
|
|
59
59
|
})
|
|
60
60
|
})
|
|
61
61
|
});
|
|
62
|
-
},
|
|
62
|
+
}, D = ({ isOpen: e = !1, onClose: t, labelledById: n, children: i }) => {
|
|
63
63
|
if (r(() => {
|
|
64
64
|
if (!e) return;
|
|
65
65
|
let n = document.body.style.overflow, r = (e) => {
|
|
@@ -88,14 +88,14 @@ var D = ({ title: t, description: n, attemptsRemaining: i, onButtonClick: a, "da
|
|
|
88
88
|
})
|
|
89
89
|
})
|
|
90
90
|
});
|
|
91
|
-
},
|
|
92
|
-
function
|
|
93
|
-
return
|
|
91
|
+
}, O = null;
|
|
92
|
+
function k() {
|
|
93
|
+
return O || (O = new Promise((e, t) => {
|
|
94
94
|
let n = document.createElement("script");
|
|
95
95
|
n.src = "https://cdn.jsdelivr.net/npm/lottie-web@5.13.0/build/player/lottie_light.min.js", n.onload = () => e(window.lottie), n.onerror = t, document.head.appendChild(n);
|
|
96
|
-
}),
|
|
96
|
+
}), O);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function A({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: i = !1, style: a, className: s, onComplete: c }) {
|
|
99
99
|
let u = o(null), d = i ? !1 : n, f = o({
|
|
100
100
|
container: u.current,
|
|
101
101
|
renderer: "svg",
|
|
@@ -118,7 +118,7 @@ function j({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: i = !1,
|
|
|
118
118
|
]), r(() => {
|
|
119
119
|
if (!u.current) return;
|
|
120
120
|
let e;
|
|
121
|
-
return
|
|
121
|
+
return k().then((t) => {
|
|
122
122
|
e = t.loadAnimation(f.current), i && (e.setDirection(-1), e.goToAndPlay(e.totalFrames - 1, !0)), c && e.addEventListener("complete", c);
|
|
123
123
|
}), () => {
|
|
124
124
|
e && (c && e.removeEventListener("complete", c), e.destroy());
|
|
@@ -132,7 +132,7 @@ function j({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: i = !1,
|
|
|
132
132
|
}
|
|
133
133
|
//#endregion
|
|
134
134
|
//#region src/shared/baseTutorial/baseTutorial.tsx
|
|
135
|
-
var
|
|
135
|
+
var j = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle: i, onContinue: a, buttonText: o, disclaimerText: s, isLoading: c }) => /* @__PURE__ */ l(f, {
|
|
136
136
|
className: p("IncodeTutorialPage", e),
|
|
137
137
|
title: n,
|
|
138
138
|
titleId: r,
|
|
@@ -142,7 +142,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
142
142
|
children: /* @__PURE__ */ l("div", {
|
|
143
143
|
class: "IncodeBaseTutorialAnimationContainer",
|
|
144
144
|
"aria-hidden": "true",
|
|
145
|
-
children: /* @__PURE__ */ l(
|
|
145
|
+
children: /* @__PURE__ */ l(A, {
|
|
146
146
|
animationData: t,
|
|
147
147
|
className: "IncodeBaseTutorialAnimation"
|
|
148
148
|
})
|
|
@@ -159,13 +159,13 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
159
159
|
children: o
|
|
160
160
|
})
|
|
161
161
|
})] })]
|
|
162
|
-
}),
|
|
162
|
+
}), ne = ({ i18nKey: e }) => /* @__PURE__ */ l("span", {
|
|
163
163
|
class: "IncodeBoldWithArrow",
|
|
164
164
|
children: /* @__PURE__ */ l(t, {
|
|
165
165
|
i18nKey: e,
|
|
166
166
|
arrowClass: "IncodeBoldWithArrowIcon"
|
|
167
167
|
})
|
|
168
|
-
}),
|
|
168
|
+
}), M = (e) => /* @__PURE__ */ l("svg", {
|
|
169
169
|
width: 38,
|
|
170
170
|
height: 38,
|
|
171
171
|
viewBox: "0 0 38 38",
|
|
@@ -181,7 +181,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
181
181
|
d: "M19 24C20.3807 24 21.5 25.1193 21.5 26.5C21.5 27.8807 20.3807 29 19 29C17.6193 29 16.5 27.8807 16.5 26.5C16.5 25.1193 17.6193 24 19 24ZM19 17C20.3807 17 21.5 18.1193 21.5 19.5C21.5 20.8807 20.3807 22 19 22C17.6193 22 16.5 20.8807 16.5 19.5C16.5 18.1193 17.6193 17 19 17ZM19 10C20.3807 10 21.5 11.1193 21.5 12.5C21.5 13.8807 20.3807 15 19 15C17.6193 15 16.5 13.8807 16.5 12.5C16.5 11.1193 17.6193 10 19 10Z",
|
|
182
182
|
fill: "#646464"
|
|
183
183
|
})]
|
|
184
|
-
}),
|
|
184
|
+
}), N = (e) => /* @__PURE__ */ l("svg", {
|
|
185
185
|
width: 38,
|
|
186
186
|
height: 38,
|
|
187
187
|
viewBox: "0 0 38 38",
|
|
@@ -210,7 +210,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
210
210
|
})
|
|
211
211
|
}) })
|
|
212
212
|
]
|
|
213
|
-
}),
|
|
213
|
+
}), P = (e) => /* @__PURE__ */ l("svg", {
|
|
214
214
|
width: 38,
|
|
215
215
|
height: 38,
|
|
216
216
|
viewBox: "0 0 38 38",
|
|
@@ -275,7 +275,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
275
275
|
fill: "white"
|
|
276
276
|
})
|
|
277
277
|
})] })]
|
|
278
|
-
}),
|
|
278
|
+
}), F = (e) => /* @__PURE__ */ l("svg", {
|
|
279
279
|
width: 38,
|
|
280
280
|
height: 38,
|
|
281
281
|
viewBox: "0 0 38 38",
|
|
@@ -360,7 +360,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
360
360
|
})
|
|
361
361
|
] })
|
|
362
362
|
]
|
|
363
|
-
}),
|
|
363
|
+
}), I = (e) => /* @__PURE__ */ l("svg", {
|
|
364
364
|
width: 40,
|
|
365
365
|
height: 40,
|
|
366
366
|
viewBox: "0 0 40 40",
|
|
@@ -705,7 +705,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
705
705
|
})
|
|
706
706
|
] })
|
|
707
707
|
]
|
|
708
|
-
}),
|
|
708
|
+
}), re = (e) => /* @__PURE__ */ l("svg", {
|
|
709
709
|
width: 40,
|
|
710
710
|
height: 40,
|
|
711
711
|
viewBox: "0 0 40 40",
|
|
@@ -721,7 +721,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
721
721
|
d: "M20 12C24.4183 12 28 15.5817 28 20C28 24.4183 24.4183 28 20 28C15.5817 28 12 24.4183 12 20C12 15.5817 15.5817 12 20 12ZM20 13C16.134 13 13 16.134 13 20C13 23.866 16.134 27 20 27C23.866 27 27 23.866 27 20C27 16.134 23.866 13 20 13ZM20 15C22.7614 15 25 17.2386 25 20C25 22.7614 22.7614 25 20 25C17.2386 25 15 22.7614 15 20C15 17.2386 17.2386 15 20 15Z",
|
|
722
722
|
fill: "#646464"
|
|
723
723
|
})]
|
|
724
|
-
}),
|
|
724
|
+
}), L = (e) => /* @__PURE__ */ l("svg", {
|
|
725
725
|
width: 32,
|
|
726
726
|
height: 32,
|
|
727
727
|
viewBox: "0 0 32 32",
|
|
@@ -754,7 +754,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
754
754
|
})
|
|
755
755
|
]
|
|
756
756
|
})
|
|
757
|
-
}),
|
|
757
|
+
}), R = (e) => /* @__PURE__ */ l("svg", {
|
|
758
758
|
width: 32,
|
|
759
759
|
height: 32,
|
|
760
760
|
viewBox: "0 0 32 32",
|
|
@@ -775,7 +775,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
775
775
|
})
|
|
776
776
|
})
|
|
777
777
|
})
|
|
778
|
-
}),
|
|
778
|
+
}), ie = (e) => /* @__PURE__ */ l("svg", {
|
|
779
779
|
width: 32,
|
|
780
780
|
height: 32,
|
|
781
781
|
viewBox: "0 0 32 32",
|
|
@@ -792,7 +792,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
792
792
|
fill: "currentColor"
|
|
793
793
|
})
|
|
794
794
|
})
|
|
795
|
-
}),
|
|
795
|
+
}), ae = (e) => /* @__PURE__ */ l("svg", {
|
|
796
796
|
xmlns: "http://www.w3.org/2000/svg",
|
|
797
797
|
width: 40,
|
|
798
798
|
height: 40,
|
|
@@ -815,7 +815,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
815
815
|
fill: "#4D5CC1"
|
|
816
816
|
})
|
|
817
817
|
]
|
|
818
|
-
}),
|
|
818
|
+
}), oe = (e) => /* @__PURE__ */ l("svg", {
|
|
819
819
|
width: 40,
|
|
820
820
|
height: 40,
|
|
821
821
|
viewBox: "0 0 40 40",
|
|
@@ -844,7 +844,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
844
844
|
fill: "white"
|
|
845
845
|
})
|
|
846
846
|
]
|
|
847
|
-
}),
|
|
847
|
+
}), z = (e) => /* @__PURE__ */ l("svg", {
|
|
848
848
|
width: 38,
|
|
849
849
|
height: 38,
|
|
850
850
|
viewBox: "0 0 38 38",
|
|
@@ -984,7 +984,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
984
984
|
})
|
|
985
985
|
})
|
|
986
986
|
] })]
|
|
987
|
-
}),
|
|
987
|
+
}), B = (e) => /* @__PURE__ */ l("svg", {
|
|
988
988
|
width: 40,
|
|
989
989
|
height: 40,
|
|
990
990
|
viewBox: "0 0 40 40",
|
|
@@ -1044,7 +1044,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1044
1044
|
})]
|
|
1045
1045
|
})] })
|
|
1046
1046
|
]
|
|
1047
|
-
}),
|
|
1047
|
+
}), V = (e) => /* @__PURE__ */ l("svg", {
|
|
1048
1048
|
width: 38,
|
|
1049
1049
|
height: 38,
|
|
1050
1050
|
viewBox: "0 0 38 38",
|
|
@@ -1100,7 +1100,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1100
1100
|
})]
|
|
1101
1101
|
})] })
|
|
1102
1102
|
]
|
|
1103
|
-
}),
|
|
1103
|
+
}), H = (e) => /* @__PURE__ */ l("svg", {
|
|
1104
1104
|
width: 38,
|
|
1105
1105
|
height: 38,
|
|
1106
1106
|
viewBox: "0 0 38 38",
|
|
@@ -1161,7 +1161,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1161
1161
|
fill: "white"
|
|
1162
1162
|
})
|
|
1163
1163
|
})] })]
|
|
1164
|
-
}),
|
|
1164
|
+
}), U = (e) => /* @__PURE__ */ l("svg", {
|
|
1165
1165
|
width: 40,
|
|
1166
1166
|
height: 40,
|
|
1167
1167
|
viewBox: "0 0 40 40",
|
|
@@ -1188,7 +1188,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1188
1188
|
fill: "white"
|
|
1189
1189
|
})
|
|
1190
1190
|
]
|
|
1191
|
-
}),
|
|
1191
|
+
}), W = (e) => /* @__PURE__ */ l("svg", {
|
|
1192
1192
|
width: 40,
|
|
1193
1193
|
height: 40,
|
|
1194
1194
|
viewBox: "0 0 40 40",
|
|
@@ -1217,7 +1217,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1217
1217
|
mask: "url(#path-2-inside-1_6845_3468)"
|
|
1218
1218
|
})
|
|
1219
1219
|
]
|
|
1220
|
-
}),
|
|
1220
|
+
}), G = (e) => /* @__PURE__ */ l("svg", {
|
|
1221
1221
|
width: 40,
|
|
1222
1222
|
height: 40,
|
|
1223
1223
|
viewBox: "0 0 40 40",
|
|
@@ -1244,7 +1244,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1244
1244
|
fill: "#006AFF"
|
|
1245
1245
|
})
|
|
1246
1246
|
]
|
|
1247
|
-
}),
|
|
1247
|
+
}), K = (e) => /* @__PURE__ */ l("svg", {
|
|
1248
1248
|
width: 40,
|
|
1249
1249
|
height: 40,
|
|
1250
1250
|
viewBox: "0 0 40 40",
|
|
@@ -1467,7 +1467,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1467
1467
|
})
|
|
1468
1468
|
}) })
|
|
1469
1469
|
]
|
|
1470
|
-
}),
|
|
1470
|
+
}), q = (e) => /* @__PURE__ */ l("svg", {
|
|
1471
1471
|
width: 40,
|
|
1472
1472
|
height: 40,
|
|
1473
1473
|
viewBox: "0 0 40 40",
|
|
@@ -1483,30 +1483,30 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1483
1483
|
d: "M20.0002 10C19.2117 10 18.4515 10.0997 17.7258 10.2686C17.5744 10.3039 17.4378 10.3853 17.3348 10.5017C17.2317 10.618 17.1674 10.7635 17.1506 10.918L16.9914 12.3691C16.9393 12.8447 16.6647 13.2654 16.2502 13.5049C15.8366 13.7439 15.3345 13.7703 14.8967 13.5781H14.8957L13.5627 12.9912C13.4205 12.9286 13.2624 12.9118 13.1102 12.9429C12.958 12.974 12.8193 13.0517 12.7131 13.165C11.6768 14.2698 10.8815 15.6075 10.4299 17.1006C10.3849 17.2492 10.3871 17.4081 10.4363 17.5554C10.4854 17.7027 10.5791 17.8311 10.7043 17.9229L11.8869 18.79C12.2731 19.074 12.5002 19.5214 12.5002 20C12.5002 20.4789 12.2731 20.9267 11.8869 21.21L10.7043 22.0762C10.5791 22.168 10.4854 22.2964 10.4363 22.4437C10.3871 22.5909 10.3849 22.7498 10.4299 22.8984C10.8815 24.3913 11.6762 25.7301 12.7131 26.835C12.8194 26.9482 12.9582 27.0256 13.1104 27.0566C13.2626 27.0875 13.4206 27.0705 13.5627 27.0078L14.8957 26.4209C15.3337 26.2283 15.8363 26.256 16.2502 26.4951C16.6647 26.7346 16.9393 27.1553 16.9914 27.6309L17.1506 29.082C17.1675 29.2362 17.2318 29.3814 17.3346 29.4975C17.4375 29.6136 17.5738 29.695 17.7248 29.7305C18.4509 29.8999 19.2117 30 20.0002 30C20.7886 30 21.5489 29.9003 22.2746 29.7314C22.4259 29.6961 22.5626 29.6147 22.6656 29.4983C22.7687 29.382 22.833 29.2365 22.8498 29.082L23.009 27.6309C23.061 27.1553 23.3357 26.7346 23.7502 26.4951C24.1638 26.2561 24.6659 26.2287 25.1037 26.4209L26.4377 27.0078C26.5798 27.0705 26.7378 27.0875 26.89 27.0566C27.0422 27.0256 27.181 26.9482 27.2873 26.835C28.3236 25.7302 29.1189 24.3915 29.5705 22.8984C29.6155 22.7498 29.6133 22.5909 29.5641 22.4437C29.515 22.2964 29.4213 22.168 29.2961 22.0762L28.1135 21.21C27.7273 20.9267 27.5002 20.4789 27.5002 20C27.5002 19.5211 27.7273 19.0733 28.1135 18.79L29.2961 17.9238C29.4213 17.832 29.515 17.7036 29.5641 17.5563C29.6133 17.4091 29.6155 17.2502 29.5705 17.1016C29.1189 15.6085 28.3236 14.2698 27.2873 13.165C27.181 13.0518 27.0422 12.9744 26.89 12.9434C26.7378 12.9125 26.5798 12.9295 26.4377 12.9922L25.1037 13.5791C24.6659 13.7713 24.1638 13.7439 23.7502 13.5049C23.3357 13.2654 23.061 12.8447 23.009 12.3691L22.8498 10.918C22.8329 10.7638 22.7686 10.6186 22.6657 10.5025C22.5629 10.3864 22.4266 10.305 22.2756 10.2695C21.5495 10.1001 20.7886 10 20.0002 10ZM20.0002 11.5C20.4873 11.5 20.9552 11.5874 21.424 11.6699L21.5178 12.5322C21.6217 13.4817 22.1737 14.3262 23.0002 14.8037C23.8273 15.2816 24.8342 15.3365 25.7082 14.9521L26.5012 14.6035C27.1101 15.3347 27.5922 16.1606 27.9289 17.0654L27.2258 17.5811C26.456 18.1458 26.0002 19.0449 26.0002 20C26.0002 20.9551 26.456 21.8542 27.2258 22.4189L27.9289 22.9346C27.5922 23.8394 27.1101 24.6653 26.5012 25.3965L25.7082 25.0479C24.8342 24.6635 23.8273 24.7184 23.0002 25.1963C22.1737 25.6738 21.6217 26.5183 21.5178 27.4678L21.424 28.3301C20.9552 28.4123 20.4871 28.5 20.0002 28.5C19.513 28.5 19.0452 28.4126 18.5764 28.3301L18.4826 27.4678C18.3787 26.5183 17.8267 25.6738 17.0002 25.1963C16.1731 24.7184 15.1661 24.6635 14.2922 25.0479L13.4992 25.3965C12.8902 24.6654 12.4082 23.8395 12.0715 22.9346L12.7746 22.4189C13.5444 21.8542 14.0002 20.9551 14.0002 20C14.0002 19.0449 13.5441 18.1452 12.7746 17.5801L12.0715 17.0645C12.4084 16.1593 12.8909 15.3339 13.5002 14.6025L14.2922 14.9512C15.1661 15.3355 16.1731 15.2816 17.0002 14.8037C17.8267 14.3262 18.3787 13.4817 18.4826 12.5322L18.5764 11.6699C19.0452 11.5877 19.5133 11.5 20.0002 11.5ZM20.0002 16C17.7999 16 16.0002 17.7997 16.0002 20C16.0002 22.2003 17.7999 24 20.0002 24C22.2005 24 24.0002 22.2003 24.0002 20C24.0002 17.7997 22.2005 16 20.0002 16ZM20.0002 17.5C21.3898 17.5 22.5002 18.6104 22.5002 20C22.5002 21.3896 21.3898 22.5 20.0002 22.5C18.6106 22.5 17.5002 21.3896 17.5002 20C17.5002 18.6104 18.6106 17.5 20.0002 17.5Z",
|
|
1484
1484
|
fill: "#646464"
|
|
1485
1485
|
})]
|
|
1486
|
-
}),
|
|
1486
|
+
}), se = {
|
|
1487
1487
|
ios: {
|
|
1488
1488
|
safari: [
|
|
1489
1489
|
{
|
|
1490
1490
|
uuid: "1",
|
|
1491
|
-
icon:
|
|
1491
|
+
icon: V,
|
|
1492
1492
|
instructionKey: "open",
|
|
1493
1493
|
boldKey: "idv2.permissions.denied.settings"
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
1496
|
uuid: "2",
|
|
1497
|
-
icon:
|
|
1497
|
+
icon: B,
|
|
1498
1498
|
instructionKey: "scroll",
|
|
1499
1499
|
boldKey: "idv2.permissions.denied.yourBrowser"
|
|
1500
1500
|
},
|
|
1501
1501
|
{
|
|
1502
1502
|
uuid: "3",
|
|
1503
|
-
icon:
|
|
1503
|
+
icon: z,
|
|
1504
1504
|
instructionKey: "tap",
|
|
1505
1505
|
boldKey: "idv2.permissions.denied.camera"
|
|
1506
1506
|
},
|
|
1507
1507
|
{
|
|
1508
1508
|
uuid: "4",
|
|
1509
|
-
icon:
|
|
1509
|
+
icon: H,
|
|
1510
1510
|
instructionKey: "changeTo",
|
|
1511
1511
|
boldKey: "idv2.permissions.denied.allow",
|
|
1512
1512
|
additionalTextKey: "idv2.permissions.denied.or",
|
|
@@ -1514,7 +1514,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1514
1514
|
},
|
|
1515
1515
|
{
|
|
1516
1516
|
uuid: "5",
|
|
1517
|
-
icon:
|
|
1517
|
+
icon: B,
|
|
1518
1518
|
instructionKey: "returnPress",
|
|
1519
1519
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1520
1520
|
}
|
|
@@ -1522,25 +1522,25 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1522
1522
|
chrome: [
|
|
1523
1523
|
{
|
|
1524
1524
|
uuid: "1",
|
|
1525
|
-
icon:
|
|
1525
|
+
icon: V,
|
|
1526
1526
|
instructionKey: "open",
|
|
1527
1527
|
boldKey: "idv2.permissions.denied.settings"
|
|
1528
1528
|
},
|
|
1529
1529
|
{
|
|
1530
1530
|
uuid: "2",
|
|
1531
|
-
icon:
|
|
1531
|
+
icon: F,
|
|
1532
1532
|
instructionKey: "scroll",
|
|
1533
1533
|
boldKey: "idv2.permissions.denied.yourBrowser"
|
|
1534
1534
|
},
|
|
1535
1535
|
{
|
|
1536
1536
|
uuid: "3",
|
|
1537
|
-
icon:
|
|
1537
|
+
icon: z,
|
|
1538
1538
|
instructionKey: "tap",
|
|
1539
1539
|
boldKey: "idv2.permissions.denied.camera"
|
|
1540
1540
|
},
|
|
1541
1541
|
{
|
|
1542
1542
|
uuid: "4",
|
|
1543
|
-
icon:
|
|
1543
|
+
icon: H,
|
|
1544
1544
|
instructionKey: "changeTo",
|
|
1545
1545
|
boldKey: "idv2.permissions.denied.allow",
|
|
1546
1546
|
additionalTextKey: "idv2.permissions.denied.or",
|
|
@@ -1548,7 +1548,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1548
1548
|
},
|
|
1549
1549
|
{
|
|
1550
1550
|
uuid: "5",
|
|
1551
|
-
icon:
|
|
1551
|
+
icon: F,
|
|
1552
1552
|
instructionKey: "returnPress",
|
|
1553
1553
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1554
1554
|
}
|
|
@@ -1556,25 +1556,25 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1556
1556
|
edge: [
|
|
1557
1557
|
{
|
|
1558
1558
|
uuid: "1",
|
|
1559
|
-
icon:
|
|
1559
|
+
icon: V,
|
|
1560
1560
|
instructionKey: "open",
|
|
1561
1561
|
boldKey: "idv2.permissions.denied.settings"
|
|
1562
1562
|
},
|
|
1563
1563
|
{
|
|
1564
1564
|
uuid: "2",
|
|
1565
|
-
icon:
|
|
1565
|
+
icon: F,
|
|
1566
1566
|
instructionKey: "scroll",
|
|
1567
1567
|
boldKey: "idv2.permissions.denied.yourBrowser"
|
|
1568
1568
|
},
|
|
1569
1569
|
{
|
|
1570
1570
|
uuid: "3",
|
|
1571
|
-
icon:
|
|
1571
|
+
icon: z,
|
|
1572
1572
|
instructionKey: "tap",
|
|
1573
1573
|
boldKey: "idv2.permissions.denied.camera"
|
|
1574
1574
|
},
|
|
1575
1575
|
{
|
|
1576
1576
|
uuid: "4",
|
|
1577
|
-
icon:
|
|
1577
|
+
icon: H,
|
|
1578
1578
|
instructionKey: "changeTo",
|
|
1579
1579
|
boldKey: "idv2.permissions.denied.allow",
|
|
1580
1580
|
additionalTextKey: "idv2.permissions.denied.or",
|
|
@@ -1582,7 +1582,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1582
1582
|
},
|
|
1583
1583
|
{
|
|
1584
1584
|
uuid: "5",
|
|
1585
|
-
icon:
|
|
1585
|
+
icon: F,
|
|
1586
1586
|
instructionKey: "returnPress",
|
|
1587
1587
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1588
1588
|
}
|
|
@@ -1590,25 +1590,25 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1590
1590
|
firefox: [
|
|
1591
1591
|
{
|
|
1592
1592
|
uuid: "1",
|
|
1593
|
-
icon:
|
|
1593
|
+
icon: V,
|
|
1594
1594
|
instructionKey: "open",
|
|
1595
1595
|
boldKey: "idv2.permissions.denied.settings"
|
|
1596
1596
|
},
|
|
1597
1597
|
{
|
|
1598
1598
|
uuid: "2",
|
|
1599
|
-
icon:
|
|
1599
|
+
icon: I,
|
|
1600
1600
|
instructionKey: "scroll",
|
|
1601
1601
|
boldKey: "idv2.permissions.denied.yourBrowser"
|
|
1602
1602
|
},
|
|
1603
1603
|
{
|
|
1604
1604
|
uuid: "3",
|
|
1605
|
-
icon:
|
|
1605
|
+
icon: z,
|
|
1606
1606
|
instructionKey: "tap",
|
|
1607
1607
|
boldKey: "idv2.permissions.denied.camera"
|
|
1608
1608
|
},
|
|
1609
1609
|
{
|
|
1610
1610
|
uuid: "4",
|
|
1611
|
-
icon:
|
|
1611
|
+
icon: H,
|
|
1612
1612
|
instructionKey: "changeTo",
|
|
1613
1613
|
boldKey: "idv2.permissions.denied.allow",
|
|
1614
1614
|
additionalTextKey: "idv2.permissions.denied.or",
|
|
@@ -1616,7 +1616,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1616
1616
|
},
|
|
1617
1617
|
{
|
|
1618
1618
|
uuid: "5",
|
|
1619
|
-
icon:
|
|
1619
|
+
icon: I,
|
|
1620
1620
|
instructionKey: "returnPress",
|
|
1621
1621
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1622
1622
|
}
|
|
@@ -1624,25 +1624,25 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1624
1624
|
opera: [
|
|
1625
1625
|
{
|
|
1626
1626
|
uuid: "1",
|
|
1627
|
-
icon:
|
|
1627
|
+
icon: V,
|
|
1628
1628
|
instructionKey: "open",
|
|
1629
1629
|
boldKey: "idv2.permissions.denied.settings"
|
|
1630
1630
|
},
|
|
1631
1631
|
{
|
|
1632
1632
|
uuid: "2",
|
|
1633
|
-
icon:
|
|
1633
|
+
icon: K,
|
|
1634
1634
|
instructionKey: "scroll",
|
|
1635
1635
|
boldKey: "idv2.permissions.denied.yourBrowser"
|
|
1636
1636
|
},
|
|
1637
1637
|
{
|
|
1638
1638
|
uuid: "3",
|
|
1639
|
-
icon:
|
|
1639
|
+
icon: z,
|
|
1640
1640
|
instructionKey: "tap",
|
|
1641
1641
|
boldKey: "idv2.permissions.denied.camera"
|
|
1642
1642
|
},
|
|
1643
1643
|
{
|
|
1644
1644
|
uuid: "4",
|
|
1645
|
-
icon:
|
|
1645
|
+
icon: H,
|
|
1646
1646
|
instructionKey: "changeTo",
|
|
1647
1647
|
boldKey: "idv2.permissions.denied.allow",
|
|
1648
1648
|
additionalTextKey: "idv2.permissions.denied.or",
|
|
@@ -1650,7 +1650,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1650
1650
|
},
|
|
1651
1651
|
{
|
|
1652
1652
|
uuid: "5",
|
|
1653
|
-
icon:
|
|
1653
|
+
icon: K,
|
|
1654
1654
|
instructionKey: "returnPress",
|
|
1655
1655
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1656
1656
|
}
|
|
@@ -1658,25 +1658,25 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1658
1658
|
other: [
|
|
1659
1659
|
{
|
|
1660
1660
|
uuid: "1",
|
|
1661
|
-
icon:
|
|
1661
|
+
icon: V,
|
|
1662
1662
|
instructionKey: "open",
|
|
1663
1663
|
boldKey: "idv2.permissions.denied.settings"
|
|
1664
1664
|
},
|
|
1665
1665
|
{
|
|
1666
1666
|
uuid: "2",
|
|
1667
|
-
icon:
|
|
1667
|
+
icon: F,
|
|
1668
1668
|
instructionKey: "scroll",
|
|
1669
1669
|
boldKey: "idv2.permissions.denied.yourBrowser"
|
|
1670
1670
|
},
|
|
1671
1671
|
{
|
|
1672
1672
|
uuid: "3",
|
|
1673
|
-
icon:
|
|
1673
|
+
icon: z,
|
|
1674
1674
|
instructionKey: "tap",
|
|
1675
1675
|
boldKey: "idv2.permissions.denied.camera"
|
|
1676
1676
|
},
|
|
1677
1677
|
{
|
|
1678
1678
|
uuid: "4",
|
|
1679
|
-
icon:
|
|
1679
|
+
icon: H,
|
|
1680
1680
|
instructionKey: "changeTo",
|
|
1681
1681
|
boldKey: "idv2.permissions.denied.allow",
|
|
1682
1682
|
additionalTextKey: "idv2.permissions.denied.or",
|
|
@@ -1684,7 +1684,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1684
1684
|
},
|
|
1685
1685
|
{
|
|
1686
1686
|
uuid: "5",
|
|
1687
|
-
icon:
|
|
1687
|
+
icon: F,
|
|
1688
1688
|
instructionKey: "returnPress",
|
|
1689
1689
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1690
1690
|
}
|
|
@@ -1694,26 +1694,26 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1694
1694
|
chrome: [
|
|
1695
1695
|
{
|
|
1696
1696
|
uuid: "1",
|
|
1697
|
-
icon:
|
|
1697
|
+
icon: M,
|
|
1698
1698
|
instructionKey: "tap",
|
|
1699
1699
|
boldKey: "idv2.permissions.denied.dots",
|
|
1700
1700
|
additionalTextKey: "idv2.permissions.denied.topRight"
|
|
1701
1701
|
},
|
|
1702
1702
|
{
|
|
1703
1703
|
uuid: "2",
|
|
1704
|
-
icon:
|
|
1704
|
+
icon: N,
|
|
1705
1705
|
instructionKey: "tap",
|
|
1706
1706
|
boldKey: "idv2.permissions.denied.siteSettings"
|
|
1707
1707
|
},
|
|
1708
1708
|
{
|
|
1709
1709
|
uuid: "3",
|
|
1710
|
-
icon:
|
|
1710
|
+
icon: P,
|
|
1711
1711
|
instructionKey: "tap",
|
|
1712
1712
|
boldKey: "idv2.permissions.denied.cameraAllow"
|
|
1713
1713
|
},
|
|
1714
1714
|
{
|
|
1715
1715
|
uuid: "4",
|
|
1716
|
-
icon:
|
|
1716
|
+
icon: F,
|
|
1717
1717
|
instructionKey: "returnPress",
|
|
1718
1718
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1719
1719
|
}
|
|
@@ -1721,26 +1721,26 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1721
1721
|
firefox: [
|
|
1722
1722
|
{
|
|
1723
1723
|
uuid: "1",
|
|
1724
|
-
icon:
|
|
1724
|
+
icon: M,
|
|
1725
1725
|
instructionKey: "tap",
|
|
1726
1726
|
boldKey: "idv2.permissions.denied.dots",
|
|
1727
1727
|
additionalTextKey: "idv2.permissions.denied.topRight"
|
|
1728
1728
|
},
|
|
1729
1729
|
{
|
|
1730
1730
|
uuid: "2",
|
|
1731
|
-
icon:
|
|
1731
|
+
icon: q,
|
|
1732
1732
|
instructionKey: "tap",
|
|
1733
1733
|
boldKey: "idv2.permissions.denied.siteSettings"
|
|
1734
1734
|
},
|
|
1735
1735
|
{
|
|
1736
1736
|
uuid: "3",
|
|
1737
|
-
icon:
|
|
1737
|
+
icon: re,
|
|
1738
1738
|
instructionKey: "tap",
|
|
1739
1739
|
boldKey: "idv2.permissions.denied.cameraAllow"
|
|
1740
1740
|
},
|
|
1741
1741
|
{
|
|
1742
1742
|
uuid: "4",
|
|
1743
|
-
icon:
|
|
1743
|
+
icon: I,
|
|
1744
1744
|
instructionKey: "returnPress",
|
|
1745
1745
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1746
1746
|
}
|
|
@@ -1748,26 +1748,26 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1748
1748
|
edge: [
|
|
1749
1749
|
{
|
|
1750
1750
|
uuid: "1",
|
|
1751
|
-
icon:
|
|
1751
|
+
icon: M,
|
|
1752
1752
|
instructionKey: "tap",
|
|
1753
1753
|
boldKey: "idv2.permissions.denied.dots",
|
|
1754
1754
|
additionalTextKey: "idv2.permissions.denied.topRight"
|
|
1755
1755
|
},
|
|
1756
1756
|
{
|
|
1757
1757
|
uuid: "2",
|
|
1758
|
-
icon:
|
|
1758
|
+
icon: N,
|
|
1759
1759
|
instructionKey: "tap",
|
|
1760
1760
|
boldKey: "idv2.permissions.denied.siteSettings"
|
|
1761
1761
|
},
|
|
1762
1762
|
{
|
|
1763
1763
|
uuid: "3",
|
|
1764
|
-
icon:
|
|
1764
|
+
icon: P,
|
|
1765
1765
|
instructionKey: "tap",
|
|
1766
1766
|
boldKey: "idv2.permissions.denied.cameraAllow"
|
|
1767
1767
|
},
|
|
1768
1768
|
{
|
|
1769
1769
|
uuid: "4",
|
|
1770
|
-
icon:
|
|
1770
|
+
icon: F,
|
|
1771
1771
|
instructionKey: "returnPress",
|
|
1772
1772
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1773
1773
|
}
|
|
@@ -1775,26 +1775,26 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1775
1775
|
opera: [
|
|
1776
1776
|
{
|
|
1777
1777
|
uuid: "1",
|
|
1778
|
-
icon:
|
|
1778
|
+
icon: N,
|
|
1779
1779
|
instructionKey: "open",
|
|
1780
1780
|
boldKey: "idv2.permissions.denied.settingsApp",
|
|
1781
1781
|
additionalTextKey: "idv2.permissions.denied.onDevice"
|
|
1782
1782
|
},
|
|
1783
1783
|
{
|
|
1784
1784
|
uuid: "2",
|
|
1785
|
-
icon:
|
|
1785
|
+
icon: U,
|
|
1786
1786
|
instructionKey: "tap",
|
|
1787
1787
|
boldKey: "idv2.permissions.denied.opera.appsOpera"
|
|
1788
1788
|
},
|
|
1789
1789
|
{
|
|
1790
1790
|
uuid: "3",
|
|
1791
|
-
icon:
|
|
1791
|
+
icon: W,
|
|
1792
1792
|
instructionKey: "tap",
|
|
1793
1793
|
boldKey: "idv2.permissions.denied.persmissionsCamera"
|
|
1794
1794
|
},
|
|
1795
1795
|
{
|
|
1796
1796
|
uuid: "4",
|
|
1797
|
-
icon:
|
|
1797
|
+
icon: G,
|
|
1798
1798
|
instructionKey: "setTo",
|
|
1799
1799
|
boldKey: "idv2.permissions.allowOnlyWhileUsingTheApp",
|
|
1800
1800
|
additionalTextKey: "idv2.permissions.denied.or",
|
|
@@ -1802,7 +1802,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1802
1802
|
},
|
|
1803
1803
|
{
|
|
1804
1804
|
uuid: "5",
|
|
1805
|
-
icon:
|
|
1805
|
+
icon: K,
|
|
1806
1806
|
instructionKey: "returnPress",
|
|
1807
1807
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1808
1808
|
}
|
|
@@ -1810,26 +1810,26 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1810
1810
|
other: [
|
|
1811
1811
|
{
|
|
1812
1812
|
uuid: "1",
|
|
1813
|
-
icon:
|
|
1813
|
+
icon: M,
|
|
1814
1814
|
instructionKey: "tap",
|
|
1815
1815
|
boldKey: "idv2.permissions.denied.dots",
|
|
1816
1816
|
additionalTextKey: "idv2.permissions.denied.topRight"
|
|
1817
1817
|
},
|
|
1818
1818
|
{
|
|
1819
1819
|
uuid: "2",
|
|
1820
|
-
icon:
|
|
1820
|
+
icon: N,
|
|
1821
1821
|
instructionKey: "tap",
|
|
1822
1822
|
boldKey: "idv2.permissions.denied.siteSettings"
|
|
1823
1823
|
},
|
|
1824
1824
|
{
|
|
1825
1825
|
uuid: "3",
|
|
1826
|
-
icon:
|
|
1826
|
+
icon: P,
|
|
1827
1827
|
instructionKey: "tap",
|
|
1828
1828
|
boldKey: "idv2.permissions.denied.cameraAllow"
|
|
1829
1829
|
},
|
|
1830
1830
|
{
|
|
1831
1831
|
uuid: "4",
|
|
1832
|
-
icon:
|
|
1832
|
+
icon: F,
|
|
1833
1833
|
instructionKey: "returnPress",
|
|
1834
1834
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1835
1835
|
}
|
|
@@ -1837,7 +1837,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1837
1837
|
samsung_browser: [
|
|
1838
1838
|
{
|
|
1839
1839
|
uuid: "1",
|
|
1840
|
-
icon:
|
|
1840
|
+
icon: q,
|
|
1841
1841
|
instructionKey: "tap",
|
|
1842
1842
|
boldKey: "≡<arrow/>",
|
|
1843
1843
|
additionalTextKey: "",
|
|
@@ -1845,32 +1845,32 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1845
1845
|
},
|
|
1846
1846
|
{
|
|
1847
1847
|
uuid: "2",
|
|
1848
|
-
icon:
|
|
1848
|
+
icon: q,
|
|
1849
1849
|
instructionKey: "tap",
|
|
1850
1850
|
boldKey: "idv2.permissions.denied.sitesAndDownloads"
|
|
1851
1851
|
},
|
|
1852
1852
|
{
|
|
1853
1853
|
uuid: "3",
|
|
1854
|
-
icon:
|
|
1854
|
+
icon: q,
|
|
1855
1855
|
instructionKey: "tap",
|
|
1856
1856
|
boldKey: "idv2.permissions.denied.sitePermissions"
|
|
1857
1857
|
},
|
|
1858
1858
|
{
|
|
1859
1859
|
uuid: "4",
|
|
1860
|
-
icon:
|
|
1860
|
+
icon: oe,
|
|
1861
1861
|
instructionKey: "tap",
|
|
1862
1862
|
boldKey: "idv2.permissions.denied.cameraFindSiteAllow"
|
|
1863
1863
|
},
|
|
1864
1864
|
{
|
|
1865
1865
|
uuid: "5",
|
|
1866
|
-
icon:
|
|
1866
|
+
icon: ae,
|
|
1867
1867
|
instructionKey: "returnPress",
|
|
1868
1868
|
boldKey: "idv2.permissions.denied.refreshPage"
|
|
1869
1869
|
}
|
|
1870
1870
|
]
|
|
1871
1871
|
},
|
|
1872
1872
|
desktop: null
|
|
1873
|
-
},
|
|
1873
|
+
}, ce = (e, t) => {
|
|
1874
1874
|
let n = [
|
|
1875
1875
|
e(`idv2.permissions.denied.${t.instructionKey}`),
|
|
1876
1876
|
e(t.boldKey),
|
|
@@ -1878,8 +1878,8 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1878
1878
|
t.secondBoldKey ? e(`idv2.permissions.${t.secondBoldKey}`) : ""
|
|
1879
1879
|
].filter(Boolean).join(" ");
|
|
1880
1880
|
return new DOMParser().parseFromString(n, "text/html").body.textContent || "";
|
|
1881
|
-
},
|
|
1882
|
-
let { t: n } = e(), r = T(), i =
|
|
1881
|
+
}, le = ({ platform: t }) => {
|
|
1882
|
+
let { t: n } = e(), r = T(), i = se[t]?.[r] ?? [];
|
|
1883
1883
|
return /* @__PURE__ */ l("div", {
|
|
1884
1884
|
class: "IncodeDeniedInstructionsContainer",
|
|
1885
1885
|
"data-testid": "denied-instructions-mobile",
|
|
@@ -1890,7 +1890,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1890
1890
|
children: [
|
|
1891
1891
|
/* @__PURE__ */ l("span", {
|
|
1892
1892
|
class: "IncodeSrOnly",
|
|
1893
|
-
children:
|
|
1893
|
+
children: ce(n, t)
|
|
1894
1894
|
}),
|
|
1895
1895
|
/* @__PURE__ */ l("div", {
|
|
1896
1896
|
class: "IncodeDeniedStepIconContainer",
|
|
@@ -1908,8 +1908,8 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1908
1908
|
children: [
|
|
1909
1909
|
n(`idv2.permissions.denied.${t.instructionKey}`),
|
|
1910
1910
|
" ",
|
|
1911
|
-
/* @__PURE__ */ l(
|
|
1912
|
-
(t.additionalTextKey || t.secondBoldKey) && /* @__PURE__ */ l(
|
|
1911
|
+
/* @__PURE__ */ l(ne, { i18nKey: t.boldKey }),
|
|
1912
|
+
(t.additionalTextKey || t.secondBoldKey) && /* @__PURE__ */ l(ue, {
|
|
1913
1913
|
labelKey: t.additionalTextKey,
|
|
1914
1914
|
boldLabelKey: t.secondBoldKey
|
|
1915
1915
|
})
|
|
@@ -1921,7 +1921,7 @@ var M = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
|
|
|
1921
1921
|
})
|
|
1922
1922
|
});
|
|
1923
1923
|
};
|
|
1924
|
-
function
|
|
1924
|
+
function ue({ labelKey: t, boldLabelKey: r }) {
|
|
1925
1925
|
let { t: i } = e();
|
|
1926
1926
|
return /* @__PURE__ */ l("span", {
|
|
1927
1927
|
class: "IncodeDeniedStepTextSilent IncodeDeniedStepSubtext",
|
|
@@ -1934,7 +1934,7 @@ function ce({ labelKey: t, boldLabelKey: r }) {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
//#endregion
|
|
1936
1936
|
//#region src/shared/permissions/camera/deniedDesktop.tsx
|
|
1937
|
-
var
|
|
1937
|
+
var de = (e) => {
|
|
1938
1938
|
let t = [
|
|
1939
1939
|
`idv2.permissions.denied.${e}.firstStep`,
|
|
1940
1940
|
`idv2.permissions.denied.${e}.secondStep`,
|
|
@@ -1943,8 +1943,8 @@ var le = (e) => {
|
|
|
1943
1943
|
`idv2.permissions.denied.${e}.fifthStep`
|
|
1944
1944
|
];
|
|
1945
1945
|
return e === "safari" && t.push(`idv2.permissions.denied.${e}.sixthStep`), t;
|
|
1946
|
-
},
|
|
1947
|
-
let { t } = e(), n =
|
|
1946
|
+
}, J = (e) => new DOMParser().parseFromString(e, "text/html").body.textContent || "", fe = (e, t) => e(t).split(/(<strong>[^<]+<\/strong>)/g).map((e, t) => e.startsWith("<strong>") && e.endsWith("</strong>") ? /* @__PURE__ */ l("strong", { children: e.slice(8, -9) }, t) : e), pe = () => {
|
|
1947
|
+
let { t } = e(), n = de(T());
|
|
1948
1948
|
return /* @__PURE__ */ l("div", {
|
|
1949
1949
|
class: "IncodeDeniedInstructionsContainer",
|
|
1950
1950
|
"data-testid": "denied-instructions-desktop",
|
|
@@ -1953,7 +1953,7 @@ var le = (e) => {
|
|
|
1953
1953
|
role: "list",
|
|
1954
1954
|
children: n.map((e, r) => /* @__PURE__ */ l("li", {
|
|
1955
1955
|
class: "IncodeDeniedDesktopStep",
|
|
1956
|
-
"aria-label":
|
|
1956
|
+
"aria-label": J(t(e)),
|
|
1957
1957
|
children: [/* @__PURE__ */ l("div", {
|
|
1958
1958
|
class: "IncodeDeniedDesktopStepNumberColumn",
|
|
1959
1959
|
"aria-hidden": "true",
|
|
@@ -1961,15 +1961,15 @@ var le = (e) => {
|
|
|
1961
1961
|
}), /* @__PURE__ */ l("p", {
|
|
1962
1962
|
class: "IncodeDeniedStepText",
|
|
1963
1963
|
"aria-hidden": "true",
|
|
1964
|
-
children:
|
|
1964
|
+
children: fe(t, e)
|
|
1965
1965
|
})]
|
|
1966
1966
|
}, e))
|
|
1967
1967
|
})
|
|
1968
1968
|
});
|
|
1969
|
-
},
|
|
1970
|
-
let e =
|
|
1971
|
-
return e === "desktop" ? /* @__PURE__ */ l(
|
|
1972
|
-
},
|
|
1969
|
+
}, me = () => {
|
|
1970
|
+
let e = te();
|
|
1971
|
+
return e === "desktop" ? /* @__PURE__ */ l(pe, {}) : /* @__PURE__ */ l(le, { platform: e });
|
|
1972
|
+
}, he = ({ onRefresh: t, "data-testid": n, "data-permission-status": i }) => {
|
|
1973
1973
|
let { t: a } = e(), s = o(null);
|
|
1974
1974
|
return r(() => {
|
|
1975
1975
|
s.current?.focus();
|
|
@@ -1985,26 +1985,26 @@ var le = (e) => {
|
|
|
1985
1985
|
ref: s,
|
|
1986
1986
|
tabIndex: -1,
|
|
1987
1987
|
children: a("idv2.permissions.denied.title")
|
|
1988
|
-
}), /* @__PURE__ */ l(
|
|
1988
|
+
}), /* @__PURE__ */ l(me, {})]
|
|
1989
1989
|
}), /* @__PURE__ */ l(b, {
|
|
1990
1990
|
onClick: t,
|
|
1991
1991
|
children: a("idv2.permissions.denied.refreshPage")
|
|
1992
1992
|
})]
|
|
1993
1993
|
});
|
|
1994
|
-
},
|
|
1994
|
+
}, ge = [
|
|
1995
1995
|
{
|
|
1996
|
-
icon:
|
|
1996
|
+
icon: R,
|
|
1997
1997
|
textKey: "idv2.permissions.learnMorePage.instructions.1"
|
|
1998
1998
|
},
|
|
1999
1999
|
{
|
|
2000
|
-
icon:
|
|
2000
|
+
icon: L,
|
|
2001
2001
|
textKey: "idv2.permissions.learnMorePage.instructions.2"
|
|
2002
2002
|
},
|
|
2003
2003
|
{
|
|
2004
|
-
icon:
|
|
2004
|
+
icon: ie,
|
|
2005
2005
|
textKey: "idv2.permissions.learnMorePage.instructions.4"
|
|
2006
2006
|
}
|
|
2007
|
-
],
|
|
2007
|
+
], _e = ({ onAllowPermissions: t, onQuitProcess: n, "data-testid": i, "data-permission-status": a }) => {
|
|
2008
2008
|
let { t: s } = e(), c = o(null);
|
|
2009
2009
|
return r(() => {
|
|
2010
2010
|
c.current?.focus();
|
|
@@ -2026,7 +2026,7 @@ var le = (e) => {
|
|
|
2026
2026
|
}), /* @__PURE__ */ l("ul", {
|
|
2027
2027
|
class: "IncodeLearnMoreInstructionsContainer",
|
|
2028
2028
|
role: "list",
|
|
2029
|
-
children:
|
|
2029
|
+
children: ge.map(({ icon: e, ...t }) => /* @__PURE__ */ l("li", {
|
|
2030
2030
|
class: "IncodeLearnMoreInstruction",
|
|
2031
2031
|
children: [/* @__PURE__ */ l("div", {
|
|
2032
2032
|
class: "IncodeLearnMoreInstructionIcon",
|
|
@@ -2053,11 +2053,11 @@ var le = (e) => {
|
|
|
2053
2053
|
};
|
|
2054
2054
|
//#endregion
|
|
2055
2055
|
//#region src/shared/permissions/camera/permissionsBottomSheet.tsx
|
|
2056
|
-
function
|
|
2056
|
+
function ve({ onAllowPermissions: t, onDenyPermissions: n }) {
|
|
2057
2057
|
let { t: i } = e(), a = o(null);
|
|
2058
2058
|
return r(() => {
|
|
2059
2059
|
a.current?.focus();
|
|
2060
|
-
}, []), /* @__PURE__ */ l(
|
|
2060
|
+
}, []), /* @__PURE__ */ l(D, {
|
|
2061
2061
|
isOpen: !0,
|
|
2062
2062
|
labelledById: "permissions-dialog-title",
|
|
2063
2063
|
children: /* @__PURE__ */ l("div", {
|
|
@@ -2090,22 +2090,22 @@ function ge({ onAllowPermissions: t, onDenyPermissions: n }) {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
//#endregion
|
|
2092
2092
|
//#region src/shared/permissions/camera/permissions.tsx
|
|
2093
|
-
var
|
|
2093
|
+
var ye = ({ manager: t, permissionStatus: n }) => {
|
|
2094
2094
|
let r = u(), { t: i } = e();
|
|
2095
2095
|
if (n === "requesting") return /* @__PURE__ */ l(y, { className: "IncodePermissionsRequestingPage" });
|
|
2096
|
-
if (n === "learnMore") return /* @__PURE__ */ l(
|
|
2096
|
+
if (n === "learnMore") return /* @__PURE__ */ l(_e, {
|
|
2097
2097
|
onAllowPermissions: () => t.requestPermission(),
|
|
2098
2098
|
onQuitProcess: () => t.close(),
|
|
2099
2099
|
"data-testid": "permissions",
|
|
2100
2100
|
"data-permission-status": "learnMore"
|
|
2101
2101
|
});
|
|
2102
|
-
if (n === "denied") return /* @__PURE__ */ l(
|
|
2102
|
+
if (n === "denied") return /* @__PURE__ */ l(he, {
|
|
2103
2103
|
onRefresh: () => window.location.reload(),
|
|
2104
2104
|
"data-testid": "permissions",
|
|
2105
2105
|
"data-permission-status": "denied"
|
|
2106
2106
|
});
|
|
2107
2107
|
let a = null;
|
|
2108
|
-
return a = r ? /* @__PURE__ */ l(
|
|
2108
|
+
return a = r ? /* @__PURE__ */ l(ve, {
|
|
2109
2109
|
onAllowPermissions: t.requestPermission,
|
|
2110
2110
|
onDenyPermissions: t.goToLearnMore
|
|
2111
2111
|
}) : /* @__PURE__ */ l(w.Root, {
|
|
@@ -2131,7 +2131,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2131
2131
|
"data-permission-status": n,
|
|
2132
2132
|
children: a
|
|
2133
2133
|
});
|
|
2134
|
-
},
|
|
2134
|
+
}, Y = ({ icon: e, title: t, className: n }) => {
|
|
2135
2135
|
let i = o(null);
|
|
2136
2136
|
return r(() => {
|
|
2137
2137
|
i.current?.focus();
|
|
@@ -2152,10 +2152,10 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2152
2152
|
]
|
|
2153
2153
|
})]
|
|
2154
2154
|
});
|
|
2155
|
-
},
|
|
2155
|
+
}, X = {
|
|
2156
2156
|
title: "Something went wrong",
|
|
2157
2157
|
description: "Please try again later"
|
|
2158
|
-
},
|
|
2158
|
+
}, be = {
|
|
2159
2159
|
MASK_ERROR: {
|
|
2160
2160
|
title: "notifications.mask",
|
|
2161
2161
|
description: "notifications.maskDescription"
|
|
@@ -2188,13 +2188,13 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2188
2188
|
title: "notifications.multiple",
|
|
2189
2189
|
description: "notifications.multipleDescription"
|
|
2190
2190
|
},
|
|
2191
|
-
TOO_BLURRY_ERROR:
|
|
2192
|
-
TOO_DARK_ERROR:
|
|
2193
|
-
SERVER_ERROR:
|
|
2194
|
-
FACE_CROPPING_FAILED:
|
|
2195
|
-
FACE_TOO_SMALL:
|
|
2196
|
-
PROCESSING_ERROR:
|
|
2197
|
-
BAD_REQUEST:
|
|
2191
|
+
TOO_BLURRY_ERROR: X,
|
|
2192
|
+
TOO_DARK_ERROR: X,
|
|
2193
|
+
SERVER_ERROR: X,
|
|
2194
|
+
FACE_CROPPING_FAILED: X,
|
|
2195
|
+
FACE_TOO_SMALL: X,
|
|
2196
|
+
PROCESSING_ERROR: X,
|
|
2197
|
+
BAD_REQUEST: X,
|
|
2198
2198
|
USER_IS_NOT_RECOGNIZED: {
|
|
2199
2199
|
title: "notifications.accessDenied",
|
|
2200
2200
|
description: "notifications.accessDeniedDescription"
|
|
@@ -2243,24 +2243,24 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2243
2243
|
title: "notifications.selfieImageLowQuality",
|
|
2244
2244
|
description: "notifications.selfieImageLowQualityDescription"
|
|
2245
2245
|
}
|
|
2246
|
-
},
|
|
2246
|
+
}, xe = /* @__PURE__ */ "LIVENESS_ERROR.BRIGHTNESS_ERROR.LENSES_ERROR.MASK_ERROR.CLOSED_EYES_ERROR.HEAD_COVER_ERROR.SERVER_ERROR.FACE_NOT_FOUND.MULTIPLE_FACES.TOO_BLURRY_ERROR.TOO_DARK_ERROR.USER_IS_NOT_RECOGNIZED.SPOOF_ATTEMPT_DETECTED.FACE_TOO_DARK.LENSES_DETECTED.FACE_MASK_DETECTED.CLOSED_EYES_DETECTED.HEAD_COVER_DETECTED.FACE_CROPPING_FAILED.FACE_TOO_SMALL.FACE_TOO_BLURRY.BAD_PHOTO_QUALITY.PROCESSING_ERROR.BAD_REQUEST.NONEXISTENT_CUSTOMER.HINT_NOT_PROVIDED.SELFIE_IMAGE_LOW_QUALITY".split("."), Se = (e) => {
|
|
2247
2247
|
let t = e.toUpperCase();
|
|
2248
2248
|
if (t.includes("HTTP 400") || t.includes("BAD_REQUEST")) return "BAD_REQUEST";
|
|
2249
2249
|
if (t.includes("HTTP 500") || t.includes("SERVER_ERROR")) return "SERVER_ERROR";
|
|
2250
|
-
for (let e of
|
|
2250
|
+
for (let e of xe) if (t.includes(e)) return e;
|
|
2251
2251
|
return null;
|
|
2252
|
-
},
|
|
2252
|
+
}, Z = ({ error: t, attemptsRemaining: n, onTryAgain: r }) => {
|
|
2253
2253
|
let { t: i } = e();
|
|
2254
2254
|
if (!t) return null;
|
|
2255
|
-
let { title: a, description: o } =
|
|
2256
|
-
return /* @__PURE__ */ l(
|
|
2255
|
+
let { title: a, description: o } = be[Se(t) ?? t] ?? X, s = i(a) ?? a, c = i(n <= 0 ? "notifications.selfieCaptureFailedDescription" : o);
|
|
2256
|
+
return /* @__PURE__ */ l(E, {
|
|
2257
2257
|
"data-testid": "face-capture-error-modal",
|
|
2258
2258
|
title: s,
|
|
2259
2259
|
description: c,
|
|
2260
2260
|
attemptsRemaining: n,
|
|
2261
2261
|
onButtonClick: r
|
|
2262
2262
|
});
|
|
2263
|
-
},
|
|
2263
|
+
}, Ce = () => /* @__PURE__ */ l("svg", {
|
|
2264
2264
|
width: "292",
|
|
2265
2265
|
height: "272",
|
|
2266
2266
|
viewBox: "0 0 292 272",
|
|
@@ -2273,51 +2273,61 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2273
2273
|
d: "M145.633 8.0625C115.606 8.06268 85.6206 26.5984 76.9712 54.293L76.771 54.9492C70.4539 76.1063 75.0139 100.802 76.8687 110.58L77.3628 113.188L75.1528 114.656C66.1187 120.66 63.5861 124.089 62.8472 126.92C62.4669 128.377 62.4644 130.035 62.8003 132.412C63.1635 134.983 63.7533 137.484 64.4233 141.347L64.5142 141.841C65.5056 146.956 68.1062 152.133 71.2749 156.618C74.5527 161.257 78.2056 164.826 80.7349 166.584L82.4517 167.777V169.869C82.4517 177.866 85.3476 186.144 89.6763 194.128C93.9906 202.085 99.5748 209.473 104.623 215.646L105.526 216.751V218.178C105.526 220.891 105.68 223.73 105.801 226.9C105.92 230.011 106.003 233.347 105.828 236.771C105.475 243.652 104.077 251.044 99.7446 258.227C91.1977 272.397 72.1081 284.401 31.8677 291.776L29.936 292.124C-41.1597 304.684 -61.4563 361.617 -63.2153 392.062H145.633V400.062H-71.3638L-71.3462 396.044C-71.2048 364.597 -50.9804 298.295 28.5444 284.246L30.4448 283.904C69.9919 276.654 86.1642 265.253 92.894 254.095C96.3216 248.412 97.5261 242.442 97.8374 236.362C97.9939 233.307 97.9241 230.262 97.8071 227.206C97.7111 224.697 97.5799 222.105 97.5396 219.615C92.5931 213.5 87.048 206.064 82.644 197.941C78.308 189.944 74.9442 181.04 74.5024 171.896C71.3932 169.387 67.8531 165.638 64.7417 161.234C61.1656 156.173 57.9337 149.942 56.6587 143.353L56.5415 142.714C55.9864 139.514 55.2491 136.155 54.8784 133.531C54.4806 130.715 54.3377 127.843 55.106 124.899C56.5344 119.427 60.7885 114.886 68.5259 109.489C66.4692 98.2995 62.7062 74.0938 69.106 52.6602L69.3345 51.9092C79.2266 20.2173 112.853 0.0626788 145.633 0.0625V8.0625ZM145.635 0.0625C178.415 0.0625 212.042 20.2172 221.934 51.9092L222.163 52.6602C228.562 74.0938 224.799 98.2996 222.743 109.489C230.48 114.886 234.734 119.427 236.163 124.899C236.931 127.843 236.788 130.715 236.39 133.531C236.019 136.155 235.282 139.514 234.727 142.714L234.61 143.353C233.335 149.942 230.103 156.173 226.527 161.234C223.415 165.638 219.875 169.387 216.766 171.896C216.324 181.04 212.961 189.944 208.625 197.941C204.221 206.064 198.676 213.5 193.729 219.615C193.689 222.105 193.557 224.697 193.461 227.206C193.344 230.262 193.275 233.307 193.431 236.362C193.742 242.442 194.947 248.412 198.375 254.095C205.104 265.253 221.277 276.654 260.824 283.904L262.724 284.246C342.249 298.294 362.473 364.597 362.615 396.044L362.632 400.062H145.635V392.062H354.484C352.725 361.616 332.429 304.683 261.333 292.124L259.401 291.776C219.161 284.401 200.071 272.397 191.524 258.227C187.192 251.044 185.793 243.652 185.441 236.771C185.266 233.347 185.348 230.011 185.467 226.9C185.589 223.73 185.743 220.891 185.743 218.178V216.751L186.646 215.646C191.694 209.473 197.278 202.085 201.592 194.128C205.921 186.144 208.817 177.866 208.817 169.869V167.777L210.534 166.584C213.063 164.826 216.716 161.257 219.994 156.618C223.162 152.133 225.763 146.956 226.754 141.841L226.845 141.347C227.515 137.484 228.105 134.983 228.468 132.412C228.804 130.034 228.802 128.377 228.421 126.92C227.682 124.089 225.15 120.66 216.116 114.656L213.906 113.188L214.4 110.58C216.255 100.802 220.815 76.1064 214.498 54.9492L214.297 54.293C205.648 26.5983 175.662 8.0625 145.635 8.0625V0.0625Z",
|
|
2274
2274
|
fill: "white"
|
|
2275
2275
|
})]
|
|
2276
|
-
}),
|
|
2276
|
+
}), Q = "var(--surface-neutral-100)", we = (e) => {
|
|
2277
2277
|
switch (e) {
|
|
2278
2278
|
case "success":
|
|
2279
2279
|
case "capturing": return "var(--surface-status-positive-500)";
|
|
2280
2280
|
case "loading": return "var(--surface-brand-500)";
|
|
2281
2281
|
case "error": return "var(--surface-status-negative-500)";
|
|
2282
|
-
case "idle": return
|
|
2282
|
+
case "idle": return Q;
|
|
2283
2283
|
}
|
|
2284
|
-
},
|
|
2285
|
-
|
|
2284
|
+
}, $ = ({ fill: e, gradientId: t, gradientColor: n }) => /* @__PURE__ */ l("svg", {
|
|
2285
|
+
width: "100%",
|
|
2286
|
+
height: "100%",
|
|
2287
|
+
viewBox: "0 0 335 335",
|
|
2288
|
+
fill: "none",
|
|
2289
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2290
|
+
children: [
|
|
2291
|
+
/* @__PURE__ */ l("title", { children: "Loading Border" }),
|
|
2292
|
+
/* @__PURE__ */ l("path", {
|
|
2293
|
+
"fill-rule": "evenodd",
|
|
2294
|
+
"clip-rule": "evenodd",
|
|
2295
|
+
d: "M335 167.5C335 260.008 260.008 335 167.5 335C74.9923 335 0 260.008 0 167.5C0 74.9923 74.9923 0 167.5 0C260.008 0 335 74.9923 335 167.5ZM167.5 325C254.485 325 325 254.485 325 167.5C325 80.5152 254.485 10 167.5 10C80.5152 10 10 80.5152 10 167.5C10 254.485 80.5152 325 167.5 325Z",
|
|
2296
|
+
class: "IncodeLoadingBorderPath",
|
|
2297
|
+
fill: e
|
|
2298
|
+
}),
|
|
2299
|
+
t && n ? /* @__PURE__ */ l("defs", { children: /* @__PURE__ */ l("radialGradient", {
|
|
2300
|
+
id: t,
|
|
2301
|
+
cx: "0",
|
|
2302
|
+
cy: "0",
|
|
2303
|
+
r: "1",
|
|
2304
|
+
gradientUnits: "userSpaceOnUse",
|
|
2305
|
+
gradientTransform: "translate(240.418 17.4369) rotate(115.674) scale(167.087)",
|
|
2306
|
+
children: [/* @__PURE__ */ l("stop", { "stop-color": n }), /* @__PURE__ */ l("stop", {
|
|
2307
|
+
offset: "1",
|
|
2308
|
+
"stop-color": n,
|
|
2309
|
+
"stop-opacity": "0"
|
|
2310
|
+
})]
|
|
2311
|
+
}) }) : null
|
|
2312
|
+
]
|
|
2313
|
+
}), Te = ({ borderState: e = "idle" }) => {
|
|
2314
|
+
let t = s(), n = e === "loading" || e === "capturing", r = we(e), i = n ? `url(#${t})` : r;
|
|
2286
2315
|
return /* @__PURE__ */ l("div", {
|
|
2287
|
-
class:
|
|
2316
|
+
class: "IncodeLoadingBorder",
|
|
2288
2317
|
"aria-hidden": "true",
|
|
2289
|
-
children: /* @__PURE__ */ l("
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
d: "M335 167.5C335 260.008 260.008 335 167.5 335C74.9923 335 0 260.008 0 167.5C0 74.9923 74.9923 0 167.5 0C260.008 0 335 74.9923 335 167.5ZM167.5 325C254.485 325 325 254.485 325 167.5C325 80.5152 254.485 10 167.5 10C80.5152 10 10 80.5152 10 167.5C10 254.485 80.5152 325 167.5 325Z",
|
|
2301
|
-
class: "IncodeLoadingBorderPath",
|
|
2302
|
-
fill: i
|
|
2303
|
-
}),
|
|
2304
|
-
/* @__PURE__ */ l("defs", { children: /* @__PURE__ */ l("radialGradient", {
|
|
2305
|
-
id: t,
|
|
2306
|
-
cx: "0",
|
|
2307
|
-
cy: "0",
|
|
2308
|
-
r: "1",
|
|
2309
|
-
gradientUnits: "userSpaceOnUse",
|
|
2310
|
-
gradientTransform: "translate(240.418 17.4369) rotate(115.674) scale(167.087)",
|
|
2311
|
-
children: [/* @__PURE__ */ l("stop", { "stop-color": r }), /* @__PURE__ */ l("stop", {
|
|
2312
|
-
offset: "1",
|
|
2313
|
-
"stop-color": r,
|
|
2314
|
-
"stop-opacity": "0"
|
|
2315
|
-
})]
|
|
2316
|
-
}) })
|
|
2317
|
-
]
|
|
2318
|
-
})
|
|
2318
|
+
children: [n ? /* @__PURE__ */ l("div", {
|
|
2319
|
+
class: "IncodeLoadingBorderBase",
|
|
2320
|
+
children: /* @__PURE__ */ l($, { fill: Q })
|
|
2321
|
+
}) : null, /* @__PURE__ */ l("div", {
|
|
2322
|
+
class: p("IncodeLoadingBorderForeground", { IncodeLoadingBorderSpinning: n }),
|
|
2323
|
+
children: /* @__PURE__ */ l($, {
|
|
2324
|
+
fill: i,
|
|
2325
|
+
gradientId: n ? t : void 0,
|
|
2326
|
+
gradientColor: n ? r : void 0
|
|
2327
|
+
})
|
|
2328
|
+
})]
|
|
2319
2329
|
});
|
|
2320
|
-
},
|
|
2330
|
+
}, Ee = () => /* @__PURE__ */ l("div", {
|
|
2321
2331
|
class: "IncodeCameraButton",
|
|
2322
2332
|
children: /* @__PURE__ */ l("svg", {
|
|
2323
2333
|
width: "64",
|
|
@@ -2327,45 +2337,47 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2327
2337
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2328
2338
|
"aria-hidden": "true",
|
|
2329
2339
|
children: [
|
|
2330
|
-
/* @__PURE__ */ l("
|
|
2331
|
-
|
|
2340
|
+
/* @__PURE__ */ l("circle", {
|
|
2341
|
+
cx: "32",
|
|
2342
|
+
cy: "32",
|
|
2343
|
+
r: "32",
|
|
2332
2344
|
class: "IncodeCameraButtonBackground"
|
|
2333
2345
|
}),
|
|
2334
2346
|
/* @__PURE__ */ l("path", {
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
d: "M41.872 28.9792C41.872 29.6692 41.312 30.2292 40.622 30.2292C39.932 30.2292 39.372 29.6692 39.372 28.9792C39.372 28.2892 39.932 27.6808 40.622 27.6808C41.312 27.6808 41.872 28.1908 41.872 28.8808V28.9792ZM31.9987 40.7475C28.467 40.7475 25.5937 37.8742 25.5937 34.3425C25.5937 30.8108 28.467 27.9375 31.9987 27.9375C35.5303 27.9375 38.4037 30.8108 38.4037 34.3425C38.4037 37.8742 35.5303 40.7475 31.9987 40.7475ZM41.9287 23.4192C41.3237 23.3958 40.7603 23.1425 40.3553 22.7192C40.282 22.6375 39.9853 22.2692 39.2937 20.9725C38.4987 19.4858 36.9587 18.5625 35.2753 18.5625H28.7553C27.0987 18.5625 25.5703 19.4642 24.7703 20.9142C24.042 22.2325 23.7403 22.6208 23.6587 22.7108C23.2403 23.1475 22.677 23.4025 22.1037 23.4275C18.8337 23.4275 16.172 26.0875 16.167 29.3575V38.7608C16.167 42.9942 19.612 46.4392 23.8437 46.4392H40.157C44.3903 46.4392 47.8337 42.9942 47.8337 38.7608V29.3542C47.8337 26.0808 45.1703 23.4192 41.9287 23.4192Z",
|
|
2338
|
-
class: "IncodeCameraButtonPath"
|
|
2347
|
+
d: "M55.5874 31.8191C55.5872 18.6938 44.9464 8.0537 31.821 8.0537C18.6958 8.05385 8.05581 18.6939 8.05566 31.8191C8.05566 44.9444 18.6958 55.5853 31.821 55.5854C44.9465 55.5854 55.5874 44.9445 55.5874 31.8191ZM57.5566 31.8191C57.5566 46.0321 46.034 57.5547 31.821 57.5547C17.6082 57.5545 6.08643 46.032 6.08643 31.8191C6.08657 17.6063 17.6083 6.08462 31.821 6.08447C46.0339 6.08447 57.5565 17.6062 57.5566 31.8191Z",
|
|
2348
|
+
class: "IncodeCameraButtonRing"
|
|
2339
2349
|
}),
|
|
2340
2350
|
/* @__PURE__ */ l("path", {
|
|
2341
|
-
|
|
2342
|
-
clipRule: "evenodd",
|
|
2343
|
-
d: "M31.9987 30.4375C29.8454 30.4375 28.0938 32.1892 28.0938 34.3425C28.0938 36.4958 29.8454 38.2475 31.9987 38.2475C34.152 38.2475 35.9037 36.4958 35.9037 34.3425C35.9037 32.1892 34.152 30.4375 31.9987 30.4375Z",
|
|
2351
|
+
d: "M35.5186 20.6768C36.887 20.677 37.995 21.777 37.9951 23.1338V24.1045H41.4766C43.0397 24.1052 44.3074 25.3626 44.3076 26.9131V38.5459C44.3076 40.0966 43.0398 41.3535 41.4766 41.3535H21.5381C19.975 41.3533 18.7081 40.0965 18.708 38.5459V26.9131C18.7083 25.3627 19.9751 24.1057 21.5381 24.1055H25.0205V23.1338C25.0206 21.7769 26.1285 20.6768 27.4971 20.6768H35.5186ZM31.5068 26.5273C28.0604 26.5273 25.2559 29.309 25.2559 32.7285C25.2559 36.148 28.0604 38.9297 31.5068 38.9297C34.954 38.9297 37.7588 36.148 37.7588 32.7285C37.7588 29.309 34.954 26.5274 31.5068 26.5273ZM31.5068 28.6348C33.7835 28.6348 35.6357 30.4728 35.6357 32.7305C35.6356 34.9887 33.7833 36.8252 31.5068 36.8252C29.2303 36.8252 27.3791 34.9887 27.3789 32.7305C27.3789 30.4721 29.2302 28.6348 31.5068 28.6348Z",
|
|
2344
2352
|
class: "IncodeCameraButtonPath"
|
|
2345
2353
|
})
|
|
2346
2354
|
]
|
|
2347
2355
|
})
|
|
2348
|
-
}),
|
|
2356
|
+
}), De = i(({ onClick: t, disabled: n }, r) => {
|
|
2349
2357
|
let { t: i } = e();
|
|
2350
2358
|
return /* @__PURE__ */ l("div", {
|
|
2351
2359
|
class: "IncodeSelfieManualCapture",
|
|
2352
2360
|
"data-testid": "manual-capture-button",
|
|
2353
|
-
children: [
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2361
|
+
children: [
|
|
2362
|
+
/* @__PURE__ */ l("p", {
|
|
2363
|
+
id: "manual-capture-instructions",
|
|
2364
|
+
class: "IncodeSelfieManualCaptureText",
|
|
2365
|
+
children: i("selfiev2.manualCapture.instructions")
|
|
2366
|
+
}),
|
|
2367
|
+
/* @__PURE__ */ l(d, { size: 32 }),
|
|
2368
|
+
/* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(b, {
|
|
2369
|
+
ref: r,
|
|
2370
|
+
id: "manual-capture-button",
|
|
2371
|
+
variant: "link",
|
|
2372
|
+
onClick: t,
|
|
2373
|
+
disabled: n,
|
|
2374
|
+
class: "IncodeSelfieManualCaptureButton",
|
|
2375
|
+
"aria-label": i("selfiev2.manualCapture.captureButton"),
|
|
2376
|
+
children: /* @__PURE__ */ l(Ee, {})
|
|
2377
|
+
}) })
|
|
2378
|
+
]
|
|
2367
2379
|
});
|
|
2368
|
-
}),
|
|
2380
|
+
}), Oe = ({ detectionState: t, disabled: i }) => {
|
|
2369
2381
|
let { t: s } = e(), c = o(null), u = o({
|
|
2370
2382
|
message: "",
|
|
2371
2383
|
at: 0
|
|
@@ -2444,7 +2456,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2444
2456
|
children: _
|
|
2445
2457
|
})
|
|
2446
2458
|
}), /* @__PURE__ */ l(d, { size: 24 })] }) : null] });
|
|
2447
|
-
},
|
|
2459
|
+
}, ke = ({ manager: t, state: i }) => {
|
|
2448
2460
|
let { captureStatus: a, stream: s, detectionStatus: u, attemptsRemaining: p, uploadError: h, assistedOnboarding: g } = i, [_, x] = c(!1), { t: S } = e(), w = o(null);
|
|
2449
2461
|
if (r(() => {
|
|
2450
2462
|
u === "manualCapture" && w.current?.focus();
|
|
@@ -2463,27 +2475,27 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2463
2475
|
/* @__PURE__ */ l("div", {
|
|
2464
2476
|
class: "IncodeCaptureContainer",
|
|
2465
2477
|
children: [
|
|
2466
|
-
/* @__PURE__ */ l(
|
|
2478
|
+
/* @__PURE__ */ l(Te, { borderState: e() }),
|
|
2467
2479
|
/* @__PURE__ */ l("div", {
|
|
2468
2480
|
class: "IncodeCaptureFrame",
|
|
2469
2481
|
children: /* @__PURE__ */ l("div", {
|
|
2470
2482
|
class: "IncodeCaptureVideoWrapper",
|
|
2471
2483
|
"aria-hidden": "true",
|
|
2472
|
-
children: s ? /* @__PURE__ */ l(n, { children: [/* @__PURE__ */ l(
|
|
2484
|
+
children: s ? /* @__PURE__ */ l(n, { children: [/* @__PURE__ */ l(Ae, {
|
|
2473
2485
|
stream: s,
|
|
2474
2486
|
mirrored: !g
|
|
2475
2487
|
}), /* @__PURE__ */ l("div", {
|
|
2476
2488
|
class: "IncodeCaptureVideo",
|
|
2477
|
-
children: /* @__PURE__ */ l(
|
|
2489
|
+
children: /* @__PURE__ */ l(Ce, {})
|
|
2478
2490
|
})] }) : null
|
|
2479
2491
|
})
|
|
2480
2492
|
}),
|
|
2481
2493
|
/* @__PURE__ */ l(d, { size: 32 }),
|
|
2482
|
-
u ? /* @__PURE__ */ l(
|
|
2494
|
+
u ? /* @__PURE__ */ l(Oe, {
|
|
2483
2495
|
detectionState: u,
|
|
2484
2496
|
disabled: !!h || _
|
|
2485
2497
|
}) : null,
|
|
2486
|
-
u === "manualCapture" ? /* @__PURE__ */ l(
|
|
2498
|
+
u === "manualCapture" ? /* @__PURE__ */ l(De, {
|
|
2487
2499
|
ref: w,
|
|
2488
2500
|
onClick: () => {
|
|
2489
2501
|
x(!0), t.capture();
|
|
@@ -2492,7 +2504,7 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2492
2504
|
}) : null
|
|
2493
2505
|
]
|
|
2494
2506
|
}),
|
|
2495
|
-
h ? /* @__PURE__ */ l(
|
|
2507
|
+
h ? /* @__PURE__ */ l(Z, {
|
|
2496
2508
|
error: h,
|
|
2497
2509
|
attemptsRemaining: p,
|
|
2498
2510
|
onTryAgain: () => {
|
|
@@ -2513,21 +2525,21 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2513
2525
|
children: "Capturing..."
|
|
2514
2526
|
})
|
|
2515
2527
|
})
|
|
2516
|
-
}) : a === "uploading" ? /* @__PURE__ */ l(
|
|
2528
|
+
}) : a === "uploading" ? /* @__PURE__ */ l(Y, {
|
|
2517
2529
|
className: "IncodeCaptureStatusUploading",
|
|
2518
2530
|
icon: /* @__PURE__ */ l(m, { size: 64 }),
|
|
2519
2531
|
title: S("idv2.capture.processing.uploading")
|
|
2520
|
-
}) : a === "uploadError" ? /* @__PURE__ */ l(
|
|
2532
|
+
}) : a === "uploadError" ? /* @__PURE__ */ l(Z, {
|
|
2521
2533
|
error: h,
|
|
2522
2534
|
attemptsRemaining: p,
|
|
2523
2535
|
onTryAgain: () => {
|
|
2524
2536
|
t.retryCapture(), x(!1);
|
|
2525
2537
|
}
|
|
2526
|
-
}) : a === "success" ? /* @__PURE__ */ l(
|
|
2538
|
+
}) : a === "success" ? /* @__PURE__ */ l(Y, {
|
|
2527
2539
|
icon: /* @__PURE__ */ l(C, { size: 64 }),
|
|
2528
2540
|
title: S("idv2.capture.processing.success")
|
|
2529
2541
|
}) : null;
|
|
2530
|
-
},
|
|
2542
|
+
}, Ae = ({ stream: e, mirrored: t }) => {
|
|
2531
2543
|
let n = o(null);
|
|
2532
2544
|
return r(() => {
|
|
2533
2545
|
n.current && e && (n.current.srcObject = e);
|
|
@@ -2539,13 +2551,13 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2539
2551
|
"aria-hidden": "true",
|
|
2540
2552
|
class: t ? "IncodeCaptureVideoElement IncodeCaptureVideoMirrored" : "IncodeCaptureVideoElement"
|
|
2541
2553
|
});
|
|
2542
|
-
},
|
|
2554
|
+
}, je = ({ manager: t }) => {
|
|
2543
2555
|
let { t: n } = e(), [i, a] = c(!1), [o, s] = c(null);
|
|
2544
2556
|
return r(() => {
|
|
2545
2557
|
import("./selfieTutorial-DE1_g-Lg.js").then((e) => {
|
|
2546
2558
|
s(e.default);
|
|
2547
2559
|
});
|
|
2548
|
-
}, []), o ? /* @__PURE__ */ l(
|
|
2560
|
+
}, []), o ? /* @__PURE__ */ l(j, {
|
|
2549
2561
|
animationData: o,
|
|
2550
2562
|
title: n("face.tutorial.title"),
|
|
2551
2563
|
titleId: "face-tutorial-heading",
|
|
@@ -2560,4 +2572,4 @@ var _e = ({ manager: t, permissionStatus: n }) => {
|
|
|
2560
2572
|
}) : null;
|
|
2561
2573
|
};
|
|
2562
2574
|
//#endregion
|
|
2563
|
-
export {
|
|
2575
|
+
export { A as a, j as i, ke as n, D as o, ye as r, E as s, je as t };
|