bry-biometric-collector 3.2.2 → 3.2.3-RC01

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 nt, q as ot, r as rt, t as lt, x as z, y as j, z as D, bg as se, B as Q, C as f, b1 as ne, bh as kt, a2 as w, I as E, J as M, bi as q, bj as vi, L as oe, U as H, O as $, a0 as Te, P as ee, D as W, E as Ae, G as L, H as Oe, Q as te, M as Y, N as v, T as F, V as Ii, a4 as Ye, a5 as Ie, X as G, Z as we, a6 as wi, a7 as ye, a9 as yi, a8 as ue, aa as Ce, ab as Ve, ac as Je, ad as zt, ag as Me, aj as xe, ak as Ci, al as jt, am as De, $ as Mi, af as Ke, ao as Rt, aq as qe, Y as Di, av as _i, ay as pi, az as Ti, aB as $e, aC as re, j as Ai, aD as et, aQ as St, d as _e, aR as Wt, aS as tt, aT as Oi, aH as it, aU as Ni, aV as ki, aW as zi, aA as ji, aX as Ri, bk as Si, aZ as Wi, a_ as pe, a$ as Ei, b0 as Zi, b2 as le, b3 as ct, a1 as Pi, _ as V, a3 as J, w as Et, b4 as Fi, bl as Hi, b8 as at, bm as Li } from "./main_9c9455da_3.2.2.js";
2
- import { W as Ui, C as Bi, V as Gi, a as Qi } from "./ValidationAlert_5ff43ccf_3.2.2.js";
3
- import { matchDimensions as Xi, resizeResults as Yi } from "./face_api_0e3ce8c8_3.2.2.js";
1
+ import { S as nt, q as ot, r as rt, t as lt, x as z, y as j, z as D, bg as se, B as Q, C as f, b1 as ne, bh as kt, a2 as w, I as E, J as M, bi as q, bj as vi, L as oe, U as H, O as $, a0 as Te, P as ee, D as W, E as Ae, G as L, H as Oe, Q as te, M as Y, N as v, T as F, V as Ii, a4 as Ye, a5 as Ie, X as G, Z as we, a6 as wi, a7 as ye, a9 as yi, a8 as ue, aa as Ce, ab as Ve, ac as Je, ad as zt, ag as Me, aj as xe, ak as Ci, al as jt, am as De, $ as Mi, af as Ke, ao as Rt, aq as qe, Y as Di, av as _i, ay as pi, az as Ti, aB as $e, aC as re, j as Ai, aD as et, aQ as St, d as _e, aR as Wt, aS as tt, aT as Oi, aH as it, aU as Ni, aV as ki, aW as zi, aA as ji, aX as Ri, bk as Si, aZ as Wi, a_ as pe, a$ as Ei, b0 as Zi, b2 as le, b3 as ct, a1 as Pi, _ as V, a3 as J, w as Et, b4 as Fi, bl as Hi, b8 as at, bm as Li } from "./main_64b650bb_3.2.3-RC01.js";
2
+ import { W as Ui, C as Bi, V as Gi, a as Qi } from "./ValidationAlert_015a3bac_3.2.3-RC01.js";
3
+ import { matchDimensions as Xi, resizeResults as Yi } from "./face_api_0e3ce8c8_3.2.3-RC01.js";
4
4
  const Vi = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwNiIgaGVpZ2h0PSI4OTAiIHZpZXdCb3g9IjAgMCAxMjA2IDg5MCIgZmlsbD0ibm9uZSIgb3BhY2l0eT0iMC4yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGcgZmlsdGVyPSJ1cmwoI2ZpbHRlcjBfZF8xOF80KSIgb3BhY2l0eT0iMCI+CiAgICA8bWFzayBpZD0icGF0aC0xLWluc2lkZS0xXzE4XzQiIGZpbGw9IndoaXRlIj4KICAgIDxyZWN0IHg9IjQiIHdpZHRoPSIxMTk4IiBoZWlnaHQ9Ijg4MiIgcng9IjYiLz4KICAgIDwvbWFzaz4KICAgIDxyZWN0IHg9IjQiIHdpZHRoPSIxMTk4IiBoZWlnaHQ9Ijg4MiIgcng9IjYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iMTYiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyIgbWFzaz0idXJsKCNwYXRoLTEtaW5zaWRlLTFfMThfNCkiLz4KICAgIDwvZz4KICAgIDxtYXNrIGlkPSJwYXRoLTItaW5zaWRlLTJfMThfNCIgZmlsbD0id2hpdGUiPgogICAgPHJlY3QgeD0iMjE5LjI3OCIgeT0iMjk2IiB3aWR0aD0iMzM4Ljg2MyIgaGVpZ2h0PSI0NjgiIHJ4PSI3Ii8+CiAgICA8L21hc2s+CiAgICA8cmVjdCB4PSIyMTkuMjc4IiB5PSIyOTYiIHdpZHRoPSIzMzguODYzIiBoZWlnaHQ9IjQ2OCIgcng9IjciIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iMTYiIG1hc2s9InVybCgjcGF0aC0yLWluc2lkZS0yXzE4XzQpIi8+CiAgICA8ZWxsaXBzZSBjeD0iMzg5LjIzOCIgY3k9IjUxMS4yMjgiIHJ4PSI4Ni4yMzc2IiByeT0iODUuMjI4NCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wOCIvPgogICAgPHBhdGggZD0iTTQ3MS40NzUgNTExLjIyOEM0NzEuNDc1IDU1Ni4wNDUgNDM0LjcwMSA1OTIuNDU3IDM4OS4yMzggNTkyLjQ1N0MzNDMuNzc0IDU5Mi40NTcgMzA3IDU1Ni4wNDUgMzA3IDUxMS4yMjhDMzA3IDQ2Ni40MTEgMzQzLjc3NCA0MzAgMzg5LjIzOCA0MzBDNDM0LjcwMSA0MzAgNDcxLjQ3NSA0NjYuNDExIDQ3MS40NzUgNTExLjIyOFoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iOCIvPgogICAgPHBhdGggZD0iTTM4Ny4zOCA2MDhDNTM1LjI2IDYwOCA1MzkuODggNzQzLjQ3MyA1MzkuODggNzQzLjQ3M0wyMzkgNzQzLjVDMjM5IDc0My41IDIzOS41IDYwOCAzODcuMzggNjA4WiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wOCIvPgogICAgPHBhdGggZD0iTTM4Ny4zOCA2MTJDNDU5Ljc5NCA2MTIgNDk2LjY0OSA2NDUuMDIgNTE1LjYyNSA2NzcuNzQzQzUyNS4xOCA2OTQuMjIgNTMwLjI1NSA3MTAuNzMzIDUzMi45MzggNzIzLjE1QzUzNC4yNzggNzI5LjM1MSA1MzUuMDE2IDczNC41MDggNTM1LjQxOCA3MzguMDk4QzUzNS40NzMgNzM4LjU4NiA1MzUuNTIxIDczOS4wNDUgNTM1LjU2NCA3MzkuNDc0TDI0My4xODQgNzM5LjVDMjQzLjIxNiA3MzkuMDM3IDI0My4yNTMgNzM4LjUzOCAyNDMuMjk3IDczOC4wMDNDMjQzLjU5IDczNC40MTQgMjQ0LjE3MSA3MjkuMjU4IDI0NS4zMjIgNzIzLjA1OEMyNDcuNjI2IDcxMC42NDIgMjUyLjE5NyA2OTQuMTM4IDI2MS4yNDEgNjc3LjY3NkMyNzAuMjczIDY2MS4yMzYgMjgzLjc0OCA2NDQuODY0IDMwMy44OTEgNjMyLjU4N0MzMjQuMDI0IDYyMC4zMTYgMzUxLjA0MiA2MTIgMzg3LjM4IDYxMloiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iOCIvPgogICAgPGRlZnM+CiAgICA8ZmlsdGVyIGlkPSJmaWx0ZXIwX2RfMThfNCIgeD0iMCIgeT0iMCIgd2lkdGg9IjEyMDYiIGhlaWdodD0iODkwIiBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+CiAgICA8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgogICAgPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CiAgICA8ZmVPZmZzZXQgZHk9IjQiLz4KICAgIDxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIiLz4KICAgIDxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgogICAgPGZlQ29sb3JNYXRyaXggdHlwZT0ibWF0cml4IiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMjUgMCIvPgogICAgPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMThfNCIvPgogICAgPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMThfNCIgcmVzdWx0PSJzaGFwZSIvPgogICAgPC9maWx0ZXI+CiAgICA8L2RlZnM+CiAgICA8L3N2Zz4KICAgIA==";
