@regulaforensics/vp-frontend-face-components 7.2.1829-nightly → 7.2.1831-rc
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/main.iife.js +3 -3
- package/dist/main.js +17 -17
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -9905,7 +9905,7 @@ const yL = un.create("main"), rA = {
|
|
9905
9905
|
livenessType: AM.ACTIVE,
|
9906
9906
|
holdStillDuration: void 0,
|
9907
9907
|
timeoutInterval: void 0,
|
9908
|
-
workerPath: "https://wasm-development.regulaforensics.com/face/
|
9908
|
+
workerPath: "https://wasm-development.regulaforensics.com/face/rc/7.2/acef3766-05ea45dce",
|
9909
9909
|
detectOcclusion: !0
|
9910
9910
|
}, TL = (t) => dg(dg({}, rA), {}, {
|
9911
9911
|
onEvent: () => yL('Function "onEvent" not defined.'),
|
@@ -10165,9 +10165,9 @@ function MA(t) {
|
|
10165
10165
|
color: a
|
10166
10166
|
} = t;
|
10167
10167
|
return /* @__PURE__ */ b.jsxs("svg", { width: i || 80, height: i || 80, viewBox: "0 0 86 84", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
10168
|
-
/* @__PURE__ */ b.jsx("ellipse", { cx: "43", cy: "42", rx: "40", ry: "40", transform: "rotate(90 43 42)", stroke: a || "#
|
10169
|
-
/* @__PURE__ */ b.jsx("path", { d: "M41.213 32.6666H45.6663C46.3736 32.6666 47.0519 32.9476 47.552 33.4477C48.0521 33.9478 48.333 34.626 48.333 35.3333V39.7866L49.6663 41.12L57.6663 35.3333V48.6666M48.333 47.3333V48.6666C48.333 49.3739 48.0521 50.0521 47.552 50.5522C47.0519 51.0523 46.3736 51.3333 45.6663 51.3333H30.9997C30.2924 51.3333 29.6142 51.0523 29.1141 50.5522C28.614 50.0521 28.333 49.3739 28.333 48.6666V35.3333C28.333 34.626 28.614 33.9478 29.1141 33.4477C29.6142 32.9476 30.2924 32.6666 30.9997 32.6666H33.6663L48.333 47.3333Z", stroke: a || "#
|
10170
|
-
/* @__PURE__ */ b.jsx("path", { d: "M28.333 27.3334L57.6663 56.6667", stroke: a || "#
|
10168
|
+
/* @__PURE__ */ b.jsx("ellipse", { cx: "43", cy: "42", rx: "40", ry: "40", transform: "rotate(90 43 42)", stroke: a || "#FF0000", strokeWidth: "3" }),
|
10169
|
+
/* @__PURE__ */ b.jsx("path", { d: "M41.213 32.6666H45.6663C46.3736 32.6666 47.0519 32.9476 47.552 33.4477C48.0521 33.9478 48.333 34.626 48.333 35.3333V39.7866L49.6663 41.12L57.6663 35.3333V48.6666M48.333 47.3333V48.6666C48.333 49.3739 48.0521 50.0521 47.552 50.5522C47.0519 51.0523 46.3736 51.3333 45.6663 51.3333H30.9997C30.2924 51.3333 29.6142 51.0523 29.1141 50.5522C28.614 50.0521 28.333 49.3739 28.333 48.6666V35.3333C28.333 34.626 28.614 33.9478 29.1141 33.4477C29.6142 32.9476 30.2924 32.6666 30.9997 32.6666H33.6663L48.333 47.3333Z", stroke: a || "#FF0000", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
|
10170
|
+
/* @__PURE__ */ b.jsx("path", { d: "M28.333 27.3334L57.6663 56.6667", stroke: a || "#FF0000", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })
|
10171
10171
|
] });
|
10172
10172
|
}
|
10173
10173
|
function OL(t) {
|
@@ -10200,8 +10200,8 @@ function CL(t) {
|
|
10200
10200
|
color: a
|
10201
10201
|
} = t;
|
10202
10202
|
return /* @__PURE__ */ b.jsxs("svg", { width: i || 86, height: i || 86, viewBox: "0 0 86 86", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
10203
|
-
/* @__PURE__ */ b.jsx("path", { d: "M33.8254 7.18383L32.7648 6.12317C33.3506 5.53738 34.3003 5.53738 34.8861 6.12317L33.8254 7.18383ZM80.0417 51.9C80.0417 52.7285 79.3701 53.4 78.5417 53.4L65.0417 53.4C64.2132 53.4 63.5417 52.7285 63.5417 51.9C63.5417 51.0716 64.2132 50.4 65.0417 50.4L77.0417 50.4V38.4C77.0417 37.5716 77.7132 36.9 78.5417 36.9C79.3701 36.9 80.0417 37.5716 80.0417 38.4L80.0417 51.9ZM14.8058 28.3248C14.22 28.9106 13.2702 28.9106 12.6845 28.3248C12.0987 27.739 12.0987 26.7893 12.6845 26.2035L14.8058 28.3248ZM34.8861 6.12317L79.6023 50.8394L77.481 52.9607L32.7648 8.24449L34.8861 6.12317ZM34.8861 8.24449L14.8058 28.3248L12.6845 26.2035L32.7648 6.12317L34.8861 8.24449Z", fill: a || "#
|
10204
|
-
/* @__PURE__ */ b.jsx("path", { d: "M52.0974 78.344L53.1581 79.4047C52.5723 79.9904 51.6225 79.9904 51.0367 79.4047L52.0974 78.344ZM5.88119 33.6278C5.88119 32.7994 6.55276 32.1278 7.38119 32.1278L20.8812 32.1278C21.7096 32.1278 22.3812 32.7994 22.3812 33.6278C22.3812 34.4562 21.7096 35.1278 20.8812 35.1278L8.88119 35.1278V47.1278C8.88119 47.9562 8.20961 48.6278 7.38119 48.6278C6.55276 48.6278 5.88119 47.9562 5.88119 47.1278L5.88119 33.6278ZM71.1171 57.203C71.7029 56.6172 72.6526 56.6172 73.2384 57.203C73.8242 57.7888 73.8242 58.7385 73.2384 59.3243L71.1171 57.203ZM51.0367 79.4047L6.32053 34.6884L8.44185 32.5671L53.1581 77.2833L51.0367 79.4047ZM51.0367 77.2833L71.1171 57.203L73.2384 59.3243L53.1581 79.4047L51.0367 77.2833Z", fill: a || "#
|
10203
|
+
/* @__PURE__ */ b.jsx("path", { d: "M33.8254 7.18383L32.7648 6.12317C33.3506 5.53738 34.3003 5.53738 34.8861 6.12317L33.8254 7.18383ZM80.0417 51.9C80.0417 52.7285 79.3701 53.4 78.5417 53.4L65.0417 53.4C64.2132 53.4 63.5417 52.7285 63.5417 51.9C63.5417 51.0716 64.2132 50.4 65.0417 50.4L77.0417 50.4V38.4C77.0417 37.5716 77.7132 36.9 78.5417 36.9C79.3701 36.9 80.0417 37.5716 80.0417 38.4L80.0417 51.9ZM14.8058 28.3248C14.22 28.9106 13.2702 28.9106 12.6845 28.3248C12.0987 27.739 12.0987 26.7893 12.6845 26.2035L14.8058 28.3248ZM34.8861 6.12317L79.6023 50.8394L77.481 52.9607L32.7648 8.24449L34.8861 6.12317ZM34.8861 8.24449L14.8058 28.3248L12.6845 26.2035L32.7648 6.12317L34.8861 8.24449Z", fill: a || "#FF0000" }),
|
10204
|
+
/* @__PURE__ */ b.jsx("path", { d: "M52.0974 78.344L53.1581 79.4047C52.5723 79.9904 51.6225 79.9904 51.0367 79.4047L52.0974 78.344ZM5.88119 33.6278C5.88119 32.7994 6.55276 32.1278 7.38119 32.1278L20.8812 32.1278C21.7096 32.1278 22.3812 32.7994 22.3812 33.6278C22.3812 34.4562 21.7096 35.1278 20.8812 35.1278L8.88119 35.1278V47.1278C8.88119 47.9562 8.20961 48.6278 7.38119 48.6278C6.55276 48.6278 5.88119 47.9562 5.88119 47.1278L5.88119 33.6278ZM71.1171 57.203C71.7029 56.6172 72.6526 56.6172 73.2384 57.203C73.8242 57.7888 73.8242 58.7385 73.2384 59.3243L71.1171 57.203ZM51.0367 79.4047L6.32053 34.6884L8.44185 32.5671L53.1581 77.2833L51.0367 79.4047ZM51.0367 77.2833L71.1171 57.203L73.2384 59.3243L53.1581 79.4047L51.0367 77.2833Z", fill: a || "#FF0000" })
|
10205
10205
|
] });
|
10206
10206
|
}
|
10207
10207
|
function pL() {
|
@@ -10290,7 +10290,7 @@ function KE(t) {
|
|
10290
10290
|
});
|
10291
10291
|
const E = Ne.useMemo(() => Mr.isDesktop && j && j !== 0 && j !== 180, [j]);
|
10292
10292
|
return /* @__PURE__ */ b.jsxs("div", { className: "".concat(NM.window, " ").concat(E ? NM.windowRotate : ""), "data-device": Mr.isMobile && s || E ? "mobile" : "desktop", "data-direction": o, "data-locale": l, part: "wc-container", children: [
|
10293
|
-
Mr.isMobileOnly && I && /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(CL, {
|
10293
|
+
Mr.isMobileOnly && I && /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(CL, {}), title: g("onlyPortraitOrientation"), subtitle: g("turnDeviceIntoPortrait") }),
|
10294
10294
|
/* @__PURE__ */ b.jsx("div", { className: NM.header, children: !D && /* @__PURE__ */ b.jsx("button", { "aria-label": "Close face web component", "data-e2e": "cross", onClick: i, children: /* @__PURE__ */ b.jsx(SL, { color: "rgba(0, 0, 0, 0.6)" }) }) }),
|
10295
10295
|
a,
|
10296
10296
|
!!d && /* @__PURE__ */ b.jsx("div", { className: NM.footer, children: /* @__PURE__ */ b.jsx("div", { className: NM.copyright, children: /* @__PURE__ */ b.jsx(pL, {}) }) })
|
@@ -10833,7 +10833,7 @@ function Mx() {
|
|
10833
10833
|
});
|
10834
10834
|
}
|
10835
10835
|
function wl(t, i, a, o, s, I, g, l, j) {
|
10836
|
-
const D = t / i, d = a / o, N = (j === Vn.contain ? d < D : d > D) ? t / a : i / o, T = (t / N - a) / 2, y = (i / N - o) / 2, x =
|
10836
|
+
const D = t / i, d = a / o, N = (j === Vn.contain ? d < D : d > D) ? t / a : i / o, T = (t / N - a) / 2, y = (i / N - o) / 2, x = s / N, z = I / N, w = g / N - T, S = a - (w + x), f = l / N - y;
|
10837
10837
|
return {
|
10838
10838
|
width: x,
|
10839
10839
|
height: z,
|
@@ -11410,7 +11410,7 @@ function XO() {
|
|
11410
11410
|
onPlay: N
|
11411
11411
|
};
|
11412
11412
|
}
|
11413
|
-
const qO = "
|
11413
|
+
const qO = "_container_1hyic_1", KO = "_video_1hyic_6", FA = {
|
11414
11414
|
container: qO,
|
11415
11415
|
video: KO
|
11416
11416
|
};
|
@@ -13125,7 +13125,7 @@ class PC {
|
|
13125
13125
|
}
|
13126
13126
|
prepare(i) {
|
13127
13127
|
return it(this, null, function* () {
|
13128
|
-
const a = "Liveness.worker.js", o = me.getState().workerPath, s = QC(o), I = me.getState().workerPath === "https://wasm-development.regulaforensics.com/face/
|
13128
|
+
const a = "Liveness.worker.js", o = me.getState().workerPath, s = QC(o), I = me.getState().workerPath === "https://wasm-development.regulaforensics.com/face/rc/7.2/acef3766-05ea45dce";
|
13129
13129
|
try {
|
13130
13130
|
let l = yield (yield fetch(s + "/" + a)).text();
|
13131
13131
|
I || (l = RO(l, s));
|
@@ -13143,7 +13143,7 @@ class PC {
|
|
13143
13143
|
}), this.worker.postMessage({
|
13144
13144
|
target: "worker-init",
|
13145
13145
|
URL: document.URL,
|
13146
|
-
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/
|
13146
|
+
currentScriptUrl: "https://wasm-development.regulaforensics.com/face/rc/7.2/acef3766-05ea45dce",
|
13147
13147
|
preMain: !0
|
13148
13148
|
}));
|
13149
13149
|
});
|
@@ -13514,7 +13514,7 @@ const XC = 1500, IE = (t) => t * 1e3, zl = un.create("main"), qC = (t) => t ===
|
|
13514
13514
|
metadata: {
|
13515
13515
|
serviceUrl: D || za,
|
13516
13516
|
hostAppId: ux(),
|
13517
|
-
sdkVersion: BA("7.2.
|
13517
|
+
sdkVersion: BA("7.2.1831-rc"),
|
13518
13518
|
deviceModel: "".concat(Mr.osName, "/").concat(Mr.osVersion, " ").concat(Mr.browserName, "/").concat(Mr.fullBrowserVersion),
|
13519
13519
|
camera: x.camera
|
13520
13520
|
}
|
@@ -13524,7 +13524,7 @@ const XC = 1500, IE = (t) => t * 1e3, zl = un.create("main"), qC = (t) => t ===
|
|
13524
13524
|
data: null
|
13525
13525
|
}), zl("Service initialized");
|
13526
13526
|
} else {
|
13527
|
-
const W = CO([...x.sortedDevices.frontCameras, ...x.sortedDevices.backCameras], x.camera.deviceId, BA("7.2.
|
13527
|
+
const W = CO([...x.sortedDevices.frontCameras, ...x.sortedDevices.backCameras], x.camera.deviceId, BA("7.2.1831-rc"), D || za, U);
|
13528
13528
|
Pi.getInitializingData({
|
13529
13529
|
deviceMetadata: W,
|
13530
13530
|
tag: d,
|
@@ -14120,7 +14120,7 @@ const gN = Ne.memo(() => {
|
|
14120
14120
|
const D = l("getReady");
|
14121
14121
|
return /* @__PURE__ */ b.jsx(ZO, { title: l("selfieTime"), subtitle: D, btnText: l("goButton") });
|
14122
14122
|
}
|
14123
|
-
return a === Ge.CAPTURING || i ? /* @__PURE__ */ b.jsx(Tp, {}) : a === Ge.PROCESSING_REQUEST ? /* @__PURE__ */ b.jsx(yE, { title: l("processing") }) : a === Ge.SUCCESS && t ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(vL, {}), title: "", isVerified: !0 }) : a === Ge.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: "".concat(l("incorrectCameraId"), ' "').concat(s, '"'), subtitle: l("checkCameraId") }) : a === Ge.PERMISSION_DENIED_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: l("noCameraPermission"), subtitle: l("allowAccessToCamera") }) : a === Ge.NO_CAMERA_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {
|
14123
|
+
return a === Ge.CAPTURING || i ? /* @__PURE__ */ b.jsx(Tp, {}) : a === Ge.PROCESSING_REQUEST ? /* @__PURE__ */ b.jsx(yE, { title: l("processing") }) : a === Ge.SUCCESS && t ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(vL, {}), title: "", isVerified: !0 }) : a === Ge.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: "".concat(l("incorrectCameraId"), ' "').concat(s, '"'), subtitle: l("checkCameraId") }) : a === Ge.PERMISSION_DENIED_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(MA, {}), title: l("noCameraPermission"), subtitle: l("allowAccessToCamera") }) : a === Ge.NO_CAMERA_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("noCameraAvailable"), subtitle: l("checkCameraConnection") }) : a === Ge.WASM_DEFAULT_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("somethingWentWrong") }) : a === Ge.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("versionNotSupported"), subtitle: l("updateBrowser") }) : a === Ge.HTTP_NOT_SUPPORTED ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("httpNotSupported") }) : a === Ge.WEBSERVICE_NOT_COMPATIBLE ? /* @__PURE__ */ b.jsx(rn, { onRetry: j, icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("webServerNotCompatible") }) : a === Ge.UNKNOWN_ERROR ? /* @__PURE__ */ b.jsx(rn, { onRetry: j, icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("error"), subtitle: l("somethingWentWrong") }) : a === Ge.RESTART || a === Ge.ABORT_PROCESSING ? /* @__PURE__ */ b.jsx(yE, {}) : t ? o.code === K4 ? /* @__PURE__ */ b.jsx(rn, { icon: /* @__PURE__ */ b.jsx(Yi, {}), title: l("somethingWentWrong"), errorCode: K4 }) : /* @__PURE__ */ b.jsx(zp, { errorCode: o.code, onRetry: j }) : /* @__PURE__ */ b.jsx(rn, { title: l("processCompleted"), icon: /* @__PURE__ */ b.jsx(mL, {}) });
|
14124
14124
|
});
|
14125
14125
|
gN.displayName = "ScreenManager";
|
14126
14126
|
function fp(t) {
|
@@ -14176,7 +14176,7 @@ function fp(t) {
|
|
14176
14176
|
E(w, Mr.isTablet);
|
14177
14177
|
}, [T, y]), /* @__PURE__ */ b.jsx(cx, { onError: N, supportedBrowserVersions: qE, children: /* @__PURE__ */ b.jsx(KE, { onClose: z, direction: i, children: /* @__PURE__ */ b.jsx(gN, {}) }) });
|
14178
14178
|
}
|
14179
|
-
const Lp = Mx(sx)(fp), vx = "*,*:before,*:after{box-sizing:border-box}._window_1gb2a_7{width:640px;height:360px;position:relative;background:#fff;overflow:hidden;box-shadow:0 2px 4px #00000026;color:#fff;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);font-family:var(--font-family);font-size:var(--font-size);margin:0 auto;border-radius:16px}._windowRotate_1gb2a_26{width:360px!important;height:640px!important}._window_1gb2a_7[data-direction=rtl]{direction:rtl}._window_1gb2a_7[data-direction=ltr]{direction:ltr}._window_1gb2a_7[data-device=mobile]{width:360px;height:640px}._header_1gb2a_44{position:absolute;top:0;right:0;display:flex;justify-content:flex-end;padding:16px;z-index:1}div[data-direction=rtl] ._header_1gb2a_44{left:0}div[data-direction=ltr] ._header_1gb2a_44{right:0}._header_1gb2a_44 button,._footer_1gb2a_62 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease;appearance:none}._header_1gb2a_44 button:focus-visible{outline:2px solid blue}._footer_1gb2a_62{position:absolute;bottom:0;padding:0 16px 8px;display:flex;align-items:center}div[data-device=mobile] ._footer_1gb2a_62{left:50%;transform:translate(-50%)}div[data-direction=rtl]:not([data-device=mobile]) ._footer_1gb2a_62{right:0}div[data-direction=ltr]:not([data-device=mobile]) ._footer_1gb2a_62{left:0}._copyright_1gb2a_102{display:flex;align-items:center}@media (max-width: 360px){._window_1gb2a_7[data-device=mobile]{width:100%}}@media (max-height: 640px){._window_1gb2a_7[data-device=mobile]{height:100%}}@media (max-width: 360px) and (max-height: 640px){._window_1gb2a_7[data-device=mobile]{border-radius:0}}@media (max-width: 640px){._window_1gb2a_7[data-device=desktop]{width:100%;height:100%;border-radius:0}}", mx = '._instruction-window_wzfb4_1{display:flex;height:100%;align-items:center;justify-content:center;flex-direction:column;padding:24px 16px}div[data-device=mobile] ._instruction-window_wzfb4_1{justify-content:center;padding:4em 1em}._text_wzfb4_15{display:flex;flex-direction:column;align-items:center;text-align:center;color:#000;margin-bottom:4px}div[data-device=mobile] ._text_wzfb4_15{margin-bottom:0}._title_wzfb4_28{margin-top:14px;margin-bottom:34px;font-size:1.563em;font-weight:600;color:#000;line-height:1}div[data-device=mobile] ._title_wzfb4_28{margin-top:0;font-size:2.125em;margin-bottom:55px}._subtitle_wzfb4_43{font-size:1.063em;font-weight:600;text-align:center;color:#262626;line-height:1.1}div[data-device=mobile] ._subtitle_wzfb4_43{font-size:1.375em}._container_wzfb4_55{display:flex;flex-direction:column;width:280px;height:100%;align-items:center}div[data-locale=en] ._container_wzfb4_55{width:13.375em;min-width:214px}div[data-locale=es] ._container_wzfb4_55{width:19.375em;min-width:285px}div[data-locale=de] ._container_wzfb4_55{width:13.938em;min-width:223px}div[data-locale=fr] ._container_wzfb4_55{width:17.813em;min-width:285px}div[data-device=mobile] ._container_wzfb4_55{justify-content:center;width:280px}._icon-block_wzfb4_88{display:flex;align-items:center;color:#000;font-size:.875em;margin-bottom:1px;letter-spacing:.4px}div[data-direction=ltr] ._icon-block_wzfb4_88{text-align:left}div[data-device=mobile] ._icon-block_wzfb4_88{font-size:1.125em;letter-spacing:0;margin-bottom:5px}div[data-device=mobile][data-locale=en] ._icon-block_wzfb4_88{padding-right:10px}._icon-container_wzfb4_111{display:flex;flex-direction:column;margin-bottom:25px}div[data-device=mobile] ._icon-container_wzfb4_111{margin-bottom:45px;margin-top:8px;padding-left:12px}._icon_wzfb4_88{margin-right:9px;flex:0 0 43px;height:43px;background-repeat:no-repeat;background-position:center center;background-size:contain}._illumination_wzfb4_132{background-image:var(--onboarding-screen-illumination)}._no-accessories_wzfb4_136{background-image:var(--onboarding-screen-accessories)}._camera-on-eye_wzfb4_140{background-image:var(--onboarding-screen-camera-level)}div[data-device=mobile] ._icon_wzfb4_88{margin-right:8px;flex:0 0 50px;height:50px}._instruction-window_wzfb4_1 button{position:relative;width:100%;height:50px;overflow:hidden;font-size:1.375em;font-weight:700;background:var(--onboarding-screen-start-button-background);color:var(--onboarding-screen-start-button-title)}._instruction-window_wzfb4_1 button:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._instruction-window_wzfb4_1 button:after{transform:translate(-120%);content:"";position:absolute;width:120%;height:100%;left:0;top:0;z-index:1;background:linear-gradient(269.72deg,#fff0 -4.26%,#ffffff38 47.3%,#fff0 105.48%);animation:_buttonAnimation_wzfb4_1 5.5s forwards}@keyframes _buttonAnimation_wzfb4_1{0%{transform:translate(-120%)}25%{transform:translate(120%)}26%{transform:translate(120%);opacity:0}27%{transform:translate(-120%);opacity:0}28%{transform:translate(-120%);opacity:1}40%{transform:translate(-120%);opacity:1}65%{transform:translate(120%);opacity:1}66%{transform:translate(120%);opacity:0}67%{transform:translate(-120%);opacity:0}68%{transform:translate(-120%);opacity:1}75%{transform:translate(-120%);opacity:1}to{transform:translate(120%);opacity:1}}', wx = "._container_ctl1v_1{display:flex;width:100%;height:100%;position:relative;color:#fff}button:focus{outline:none}._debug-canvas_ctl1v_14{position:absolute;top:0;left:0}._mirror-x_ctl1v_20{transform:scaleX(-1)}._translateY_ctl1v_24{position:absolute;top:0;left:0;width:100%;height:100%;transform:translateY(-30px)}div[data-device=mobile] ._translateY_ctl1v_24{transform:translateY(-25%)}", hx = "._process-message_1n8va_1{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center}._process-message_1n8va_1 ._message_1n8va_9{display:block;padding-top:.875em;font-size:.875em;font-weight:400;line-height:1.43em;color:#444}._info-message_1n8va_18{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:0 1.5em}._text-container_1n8va_27{display:flex;flex-direction:column;align-items:center;max-width:350px;word-break:break-word}._text-container_1n8va_27>svg{margin-bottom:1.12em}._info-message_1n8va_18 ._title_1n8va_39{margin:0 0 .3em;font-size:1.25em;font-weight:700;line-height:1.4em;color:#262626;text-align:center}._info-message_1n8va_18 ._subtitle_1n8va_48{margin:0 0 .2em;font-style:normal;font-size:1em;font-weight:400;line-height:1.375em;color:#262626;text-align:center}._info-message_1n8va_18 ._errorCode_1n8va_58{margin:0 0 1.15em;font-style:normal;font-size:.9em;font-weight:400;line-height:1.375em;color:#262626;text-align:center;opacity:.7}._button_1n8va_69{margin-top:1em}._done_1n8va_73{width:86px;height:86px;background-image:var(--success-screen-image);background-repeat:no-repeat;background-size:contain;background-position:center center}", kx = '._message-container_ud95n_2{display:inline-block;padding:.595em .87em;font-style:normal;font-weight:400;color:var(--camera-screen-front-hint-label-text);background:var(--camera-screen-front-hint-label-background);line-height:1em;border-radius:16px}._container_ud95n_14{position:relative;height:100%;width:100%}._container_ud95n_14:after{content:"";position:absolute;bottom:-5px;left:0;width:100%;height:10px;background:#fff}._translateY_ud95n_31{transform:translateY(-30px)}div[data-device=mobile] ._translateY_ud95n_31{transform:translateY(-25%)}._videoContainer_ud95n_39{width:100%;height:100%;overflow:hidden}._videoContainerRotation_ud95n_44{--rotatedWidth: 640px;--rotatedHeight: 360px;width:var(--rotatedWidth);height:var(--rotatedHeight);transform-origin:50% 50%}._videoContainerRotation-90-rev_ud95n_52{transform:rotate(90deg) translateY(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2)) translate(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2))}._videoContainerRotation-90_ud95n_52{transform:rotate(-90deg) translateY(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2)) translate(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2))}._videoContainerRotation-180_ud95n_60{transform:rotate(-180deg)}._videoContainerBlur_ud95n_64{display:flex;flex:1;width:100%;height:100%;transition:filter .3s linear}._backgroundSvg_ud95n_72{position:absolute;top:0;left:0;height:100%;width:100%}._hide_ud95n_80{opacity:0}._frame_ud95n_84{stroke-dasharray:100;animation:_dash_ud95n_1 10s linear infinite;animation-direction:reverse}._done_ud95n_90{animation:_pulse_ud95n_1 1s infinite ease-in-out}@keyframes _pulse_ud95n_1{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}._hintArrowAnimation_ud95n_106{animation:_pulseHintArrow_ud95n_1 1s infinite ease-in-out}@keyframes _pulseHintArrow_ud95n_1{0%{opacity:.3;transform:translate(20px)}50%{opacity:1;transform:translate(25px)}to{opacity:.3;transform:translate(20px)}}._primaryMessage_ud95n_125{position:absolute;bottom:8%;width:100%;text-align:center;font-size:1.125em;z-index:1}._secondaryMessage_ud95n_134{position:absolute;bottom:-7px;padding:.2em;width:100%;text-align:center;font-size:1em;transition:.5s ease;transform:translateZ(0);z-index:1}._centreMessage_ud95n_146{bottom:50%;transform:translateY(50%)}div[data-device=mobile] ._secondaryMessage_ud95n_134{transition-delay:.1s;transform:translateZ(0) translateY(0);padding:3em 1em;font-size:1.25em}div[data-device=mobile] ._centreMessage_ud95n_146{bottom:-7px;transform:translateY(-150px)}._functionalButtons_ud95n_163{position:absolute;bottom:0;padding:20px;display:flex;align-items:flex-end;justify-content:flex-end;transform:translateY(30px);z-index:1}div[data-device=mobile] ._functionalButtons_ud95n_163{transform:translateY(120px)}div[data-direction=rtl] ._functionalButtons_ud95n_163{left:0}div[data-direction=ltr] ._functionalButtons_ud95n_163{right:0}._functionalButtons_ud95n_163 button:not(:disabled):hover{transform:scale(1.1)}._functionalButtons_ud95n_163 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:transform .15s ease}._functionalButtons_ud95n_163 button:focus-visible{outline:1px solid blue}._functionalButtons_ud95n_163 button:disabled{opacity:.5}._backgroundSvg_ud95n_72 ellipse{transition:rx .5s,ry .5s}._targetSector_ud95n_218{--sector-rotate: rotate(0deg);transform:var(--sector-rotate)}._currentSector_ud95n_223{opacity:.8;transition:opacity .5s}._backgroundSvg_ud95n_72._firstStepAnimation_ud95n_228 ._targetSector_ud95n_218{animation:_targetSectorFirstStepAnimation_ud95n_1 .4s forwards}._backgroundSvg_ud95n_72._firstStepAnimation_ud95n_228 ._currentSector_ud95n_223{animation:_currentSectorFirstStepAnimation_ud95n_1 .4s forwards}._backgroundSvg_ud95n_72._firstStepAnimation_ud95n_228 ellipse{transform-origin:50% 50%;animation:_ellipseFirstStepAnimation_ud95n_1 .2s forwards}@keyframes _ellipseFirstStepAnimation_ud95n_1{0%{transform:scale(1)}50%{transform:scale(.8)}to{transform:scale(1)}}._face-hint_ud95n_253{--from-left: 0;--from-top: 0}._face-hint-container_ud95n_258{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;transition:opacity .5s}._face-hint-round_ud95n_270{position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;transition:.8s}._face-hint-target_ud95n_279{background-repeat:no-repeat;background-position:0 0;background-size:100%;animation:_spriteAnimation_ud95n_1 .4s steps(7) forwards}._face-hint-animation-14_ud95n_286{animation:_spriteAnimation_ud95n_1 .5s steps(3) alternate}._face-hint-animation-9_ud95n_291{animation:_spriteAnimation_ud95n_1 1s steps(12) forwards}._face-hint-animation-10_ud95n_296,._face-hint-animation-11_ud95n_297,._face-hint-animation-12_ud95n_298,._face-hint-animation-13_ud95n_299{animation:_spriteAnimation_ud95n_1 .4s steps(7) forwards reverse}._face-hint-animation-3_ud95n_304{animation:_moveCloser_ud95n_1 1s forwards}._face-hint-animation-4_ud95n_309{animation:_moveAway_ud95n_1 1s forwards}._face-hint-animation-1_ud95n_286{animation:_fitYourFace_ud95n_1 1s forwards}@keyframes _fitYourFace_ud95n_1{0%{top:var(--from-top);left:var(--from-left)}30%{top:var(--from-top);left:var(--from-left)}to{top:0;left:0}}@keyframes _moveCloser_ud95n_1{0%{transform:scale(.5)}to{transform:scale(1)}}@keyframes _moveAway_ud95n_1{0%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes _targetSectorFirstStepAnimation_ud95n_1{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes _currentSectorFirstStepAnimation_ud95n_1{0%{visibility:hidden}80%{visibility:hidden}to{visibility:visible}}@keyframes _spriteAnimation_ud95n_1{0%{background-position:0 0}to{background-position:0 100%}}', Ux = "._container_1mtmn_1{display:flex;position:relative;flex:1}._video_1mtmn_7{position:absolute;background-color:#fff;width:100%;height:100%;object-fit:contain}", Qx = "._button_19w9m_1{display:inline-flex;align-items:center;justify-content:center;border:none;margin:0;padding:0;background:var(--onboarding-screen-start-button-background);cursor:pointer;text-align:center;text-decoration:none;font-family:var(--font-family);font-size:1em;font-weight:400;color:var(--onboarding-screen-start-button-title);appearance:none;height:42px;flex-shrink:0;width:180px;border-radius:20px;transition:background .25s ease-in-out,transform .15s ease}._button_19w9m_1:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._button_19w9m_1:active{background:var(--onboarding-screen-start-button-background)}._button_19w9m_1:focus-visible{outline:2px solid blue}", Yx = '._container_e810x_1{height:50px;width:50px}@keyframes _spin_e810x_15{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._spinner_e810x_15{position:relative;width:50px;height:50px;clip:rect(22px,44px,44px,0);animation:_spin_e810x_15 1.5s cubic-bezier(.77,0,.175,1) infinite}._spinner_e810x_15:before,._spinner_e810x_15:after{content:"";display:block;position:absolute;inset:0;margin:auto;height:44px;width:44px;border-radius:50%}._spinner_e810x_15:before{border:3px solid transparent;border-top:3px solid var(--processing-screen-progress);animation:_spin_e810x_15 1.5s cubic-bezier(.77,0,.175,1) infinite}._spinner_e810x_15:after{border:3px solid rgba(49,49,49,.1)}', bx = "._retry-screen_g40yf_1{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:space-between;padding:1em}div[data-device=mobile] ._retry-screen_g40yf_1{justify-content:center;padding:4em 1em 6em}._text_g40yf_15{text-align:center}._text_g40yf_15 ._title_g40yf_19{margin:0 0 .4em;font-size:1.25em;font-weight:700;line-height:1.4em;color:#262626}div[data-device=mobile] ._text_g40yf_15 ._title_g40yf_19{line-height:1.25em}._text_g40yf_15 ._subtitle_g40yf_31{margin:0 0 16px;font-style:normal;font-size:.875em;font-weight:400;line-height:1.25em;color:#262626;opacity:.7}._retry-screen_g40yf_1 ._icons_g40yf_41{display:flex}div[data-device=mobile] ._icons_g40yf_41{flex-direction:column}._icons_g40yf_41 ._icon-item_g40yf_49{display:flex;flex-direction:column;align-items:center}._icons_g40yf_41 ._icon-item_g40yf_49+._icon-item_g40yf_49{margin-left:2em;margin-right:0}div[data-direction=rtl] ._icons_g40yf_41 ._icon-item_g40yf_49+._icon-item_g40yf_49{margin-left:0;margin-right:2em}div[data-device=mobile] ._icons_g40yf_41 ._icon-item_g40yf_49+._icon-item_g40yf_49{margin-left:0;margin-right:0}._icon-item_g40yf_49>svg{margin-bottom:.7em}._icon-subtitle_g40yf_74{font-size:.8em;line-height:1.43em;color:#262626;margin:0 0 1.15em;font-style:normal;font-weight:400;text-align:center}._icon-item_g40yf_49>p{word-break:break-word;text-align:center;max-width:280px}div[data-device=mobile] ._icon-item_g40yf_49>p{max-width:300px}div[data-device=mobile] ._icon-subtitle_g40yf_74{font-size:.8125em}._retry-screen_g40yf_1 button{color:var(--retry-screen-retry-button-title);background:var(--retry-screen-retry-button-background)}._retry-screen_g40yf_1 button:hover{color:var(--retry-screen-retry-button-title-hover);background:var(--retry-screen-retry-button-background-hover)}div[data-device=mobile] ._retry-screen_g40yf_1 button{position:absolute;width:calc(100% - 32px);bottom:55px;left:16px}._icon-bg_g40yf_116{width:140px;height:100px;background-repeat:no-repeat;background-position:center center;background-size:contain;margin-bottom:5px}._no-smile_g40yf_125{background-image:var(--retry-screen-person-image)}._no-glare_g40yf_128{background-image:var(--retry-screen-environment-image)}@media (max-width: 400px){div[data-device=mobile] ._retry-screen_g40yf_1{padding:3em 1em 5.5em}div[data-device=mobile] ._retry-screen_g40yf_1 button{bottom:45px}}@media (max-width: 360px){div[data-device=mobile] ._retry-screen_g40yf_1 ._icons_g40yf_41 svg{width:100%}}";
|
14179
|
+
const Lp = Mx(sx)(fp), vx = "*,*:before,*:after{box-sizing:border-box}._window_1gb2a_7{width:640px;height:360px;position:relative;background:#fff;overflow:hidden;box-shadow:0 2px 4px #00000026;color:#fff;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);font-family:var(--font-family);font-size:var(--font-size);margin:0 auto;border-radius:16px}._windowRotate_1gb2a_26{width:360px!important;height:640px!important}._window_1gb2a_7[data-direction=rtl]{direction:rtl}._window_1gb2a_7[data-direction=ltr]{direction:ltr}._window_1gb2a_7[data-device=mobile]{width:360px;height:640px}._header_1gb2a_44{position:absolute;top:0;right:0;display:flex;justify-content:flex-end;padding:16px;z-index:1}div[data-direction=rtl] ._header_1gb2a_44{left:0}div[data-direction=ltr] ._header_1gb2a_44{right:0}._header_1gb2a_44 button,._footer_1gb2a_62 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease;appearance:none}._header_1gb2a_44 button:focus-visible{outline:2px solid blue}._footer_1gb2a_62{position:absolute;bottom:0;padding:0 16px 8px;display:flex;align-items:center}div[data-device=mobile] ._footer_1gb2a_62{left:50%;transform:translate(-50%)}div[data-direction=rtl]:not([data-device=mobile]) ._footer_1gb2a_62{right:0}div[data-direction=ltr]:not([data-device=mobile]) ._footer_1gb2a_62{left:0}._copyright_1gb2a_102{display:flex;align-items:center}@media (max-width: 360px){._window_1gb2a_7[data-device=mobile]{width:100%}}@media (max-height: 640px){._window_1gb2a_7[data-device=mobile]{height:100%}}@media (max-width: 360px) and (max-height: 640px){._window_1gb2a_7[data-device=mobile]{border-radius:0}}@media (max-width: 640px){._window_1gb2a_7[data-device=desktop]{width:100%;height:100%;border-radius:0}}", mx = '._instruction-window_wzfb4_1{display:flex;height:100%;align-items:center;justify-content:center;flex-direction:column;padding:24px 16px}div[data-device=mobile] ._instruction-window_wzfb4_1{justify-content:center;padding:4em 1em}._text_wzfb4_15{display:flex;flex-direction:column;align-items:center;text-align:center;color:#000;margin-bottom:4px}div[data-device=mobile] ._text_wzfb4_15{margin-bottom:0}._title_wzfb4_28{margin-top:14px;margin-bottom:34px;font-size:1.563em;font-weight:600;color:#000;line-height:1}div[data-device=mobile] ._title_wzfb4_28{margin-top:0;font-size:2.125em;margin-bottom:55px}._subtitle_wzfb4_43{font-size:1.063em;font-weight:600;text-align:center;color:#262626;line-height:1.1}div[data-device=mobile] ._subtitle_wzfb4_43{font-size:1.375em}._container_wzfb4_55{display:flex;flex-direction:column;width:280px;height:100%;align-items:center}div[data-locale=en] ._container_wzfb4_55{width:13.375em;min-width:214px}div[data-locale=es] ._container_wzfb4_55{width:19.375em;min-width:285px}div[data-locale=de] ._container_wzfb4_55{width:13.938em;min-width:223px}div[data-locale=fr] ._container_wzfb4_55{width:17.813em;min-width:285px}div[data-device=mobile] ._container_wzfb4_55{justify-content:center;width:280px}._icon-block_wzfb4_88{display:flex;align-items:center;color:#000;font-size:.875em;margin-bottom:1px;letter-spacing:.4px}div[data-direction=ltr] ._icon-block_wzfb4_88{text-align:left}div[data-device=mobile] ._icon-block_wzfb4_88{font-size:1.125em;letter-spacing:0;margin-bottom:5px}div[data-device=mobile][data-locale=en] ._icon-block_wzfb4_88{padding-right:10px}._icon-container_wzfb4_111{display:flex;flex-direction:column;margin-bottom:25px}div[data-device=mobile] ._icon-container_wzfb4_111{margin-bottom:45px;margin-top:8px;padding-left:12px}._icon_wzfb4_88{margin-right:9px;flex:0 0 43px;height:43px;background-repeat:no-repeat;background-position:center center;background-size:contain}._illumination_wzfb4_132{background-image:var(--onboarding-screen-illumination)}._no-accessories_wzfb4_136{background-image:var(--onboarding-screen-accessories)}._camera-on-eye_wzfb4_140{background-image:var(--onboarding-screen-camera-level)}div[data-device=mobile] ._icon_wzfb4_88{margin-right:8px;flex:0 0 50px;height:50px}._instruction-window_wzfb4_1 button{position:relative;width:100%;height:50px;overflow:hidden;font-size:1.375em;font-weight:700;background:var(--onboarding-screen-start-button-background);color:var(--onboarding-screen-start-button-title)}._instruction-window_wzfb4_1 button:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._instruction-window_wzfb4_1 button:after{transform:translate(-120%);content:"";position:absolute;width:120%;height:100%;left:0;top:0;z-index:1;background:linear-gradient(269.72deg,#fff0 -4.26%,#ffffff38 47.3%,#fff0 105.48%);animation:_buttonAnimation_wzfb4_1 5.5s forwards}@keyframes _buttonAnimation_wzfb4_1{0%{transform:translate(-120%)}25%{transform:translate(120%)}26%{transform:translate(120%);opacity:0}27%{transform:translate(-120%);opacity:0}28%{transform:translate(-120%);opacity:1}40%{transform:translate(-120%);opacity:1}65%{transform:translate(120%);opacity:1}66%{transform:translate(120%);opacity:0}67%{transform:translate(-120%);opacity:0}68%{transform:translate(-120%);opacity:1}75%{transform:translate(-120%);opacity:1}to{transform:translate(120%);opacity:1}}', wx = "._container_ctl1v_1{display:flex;width:100%;height:100%;position:relative;color:#fff}button:focus{outline:none}._debug-canvas_ctl1v_14{position:absolute;top:0;left:0}._mirror-x_ctl1v_20{transform:scaleX(-1)}._translateY_ctl1v_24{position:absolute;top:0;left:0;width:100%;height:100%;transform:translateY(-30px)}div[data-device=mobile] ._translateY_ctl1v_24{transform:translateY(-25%)}", hx = "._process-message_1n8va_1{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center}._process-message_1n8va_1 ._message_1n8va_9{display:block;padding-top:.875em;font-size:.875em;font-weight:400;line-height:1.43em;color:#444}._info-message_1n8va_18{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:0 1.5em}._text-container_1n8va_27{display:flex;flex-direction:column;align-items:center;max-width:350px;word-break:break-word}._text-container_1n8va_27>svg{margin-bottom:1.12em}._info-message_1n8va_18 ._title_1n8va_39{margin:0 0 .3em;font-size:1.25em;font-weight:700;line-height:1.4em;color:#262626;text-align:center}._info-message_1n8va_18 ._subtitle_1n8va_48{margin:0 0 .2em;font-style:normal;font-size:1em;font-weight:400;line-height:1.375em;color:#262626;text-align:center}._info-message_1n8va_18 ._errorCode_1n8va_58{margin:0 0 1.15em;font-style:normal;font-size:.9em;font-weight:400;line-height:1.375em;color:#262626;text-align:center;opacity:.7}._button_1n8va_69{margin-top:1em}._done_1n8va_73{width:86px;height:86px;background-image:var(--success-screen-image);background-repeat:no-repeat;background-size:contain;background-position:center center}", kx = '._message-container_ud95n_2{display:inline-block;padding:.595em .87em;font-style:normal;font-weight:400;color:var(--camera-screen-front-hint-label-text);background:var(--camera-screen-front-hint-label-background);line-height:1em;border-radius:16px}._container_ud95n_14{position:relative;height:100%;width:100%}._container_ud95n_14:after{content:"";position:absolute;bottom:-5px;left:0;width:100%;height:10px;background:#fff}._translateY_ud95n_31{transform:translateY(-30px)}div[data-device=mobile] ._translateY_ud95n_31{transform:translateY(-25%)}._videoContainer_ud95n_39{width:100%;height:100%;overflow:hidden}._videoContainerRotation_ud95n_44{--rotatedWidth: 640px;--rotatedHeight: 360px;width:var(--rotatedWidth);height:var(--rotatedHeight);transform-origin:50% 50%}._videoContainerRotation-90-rev_ud95n_52{transform:rotate(90deg) translateY(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2)) translate(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2))}._videoContainerRotation-90_ud95n_52{transform:rotate(-90deg) translateY(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2)) translate(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2))}._videoContainerRotation-180_ud95n_60{transform:rotate(-180deg)}._videoContainerBlur_ud95n_64{display:flex;flex:1;width:100%;height:100%;transition:filter .3s linear}._backgroundSvg_ud95n_72{position:absolute;top:0;left:0;height:100%;width:100%}._hide_ud95n_80{opacity:0}._frame_ud95n_84{stroke-dasharray:100;animation:_dash_ud95n_1 10s linear infinite;animation-direction:reverse}._done_ud95n_90{animation:_pulse_ud95n_1 1s infinite ease-in-out}@keyframes _pulse_ud95n_1{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}._hintArrowAnimation_ud95n_106{animation:_pulseHintArrow_ud95n_1 1s infinite ease-in-out}@keyframes _pulseHintArrow_ud95n_1{0%{opacity:.3;transform:translate(20px)}50%{opacity:1;transform:translate(25px)}to{opacity:.3;transform:translate(20px)}}._primaryMessage_ud95n_125{position:absolute;bottom:8%;width:100%;text-align:center;font-size:1.125em;z-index:1}._secondaryMessage_ud95n_134{position:absolute;bottom:-7px;padding:.2em;width:100%;text-align:center;font-size:1em;transition:.5s ease;transform:translateZ(0);z-index:1}._centreMessage_ud95n_146{bottom:50%;transform:translateY(50%)}div[data-device=mobile] ._secondaryMessage_ud95n_134{transition-delay:.1s;transform:translateZ(0) translateY(0);padding:3em 1em;font-size:1.25em}div[data-device=mobile] ._centreMessage_ud95n_146{bottom:-7px;transform:translateY(-150px)}._functionalButtons_ud95n_163{position:absolute;bottom:0;padding:20px;display:flex;align-items:flex-end;justify-content:flex-end;transform:translateY(30px);z-index:1}div[data-device=mobile] ._functionalButtons_ud95n_163{transform:translateY(120px)}div[data-direction=rtl] ._functionalButtons_ud95n_163{left:0}div[data-direction=ltr] ._functionalButtons_ud95n_163{right:0}._functionalButtons_ud95n_163 button:not(:disabled):hover{transform:scale(1.1)}._functionalButtons_ud95n_163 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:transform .15s ease}._functionalButtons_ud95n_163 button:focus-visible{outline:1px solid blue}._functionalButtons_ud95n_163 button:disabled{opacity:.5}._backgroundSvg_ud95n_72 ellipse{transition:rx .5s,ry .5s}._targetSector_ud95n_218{--sector-rotate: rotate(0deg);transform:var(--sector-rotate)}._currentSector_ud95n_223{opacity:.8;transition:opacity .5s}._backgroundSvg_ud95n_72._firstStepAnimation_ud95n_228 ._targetSector_ud95n_218{animation:_targetSectorFirstStepAnimation_ud95n_1 .4s forwards}._backgroundSvg_ud95n_72._firstStepAnimation_ud95n_228 ._currentSector_ud95n_223{animation:_currentSectorFirstStepAnimation_ud95n_1 .4s forwards}._backgroundSvg_ud95n_72._firstStepAnimation_ud95n_228 ellipse{transform-origin:50% 50%;animation:_ellipseFirstStepAnimation_ud95n_1 .2s forwards}@keyframes _ellipseFirstStepAnimation_ud95n_1{0%{transform:scale(1)}50%{transform:scale(.8)}to{transform:scale(1)}}._face-hint_ud95n_253{--from-left: 0;--from-top: 0}._face-hint-container_ud95n_258{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;transition:opacity .5s}._face-hint-round_ud95n_270{position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;transition:.8s}._face-hint-target_ud95n_279{background-repeat:no-repeat;background-position:0 0;background-size:100%;animation:_spriteAnimation_ud95n_1 .4s steps(7) forwards}._face-hint-animation-14_ud95n_286{animation:_spriteAnimation_ud95n_1 .5s steps(3) alternate}._face-hint-animation-9_ud95n_291{animation:_spriteAnimation_ud95n_1 1s steps(12) forwards}._face-hint-animation-10_ud95n_296,._face-hint-animation-11_ud95n_297,._face-hint-animation-12_ud95n_298,._face-hint-animation-13_ud95n_299{animation:_spriteAnimation_ud95n_1 .4s steps(7) forwards reverse}._face-hint-animation-3_ud95n_304{animation:_moveCloser_ud95n_1 1s forwards}._face-hint-animation-4_ud95n_309{animation:_moveAway_ud95n_1 1s forwards}._face-hint-animation-1_ud95n_286{animation:_fitYourFace_ud95n_1 1s forwards}@keyframes _fitYourFace_ud95n_1{0%{top:var(--from-top);left:var(--from-left)}30%{top:var(--from-top);left:var(--from-left)}to{top:0;left:0}}@keyframes _moveCloser_ud95n_1{0%{transform:scale(.5)}to{transform:scale(1)}}@keyframes _moveAway_ud95n_1{0%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes _targetSectorFirstStepAnimation_ud95n_1{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes _currentSectorFirstStepAnimation_ud95n_1{0%{visibility:hidden}80%{visibility:hidden}to{visibility:visible}}@keyframes _spriteAnimation_ud95n_1{0%{background-position:0 0}to{background-position:0 100%}}', Ux = "._container_1hyic_1{display:flex;flex:1}._video_1hyic_6{background-color:#fff;width:100%;height:100%;object-fit:contain}", Qx = "._button_19w9m_1{display:inline-flex;align-items:center;justify-content:center;border:none;margin:0;padding:0;background:var(--onboarding-screen-start-button-background);cursor:pointer;text-align:center;text-decoration:none;font-family:var(--font-family);font-size:1em;font-weight:400;color:var(--onboarding-screen-start-button-title);appearance:none;height:42px;flex-shrink:0;width:180px;border-radius:20px;transition:background .25s ease-in-out,transform .15s ease}._button_19w9m_1:hover{background:var(--onboarding-screen-start-button-background-hover);color:var(--onboarding-screen-start-button-title-hover)}._button_19w9m_1:active{background:var(--onboarding-screen-start-button-background)}._button_19w9m_1:focus-visible{outline:2px solid blue}", Yx = '._container_e810x_1{height:50px;width:50px}@keyframes _spin_e810x_15{0%{transform:rotate(0)}to{transform:rotate(360deg)}}._spinner_e810x_15{position:relative;width:50px;height:50px;clip:rect(22px,44px,44px,0);animation:_spin_e810x_15 1.5s cubic-bezier(.77,0,.175,1) infinite}._spinner_e810x_15:before,._spinner_e810x_15:after{content:"";display:block;position:absolute;inset:0;margin:auto;height:44px;width:44px;border-radius:50%}._spinner_e810x_15:before{border:3px solid transparent;border-top:3px solid var(--processing-screen-progress);animation:_spin_e810x_15 1.5s cubic-bezier(.77,0,.175,1) infinite}._spinner_e810x_15:after{border:3px solid rgba(49,49,49,.1)}', bx = "._retry-screen_g40yf_1{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:space-between;padding:1em}div[data-device=mobile] ._retry-screen_g40yf_1{justify-content:center;padding:4em 1em 6em}._text_g40yf_15{text-align:center}._text_g40yf_15 ._title_g40yf_19{margin:0 0 .4em;font-size:1.25em;font-weight:700;line-height:1.4em;color:#262626}div[data-device=mobile] ._text_g40yf_15 ._title_g40yf_19{line-height:1.25em}._text_g40yf_15 ._subtitle_g40yf_31{margin:0 0 16px;font-style:normal;font-size:.875em;font-weight:400;line-height:1.25em;color:#262626;opacity:.7}._retry-screen_g40yf_1 ._icons_g40yf_41{display:flex}div[data-device=mobile] ._icons_g40yf_41{flex-direction:column}._icons_g40yf_41 ._icon-item_g40yf_49{display:flex;flex-direction:column;align-items:center}._icons_g40yf_41 ._icon-item_g40yf_49+._icon-item_g40yf_49{margin-left:2em;margin-right:0}div[data-direction=rtl] ._icons_g40yf_41 ._icon-item_g40yf_49+._icon-item_g40yf_49{margin-left:0;margin-right:2em}div[data-device=mobile] ._icons_g40yf_41 ._icon-item_g40yf_49+._icon-item_g40yf_49{margin-left:0;margin-right:0}._icon-item_g40yf_49>svg{margin-bottom:.7em}._icon-subtitle_g40yf_74{font-size:.8em;line-height:1.43em;color:#262626;margin:0 0 1.15em;font-style:normal;font-weight:400;text-align:center}._icon-item_g40yf_49>p{word-break:break-word;text-align:center;max-width:280px}div[data-device=mobile] ._icon-item_g40yf_49>p{max-width:300px}div[data-device=mobile] ._icon-subtitle_g40yf_74{font-size:.8125em}._retry-screen_g40yf_1 button{color:var(--retry-screen-retry-button-title);background:var(--retry-screen-retry-button-background)}._retry-screen_g40yf_1 button:hover{color:var(--retry-screen-retry-button-title-hover);background:var(--retry-screen-retry-button-background-hover)}div[data-device=mobile] ._retry-screen_g40yf_1 button{position:absolute;width:calc(100% - 32px);bottom:55px;left:16px}._icon-bg_g40yf_116{width:140px;height:100px;background-repeat:no-repeat;background-position:center center;background-size:contain;margin-bottom:5px}._no-smile_g40yf_125{background-image:var(--retry-screen-person-image)}._no-glare_g40yf_128{background-image:var(--retry-screen-environment-image)}@media (max-width: 400px){div[data-device=mobile] ._retry-screen_g40yf_1{padding:3em 1em 5.5em}div[data-device=mobile] ._retry-screen_g40yf_1 button{bottom:45px}}@media (max-width: 360px){div[data-device=mobile] ._retry-screen_g40yf_1 ._icons_g40yf_41 svg{width:100%}}";
|
14180
14180
|
var tn = /* @__PURE__ */ ((t) => (t.url = "url", t.debug = "debug", t.locale = "locale", t.copyright = "copyright", t.cameraId = "camera-id", t.changeCamera = "change-camera", t.startScreen = "start-screen", t.deviceOrientation = "device-orientation", t.closeDisabled = "close-disabled", t.finishScreen = "finish-screen", t))(tn || {}), kn = /* @__PURE__ */ ((t) => (t.locale = "locale", t.copyright = "copyright", t.cameraId = "camera-id", t.changeCamera = "change-camera", t.startScreen = "start-screen", t.closeDisabled = "close-disabled", t.finishScreen = "finish-screen", t))(kn || {});
|
14181
14181
|
const Op = "Убедитесь, что на экране присутствует только одно лицо.", Sp = "Подготовка камеры...", Cp = "Разрешите доступ к камере", pp = "Что-то пошло не так", vp = "Камера с заданным ID не найдена.", mp = "Проверьте корректность заданного ID камеры.", wp = "Подготовка сервиса...", hp = "Разрешите доступ к камере и перезагрузите эту страницу для продолжения.", kp = "Ошибка!", Up = "Версия вашего браузера не поддерживается", Qp = "Обновите версию вашего браузера", Yp = "Ошибка лицензии", bp = "Лицензия не найдена или недействительна", Pp = "Только портретная ориентация", Rp = "Поверните устройство в портретный режим", _p = "Повторите попытку", $p = "Отсутствует камера", Gp = "Проверьте подключение камеры и попробуйте снова.", Bp = "Выражение лица должно быть нейтральным (без улыбки, рот закрыт, глаза открыты). Снимите маску, солнцезащитные очки, головной убор", Hp = "Освещение не должно быть слишком ярким/тусклым, на лице не должно быть теней и бликов", Fp = "Смотрите прямо", Zp = "Разместите лицо по центру", Wp = "Подвиньтесь ближе", Vp = "Отодвиньтесь подальше", Jp = "Не двигайтесь", Xp = "Немного поверните голову", qp = "Удалите предметы, закрывающие лицо", Kp = "Немного поднимите голову, чтобы смотреть прямо", ev = "Немного опустите голову, чтобы смотреть прямо", rv = "Поверните голову немного влево, чтобы смотреть прямо", tv = "Поверните голову немного вправо, чтобы смотреть прямо", nv = "Моргните", iv = "Обработка...", av = "Повторить", Mv = "Но убедитесь, пожалуйста, что:", ov = "Давайте попробуем снова", uv = "Камера недоступна!", sv = "Начать", cv = "Расположите лицо по центру, поверните голову", Iv = "Расположите лицо по центру", gv = "Время для селфи!", lv = "Код ошибки:", Nv = "Хорошее освещение.", jv = "Камера на уровне глаз.", Dv = "Никаких аксессуаров: очков, маски, шляпы и т.д.", yv = "Приготовьтесь", Tv = "HTTPS не используется", Av = "Веб-сервис несовместим", dv = "Процесс завершен", Ev = {
|
14182
14182
|
showOnlyOneFace: Op,
|
@@ -15917,7 +15917,7 @@ class aq extends HTMLElement {
|
|
15917
15917
|
this.dispatchEvent(a), iq("Component event: ".concat(JSON.stringify(a.detail)));
|
15918
15918
|
}
|
15919
15919
|
get version() {
|
15920
|
-
return "".concat("7.2.
|
15920
|
+
return "".concat("7.2.1831-rc".trim());
|
15921
15921
|
}
|
15922
15922
|
set translations(i) {
|
15923
15923
|
this._translations = i, this._mounted && this.render();
|
@@ -16347,7 +16347,7 @@ class dq extends HTMLElement {
|
|
16347
16347
|
});
|
16348
16348
|
}
|
16349
16349
|
get version() {
|
16350
|
-
return "".concat("7.2.
|
16350
|
+
return "".concat("7.2.1831-rc".trim());
|
16351
16351
|
}
|
16352
16352
|
set translations(i) {
|
16353
16353
|
this._translations = i, this._mounted && this.render();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@regulaforensics/vp-frontend-face-components",
|
3
|
-
"version": "7.2.
|
3
|
+
"version": "7.2.1831-rc",
|
4
4
|
"description": "Regula framework agnostic web components to work with webcamera",
|
5
5
|
"types": "./dist/index.d.ts",
|
6
6
|
"main": "./dist/main.iife.js",
|