@incodetech/welcome 1.85.0-20251107204349.0 → 1.85.0-20251110114614.0
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/incode-welcome/src/Face/FaceCapture.d.ts +1 -0
- package/dist/incode-welcome/src/ID/CaptureId.d.ts +1 -0
- package/dist/incode-welcome/src/camera/SelfieUI.d.ts +4 -4
- package/dist/incode-welcome/src/ekyc/utils/utils.d.ts +1 -1
- package/dist/incode-welcome/src/flow/modules/VideoSelfie.d.ts +1 -1
- package/dist/incode-welcome/src/recorder/renderVideoSelfie.d.ts +1 -0
- package/dist/incode-welcome/src/workflows/modules/IDCapture.d.ts +2 -1
- package/dist/incode-welcome/src/workflows/modules/Selfie.d.ts +2 -1
- package/dist/incode-welcome/src/workflows/welcomeSdk.d.ts +5 -0
- package/dist/onBoarding.mjs +122 -83
- package/dist/onBoarding.umd.js +12 -12
- package/package.json +1 -1
|
@@ -49,6 +49,7 @@ export type CaptureFaceProps = {
|
|
|
49
49
|
};
|
|
50
50
|
captureOnly?: boolean;
|
|
51
51
|
onCapture?: (response: FaceCaptureOnlyResponse) => void;
|
|
52
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
52
53
|
};
|
|
53
54
|
declare const CaptureFace: (props: CaptureFaceProps) => import("react/jsx-runtime").JSX.Element;
|
|
54
55
|
export default CaptureFace;
|
|
@@ -56,6 +56,7 @@ export type CaptureIdProps = {
|
|
|
56
56
|
onCapture?: (response: CaptureOnlyResponse) => void;
|
|
57
57
|
captureOnly?: boolean;
|
|
58
58
|
captureMode?: 'front_only' | 'back_only' | 'both';
|
|
59
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
59
60
|
};
|
|
60
61
|
declare const CaptureId: (props: CaptureIdProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
62
|
export default CaptureId;
|
|
@@ -94,7 +94,7 @@ export declare const CaptureButtonContainer: import('styled-components/dist/type
|
|
|
94
94
|
"aria-posinset"?: number;
|
|
95
95
|
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
96
96
|
"aria-readonly"?: boolean | "true" | "false";
|
|
97
|
-
"aria-relevant"?: "
|
|
97
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
98
98
|
"aria-required"?: boolean | "true" | "false";
|
|
99
99
|
"aria-roledescription"?: string;
|
|
100
100
|
"aria-rowcount"?: number;
|
|
@@ -359,7 +359,7 @@ export declare const Hidder: import('styled-components/dist/types').IStyledCompo
|
|
|
359
359
|
"aria-posinset"?: number;
|
|
360
360
|
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
361
361
|
"aria-readonly"?: boolean | "true" | "false";
|
|
362
|
-
"aria-relevant"?: "
|
|
362
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
363
363
|
"aria-required"?: boolean | "true" | "false";
|
|
364
364
|
"aria-roledescription"?: string;
|
|
365
365
|
"aria-rowcount"?: number;
|
|
@@ -628,7 +628,7 @@ export declare const CameraOvalOuter: import('styled-components/dist/types').ISt
|
|
|
628
628
|
"aria-posinset"?: number;
|
|
629
629
|
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
630
630
|
"aria-readonly"?: boolean | "true" | "false";
|
|
631
|
-
"aria-relevant"?: "
|
|
631
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
632
632
|
"aria-required"?: boolean | "true" | "false";
|
|
633
633
|
"aria-roledescription"?: string;
|
|
634
634
|
"aria-rowcount"?: number;
|
|
@@ -899,7 +899,7 @@ export declare const NotificationInline: import('styled-components/dist/types').
|
|
|
899
899
|
"aria-posinset"?: number;
|
|
900
900
|
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
901
901
|
"aria-readonly"?: boolean | "true" | "false";
|
|
902
|
-
"aria-relevant"?: "
|
|
902
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
903
903
|
"aria-required"?: boolean | "true" | "false";
|
|
904
904
|
"aria-roledescription"?: string;
|
|
905
905
|
"aria-rowcount"?: number;
|
|
@@ -18,7 +18,7 @@ export declare function getEKYCFields(moduleConfiguration: any): {
|
|
|
18
18
|
gender: string | boolean;
|
|
19
19
|
};
|
|
20
20
|
export declare function mapToEKYCvalue(field: string): "user_input" | "poa_document" | "document_scan" | "phone_module_input" | "email_module_input";
|
|
21
|
-
export declare function getEKYCCountry(source: string): "US" | "AR" | "CA" | "CO" | "BR" | "CL" | "CR" | "ES" | "GB" | "GR" | "GT"
|
|
21
|
+
export declare function getEKYCCountry(source: string): "US" | "AR" | "CA" | "CO" | "BR" | "MX" | "CL" | "CR" | "ES" | "GB" | "GR" | "GT";
|
|
22
22
|
export declare function getEKYBfields(moduleConfiguration: {
|
|
23
23
|
[key: string]: boolean | string | number;
|
|
24
24
|
}): any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowModuleConfig } from '../services/flowService';
|
|
2
2
|
import { ModuleProps } from './types';
|
|
3
3
|
|
|
4
|
-
declare const VideoSelfieModule: ({ config, token, onSuccess, onError, }: ModuleProps<FlowModuleConfig['VIDEO_ONBOARDING']>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const VideoSelfieModule: ({ config, token, onSuccess, onError, flow, }: ModuleProps<FlowModuleConfig['VIDEO_ONBOARDING']>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default VideoSelfieModule;
|
|
@@ -29,6 +29,7 @@ type RecorderProps = {
|
|
|
29
29
|
onLog?: (...args: unknown[]) => void;
|
|
30
30
|
numberOfTries?: number;
|
|
31
31
|
onBoarding?: unknown;
|
|
32
|
+
disableUnsupportedBrowserScreen?: boolean;
|
|
32
33
|
};
|
|
33
34
|
export declare function Recorder(props: RecorderProps): import("react/jsx-runtime").JSX.Element;
|
|
34
35
|
export declare function renderVideoSelfie(element: Element, { token, showTutorial, modules, speechToTextCheck, performLiveness, videoSelfieAsSelfie, compareOCREnabled, compareIDEnabled, compareBackOCREnabled, compareBackIDEnabled, useOpenVidu, questionsCount, hatCheckEnabled, lensesCheckEnabled, maskCheckEnabled, eyesClosedCheckEnabled, }: {
|
|
@@ -8,6 +8,7 @@ type IDCaptureProps = {
|
|
|
8
8
|
onError: () => void;
|
|
9
9
|
mergeSessionRecordings: boolean;
|
|
10
10
|
ageAssurance: boolean;
|
|
11
|
+
disableUnsupportedBrowserScreen: boolean;
|
|
11
12
|
};
|
|
12
|
-
declare const IDCapture: ({ config, token, onNext, onError, mergeSessionRecordings, ageAssurance, }: IDCaptureProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const IDCapture: ({ config, token, onNext, onError, mergeSessionRecordings, ageAssurance, disableUnsupportedBrowserScreen, }: IDCaptureProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export default IDCapture;
|
|
@@ -7,6 +7,7 @@ interface SelfieProps extends WorkflowModulesProps {
|
|
|
7
7
|
width: number;
|
|
8
8
|
height: number;
|
|
9
9
|
};
|
|
10
|
+
disableUnsupportedBrowserScreen: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const Selfie: ({ token, config, goNext, onError, ageAssurance, disableZoomCheck, parentSize, }: SelfieProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const Selfie: ({ token, config, goNext, onError, ageAssurance, disableZoomCheck, parentSize, disableUnsupportedBrowserScreen, }: SelfieProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default Selfie;
|
package/dist/onBoarding.mjs
CHANGED
|
@@ -8374,7 +8374,7 @@ class MlWasmJSApi {
|
|
|
8374
8374
|
);
|
|
8375
8375
|
}
|
|
8376
8376
|
}
|
|
8377
|
-
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-
|
|
8377
|
+
const MlWasmJSApi$1 = MlWasmJSApi.getInstance(), version$4 = "1.85.0-20251110114614.0";
|
|
8378
8378
|
function e$2(Be, Le) {
|
|
8379
8379
|
return function(Ye, tt) {
|
|
8380
8380
|
return Object.prototype.hasOwnProperty.call(Ye, tt);
|
|
@@ -23423,7 +23423,7 @@ const initialState = {
|
|
|
23423
23423
|
Ye();
|
|
23424
23424
|
const tt = () => Ye();
|
|
23425
23425
|
return window.addEventListener("popstate", tt), () => window.removeEventListener("popstate", tt);
|
|
23426
|
-
}, []), Be;
|
|
23426
|
+
}, [Be]), Be;
|
|
23427
23427
|
}, SpinnerContainer$2 = dt.div`
|
|
23428
23428
|
display: flex;
|
|
23429
23429
|
flex-direction: column;
|
|
@@ -27168,7 +27168,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27168
27168
|
return /* @__PURE__ */ jsx$1(
|
|
27169
27169
|
Flex,
|
|
27170
27170
|
{
|
|
27171
|
-
minH:
|
|
27171
|
+
minH: `${window.innerHeight}px`,
|
|
27172
27172
|
wFull: !0,
|
|
27173
27173
|
bg: ht || It.color.surface.neutral.light,
|
|
27174
27174
|
position: vt,
|
|
@@ -27182,7 +27182,7 @@ const FlexCenter = (Be) => /* @__PURE__ */ jsx$1(Flex, { justify: "center", alig
|
|
|
27182
27182
|
px: ft === void 0 && tt !== void 0 ? It.spacing[tt] : void 0,
|
|
27183
27183
|
py: ft === void 0 && nt !== void 0 ? It.spacing[nt] : void 0,
|
|
27184
27184
|
maxW: gt,
|
|
27185
|
-
maxH: At
|
|
27185
|
+
maxH: At || `${window.innerHeight}px`,
|
|
27186
27186
|
children: [
|
|
27187
27187
|
!kt || Ct != null && Ct.show ? /* @__PURE__ */ jsx$1(
|
|
27188
27188
|
Header$4,
|
|
@@ -195731,14 +195731,15 @@ const ShowInstructions = ({
|
|
|
195731
195731
|
uiConfig: ft = defaultUiConfig$1,
|
|
195732
195732
|
parentSize: ht,
|
|
195733
195733
|
captureOnly: gt,
|
|
195734
|
-
onCapture: At
|
|
195734
|
+
onCapture: At,
|
|
195735
|
+
disableUnsupportedBrowserScreen: xt
|
|
195735
195736
|
}) => {
|
|
195736
|
-
const { width:
|
|
195737
|
+
const { width: Et, height: kt } = ht || useViewportSize();
|
|
195737
195738
|
if (gt && (!nt || !At))
|
|
195738
195739
|
throw new Error(
|
|
195739
195740
|
"captureConfig and onCapture are required when captureOnly is enabled"
|
|
195740
195741
|
);
|
|
195741
|
-
const
|
|
195742
|
+
const Ct = getFeatureFlag(
|
|
195742
195743
|
"new_id_capture_ux_least_risky_clients"
|
|
195743
195744
|
);
|
|
195744
195745
|
return useModuleEvents({
|
|
@@ -195746,9 +195747,9 @@ const ShowInstructions = ({
|
|
|
195746
195747
|
token: Ye == null ? void 0 : Ye.token,
|
|
195747
195748
|
screen: eventScreenNames.faceCaptureCamera,
|
|
195748
195749
|
payload: {
|
|
195749
|
-
moduleVersion:
|
|
195750
|
+
moduleVersion: Ct ? "2" : "1"
|
|
195750
195751
|
}
|
|
195751
|
-
}), tt ||
|
|
195752
|
+
}), tt || Ct ? /* @__PURE__ */ jsxRuntimeExports.jsx(ContentWrapper$2, { height: kt, width: Et, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
195752
195753
|
FaceFlow$1,
|
|
195753
195754
|
{
|
|
195754
195755
|
session: Ye,
|
|
@@ -195756,21 +195757,28 @@ const ShowInstructions = ({
|
|
|
195756
195757
|
onError: Le,
|
|
195757
195758
|
captureConfig: nt,
|
|
195758
195759
|
uiConfig: ft,
|
|
195759
|
-
parentSize: { width:
|
|
195760
|
+
parentSize: { width: Et, height: kt },
|
|
195760
195761
|
captureOnly: gt,
|
|
195761
195762
|
onCapture: At
|
|
195762
195763
|
}
|
|
195763
|
-
) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
195764
|
-
|
|
195764
|
+
) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
195765
|
+
App$1,
|
|
195765
195766
|
{
|
|
195766
|
-
|
|
195767
|
-
|
|
195768
|
-
|
|
195769
|
-
|
|
195770
|
-
|
|
195771
|
-
|
|
195767
|
+
token: Ye.token,
|
|
195768
|
+
disableUnsupportedBrowserScreen: xt,
|
|
195769
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
195770
|
+
FaceFlow,
|
|
195771
|
+
{
|
|
195772
|
+
onSuccess: Be,
|
|
195773
|
+
onError: Le,
|
|
195774
|
+
session: Ye,
|
|
195775
|
+
captureConfig: nt,
|
|
195776
|
+
captureOnly: gt,
|
|
195777
|
+
onCapture: At
|
|
195778
|
+
}
|
|
195779
|
+
)
|
|
195772
195780
|
}
|
|
195773
|
-
)
|
|
195781
|
+
);
|
|
195774
195782
|
}, CaptureFace = (Be) => {
|
|
195775
195783
|
var Le;
|
|
195776
195784
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(IncodeProvider, { token: (Le = Be.session) == null ? void 0 : Le.token, uiConfig: Be.uiConfig, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CaptureFaceInside, { ...Be }) });
|
|
@@ -197295,33 +197303,40 @@ const CaptureId$2 = ({
|
|
|
197295
197303
|
onError: Le,
|
|
197296
197304
|
session: Ye,
|
|
197297
197305
|
kioskOptions: tt,
|
|
197298
|
-
captureConfig: nt
|
|
197306
|
+
captureConfig: nt,
|
|
197307
|
+
disableUnsupportedBrowserScreen: ft
|
|
197299
197308
|
}) => {
|
|
197300
|
-
var
|
|
197301
|
-
const
|
|
197309
|
+
var Et;
|
|
197310
|
+
const ht = CaptureIdCore.getInstance(), [gt, At] = useState(null);
|
|
197302
197311
|
useModuleEvents({
|
|
197303
197312
|
module: eventModuleNames.front,
|
|
197304
197313
|
token: Ye.token,
|
|
197305
197314
|
payload: { moduleVersion: "1" }
|
|
197306
197315
|
}), useEffect(() => {
|
|
197307
|
-
const
|
|
197316
|
+
const kt = CaptureIdCore.getInstance();
|
|
197308
197317
|
return () => {
|
|
197309
|
-
|
|
197318
|
+
kt.reset();
|
|
197310
197319
|
};
|
|
197311
197320
|
}, []), useEffect(() => {
|
|
197312
|
-
const
|
|
197313
|
-
|
|
197314
|
-
}),
|
|
197315
|
-
Be == null || Be(
|
|
197316
|
-
}),
|
|
197317
|
-
Le(
|
|
197321
|
+
const kt = ht.on("stepChange", (vt) => {
|
|
197322
|
+
At(vt);
|
|
197323
|
+
}), Ct = ht.on("finish", (vt) => {
|
|
197324
|
+
Be == null || Be(vt);
|
|
197325
|
+
}), yt = ht.on("error", (vt) => {
|
|
197326
|
+
Le(vt);
|
|
197318
197327
|
});
|
|
197319
|
-
return
|
|
197320
|
-
|
|
197328
|
+
return ht.setup(Ye, tt, nt), () => {
|
|
197329
|
+
Ct(), yt(), kt();
|
|
197321
197330
|
};
|
|
197322
|
-
}, [Le, Be, Ye, tt, nt,
|
|
197323
|
-
const
|
|
197324
|
-
return
|
|
197331
|
+
}, [Le, Be, Ye, tt, nt, ht]);
|
|
197332
|
+
const xt = (Et = ht.getStepComponent()) == null ? void 0 : Et.component;
|
|
197333
|
+
return xt ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
197334
|
+
App$1,
|
|
197335
|
+
{
|
|
197336
|
+
disableUnsupportedBrowserScreen: ft,
|
|
197337
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(xt, {})
|
|
197338
|
+
}
|
|
197339
|
+
) : null;
|
|
197325
197340
|
};
|
|
197326
197341
|
class IdFlowManager extends AbstractFlowManager {
|
|
197327
197342
|
constructor() {
|
|
@@ -258507,12 +258522,13 @@ path {
|
|
|
258507
258522
|
parentSize: gt,
|
|
258508
258523
|
onCapture: At,
|
|
258509
258524
|
captureOnly: xt = !1,
|
|
258510
|
-
captureMode: Et = "both"
|
|
258525
|
+
captureMode: Et = "both",
|
|
258526
|
+
disableUnsupportedBrowserScreen: kt
|
|
258511
258527
|
}) => {
|
|
258512
|
-
const { width:
|
|
258528
|
+
const { width: Ct, height: yt } = gt || useViewportSize(), vt = getFeatureFlag(
|
|
258513
258529
|
"new_id_capture_ux_least_risky_clients"
|
|
258514
258530
|
);
|
|
258515
|
-
return tt ||
|
|
258531
|
+
return tt || vt ? /* @__PURE__ */ jsxRuntimeExports.jsx(ContentWrapper$2, { height: yt, width: Ct, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
258516
258532
|
IdCaptureV2Manager,
|
|
258517
258533
|
{
|
|
258518
258534
|
session: Ye,
|
|
@@ -258521,7 +258537,7 @@ path {
|
|
|
258521
258537
|
kioskOptions: nt,
|
|
258522
258538
|
captureConfig: ft,
|
|
258523
258539
|
uiConfig: ht,
|
|
258524
|
-
parentSize: { width:
|
|
258540
|
+
parentSize: { width: Ct, height: yt },
|
|
258525
258541
|
onCapture: At,
|
|
258526
258542
|
captureOnly: xt,
|
|
258527
258543
|
captureMode: Et
|
|
@@ -258536,7 +258552,8 @@ path {
|
|
|
258536
258552
|
captureConfig: ft,
|
|
258537
258553
|
uiConfig: ht,
|
|
258538
258554
|
onCapture: At,
|
|
258539
|
-
captureOnly: xt
|
|
258555
|
+
captureOnly: xt,
|
|
258556
|
+
disableUnsupportedBrowserScreen: kt
|
|
258540
258557
|
}
|
|
258541
258558
|
);
|
|
258542
258559
|
}, CaptureId = (Be) => {
|
|
@@ -356690,7 +356707,8 @@ function IdModule({
|
|
|
356690
356707
|
usSmartCapture: Ye.usSmartCapture,
|
|
356691
356708
|
isDeepsightEnabled: yt
|
|
356692
356709
|
},
|
|
356693
|
-
uiConfig: ft
|
|
356710
|
+
uiConfig: ft,
|
|
356711
|
+
disableUnsupportedBrowserScreen: tt.disableUnsupportedBrowserScreen
|
|
356694
356712
|
}
|
|
356695
356713
|
);
|
|
356696
356714
|
}
|
|
@@ -357307,7 +357325,8 @@ function SelfieModule({
|
|
|
357307
357325
|
},
|
|
357308
357326
|
session: { token: Le },
|
|
357309
357327
|
captureConfig: Et,
|
|
357310
|
-
uiConfig: nt
|
|
357328
|
+
uiConfig: nt,
|
|
357329
|
+
disableUnsupportedBrowserScreen: Ye.disableUnsupportedBrowserScreen
|
|
357311
357330
|
}
|
|
357312
357331
|
);
|
|
357313
357332
|
}
|
|
@@ -361474,7 +361493,7 @@ async function chooseCamera() {
|
|
|
361474
361493
|
if (tt.length === 2)
|
|
361475
361494
|
return -1;
|
|
361476
361495
|
let ft = [["Back Camera", "Cámara trasera"]];
|
|
361477
|
-
if (tt.length === 7) {
|
|
361496
|
+
if (tt.length === 7 || tt.length === 8) {
|
|
361478
361497
|
const gt = [
|
|
361479
361498
|
[
|
|
361480
361499
|
"Back Ultra Wide Camera",
|
|
@@ -361489,8 +361508,10 @@ async function chooseCamera() {
|
|
|
361489
361508
|
// 14pro
|
|
361490
361509
|
{ width: 440, height: 956 },
|
|
361491
361510
|
// 16Promax
|
|
361492
|
-
{ width: 402, height: 874 }
|
|
361511
|
+
{ width: 402, height: 874 },
|
|
361493
361512
|
// 15Pro
|
|
361513
|
+
{ width: 430, height: 932 }
|
|
361514
|
+
// 17Pro max
|
|
361494
361515
|
], xt = {
|
|
361495
361516
|
width: screen.width,
|
|
361496
361517
|
height: screen.height
|
|
@@ -363280,10 +363301,18 @@ function Recorder(Be) {
|
|
|
363280
363301
|
const ft = Be.useOpenVidu ? OpenViduVideoSelfie : VideoRecorder$1, ht = () => {
|
|
363281
363302
|
Be.onRetry ? Be.onRetry() : tt("tutorial");
|
|
363282
363303
|
};
|
|
363283
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
363284
|
-
|
|
363285
|
-
|
|
363286
|
-
|
|
363304
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
363305
|
+
App$1,
|
|
363306
|
+
{
|
|
363307
|
+
token: Be.token.token,
|
|
363308
|
+
disableFullScreen: Le === 0,
|
|
363309
|
+
disableUnsupportedBrowserScreen: Be.disableUnsupportedBrowserScreen,
|
|
363310
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Steps, { currentStep: Le, children: [
|
|
363311
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tutorial, { goNext: () => tt("videoRecorder"), ...Be }),
|
|
363312
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ft, { ...Be, onRetry: ht })
|
|
363313
|
+
] })
|
|
363314
|
+
}
|
|
363315
|
+
);
|
|
363287
363316
|
}
|
|
363288
363317
|
function renderVideoSelfie(Be, {
|
|
363289
363318
|
token: Le,
|
|
@@ -363352,10 +363381,12 @@ const VideoSelfieModule = ({
|
|
|
363352
363381
|
config: Be,
|
|
363353
363382
|
token: Le,
|
|
363354
363383
|
onSuccess: Ye,
|
|
363355
|
-
onError: tt
|
|
363384
|
+
onError: tt,
|
|
363385
|
+
flow: nt
|
|
363356
363386
|
}) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
363357
363387
|
Recorder,
|
|
363358
363388
|
{
|
|
363389
|
+
disableUnsupportedBrowserScreen: nt == null ? void 0 : nt.disableUnsupportedBrowserScreen,
|
|
363359
363390
|
token: {
|
|
363360
363391
|
token: Le,
|
|
363361
363392
|
hatCheckEnabled: Be.validateHeadCover,
|
|
@@ -363374,6 +363405,7 @@ const VideoSelfieModule = ({
|
|
|
363374
363405
|
compareBackIDEnabled: Be.compareBackIdEnabled,
|
|
363375
363406
|
questionsCount: Be.voiceConsentQuestions,
|
|
363376
363407
|
speechToTextCheck: Be.checkVoiceConsent,
|
|
363408
|
+
lensesCheckEnabled: Be.validateLenses,
|
|
363377
363409
|
modules: getVideoSelfieModules(
|
|
363378
363410
|
{},
|
|
363379
363411
|
{
|
|
@@ -373566,32 +373598,33 @@ const Forms = ({ goNext: Be, config: Le, token: Ye, onError: tt }) => /* @__PURE
|
|
|
373566
373598
|
onNext: Ye,
|
|
373567
373599
|
onError: tt,
|
|
373568
373600
|
mergeSessionRecordings: nt,
|
|
373569
|
-
ageAssurance: ft
|
|
373601
|
+
ageAssurance: ft,
|
|
373602
|
+
disableUnsupportedBrowserScreen: ht
|
|
373570
373603
|
}) => {
|
|
373571
373604
|
const {
|
|
373572
|
-
showTutorial:
|
|
373573
|
-
captureAttempts:
|
|
373574
|
-
enableIdRecording:
|
|
373575
|
-
autoCaptureTimeout:
|
|
373576
|
-
enableId:
|
|
373577
|
-
enablePassport:
|
|
373578
|
-
idRank:
|
|
373579
|
-
showDocumentChooserScreen:
|
|
373580
|
-
onlyBack:
|
|
373581
|
-
idDetectionTimeout:
|
|
373582
|
-
} = Be ?? {},
|
|
373583
|
-
showTutorial:
|
|
373584
|
-
captureAttempts:
|
|
373585
|
-
enableIdRecording:
|
|
373586
|
-
autoCaptureTimeout:
|
|
373587
|
-
enableId:
|
|
373588
|
-
enablePassport:
|
|
373589
|
-
isSecondId:
|
|
373605
|
+
showTutorial: gt,
|
|
373606
|
+
captureAttempts: At,
|
|
373607
|
+
enableIdRecording: xt,
|
|
373608
|
+
autoCaptureTimeout: Et,
|
|
373609
|
+
enableId: kt,
|
|
373610
|
+
enablePassport: Ct,
|
|
373611
|
+
idRank: yt,
|
|
373612
|
+
showDocumentChooserScreen: vt,
|
|
373613
|
+
onlyBack: bt,
|
|
373614
|
+
idDetectionTimeout: It
|
|
373615
|
+
} = Be ?? {}, wt = {
|
|
373616
|
+
showTutorial: gt,
|
|
373617
|
+
captureAttempts: At,
|
|
373618
|
+
enableIdRecording: xt,
|
|
373619
|
+
autoCaptureTimeout: Et,
|
|
373620
|
+
enableId: kt,
|
|
373621
|
+
enablePassport: Ct,
|
|
373622
|
+
isSecondId: yt === "SECOND_ID",
|
|
373590
373623
|
ageAssurance: ft,
|
|
373591
373624
|
mergeSessionRecordings: nt,
|
|
373592
|
-
showDocumentChooser:
|
|
373593
|
-
onlyBack:
|
|
373594
|
-
idDetectionTimeout:
|
|
373625
|
+
showDocumentChooser: vt,
|
|
373626
|
+
onlyBack: bt,
|
|
373627
|
+
idDetectionTimeout: It,
|
|
373595
373628
|
manualUploadIdCapture: !1
|
|
373596
373629
|
};
|
|
373597
373630
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -373600,7 +373633,8 @@ const Forms = ({ goNext: Be, config: Le, token: Ye, onError: tt }) => /* @__PURE
|
|
|
373600
373633
|
session: Le,
|
|
373601
373634
|
onSuccess: () => Ye(),
|
|
373602
373635
|
onError: tt,
|
|
373603
|
-
captureConfig:
|
|
373636
|
+
captureConfig: wt,
|
|
373637
|
+
disableUnsupportedBrowserScreen: ht
|
|
373604
373638
|
}
|
|
373605
373639
|
);
|
|
373606
373640
|
}, OcrData = ({ goNext: Be, token: Le, config: Ye }) => /* @__PURE__ */ jsxRuntimeExports.jsx(UserData, { goNext: Be, token: Le, isSecondId: Ye.isSecondId }), Phone = ({ token: Be, config: Le, goNext: Ye, onError: tt }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -373800,19 +373834,20 @@ const RedirectToMobile = ({
|
|
|
373800
373834
|
onError: tt,
|
|
373801
373835
|
ageAssurance: nt,
|
|
373802
373836
|
disableZoomCheck: ft,
|
|
373803
|
-
parentSize: ht
|
|
373837
|
+
parentSize: ht,
|
|
373838
|
+
disableUnsupportedBrowserScreen: gt
|
|
373804
373839
|
}) => {
|
|
373805
373840
|
useModuleEvents({
|
|
373806
373841
|
module: eventModuleNames.selfie,
|
|
373807
373842
|
token: Be.token,
|
|
373808
373843
|
payload: { moduleVersion: "1" }
|
|
373809
373844
|
});
|
|
373810
|
-
const
|
|
373811
|
-
if (
|
|
373845
|
+
const At = (Et) => {
|
|
373846
|
+
if (Et.message === "Virtual camera is detected") {
|
|
373812
373847
|
tt();
|
|
373813
373848
|
return;
|
|
373814
373849
|
}
|
|
373815
|
-
switch (
|
|
373850
|
+
switch (Et.type) {
|
|
373816
373851
|
case "timeout":
|
|
373817
373852
|
case "permissionDenied":
|
|
373818
373853
|
tt();
|
|
@@ -373823,7 +373858,7 @@ const RedirectToMobile = ({
|
|
|
373823
373858
|
default:
|
|
373824
373859
|
Ye();
|
|
373825
373860
|
}
|
|
373826
|
-
},
|
|
373861
|
+
}, xt = {
|
|
373827
373862
|
showPreview: Le.showPreview,
|
|
373828
373863
|
assistedOnboarding: Le.assistedOnboarding,
|
|
373829
373864
|
isSecondId: Le.secondId,
|
|
@@ -373843,10 +373878,11 @@ const RedirectToMobile = ({
|
|
|
373843
373878
|
CaptureFace,
|
|
373844
373879
|
{
|
|
373845
373880
|
onSuccess: Ye,
|
|
373846
|
-
onError:
|
|
373881
|
+
onError: At,
|
|
373847
373882
|
session: Be,
|
|
373848
|
-
captureConfig:
|
|
373849
|
-
parentSize: ht
|
|
373883
|
+
captureConfig: xt,
|
|
373884
|
+
parentSize: ht,
|
|
373885
|
+
disableUnsupportedBrowserScreen: gt
|
|
373850
373886
|
}
|
|
373851
373887
|
);
|
|
373852
373888
|
}, Signature = ({ token: Be, config: Le, goNext: Ye }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -373904,7 +373940,8 @@ const RedirectToMobile = ({
|
|
|
373904
373940
|
compareBackOCREnabled: It,
|
|
373905
373941
|
compareBackIDEnabled: wt,
|
|
373906
373942
|
questionsCount: yt,
|
|
373907
|
-
useOpenVidu: nt.useOpenVidu
|
|
373943
|
+
useOpenVidu: nt.useOpenVidu,
|
|
373944
|
+
disableUnsupportedBrowserScreen: nt.disableUnsupportedBrowserScreen
|
|
373908
373945
|
}
|
|
373909
373946
|
);
|
|
373910
373947
|
}, WatchList = ({ token: Be, goNext: Le }) => /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalWatchList, { token: Be, onSuccess: Le }), getModule = ({
|
|
@@ -373942,7 +373979,8 @@ const RedirectToMobile = ({
|
|
|
373942
373979
|
onNext: Ye,
|
|
373943
373980
|
onError: tt,
|
|
373944
373981
|
mergeSessionRecordings: ft.mergeSessionRecordings,
|
|
373945
|
-
ageAssurance: ft.ageAssurance
|
|
373982
|
+
ageAssurance: ft.ageAssurance,
|
|
373983
|
+
disableUnsupportedBrowserScreen: ft.disableUnsupportedBrowserScreen
|
|
373946
373984
|
}
|
|
373947
373985
|
);
|
|
373948
373986
|
case "ID_OCR":
|
|
@@ -373974,7 +374012,8 @@ const RedirectToMobile = ({
|
|
|
373974
374012
|
},
|
|
373975
374013
|
onError: tt,
|
|
373976
374014
|
ageAssurance: ft.ageAssurance,
|
|
373977
|
-
disableZoomCheck: Be.workflowId === "67dc72bfe0eef492939b43b1"
|
|
374015
|
+
disableZoomCheck: Be.workflowId === "67dc72bfe0eef492939b43b1",
|
|
374016
|
+
disableUnsupportedBrowserScreen: ft.disableUnsupportedBrowserScreen
|
|
373978
374017
|
}
|
|
373979
374018
|
);
|
|
373980
374019
|
case "FACE_MATCH":
|