5
5
  function Ji(a) {
6
6
  let e, t, s, n, r, o, g, h, d, l, u;
@@ -1016,7 +1016,7 @@ function ha(a, e, t) {
1016
1016
  try {
1017
1017
  if (We >= fa) {
1018
1018
  We = 0;
1019
- const p = await ji(fe), y = await import("./face_api_0e3ce8c8_3.2.2.js");
1019
+ const p = await ji(fe), y = await import("./face_api_0e3ce8c8_3.2.3-RC01.js");
1020
1020
  let O;
1021
1021
  if (O = y.detectSingleFace(_, p), i = await O.withFaceLandmarks(), S.getContext("2d")?.clearRect(0, 0, S.width, S.height), i != null) {
1022
1022
  const k = Xi(S, _, !0);
@@ -1,6 +1,6 @@
1
- import { w as jt, S as ut, q as ft, r as dt, t as ht, x as T, y as j, z as w, B as G, C as d, D as H, E as Ke, G as X, H as ze, I as R, J as O, K as We, L as je, M as ce, N as g, O as fe, P as de, Q as he, R as K, T as U, U as N, V as Ki, $ as zi, W as Hi, X as J, Y as Ts, Z as Ve, _ as P, a0 as He, a1 as zt, a2 as b, a3 as B, a4 as Ft, a5 as xe, a6 as Os, a7 as $e, a8 as ge, a9 as Rs, aa as Oe, ab as bi, ac as St, ad as vi, ae as Is, af as Be, ag as we, ah as Ds, ai as As, aj as Nt, ak as Pt, al as ue, am as te, an as Ce, ao as pi, ap as et, aq as Wt, ar as Ls, as as tt, at as wi, au as Ci, av as Fs, aw as Ss, ax as Ns, ay as Ps, az as Ws, aA as Bs, aB as Bt, aC as z, j as rt, aD as Mt, aE as Ms, aF as Ei, aG as Us, aH as it, aI as st, aJ as yi, aK as Vs, aL as ot, A as Ut, aM as Ee, aN as js, aO as Me, aP as Ks, aQ as ki, d as Re, aR as Vt, aS as at, aT as zs, aU as Hs, aV as qs, aW as Js, aX as Qs, aY as Xs, aZ as Gs, a_ as Ue, a$ as Ys, b0 as Zs, b1 as nt, b2 as ne, b3 as mt, b4 as xs, b5 as $s, b6 as eo, b7 as to, b8 as lt, b9 as ae, ba as io, bb as so, bc as Ti, bd as qi, be as ct, bf as oo } from "./main_9c9455da_3.2.2.js";
2
- import { W as ao, C as no, V as lo, a as ro } from "./ValidationAlert_5ff43ccf_3.2.2.js";
3
- import { detectSingleFace as co, matchDimensions as uo, resizeResults as fo } from "./face_api_0e3ce8c8_3.2.2.js";
1
+ import { w as jt, S as ft, q as dt, r as ht, t as mt, x as T, y as j, z as w, B as G, C as d, D as H, E as Ke, G as X, H as ze, I as R, J as O, K as We, L as je, M as ce, N as g, O as fe, P as de, Q as he, R as K, T as U, U as N, V as Ki, $ as zi, W as Hi, X as J, Y as Ts, Z as Ve, _ as P, a0 as He, a1 as zt, a2 as b, a3 as B, a4 as Ft, a5 as $e, a6 as Os, a7 as et, a8 as ge, a9 as Rs, aa as Oe, ab as bi, ac as St, ad as vi, ae as Is, af as Be, ag as we, ah as Ds, ai as As, aj as Nt, ak as Pt, al as ue, am as te, an as Ce, ao as pi, ap as tt, aq as Wt, ar as Ls, as as it, at as wi, au as Ci, av as Fs, aw as Ss, ax as Ns, ay as Ps, az as Ws, aA as Bs, aB as Bt, aC as z, j as ct, aD as Mt, aE as Ms, aF as Ei, aG as Us, aH as st, aI as ot, aJ as yi, aK as Vs, aL as at, A as Ut, aM as Ee, aN as js, aO as Me, aP as Ks, aQ as ki, d as Re, aR as Vt, aS as nt, aT as zs, aU as Hs, aV as qs, aW as Js, aX as Qs, aY as Xs, aZ as Gs, a_ as Ue, a$ as Ys, b0 as Zs, b1 as lt, b2 as ne, b3 as _t, b4 as xs, b5 as $s, b6 as eo, b7 as to, b8 as rt, b9 as ae, ba as io, bb as so, bc as Ti, bd as qi, be as ut, bf as oo } from "./main_64b650bb_3.2.3-RC01.js";
2
+ import { W as ao, C as no, V as lo, a as ro } from "./ValidationAlert_015a3bac_3.2.3-RC01.js";
3
+ import { detectSingleFace as co, matchDimensions as uo, resizeResults as fo } from "./face_api_0e3ce8c8_3.2.3-RC01.js";
4
4
  const Kt = jt(!1);
5
5
  class ho {
6
6
  isDevToolsOpen = !1;
@@ -122,18 +122,18 @@ function bo(i, e, t) {
122
122
  r
123
123
  ];
124
124
  }
125
- class Ji extends ut {
125
+ class Ji extends ft {
126
126
  constructor(e) {
127
- super(), ft(
127
+ super(), dt(
128
128
  this,
129
129
  {
130
130
  target: this.shadowRoot,
131
- props: ht(this.attributes),
131
+ props: mt(this.attributes),
132
132
  customElement: !0
133
133
  },
134
134
  bo,
135
135
  mo,
136
- dt,
136
+ ht,
137
137
  { loading: 0, showWatermark: 1 },
138
138
  null
139
139
  ), e && (e.target && T(e.target, this, e.anchor), e.props && (this.$set(e.props), j()));
@@ -210,18 +210,18 @@ function po(i, e, t) {
210
210
  a
211
211
  ];
212
212
  }
213
- class Qi extends ut {
213
+ class Qi extends ft {
214
214
  constructor(e) {
215
- super(), ft(
215
+ super(), dt(
216
216
  this,
217
217
  {
218
218
  target: this.shadowRoot,
219
- props: ht(this.attributes),
219
+ props: mt(this.attributes),
220
220
  customElement: !0
221
221
  },
222
222
  po,
223
223
  vo,
224
- dt,
224
+ ht,
225
225
  { overlayColor: 1, overlayTransparency: 2 },
226
226
  null
227
227
  ), e && (e.target && T(e.target, this, e.anchor), e.props && (this.$set(e.props), j()));
@@ -440,18 +440,18 @@ function To(i, e, t) {
440
440
  n
441
441
  ];
442
442
  }
443
- class Xi extends ut {
443
+ class Xi extends ft {
444
444
  constructor(e) {
445
- super(), ft(
445
+ super(), dt(
446
446
  this,
447
447
  {
448
448
  target: this.shadowRoot,
449
- props: ht(this.attributes),
449
+ props: mt(this.attributes),
450
450
  customElement: !0
451
451
  },
452
452
  To,
453
453
  ko,
454
- dt,
454
+ ht,
455
455
  {
456
456
  waitingIdrndCaptureEvent: 0,
457
457
  idrndLoading: 1
@@ -540,12 +540,12 @@ function Fi(i) {
540
540
  }), {
541
541
  c() {
542
542
  e = w("div"), t = w("div"), oe && oe.c(), a = N(), r = w("video"), n = N(), u = w("canvas"), f = N(), c = w("div"), h = w("div"), q && q.c(), m = N(), fe(_.$$.fragment), k = N(), fe(p.$$.fragment), d(r, "id", "bry-cc-camera-video-tag"), d(r, "class", l = /*$ready*/
543
- i[22] ? ce() ? "absolute inset-0 -scale-x-100" : "w-full h-full object-cover -scale-x-100" : "w-0 h-0"), r.playsInline = !0, r.muted = !0, r.autoplay = !0, d(u, "id", "bry-ce-detectionsCanvas"), d(u, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), d(t, "class", "overflow-hidden"), nt(
543
+ i[22] ? ce() ? "absolute inset-0 -scale-x-100" : "w-full h-full object-cover -scale-x-100" : "w-0 h-0"), r.playsInline = !0, r.muted = !0, r.autoplay = !0, d(u, "id", "bry-ce-detectionsCanvas"), d(u, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), d(t, "class", "overflow-hidden"), lt(
544
544
  t,
545
545
  "width",
546
546
  /*$videoStore*/
547
547
  i[25].videoWidth + "px"
548
- ), nt(
548
+ ), lt(
549
549
  t,
550
550
  "height",
551
551
  /*$videoStore*/
@@ -578,13 +578,13 @@ function Fi(i) {
578
578
  o && oe.p(D, M), (!I || M[0] & /*$ready*/
579
579
  4194304 && l !== (l = /*$ready*/
580
580
  D[22] ? ce() ? "absolute inset-0 -scale-x-100" : "w-full h-full object-cover -scale-x-100" : "w-0 h-0")) && d(r, "class", l), (!I || M[0] & /*$videoStore*/
581
- 33554432) && nt(
581
+ 33554432) && lt(
582
582
  t,
583
583
  "width",
584
584
  /*$videoStore*/
585
585
  D[25].videoWidth + "px"
586
586
  ), (!I || M[0] & /*$videoStore*/
587
- 33554432) && nt(
587
+ 33554432) && lt(
588
588
  t,
589
589
  "height",
590
590
  /*$videoStore*/
@@ -632,7 +632,7 @@ function Fi(i) {
632
632
  X(q), X(_.$$.fragment, D), X(p.$$.fragment, D), I = !1;
633
633
  },
634
634
  d(D) {
635
- D && R(e), oe && oe.d(), i[49](null), i[51](null), q && q.d(), he(_), he(p), L = !1, mt(Y);
635
+ D && R(e), oe && oe.d(), i[49](null), i[51](null), q && q.d(), he(_), he(p), L = !1, _t(Y);
636
636
  }
637
637
  };
638
638
  }
@@ -770,7 +770,7 @@ function Ni(i) {
770
770
  m[31]("faceCollector.retakePhoto") + "") && B(f, u);
771
771
  },
772
772
  d(m) {
773
- m && R(e), c = !1, mt(h);
773
+ m && R(e), c = !1, _t(h);
774
774
  }
775
775
  };
776
776
  }
@@ -873,7 +873,7 @@ function Do(i) {
873
873
  ), a, r, l, n, u, f = (
874
874
  /*$_*/
875
875
  i[31]("faceCollector.retakePhoto") + ""
876
- ), c, h, m = rt(io).faceStrategy !== so.DISABLED, _, k, p, v = (
876
+ ), c, h, m = ct(io).faceStrategy !== so.DISABLED, _, k, p, v = (
877
877
  /*$unconformitiesStore*/
878
878
  i[32].unconformities.length !== 0 && Pi(i)
879
879
  ), E = m && No();
@@ -1063,7 +1063,7 @@ function Lo(i) {
1063
1063
  i: G,
1064
1064
  o: G,
1065
1065
  d(v) {
1066
- v && R(e), p.d(), h = !1, mt(m);
1066
+ v && R(e), p.d(), h = !1, _t(m);
1067
1067
  }
1068
1068
  };
1069
1069
  }
@@ -1118,7 +1118,7 @@ function Pi(i) {
1118
1118
  e = w("label"), t = w("span"), a = P(o), r = N(), l = w("textarea"), d(t, "class", "ce-dui-label-text text-base"), d(e, "class", "ce-dui-label"), d(e, "for", "justification"), d(l, "contenteditable", ""), d(l, "id", "justification"), d(l, "class", "ce-dui-textarea ce-dui-textarea-bordered textarea-ghost h-[6em] w-full text-base");
1119
1119
  },
1120
1120
  m(f, c) {
1121
- T(f, e, c), b(e, t), b(t, a), T(f, r, c), T(f, l, c), ct(
1121
+ T(f, e, c), b(e, t), b(t, a), T(f, r, c), T(f, l, c), ut(
1122
1122
  l,
1123
1123
  /*$justification*/
1124
1124
  i[28]
@@ -1133,7 +1133,7 @@ function Pi(i) {
1133
1133
  c[1] & /*$_*/
1134
1134
  1 && o !== (o = /*$_*/
1135
1135
  f[31]("faceCollector.justification") + "") && B(a, o), c[0] & /*$justification*/
1136
- 268435456 && ct(
1136
+ 268435456 && ut(
1137
1137
  l,
1138
1138
  /*$justification*/
1139
1139
  f[28]
@@ -1224,7 +1224,7 @@ function Mi(i) {
1224
1224
  i[31]("faceCollector.yourJustification")), d(h, "class", "ce-dui-label-text-alt text-base"), d(c, "class", "ce-dui-label"), d(c, "for", "justification"), d(e, "class", "ce-dui-form-control");
1225
1225
  },
1226
1226
  m(I, L) {
1227
- T(I, e, L), b(e, t), b(t, o), b(o, r), b(e, l), b(e, n), ct(
1227
+ T(I, e, L), b(e, t), b(t, o), b(o, r), b(e, l), b(e, n), ut(
1228
1228
  n,
1229
1229
  /*$justification*/
1230
1230
  i[28]
@@ -1241,7 +1241,7 @@ function Mi(i) {
1241
1241
  I[31]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && B(r, a), L[1] & /*$_*/
1242
1242
  1 && u !== (u = /*$_*/
1243
1243
  I[31]("faceCollector.yourJustification")) && d(n, "placeholder", u), L[0] & /*$justification*/
1244
- 268435456 && ct(
1244
+ 268435456 && ut(
1245
1245
  n,
1246
1246
  /*$justification*/
1247
1247
  I[28]
@@ -1300,7 +1300,7 @@ function Ui(i) {
1300
1300
  m[31]("faceCollector.retakePhoto") + "") && B(f, u);
1301
1301
  },
1302
1302
  d(m) {
1303
- m && R(e), c = !1, mt(h);
1303
+ m && R(e), c = !1, _t(h);
1304
1304
  }
1305
1305
  };
1306
1306
  }
@@ -1619,25 +1619,25 @@ function Ko(i) {
1619
1619
  }
1620
1620
  let zo = 0, Ho = 3e3;
1621
1621
  function qo() {
1622
- ({}).VITE_USE_DEV === "true" ? import("./index-idlf-detector_39cfdffa_3.2.2.js") : import("./index-idlf-detector_a819b3c8_3.2.2.js");
1622
+ ({}).VITE_USE_DEV === "true" ? import("./index-idlf-detector_39cfdffa_3.2.3-RC01.js") : import("./index-idlf-detector_a819b3c8_3.2.3-RC01.js");
1623
1623
  }
1624
1624
  function Jo(i, e, t) {
1625
- let o, a, r, l, n, u, f, c, h, m, _, k, p, v, E, I, L, Y, oe, q, D, M, S, A, ye, $, le, be, Ie, _t, Ht, gt, bt, vt, qt, Jt;
1626
- O(i, Ft, (s) => t(74, o = s)), O(i, xe, (s) => t(76, r = s)), O(i, J, (s) => t(21, l = s)), O(i, Ve, (s) => t(22, n = s)), O(i, Os, (s) => t(77, u = s)), O(i, $e, (s) => t(78, f = s)), O(i, ge, (s) => t(23, c = s)), O(i, Rs, (s) => t(79, h = s)), O(i, Oe, (s) => t(24, m = s)), O(i, bi, (s) => t(80, _ = s)), O(i, St, (s) => t(81, k = s)), O(i, je, (s) => t(25, p = s)), O(i, Hi, (s) => t(26, v = s)), O(i, vi, (s) => t(82, E = s)), O(i, Is, (s) => t(83, I = s)), O(i, Be, (s) => t(84, L = s)), O(i, we, (s) => t(85, Y = s)), O(i, Ds, (s) => t(86, oe = s)), O(i, As, (s) => t(87, q = s)), O(i, Nt, (s) => t(27, D = s)), O(i, Pt, (s) => t(28, M = s)), O(i, ue, (s) => t(29, S = s)), O(i, te, (s) => t(30, A = s)), O(i, zi, (s) => t(31, ye = s)), O(i, Ce, (s) => t(32, $ = s)), O(i, pi, (s) => t(88, be = s)), O(i, et, (s) => t(89, Ie = s)), O(i, Wt, (s) => t(90, _t = s)), O(i, Ls, (s) => t(91, Ht = s)), O(i, tt, (s) => t(92, gt = s)), O(i, wi, (s) => t(93, bt = s)), O(i, Ci, (s) => t(94, vt = s)), O(i, Fs, (s) => t(34, qt = s)), O(i, Ss, (s) => t(35, Jt = s));
1627
- let F, ie, me, Qt, Xt = !1, De = !1, pt = !1, wt = !1, Ct = (/* @__PURE__ */ new Date()).getTime(), { enableMinutiae: Et } = e, { videoDimensions: yt } = e, { noTabs: kt } = e, { weightsPath: Tt } = e, { evaluatePhoto: _e } = e, { showCaptureButton: Ot } = e, { showUnconformities: Gt } = e, { showConfigButton: Yt } = e, { showAutoCaptureButton: Rt } = e, { showCameraButton: Zt } = e, { showJustificationField: xt } = e, { minEyeToEyeDist: Ae } = e, { showWatermark: $t } = e, { videoOverlay: ei } = e, { videoOverlayTransparency: ti } = e, { faceDetectionSensitivity: It } = e;
1628
- const qe = jt(!1);
1629
- O(i, qe, (s) => t(75, a = s));
1625
+ let o, a, r, l, n, u, f, c, h, m, _, k, p, v, E, I, L, Y, oe, q, D, M, S, A, ye, $, le, be, Ie, gt, Ht, bt, vt, pt, qt, Jt;
1626
+ O(i, Ft, (s) => t(74, o = s)), O(i, $e, (s) => t(76, r = s)), O(i, J, (s) => t(21, l = s)), O(i, Ve, (s) => t(22, n = s)), O(i, Os, (s) => t(77, u = s)), O(i, et, (s) => t(78, f = s)), O(i, ge, (s) => t(23, c = s)), O(i, Rs, (s) => t(79, h = s)), O(i, Oe, (s) => t(24, m = s)), O(i, bi, (s) => t(80, _ = s)), O(i, St, (s) => t(81, k = s)), O(i, je, (s) => t(25, p = s)), O(i, Hi, (s) => t(26, v = s)), O(i, vi, (s) => t(82, E = s)), O(i, Is, (s) => t(83, I = s)), O(i, Be, (s) => t(84, L = s)), O(i, we, (s) => t(85, Y = s)), O(i, Ds, (s) => t(86, oe = s)), O(i, As, (s) => t(87, q = s)), O(i, Nt, (s) => t(27, D = s)), O(i, Pt, (s) => t(28, M = s)), O(i, ue, (s) => t(29, S = s)), O(i, te, (s) => t(30, A = s)), O(i, zi, (s) => t(31, ye = s)), O(i, Ce, (s) => t(32, $ = s)), O(i, pi, (s) => t(88, be = s)), O(i, tt, (s) => t(89, Ie = s)), O(i, Wt, (s) => t(90, gt = s)), O(i, Ls, (s) => t(91, Ht = s)), O(i, it, (s) => t(92, bt = s)), O(i, wi, (s) => t(93, vt = s)), O(i, Ci, (s) => t(94, pt = s)), O(i, Fs, (s) => t(34, qt = s)), O(i, Ss, (s) => t(35, Jt = s));
1627
+ let F, ie, me, Qt, Xt = !1, De = !1, wt = !1, qe = !1, Ct = (/* @__PURE__ */ new Date()).getTime(), { enableMinutiae: Et } = e, { videoDimensions: yt } = e, { noTabs: kt } = e, { weightsPath: Tt } = e, { evaluatePhoto: _e } = e, { showCaptureButton: Ot } = e, { showUnconformities: Gt } = e, { showConfigButton: Yt } = e, { showAutoCaptureButton: Rt } = e, { showCameraButton: Zt } = e, { showJustificationField: xt } = e, { minEyeToEyeDist: Ae } = e, { showWatermark: $t } = e, { videoOverlay: ei } = e, { videoOverlayTransparency: ti } = e, { faceDetectionSensitivity: It } = e;
1628
+ const Je = jt(!1);
1629
+ O(i, Je, (s) => t(75, a = s));
1630
1630
  const ke = jt("data:image/png;base64");
1631
1631
  O(i, ke, (s) => t(33, le = s));
1632
- let { widgetInstance: Q } = e, ii = new ho(), Le = !1, Dt = !1, Je = !0, re = !0, Fe = !1, si = 0, ee = "", At = 0, Qe = !0, oi = 0;
1633
- const Xe = Ns.mixin({
1632
+ let { widgetInstance: Q } = e, ii = new ho(), Le = !1, Dt = !1, Qe = !0, re = !0, Fe = !1, si = 0, ee = "", At = 0, Xe = !0, oi = 0;
1633
+ const Ge = Ns.mixin({
1634
1634
  toast: !0,
1635
1635
  position: "bottom-left",
1636
1636
  timer: 13e3,
1637
1637
  timerProgressBar: !0
1638
1638
  });
1639
1639
  Ps(async () => {
1640
- if (g(et, Ie = !0, Ie), g(Ve, n = !1, n), ni(), be)
1640
+ if (g(tt, Ie = !0, Ie), g(Ve, n = !1, n), ni(), be)
1641
1641
  try {
1642
1642
  await Ws(Tt), Xt = !0, Qt = await Bs();
1643
1643
  } catch {
@@ -1657,8 +1657,8 @@ function Jo(i, e, t) {
1657
1657
  )) : g(je, p = { videoWidth: s, videoHeight: C }, p));
1658
1658
  }
1659
1659
  function ni() {
1660
- g(xe, r = !1, r), g(Oe, m = !1, m), g($e, f = Bt.FRONT_CAMERA, f), Rt && g(vi, E = !1, E), g(Nt, D = !1, D), g(te, A = z.OK, A), g(Be, L = "", L), g(Ce, $.unconformities = [], $);
1661
- const s = rt(Mt);
1660
+ g($e, r = !1, r), g(Oe, m = !1, m), g(et, f = Bt.FRONT_CAMERA, f), Rt && g(vi, E = !1, E), g(Nt, D = !1, D), g(te, A = z.OK, A), g(Be, L = "", L), g(Ce, $.unconformities = [], $);
1661
+ const s = ct(Mt);
1662
1662
  s.closedMouth = !1, s.isPersonCloseEnough = !1, s.isPersonTooclose = !0, s.isPersonInFrame = !1, Mt.set(s), g(we, Y = "", Y);
1663
1663
  }
1664
1664
  function Gi() {
@@ -1666,18 +1666,18 @@ function Jo(i, e, t) {
1666
1666
  const C = s.detail[0].video;
1667
1667
  g(
1668
1668
  Ci,
1669
- vt = {
1669
+ pt = {
1670
1670
  width: C.videoWidth,
1671
1671
  height: C.videoHeight
1672
1672
  },
1673
- vt
1674
- ), t(12, F.srcObject = C.srcObject, F), t(17, Je = !1), Ms(Q);
1673
+ pt
1674
+ ), t(12, F.srcObject = C.srcObject, F), t(17, Qe = !1), Ms(Q);
1675
1675
  function y() {
1676
1676
  re || Ue(F, y, !0);
1677
1677
  }
1678
1678
  y();
1679
1679
  }), Q.addEventListener("error", (s) => {
1680
- console.error(s), s.detail[0].message.toLowerCase().includes("device in use") ? g(J, l = U.CAMERA_IN_USE_ERROR, l) : s.detail[0].message.toLowerCase().includes("permission") ? g(J, l = U.CAMERA_DENIED_ERROR, l) : s.detail[0].message.toLowerCase().includes("not found") && !ce() ? g(J, l = U.DEVICE_NOT_FOUND_ERROR, l) : g(J, l = U.CAMERA_DENIED_ERROR, l), t(17, Je = !1);
1680
+ console.error(s), s.detail[0].message.toLowerCase().includes("device in use") ? g(J, l = U.CAMERA_IN_USE_ERROR, l) : s.detail[0].message.toLowerCase().includes("permission") ? g(J, l = U.CAMERA_DENIED_ERROR, l) : s.detail[0].message.toLowerCase().includes("not found") && !ce() ? g(J, l = U.DEVICE_NOT_FOUND_ERROR, l) : g(J, l = U.CAMERA_DENIED_ERROR, l), t(17, Qe = !1);
1681
1681
  }), Q.addEventListener("faceDetection", (s) => {
1682
1682
  s.detail[0].errors.length > 0 && Ei(s.detail[0].errors);
1683
1683
  }), Q.addEventListener("detection", (s) => {
@@ -1685,18 +1685,18 @@ function Jo(i, e, t) {
1685
1685
  }), Q.addEventListener("close", async (s) => {
1686
1686
  m || (Le = !1), t(18, re = !0), t(19, Fe = !1), l === U.OK && g(J, l = U.CAMERA_CLOSED_ERROR, l);
1687
1687
  }), Q.addEventListener("initialize", async (s) => {
1688
- Dt = !0, g(wi, bt = !0, bt);
1688
+ Dt = !0, g(wi, vt = !0, vt);
1689
1689
  try {
1690
1690
  Q.setLicense(Us, "faceDetector");
1691
1691
  } catch (C) {
1692
1692
  console.error("Error setting license:", C);
1693
1693
  }
1694
- _t === it.Face && !Le && !m && Dt && await Lt();
1694
+ gt === st.Face && !Le && !m && Dt && await Lt();
1695
1695
  }), Q.addEventListener("capture", async (s) => {
1696
1696
  t(20, ee = "");
1697
1697
  const { encryptedFile: C, photo: y } = s.detail[0];
1698
- g(tt, gt = C, gt);
1699
- const W = (await st(y)).split(",");
1698
+ g(it, bt = C, bt);
1699
+ const W = (await ot(y)).split(",");
1700
1700
  if (t(19, Fe = !1), g(te, A = z.OK, A), g(Ce, $.isLoading = !0, $), g(Oe, m = !0, m), Le = !1, g(ke, le = W[0], le), g(ue, S = W[1], S), g(Be, L = W[1], L), !Ht) {
1701
1701
  let se, Ne, mi, _i;
1702
1702
  try {
@@ -1705,7 +1705,7 @@ function Jo(i, e, t) {
1705
1705
  const x = Vs();
1706
1706
  if (x)
1707
1707
  throw new Error(x);
1708
- ({ bodyParts: se, icaoWarnings: Ne } = await ot(L, _e, (await st(C)).split(",")[1])), window.dispatchEvent(new CustomEvent(
1708
+ ({ bodyParts: se, icaoWarnings: Ne } = await at(L, _e, (await ot(C)).split(",")[1])), window.dispatchEvent(new CustomEvent(
1709
1709
  "face-unconformities-validated",
1710
1710
  {
1711
1711
  detail: {
@@ -1721,7 +1721,7 @@ function Jo(i, e, t) {
1721
1721
  x instanceof Ut && x.response?.status === 400 ? x.response.data && Array.isArray(x.response.data.bodyParts) ? (Pe = x.response.data.bodyParts, gi = x.response.data.icaoWarnings, mi = x.response.data.invalidLivenessCounter, _i = x.response.data.invalidLivenessLimit, pe = Pe.find((ks) => ks.livenessResult.error)?.livenessResult.error_code, g(te, A = z.LIVENESS_DETECTION_FAILURE, A), t(20, ee = Ee[pe]), console.error("Liveness error:", pe)) : g(te, A = z.TEMPLATE_EXTRACTION_ERROR, A) : x instanceof Error && js.includes(x.message) ? (g(te, A = z.UNKNOWN_LIVENESS_ERROR, A), pe = x.message, t(20, ee = Ee[pe]), Pe = fi(), Pe[0].livenessResult = {
1722
1722
  error: ee,
1723
1723
  error_code: pe
1724
- }) : _e && Xe.fire({
1724
+ }) : _e && Ge.fire({
1725
1725
  icon: "error",
1726
1726
  title: "Falha ao comunicar com serviço de Liveness"
1727
1727
  }), g(Ce, $.isLoading = !1, $), window.dispatchEvent(new CustomEvent(
@@ -1751,7 +1751,7 @@ function Jo(i, e, t) {
1751
1751
  try {
1752
1752
  Z = await Ks(C), ri(Z.data);
1753
1753
  } catch (se) {
1754
- g(te, A = z.UNKNOWN_LIVENESS_ERROR, A), console.error(se), se instanceof Ut && se.response?.status === 400 ? (V = se.response.data.error_code, t(20, ee = Ee[V]), console.error("Liveness error:", V), g(te, A = z.LIVENESS_DETECTION_FAILURE, A)) : Xe.fire({
1754
+ g(te, A = z.UNKNOWN_LIVENESS_ERROR, A), console.error(se), se instanceof Ut && se.response?.status === 400 ? (V = se.response.data.error_code, t(20, ee = Ee[V]), console.error("Liveness error:", V), g(te, A = z.LIVENESS_DETECTION_FAILURE, A)) : Ge.fire({
1755
1755
  icon: "error",
1756
1756
  title: "Falha ao comunicar com serviço de Liveness"
1757
1757
  });
@@ -1765,7 +1765,7 @@ function Jo(i, e, t) {
1765
1765
  {
1766
1766
  bodyPart: "FACE",
1767
1767
  data: L,
1768
- livenessBlob: (await st(C)).split(",")[1],
1768
+ livenessBlob: (await ot(C)).split(",")[1],
1769
1769
  ...Z && { livenessResult: Z }
1770
1770
  }
1771
1771
  ],
@@ -1777,7 +1777,7 @@ function Jo(i, e, t) {
1777
1777
  ));
1778
1778
  return;
1779
1779
  }
1780
- let { bodyParts: Se, icaoWarnings: hi } = await ot(L, _e);
1780
+ let { bodyParts: Se, icaoWarnings: hi } = await at(L, _e);
1781
1781
  window.dispatchEvent(new CustomEvent(
1782
1782
  "face-unconformities-validated",
1783
1783
  {
@@ -1793,7 +1793,7 @@ function Jo(i, e, t) {
1793
1793
  });
1794
1794
  }
1795
1795
  async function ve(s) {
1796
- if (!Qe) {
1796
+ if (!Xe) {
1797
1797
  g(J, l = U.CAMERA_ORIENTATION_PORTRAIT, l);
1798
1798
  return;
1799
1799
  }
@@ -1810,16 +1810,16 @@ function Jo(i, e, t) {
1810
1810
  }
1811
1811
  await Vt(), g(ge, c = h[0].deviceId, c);
1812
1812
  }
1813
- g(J, l = U.OK, l), Q && "openCamera" in Q && Q.openCamera(), Le = !0, t(18, re = !1), t(17, Je = !0);
1813
+ g(J, l = U.OK, l), Q && "openCamera" in Q && Q.openCamera(), Le = !0, t(18, re = !1), t(17, Qe = !0);
1814
1814
  }
1815
1815
  }
1816
- async function Ge() {
1816
+ async function Ye() {
1817
1817
  if (be && !Xt)
1818
- return Ue(F, Ge);
1818
+ return Ue(F, Ye);
1819
1819
  if (F) {
1820
- if (_t !== it.Face && !kt)
1821
- return Ue(F, Ge);
1822
- g(Ve, n = !0, n), g(et, Ie = !1, Ie), be && (a || g(qe, a = !0, a)), Ue(F, Ge);
1820
+ if (gt !== st.Face && !kt)
1821
+ return Ue(F, Ye);
1822
+ g(Ve, n = !0, n), g(tt, Ie = !1, Ie), be && (a || g(Je, a = !0, a)), Ue(F, Ye);
1823
1823
  }
1824
1824
  }
1825
1825
  async function li() {
@@ -1840,7 +1840,7 @@ function Jo(i, e, t) {
1840
1840
  let W, V;
1841
1841
  if (!yi(Ae))
1842
1842
  throw new Error("FACE_TOO_SMALL");
1843
- ({ bodyParts: W, icaoWarnings: V } = await ot(S, _e)), window.dispatchEvent(new CustomEvent(
1843
+ ({ bodyParts: W, icaoWarnings: V } = await at(S, _e)), window.dispatchEvent(new CustomEvent(
1844
1844
  "face-unconformities-validated",
1845
1845
  {
1846
1846
  detail: {
@@ -1854,7 +1854,7 @@ function Jo(i, e, t) {
1854
1854
  g(Oe, m = !0, m);
1855
1855
  const C = await Zi();
1856
1856
  g(ke, le = C[0], le), g(ue, S = C[1], S), g(Be, L = C[1], L);
1857
- let { bodyParts: y, icaoWarnings: W } = await ot(S, _e);
1857
+ let { bodyParts: y, icaoWarnings: W } = await at(S, _e);
1858
1858
  window.dispatchEvent(new CustomEvent(
1859
1859
  "face-unconformities-validated",
1860
1860
  {
@@ -1877,7 +1877,7 @@ function Jo(i, e, t) {
1877
1877
  } else
1878
1878
  g(te, A = z.TEMPLATE_EXTRACTION_ERROR, A);
1879
1879
  else
1880
- C instanceof Error && ["FACE_NOT_FOUND", "FACE_TOO_SMALL"].includes(C.message) ? (g(te, A = z.LIVENESS_DETECTION_FAILURE, A), y = C.message, t(20, ee = Ee[y]), W = fi()) : (g(te, A = z.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE, A), _e && Xe.fire({
1880
+ C instanceof Error && ["FACE_NOT_FOUND", "FACE_TOO_SMALL"].includes(C.message) ? (g(te, A = z.LIVENESS_DETECTION_FAILURE, A), y = C.message, t(20, ee = Ee[y]), W = fi()) : (g(te, A = z.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE, A), _e && Ge.fire({
1881
1881
  icon: "error",
1882
1882
  title: "Falha ao comunicar com serviço de Liveness"
1883
1883
  }));
@@ -1895,13 +1895,13 @@ function Jo(i, e, t) {
1895
1895
  ));
1896
1896
  }
1897
1897
  }
1898
- function Ye() {
1898
+ function Ze() {
1899
1899
  const s = {
1900
1900
  bodyPart: "FACE",
1901
1901
  data: S,
1902
1902
  justification: M
1903
1903
  };
1904
- g(Nt, D = !0, D), rt(tt) && st(rt(tt)).then((C) => {
1904
+ g(Nt, D = !0, D), ct(it) && ot(ct(it)).then((C) => {
1905
1905
  s.livenessBlob = C.split(",")[1];
1906
1906
  }), window.dispatchEvent(new CustomEvent("export-face", { detail: s }));
1907
1907
  }
@@ -1910,7 +1910,7 @@ function Jo(i, e, t) {
1910
1910
  }
1911
1911
  function ri(s) {
1912
1912
  let C = "", y = "success";
1913
- s.isAlive ? C = `Vivacidade de face (${s.face_liveness.probability.toFixed(2)}) e de captura (${s.capture_liveness.probability}, ${s.capture_liveness.score.toFixed(2)}) verificados!` : s?.face_liveness?.probability && (y = "error", C = `Vivacidade de face (${s.face_liveness.probability.toFixed(2)}) e de captura (${s.capture_liveness.probability}, ${s.capture_liveness.score.toFixed(2)}) insuficientes!`), q && Xe.fire({ icon: y, title: C });
1913
+ s.isAlive ? C = `Vivacidade de face (${s.face_liveness.probability.toFixed(2)}) e de captura (${s.capture_liveness.probability}, ${s.capture_liveness.score.toFixed(2)}) verificados!` : s?.face_liveness?.probability && (y = "error", C = `Vivacidade de face (${s.face_liveness.probability.toFixed(2)}) e de captura (${s.capture_liveness.probability}, ${s.capture_liveness.score.toFixed(2)}) insuficientes!`), q && Ge.fire({ icon: y, title: C });
1914
1914
  }
1915
1915
  async function ci(s, C, y) {
1916
1916
  try {
@@ -1921,16 +1921,16 @@ function Jo(i, e, t) {
1921
1921
  console.error(V.message, Z), Re(V) && "message" in V && V.message.toLowerCase().includes("permission") ? (console.error("User didn't give permission to use camera!"), g(J, l = U.CAMERA_DENIED_ERROR, l)) : Re(V) && "message" in V && V.message.toLowerCase().includes("not found") && !ce() ? g(J, l = U.DEVICE_NOT_FOUND_ERROR, l) : Z.includes("width") || Z.includes("height") ? (console.error(`Camera does not meet the minimum supported requirements! (${Z})`), g(J, l = U.CAMERA_UNSUPPORTED, l)) : (g(J, l = U.CAMERA_DENIED_ERROR, l), console.error("Unable to open camera!"));
1922
1922
  }
1923
1923
  }
1924
- async function Ze() {
1924
+ async function xe() {
1925
1925
  g(ge, c = "", c), await ve();
1926
1926
  }
1927
1927
  function Yi() {
1928
1928
  navigator.mediaDevices.ondevicechange = async (s) => {
1929
- s.type == "devicechange" && (await Vt(), l !== U.OK ? await Ze() : (!K() && !_.active || K() && !re) && (at(Q), g(J, l = U.DEVICE_NOT_FOUND_ERROR, l), t(18, re = !0)));
1929
+ s.type == "devicechange" && (await Vt(), l !== U.OK ? await xe() : (!K() && !_.active || K() && !re) && (nt(Q), g(J, l = U.DEVICE_NOT_FOUND_ERROR, l), t(18, re = !0)));
1930
1930
  };
1931
1931
  }
1932
1932
  async function ui() {
1933
- g(xe, r = !1, r);
1933
+ g($e, r = !1, r);
1934
1934
  const s = (/* @__PURE__ */ new Date()).getTime();
1935
1935
  if (s - Ct > 5e3) {
1936
1936
  Ct = s;
@@ -1959,7 +1959,7 @@ function Jo(i, e, t) {
1959
1959
  }
1960
1960
  g(we, Y = "faceCollector.faceWasNotFound", Y);
1961
1961
  } else
1962
- pt || (pt = !0, setTimeout(
1962
+ wt || (wt = !0, setTimeout(
1963
1963
  () => {
1964
1964
  let y = [
1965
1965
  "faceCollector.faceWasNotFound",
@@ -1967,7 +1967,7 @@ function Jo(i, e, t) {
1967
1967
  "faceCollector.lowSharpness",
1968
1968
  "faceCollector.illuminationTooHigh"
1969
1969
  ];
1970
- pt = !1, t(16, wt = !1), Y && !y.includes(Y) && g(we, Y = "", Y);
1970
+ wt = !1, t(16, qe = !1), Y && !y.includes(Y) && g(we, Y = "", Y);
1971
1971
  },
1972
1972
  1500
1973
1973
  ));
@@ -2013,17 +2013,17 @@ function Jo(i, e, t) {
2013
2013
  F && s && (console.log("setting null in video srcObject"), t(12, F.srcObject = null, F), t(12, F.src = "", F), g(ge, c = null, c));
2014
2014
  });
2015
2015
  Wt.subscribe(async (s) => {
2016
- s === it.Face && (await Vt(), K() && g(ge, c = h[0]?.deviceId, c));
2016
+ s === st.Face && (await Vt(), K() && g(ge, c = h[0]?.deviceId, c));
2017
2017
  });
2018
2018
  const ts = ge.subscribe(async (s) => {
2019
2019
  if (!(!K() && !_ || !s || K() && re))
2020
2020
  try {
2021
2021
  if (K()) {
2022
- await at(Q), await ve();
2022
+ await nt(Q), await ve();
2023
2023
  return;
2024
2024
  }
2025
2025
  const C = _?.getVideoTracks()[0]?.getSettings()?.deviceId;
2026
- C && C !== s && await ci(p.videoWidth, p.videoHeight, s), t(12, F.srcObject = _, F), g(St, k = !1, k), Qe ? g(J, l = U.OK, l) : g(J, l = U.CAMERA_ORIENTATION_PORTRAIT, l), _.getTracks().forEach((y) => {
2026
+ C && C !== s && await ci(p.videoWidth, p.videoHeight, s), t(12, F.srcObject = _, F), g(St, k = !1, k), Xe ? g(J, l = U.OK, l) : g(J, l = U.CAMERA_ORIENTATION_PORTRAIT, l), _.getTracks().forEach((y) => {
2027
2027
  y.readyState === "live" && console.log(`Camera ${y.label} opened successfully!`);
2028
2028
  }), g(J, l = U.OK, l), Hs(F);
2029
2029
  } catch (C) {
@@ -2031,39 +2031,40 @@ function Jo(i, e, t) {
2031
2031
  t(18, re = !0), Re(y) && "message" in y && y.message.includes("Requested device not found") && g(J, l = U.DEVICE_NOT_FOUND_ERROR, l);
2032
2032
  }
2033
2033
  }), is = Wt.subscribe(async (s) => {
2034
- s === it.Face && K() && !Le && !m && Dt && await ve();
2035
- }), ss = qe.subscribe(async (s) => {
2034
+ s === st.Face && K() && !Le && !m && Dt && await ve();
2035
+ }), ss = Je.subscribe(async (s) => {
2036
2036
  s && di();
2037
2037
  }), os = qs.subscribe(async (s) => {
2038
2038
  if (h[0]?.deviceId) {
2039
2039
  if (!ce() || K()) {
2040
2040
  const y = (h.findIndex((V) => V.deviceId === c) + 1) % h.length, W = h[y].deviceId;
2041
- K() ? g(ge, c = W, c) : (at(), await ve(W));
2041
+ K() ? g(ge, c = W, c) : (nt(), await ve(W));
2042
2042
  return;
2043
2043
  }
2044
- s ? (g($e, f = Bt.REAR_CAMERA, f), await ve()) : (g($e, f = Bt.FRONT_CAMERA, f), await ve());
2044
+ s ? (g(et, f = Bt.REAR_CAMERA, f), await ve()) : (g(et, f = Bt.FRONT_CAMERA, f), await ve());
2045
2045
  }
2046
2046
  }), as = Js.subscribe(async (s) => {
2047
- !s.isSupported || !ce() || u != "FACE" || (Qe = s.orientation.includes("portrait"), Qe ? F && !n ? await Ze() : n && g(J, l = U.OK, l) : g(J, l = U.CAMERA_ORIENTATION_PORTRAIT, l));
2047
+ !s.isSupported || !ce() || u != "FACE" || (Xe = s.orientation.includes("portrait"), Xe ? F && !n ? await xe() : n && g(J, l = U.OK, l) : g(J, l = U.CAMERA_ORIENTATION_PORTRAIT, l));
2048
2048
  }), ns = Kt.subscribe((s) => {
2049
2049
  s && window.dispatchEvent(new CustomEvent("console-open-status", { detail: { isOpen: s } }));
2050
2050
  });
2051
2051
  async function di() {
2052
2052
  let s;
2053
2053
  try {
2054
- if (At >= zo) {
2055
- At = 0;
2056
- let C;
2057
- if (C = co(F, Qt), s = await C.withFaceLandmarks(), ie.getContext("2d")?.clearRect(0, 0, ie.width, ie.height), s != null) {
2058
- const y = uo(ie, F, !0);
2059
- Qs(ie, F, y);
2060
- const W = fo(s, y);
2061
- Xs(W) ? (Gs(W, ie, Et), g(xe, r = !0, r), t(16, wt = !0), Ct = (/* @__PURE__ */ new Date()).getTime()) : ui();
2054
+ if (At >= zo)
2055
+ if (At = 0, s = await co(F, Qt).withFaceLandmarks().catch((C) => {
2056
+ throw C;
2057
+ }), ie.getContext("2d")?.clearRect(0, 0, ie.width, ie.height), s != null) {
2058
+ const C = uo(ie, F, !0);
2059
+ Qs(ie, F, C);
2060
+ const y = fo(s, C);
2061
+ Xs(y) ? (Gs(y, ie, Et), g($e, r = !0, r), t(16, qe = !0), Ct = (/* @__PURE__ */ new Date()).getTime()) : ui();
2062
2062
  } else
2063
2063
  ui();
2064
- } else
2064
+ else
2065
2065
  At++;
2066
2066
  } catch {
2067
+ t(16, qe = !0);
2067
2068
  } finally {
2068
2069
  a && Ue(F, di);
2069
2070
  }
@@ -2073,19 +2074,19 @@ function Jo(i, e, t) {
2073
2074
  });
2074
2075
  const ls = Ve.subscribe((s) => {
2075
2076
  s && window.dispatchEvent(new CustomEvent("brycc-camera-ready"));
2076
- }), rs = et.subscribe((s) => {
2077
+ }), rs = tt.subscribe((s) => {
2077
2078
  s && window.dispatchEvent(new CustomEvent("brycc-face-initialized"));
2078
2079
  });
2079
2080
  Ys(() => {
2080
- console.log("Destroying face collector"), at(Q), $i(), xi(), es(), ts(), is(), clearInterval(si), ss(), os(), as(), ns(), ls(), rs(), si = 0, ii.stopDetection();
2081
+ console.log("Destroying face collector"), nt(Q), $i(), xi(), es(), ts(), is(), clearInterval(si), ss(), os(), as(), ns(), ls(), rs(), si = 0, ii.stopDetection();
2081
2082
  });
2082
2083
  function cs(s) {
2083
- lt[s ? "unshift" : "push"](() => {
2084
+ rt[s ? "unshift" : "push"](() => {
2084
2085
  Q = s, t(1, Q);
2085
2086
  });
2086
2087
  }
2087
2088
  function us(s) {
2088
- lt[s ? "unshift" : "push"](() => {
2089
+ rt[s ? "unshift" : "push"](() => {
2089
2090
  F = s, t(12, F);
2090
2091
  });
2091
2092
  }
@@ -2093,26 +2094,26 @@ function Jo(i, e, t) {
2093
2094
  K() || (t(12, F.width = p.videoWidth, F), t(12, F.height = p.videoHeight, F), t(13, ie.width = p.videoWidth, ie), t(13, ie.height = p.videoHeight, ie));
2094
2095
  };
2095
2096
  function ds(s) {
2096
- lt[s ? "unshift" : "push"](() => {
2097
+ rt[s ? "unshift" : "push"](() => {
2097
2098
  ie = s, t(13, ie);
2098
2099
  });
2099
2100
  }
2100
- const hs = () => Ye(), ms = () => Te();
2101
+ const hs = () => Ze(), ms = () => Te();
2101
2102
  function _s(s) {
2102
- lt[s ? "unshift" : "push"](() => {
2103
+ rt[s ? "unshift" : "push"](() => {
2103
2104
  me = s, t(14, me);
2104
2105
  });
2105
2106
  }
2106
- const gs = () => Ye(), bs = () => Te();
2107
+ const gs = () => Ze(), bs = () => Te();
2107
2108
  function vs() {
2108
2109
  M = this.value, Pt.set(M);
2109
2110
  }
2110
- const ps = () => Ye(), ws = () => Te();
2111
+ const ps = () => Ze(), ws = () => Te();
2111
2112
  function Cs() {
2112
2113
  M = this.value, Pt.set(M);
2113
2114
  }
2114
2115
  const Es = () => Te(), ys = async () => {
2115
- await Ze();
2116
+ await xe();
2116
2117
  };
2117
2118
  return i.$$set = (s) => {
2118
2119
  "enableMinutiae" in s && t(42, Et = s.enableMinutiae), "videoDimensions" in s && t(43, yt = s.videoDimensions), "noTabs" in s && t(44, kt = s.noTabs), "weightsPath" in s && t(45, Tt = s.weightsPath), "evaluatePhoto" in s && t(2, _e = s.evaluatePhoto), "showCaptureButton" in s && t(0, Ot = s.showCaptureButton), "showUnconformities" in s && t(3, Gt = s.showUnconformities), "showConfigButton" in s && t(4, Yt = s.showConfigButton), "showAutoCaptureButton" in s && t(5, Rt = s.showAutoCaptureButton), "showCameraButton" in s && t(6, Zt = s.showCameraButton), "showJustificationField" in s && t(7, xt = s.showJustificationField), "minEyeToEyeDist" in s && t(46, Ae = s.minEyeToEyeDist), "showWatermark" in s && t(8, $t = s.showWatermark), "videoOverlay" in s && t(9, ei = s.videoOverlay), "videoOverlayTransparency" in s && t(10, ti = s.videoOverlayTransparency), "faceDetectionSensitivity" in s && t(47, It = s.faceDetectionSensitivity), "widgetInstance" in s && t(1, Q = s.widgetInstance);
@@ -2128,13 +2129,13 @@ function Jo(i, e, t) {
2128
2129
  $t,
2129
2130
  ei,
2130
2131
  ti,
2131
- Ge,
2132
+ Ye,
2132
2133
  F,
2133
2134
  ie,
2134
2135
  me,
2135
2136
  De,
2136
- wt,
2137
- Je,
2137
+ qe,
2138
+ Qe,
2138
2139
  re,
2139
2140
  Fe,
2140
2141
  ee,
@@ -2153,12 +2154,12 @@ function Jo(i, e, t) {
2153
2154
  le,
2154
2155
  qt,
2155
2156
  Jt,
2156
- qe,
2157
+ Je,
2157
2158
  ke,
2158
2159
  li,
2159
- Ye,
2160
- Te,
2161
2160
  Ze,
2161
+ Te,
2162
+ xe,
2162
2163
  Et,
2163
2164
  yt,
2164
2165
  kt,
@@ -2182,18 +2183,18 @@ function Jo(i, e, t) {
2182
2183
  ys
2183
2184
  ];
2184
2185
  }
2185
- class Qo extends ut {
2186
+ class Qo extends ft {
2186
2187
  constructor(e) {
2187
- super(), ft(
2188
+ super(), dt(
2188
2189
  this,
2189
2190
  {
2190
2191
  target: this.shadowRoot,
2191
- props: ht(this.attributes),
2192
+ props: mt(this.attributes),
2192
2193
  customElement: !0
2193
2194
  },
2194
2195
  Jo,
2195
2196
  Ko,
2196
- dt,
2197
+ ht,
2197
2198
  {
2198
2199
  enableMinutiae: 42,
2199
2200
  videoDimensions: 43,
@@ -1,4 +1,4 @@
1
- import { S as H, q as P, r as F, t as G, x as M, y as S, z as I, B as T, C as h, I as g, J as E, X as we, $ as le, bn as Y, bo as $, T as B, bg as O, U as p, _ as L, bp as x, a2 as b, bq as Q, a3 as C, b2 as R, a0 as pe, a6 as ie, V as X, a9 as ve, aV as re, N as ee, ad as se, E as V, G as k, H as Z, D as z, L as Ae, bj as ae, Z as Le, ao as _e, M as q, b1 as U, bh as te, br as Ie, O as J, P as W, Q as K, R as oe, ag as Ce } from "./main_9c9455da_3.2.2.js";
1
+ import { S as H, q as P, r as F, t as G, x as M, y as S, z as I, B as T, C as h, I as g, J as E, X as we, $ as le, bn as Y, bo as $, T as B, bg as O, U as p, _ as L, bp as x, a2 as b, bq as Q, a3 as C, b2 as R, a0 as pe, a6 as ie, V as X, a9 as ve, aV as re, N as ee, ad as se, E as V, G as k, H as Z, D as z, L as Ae, bj as ae, Z as Le, ao as _e, M as q, b1 as U, bh as te, br as Ie, O as J, P as W, Q as K, R as oe, ag as Ce } from "./main_64b650bb_3.2.3-RC01.js";
2
2
  function ke(i) {
3
3
  let e, s, a, t, l = (
4
4
  /*$_*/
@@ -1,4 +1,4 @@
1
- import { bt as D, bu as V } from "./main_9c9455da_3.2.2.js";
1
+ import { bt as D, bu as V } from "./main_64b650bb_3.2.3-RC01.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 { bv as a } from "./main_9c9455da_3.2.2.js";
2
- import "./face_api_0e3ce8c8_3.2.2.js";
1
+ import { bv as a } from "./main_64b650bb_3.2.3-RC01.js";
2
+ import "./face_api_0e3ce8c8_3.2.3-RC01.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_9c9455da_3.2.2.js";
2
- import "./face_api_0e3ce8c8_3.2.2.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_64b650bb_3.2.3-RC01.js";
2
+ import "./face_api_0e3ce8c8_3.2.3-RC01.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 { bv as a } from "./main_9c9455da_3.2.2.js";
2
- import "./face_api_0e3ce8c8_3.2.2.js";
1
+ import { bv as a } from "./main_64b650bb_3.2.3-RC01.js";
2
+ import "./face_api_0e3ce8c8_3.2.3-RC01.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { bs as eo } from "./main_9c9455da_3.2.2.js";
2
- import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_3cb94250_3.2.2.js";
3
- import "./face_api_0e3ce8c8_3.2.2.js";
1
+ import { bs as eo } from "./main_64b650bb_3.2.3-RC01.js";
2
+ import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_cb6dfc58_3.2.3-RC01.js";
3
+ import "./face_api_0e3ce8c8_3.2.3-RC01.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_3cb94250_3.2.2.js";
2
- import { bs as Xa, bt as hr } from "./main_9c9455da_3.2.2.js";
3
- import "./face_api_0e3ce8c8_3.2.2.js";
1
+ import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_cb6dfc58_3.2.3-RC01.js";
2
+ import { bs as Xa, bt as hr } from "./main_64b650bb_3.2.3-RC01.js";
3
+ import "./face_api_0e3ce8c8_3.2.3-RC01.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 yc, Box as Dc } from "./face_api_0e3ce8c8_3.2.2.js";
1
+ import { detectSingleFace as yc, Box as Dc } from "./face_api_0e3ce8c8_3.2.3-RC01.js";
2
2
  function Y() {
3
3
  }
4
4
  function Cn(A, e) {
@@ -7200,18 +7200,18 @@ async function rf(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.2.2.js")).nets.tinyFaceDetector.load(e),
7204
- (await import("./face_api_0e3ce8c8_3.2.2.js")).loadFaceLandmarkModel(e)
7203
+ (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).nets.tinyFaceDetector.load(e),
7204
+ (await import("./face_api_0e3ce8c8_3.2.3-RC01.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_3258b0f3_3.2.2.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
7211
- (await import("./index_852aa96f_3.2.2.js")).setBackend("wasm"),
7212
- (await import("./index_852aa96f_3.2.2.js")).ready(),
7213
- (await import("./face_api_0e3ce8c8_3.2.2.js")).nets.tinyFaceDetector.load(e),
7214
- (await import("./face_api_0e3ce8c8_3.2.2.js")).loadFaceLandmarkModel(e)
7210
+ (await import("./index_fd9c2bdb_3.2.3-RC01.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
7211
+ (await import("./index_8dec0329_3.2.3-RC01.js")).setBackend("wasm"),
7212
+ (await import("./index_8dec0329_3.2.3-RC01.js")).ready(),
7213
+ (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).nets.tinyFaceDetector.load(e),
7214
+ (await import("./face_api_0e3ce8c8_3.2.3-RC01.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");
@@ -10305,13 +10305,13 @@ async function $E(A) {
10305
10305
  e = 0.2;
10306
10306
  break;
10307
10307
  }
10308
- return new (await import("./face_api_0e3ce8c8_3.2.2.js")).TinyFaceDetectorOptions({
10308
+ return new (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).TinyFaceDetectorOptions({
10309
10309
  scoreThreshold: e
10310
10310
  });
10311
10311
  }
10312
10312
  async function kf(A, e, t, r = !1) {
10313
10313
  if (t) {
10314
- const l = (await import("./face_api_0e3ce8c8_3.2.2.js")).draw;
10314
+ const l = (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).draw;
10315
10315
  l.drawDetections(e, A), new l.DrawFaceLandmarks(A.landmarks, { pointColor: "gold" }).draw(e);
10316
10316
  }
10317
10317
  const o = A.landmarks.positions, i = AQ(o), n = await eQ(o), B = A.detection.box, I = await tQ(B, n, e, t);
@@ -10322,17 +10322,17 @@ function AQ(A) {
10322
10322
  return Di(e, t);
10323
10323
  }
10324
10324
  async function eQ(A) {
10325
- const e = (await import("./face_api_0e3ce8c8_3.2.2.js")).Point;
10325
+ const e = (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).Point;
10326
10326
  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]);
10327
10327
  t = t.div(new e(4, 4)), r = r.div(new e(4, 4));
10328
10328
  const o = Di(r, t);
10329
10329
  return jI.set(o), o;
10330
10330
  }
10331
10331
  async function tQ(A, e, t, r) {
10332
- const o = (await import("./face_api_0e3ce8c8_3.2.2.js")).Point;
10332
+ const o = (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).Point;
10333
10333
  let i = 2.5, n = 0.8;
10334
10334
  const B = A.topLeft.x - e, I = A.topLeft.y - i * e, l = A.bottomLeft.x - e, E = A.bottomLeft.y + n * e, p = A.bottomRight.x + e, m = A.bottomRight.y + e, v = Di(new o(l, E), new o(B, I)), y = Di(new o(l, E), new o(p, m)), U = t.getContext("2d");
10335
- return U.beginPath(), U.strokeStyle = "gold", YI.set(new (await import("./face_api_0e3ce8c8_3.2.2.js")).Box({ x: B, y: I, width: y, height: v })), U.rect(B, I, y, v), r && U.stroke(), {
10335
+ return U.beginPath(), U.strokeStyle = "gold", YI.set(new (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).Box({ x: B, y: I, width: y, height: v })), U.rect(B, I, y, v), r && U.stroke(), {
10336
10336
  topLeftX: A.topLeft.x,
10337
10337
  topLeftY: A.topLeft.y,
10338
10338
  bottomRightX: A.bottomRight.x,
@@ -10405,7 +10405,7 @@ async function aQ(A, e, t) {
10405
10405
  height: e.height * E
10406
10406
  }), m = document.createElement("canvas");
10407
10407
  m.width = p.width, m.height = p.height, m.getContext("2d")?.clearRect(0, 0, m.width, m.height), I && gQ(I, A, B);
10408
- const [y] = await (await import("./face_api_0e3ce8c8_3.2.2.js")).extractFaces(B, [p]);
10408
+ const [y] = await (await import("./face_api_0e3ce8c8_3.2.3-RC01.js")).extractFaces(B, [p]);
10409
10409
  return y;
10410
10410
  }
10411
10411
  function gQ(A, e, t) {
@@ -23156,7 +23156,7 @@ function QB(A) {
23156
23156
  return this;
23157
23157
  }
23158
23158
  async function uB(A, e) {
23159
- return await import("./fingersApi_150a575a_3.2.2.js").then((t) => t.captureSingleFinger(A, e));
23159
+ return await import("./fingersApi_1d1d0ae2_3.2.3-RC01.js").then((t) => t.captureSingleFinger(A, e));
23160
23160
  }
23161
23161
  function Gd(A, e, t) {
23162
23162
  let r, o, i, n, B, I, l, E, p, m, v, y, U, f, P, X, z, hA, aA, j, gA, T, lA, LA, Ie, Ue, Me, eA, Le, ae, mA, Ee, Ct, S, k;
@@ -23164,7 +23164,7 @@ function Gd(A, e, t) {
23164
23164
  let { lottie_color: oA = "71 89 124" } = e, { extension_name: _ = "BryWebExtension" } = e, { extension_url_chrome: QA } = e, { extension_url_mozilla: sA } = e, { min_nfiq_acceptable: fA = 3 } = e;
23165
23165
  bE(fA);
23166
23166
  let { show_theme_picker: iA = "true" } = e, { video_dimensions: vA } = e, { enable_minutiae: UA } = e, { collector_select: RA = "BOTH" } = e, { import_lottie: qA = "true" } = e, { hide_tabs: PA = "false" } = e, { import_extension_script: ee = "false" } = e, { extension_url_script: SA } = e, { liveness_enable: te = "false" } = e, { weights_path: Be = "https://cdn.jsdelivr.net/npm/bry-biometric-collector@latest/dist/weights/" } = e, { evaluate_photo: WA = "true" } = e, { show_capture_button: he = "true" } = e, { show_unconformities: ZA = "true" } = e, { video_overlay: OA = "white" } = e, { video_overlay_transparency: Ge = 0 } = e, { show_config_button: Qe = "true" } = e, { show_auto_capture_button: $e = "false" } = e, { show_camera_button: ye = "true" } = e, { language: $A = hI() } = e, { show_justification_field: kA = "true" } = e, { min_eye_to_eye_dist: De = 0 } = e, { show_watermark: qe = "true" } = e, { face_detection_sensitivity: uA = "permissive" } = e;
23167
- Vr("en", () => import("./en-us_e83efd5d_3.2.2.js")), Vr("pt", () => import("./pt-br_fae15356_3.2.2.js")), Vr("es", () => import("./es-cl_5939150a_3.2.2.js")), Sn({
23167
+ Vr("en", () => import("./en-us_e83efd5d_3.2.3-RC01.js")), Vr("pt", () => import("./pt-br_fae15356_3.2.3-RC01.js")), Vr("es", () => import("./es-cl_5939150a_3.2.3-RC01.js")), Sn({
23168
23168
  fallbackLocale: "pt",
23169
23169
  initialLocale: $A
23170
23170
  });
@@ -23384,10 +23384,10 @@ function Gd(A, e, t) {
23384
23384
  return pA(Mn, E = D, E), this;
23385
23385
  }
23386
23386
  async function kt() {
23387
- return t(26, gt = (await import("./FaceCollector_b65fd185_3.2.2.js")).default), this;
23387
+ return t(26, gt = (await import("./FaceCollector_7c86c909_3.2.3-RC01.js")).default), this;
23388
23388
  }
23389
23389
  async function Te() {
23390
- return t(27, Et = (await import("./DocumentCollector_a3ec579b_3.2.2.js")).default), this;
23390
+ return t(27, Et = (await import("./DocumentCollector_bd5774d4_3.2.3-RC01.js")).default), this;
23391
23391
  }
23392
23392
  function St(D) {
23393
23393
  Rt(D);
@@ -24020,9 +24020,9 @@ class dB extends me {
24020
24020
  }
24021
24021
  }
24022
24022
  customElements.define("biometric-collector", dB);
24023
- Vr("en", () => import("./en-us_e83efd5d_3.2.2.js"));
24024
- Vr("pt", () => import("./pt-br_fae15356_3.2.2.js"));
24025
- Vr("es", () => import("./es-cl_5939150a_3.2.2.js"));
24023
+ Vr("en", () => import("./en-us_e83efd5d_3.2.3-RC01.js"));
24024
+ Vr("pt", () => import("./pt-br_fae15356_3.2.3-RC01.js"));
24025
+ Vr("es", () => import("./es-cl_5939150a_3.2.3-RC01.js"));
24026
24026
  Sn({
24027
24027
  fallbackLocale: "pt",
24028
24028
  initialLocale: hI()
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.2.2",
5
+ "version": "3.2.3-RC01",
6
6
  "main": "dist/bry-biometric-collector-main.js",
7
7
  "type": "module",
8
8
  "license": "UNLICENSED",