@regulaforensics/vp-frontend-face-components 7.2.1823-nightly → 7.2.1825-nightly

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.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/nightly/7.2/b9298bd1-a6bd05051",
9908
+ workerPath: "https://wasm-development.regulaforensics.com/face/nightly/7.2/30b4b8a5-606e19e85",
9909
9909
  detectOcclusion: !0
9910
9910
  }, TL = (t) => dg(dg({}, rA), {}, {
9911
9911
  onEvent: () => yL('Function "onEvent" not defined.'),
@@ -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 = s / N, z = I / N, w = g / N - T, S = a - (w + x), f = l / N - y;
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 = Math.round(s / N), z = Math.round(I / N), w = Math.round(g / N - T), S = Math.round(a - (w + x)), f = Math.round(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 = "_container_1hyic_1", KO = "_video_1hyic_6", FA = {
11413
+ const qO = "_container_1mtmn_1", KO = "_video_1mtmn_7", 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/nightly/7.2/b9298bd1-a6bd05051";
13128
+ const a = "Liveness.worker.js", o = me.getState().workerPath, s = QC(o), I = me.getState().workerPath === "https://wasm-development.regulaforensics.com/face/nightly/7.2/30b4b8a5-606e19e85";
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/nightly/7.2/b9298bd1-a6bd05051",
13146
+ currentScriptUrl: "https://wasm-development.regulaforensics.com/face/nightly/7.2/30b4b8a5-606e19e85",
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.1823-nightly"),
13517
+ sdkVersion: BA("7.2.1825-nightly"),
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.1823-nightly"), D || za, U);
13527
+ const W = CO([...x.sortedDevices.frontCameras, ...x.sortedDevices.backCameras], x.camera.deviceId, BA("7.2.1825-nightly"), D || za, U);
13528
13528
  Pi.getInitializingData({
13529
13529
  deviceMetadata: W,
13530
13530
  tag: d,
@@ -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_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%}}";
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%}}";
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.1823-nightly".trim());
15920
+ return "".concat("7.2.1825-nightly".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.1823-nightly".trim());
16350
+ return "".concat("7.2.1825-nightly".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.1823-nightly",
3
+ "version": "7.2.1825-nightly",
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",