bry-biometric-collector 3.0.0-RC04 → 3.0.0-RC05

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.
@@ -1,6 +1,6 @@
1
- import { S as st, q as ot, r as nt, t as rt, w as j, x as S, y as p, bc as se, B as Y, C as g, aV as oe, bd as Ot, T as I, H as E, J as M, be as q, bf as hi, L as ne, Q as F, z as $, aY as _e, D as ee, E as L, G as U, I as te, M as X, N as v, P as W, R as mi, U as it, V as at, W as Ge, X as be, Y as G, Z as ve, _ as bi, a0 as Ie, a2 as vi, a1 as de, a3 as we, a4 as Ye, a5 as Qe, a6 as Nt, aa as Ce, ac as Xe, ad as Ii, ae as zt, af as ye, $ as wi, a9 as Ve, ah as jt, aj as Je, ao as Ci, ap as yi, ar as Mi, as as pi, at as _i, av as xe, aw as re, j as Di, ax as Ke, aI as kt, d as Me, aJ as Rt, aK as qe, aL as Ti, az as $e, bg as Ai, aM as Oi, aN as Ni, aO as zi, au as ji, aP as ki, bh as Ri, aR as Ei, aS as pe, aT as Si, aU as Zi, aW as le, aX as lt, aZ as Pi, a_ as V, a$ as J, b0 as Et, b1 as Wi, aC as Li, b4 as et, bi as Fi } from "./main_277c3188_3.0.0-RC04.js";
2
- import { W as Hi, C as Ui, V as Bi, a as Gi } from "./ValidationAlert_44adb2f5_3.0.0-RC04.js";
3
- import { matchDimensions as Yi, resizeResults as Qi } from "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { S as st, q as ot, r as nt, t as rt, w as j, x as S, y as p, bc as se, B as Y, C as g, aV as oe, bd as Ot, T as I, H as E, J as M, be as q, bf as hi, L as ne, Q as F, z as $, aY as _e, D as ee, E as L, G as U, I as te, M as X, N as v, P as W, R as mi, U as it, V as at, W as Ge, X as be, Y as G, Z as ve, _ as bi, a0 as Ie, a2 as vi, a1 as de, a3 as we, a4 as Ye, a5 as Qe, a6 as Nt, aa as Ce, ac as Xe, ad as Ii, ae as zt, af as ye, $ as wi, a9 as Ve, ah as jt, aj as Je, ao as Ci, ap as yi, ar as Mi, as as pi, at as _i, av as xe, aw as re, j as Di, ax as Ke, aI as kt, d as Me, aJ as Rt, aK as qe, aL as Ti, az as $e, bg as Ai, aM as Oi, aN as Ni, aO as zi, au as ji, aP as ki, bh as Ri, aR as Ei, aS as pe, aT as Si, aU as Zi, aW as le, aX as lt, aZ as Pi, a_ as V, a$ as J, b0 as Et, b1 as Wi, aC as Li, b4 as et, bi as Fi } from "./main_32819c92_3.0.0-RC05.js";
2
+ import { W as Hi, C as Ui, V as Bi, a as Gi } from "./ValidationAlert_6437b99a_3.0.0-RC05.js";
3
+ import { matchDimensions as Yi, resizeResults as Qi } from "./face_api_0e3ce8c8_3.0.0-RC05.js";
4
4
  const Xi = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwNiIgaGVpZ2h0PSI4OTAiIHZpZXdCb3g9IjAgMCAxMjA2IDg5MCIgZmlsbD0ibm9uZSIgb3BhY2l0eT0iMC4yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGcgZmlsdGVyPSJ1cmwoI2ZpbHRlcjBfZF8xOF80KSIgb3BhY2l0eT0iMCI+CiAgICA8bWFzayBpZD0icGF0aC0xLWluc2lkZS0xXzE4XzQiIGZpbGw9IndoaXRlIj4KICAgIDxyZWN0IHg9IjQiIHdpZHRoPSIxMTk4IiBoZWlnaHQ9Ijg4MiIgcng9IjYiLz4KICAgIDwvbWFzaz4KICAgIDxyZWN0IHg9IjQiIHdpZHRoPSIxMTk4IiBoZWlnaHQ9Ijg4MiIgcng9IjYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iMTYiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyIgbWFzaz0idXJsKCNwYXRoLTEtaW5zaWRlLTFfMThfNCkiLz4KICAgIDwvZz4KICAgIDxtYXNrIGlkPSJwYXRoLTItaW5zaWRlLTJfMThfNCIgZmlsbD0id2hpdGUiPgogICAgPHJlY3QgeD0iMjE5LjI3OCIgeT0iMjk2IiB3aWR0aD0iMzM4Ljg2MyIgaGVpZ2h0PSI0NjgiIHJ4PSI3Ii8+CiAgICA8L21hc2s+CiAgICA8cmVjdCB4PSIyMTkuMjc4IiB5PSIyOTYiIHdpZHRoPSIzMzguODYzIiBoZWlnaHQ9IjQ2OCIgcng9IjciIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iMTYiIG1hc2s9InVybCgjcGF0aC0yLWluc2lkZS0yXzE4XzQpIi8+CiAgICA8ZWxsaXBzZSBjeD0iMzg5LjIzOCIgY3k9IjUxMS4yMjgiIHJ4PSI4Ni4yMzc2IiByeT0iODUuMjI4NCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wOCIvPgogICAgPHBhdGggZD0iTTQ3MS40NzUgNTExLjIyOEM0NzEuNDc1IDU1Ni4wNDUgNDM0LjcwMSA1OTIuNDU3IDM4OS4yMzggNTkyLjQ1N0MzNDMuNzc0IDU5Mi40NTcgMzA3IDU1Ni4wNDUgMzA3IDUxMS4yMjhDMzA3IDQ2Ni40MTEgMzQzLjc3NCA0MzAgMzg5LjIzOCA0MzBDNDM0LjcwMSA0MzAgNDcxLjQ3NSA0NjYuNDExIDQ3MS40NzUgNTExLjIyOFoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iOCIvPgogICAgPHBhdGggZD0iTTM4Ny4zOCA2MDhDNTM1LjI2IDYwOCA1MzkuODggNzQzLjQ3MyA1MzkuODggNzQzLjQ3M0wyMzkgNzQzLjVDMjM5IDc0My41IDIzOS41IDYwOCAzODcuMzggNjA4WiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wOCIvPgogICAgPHBhdGggZD0iTTM4Ny4zOCA2MTJDNDU5Ljc5NCA2MTIgNDk2LjY0OSA2NDUuMDIgNTE1LjYyNSA2NzcuNzQzQzUyNS4xOCA2OTQuMjIgNTMwLjI1NSA3MTAuNzMzIDUzMi45MzggNzIzLjE1QzUzNC4yNzggNzI5LjM1MSA1MzUuMDE2IDczNC41MDggNTM1LjQxOCA3MzguMDk4QzUzNS40NzMgNzM4LjU4NiA1MzUuNTIxIDczOS4wNDUgNTM1LjU2NCA3MzkuNDc0TDI0My4xODQgNzM5LjVDMjQzLjIxNiA3MzkuMDM3IDI0My4yNTMgNzM4LjUzOCAyNDMuMjk3IDczOC4wMDNDMjQzLjU5IDczNC40MTQgMjQ0LjE3MSA3MjkuMjU4IDI0NS4zMjIgNzIzLjA1OEMyNDcuNjI2IDcxMC42NDIgMjUyLjE5NyA2OTQuMTM4IDI2MS4yNDEgNjc3LjY3NkMyNzAuMjczIDY2MS4yMzYgMjgzLjc0OCA2NDQuODY0IDMwMy44OTEgNjMyLjU4N0MzMjQuMDI0IDYyMC4zMTYgMzUxLjA0MiA2MTIgMzg3LjM4IDYxMloiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iOCIvPgogICAgPGRlZnM+CiAgICA8ZmlsdGVyIGlkPSJmaWx0ZXIwX2RfMThfNCIgeD0iMCIgeT0iMCIgd2lkdGg9IjEyMDYiIGhlaWdodD0iODkwIiBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+CiAgICA8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgogICAgPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CiAgICA8ZmVPZmZzZXQgZHk9IjQiLz4KICAgIDxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIiLz4KICAgIDxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgogICAgPGZlQ29sb3JNYXRyaXggdHlwZT0ibWF0cml4IiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMjUgMCIvPgogICAgPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMThfNCIvPgogICAgPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMThfNCIgcmVzdWx0PSJzaGFwZSIvPgogICAgPC9maWx0ZXI+CiAgICA8L2RlZnM+CiAgICA8L3N2Zz4KICAgIA==";
5
5
  function Vi(a) {
6
6
  let e, t, s, o, r, n, u, f, d, l, h;
@@ -978,7 +978,7 @@ function fa(a, e, t) {
978
978
  try {
979
979
  if (je >= ua) {
980
980
  je = 0;
981
- const D = await ji(), w = await import("./face_api_0e3ce8c8_3.0.0-RC04.js");
981
+ const D = await ji(), w = await import("./face_api_0e3ce8c8_3.0.0-RC05.js");
982
982
  let N;
983
983
  if (N = w.detectSingleFace(_, D), i = await N.withFaceLandmarks(), R.getContext("2d")?.clearRect(0, 0, R.width, R.height), i != null) {
984
984
  const z = Yi(R, _, !0);
@@ -1,6 +1,6 @@
1
- import { S as Ut, q as Vt, r as jt, t as Ht, w as L, x as q, y as C, z as be, B as x, C as m, D as ge, E as J, G as Z, H as S, I as ve, J as I, K as Ne, L as Me, M as _e, N as h, O as K, P as j, Q as U, R as fa, T as _, U as lt, V as rt, W as Lt, X as Qe, Y, Z as Ge, _ as da, a0 as Ye, a1 as he, a2 as ha, a3 as Se, a4 as fi, a5 as Dt, a6 as di, a7 as ma, a8 as _a, a9 as Pe, aa as we, ab as ba, ac as Ft, ad as Nt, ae as me, af as ee, $ as ga, ag as Ce, ah as hi, ai as Ze, aj as St, ak as va, al as xe, am as mi, an as _i, ao as pa, ap as wa, aq as Ca, ar as Ea, as as ya, at as Ta, au as Oa, av as Pt, aw as H, j as nt, ax as Bt, ay as Ra, az as $e, aA as et, aB as ka, aC as bi, aD as gi, aE as tt, A as Wt, aF as Ee, aG as it, aH as Aa, aI as vi, d as Re, aJ as Mt, aK as at, aL as Ia, aM as La, aN as Da, aO as Fa, aP as Na, aQ as Sa, aR as Pa, aS as Be, aT as Ba, aU as Wa, aV as st, aW as oe, aX as ft, aY as ct, aZ as Fi, a_ as M, a$ as V, b0 as pi, b1 as Ma, b2 as Ua, b3 as Va, b4 as ot, b5 as We, b6 as ja, b7 as Ha, b8 as wi, b9 as Ka, ba as ut, bb as qa } from "./main_277c3188_3.0.0-RC04.js";
2
- import { W as za, C as Ja, V as Xa, a as Qa } from "./ValidationAlert_44adb2f5_3.0.0-RC04.js";
3
- import { detectSingleFace as Ga, matchDimensions as Ya, resizeResults as Za, Box as xa } from "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { S as Ut, q as Vt, r as jt, t as Ht, w as L, x as q, y as C, z as be, B as x, C as m, D as ge, E as J, G as Z, H as S, I as ve, J as I, K as Ne, L as Me, M as _e, N as h, O as H, P as j, Q as U, R as fa, T as _, U as lt, V as rt, W as Lt, X as Qe, Y, Z as Ge, _ as da, a0 as Ye, a1 as he, a2 as ha, a3 as Se, a4 as fi, a5 as Dt, a6 as di, a7 as ma, a8 as _a, a9 as Pe, aa as we, ab as ba, ac as Ft, ad as Nt, ae as me, af as ee, $ as ga, ag as Ce, ah as hi, ai as Ze, aj as St, ak as va, al as xe, am as mi, an as _i, ao as pa, ap as wa, aq as Ca, ar as Ea, as as ya, at as Ta, au as Oa, av as Pt, aw as K, j as nt, ax as Bt, ay as Ra, az as $e, aA as et, aB as ka, aC as bi, aD as gi, aE as tt, A as Wt, aF as Ee, aG as it, aH as Aa, aI as vi, d as Re, aJ as Mt, aK as at, aL as Ia, aM as La, aN as Da, aO as Fa, aP as Na, aQ as Sa, aR as Pa, aS as Be, aT as Ba, aU as Wa, aV as st, aW as oe, aX as ft, aY as ct, aZ as Fi, a_ as M, a$ as V, b0 as pi, b1 as Ma, b2 as Ua, b3 as Va, b4 as ot, b5 as We, b6 as ja, b7 as Ha, b8 as wi, b9 as Ka, ba as ut, bb as qa } from "./main_32819c92_3.0.0-RC05.js";
2
+ import { W as za, C as Ja, V as Xa, a as Qa } from "./ValidationAlert_6437b99a_3.0.0-RC05.js";
3
+ import { detectSingleFace as Ga, matchDimensions as Ya, resizeResults as Za, Box as xa } from "./face_api_0e3ce8c8_3.0.0-RC05.js";
4
4
  function $a(i) {
5
5
  let e, t, s, o;
6
6
  return t = new za({}), {
@@ -192,7 +192,7 @@ function Ci(i, e, t) {
192
192
  return s[118] = e[t], s;
193
193
  }
194
194
  function Ei(i) {
195
- let e, t, s = K(), o, n, l, r, c, u, f, g, v, d, E, b, p, k, T, F, A, B = s && os(i), W = (
195
+ let e, t, s = H(), o, n, l, r, c, u, f, g, v, d, E, b, p, k, T, F, A, B = s && os(i), W = (
196
196
  /*$ready*/
197
197
  i[21] && yi(i)
198
198
  );
@@ -258,7 +258,7 @@ function Ei(i) {
258
258
  i[31].videoHeight + "px"
259
259
  ), m(g, "class", "flex flex-grow w-full items-center justify-center relative"), m(f, "class", "absolute inset-0 flex flex-col items-center justify-between w-full h-full"), m(e, "class", p = /*$ready*/
260
260
  i[21] ? "relative" : "relative w-0 h-0"), e.hidden = k = /*$cameraStatusStore*/
261
- i[20] !== j.OK || K() && /*idrndLoading*/
261
+ i[20] !== j.OK || H() && /*idrndLoading*/
262
262
  (i[16] || /*idrndClosed*/
263
263
  i[17] || /*waitingIdrndCaptureEvent*/
264
264
  i[18]);
@@ -325,7 +325,7 @@ function Ei(i) {
325
325
  2097152 && p !== (p = /*$ready*/
326
326
  R[21] ? "relative" : "relative w-0 h-0")) && m(e, "class", p), (!T || y[0] & /*$cameraStatusStore, idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
327
327
  1507328 && k !== (k = /*$cameraStatusStore*/
328
- R[20] !== j.OK || K() && /*idrndLoading*/
328
+ R[20] !== j.OK || H() && /*idrndLoading*/
329
329
  (R[16] || /*idrndClosed*/
330
330
  R[17] || /*waitingIdrndCaptureEvent*/
331
331
  R[18]))) && (e.hidden = k);
@@ -633,7 +633,7 @@ function fs(i) {
633
633
  /*$unconformitiesStore*/
634
634
  d[29].isLoading ? 1 : (
635
635
  /*$requestResult*/
636
- d[27] !== H.OK ? 2 : (
636
+ d[27] !== K.OK ? 2 : (
637
637
  /*$saved*/
638
638
  d[24] ? 4 : 3
639
639
  )
@@ -818,17 +818,17 @@ function ms(i) {
818
818
  function d(p, k) {
819
819
  return (
820
820
  /*$requestResult*/
821
- p[27] === H.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
822
- p[27] === H.UNKNOWN_LIVENESS_ERROR ? ys : (
821
+ p[27] === K.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
822
+ p[27] === K.UNKNOWN_LIVENESS_ERROR ? ys : (
823
823
  /*$requestResult*/
824
- p[27] === H.LOW_LIVENESS_SCORE ? Es : (
824
+ p[27] === K.LOW_LIVENESS_SCORE ? Es : (
825
825
  /*$requestResult*/
826
- p[27] === H.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
827
- p[27] === H.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? Cs : (
826
+ p[27] === K.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
827
+ p[27] === K.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? Cs : (
828
828
  /*$requestResult*/
829
- p[27] === H.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? ws : (
829
+ p[27] === K.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? ws : (
830
830
  /*$requestResult*/
831
- p[27] === H.LIVENESS_EVALUATION_ERROR ? ps : vs
831
+ p[27] === K.LIVENESS_EVALUATION_ERROR ? ps : vs
832
832
  )
833
833
  )
834
834
  )
@@ -1251,10 +1251,10 @@ function ys(i) {
1251
1251
  };
1252
1252
  }
1253
1253
  function Ts(i) {
1254
- let e, t, s, o = K() && /*waitingIdrndCaptureEvent*/
1255
- i[18], n, l = (K() && /*idrndLoading*/
1254
+ let e, t, s, o = H() && /*waitingIdrndCaptureEvent*/
1255
+ i[18], n, l = (H() && /*idrndLoading*/
1256
1256
  (i[16] || !/*$ready*/
1257
- i[21]) || !K() && !/*$ready*/
1257
+ i[21]) || !H() && !/*$ready*/
1258
1258
  i[21]) && /*$cameraStatusStore*/
1259
1259
  i[20] === j.OK, r, c, u, f, g, v, d = (
1260
1260
  /*$videoStore*/
@@ -1286,11 +1286,11 @@ function Ts(i) {
1286
1286
  1 && J(d, 1)) : (d = Ei(A), d.c(), J(d, 1), d.m(t, s)) : d && (lt(), Z(d, 1, 1, () => {
1287
1287
  d = null;
1288
1288
  }), rt()), B[0] & /*waitingIdrndCaptureEvent*/
1289
- 262144 && (o = K() && /*waitingIdrndCaptureEvent*/
1289
+ 262144 && (o = H() && /*waitingIdrndCaptureEvent*/
1290
1290
  A[18]), o ? E ? E.p(A, B) : (E = Ti(A), E.c(), E.m(t, n)) : E && (E.d(1), E = null), B[0] & /*idrndLoading, $ready, $cameraStatusStore*/
1291
- 3211264 && (l = (K() && /*idrndLoading*/
1291
+ 3211264 && (l = (H() && /*idrndLoading*/
1292
1292
  (A[16] || !/*$ready*/
1293
- A[21]) || !K() && !/*$ready*/
1293
+ A[21]) || !H() && !/*$ready*/
1294
1294
  A[21]) && /*$cameraStatusStore*/
1295
1295
  A[20] === j.OK), l ? b ? b.p(A, B) : (b = Oi(A), b.c(), b.m(t, r)) : b && (b.d(1), b = null), /*$captured*/
1296
1296
  A[23] ? p ? p.p(A, B) : (p = Ri(A), p.c(), p.m(t, null)) : p && (p.d(1), p = null);
@@ -1312,7 +1312,7 @@ function Ts(i) {
1312
1312
  }
1313
1313
  let Os = 0, Rs = 3e3;
1314
1314
  function ks() {
1315
- ({}).VITE_USE_DEV === "true" ? import("./index-no-detector_281a271b_3.0.0-RC04.js") : import("./index-no-detector_56051121_3.0.0-RC04.js");
1315
+ ({}).VITE_USE_DEV === "true" ? import("./index-no-detector_281a271b_3.0.0-RC05.js") : import("./index-no-detector_56051121_3.0.0-RC05.js");
1316
1316
  }
1317
1317
  function As(i, e, t) {
1318
1318
  const s = e.videoWidth / e.videoHeight, o = t.width / t.height;
@@ -1341,7 +1341,7 @@ function Is(i, e, t) {
1341
1341
  } catch {
1342
1342
  h(hi, le = !1, le), t(0, Tt = !0);
1343
1343
  }
1344
- K() ? (ks(), Pi()) : await pe(), _e() || Wi();
1344
+ H() ? (ks(), Pi()) : await pe(), _e() || Wi();
1345
1345
  });
1346
1346
  async function ai() {
1347
1347
  const [a, w] = (Ct ?? "")?.replaceAll(" ", "")?.split("x")?.map((O) => O ? parseInt(O) : void 0);
@@ -1355,7 +1355,7 @@ function Is(i, e, t) {
1355
1355
  )) : h(Me, ae = { videoWidth: a, videoHeight: w }, ae));
1356
1356
  }
1357
1357
  function si() {
1358
- h(Qe, n = !1, n), h(Se, v = !1, v), h(Ye, u = Pt.FRONT_CAMERA, u), Ot && h(di, b = !1, b), h(Ft, B = !1, B), h(ee, y = H.OK, y), h(Pe, T = "", T), h(Ce, $.unconformities = [], $);
1358
+ h(Qe, n = !1, n), h(Se, v = !1, v), h(Ye, u = Pt.FRONT_CAMERA, u), Ot && h(di, b = !1, b), h(Ft, B = !1, B), h(ee, y = K.OK, y), h(Pe, T = "", T), h(Ce, $.unconformities = [], $);
1359
1359
  const a = nt(Bt);
1360
1360
  a.closedMouth = !1, a.isPersonCloseEnough = !1, a.isPersonTooclose = !0, a.isPersonInFrame = !1, Bt.set(a), h(we, F = "", F);
1361
1361
  }
@@ -1398,7 +1398,7 @@ function Is(i, e, t) {
1398
1398
  } finally {
1399
1399
  t(18, ye = !1);
1400
1400
  }
1401
- if (t(18, ye = !1), h(ee, y = H.OK, y), h(Ce, $.isLoading = !0, $), h(Se, v = !0, v), De = !1, h(Le, ce = P[0], ce), h(me, R = P[1], R), h(Pe, T = P[1], T), !Kt) {
1401
+ if (t(18, ye = !1), h(ee, y = K.OK, y), h(Ce, $.isLoading = !0, $), h(Se, v = !0, v), De = !1, h(Le, ce = P[0], ce), h(me, R = P[1], R), h(Pe, T = P[1], T), !Kt) {
1402
1402
  let z, re, It, Je;
1403
1403
  try {
1404
1404
  if (!gi(Ie))
@@ -1416,7 +1416,7 @@ function Is(i, e, t) {
1416
1416
  } catch (se) {
1417
1417
  console.error(se);
1418
1418
  let Oe = Ee.UNKNOWN, Xe = [], ui = [];
1419
- se instanceof Wt && se.response?.status === 400 ? se.response.data && Array.isArray(se.response.data.bodyParts) ? (Xe = se.response.data.bodyParts, ui = se.response.data.icaoWarnings, It = se.response.data.invalidLivenessCounter, Je = se.response.data.invalidLivenessLimit, Oe = Xe.find((ua) => ua.livenessResult.error)?.livenessResult.error_code, h(ee, y = H.LIVENESS_DETECTION_FAILURE, y), t(19, ie = Ee[Oe]), console.error("Liveness error:", Oe)) : h(ee, y = H.TEMPLATE_EXTRACTION_ERROR, y) : se instanceof Error && ["FACE_NOT_FOUND", "FACE_TOO_SMALL"].includes(se.message) ? (h(ee, y = H.LIVENESS_DETECTION_FAILURE, y), Oe = se.message, t(19, ie = Ee[Oe]), Xe = ri()) : fe && He.fire({
1419
+ se instanceof Wt && se.response?.status === 400 ? se.response.data && Array.isArray(se.response.data.bodyParts) ? (Xe = se.response.data.bodyParts, ui = se.response.data.icaoWarnings, It = se.response.data.invalidLivenessCounter, Je = se.response.data.invalidLivenessLimit, Oe = Xe.find((ua) => ua.livenessResult.error)?.livenessResult.error_code, h(ee, y = K.LIVENESS_DETECTION_FAILURE, y), t(19, ie = Ee[Oe]), console.error("Liveness error:", Oe)) : h(ee, y = K.TEMPLATE_EXTRACTION_ERROR, y) : se instanceof Error && ["FACE_NOT_FOUND", "FACE_TOO_SMALL"].includes(se.message) ? (h(ee, y = K.LIVENESS_DETECTION_FAILURE, y), Oe = se.message, t(19, ie = Ee[Oe]), Xe = ri()) : fe && He.fire({
1420
1420
  icon: "error",
1421
1421
  title: "Falha ao comunicar com serviço de Liveness"
1422
1422
  }), h(Ce, $.isLoading = !1, $), window.dispatchEvent(new CustomEvent(
@@ -1435,7 +1435,7 @@ function Is(i, e, t) {
1435
1435
  ));
1436
1436
  return;
1437
1437
  }
1438
- if (y !== H.OK) {
1438
+ if (y !== K.OK) {
1439
1439
  h(Ce, $.isLoading = !1, $);
1440
1440
  return;
1441
1441
  }
@@ -1446,12 +1446,12 @@ function Is(i, e, t) {
1446
1446
  try {
1447
1447
  G = await Aa(w), ni(G.data);
1448
1448
  } catch (z) {
1449
- h(ee, y = H.UNKNOWN_LIVENESS_ERROR, y), console.error(z), z instanceof Wt && z.response?.status === 400 ? (N = z.response.data.error_code, t(19, ie = Ee[N]), console.error("Liveness error:", N), h(ee, y = H.LIVENESS_DETECTION_FAILURE, y)) : He.fire({
1449
+ h(ee, y = K.UNKNOWN_LIVENESS_ERROR, y), console.error(z), z instanceof Wt && z.response?.status === 400 ? (N = z.response.data.error_code, t(19, ie = Ee[N]), console.error("Liveness error:", N), h(ee, y = K.LIVENESS_DETECTION_FAILURE, y)) : He.fire({
1450
1450
  icon: "error",
1451
1451
  title: "Falha ao comunicar com serviço de Liveness"
1452
1452
  });
1453
1453
  }
1454
- if (y !== H.OK) {
1454
+ if (y !== K.OK) {
1455
1455
  h(Ce, $.isLoading = !1, $), window.dispatchEvent(new CustomEvent(
1456
1456
  "face-unconformities-validated",
1457
1457
  {
@@ -1492,10 +1492,10 @@ function Is(i, e, t) {
1492
1492
  h(Y, l = j.CAMERA_ORIENTATION_PORTRAIT, l);
1493
1493
  return;
1494
1494
  }
1495
- await ai(), K() ? At() : await Bi(ae.videoWidth, ae.videoHeight, a);
1495
+ await ai(), H() ? At() : await Bi(ae.videoWidth, ae.videoHeight, a);
1496
1496
  }
1497
1497
  async function At() {
1498
- if (K()) {
1498
+ if (H()) {
1499
1499
  if (await ai(), !g[0]?.deviceId) {
1500
1500
  try {
1501
1501
  await vi(640, 480);
@@ -1518,7 +1518,7 @@ function Is(i, e, t) {
1518
1518
  }
1519
1519
  }
1520
1520
  async function oi() {
1521
- if (h(ee, y = H.OK, y), K()) {
1521
+ if (h(ee, y = K.OK, y), H()) {
1522
1522
  t(18, ye = !0), Q.takePhoto();
1523
1523
  return;
1524
1524
  }
@@ -1569,11 +1569,11 @@ function Is(i, e, t) {
1569
1569
  if (w.response.data && Array.isArray(w.response.data.bodyParts)) {
1570
1570
  P = w.response.data.bodyParts, N = w.response.data.icaoWarnings;
1571
1571
  const G = P.find((de) => de.livenessResult.error);
1572
- O = G?.livenessResult.error_code, h(ee, y = H.LIVENESS_DETECTION_FAILURE, y), G?.livenessResult.error_code || h(ee, y = H.UNKNOWN_LIVENESS_ERROR, y), t(19, ie = Ee[O]), console.error("Liveness error:", O);
1572
+ O = G?.livenessResult.error_code, h(ee, y = K.LIVENESS_DETECTION_FAILURE, y), G?.livenessResult.error_code || h(ee, y = K.UNKNOWN_LIVENESS_ERROR, y), t(19, ie = Ee[O]), console.error("Liveness error:", O);
1573
1573
  } else
1574
- h(ee, y = H.TEMPLATE_EXTRACTION_ERROR, y);
1574
+ h(ee, y = K.TEMPLATE_EXTRACTION_ERROR, y);
1575
1575
  else
1576
- w instanceof Error && ["FACE_NOT_FOUND", "FACE_TOO_SMALL"].includes(w.message) ? (h(ee, y = H.LIVENESS_DETECTION_FAILURE, y), O = w.message, t(19, ie = Ee[O]), P = ri()) : (h(ee, y = H.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE, y), fe && He.fire({
1576
+ w instanceof Error && ["FACE_NOT_FOUND", "FACE_TOO_SMALL"].includes(w.message) ? (h(ee, y = K.LIVENESS_DETECTION_FAILURE, y), O = w.message, t(19, ie = Ee[O]), P = ri()) : (h(ee, y = K.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE, y), fe && He.fire({
1577
1577
  icon: "error",
1578
1578
  title: "Falha ao comunicar com serviço de Liveness"
1579
1579
  }));
@@ -1622,7 +1622,7 @@ function Is(i, e, t) {
1622
1622
  }
1623
1623
  function Wi() {
1624
1624
  navigator.mediaDevices.ondevicechange = async (a) => {
1625
- a.type == "devicechange" && (await Mt(), l !== j.OK ? await ze() : (!K() && !d.active || K() && !ne) && (at(Q), h(Y, l = j.DEVICE_NOT_FOUND_ERROR, l), t(17, ne = !0)));
1625
+ a.type == "devicechange" && (await Mt(), l !== j.OK ? await ze() : (!H() && !d.active || H() && !ne) && (at(Q), h(Y, l = j.DEVICE_NOT_FOUND_ERROR, l), t(17, ne = !0)));
1626
1626
  };
1627
1627
  }
1628
1628
  async function li() {
@@ -1687,7 +1687,7 @@ function Is(i, e, t) {
1687
1687
  height: p.height * Fe
1688
1688
  }), re = document.createElement("canvas");
1689
1689
  re.width = z.width, re.height = z.height, re.getContext("2d")?.clearRect(0, 0, re.width, re.height), G && As(G, D, N);
1690
- const [Je] = await (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).extractFaces(N, [z]);
1690
+ const [Je] = await (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).extractFaces(N, [z]);
1691
1691
  return Je;
1692
1692
  }
1693
1693
  const Ui = Bt.subscribe((a) => {
@@ -1696,7 +1696,7 @@ function Is(i, e, t) {
1696
1696
  t(14, Ae = !0), ii = (/* @__PURE__ */ new Date()).getTime() + Rs;
1697
1697
  const O = setInterval(
1698
1698
  async () => {
1699
- if (!b || v || ye || K() && ne || !a.isPersonCloseEnough || a.isPersonTooclose || !a.closedMouth || !a.isPersonInFrame) {
1699
+ if (!b || v || ye || H() && ne || !a.isPersonCloseEnough || a.isPersonTooclose || !a.closedMouth || !a.isPersonInFrame) {
1700
1700
  t(14, Ae = !1), setTimeout(
1701
1701
  () => {
1702
1702
  },
@@ -1716,12 +1716,12 @@ function Is(i, e, t) {
1716
1716
  D && a && (console.log("setting null in video srcObject"), t(11, D.srcObject = null, D), t(11, D.src = "", D), h(he, f = null, f));
1717
1717
  });
1718
1718
  St.subscribe(async (a) => {
1719
- a === $e.Face && (await Mt(), K() && h(he, f = g[0]?.deviceId, f));
1719
+ a === $e.Face && (await Mt(), H() && h(he, f = g[0]?.deviceId, f));
1720
1720
  });
1721
1721
  const Hi = he.subscribe(async (a) => {
1722
- if (!(!d || !a || K() && ne))
1722
+ if (!(!H() && !d || !a || H() && ne))
1723
1723
  try {
1724
- if (K()) {
1724
+ if (H()) {
1725
1725
  await at(Q), await pe();
1726
1726
  return;
1727
1727
  }
@@ -1733,14 +1733,14 @@ function Is(i, e, t) {
1733
1733
  t(17, ne = !0), Re(O) && "message" in O && O.message.includes("Requested device not found") && h(Y, l = j.DEVICE_NOT_FOUND_ERROR, l);
1734
1734
  }
1735
1735
  }), Ki = St.subscribe(async (a) => {
1736
- a === $e.Face && K() && !De && !v && Rt && await pe();
1736
+ a === $e.Face && H() && !De && !v && Rt && await pe();
1737
1737
  }), qi = Ue.subscribe(async (a) => {
1738
1738
  a && ci();
1739
1739
  }), zi = Da.subscribe(async (a) => {
1740
1740
  if (g[0]?.deviceId) {
1741
- if (at(), !_e() || K()) {
1741
+ if (at(), !_e() || H()) {
1742
1742
  const O = (g.findIndex((N) => N.deviceId === f) + 1) % g.length, P = g[O].deviceId;
1743
- K() ? h(he, f = P, f) : await pe(P);
1743
+ H() ? h(he, f = P, f) : await pe(P);
1744
1744
  return;
1745
1745
  }
1746
1746
  a ? (h(Ye, u = Pt.REAR_CAMERA, u), await pe()) : (h(Ye, u = Pt.FRONT_CAMERA, u), await pe());
@@ -1791,7 +1791,7 @@ function Is(i, e, t) {
1791
1791
  });
1792
1792
  }
1793
1793
  const Zi = () => {
1794
- K() || (t(11, D.width = ae.videoWidth, D), t(11, D.height = ae.videoHeight, D), t(12, te.width = ae.videoWidth, te), t(12, te.height = ae.videoHeight, te));
1794
+ H() || (t(11, D.width = ae.videoWidth, D), t(11, D.height = ae.videoHeight, D), t(12, te.width = ae.videoWidth, te), t(12, te.height = ae.videoHeight, te));
1795
1795
  };
1796
1796
  function xi(a) {
1797
1797
  ot[a ? "unshift" : "push"](() => {
@@ -1,4 +1,4 @@
1
- import { S as H, q as P, r as F, t as W, w as M, x as S, y as I, B as T, C as h, H as g, J as E, Y as we, $ as le, bj as Y, bk as $, P as B, bc as O, Q as p, a_ as L, bl as x, T as b, bm as Q, a$ as C, aW as R, aY as pe, _ as ie, R as X, a2 as ve, aN as re, N as ee, a6 as se, U as V, G as k, V as Z, E as z, L as Ae, bf as ae, Z as Le, ah as _e, M as q, aV as U, bd as te, bn as Ie, z as G, D as J, I as K, O as oe, aa as Ce } from "./main_277c3188_3.0.0-RC04.js";
1
+ import { S as H, q as P, r as F, t as W, w as M, x as S, y as I, B as T, C as h, H as g, J as E, Y as we, $ as le, bj as Y, bk as $, P as B, bc as O, Q as p, a_ as L, bl as x, T as b, bm as Q, a$ as C, aW as R, aY as pe, _ as ie, R as X, a2 as ve, aN as re, N as ee, a6 as se, U as V, G as k, V as Z, E as z, L as Ae, bf as ae, Z as Le, ah as _e, M as q, aV as U, bd as te, bn as Ie, z as G, D as J, I as K, O as oe, aa as Ce } from "./main_32819c92_3.0.0-RC05.js";
2
2
  function ke(i) {
3
3
  let e, s, a, t, l = (
4
4
  /*$_*/
@@ -1,4 +1,4 @@
1
- import { bp as D, bq as V } from "./main_277c3188_3.0.0-RC04.js";
1
+ import { bp as D, bq as V } from "./main_32819c92_3.0.0-RC05.js";
2
2
  function H(e, t) {
3
3
  for (var n = 0; n < t.length; n++) {
4
4
  const r = t[n];
@@ -1,5 +1,5 @@
1
- import { br as a } from "./main_277c3188_3.0.0-RC04.js";
2
- import "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { br as a } from "./main_32819c92_3.0.0-RC05.js";
2
+ import "./face_api_0e3ce8c8_3.0.0-RC05.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,5 +1,5 @@
1
- import { u as m, $ as D, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./main_277c3188_3.0.0-RC04.js";
2
- import "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { u as m, $ as D, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./main_32819c92_3.0.0-RC05.js";
2
+ import "./face_api_0e3ce8c8_3.0.0-RC05.js";
3
3
  const f = m(D);
4
4
  var X = /* @__PURE__ */ ((n) => (n.EXTENSION_MISSING = "EXTENSION_MISSING", n.USER_CANCELLED = "USER_CANCELLED", n.UNAUTHORIZED_EXTENSION = "UNAUTHORIZED_EXTENSION", n.SCANNER_NOT_FOUND = "SCANNER_NOT_FOUND", n.EXTENSION_MODULE_NOT_INSTALLED = "EXTENSION_MODULE_NOT_INSTALLED", n.FINGER_NOT_REMOVED = "FINGER_NOT_REMOVED", n.UNKNOWN_ERROR = "UNKNOWN_ERROR", n.EVALUATE_BIOMETRICS_TIMEOUT = "EVALUATE_BIOMETRICS_TIMEOUT", n.EVALUATE_BIOMETRICS_NETWORK_ISSUE = "EVALUATE_BIOMETRICS_NETWORK_ISSUE", n))(X || {});
5
5
  class r extends Error {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { br as a } from "./main_277c3188_3.0.0-RC04.js";
2
- import "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { br as a } from "./main_32819c92_3.0.0-RC05.js";
2
+ import "./face_api_0e3ce8c8_3.0.0-RC05.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { bo as eo } from "./main_277c3188_3.0.0-RC04.js";
2
- import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_23bd1279_3.0.0-RC04.js";
3
- import "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { bo as eo } from "./main_32819c92_3.0.0-RC05.js";
2
+ import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_1ef6f90f_3.0.0-RC05.js";
3
+ import "./face_api_0e3ce8c8_3.0.0-RC05.js";
4
4
  var pu = { exports: {} };
5
5
  pu.exports;
6
6
  (function(n) {
@@ -1,6 +1,6 @@
1
- import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_23bd1279_3.0.0-RC04.js";
2
- import { bo as Xa, bp as hr } from "./main_277c3188_3.0.0-RC04.js";
3
- import "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_1ef6f90f_3.0.0-RC05.js";
2
+ import { bo as Xa, bp as hr } from "./main_32819c92_3.0.0-RC05.js";
3
+ import "./face_api_0e3ce8c8_3.0.0-RC05.js";
4
4
  function gr(e, t) {
5
5
  for (var n = 0; n < t.length; n++) {
6
6
  const s = t[n];
@@ -1,4 +1,4 @@
1
- import { detectSingleFace as hc } from "./face_api_0e3ce8c8_3.0.0-RC04.js";
1
+ import { detectSingleFace as hc } from "./face_api_0e3ce8c8_3.0.0-RC05.js";
2
2
  function W() {
3
3
  }
4
4
  function Cn(A, e) {
@@ -7200,18 +7200,18 @@ async function Zd(A) {
7200
7200
  A && (e = A), console.log("requesting weights from", e);
7201
7201
  try {
7202
7202
  await Promise.all([
7203
- (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).nets.tinyFaceDetector.load(e),
7204
- (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).loadFaceLandmarkModel(e)
7203
+ (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).nets.tinyFaceDetector.load(e),
7204
+ (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).loadFaceLandmarkModel(e)
7205
7205
  ]);
7206
7206
  } catch {
7207
7207
  console.warn("Your browser doesn't support WebGL! Trying to use WASM backend now...");
7208
7208
  try {
7209
7209
  await Promise.all([
7210
- (await import("./index_47d6818a_3.0.0-RC04.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
7211
- (await import("./index_10ad37f7_3.0.0-RC04.js")).setBackend("wasm"),
7212
- (await import("./index_10ad37f7_3.0.0-RC04.js")).ready(),
7213
- (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).nets.tinyFaceDetector.load(e),
7214
- (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).loadFaceLandmarkModel(e)
7210
+ (await import("./index_b1fdd5bf_3.0.0-RC05.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
7211
+ (await import("./index_39f05e1b_3.0.0-RC05.js")).setBackend("wasm"),
7212
+ (await import("./index_39f05e1b_3.0.0-RC05.js")).ready(),
7213
+ (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).nets.tinyFaceDetector.load(e),
7214
+ (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).loadFaceLandmarkModel(e)
7215
7215
  ]);
7216
7216
  } catch {
7217
7217
  throw console.warn("WASM backend failed to load, face detection will be disabled"), new Error("Face detection failed to load");
@@ -10249,13 +10249,13 @@ const mi = Y(!0), zQ = Y(), xg = Y(!1), XI = Y(0), zI = Y({
10249
10249
  height: 0
10250
10250
  });
10251
10251
  async function ZQ() {
10252
- return new (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).TinyFaceDetectorOptions({
10252
+ return new (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).TinyFaceDetectorOptions({
10253
10253
  scoreThreshold: 0.6
10254
10254
  });
10255
10255
  }
10256
10256
  async function Ef(A, e, t, r = !1) {
10257
10257
  if (t) {
10258
- const C = (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).draw;
10258
+ const C = (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).draw;
10259
10259
  C.drawDetections(e, A), new C.DrawFaceLandmarks(A.landmarks, { pointColor: "gold" }).draw(e);
10260
10260
  }
10261
10261
  const o = A.landmarks.positions, i = WQ(o), a = await YQ(o), B = A.detection.box, I = await jQ(B, a, e, t);
@@ -10266,17 +10266,17 @@ function WQ(A) {
10266
10266
  return yi(e, t);
10267
10267
  }
10268
10268
  async function YQ(A) {
10269
- const e = (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).Point;
10269
+ const e = (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).Point;
10270
10270
  let t = A[37].add(A[38]).add(A[40]).add(A[41]), r = A[43].add(A[44]).add(A[46]).add(A[47]);
10271
10271
  t = t.div(new e(4, 4)), r = r.div(new e(4, 4));
10272
10272
  const o = yi(r, t);
10273
10273
  return XI.set(o), o;
10274
10274
  }
10275
10275
  async function jQ(A, e, t, r) {
10276
- const o = (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).Point;
10276
+ const o = (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).Point;
10277
10277
  let i = 2.5, a = 0.8;
10278
10278
  const B = A.topLeft.x - e, I = A.topLeft.y - i * e, C = A.bottomLeft.x - e, l = A.bottomLeft.y + a * e, p = A.bottomRight.x + e, m = A.bottomRight.y + e, v = yi(new o(C, l), new o(B, I)), y = yi(new o(C, l), new o(p, m)), U = t.getContext("2d");
10279
- return U.beginPath(), U.strokeStyle = "gold", zQ.set(new (await import("./face_api_0e3ce8c8_3.0.0-RC04.js")).Box({ x: B, y: I, width: y, height: v })), U.rect(B, I, y, v), r && U.stroke(), {
10279
+ return U.beginPath(), U.strokeStyle = "gold", zQ.set(new (await import("./face_api_0e3ce8c8_3.0.0-RC05.js")).Box({ x: B, y: I, width: y, height: v })), U.rect(B, I, y, v), r && U.stroke(), {
10280
10280
  topLeftX: A.topLeft.x,
10281
10281
  topLeftY: A.topLeft.y,
10282
10282
  bottomRightX: A.bottomRight.x,
@@ -23018,7 +23018,7 @@ function BB(A) {
23018
23018
  return this;
23019
23019
  }
23020
23020
  async function cB(A, e) {
23021
- return await import("./fingersApi_587e4472_3.0.0-RC04.js").then((t) => t.captureSingleFinger(A, e));
23021
+ return await import("./fingersApi_74fea7e2_3.0.0-RC05.js").then((t) => t.captureSingleFinger(A, e));
23022
23022
  }
23023
23023
  function Dd(A, e, t) {
23024
23024
  let r, o, i, a, B, I, C, l, p, m, v, y, U, d, P, X, z, hA, aA, j, gA, T, lA, GA, Ie, Ke, Pe, eA, xe, se, bA, Qe, lt, S, k;
@@ -23026,7 +23026,7 @@ function Dd(A, e, t) {
23026
23026
  let { lottie_color: rA = "71 89 124" } = e, { extension_name: _ = "BryWebExtension" } = e, { extension_url_chrome: EA } = e, { extension_url_mozilla: sA } = e, { min_nfiq_acceptable: dA = 3 } = e;
23027
23027
  dQ(dA);
23028
23028
  let { show_theme_picker: oA = "true" } = e, { video_dimensions: DA } = e, { enable_minutiae: LA } = e, { collector_select: RA = "BOTH" } = e, { import_lottie: qA = "true" } = e, { hide_tabs: HA = "false" } = e, { import_extension_script: re = "false" } = e, { extension_url_script: SA } = e, { liveness_enable: oe = "false" } = e, { weights_path: Be = "https://unpkg.com/bry-biometric-collector@latest/dist/weights/" } = e, { evaluate_photo: ZA = "true" } = e, { show_capture_button: fe = "true" } = e, { show_unconformities: WA = "true" } = e, { video_overlay: TA = "white" } = e, { video_overlay_transparency: Me = 0 } = e, { show_config_button: Ee = "true" } = e, { show_auto_capture_button: rt = "false" } = e, { show_camera_button: De = "true" } = e, { language: ee = uI() } = e, { show_justification_field: vA = "true" } = e, { min_eye_to_eye_dist: ve = 0 } = e;
23029
- Vr("en", () => import("./en-us_99b30d39_3.0.0-RC04.js")), Vr("pt", () => import("./pt-br_d5ca6103_3.0.0-RC04.js")), Vr("es", () => import("./es-cl_cfa50670_3.0.0-RC04.js")), kn({
23029
+ Vr("en", () => import("./en-us_99b30d39_3.0.0-RC05.js")), Vr("pt", () => import("./pt-br_d5ca6103_3.0.0-RC05.js")), Vr("es", () => import("./es-cl_cfa50670_3.0.0-RC05.js")), kn({
23030
23030
  fallbackLocale: "pt",
23031
23031
  initialLocale: ee
23032
23032
  });
@@ -23246,10 +23246,10 @@ function Dd(A, e, t) {
23246
23246
  return pA(xn, l = D, l), this;
23247
23247
  }
23248
23248
  async function Lt() {
23249
- return t(24, kA = (await import("./FaceCollector_1f1cf984_3.0.0-RC04.js")).default), this;
23249
+ return t(24, kA = (await import("./FaceCollector_028c7764_3.0.0-RC05.js")).default), this;
23250
23250
  }
23251
23251
  async function jt() {
23252
- return t(25, YA = (await import("./DocumentCollector_622a98e4_3.0.0-RC04.js")).default), this;
23252
+ return t(25, YA = (await import("./DocumentCollector_f0e43db5_3.0.0-RC05.js")).default), this;
23253
23253
  }
23254
23254
  function vr(D) {
23255
23255
  Te(D);
@@ -23864,9 +23864,9 @@ class CB extends ye {
23864
23864
  }
23865
23865
  }
23866
23866
  customElements.define("biometric-collector", CB);
23867
- Vr("en", () => import("./en-us_99b30d39_3.0.0-RC04.js"));
23868
- Vr("pt", () => import("./pt-br_d5ca6103_3.0.0-RC04.js"));
23869
- Vr("es", () => import("./es-cl_cfa50670_3.0.0-RC04.js"));
23867
+ Vr("en", () => import("./en-us_99b30d39_3.0.0-RC05.js"));
23868
+ Vr("pt", () => import("./pt-br_d5ca6103_3.0.0-RC05.js"));
23869
+ Vr("es", () => import("./es-cl_cfa50670_3.0.0-RC05.js"));
23870
23870
  kn({
23871
23871
  fallbackLocale: "pt",
23872
23872
  initialLocale: uI()
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "bry-biometric-collector",
3
3
  "private": false,
4
4
  "description": "BRy web-collector component for biometric capture.",
5
- "version": "3.0.0-RC04",
5
+ "version": "3.0.0-RC05",
6
6
  "main": "dist/bry-biometric-collector-main.js",
7
7
  "type": "module",
8
8
  "license": "UNLICENSED",